main.c


Log

Author Commit Date CI Message
William Pitcock fc18a9d5 2015-06-03T02:22:38 main: add --list-package-names
William Pitcock a5a58dc7 2015-06-03T02:22:02 main: specify that all flag values are explicitly uint64_t
William Pitcock b0b73149 2015-05-21T23:20:40 main: implement --validate as in pkg-config 0.29 git
William Pitcock 57924dce 2015-05-21T23:16:37 pkg_getopt_long: use uint64_t for options bitfield
William Pitcock 2bee0006 2015-04-20T09:45:03 main: stub out --print-provides
William Pitcock c207e820 2015-03-14T04:17:19 main: update informational copyright notice
William Pitcock 025fc092 2014-09-13T22:37:00 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>
William Pitcock 3d98bd7f 2014-07-09T02:00:13 main: do not munge variables which already contain sysroot_dir in their output (maybe related to #69)
William Pitcock 12ff14f8 2014-07-09T01:23:51 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
William Pitcock d2d52b32 2014-06-07T20:30:36 main: allow --debug as an option (has no effect) (closes #64)
William Pitcock 50b647c9 2014-06-07T20:19:51 main: avoid memory leak
William Pitcock 912d1d90 2014-06-07T20:11:06 main: fix --with-system-includedir and --with-system-libdir behaviour (closes #63)
Tony Theodore bc661124 2013-08-24T15:19:41 fix keep-system-* arg parsing and test with default prefix
William Pitcock 501d7dc2 2013-08-23T04:04:16 main: update copyright years
William Pitcock f9d93a1f 2013-03-15T19:59:20 main: --simulate: enhancements
William Pitcock d7643ed2 2013-03-15T19:36:37 main: --simulate: print bytecode program as a human-readable AST parsable by mowgli.config_parse
William Pitcock 8980ae5f 2013-03-15T19:20:35 main: --simulate: print depgraph operations
William Pitcock d6fb7881 2013-03-01T12:06:52 pkg: remove pkg_t.uninstalled, use a property flag instead
William Pitcock 1fd95f90 2013-03-01T11:36:21 dependency: refactor to use pkg_list_t framework
William Pitcock 8330056d 2013-03-01T11:10:43 fragment: refactor using pkg_list_t framework
William Pitcock 74e40fd1 2013-03-01T10:45:55 tuple: refactor to use pkg_list_t framework
William Pitcock ae063d89 2013-03-01T10:24:57 queue: refactor to use pkg_list_t framework
William Pitcock dd53cd57 2013-02-25T23:29:57 pkg: implement refcounting and a deeper cache
William Pitcock 77c5b82a 2013-02-24T08:59:07 main: use support for munging by $(pc_sysrootdir) and remove the old sysroot hack
William Pitcock b4eb42f3 2013-02-24T08:21:36 Update copyrights on modified files to 2013.
William Pitcock 910c6e00 2013-02-24T08:20:35 main: add option to disable cache code
William Pitcock 7b322d73 2013-02-24T06:42:32 main: limit evaluation graph depth to 2000 nodes This allows us to break out of situations where circular dependencies may arise.
William Pitcock 0edc4ff3 2012-09-14T16:16:35 main: mention compatibility level in --about ala PKG_PKGCONFIG_VERSION_EQUIV
William Pitcock 0153d287 2012-09-14T15:00:47 main: ensure program invocation with no package arguments always sends error messages to stderr
William Pitcock 150d91d0 2012-09-05T07:03:37 main: add a trailing space at the end of the output if --cflags or --libs is requested (closes #40)
Baptiste Daroussin 4eedb041 2012-08-20T22:47:10 if no cflags or libs are defined in .pc just return 0 and output nothing
Baptiste Daroussin 9a263375 2012-08-12T12:32:31 return 1 and do not output anything a requirement is missing
William Pitcock 3e03f2d9 2012-08-08T11:07:54 main: use global fragment lists for --cflags and --libs
William Pitcock 84ea074f 2012-08-08T11:04:07 pkg: allow pkg_cflags() and pkg_libs() utility functions to have a user-provided list pointer. Also chase this change in the frontend.
William Pitcock 56ba08b6 2012-08-08T10:19:39 main: add --simulate (related to issue #33)
William Pitcock c8e604c8 2012-07-30T05:39:44 main: add whitespace control to --variable output (fixes mozilla libxul stuff)
William Pitcock 0d412423 2012-07-30T05:09:10 main: print_variable() should add whitespace
Baptiste Daroussin 8acc7533 2012-07-30T11:49:36 pkgconf --variable needs a \n
William Pitcock 301a4636 2012-07-30T03:08:16 Revert "main: --exists should search Requires.private." This reverts commit 980644230de373aadefd59db3e0304dd2ba0daab.
William Pitcock 69a6331c 2012-07-30T03:07:14 main: --exists should search Requires.private.
William Pitcock 391dbad7 2012-07-30T02:38:22 main: add logic to make --print-errors actually useful
William Pitcock e22860ac 2012-07-30T02:06:24 main: fix regression caused by moving to bitfield where --cflags or --libs wouldn't cause a newline
William Pitcock 8744ce5e 2012-07-29T11:41:23 main: usage() should list --about
Baptiste Daroussin 1464b576 2012-07-29T13:39:34 Convert all the int want_* to a single bitmap
William Pitcock b9ccc27a 2012-07-29T05:36:21 pkg: add pkg_queue_validate() to compile and validate a pkg_queue_t.
William Pitcock 9136b192 2012-07-29T05:28:01 main: rework to use pkg_queue_apply(). Presently 3 regressions.
William Pitcock 23b1806f 2012-07-29T04:21:36 main: remove redundant checks made obsolete by depgraph compilation
William Pitcock 50c496b7 2012-07-29T04:05:53 main: use pkg_queue_compile() and pkg_queue_free().
William Pitcock 698358e9 2012-07-29T03:49:56 queue: new file
William Pitcock 91271e56 2012-07-29T03:30:05 main: remove several symbols from BSS (they are only needed by main()).
William Pitcock 3715fae2 2012-07-29T03:20:24 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.
William Pitcock 24bb5363 2012-07-26T00:13:02 main: --list-all shouldn't list 'uninstalled' packages
William Pitcock 3e185832 2012-07-25T23:55:53 main: add frontend implementation of --list-all
William Pitcock 0a5cb4c4 2012-07-25T21:09:31 everything: update copyright to note multiple authors
Baptiste Daroussin 7b10816c 2012-07-26T00:32:35 Ordering cflags flags
Baptiste Daroussin cab26204 2012-07-26T00:25:40 Ordering libs flags
Baptiste Daroussin 83487e78 2012-07-25T13:51:19 skip empty packages arguments (gobject-introspection scanner can pass empty arguments to pkgconf) This improves compatibility with pkg-config
Baptiste Daroussin abcea07a 2012-07-24T22:24:52 add --with-system-includedir and --with-system-libdir By default they are defined to --includedir and --libdir
William Pitcock da7e3de9 2012-07-23T21:07:19 main: --silence-errors should be opt-in only.
William Pitcock b0cdca48 2012-07-21T14:38:13 everything: do not shadow POSIX BUFSIZ definition
William Pitcock f4d84620 2012-07-21T14:33:07 main: add support for --silence-errors by redirecting stderr to /dev/null
William Pitcock d730ec8a 2012-07-20T20:04:11 main: bail if the entire depgraph cannot be built
William Pitcock e5efad7d 2012-07-20T17:19:43 main: return EXIT_FAILURE when argument parsing fails
William Pitcock 43a2c788 2012-07-20T17:12:06 main: use pkg_getopt_long_only().
William Pitcock 3035b0ba 2012-07-20T16:29:57 main: add support for HAVE_STRICT_MODE compiler define (and define it in the build system) (issue #25)
William Pitcock c928e7e4 2012-07-20T14:31:58 main: clean up license text in --version
William Pitcock 1975a298 2012-07-20T14:29:58 everything: more friendly warranty disclaimer
William Pitcock 9d7672fc 2012-07-20T13:46:14 main: use our own getopt_long() implementation always, as pkg_getopt_long(). (closes #24)
William Pitcock b8645fbe 2012-07-01T22:02:45 main: fix regression caused by copy-and-paste (issue #20)
William Pitcock 4499d272 2012-07-01T21:57:49 main: implement use of pkg_dependency_parse_str() for --atleast-version and friends (issue #20)
William Pitcock 8a9971ec 2012-07-01T21:21:31 main: finish --errors-to-stdout support
William Pitcock 2d2ae068 2012-06-30T16:51:31 main: emulate --errors-to-stdout
William Pitcock fef7558c 2012-05-11T20:54:37 main: add --ignore-conflicts program option (issue #13)
William Pitcock 27c07791 2012-05-11T20:18:12 main: use pkg_libs().
William Pitcock b8e538ec 2012-05-11T20:13:47 main: use pkg_cflags() instead of custom code (issue #11)
William Pitcock 40402298 2012-05-11T20:07:45 main: use PKGF_MERGE_PRIVATE_FRAGMENTS
William Pitcock ee2df66a 2012-05-11T20:02:23 main: update traverse callback prototypes
William Pitcock 56fbf25c 2012-05-11T13:47:20 Move all portability gunk into stdinc.h. (Issue #18)
William Pitcock 2aaa1ce0 2012-05-07T03:45:24 main: implement support for PKG_CONFIG_SYSROOT_DIR (issue #5)
William Pitcock 1b845b43 2012-05-07T03:33:00 main: implement support for PKG_CONFIG_TOP_BUILD_DIR (issue #6)
William Pitcock a5347c8b 2012-05-07T03:27:55 main: add --exact-version and --max-version to usage()
William Pitcock d5ddeb40 2012-05-07T03:26:17 main: add --max-version and --exact version (issue #8)
William Pitcock 7ae5ccd1 2012-05-06T23:32:08 main: implement --define-variable
William Pitcock 07a41467 2012-05-06T23:30:02 main: use PKGF_SKIP_ROOT_VIRTUAL when looking for variables
William Pitcock 0056ba63 2012-05-06T23:10:41 tuple: add global tuple support (issue #5, issue #6, issue #7)
William Pitcock 4eb08d7c 2012-05-06T22:55:00 pkg: clean up foreach_list_entry* macros (issue #10)
William Pitcock d07e41c3 2012-05-06T22:23:05 pkg: rename parse_deplist to pkg_dependency_parse
William Pitcock cc32bbd4 2012-05-06T21:42:33 main: use error codes
William Pitcock 601341fb 2012-05-06T21:31:20 main: pkg_queue_walk(): cleanups
William Pitcock cb23f16a 2012-05-06T21:22:40 main: plug leak with --uninstalled
William Pitcock 1b1e8dcd 2012-05-06T21:16:32 main: free mergemaster'd fragment lists
William Pitcock 36269f76 2012-05-06T21:15:30 main: don't just exit on --variable
William Pitcock c69d6c62 2012-05-06T21:12:16 main: free pkg_queue_t entries once they are committed to the depgraph
William Pitcock a75baf5a 2012-05-06T21:08:47 main: make 'world' package virtual
William Pitcock ded3ce7a 2012-05-06T20:13:54 main: clean up variable printer now that we have pkg_tuple_parse
William Pitcock 30fe1fae 2012-05-06T20:12:11 parse: replace strdup_parse with pkg_tuple_parse().
William Pitcock 4ea25d56 2012-05-06T20:06:48 parse: split out tuple API and make public
William Pitcock 1752b75a 2012-05-06T19:57:56 main: fix typo
William Pitcock 69c5925b 2012-05-06T19:56:19 main: add --keep-system-cflags and --keep-system-libs (and also pkg-config env vars for this)
William Pitcock 857d36b6 2012-05-06T19:49:50 main: add --no-uninstalled program option and PKG_CONFIG_DISABLE_UNINSTALLED env variable support