main.c


Log

Author Commit Date CI Message
William Pitcock 18a58836 2017-01-20T18:09:56 main: add --dont-define-prefix for feature parity with pkg-config
William Pitcock 7237b811 2017-01-20T00:58:48 add support for making paths relocatable (closes #103)
William Pitcock bd6be711 2017-01-19T19:21:46 main: add support for --prefix-variable (ref #103)
William Pitcock 13cf74c7 2017-01-19T18:23:25 libpkgconf: kill flags from top-level fragment API (ref #105)
William Pitcock 7b39c384 2017-01-19T18:17:29 libpkgconf: pkg: clean up use of flags variable (ref #105)
William Pitcock 127fd037 2017-01-19T17:35:35 libpkgconf: pkg: uncouple resolver flags from pkgconf_pkg_dir_list_build(). (ref #105)
William Pitcock 0ca6a16c 2017-01-19T17:32:38 libpkgconf: queue: nuke flags parameters (ref #105)
William Pitcock 3c628084 2017-01-19T17:16:20 main: kill global_traverse_flags (ref #105)
William Pitcock 492d220d 2017-01-18T20:34:06 main: properly honour --keep-system-libs and --keep-system-cflags
William Pitcock 4f94090f 2017-01-18T20:25:19 libpkgconf: fragment: make pkgconf_fragment_filter() accept userdata (closes #106)
William Pitcock d7bf55a1 2017-01-18T11:36:52 main: add --with-path CLI option (closes #104)
William Pitcock 02fcc31e 2017-01-07T02:58:39 main: add --path option to show the exact filename of each .pc file used
William Pitcock 5a006aac 2016-12-28T14:00:23 Update copyrights to 2017.
William Pitcock 6ef4a853 2016-12-21T20:06:17 libpkgconf: migrate pkgconf client fragment_is_system_dir() to a libpkgconf API
William Pitcock b26e3cf6 2016-12-21T19:59:47 main: fragment_has_system_dir(): remove want_flags checks as they are redundant
William Pitcock cd0160a4 2016-12-21T19:54:32 libpkgconf: handle PKG_CONFIG_SYSTEM_INCLUDE_PATH and PKG_CONFIG_SYSTEM_LIBRARY_PATH environment variables at client init time
William Pitcock 76754216 2016-12-21T19:52:36 main: use pkgconf_client_t.filter_libdirs and friends instead of an internal set of lists
William Pitcock 82fa8b21 2016-12-13T12:14:08 libpkgconf: separate config.h from the actual API headers
Graham Ollis fa876089 2016-12-13T13:03:59 pass client and user data to error handler (#100)
William Pitcock d58ac746 2016-12-10T16:22:16 main: use pkgconf_ namespaced strlcpy/strlcat stubs
William Pitcock d6d7ff77 2016-12-09T23:07:15 main: use pkgconf_fragment_render() to render fragment lists instead of custom stuff
William Pitcock af63b799 2016-12-09T22:47:02 main: filter out system dir fragments instead of skipping them when printing
William Pitcock 2b5d763e 2016-12-09T22:45:22 main: use pkgconf_fragment_filter() instead of crazy stuff
William Pitcock 6e4fd027 2016-12-09T21:37:36 main: switch to pkgconf_client_set_sysroot_dir() and remove the last vestige of PKGCONF_PKG_PKGF_MUNGE_SYSROOT_PREFIX
William Pitcock 792cd7c8 2016-12-09T21:32:55 libpkgconf: tuple: handle sysroot without the need of PKGCONF_PKG_PKGF_MUNGE_SYSROOT_PREFIX
William Pitcock f8de5bf1 2016-12-09T21:10:21 main: use pkgconf_client_set_buildroot_dir() instead of manually handling it
William Pitcock 011d8c77 2016-12-02T00:34:48 libpkgconf: audit: migrate to pkgconf_client_t
William Pitcock c05ecdfc 2016-12-02T00:29:33 libpkgconf: migrate cache to pkgconf_client_t which unfortunately requires it to be non-const :(
William Pitcock a300787c 2016-12-01T15:17:23 libpkgconf: do not implicitly build the dir list, instead explicitly do it
William Pitcock 8740c5cd 2016-12-01T15:05:03 libpkgconf: begin removing global state from libpkgconf library by introducing a "client" object which holds the state
William Pitcock 4bb46e20 2016-11-30T22:32:17 libpkgconf: add path matching and environment building functions
William Pitcock 8ecf7c18 2016-11-15T22:30:04 main: also enable --pure with the PKG_CONFIG_PURE_DEPGRAPH env variable (#83)
William Pitcock ec10dd8e 2016-11-15T22:01:17 main: add --pure flag (#83) which allows a static-linking dependency graph to be evaluated as if it were otherwise normal
William Pitcock 47c5c565 2016-09-08T22:21:12 main: add --skip-provides to provide broken fd.o pkg-config behaviour (#95)
William Pitcock bbe6dcc0 2016-08-27T09:48:53 pkg: make pkgconf_scan_all() API more flexible to allow it to scan until it finds a qualifying pkgconf_pkg_t
William Pitcock 5ba46130 2016-08-26T23:43:20 pkg: add anchor Provides entry once the .pc file is parsed, instead of faking it in the tool
William Pitcock da2f49f7 2016-08-26T12:22:11 main: since --print-provides is implemented fully now, document it
William Pitcock f9101659 2016-08-26T12:14:32 pkg: add support for parsing Provides: entries
William Pitcock 12a0eb12 2016-08-25T23:45:33 main: assume --modversion insted of --version if other flags or module names are provided
William Pitcock 4a1b88fc 2016-08-24T11:04:12 main: implement --print-provides, but not actual Provides support. It turns out pkg-config's provides support is incomplete (only --print-provides is implemented), so we are going to hold off on implementing support for Provides until 1.1.
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