Baptiste Daroussin
9a26337507
return 1 and do not output anything a requirement is missing
2012-08-12 12:33:37 +02:00
William Pitcock
390ff275c5
pkg: ensure libs.private merging is always after libs
2012-08-08 11:17:08 -05:00
William Pitcock
84ea074fbe
pkg: allow pkg_cflags() and pkg_libs() utility functions to have a user-provided list pointer.
...
Also chase this change in the frontend.
2012-08-08 11:09:37 -05:00
William Pitcock
953fb66ff3
pkg: fix backwards root-leaf traversal order.
...
This bug causes occasional problems when calculating inter-module dependencies in complex
dependency graphs, such as ffmpeg when cross-compiled.
Reported-by: Alexander Kojevnikov <alexander@kojevnikov.com>
Closes: Issue #33
2012-08-08 10:23:23 -05:00
William Pitcock
22d7625149
pkg: fix tilde operator
2012-07-30 05:03:55 -05:00
William Pitcock
004adad048
pkg: improve conflicts handling
2012-07-30 03:16:29 -05:00
William Pitcock
573cf8d21c
pkg: fix pkg_t.id initialization
2012-07-27 01:21:16 -05:00
William Pitcock
79ca134f7f
pkg: call stat(2) in scan function
2012-07-27 01:21:16 -05:00
William Pitcock
0ac7978ee2
pkg: bug fixes
2012-07-27 01:21:16 -05:00
William Pitcock
6f5fbb80d4
pkg: add pkg_scan() and pkg_scan_all() functions.
2012-07-27 01:21:16 -05:00
William Pitcock
0a5cb4c4ec
everything: update copyright to note multiple authors
2012-07-25 21:09:31 -05:00
William Pitcock
3388277b9b
pkg: implement dpkg-style version comparison rules
2012-07-23 21:07:57 -05:00
William Pitcock
111046f100
pkg: add support for $(pc_path) variable for extracting PKG_DEFAULT_PATH
2012-07-22 23:16:39 -05:00
William Pitcock
3d7455f82b
pkg: add description and url fields to pkg-config virtual
2012-07-22 23:09:10 -05:00
William Pitcock
29ea7ce460
pkg: add pkg_get_parent_dir() and define $(pcfiledir).
2012-07-21 14:49:55 -05:00
William Pitcock
b0cdca488e
everything: do not shadow POSIX BUFSIZ definition
2012-07-21 14:38:13 -05:00
William Pitcock
1975a2981e
everything: more friendly warranty disclaimer
2012-07-20 14:29:58 -05:00
William Pitcock
3d0f67a7b3
pkg: use relative paths on windows (issue #17 )
2012-07-02 03:41:08 +00:00
William Pitcock
8a9971ec1f
main: finish --errors-to-stdout support
2012-07-01 21:21:31 -05:00
William Pitcock
524133cd91
pkg: add support for relative path finding on windows (issue #17 )
2012-05-12 02:26:55 -05:00
William Pitcock
6519f6abdc
pkg: add get_pkgconfig_path() for separating out the fallback path logic
2012-05-12 02:21:11 -05:00
William Pitcock
52dee220ee
pkg: plug memory leak in conflicts code
2012-05-11 21:20:00 -05:00
William Pitcock
db9f626790
pkg: if pkg_traverse() fails, abort walking the graph.
2012-05-11 21:01:42 -05:00
William Pitcock
298a37868c
pkg: return PKG_ERRF_PACKAGE_CONFLICT only if a conflict has been formally verified
2012-05-11 21:00:01 -05:00
William Pitcock
9c335f161a
pkg: when walking a list, get eflags from pkg_traverse() call
2012-05-11 20:59:35 -05:00
William Pitcock
6c1ace0aa7
pkg: add conflicts graph node verification (issue #13 )
2012-05-11 20:51:13 -05:00
William Pitcock
2ecb181fe6
pkg: add pkg_libs() for calculating the mergemaster set of linker flags (issue #11 )
2012-05-11 20:16:22 -05:00
William Pitcock
e6cf8b4021
pkg: add pkg_cflags() for calculating a mergemastered list of cflag fragments for a problem set (issue #11 )
2012-05-11 20:13:03 -05:00
William Pitcock
559ae0951d
pkg: pass PKGF_* flags to traverse funcs
2012-05-11 19:58:34 -05:00
William Pitcock
acf2ee260b
pkg: use typename enforcement on pkg_traverse()
2012-05-11 19:56:38 -05:00
William Pitcock
bb41d143cc
pkg: get rid of PKG_LOCAL_COPY() since it was only used in one place
2012-05-11 13:59:18 -05:00
William Pitcock
56fbf25c8a
Move all portability gunk into stdinc.h. (Issue #18 )
2012-05-11 13:47:20 -05:00
William Pitcock
4b193018a4
pkg: clean up pkg_find() by adding pkg_try_specific_path(). (issue #16 )
2012-05-07 03:57:28 -05:00
Michał Górny
c203beb902
Support getting PKG_CONFIG_PATH from win32 registry.
2012-05-07 10:23:46 +02:00
William Pitcock
f1bd223f7f
pkg: disable PKGF_SKIP_ROOT_VIRTUAL when recursing
2012-05-06 23:28:42 -05:00
William Pitcock
f663f7922c
pkg: add PKGF_SKIP_ROOT_VIRTUAL for some queries like --variable
2012-05-06 23:26:21 -05:00
William Pitcock
688c07890a
parse: remove remaining function (pkg_t constructor) to pkg.c
2012-05-06 23:00:06 -05:00
William Pitcock
4eb08d7c1f
pkg: clean up foreach_list_entry* macros (issue #10 )
2012-05-06 22:55:00 -05:00
William Pitcock
9eea62fbc6
pkg: LOCAL_COPY() becomes PKG_LOCAL_COPY().
2012-05-06 22:52:05 -05:00
William Pitcock
a961a523f7
pkg: cleanups
2012-05-06 22:38:44 -05:00
William Pitcock
db6d0e2309
pkg: parse_file is now pkg_new_from_file
2012-05-06 22:24:36 -05:00
William Pitcock
4f50dad147
pkg: provide error return codes for pkg_traverse() and pkg_verify_graph().
2012-05-06 21:42:15 -05:00
William Pitcock
6646e99a37
pkg: pkg_report_graph_error(): free pkg when exiting
2012-05-06 21:30:35 -05:00
William Pitcock
5122d5eecb
pkg: do not allocate an id for a virtual package
2012-05-06 21:30:14 -05:00
William Pitcock
9d2bd0b66d
pkg: plug memory leaks
2012-05-06 21:09:26 -05:00
William Pitcock
4d027a4366
pkg: fix out-of-boundary write caused by realloc() semantics
2012-05-06 20:59:03 -05:00
William Pitcock
29ca5b7eee
pkg: free packages constructed while walking the dependency graph
2012-05-06 20:39:26 -05:00
William Pitcock
d99f3db88e
pkg: make pkg-config builtin package "virtual"
2012-05-06 20:39:10 -05:00
William Pitcock
4172dc545f
pkg: don't free builtin (virtual) packages
2012-05-06 20:38:48 -05:00
William Pitcock
3eb16dca0f
pkg: add pkg_free()
2012-05-06 20:30:50 -05:00