Commit Graph

361 Commits (a732e9bf0d9d3b9be322ef7675b57383b81ce75d)

Author SHA1 Message Date
William Pitcock a732e9bf0d README: fix distfiles URL 2012-08-10 10:30:29 -05:00
William Pitcock 86845f7098 fragment: reparent a fragment-list when a duplicate is encountered (closes issue #34). 2012-08-09 17:16:17 -05:00
William Pitcock 58fa286972 fragment: add pkg_fragment_lookup(). 2012-08-09 17:16:17 -05:00
William Pitcock c80b088711 tests: add tests for issue #34 2012-08-09 17:16:17 -05:00
William Pitcock 390ff275c5 pkg: ensure libs.private merging is always after libs 2012-08-08 11:17:08 -05:00
William Pitcock 3e03f2d9aa main: use global fragment lists for --cflags and --libs 2012-08-08 11:09:37 -05:00
William Pitcock 84ea074fbe pkg: allow pkg_cflags() and pkg_libs() utility functions to have a user-provided list pointer.
Also chase this change in the frontend.
2012-08-08 11:09:37 -05:00
Fabian Groffen 80ad957788 getopt: remove dependency on err.h/warnx() 2012-08-08 10:34:48 -05:00
William Pitcock 953fb66ff3 pkg: fix backwards root-leaf traversal order.
This bug causes occasional problems when calculating inter-module dependencies in complex
dependency graphs, such as ffmpeg when cross-compiled.

Reported-by: Alexander Kojevnikov <alexander@kojevnikov.com>
Closes: Issue #33
2012-08-08 10:23:23 -05:00
William Pitcock 56ba08b617 main: add --simulate (related to issue #33) 2012-08-08 10:23:23 -05:00
William Pitcock 3c157b78db pkgconf 0.8.5 2012-07-30 11:54:24 -05:00
William Pitcock c8e604c83c main: add whitespace control to --variable output (fixes mozilla libxul stuff) 2012-07-30 05:40:26 -05:00
William Pitcock fc01992654 queue: remove maxdepth + 1 hack (long story) 2012-07-30 05:11:11 -05:00
William Pitcock 0d412423bd main: print_variable() should add whitespace 2012-07-30 05:11:11 -05:00
William Pitcock 22d7625149 pkg: fix tilde operator 2012-07-30 05:03:55 -05:00
William Pitcock ec229b7cab tests: pkg-config treats tilde in reverse of how we got it in 0.8.4. 2012-07-30 05:03:55 -05:00
Baptiste Daroussin 8acc7533db pkgconf --variable needs a \n 2012-07-30 11:50:09 +02:00
William Pitcock 301a46368e Revert "main: --exists should search Requires.private."
This reverts commit 980644230d.
2012-07-30 03:16:30 -05:00
William Pitcock 69a6331cbe main: --exists should search Requires.private. 2012-07-30 03:16:30 -05:00
William Pitcock 004adad048 pkg: improve conflicts handling 2012-07-30 03:16:29 -05:00
William Pitcock 391dbad713 main: add logic to make --print-errors actually useful 2012-07-30 03:16:29 -05:00
William Pitcock e22860accc main: fix regression caused by moving to bitfield where --cflags or --libs wouldn't cause a newline 2012-07-30 02:07:02 -05:00
William Pitcock ee2e6054aa fileio: add support for quoting to pkg_fgetline(). 2012-07-30 01:54:02 -05:00
William Pitcock dde296193f tests: add test for multiline crasher 2012-07-30 01:32:55 -05:00
William Pitcock c4d89f9cec pkgconf 0.8.4 2012-07-29 11:47:47 -05:00
William Pitcock 8744ce5ec1 main: usage() should list --about 2012-07-29 11:41:57 -05:00
Baptiste Daroussin 1464b576b0 Convert all the int want_* to a single bitmap 2012-07-29 13:39:34 +02:00
William Pitcock b9ccc27abc pkg: add pkg_queue_validate() to compile and validate a pkg_queue_t. 2012-07-29 05:37:21 -05:00
William Pitcock 9136b192c3 main: rework to use pkg_queue_apply().
Presently 3 regressions.
2012-07-29 05:37:21 -05:00
William Pitcock 17fc01b4e0 queue: add pkg_queue_apply(). 2012-07-29 05:37:21 -05:00
William Pitcock 23b1806f65 main: remove redundant checks made obsolete by depgraph compilation 2012-07-29 05:37:21 -05:00
William Pitcock 50c496b7ce main: use pkg_queue_compile() and pkg_queue_free(). 2012-07-29 05:37:20 -05:00
William Pitcock cdac22fc5c queue: fix iteration ordering bug 2012-07-29 05:37:20 -05:00
William Pitcock f4f1c1defe queue: add pkg_queue_compile() and pkg_queue_free(). 2012-07-29 05:37:20 -05:00
William Pitcock 698358e9d4 queue: new file 2012-07-29 05:37:20 -05:00
William Pitcock 91271e56c6 main: remove several symbols from BSS (they are only needed by main()). 2012-07-29 03:30:50 -05:00
William Pitcock 3715fae236 main: move our actual version text to --about, make --version print pkg-config API version
This improves compatibility with broken packages, but really, scripts should depend on:
- --atleast-pkgconfig-version
- --modversion pkg-config

Anything else is just broken, but oh well.
2012-07-29 03:22:34 -05:00
William Pitcock 24bb536305 main: --list-all shouldn't list 'uninstalled' packages 2012-07-27 01:21:17 -05:00
William Pitcock 573cf8d21c pkg: fix pkg_t.id initialization 2012-07-27 01:21:16 -05:00
William Pitcock 79ca134f7f pkg: call stat(2) in scan function 2012-07-27 01:21:16 -05:00
William Pitcock 0ac7978ee2 pkg: bug fixes 2012-07-27 01:21:16 -05:00
William Pitcock 3e1858320c main: add frontend implementation of --list-all 2012-07-27 01:21:16 -05:00
William Pitcock 6f5fbb80d4 pkg: add pkg_scan() and pkg_scan_all() functions. 2012-07-27 01:21:16 -05:00
JD Horelick 1394a4edfe README.md: Small updates. 2012-07-27 01:03:49 -04:00
William Pitcock 002a0a7338 pkgconf 0.8.3. 2012-07-25 21:13:43 -05:00
William Pitcock 0a5cb4c4ec everything: update copyright to note multiple authors 2012-07-25 21:09:31 -05:00
William Pitcock 31b9a53155 tests: remove bashism (noticed on freebsd pointyhat log) 2012-07-25 17:56:10 -05:00
William Pitcock 1db1281593 argvsplit: fix splitting of arguments
There used to be a hack here, which was removed which caused other splitting later.
This was a vestige of that hack, which is no longer needed with proper fragments.
2012-07-25 17:51:40 -05:00
William Pitcock a15d5eefeb tests: quiet successful tests 2012-07-25 17:47:09 -05:00
Baptiste Daroussin 7b10816cdb Ordering cflags flags 2012-07-26 00:32:35 +02:00