William Pitcock
d94ab7555d
fragment: add pkg_fragment_copy().
2012-05-03 20:31:33 +00:00
William Pitcock
c1e5ab046b
fragment: add pkg_fragment_delete().
2012-05-03 20:27:19 +00:00
William Pitcock
de5e1c6e23
split out fragment code from parse.c
2012-05-03 20:22:19 +00:00
William Pitcock
b88279d40d
pkg: parse CFLAGS/LIBS/LIBS.private into fragment lists.
2012-05-03 19:25:59 +00:00
William Pitcock
82420d0c5c
pkg: add support for fragment lists.
2012-05-03 19:25:33 +00:00
William Pitcock
c74b749c65
Add code for spliting strings into argc/argv using shell quoting rules.
2012-05-03 18:59:14 +00:00
William Pitcock
91ec341a92
pkg: pkg_verify_dependency(): add return error flags pointer.
...
presently, three error flags are defined:
PKG_ERRF_OK: everything went fine (no error)
PKG_ERRF_PACKAGE_NOT_FOUND: a graph node couldn't be verified because there was no
database entry for it
PKG_ERRF_PACKAGE_VER_MISMATCH: a graph node couldn't be verified because the entry
in the database did not match versioning constraints
2012-05-03 17:42:04 +00:00
William Pitcock
3f758a8bae
pkg: pkg_verify_graph() should also accept resolver flags
2012-05-02 23:29:35 +00:00
William Pitcock
e59b9864ea
pkg: implement resolver-side support for some pkg-config clone's --env-only option
2012-05-02 23:16:32 +00:00
William Pitcock
187b4e538f
pkg: add resolver flags to pkg_find() and pkg_verify_dependency().
2012-05-02 23:14:53 +00:00
William Pitcock
bcd8a9f9d6
parse: track LIBS.private
2012-05-02 21:53:02 +00:00
William Pitcock
5ea52d4cae
pkg: add flags option to pkg_traverse() to optionally control what the depgraph traversal code does
2012-05-02 21:44:58 +00:00
William Pitcock
bea3c202de
Add requires_private to pkg_t.
2012-05-02 21:37:32 +00:00
William Pitcock
df45d850b7
Add MIN/MAX macros if not already present.
2012-04-30 18:07:51 +00:00
Mike Frysinger
4b5d0eaaef
include ctype.h for isspace/etc...
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-30 05:24:05 +00:00
Alyx
d0639b3353
Make pkg_find() follow the PKG_CONFIG_PATH environmental variable, if available.
2012-01-15 19:03:54 -06:00
William Pitcock
b0c16941ce
pkg: add pkg_t.id field
2011-07-26 20:37:01 -05:00
William Pitcock
648c39cf8e
pkg: add pkg_get_comparator()
2011-07-26 19:59:46 -05:00
William Pitcock
045257bebe
pkg: make pkg_verify_dependency() public
2011-07-26 19:26:14 -05:00
William Pitcock
7e26842094
pkg: add pkg_compare_version()
2011-07-26 11:56:59 -05:00
William Pitcock
8100eb84f0
pkg: add pkg_verify_graph() to verify the depgraph is satisfiable
2011-07-25 17:44:05 -05:00
William Pitcock
3e69f4c7a6
parse: add pkg_dependency_append() and fix world dependency merging
2011-07-25 16:53:12 -05:00
William Pitcock
9f0521ec90
main: fix up depth traversal nonsense, set to depth 2 for pkg-config mode
2011-07-25 01:48:40 -05:00
William Pitcock
05d596b9bc
pkg: implement maximum depth for pkg_traverse()
2011-07-25 01:22:04 -05:00
William Pitcock
85bb0441d4
parse: export parse_deplist to public API
2011-07-25 00:38:23 -05:00
William Pitcock
b44ce20d29
pkg: add pkg_traverse() to walk the dependency graph
2011-07-24 23:39:15 -05:00
William Pitcock
f7e81402ce
parse: export tuple_find() to private API
2011-07-24 23:29:33 -05:00
William Pitcock
3f9cedf532
pkgconf stub: walk the dependency tree
2011-07-24 23:20:22 -05:00
William Pitcock
61c246d27e
Initial commit.
2011-07-24 21:03:17 -05:00