main.c


Log

Author Commit Date CI Message
William Pitcock 789da4cf 2017-12-31T10:41:32 bump copyrights to 2018
William Pitcock e0bf4009 2017-12-12T00:21:21 libpkgconf: pkg: rename pkgconf_pkg_t.requires to pkgconf_pkg_t.required (closes #154) C++20 makes requires a keyword, so we need to not use it in headers.
William Pitcock 1c9880a0 2017-12-11T18:23:14 main: fix refcount violation exposed by incremental dependency solver
William Pitcock 0b09c111 2017-12-07T20:07:30 main: implement a MSVC renderer (only some fragments supported) (closes #161)
William Pitcock 19d91e90 2017-12-07T19:13:35 libpkgconf: fragment: allow for overriding the default fragment rendering behaviour
William Pitcock f1e50149 2017-12-07T12:31:45 main: use single-quotes for --env output
William Pitcock 7ab4dffa 2017-12-06T17:45:17 main: implement --env (closes #159)
William Pitcock b6a56c87 2017-12-02T21:14:09 main: do not evaluate module paths for modules that are not really on disk (closes #158)
William Pitcock b52d3819 2017-11-28T13:41:35 main: add --modversion to --help output (closes #157)
William Pitcock e9fd43ca 2017-09-17T23:38:25 libpkgconf: clean up header includes (closes #137)
William Pitcock ed63a31b 2017-09-13T15:01:49 main: free fragment lists in apply_cflags/apply_libs() in all cases (closes #131)
Jussi Pakkanen 40fd9950 2017-06-19T20:03:00 Experiment to build with Meson (#119) * Initial Meson build definitions. * Install man page and headers.
Dan Kegel 0ba391bc 2017-06-05T17:41:13 Miscelaneous tweaks for Visual C in Cygwin compatibility
William Pitcock 30c35b70 2017-04-01T18:30:12 main: re-enable --variable pkg-config bug emulation because downstreams take advantage of it
William Pitcock 2f4a1eb4 2017-03-27T00:56:23 main: implement a different solution for dependency generators, too many broken configure scripts still :/
William Pitcock be184cba 2017-03-24T00:59:26 main: further fix up handling of single-package query flags
William Pitcock 541de8bd 2017-03-24T00:05:42 main: handle query selectors that are only usable for single packages correctly --print-requires, --print-requires-private, --print-provides, --modversion, --print-variable and --print-variables are inquiring information about a package, not about a dependency graph. in such cases, we should not try to solve the problem set to determine if it is satisfiable, as any invocation of these commands are trying to inquire about a specific package. instead, just solve the problem set for a single level (so we can load the package itself) which is far more useful behaviour when scanning .pc files for their dependency metadata. as an aside, this allows us to successfully scan .pc files which are otherwise unsatisfiable.
William Pitcock ced4ec00 2017-02-27T10:09:16 main: add some very primitive --print-errors support for --atleast-version and friends (closes #115)
William Pitcock 81011ba5 2017-02-27T09:54:02 main: implement --short-errors (#115)
William Pitcock 794443a9 2017-02-25T16:04:55 dependency: break API to add tracepoints to dependency list building
William Pitcock 44b676b7 2017-02-25T15:33:34 main: chase API changes
William Pitcock 2dcd7496 2017-02-07T10:11:12 main: remove whitespace added for compatibility with older pkg-config (closes #113)
William Pitcock 9fc170bd 2017-02-04T19:49:20 main: add early tracing support via PKG_CONFIG_EARLY_TRACE environment variable
William Pitcock 276e36fe 2017-02-04T19:09:31 main: install a trace handler if --debug is specified
William Pitcock c1d7f1a6 2017-02-04T19:06:58 main: install a warning handler if --validate is requested
William Pitcock 647c0255 2017-02-03T13:17:21 libpkgconf: add PKGCONF_PKG_PKGF_DONT_RELOCATE_PATHS (#110) main: add PKG_CONFIG_DONT_RELOCATE_PATHS environment variable and --dont-relocate-paths option to disable path relocation
William Pitcock da34d940 2017-01-26T13:30:41 main: print warnings/errors when using --validate
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