William Pitcock
8a9971ec1f
main: finish --errors-to-stdout support
2012-07-01 21:21:31 -05:00
William Pitcock
2d2ae06809
main: emulate --errors-to-stdout
2012-06-30 16:51:31 -05:00
William Pitcock
fef7558c92
main: add --ignore-conflicts program option (issue #13 )
2012-05-11 20:54:48 -05:00
William Pitcock
27c0779187
main: use pkg_libs().
2012-05-11 20:18:12 -05:00
William Pitcock
b8e538ecea
main: use pkg_cflags() instead of custom code (issue #11 )
2012-05-11 20:13:47 -05:00
William Pitcock
40402298ef
main: use PKGF_MERGE_PRIVATE_FRAGMENTS
2012-05-11 20:07:45 -05:00
William Pitcock
ee2df66a56
main: update traverse callback prototypes
2012-05-11 20:02:23 -05:00
William Pitcock
56fbf25c8a
Move all portability gunk into stdinc.h. (Issue #18 )
2012-05-11 13:47:20 -05:00
William Pitcock
2aaa1ce0df
main: implement support for PKG_CONFIG_SYSROOT_DIR (issue #5 )
2012-05-07 03:45:24 -05:00
William Pitcock
1b845b4310
main: implement support for PKG_CONFIG_TOP_BUILD_DIR (issue #6 )
2012-05-07 03:33:00 -05:00
William Pitcock
a5347c8b4f
main: add --exact-version and --max-version to usage()
2012-05-07 03:27:55 -05:00
William Pitcock
d5ddeb401b
main: add --max-version and --exact version (issue #8 )
2012-05-07 03:26:17 -05:00
William Pitcock
7ae5ccd177
main: implement --define-variable
2012-05-06 23:32:08 -05:00
William Pitcock
07a414677b
main: use PKGF_SKIP_ROOT_VIRTUAL when looking for variables
2012-05-06 23:30:02 -05:00
William Pitcock
0056ba63dc
tuple: add global tuple support (issue #5 , issue #6 , issue #7 )
2012-05-06 23:10:41 -05:00
William Pitcock
4eb08d7c1f
pkg: clean up foreach_list_entry* macros (issue #10 )
2012-05-06 22:55:00 -05:00
William Pitcock
d07e41c3f9
pkg: rename parse_deplist to pkg_dependency_parse
2012-05-06 22:23:05 -05:00
William Pitcock
cc32bbd47c
main: use error codes
2012-05-06 21:42:33 -05:00
William Pitcock
601341fb8f
main: pkg_queue_walk(): cleanups
2012-05-06 21:31:20 -05:00
William Pitcock
cb23f16a85
main: plug leak with --uninstalled
2012-05-06 21:22:40 -05:00
William Pitcock
1b1e8dcd1a
main: free mergemaster'd fragment lists
2012-05-06 21:16:32 -05:00
William Pitcock
36269f760b
main: don't just exit on --variable
2012-05-06 21:15:30 -05:00
William Pitcock
c69d6c62eb
main: free pkg_queue_t entries once they are committed to the depgraph
2012-05-06 21:12:16 -05:00
William Pitcock
a75baf5a7b
main: make 'world' package virtual
2012-05-06 21:08:47 -05:00
William Pitcock
ded3ce7aff
main: clean up variable printer now that we have pkg_tuple_parse
2012-05-06 20:13:54 -05:00
William Pitcock
30fe1fae39
parse: replace strdup_parse with pkg_tuple_parse().
2012-05-06 20:12:11 -05:00
William Pitcock
4ea25d56f4
parse: split out tuple API and make public
2012-05-06 20:06:48 -05:00
William Pitcock
1752b75ac9
main: fix typo
2012-05-06 19:57:56 -05:00
William Pitcock
69c5925ba2
main: add --keep-system-cflags and --keep-system-libs (and also pkg-config env vars for this)
2012-05-06 19:56:19 -05:00
William Pitcock
857d36b642
main: add --no-uninstalled program option and PKG_CONFIG_DISABLE_UNINSTALLED env variable support
2012-05-06 19:49:50 -05:00
William Pitcock
498debd85a
main: implement --uninstalled
2012-05-05 23:10:05 -05:00
William Pitcock
7352f14025
main: can't iterate backwards up deptree so need other hack for this
2012-05-05 22:00:32 -05:00
William Pitcock
b17771d3f1
main: use our mergemaster 'world' package as a virtual 'pkg-config' package too
2012-05-05 21:53:47 -05:00
William Pitcock
58b525d2f8
main: move PKGCONFIG_VERSION_EQUIV to pkg.h
2012-05-05 21:51:25 -05:00
William Pitcock
2ba296dc96
main: default to unlimited traversal now that we do mergemaster
2012-05-05 21:46:20 -05:00
William Pitcock
793de6a06c
main: handle pkg-config 'package' '>=' 'version' in 3 fields.
2012-05-05 21:39:37 -05:00
William Pitcock
4adb0b5dc6
pkg: clean up pkg_traverse() logic
2012-05-05 20:52:17 -05:00
William Pitcock
faba0d8074
main: fix --modversion call for pkg_traverse().
2012-05-05 20:47:13 -05:00
William Pitcock
18e051e760
main: pkg-config only allows printing variables from the first package, so exit once we've done that
2012-05-05 22:09:33 +00:00
William Pitcock
a9a2ba3da4
main: don't put any trailing space after printed variables
2012-05-05 22:08:06 +00:00
William Pitcock
542e4e6f89
main: print_variable(): use strdup_parse().
2012-05-05 21:52:18 +00:00
William Pitcock
8ff4ae5b16
main: traverse up to 3 levels for variable search
2012-05-05 21:51:59 +00:00
William Pitcock
a4a572f608
main: separate CFLAGS and LIBS collection and printing steps into two phases.
2012-05-03 20:37:24 +00:00
William Pitcock
bd1bfa6228
main: add support for --libs-only-L, --libs-only-l and --libs-only-other.
2012-05-03 20:21:57 +00:00
William Pitcock
bd4044a9cf
main: add support for --cflags-only-I and --cflags-only-other
2012-05-03 19:52:36 +00:00
William Pitcock
a290467261
main: filter out system dirs
2012-05-03 19:44:44 +00:00
William Pitcock
b0521ec9d8
main: implement support for printing fragment lists
2012-05-03 19:36:47 +00:00
William Pitcock
b26da6815c
main: --static shouldn't change maximum_traverse_depth
2012-05-03 18:05:19 +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
460a0afb04
main: explicitly tell the compiler we don't want to use the userdata pointers in our callback
2012-05-03 17:21:41 +00:00