Commit Graph

181 Commits (d304d9cb2e3ddd1aada1eaa6211b1b41015a246a)

Author SHA1 Message Date
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
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