Commit Graph

540 Commits (5a8dadafc603fbe5207a835af7f5965e28115bbd)

Author SHA1 Message Date
Baptiste Daroussin 5a8dadafc6 Ensure -L is never merged back 2015-07-19 22:49:36 +02:00
William Pitcock 9f49c7db95 README: add pointer to legacy pkg-config docs. 2015-06-25 08:13:46 -05:00
William Pitcock fc18a9d509 main: add --list-package-names 2015-06-03 02:22:38 -05:00
William Pitcock a5a58dc779 main: specify that all flag values are explicitly uint64_t 2015-06-03 02:22:02 -05:00
William Pitcock 92c28477c1 pkg_getopt_long: fix implicit conversion warnings with variables over 31 bits 2015-06-03 02:21:13 -05:00
William Pitcock 3ddc77c01d pkgconf 0.9.11. 2015-05-22 00:07:20 -05:00
William Pitcock e1f8c6070c README: update tarball link 2015-05-21 23:41:22 -05:00
William Pitcock b0b73149f8 main: implement --validate as in pkg-config 0.29 git 2015-05-21 23:20:40 -05:00
William Pitcock 57924dcee2 pkg_getopt_long: use uint64_t for options bitfield 2015-05-21 23:16:37 -05:00
William Pitcock 1cc0ae62a9 fragment, pkg: handle --static correctly in some more esoteric scenarios 2015-05-21 23:06:38 -05:00
William Pitcock fa665a40a5 tests: correct private-libs-duplication order 2015-05-21 22:17:55 -05:00
William Pitcock 0e0ab8318b pkg: pkg_libs(): consider both Libs and Libs.private fragments at the same time instead of separately (fixes many ordering problems with --static) (closes #68) 2015-05-21 22:14:37 -05:00
William Pitcock face849e5f tests: fix validation on private-libs-duplication test 2015-05-21 22:14:08 -05:00
William Pitcock b26374a5ad tests: add an additional test for more complicated --static relationships 2015-05-21 22:03:02 -05:00
William Pitcock 17b0c40d2a configure: add large file support checks 2015-05-21 21:47:50 -05:00
William Pitcock 3084a88c2e pkgconf 0.9.10. 2015-04-23 21:21:25 -05:00
Baptiste Daroussin 0eb31f91ee fileio: Skip the whole line after a non quoted comment 2015-04-23 22:01:00 +02:00
Baptiste Daroussin 1dc28ba666 testsuite: regression test for parsing comments
Add a test case about a regression that happened when parsing comments
(bug #75)
2015-04-23 22:01:00 +02:00
William Pitcock 663d45dffc pkgconf 0.9.9. 2015-04-20 09:47:35 -05:00
William Pitcock 2bee0006cd main: stub out --print-provides 2015-04-20 09:45:03 -05:00
William Pitcock a81cddcd35 README: provide IRC channel pointer 2015-04-20 09:44:41 -05:00
William Pitcock 5dc8aa361b fileio: pkg_fgetline(): handle comments properly 2015-04-20 09:24:07 -05:00
William Pitcock 1c1c7fcd8e testsuite: fix comments in fields testcase 2015-04-20 09:23:13 -05:00
William Pitcock b700a6cde6 add testcase for comments in fields (grr, nettle) 2015-04-20 09:19:33 -05:00
William Pitcock 853b7e9849 pkgconf 0.9.8. 2015-03-14 04:17:59 -05:00
William Pitcock c207e82039 main: update informational copyright notice 2015-03-14 04:17:59 -05:00
Baptiste Daroussin 6c5d653f24 First generate the configure script 2015-02-03 09:26:13 +01:00
Baptiste Daroussin fc645f3380 Activate travis ci 2015-02-03 09:22:10 +01:00
Baptiste Daroussin 59955829ae Follow mdoc(7) convention on ordering sections 2015-02-03 00:44:53 +01:00
Baptiste Daroussin ef59baf304 Document environment variables 2015-02-03 00:17:03 +01:00
Baptiste Daroussin cfa4e4591c Yet more mdoc(7) tuning 2015-02-03 00:08:21 +01:00
Baptiste Daroussin 2b683071a2 Change manpage from man(7) to mdoc(7) 2015-02-03 00:03:33 +01:00
Baptiste Daroussin cae8bf2684 Trim spaces after a quoted newline
if a newline has been quoted then trim all spaces (' ' and '\t') found
on the next line
2015-02-02 17:35:32 +01:00
Baptiste Daroussin ff6c9c963a Add a test for multiline descriptions
Found in tracker-sparql project
2015-02-02 17:29:39 +01:00
William Pitcock f5428877f4 pkgconf 0.9.7. 2014-09-14 03:01:34 -05:00
William Pitcock 025fc09222 main: --libs-only-foo and --cflags-only-foo behaviour should be inclusive, not exclusive.
Pointed out and initial patch by: Dan Kegel <dank@kegel.com>
2014-09-13 22:37:00 -05:00
William Pitcock f1a0047ade Merge pull request #71 from Alexpux/master
Fix expanding PKG_DEFAULT_PATH under Windows.
2014-08-14 22:16:29 -05:00
Alexpux 39e3fc1c46 Fix expanding PKG_DEFAULT_PATH under Windows. 2014-08-08 13:19:34 +04:00
Jean-Sébastien Pédron bff5f15d0a Support .pc file without a trailing newline
Some editors write text files without a newline character at the end of
the last line.

Before this change, the main loop in pkg_new_from_file() expected a
newline character at the end of the line and overwrote it with a NUL
character. In the case of the last line in a non-newline-terminated
file, this ate the last character of that line.

Now, the pkg_fgetline() function takes care of returning a line without
the newline character (or the "\r\n" sequence in case of a DOS file
format).
2014-08-02 14:07:25 +02:00
William Pitcock f8040e7f65 README: update to where we are at in 2014 2014-07-09 02:25:01 -05:00
William Pitcock 3d98bd7ff6 main: do not munge variables which already contain sysroot_dir in their output (maybe related to #69) 2014-07-09 02:00:13 -05:00
William Pitcock 12ff14f856 fragments: handle sysroot dir munging directly in a smarter way
Previously we just let the tuple system handle it, but pkg-config modules which do not define
variables were able to get by the checks.  While here, check to ensure we do not duplicate the
sysroot dir twice if it is already defined in the pkg-config module file.

Downstream bug: https://bugs.busybox.net/show_bug.cgi?id=5750
2014-07-09 01:23:51 -05:00
William Pitcock 84050f8fda tuple: fix swallowing $ (closes #67) 2014-07-01 23:44:49 -05:00
William Pitcock 0161be992e bsdstubs: add strtok_r() from musl if unavailable on a platform (closes #66) 2014-07-01 23:39:22 -05:00
William Pitcock c80229c646 tests: add test for #67 2014-07-01 23:30:59 -05:00
William Pitcock 0c0c50671e pkgconf 0.9.6. 2014-06-07 20:32:08 +00:00
William Pitcock d2d52b3278 main: allow --debug as an option (has no effect) (closes #64) 2014-06-07 20:30:36 +00:00
William Pitcock d33b7de5d2 build: disable -D_FORTIFY_SOURCE=2 (let distros use it themselves) (closes #61) 2014-06-07 20:22:48 +00:00
William Pitcock 50b647c92f main: avoid memory leak 2014-06-07 20:19:51 +00:00
William Pitcock 912d1d9013 main: fix --with-system-includedir and --with-system-libdir behaviour (closes #63) 2014-06-07 20:11:06 +00:00