Commit Graph

153 Commits (d67a04011f92f4eef48dd92a3306fb61163cee06)

Author SHA1 Message Date
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 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 2bee0006cd main: stub out --print-provides 2015-04-20 09:45:03 -05:00
William Pitcock c207e82039 main: update informational copyright notice 2015-03-14 04:17:59 -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 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 d2d52b3278 main: allow --debug as an option (has no effect) (closes #64) 2014-06-07 20:30:36 +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
Tony Theodore bc661124da fix keep-system-* arg parsing and test with default prefix 2013-08-24 15:19:41 +10:00
William Pitcock 501d7dc25f main: update copyright years 2013-08-23 04:04:16 +00:00
William Pitcock f9d93a1f81 main: --simulate: enhancements 2013-03-15 19:59:20 -05:00
William Pitcock d7643ed2b6 main: --simulate: print bytecode program as a human-readable AST parsable by mowgli.config_parse 2013-03-15 19:36:37 -05:00
William Pitcock 8980ae5f76 main: --simulate: print depgraph operations 2013-03-15 19:20:35 -05:00
William Pitcock d6fb7881d4 pkg: remove pkg_t.uninstalled, use a property flag instead 2013-03-01 12:06:52 -06:00
William Pitcock 1fd95f90eb dependency: refactor to use pkg_list_t framework 2013-03-01 11:36:21 -06:00
William Pitcock 8330056dc1 fragment: refactor using pkg_list_t framework 2013-03-01 11:10:43 -06:00
William Pitcock 74e40fd128 tuple: refactor to use pkg_list_t framework 2013-03-01 10:45:55 -06:00
William Pitcock ae063d8922 queue: refactor to use pkg_list_t framework 2013-03-01 10:24:57 -06:00
William Pitcock dd53cd57f4 pkg: implement refcounting and a deeper cache 2013-02-25 23:29:57 -06:00
William Pitcock 77c5b82aad main: use support for munging by $(pc_sysrootdir) and remove the old sysroot hack 2013-02-24 08:59:07 -06:00
William Pitcock b4eb42f3c3 Update copyrights on modified files to 2013. 2013-02-24 08:21:36 -06:00
William Pitcock 910c6e00e9 main: add option to disable cache code 2013-02-24 08:20:35 -06:00
William Pitcock 7b322d73e8 main: limit evaluation graph depth to 2000 nodes
This allows us to break out of situations where circular dependencies may arise.
2013-02-24 06:42:32 -06:00
William Pitcock 0edc4ff3b3 main: mention compatibility level in --about ala PKG_PKGCONFIG_VERSION_EQUIV 2012-09-14 16:16:35 -05:00
William Pitcock 0153d2876f main: ensure program invocation with no package arguments always sends error messages to stderr 2012-09-14 15:02:08 -05:00
William Pitcock 150d91d07f main: add a trailing space at the end of the output if --cflags or --libs is requested (closes #40) 2012-09-05 07:03:37 -05:00
Baptiste Daroussin 4eedb041ed if no cflags or libs are defined in .pc just return 0 and output nothing 2012-08-20 22:47:10 +02:00
Baptiste Daroussin 9a26337507 return 1 and do not output anything a requirement is missing 2012-08-12 12:33:37 +02: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
William Pitcock 56ba08b617 main: add --simulate (related to issue #33) 2012-08-08 10:23:23 -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 0d412423bd main: print_variable() should add whitespace 2012-07-30 05:11:11 -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 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 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 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 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