package compiler and linker metadata toolkit

NEWS 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. Changes from previous version of pkgconf
  2. ========================================
  3. Changes from 1.5.2 to 1.5.3:
  4. ----------------------------
  5. * Security fixes:
  6. - Fix edge cases involving dequoting zero-length tuples that can lead to a
  7. buffer overflow under the right circumstances. Thanks to A. Wilcox for
  8. reporting and supplying a patch. (MR 3)
  9. Changes from 1.5.1 to 1.5.2:
  10. ----------------------------
  11. * Bug fixes:
  12. - Ensure environment variables override values learned from personality files
  13. or built-in defaults.
  14. * Documentation enhancements:
  15. - Add pkgconf-personality(5) manpage documenting the personality file format.
  16. Changes from 1.5.0 to 1.5.1:
  17. ----------------------------
  18. * Bug fixes:
  19. - fixed a crash with some invalid multi-line .pc files
  20. Changes from 1.4.2 to 1.5.0:
  21. ---------------------------
  22. * Administrative:
  23. - The git repository has moved to <https://git.dereferenced.org/pkgconf/pkgconf>,
  24. due to the acquisition of GitHub by Microsoft.
  25. * Overall enhancements:
  26. - pkgconf now supports the proposed Requires.internal pkg-config extension,
  27. by merging it with the Requires.private list (there is no functional difference
  28. between the two in our resolver implementation)
  29. - Support for cross-compilation personalities have been added. To make use of this
  30. functionality, create a file in the new personality.d directory that sits inside
  31. the pkgconfig directory. The personality file format is described in
  32. pc-personality(5). (github #166)
  33. - Support for Haiku has been added, including interpretation of BELIBRARIES and
  34. other toolchain specifics. (github #180)
  35. - Testsuite support can be disabled when building with Meson. (github #175)
  36. * Bug fixes:
  37. - tuples are now appropriately dequoted when added by the parser (github #186).
  38. * Various Windows enhancements:
  39. - CMake supports building with GCC on Windows. (github #179)
  40. - Prefix rewriting has been improved. (github #177)
  41. - PKGCONF_API support has been implemented when building with Meson,
  42. allowing Meson to be used to build pkgconf on Windows. (github #174)
  43. * Documentation fixes:
  44. - The manpages have been linted and fixed. (github #181, #182, #183)
  45. - The description of pkgconf --exists has been corrected. (github #173)
  46. Changes from 1.4.1 to 1.4.2:
  47. ----------------------------
  48. * Bug fixes:
  49. - ensure pkgconf_dependency_t nodes have a solution marked when satisfied
  50. by an indirect provider (github #172)
  51. Changes from 1.4.0 to 1.4.1:
  52. ----------------------------
  53. * Bug fixes:
  54. - revert some quoting changes because they don't work well with certain
  55. GCC edge cases (github #168)
  56. * Enhancements:
  57. - add limited support for --cflags with --msvc-syntax
  58. Changes from 1.3.7 to 1.4.0:
  59. ----------------------------
  60. * Notable libpkgconf API changes:
  61. - pkgconf_pkg_t.requires has been renamed to pkgconf_pkg_t.required for
  62. C++20 compatibility.
  63. * Enhancements:
  64. - pkgconf and libpkgconf has been ported to Windows as native binaries.
  65. - improved compatibility with freedesktop.org pkg-config's ${pc_sysrootdir}
  66. usage pattern.
  67. - do not mention PKG_CONFIG_SKIP_CONFLICTS environmental variable when
  68. simplified errors are requested, as with PKG_CONFIG_PATH.
  69. - the dependency solver now stores solutions to dependency graph elements
  70. it visits, allowing for the dependency graph to be incrementally solved.
  71. this improves dependency solving time by an order of magnitude in most
  72. cases.
  73. - new --env option allows for exporting cflags/libs fragments as export
  74. variables
  75. - new support for building pkgconf with CMake and Meson
  76. - improved compiler warning flag detection on autoconf and CMake
  77. - removed PKGCONF_BUFSIZE allocations from the stack where possible
  78. - allow for customizing the way fragment lists are rendered using a callback API
  79. - new support for --msvc-syntax output using the new fragment rendering callbacks
  80. - fragments are now quoted according to POSIX literal rules
  81. - new variables on the pkg-config builtin:
  82. - ${pc_system_includedirs}: the system includedir search path known by pkgconf
  83. - ${pc_system_libdirs}: the system libdir search path known by pkgconf
  84. - new manpages:
  85. - pc(5) describing pkgconf's interpretation of pkg-config .pc files
  86. - pkg.m4(7) describing the autotools macros bundled with pkgconf
  87. * Bug fixes:
  88. - fix pkgconf_pkg_t.id generation on native Windows where either \ or / are usable
  89. as path separator.
  90. - add missing --modversion to --help output
  91. - do not evaluate module paths for modules that are not actually on disk
  92. - ensure we work on a zeroed buffer prior to calling realpath(2) with it
  93. - fix path deduplication edge case when cache-inodes feature is unavailable
  94. - fix path rewriting regression with PKG_CONFIG_SYSROOT_DIR when
  95. PKG_CONFIG_SYSROOT_DIR is set to /
  96. - fix crash in edge case where a .pc file has misquoting in a fragment list.
  97. - fix logic edge case when comparing relocated paths
  98. Changes from 1.3.6 to 1.3.7:
  99. ----------------------------
  100. * Enhancements:
  101. - improved diagnostics for malformed packages.
  102. * Bug fixes:
  103. - reject packages which contain incomplete metadata in post-parse phase.
  104. Changes from 1.3.5 to 1.3.6:
  105. ----------------------------
  106. * Enhancements:
  107. - add many cflags to the protected set: -Wa, -Wl, -Wp, -ansi, -std=, -stdlib=,
  108. -pedantic, -pthread, -trigraphs, -nostdinc, -nostdlibinc, -nobuiltininc.
  109. * Bug fixes:
  110. - handle -include cflag fragments properly.
  111. Changes from 1.3.4 to 1.3.5:
  112. ----------------------------
  113. * Bug fixes:
  114. - fix --variable output for compatibility some broken configure scripts when they
  115. request the same variable from multiple packages
  116. Changes from 1.3.3 to 1.3.4:
  117. ----------------------------
  118. * Bug fixes:
  119. - fix a quoting issue exposed by the Go testsuite
  120. Changes from 1.3.2 to 1.3.3:
  121. ----------------------------
  122. * Bug fixes:
  123. - back out disabling the dependency resolver for single-package queries, it caused
  124. too many regressions.
  125. * Enhancements:
  126. - allow explicitly disabling the dependency resolver via new environment variable,
  127. PKG_CONFIG_MINIMUM_TRAVERSE_DEPTH=1. while pkgconf could already do this using
  128. --minimum-traverse-depth=1, other pkg-config implementations do not have this
  129. option, so adding an environment variable allows to make better use of this
  130. feature (other implementations won't error due to unknown option this way)
  131. Changes from 1.3.1 to 1.3.2:
  132. ----------------------------
  133. * Bug fixes:
  134. - rewrite handling of --modversion, --print-variables and --variable to not require
  135. the dependency resolver
  136. - ensure we disable the dependency resolver in all cases where it is a single-package
  137. query (1.3.1 did not go far enough)
  138. Changes from 1.3.0 to 1.3.1:
  139. ----------------------------
  140. * Features:
  141. - implement --short-errors
  142. * Bug fixes:
  143. - only consider a single package at a time with --print-requires, --print-requires-private,
  144. --print-provides, --modversion, --print-variable and --print-variables
  145. * Enhancements:
  146. - synchronized latest freedesktop.org changes to pkg.m4
  147. - improve error reporting with legacy --atleast-version and similar flags.
  148. Changes from 1.2.0 to 1.3.0:
  149. ----------------------------
  150. * Features:
  151. - pkgconf --debug now provides a facility for tracing most relevant libpkgconf operations
  152. - libpkgconf: add warn and trace handlers for warnings
  153. - replace realpath() with faster, lighter weight path normalization function (github #112)
  154. - pkgconf CLI now emulates pkg-config quoting rules precisely, while allowing direct access
  155. to the actual fragments via libpkgconf
  156. * Bug fixes:
  157. - pkg: properly separate static and virtual packages so they are not inappropriately
  158. optimized out of the dependency graph (github #108)
  159. - argvsplit: do not consider ' and " to have similar rules to escape sequences (github #111)
  160. - pkg: strip trailing whitespace when parsing .pc files
  161. * Enhancements:
  162. - argvsplit basically rewritten from scratch
  163. - many code fixes spotted by coverity
  164. - add PKG_CONFIG_DONT_RELOCATE_PATHS and --dont-relocate-paths environment variables to
  165. disable path relocation feature if needed
  166. - remove extra whitespace that was present for compatibility with older pkg-config releases
  167. (github #113)
  168. Changes from 1.1.0 to 1.2.0:
  169. ----------------------------
  170. * Features:
  171. - new --path option lists the .pc files which provided the requested dependencies
  172. - new path relocation API: pkgconf_path_relocate(), which wraps functions such as
  173. realpath() and cygwin_conv_path().
  174. - new --with-path option adds a path to the search list
  175. - new --define-prefix and --dont-define-prefix features enable automatic prefix
  176. detection for relocatable SDKs. this is mostly useful on windows.
  177. * Bug fixes:
  178. - fragments: fix even more edge cases involving token concatenation
  179. - path lists: don't attempt to collect path inodes if the filter is disabled
  180. - path lists: explicitly avoid uninitialised data for the path inode cache
  181. - client: properly handle --keep-system-cflags and --keep-system-libs
  182. * Enhancements:
  183. - windows: build libpkgconf as a DLL
  184. - fragments: only munge fragments if sysroot_dir is actually set
  185. - overall API: resolver flags have been moved to being a client-object setting
  186. instead of used for every function invocation
  187. Changes from 1.0.1 to 1.1.0:
  188. ----------------------------
  189. * Features:
  190. - new Provides system allows alternate .pc files to provide a dependency
  191. - stable library API (with documentation): http://pkgconf.readthedocs.io/
  192. * Enhancements:
  193. - make it possible to programmatically declare dependencies instead of just using the parser
  194. - testsuite migrated to run under kyua
  195. - provide a libpkgconf.pc file for consumers to use
  196. - pkgconf client: new --pure flag to enable dependency graph optimization in --static mode
  197. - significant .pc parser speedups using bsearch(3).
  198. - handle -idirafter in the same way as -isystem CFLAGS
  199. - learn toolchain "system" paths from GCC environment variables, if present
  200. - filter duplicate PKG_CONFIG_PATH (and other) entries by inode
  201. * Bug fixes:
  202. - fragments: fix another edge case involving empty tokens being concatenated onto previous tokens
  203. (github #99)
  204. - libpkgconf: remove dependencies on config.h in public headers
  205. Changes from 1.0.0 to 1.0.1:
  206. ----------------------------
  207. * Enhancements:
  208. - new stub implementation of --print-provides (github #95)
  209. * Bug fixes:
  210. - fragments: fix an edge case involving path-only fragments and PKG_CONFIG_SYSROOT_DIR (github #94)
  211. Changes from 0.9.12 to 1.0.0:
  212. -----------------------------
  213. * Features:
  214. - new library: libpkgconf
  215. * Enhancements:
  216. - testsuite: use an explicit prefix on all tests
  217. - build: switch to automake
  218. * Bug fixes:
  219. - cast all usage of ctype(3) functions
  220. - do not expand variables passed via --define-variable for compatibility with pkg-config 0.29
  221. - let the CFLAGS being user settable
  222. Changes from 0.9.11 to 0.9.12:
  223. ------------------------------
  224. * Features:
  225. - add --list-package-names
  226. * Enhancements:
  227. - ensure -I and -L are never pushed back
  228. * Bug fixes:
  229. - fix implicit conversion warnings with variables over 31bits
  230. Changes from 0.9.10 to 0.9.11:
  231. ------------------------------
  232. * Features:
  233. - add --validate
  234. * Enhancements:
  235. - add large file support checks in autoconf
  236. * Bug fixes:
  237. - fix private lib deduplication
  238. - handle --static correctly in some more esoteric scenarios
  239. Changes from 0.9.9 to 0.9.10:
  240. -----------------------------
  241. * Features:
  242. * Enhancements:
  243. * Bug fixes:
  244. - Fix parser when dealing with commented lines
  245. Changes from 0.9.8 to 0.9.9:
  246. ----------------------------
  247. * Features:
  248. - add a sub out --print-provides
  249. * Enhancements:
  250. * Bug fixes:
  251. - Fix parser when dealing with comments in fields
  252. Changes from 0.9.7 to 0.9.8:
  253. ----------------------------
  254. * Features:
  255. * Enhancements:
  256. - Convert manpages to mdoc(7)
  257. * Bug fixes:
  258. - Fix parsing multiline fields
  259. Changes from 0.9.6 to 0.9.7:
  260. ----------------------------
  261. * Features:
  262. * Enhancements:
  263. - Convert manpages to mdoc(7)
  264. * Bug fixes:
  265. - Fix parsing multiline fields
  266. Changes from 0.9.5 to 0.9.6:
  267. ----------------------------
  268. * Features:
  269. - add a sub --debug
  270. * Enhancements:
  271. - Do not hardcode non-posix install(1)
  272. * Bug fixes:
  273. - fix --with-system-includedir and --with-system-libdir behaviour
  274. Changes from 0.9.4 to 0.9.5:
  275. ----------------------------
  276. * Features:
  277. * Enhancements:
  278. - Make all variables but CFLAGS and LIBS case sensitive
  279. * Bug fixes:
  280. Changes from 0.9.3 to 0.9.4:
  281. ----------------------------
  282. * Features:
  283. - Add a pkgconf(1) manpage
  284. * Enhancements:
  285. - Improve support for MacOS -framework
  286. * Bug fixes:
  287. Changes from 0.9.2 to 0.9.3:
  288. ----------------------------
  289. * Features:
  290. - Add support for CFLAGS.private
  291. * Enhancements:
  292. - Support out of source build
  293. - Improved private libs deduplication
  294. * Bug fixes:
  295. Changes from 0.9.1 to 0.9.2:
  296. ----------------------------
  297. * Features:
  298. * Enhancements:
  299. * Bug fixes:
  300. - Fix PKG_CONFIG_PATH being ignored when a .pc is directly supplied from
  301. command line
  302. Changes from 0.9.0 to 0.9.1:
  303. ----------------------------
  304. * Features:
  305. * Enhancements:
  306. - --simulate: print depgraph operations
  307. - --simulate: print bytecode program as a human-readable AST
  308. * Bug fixes:
  309. - reset parser state on new package atom
  310. Changes from 0.8.12 to 0.9.0:
  311. ----------------------------
  312. * Features:
  313. * Enhancements:
  314. - Rework the internal cache API
  315. - Rework the internal code to use the new pkg_list_t framework
  316. - Rework PKG_CONFIG_PATH handling code
  317. * Bug fixes:
  318. - fix multi-recursion with -framework