Commit Graph

579 Commits (001cd31c089842ca744d2883ac99225537d0adab)

Author SHA1 Message Date
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
William Pitcock 1f1feb0022 Merge pull request #62 from vbraun/master
Do not hardcode "install"
2014-03-23 00:38:52 -05:00
Volker Braun f445dfd32f make install-sh executable 2014-02-28 16:15:41 +01:00
Volker Braun f5730b487f Do not hardcode the non-posix install program 2014-02-28 15:04:11 +01:00
William Pitcock d6121d12b8 pkgconf 0.9.5. 2014-02-11 00:01:36 +00:00
William Pitcock 9f94461b7a pkg: make fields other than CFLAGS and LIBS case-sensitive (closes #60) 2014-02-10 23:57:50 +00:00
William Pitcock 8f36c545d1 tuple: make variable lookup case sensitive (ref #60) 2014-02-10 23:53:47 +00:00
William Pitcock 8cf58d7ceb tests: add test for variable case-sensitivity (ref #60) 2014-02-10 23:50:45 +00:00
William Pitcock cd6d52b965 testsuite: fix erroneous test to match bugfix 2013-12-27 11:47:40 +00:00
William Pitcock 888bd00ca2 pkgconf 0.9.4. 2013-12-27 11:44:59 +00:00
William Pitcock 8cdf61b455 Extend copyright on recently modified files to 2014. 2013-12-27 11:41:23 +00:00
William Pitcock 2e0e4b2ece fragment: increase robustness with MacOS -framework (closes #56) 2013-12-27 11:37:24 +00:00