main.c


Log

Author Commit Date CI Message
William Pitcock 41e0a658 2016-07-10T15:03:58 audit: add actual audit log I/O functions (ref #88)
William Pitcock 8ccc1086 2016-07-10T14:53:15 main: add a stub for PKG_CONFIG_LOG (ref #88)
William Pitcock a7893e75 2016-05-19T18:21:49 update copyright to 2016
William Pitcock 7e6fa325 2016-01-21T11:16:39 main: support undocumented PKG_CONFIG_SYSTEM_INCLUDE_PATH and PKG_CONFIG_SYSTEM_LIBRARY_PATH environment variables. (closes #86)
Baptiste Daroussin cb83dab4 2015-12-02T14:59:51 More casting for ctype
William Pitcock b9048646 2015-09-06T12:01:12 libpkgconf: do something better than error_msgout for error logging
William Pitcock 06a45f1b 2015-09-06T11:45:00 libpkgconf: clean up PKG_ERRF and PKGF_ defines
William Pitcock 50cf8db0 2015-09-06T11:39:55 libpkgconf: clean up PKG_MODULE_SEPARATOR() and PKG_OPERATOR_CHAR() macros
William Pitcock ec5cc3f0 2015-09-06T11:37:20 libpkgconf: PKG_PROPF namespace becomes PKGCONF_PKG_PROPF.
William Pitcock dd86ba43 2015-09-06T11:34:09 libpkgconf: PKG_ comparators become PKGCONF_CMP_ namespace
William Pitcock 571d9c75 2015-09-06T11:29:56 libpkgconf: PKG_BUFSIZE becomes PKGCONF_BUFSIZE, remove unused PKG_MIN/PKG_MAX.
William Pitcock ca1b0265 2015-09-06T11:20:48 libpkgconf: untangle remaining pkg_ functions related to pkgconf_pkg_t
William Pitcock 0d145ef8 2015-09-06T11:00:46 libpkgconf: pkg_compare_version() becomes pkgconf_compare_version(), same for pkg_scan_all()
William Pitcock 66247fae 2015-09-06T10:57:26 libpkgconf: pkg_comparator_t becomes pkgconf_pkg_comparator_t (and so on)
William Pitcock 4410eb2c 2015-09-06T10:51:34 libpkgconf: pkg_queue becomes pkgconf_queue
William Pitcock 342950a5 2015-09-06T10:50:23 libpkgconf: pkg_cache becomes pkgconf_cache
William Pitcock 61d5fc72 2015-09-06T10:44:10 libpkgconf: move pkg_fragment to pkgconf_fragment namespace
William Pitcock 4c71b25d 2015-09-06T10:41:40 libpkgconf: move pkg_tuple to pkgconf_tuple namespace
William Pitcock 1ee18d0e 2015-09-06T10:38:30 libpkgconf: move pkg_dependency to pkgconf_dependency namespace
William Pitcock cc2dcc1f 2015-09-06T10:31:21 libpkgconf: move pkg_node and pkg_list to pkgconf_node and pkgconf_list namespaces
William Pitcock a706b3dc 2015-09-06T09:35:08 initial libtoolization for libpkgconf
William Pitcock 2bd65598 2015-09-03T03:29:35 main: remove remaining parts of the pkg-config compatibility layer
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)