William Pitcock
f334d6d7d7
main: use global fragment lists for --cflags and --libs
2012-08-08 11:07:54 -05:00
William Pitcock
453224c52c
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:04:07 -05:00
William Pitcock
1da84f505d
main: add --simulate (related to issue #33 )
2012-08-08 10:22:51 -05:00
William Pitcock
5678fe5785
main: add whitespace control to --variable output (fixes mozilla libxul stuff)
2012-07-30 05:40:16 -05:00
William Pitcock
9797cc1b3a
main: print_variable() should add whitespace
2012-07-30 05:09:10 -05:00
Baptiste Daroussin
cfb3d8c3d0
pkgconf --variable needs a \n
2012-07-30 05:01:50 -05:00
William Pitcock
1de7d403f1
Revert "main: --exists should search Requires.private."
...
This reverts commit 980644230d
.
2012-07-30 03:08:16 -05:00
William Pitcock
980644230d
main: --exists should search Requires.private.
2012-07-30 03:07:14 -05:00
William Pitcock
fdbd97b23a
main: add logic to make --print-errors actually useful
2012-07-30 02:38:22 -05:00
William Pitcock
f3184aee50
main: fix regression caused by moving to bitfield where --cflags or --libs wouldn't cause a newline
2012-07-30 02:06:54 -05:00
William Pitcock
7865e886c9
main: usage() should list --about
2012-07-29 11:41:49 -05:00
Baptiste Daroussin
4d9d2dff52
Convert all the int want_* to a single bitmap
2012-07-29 11:41:49 -05:00
William Pitcock
74f6f7b858
pkg: add pkg_queue_validate() to compile and validate a pkg_queue_t.
2012-07-29 05:36:21 -05:00
William Pitcock
7719a32491
main: rework to use pkg_queue_apply().
...
Presently 3 regressions.
2012-07-29 05:28:01 -05:00
William Pitcock
ce17c7a9e6
main: remove redundant checks made obsolete by depgraph compilation
2012-07-29 04:21:36 -05:00
William Pitcock
f6fd6eff7e
main: use pkg_queue_compile() and pkg_queue_free().
2012-07-29 04:05:53 -05:00
William Pitcock
da98efb366
queue: new file
2012-07-29 03:50:17 -05:00
William Pitcock
000f97b97a
main: remove several symbols from BSS (they are only needed by main()).
2012-07-29 03:30:36 -05:00
William Pitcock
79e9b82fe0
main: move our actual version text to --about, make --version print pkg-config API version
...
This improves compatibility with broken packages, but really, scripts should depend on:
- --atleast-pkgconfig-version
- --modversion pkg-config
Anything else is just broken, but oh well.
2012-07-29 03:20:24 -05:00
William Pitcock
f5267dbf20
main: --list-all shouldn't list 'uninstalled' packages
2012-07-26 00:13:02 -05:00
William Pitcock
bf674d4eff
main: add frontend implementation of --list-all
2012-07-25 23:55:53 -05:00
William Pitcock
0a5cb4c4ec
everything: update copyright to note multiple authors
2012-07-25 21:09:31 -05:00
Baptiste Daroussin
7b10816cdb
Ordering cflags flags
2012-07-26 00:32:35 +02:00
Baptiste Daroussin
cab2620408
Ordering libs flags
2012-07-26 00:26:04 +02:00
Baptiste Daroussin
83487e78cb
skip empty packages arguments
...
(gobject-introspection scanner can pass empty arguments to pkgconf)
This improves compatibility with pkg-config
2012-07-25 13:51:19 +02:00
Baptiste Daroussin
abcea07a1c
add --with-system-includedir and --with-system-libdir
...
By default they are defined to --includedir and --libdir
2012-07-24 22:24:52 +02:00
William Pitcock
da7e3de991
main: --silence-errors should be opt-in only.
2012-07-23 21:07:19 -05:00
William Pitcock
b0cdca488e
everything: do not shadow POSIX BUFSIZ definition
2012-07-21 14:38:13 -05:00
William Pitcock
f4d84620a1
main: add support for --silence-errors by redirecting stderr to /dev/null
2012-07-21 14:33:07 -05:00
William Pitcock
d730ec8a64
main: bail if the entire depgraph cannot be built
2012-07-20 20:04:11 -05:00
William Pitcock
e5efad7df5
main: return EXIT_FAILURE when argument parsing fails
2012-07-20 17:19:43 -05:00
William Pitcock
43a2c7880d
main: use pkg_getopt_long_only().
2012-07-20 17:12:06 -05:00
William Pitcock
3035b0ba6b
main: add support for HAVE_STRICT_MODE compiler define (and define it in the build system) (issue #25 )
2012-07-20 16:29:57 -05:00
William Pitcock
c928e7e429
main: clean up license text in --version
2012-07-20 14:31:58 -05:00
William Pitcock
1975a2981e
everything: more friendly warranty disclaimer
2012-07-20 14:29:58 -05:00
William Pitcock
9d7672fc9a
main: use our own getopt_long() implementation always, as pkg_getopt_long(). ( closes #24 )
2012-07-20 13:46:14 -05:00
William Pitcock
b8645fbef2
main: fix regression caused by copy-and-paste (issue #20 )
2012-07-01 22:02:45 -05:00
William Pitcock
4499d272dd
main: implement use of pkg_dependency_parse_str() for --atleast-version and friends (issue #20 )
2012-07-01 21:57:49 -05:00
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