Commit Graph

123 Commits (48c6e4c383c0f2aad1dcdac83ed69acdeaaff420)

Author SHA1 Message Date
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 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 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 7d3f234cba pkg: pkg_report_graph_error() should be static 2013-02-25 08:56:57 -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 01c2d1d44c pkg: add support for munging tuples based on $(pc_sysrootdir) if requested 2013-02-24 08:58:35 -06:00
William Pitcock b4eb42f3c3 Update copyrights on modified files to 2013. 2013-02-24 08:21:36 -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 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 3867a66434 pkg: pkg_get_parent_dir() should fall back to '/' directory separator if necessary
Some environments such as the MingW-MSYS shell environment use both \ and / as directory
separators, thusly we should fall back to the POSIX directory separator.  Both directory
separators are fully supported by Windows.
2012-09-14 15:42:06 -05:00
Bryan Drewery 25ebc22d64 Fix crash when specified filename has no path separators 2012-08-25 16:34:00 -05:00
Baptiste Daroussin 4eedb041ed if no cflags or libs are defined in .pc just return 0 and output nothing 2012-08-20 22:47:10 +02:00
Baptiste Daroussin 38abe86a17 Remove unneeded strdup(3) 2012-08-14 16:16:06 +02:00
Baptiste Daroussin 666019cfd0 Nuke use of basename/dirname where a simple strrchr can do the trick 2012-08-14 16:04:56 +02:00
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