Commit Graph

448 Commits (1554c3577fee79b7efa04c618605e337d5876c0a)

Author SHA1 Message Date
William Pitcock 1554c3577f pkg: rework PKG_CONFIG_PATH handling code.
As a side effect, the dependency resolver now understands that it should
check in the parent directory as well for dependencies if given a literal
path to a .pc file.  (pkg-config 0.28 does not do this, it should.)
2013-03-15 18:11:43 -05:00
William Pitcock 48c6e4c383 pkg: improve pkg scandir target building 2013-03-15 17:55:44 -05:00
William Pitcock 874bd58ef0 pkg: clarify pkg not found error message 2013-03-15 17:40:25 -05:00
William Pitcock 8fbecafdae fragment: special-case `-framework` handling and implement merge-back strategy for -F flags (closes #47) 2013-03-15 17:29:07 -05:00
William Pitcock 4381d4609b tests: fix multi-recursion -framework test (ref #47) 2013-03-15 17:27:22 -05:00
William Pitcock 7ecf1e278d tests: add tests for bug #47 2013-03-15 17:12:06 -05:00
William Pitcock c04a64352f cache: handle pkg being NULL on pkg_cache_add()/pkg_cache_remove() 2013-03-15 16:50:30 -05:00
William Pitcock 1a49758792 buildsys: add support for building a profiled executable 2013-03-01 12:17:16 -06: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
William Pitcock b475859cfa cache: use new pkg_list_t framework 2013-03-01 10:14:20 -06:00
William Pitcock 6c2de79349 pkg: add generic linked list iterator code 2013-03-01 10:09:22 -06:00
William Pitcock dd53cd57f4 pkg: implement refcounting and a deeper cache 2013-02-25 23:29:57 -06:00
William Pitcock e3d8475c36 pkg: readd cached sentinel 2013-02-25 22:47:32 -06:00
William Pitcock c9831c1ed0 pkg: use pkg_cache APIs. 2013-02-25 22:40:30 -06:00
William Pitcock 9439b02936 cache: add high-level cache API 2013-02-25 17:36:09 -06:00
William Pitcock de29503013 pkgconf 0.8.12. 2013-02-25 09:03:50 -06:00
William Pitcock 7d3f234cba pkg: pkg_report_graph_error() should be static 2013-02-25 08:56:57 -06:00
William Pitcock fd9f511afa testsuite: add --exists test for nonexistant package 2013-02-25 08:50:11 -06:00
William Pitcock a3d25fe930 pkg: ensure we actually have a package object before caching it 2013-02-25 08:47:37 -06:00
William Pitcock c0f0cb659c pkgconf 0.8.11 2013-02-24 09:19:59 -06:00
William Pitcock a40c5bd59e testsuite: check that unrecognized options fail 2013-02-24 09:08:06 -06:00
William Pitcock 77c5b82aad main: use support for munging by $(pc_sysrootdir) and remove the old sysroot hack 2013-02-24 08:59:07 -06:00
William Pitcock 01c2d1d44c pkg: add support for munging tuples based on $(pc_sysrootdir) if requested 2013-02-24 08:58:35 -06:00
William Pitcock bea204fa63 testsuite: add additional tests for PKG_CONFIG_SYSROOT_DIR 2013-02-24 08:57:53 -06:00
William Pitcock 5dab626274 pkgconf 0.8.10. 2013-02-24 08:23:21 -06:00
William Pitcock 5344016caa buildsys: use rm -f when cleaning 2013-02-24 08:22:35 -06:00
William Pitcock b4eb42f3c3 Update copyrights on modified files to 2013. 2013-02-24 08:21:36 -06:00
William Pitcock 910c6e00e9 main: add option to disable cache code 2013-02-24 08:20:35 -06:00
William Pitcock 14f3e1edd2 pkg: implement a cache for packages and use it to break circular dependencies 2013-02-24 08:14:23 -06:00
William Pitcock d4cef5cad5 testsuite: update for pkg-config version 0.28 compatibility 2013-02-24 08:13:19 -06:00
William Pitcock 14b88e3bcb pkg: bump PKG_PKGCONFIG_VERSION_EQUIV to 0.28 2013-02-24 07:45:20 -06:00
William Pitcock e178f6d620 dependency: use pkg_comparator_lookup_by_name() instead of having special lexing rules for comparator tokens
This allows us to add new tokens in the future by adding them to one place.
2013-02-24 07:41:18 -06:00
William Pitcock 6e4573367d pkg: add pkg_comparator_lookup_by_name(). 2013-02-24 07:37:20 -06:00
William Pitcock ef1f1a3a14 pkg: rework pkg_verify_dependency() to treat dependencies as bytecode 2013-02-24 07:32:26 -06:00
William Pitcock ac2f99f6af pkg: refactor pkg_get_comparator(). 2013-02-24 07:20:50 -06:00
William Pitcock 9dc3cbc784 testsuite: add a test for tilde quoting 2013-02-24 07:04:15 -06:00
William Pitcock 2936927008 testsuite: add test for static archives in Libs: 2013-02-24 06:58:51 -06:00
William Pitcock a2323ee923 buildsys: clean up gcov stuff 2013-02-24 06:53:27 -06:00
David Michael f8a2519d1b Include PKG_CHECK_VAR macro for reading variables in .pc files
Freedesktop #48098 (https://bugs.freedesktop.org/show_bug.cgi?id=48098)
2013-02-24 06:47:48 -06:00
William Pitcock 7b322d73e8 main: limit evaluation graph depth to 2000 nodes
This allows us to break out of situations where circular dependencies may arise.
2013-02-24 06:42:32 -06:00
William Pitcock b1949e7706 testsuite: add tests for circular dependencies 2013-02-24 06:42:03 -06:00
William Pitcock beda1fffdd testsuite: add pkg-config files creating an intentional circular dependency 2013-02-24 06:29:53 -06:00
William Pitcock 44e2ce79e6 buildsys: add support for profiling the testsuite with gcov 2013-02-24 06:26:56 -06:00
William Pitcock 804b3ef8dc Merge pull request #43 from jviguera/master
Fix 'system-includedir' help string in configure.ac
2012-09-27 06:49:19 -07:00
Javier Viguera e37c32ab37 configure.ac: fix system-includedir help string
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
2012-09-26 11:29:55 +02:00
William Pitcock 5500fdb4b3 pkgconf 0.8.9. 2012-09-14 16:17:29 -05:00