Commit Graph

959 Commits (36551cca8349349718fc17e475bc2fbbbc7260f5)

Author SHA1 Message Date
Baptiste Daroussin 24207bd1d6 Do not overwrite eflags with walking though a long list of packages 2013-03-17 23:45:51 +01:00
Baptiste Daroussin 1178ab257d Add a test case about a regression 2013-03-17 23:15:33 +01:00
William Pitcock c17ab79a23 pkgconf 0.9.1 2013-03-15 20:19:13 -05:00
William Pitcock 994f1eb769 tests: fix last test 2013-03-15 20:18:45 -05:00
Baptiste Daroussin ce1fd58aa6 Add a test case for pkgconf --exists --print-errors "mjpegtools > 1.6.0 mjpegtools < 1.8.0" 2013-03-16 02:11:30 +01:00
William Pitcock 18153786a2 pkg: list all depgraph breaks (this is technically different than pkg-config, but nobody reads stderr) 2013-03-15 20:09:54 -05:00
William Pitcock f9d93a1f81 main: --simulate: enhancements 2013-03-15 19:59:20 -05:00
William Pitcock 74c33b9f61 dependency: reset parser state on new package atom
resolves minor issue seen here: http://lists.freebsd.org/pipermail/freebsd-ports/2013-March/082063.html
2013-03-15 19:44:11 -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 129030c282 pkgconf 0.9. 2013-03-15 18:24:03 -05:00
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