Commit Graph

1004 Commits (789da4cf335bf6652f7086082ef18812cf1f547a)

Author SHA1 Message Date
William Pitcock 03f7841065 libpkgconf: pkg: windows can use either \ or / as directory separators
ref #118
2017-06-16 15:27:23 -05:00
William Pitcock d45e850130 Revert "pkg: use pkgconf_pkg_t.realname instead of pkgconf_pkg_t.id for injecting the default provides entry"
This reverts commit 0c22b4d8a1.
2017-06-16 13:03:51 -05:00
William Pitcock 0c22b4d8a1 pkg: use pkgconf_pkg_t.realname instead of pkgconf_pkg_t.id for injecting the default provides entry
This issue was noticed while porting pkgconf to Windows.

ref #118
2017-06-16 11:49:54 -05:00
Dan Kegel 794aa5016a Tidy up a bit. 2017-06-05 20:54:57 -07:00
Dan Kegel 0ba391bc6f Miscelaneous tweaks for Visual C in Cygwin compatibility 2017-06-05 17:41:13 -07:00
Dan Kegel ededaa6415 cmake: add missing configure variables, install headers and .pc file, use simpler line to invoke kyua, tweak build location of dll for ease of testing 2017-06-05 17:40:10 -07:00
Dan Kegel 4ba2bac538 Don't depend on libtool magic to control which symbols are exported from shared libraries 2017-06-05 14:00:02 -07:00
Dan Kegel 2e80d72a6f cmake: remove DOS line endings from tests 2017-06-05 13:58:03 -07:00
Dan Kegel 9258874ee1 cmake: use right soversion for libpkgconf 2017-06-05 10:23:56 -07:00
Dan Kegel 9131496d64 getopt_long.c: placate visual c by adding a few explicit typecasts 2017-06-05 10:23:30 -07:00
Dan Kegel 347539ca87 cmake: ignore more visual C warnings, don't feed DOS line endings to atf 2017-06-05 10:22:38 -07:00
Dan Kegel 26d9a81c9c install_deps.sh: first cut at cygwin support 2017-06-05 07:26:00 -07:00
Dan Kegel 8b4a4b831b First draft of cmake install rules 2017-06-04 19:32:08 -07:00
Dan Kegel 4d7b4d7c8e Minimal tweaks to compile with Visual C 2015 2017-06-04 19:19:55 -07:00
Dan Kegel 35d0f63daf win-dirent.h: MIT-licensed port of dirent to win32 from https://github.com/tronkko/dirent 2017-06-04 19:19:01 -07:00
Dan Kegel d4098f95c3 Document how to install test dependencies on ubuntu
Just a tip to save other devs a few minutes.
2017-06-04 19:17:44 -07:00
Dan Kegel 251f747343 First draft of cmake port 2017-06-04 17:44:37 -07:00
William Pitcock f7e9d61f4d pkgconf 1.3.7. 2017-05-19 23:47:51 -05:00
William Pitcock 4a508b4fd9 tests: regress: add regression test for malformed package testcase 2017-05-19 23:43:47 -05:00
William Pitcock d280060ed7 libpkgconf: pkg: add additional validation rules in post-parse phase 2017-05-19 23:37:57 -05:00
William Pitcock 0262b8251d libpkgconf: pkgconf_pkg_find(): correctly handle failure from pkgconf_pkg_new_from_file() 2017-05-19 23:33:49 -05:00
William Pitcock cf3c50ca78 libpkgconf: pkg: pkgconf_try_specific_path() and pkgconf_pkg_new_from_file() require a mutable client to release resources when encountering invalid packages 2017-05-19 23:21:58 -05:00
William Pitcock 4b104d49df pkgconf 1.3.6. 2017-05-09 19:43:08 -05:00
William Pitcock f55e989f0a update NEWS for 1.3.6 2017-05-09 19:42:48 -05:00
William Pitcock 3c7f82a7fb fragment: also protect -nostdinc, -nostdlibinc, -nobuiltininc 2017-05-09 19:38:57 -05:00
William Pitcock 74eb74a3ef fragment: handle -include similarly to -isystem and -idirafter 2017-05-09 19:37:23 -05:00
William Pitcock 9fde4be1f3 fragment: also protect -ansi, -std=, -stdlib=, -pedantic, -trigraphs, -Wa, and -Wp fragments 2017-05-09 19:34:39 -05:00
William Pitcock c7a8e1e3b8 fragment: give -Wl fragments the same protection as -pthread 2017-05-09 19:30:02 -05:00
William Pitcock 90d52e6c2a fragment: add -pthread as a special fragment 2017-05-05 01:40:57 -05:00
William Pitcock ce47fa8d89 tests: add reduced version of freebsd gtk+-3.0 crappy output situation as a testcase 2017-05-05 01:40:09 -05:00
William Pitcock 5940ad6412 pkgconf 1.3.5. 2017-04-04 16:20:57 -05:00
William Pitcock a504e67097 update NEWS for 1.3.5. 2017-04-04 16:20:44 -05:00
William Pitcock 30c35b7096 main: re-enable --variable pkg-config bug emulation because downstreams take advantage of it 2017-04-01 18:34:59 -05:00
William Pitcock a7f8a809c1 pkgconf 1.3.4. 2017-03-29 18:02:59 -05:00
William Pitcock 1da1b83ba5 update NEWS for 1.3.4 2017-03-29 18:02:43 -05:00
William Pitcock 6e643aa432 libpkgconf: hopefully the last necessary tweak to quoting... 2017-03-29 18:00:57 -05:00
William Pitcock 77ca17b6ff tests: back out go-style test, just verify the output because shells are terrible 2017-03-29 18:00:10 -05:00
William Pitcock f5ce5fd755 testsuite: add a parser test from Go (redhat #1437101) 2017-03-29 16:58:04 -05:00
William Pitcock 849261cf58 pkgconf 1.3.3. 2017-03-27 12:12:27 -05:00
William Pitcock fbbf5316fb update NEWS for 1.3.3. 2017-03-27 11:01:41 -05:00
William Pitcock 6fcb5ba5c0 testsuite: update test with PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH=1 env var 2017-03-27 01:03:24 -05:00
William Pitcock 2f4a1eb4e0 main: implement a different solution for dependency generators, too many broken configure scripts still :/ 2017-03-27 00:56:23 -05:00
William Pitcock 92ce179d23 pkgconf 1.3.2. 2017-03-24 01:03:11 -05:00
William Pitcock 7a121725be update NEWS for 1.3.2 2017-03-24 01:03:11 -05:00
William Pitcock acac1f8ed3 libpkgconf: pkg: show iteration depth when traversing 2017-03-24 00:59:53 -05:00
William Pitcock be184cba1d main: further fix up handling of single-package query flags 2017-03-24 00:59:26 -05:00
William Pitcock 05e257e678 pkgconf 1.3.1. 2017-03-24 00:19:55 -05:00
William Pitcock 85375d9fda update NEWS for 1.3.1 2017-03-24 00:19:27 -05:00
William Pitcock 541de8bd59 main: handle query selectors that are only usable for single packages correctly
--print-requires, --print-requires-private, --print-provides, --modversion, --print-variable and --print-variables
are inquiring information about a package, not about a dependency graph.

in such cases, we should not try to solve the problem set to determine if it is satisfiable, as any invocation
of these commands are trying to inquire about a specific package.  instead, just solve the problem set for a single
level (so we can load the package itself) which is far more useful behaviour when scanning .pc files for their
dependency metadata.

as an aside, this allows us to successfully scan .pc files which are otherwise unsatisfiable.
2017-03-24 00:13:30 -05:00
William Pitcock 9d05871d32 testsuite: check to see if --print-requires incorrectly invokes the dependency resolver 2017-03-24 00:13:14 -05:00