package compiler and linker metadata toolkit https://www.pkgconf.org/

NEWS 14KB

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