Commit Graph

196 Commits (e6c49153ffcc2e46cc63e2a08fbeacdc409a9a48)

Author SHA1 Message Date
William Pitcock d58ac74669 main: use pkgconf_ namespaced strlcpy/strlcat stubs 2016-12-10 16:22:16 -06:00
William Pitcock d6d7ff775a main: use pkgconf_fragment_render() to render fragment lists instead of custom stuff 2016-12-09 23:07:15 -06:00
William Pitcock af63b799f1 main: filter out system dir fragments instead of skipping them when printing 2016-12-09 22:47:02 -06:00
William Pitcock 2b5d763e31 main: use pkgconf_fragment_filter() instead of crazy stuff 2016-12-09 22:45:22 -06:00
William Pitcock 6e4fd027c3 main: switch to pkgconf_client_set_sysroot_dir() and remove the last vestige of PKGCONF_PKG_PKGF_MUNGE_SYSROOT_PREFIX 2016-12-09 21:37:36 -06:00
William Pitcock 792cd7c8e6 libpkgconf: tuple: handle sysroot without the need of PKGCONF_PKG_PKGF_MUNGE_SYSROOT_PREFIX 2016-12-09 21:32:55 -06:00
William Pitcock f8de5bf161 main: use pkgconf_client_set_buildroot_dir() instead of manually handling it 2016-12-09 21:10:21 -06:00
William Pitcock 011d8c77d6 libpkgconf: audit: migrate to pkgconf_client_t 2016-12-02 00:34:48 -06:00
William Pitcock c05ecdfc9d libpkgconf: migrate cache to pkgconf_client_t which unfortunately requires it to be non-const :( 2016-12-02 00:29:33 -06:00
William Pitcock a300787cef libpkgconf: do not implicitly build the dir list, instead explicitly do it 2016-12-01 15:17:23 -06:00
William Pitcock 8740c5cd55 libpkgconf: begin removing global state from libpkgconf library by introducing a "client" object which holds the state 2016-12-01 15:05:03 -06:00
William Pitcock 4bb46e20e3 libpkgconf: add path matching and environment building functions 2016-11-30 22:36:35 -06:00
William Pitcock 8ecf7c186b main: also enable --pure with the PKG_CONFIG_PURE_DEPGRAPH env variable (#83) 2016-11-15 22:30:04 -06:00
William Pitcock ec10dd8edb main: add --pure flag (#83) which allows a static-linking dependency graph to be evaluated as if it were otherwise normal 2016-11-15 22:01:17 -06:00
William Pitcock 47c5c5653c main: add --skip-provides to provide broken fd.o pkg-config behaviour (#95) 2016-09-08 22:21:12 -05:00
William Pitcock bbe6dcc088 pkg: make pkgconf_scan_all() API more flexible to allow it to scan until it finds a qualifying pkgconf_pkg_t 2016-08-27 09:48:53 -05:00
William Pitcock 5ba46130d2 pkg: add anchor Provides entry once the .pc file is parsed, instead of faking it in the tool 2016-08-26 23:43:36 -05:00
William Pitcock da2f49f7b0 main: since --print-provides is implemented fully now, document it 2016-08-26 12:22:11 -05:00
William Pitcock f9101659bc pkg: add support for parsing Provides: entries 2016-08-26 12:14:32 -05:00
William Pitcock 12a0eb124c main: assume --modversion insted of --version if other flags or module names are provided 2016-08-25 23:45:33 -05:00
William Pitcock 4a1b88fcc4 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.
2016-08-24 11:04:12 -05:00
William Pitcock 41e0a65870 audit: add actual audit log I/O functions (ref #88) 2016-07-10 15:03:58 -05:00
William Pitcock 8ccc10863c main: add a stub for PKG_CONFIG_LOG (ref #88) 2016-07-10 14:53:33 -05:00
William Pitcock a7893e7572 update copyright to 2016 2016-05-19 18:21:49 -05:00
William Pitcock 7e6fa325eb main: support undocumented PKG_CONFIG_SYSTEM_INCLUDE_PATH and PKG_CONFIG_SYSTEM_LIBRARY_PATH environment variables. (closes #86) 2016-01-21 11:16:39 -05:00
Baptiste Daroussin cb83dab4ad More casting for ctype 2015-12-02 14:59:51 +01:00
William Pitcock b904864619 libpkgconf: do something better than error_msgout for error logging 2015-09-06 12:01:12 -05:00
William Pitcock 06a45f1b62 libpkgconf: clean up PKG_ERRF and PKGF_ defines 2015-09-06 11:45:00 -05:00
William Pitcock 50cf8db086 libpkgconf: clean up PKG_MODULE_SEPARATOR() and PKG_OPERATOR_CHAR() macros 2015-09-06 11:39:55 -05:00
William Pitcock ec5cc3f068 libpkgconf: PKG_PROPF namespace becomes PKGCONF_PKG_PROPF. 2015-09-06 11:37:20 -05:00
William Pitcock dd86ba43dd libpkgconf: PKG_ comparators become PKGCONF_CMP_ namespace 2015-09-06 11:34:09 -05:00
William Pitcock 571d9c756c libpkgconf: PKG_BUFSIZE becomes PKGCONF_BUFSIZE, remove unused PKG_MIN/PKG_MAX. 2015-09-06 11:29:56 -05:00
William Pitcock ca1b02659a libpkgconf: untangle remaining pkg_ functions related to pkgconf_pkg_t 2015-09-06 11:20:48 -05:00
William Pitcock 0d145ef85a libpkgconf: pkg_compare_version() becomes pkgconf_compare_version(), same for pkg_scan_all() 2015-09-06 11:00:46 -05:00
William Pitcock 66247fae5f libpkgconf: pkg_comparator_t becomes pkgconf_pkg_comparator_t (and so on) 2015-09-06 10:57:26 -05:00
William Pitcock 4410eb2c78 libpkgconf: pkg_queue becomes pkgconf_queue 2015-09-06 10:51:34 -05:00
William Pitcock 342950a5e4 libpkgconf: pkg_cache becomes pkgconf_cache 2015-09-06 10:50:23 -05:00
William Pitcock 61d5fc72c8 libpkgconf: move pkg_fragment to pkgconf_fragment namespace 2015-09-06 10:44:10 -05:00
William Pitcock 4c71b25d5d libpkgconf: move pkg_tuple to pkgconf_tuple namespace 2015-09-06 10:41:40 -05:00
William Pitcock 1ee18d0e69 libpkgconf: move pkg_dependency to pkgconf_dependency namespace 2015-09-06 10:38:30 -05:00
William Pitcock cc2dcc1f5d libpkgconf: move pkg_node and pkg_list to pkgconf_node and pkgconf_list namespaces 2015-09-06 10:31:21 -05:00
William Pitcock a706b3dccc initial libtoolization for libpkgconf 2015-09-06 09:35:08 -05:00
William Pitcock 2bd655985a main: remove remaining parts of the pkg-config compatibility layer 2015-09-03 03:29:35 -05:00
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