Commit Graph

708 Commits (bf4674fa1b6c12c0be4853e5246d00476ab05522)

Author SHA1 Message Date
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
Dan Nicholson 840ecc846d Add autoconf macros to help packagers install .pc files
Some distros and users have unusual installation needs that don't
conform to the standard $libdir/pkgconfig and $datadir/pkgconfig
pathways. Help packagers support these users with the macros
PKG_INSTALLDIR and PKG_NOARCH_INSTALLDIR. These are simple macros that
provide the configure parameters --with-pkgconfigdir and
--with-noarch-pkgconfigdir to allow users to override the standard
locations.

Freedesktop #48743
2012-07-21 01:09:13 -05:00
William Pitcock dc61404a79 pkgconf 0.8.1. 2012-07-20 22:38:02 -05:00
William Pitcock 8d6fc8597d Update README. 2012-07-20 20:35:47 -05:00
William Pitcock d730ec8a64 main: bail if the entire depgraph cannot be built 2012-07-20 20:04:11 -05:00
William Pitcock 24236c76c1 tests: add a test for malformed pkg_t entities 2012-07-20 19:55:06 -05:00
William Pitcock 6194cd3133 tests: add more tests 2012-07-20 18:08:54 -05:00
William Pitcock e5efad7df5 main: return EXIT_FAILURE when argument parsing fails 2012-07-20 17:19:43 -05:00
William Pitcock 3c31c01db4 tests: add tests for malformed option arguments 2012-07-20 17:18:35 -05:00
William Pitcock 43a2c7880d main: use pkg_getopt_long_only(). 2012-07-20 17:12:06 -05:00
William Pitcock 81fa40f9b6 getopt_long: more fixing 2012-07-20 16:37:26 -05:00
William Pitcock d45b87bc56 getopt_long: use stdinc.h 2012-07-20 16:35:53 -05:00
William Pitcock 61a2a6c46f tests: conditionally run optional tests if --enable-strict is not used (closes #25) 2012-07-20 16:33:48 -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 4c82d02e99 tests: ensure all core tests are posixly-correct (issue #25) 2012-07-20 16:28:50 -05:00
William Pitcock c928e7e429 main: clean up license text in --version 2012-07-20 14:31:58 -05:00
William Pitcock 3b02288c7e COPYING: more friendly warranty disclaimer text 2012-07-20 14:30:40 -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 9e30e2a7bb tests: add explicit tests for issue #24 2012-07-20 13:36:01 -05:00
William Pitcock 3d0f67a7b3 pkg: use relative paths on windows (issue #17) 2012-07-02 03:41:08 +00:00
William Pitcock 4017810b7a update .gitignore
Update .gitignore to ignore .dep files and windows intermediate build
files (issue #17)
2012-07-02 03:40:27 +00:00
William Pitcock 15c24b6bf6 testsuite: more tests for --max-version and --exact-version (closes #20) 2012-07-01 22:03:07 -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 4edd04b16b dependency: add pkg_dependency_parse_str() for breaking out a dependency list that has already been substituted. 2012-07-01 21:44:30 -05:00
William Pitcock fc923cb97a testsuite: add tests for issue #20 behaviour 2012-07-01 21:28:38 -05:00
William Pitcock f3d2a5f0e7 testsuite: add tests for --atleast-version (issue #20) 2012-07-01 21:24:53 -05:00