Commit Graph

523 Commits (1dc28ba666b5dac999b7aecda92654e59ab282c2)

Author SHA1 Message Date
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
Dan Kegel 49ad1cd8f1 Add test for multiple frameworks (ref #56) 2013-12-27 11:20:41 +00:00
William Pitcock e0789ca650 Add pkgconf(1) manual page. (closes #55) 2013-12-27 11:13:55 +00:00
William Pitcock f35a9b7425 README: document --with-system-includedir and --with-system-libdir (closes #57) 2013-10-06 12:34:09 +00:00
William Pitcock 2ae72283fc Merge pull request #53 from tonytheodore/keep-system-libs
Test failure with default prefix and parsing of keep-system-* args
2013-08-24 11:17:15 -07:00
William Pitcock 99c41040f6 Merge pull request #52 from tonytheodore/multiple-deps
Add test for multiple dependencies on base package
2013-08-24 11:16:26 -07:00
Tony Theodore bc661124da fix keep-system-* arg parsing and test with default prefix 2013-08-24 15:19:41 +10:00