Baptiste Daroussin
1464b576b0
Convert all the int want_* to a single bitmap
2012-07-29 13:39:34 +02:00
William Pitcock
b9ccc27abc
pkg: add pkg_queue_validate() to compile and validate a pkg_queue_t.
2012-07-29 05:37:21 -05:00
William Pitcock
9136b192c3
main: rework to use pkg_queue_apply().
...
Presently 3 regressions.
2012-07-29 05:37:21 -05:00
William Pitcock
17fc01b4e0
queue: add pkg_queue_apply().
2012-07-29 05:37:21 -05:00
William Pitcock
23b1806f65
main: remove redundant checks made obsolete by depgraph compilation
2012-07-29 05:37:21 -05:00
William Pitcock
50c496b7ce
main: use pkg_queue_compile() and pkg_queue_free().
2012-07-29 05:37:20 -05:00
William Pitcock
cdac22fc5c
queue: fix iteration ordering bug
2012-07-29 05:37:20 -05:00
William Pitcock
f4f1c1defe
queue: add pkg_queue_compile() and pkg_queue_free().
2012-07-29 05:37:20 -05:00
William Pitcock
698358e9d4
queue: new file
2012-07-29 05:37:20 -05:00
William Pitcock
91271e56c6
main: remove several symbols from BSS (they are only needed by main()).
2012-07-29 03:30:50 -05:00
William Pitcock
3715fae236
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:22:34 -05:00
William Pitcock
24bb536305
main: --list-all shouldn't list 'uninstalled' packages
2012-07-27 01:21:17 -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
3e1858320c
main: add frontend implementation of --list-all
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
JD Horelick
1394a4edfe
README.md: Small updates.
2012-07-27 01:03:49 -04:00
William Pitcock
002a0a7338
pkgconf 0.8.3.
2012-07-25 21:13:43 -05:00
William Pitcock
0a5cb4c4ec
everything: update copyright to note multiple authors
2012-07-25 21:09:31 -05:00
William Pitcock
31b9a53155
tests: remove bashism (noticed on freebsd pointyhat log)
2012-07-25 17:56:10 -05:00
William Pitcock
1db1281593
argvsplit: fix splitting of arguments
...
There used to be a hack here, which was removed which caused other splitting later.
This was a vestige of that hack, which is no longer needed with proper fragments.
2012-07-25 17:51:40 -05:00
William Pitcock
a15d5eefeb
tests: quiet successful tests
2012-07-25 17:47:09 -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
William Pitcock
197cb9b93f
tests: add tests for cflags/libs-only ordering flags
2012-07-25 17:23:21 -05:00
William Pitcock
b09650a9e3
Update AUTHORS based on git history.
2012-07-25 17:13:42 -05:00
William Pitcock
c544e9e052
tests: add test for argv-parse splitting issue with filenames
2012-07-25 17:07:34 -05:00
William Pitcock
f522f55e12
tests: add test for blank package arguments
2012-07-25 10:18:09 -05: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
William Pitcock
f7496747a5
Merge pull request #31 from bapt/master
...
add --with-system-includedir and --with-system-libdir
2012-07-24 13:27:43 -07: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
b8f3beef2b
Merge pull request #30 from bapt/master
...
new configure --with-pkg-config-dir
2012-07-24 01:00:06 -07:00
Baptiste Daroussin
09032b0bdf
new --with-pkg-config-dir options
...
Allow one to configure the place where pc files are store, it default on
${libdir}/pkgconfig:${datadir}/pkgconfig
2012-07-24 08:48:23 +02:00
William Pitcock
53770f1935
Merge pull request #29 from jdhore/master
...
Respect LDFLAGS
2012-07-23 23:32:30 -07:00
JD Horelick
f5c9713e77
Respect LDFLAGS
2012-07-24 02:10:35 -04:00
William Pitcock
4cced0ffb2
buildsys: add @bindir@ define
2012-07-23 21:09:15 -05:00
William Pitcock
3388277b9b
pkg: implement dpkg-style version comparison rules
2012-07-23 21:07:57 -05:00
William Pitcock
da7e3de991
main: --silence-errors should be opt-in only.
2012-07-23 21:07:19 -05:00
William Pitcock
5f168493c5
tests: add tests for dpkg-style tilde version comparison rules
2012-07-23 20:53:20 -05:00
William Pitcock
72f9e90f27
buildsys: respect CFLAGS
2012-07-23 14:55:33 -05:00
William Pitcock
188117b68d
buildsys: switch to something a little more generic ( closes #27 )
2012-07-23 14:49:22 -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
eaf73a5179
pkgconf 0.8.2.
2012-07-21 21:41:55 -05:00
William Pitcock
29ea7ce460
pkg: add pkg_get_parent_dir() and define $(pcfiledir).
2012-07-21 14:49:55 -05:00
William Pitcock
4d8f2b030f
tests: add tests for $(pcfiledir)
2012-07-21 14:44:38 -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
475719ec3a
pkg: we already behave like pkg-config 0.27 anyway
2012-07-21 14:24:26 -05:00