Log

Author Commit Date CI Message
William Pitcock 52602d33 2012-05-06T02:13:36 pkgconf 0.6
William Pitcock 44ef8391 2012-05-06T01:02:57 pkg: reset iter to 0 when checking system compiled-in paths
William Pitcock a078249a 2012-05-06T00:12:27 pkg: add support for treating package names as files
William Pitcock c0245f54 2012-05-06T00:12:00 tests: add test for pkg-config /path/to/pc.file --flags syntax
William Pitcock 498debd8 2012-05-05T23:10:05 main: implement --uninstalled
William Pitcock f70555e7 2012-05-05T23:09:34 tests: add tests for --uninstalled option
William Pitcock 65d4b88d 2012-05-05T23:00:20 pkg: add support for foo-uninstalled.pc file
William Pitcock 1bf5da3b 2012-05-05T22:00:47 pkg: implement pkg-config.pc as a builtin
William Pitcock 7352f140 2012-05-05T22:00:32 main: can't iterate backwards up deptree so need other hack for this
William Pitcock 0f92df0a 2012-05-05T21:59:24 tests: add test for pkg-config builtin virtual package
William Pitcock b17771d3 2012-05-05T21:53:47 main: use our mergemaster 'world' package as a virtual 'pkg-config' package too
William Pitcock 58b525d2 2012-05-05T21:51:25 main: move PKGCONFIG_VERSION_EQUIV to pkg.h
William Pitcock 2ba296dc 2012-05-05T21:46:20 main: default to unlimited traversal now that we do mergemaster
William Pitcock 793de6a0 2012-05-05T21:39:37 main: handle pkg-config 'package' '>=' 'version' in 3 fields.
William Pitcock 433d6973 2012-05-05T21:26:15 parse: move OPERATOR_CHAR() and friends to pkg.h
William Pitcock 46922776 2012-05-05T21:18:40 tests: add quoting-regression test
William Pitcock 4adb0b5d 2012-05-05T20:52:17 pkg: clean up pkg_traverse() logic
William Pitcock faba0d80 2012-05-05T20:47:13 main: fix --modversion call for pkg_traverse().
William Pitcock 83ba2950 2012-05-05T20:24:45 pkg: add support for compiling in more than one default pkg-config search path Some packages install to /usr/share/pkgconfig instead of /usr/lib/pkgconfig.
William Pitcock 7f7ad67b 2012-05-05T20:21:47 pkg: fix off-by-one when parsing PKG_CONFIG_PATH data
William Pitcock 1ac3cbd4 2012-05-05T20:21:16 tests/dos-lineendings: fix committed version
William Pitcock 1de9c5d3 2012-05-05T22:14:06 pkgconf 0.5.3
William Pitcock 18e051e7 2012-05-05T22:09:33 main: pkg-config only allows printing variables from the first package, so exit once we've done that
William Pitcock a9a2ba3d 2012-05-05T22:08:06 main: don't put any trailing space after printed variables
William Pitcock db5d9829 2012-05-05T21:55:27 tests: add tests for --variable
William Pitcock 542e4e6f 2012-05-05T21:52:18 main: print_variable(): use strdup_parse().
William Pitcock 8ff4ae5b 2012-05-05T21:51:59 main: traverse up to 3 levels for variable search
William Pitcock 0737a720 2012-05-05T21:51:38 parse: make strdup_parse() public
William Pitcock 0b244237 2012-05-05T17:54:35 pkgconf 0.5.2
William Pitcock 5460704d 2012-05-05T17:44:24 argvsplit: slightly change strategy for splitting arguments
William Pitcock 4e954013 2012-05-05T17:43:53 tests: add test for argv-parse bug causing audacious build failure
William Pitcock e93b4a6c 2012-05-04T03:30:50 pkgconf 0.5.1.
William Pitcock 14901943 2012-05-04T03:23:03 parse: use pkg_fgetline().
William Pitcock 130907d5 2012-05-04T03:21:51 fileio: add routine for portably yanking lines out of a FILE stream
William Pitcock a1bbaa8e 2012-05-04T03:15:07 Add .gitattributes file to force dos-lineendings.pc to match CRLF style always
William Pitcock f1d13ef0 2012-05-04T03:08:55 tests: add dos-lineendings test
Luca Barbato 5f35ec35 2012-05-03T13:27:56 m4: provide additional pkg-config macros The macros provide a succint way to run a pkg-config check over modules depending on a --with-name configure option. There is a flexible variant to have custom behaviour if the package is found or not and two more limited ones that just set HAVE_NAME make and preprocessor variables.
William Pitcock 6759cdb4 2012-05-03T20:49:50 pkgconf 0.5.
William Pitcock 26c5dcb1 2012-05-03T20:43:09 fragment: add pkg_fragment_exists() and use it to mergemaster in pkg_fragment_copy().
William Pitcock a4a572f6 2012-05-03T20:37:24 main: separate CFLAGS and LIBS collection and printing steps into two phases.
William Pitcock d94ab755 2012-05-03T20:31:33 fragment: add pkg_fragment_copy().
William Pitcock c1e5ab04 2012-05-03T20:27:19 fragment: add pkg_fragment_delete().
William Pitcock de5e1c6e 2012-05-03T20:22:19 split out fragment code from parse.c
William Pitcock bd1bfa62 2012-05-03T20:21:57 main: add support for --libs-only-L, --libs-only-l and --libs-only-other.
William Pitcock bd4044a9 2012-05-03T19:52:36 main: add support for --cflags-only-I and --cflags-only-other
William Pitcock a2904672 2012-05-03T19:44:44 main: filter out system dirs
William Pitcock 3c380f9b 2012-05-03T19:44:23 Add LIBDIR and INCLUDEDIR defines.
William Pitcock 1a81d1c7 2012-05-03T19:43:54 parse: fix handling of fragment types
William Pitcock b0521ec9 2012-05-03T19:36:47 main: implement support for printing fragment lists
William Pitcock 588a6711 2012-05-03T19:35:56 parse: cleanups for fragment handling code
William Pitcock b88279d4 2012-05-03T19:25:59 pkg: parse CFLAGS/LIBS/LIBS.private into fragment lists.
William Pitcock 82420d0c 2012-05-03T19:25:33 pkg: add support for fragment lists.
William Pitcock c74b749c 2012-05-03T18:59:14 Add code for spliting strings into argc/argv using shell quoting rules.
William Pitcock b26da681 2012-05-03T18:05:19 main: --static shouldn't change maximum_traverse_depth
William Pitcock 5996e377 2012-05-03T18:05:01 fix test #9 output
William Pitcock 49a5edda 2012-05-03T17:55:06 pkg: add pkg_report_graph_error() for describing breaks in the dependency graph. Fixes issue #3.
William Pitcock 91ec341a 2012-05-03T17:42:04 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
William Pitcock 4dbca6ae 2012-05-03T10:32:49 Merge pull request #4 from mgorny/master Fix uninitialized variable + tests
William Pitcock 89f3a1f1 2012-05-03T17:23:11 Makefile: enable fortify support
William Pitcock 9f877aed 2012-05-03T17:22:44 makefile: enable -Wextra, -Wformat=2
William Pitcock 460a0afb 2012-05-03T17:21:41 main: explicitly tell the compiler we don't want to use the userdata pointers in our callback
William Pitcock 1caa0dca 2012-05-03T17:20:39 pkg: pkg_walk_list() does not need a reference to the parent node in the graph
William Pitcock ccda6b37 2012-05-03T17:15:45 everywhere: warning cleanups
Michał Górny 23e31fd7 2012-05-03T09:15:32 Add tests for 'Requires' and '.private'.
Michał Górny 482b65f1 2012-05-03T09:04:48 Tests for PKG_CONFIG_PATH ordering.
Michał Górny 97b8c093 2012-05-03T08:50:57 Add minimal tests.
Michał Górny a4ceb684 2012-05-03T09:22:08 File lookup: fix uninitialized 'iter'.
William Pitcock 290107de 2012-05-03T00:55:52 main: add support for --print-requires-private
William Pitcock 3f758a8b 2012-05-02T23:29:35 pkg: pkg_verify_graph() should also accept resolver flags
William Pitcock 84aa1c11 2012-05-02T23:20:54 main: now that we have global_traverse_flags, clean up --static handling
William Pitcock d97853e4 2012-05-02T23:19:50 main: implement support for --env-only option.
William Pitcock e59b9864 2012-05-02T23:16:32 pkg: implement resolver-side support for some pkg-config clone's --env-only option
William Pitcock 187b4e53 2012-05-02T23:14:53 pkg: add resolver flags to pkg_find() and pkg_verify_dependency().
William Pitcock 62f1bfbc 2012-05-02T23:11:19 main: add global_traverse_flags for PKGF flags that should be applied to any pkg_traverse() call
William Pitcock 8c5923f9 2012-05-02T22:05:17 pkgconf 0.4.
William Pitcock ff779219 2012-05-02T22:01:17 main: if --static and --libs is requested, use PKGF_SEARCH_PRIVATE when printing linker flags
William Pitcock 07bb6d28 2012-05-02T21:53:43 main: if --static is requested, print LIBS.private too.
William Pitcock bcd8a9f9 2012-05-02T21:53:02 parse: track LIBS.private
William Pitcock 8f8ed9b6 2012-05-02T21:48:23 main: call pkg_traverse with PKGF_SEARCH_PRIVATE if --cflags is requested.
William Pitcock 38f3dc78 2012-05-02T21:47:02 pkg: if PKGF_SEARCH_PRIVATE is requested, search root::requires_private graph entries too
William Pitcock 5ea52d4c 2012-05-02T21:44:58 pkg: add flags option to pkg_traverse() to optionally control what the depgraph traversal code does
William Pitcock bea3c202 2012-05-02T21:37:32 Add requires_private to pkg_t.
William Pitcock 656b34fb 2012-05-02T19:35:45 pkg: plug some minor memory leaks
William Pitcock 77703f18 2012-05-02T19:31:30 pkg: path_split(): clarify that we want to dereference parv itself, not parv[idx].
William Pitcock ca484382 2012-05-02T19:11:20 pkg: use PKG_CONFIG_EXT everywhere
William Pitcock 52433aa2 2012-05-02T19:07:38 pkg: clean up PKG_CONFIG_PATH_SEP_S nonsense
William Pitcock b91bdcd3 2012-05-02T19:06:32 pkg: use path_split() instead of a static buffer.
William Pitcock 538317f6 2012-05-02T18:38:31 pkg: add path_split() helper function
William Pitcock 281d69ee 2012-05-02T07:49:46 Merge pull request #1 from mgorny/master A number of fixes + win32 compat
Michał Górny ee62bedd 2012-05-02T16:01:17 parse_file() no longer needs to handle f == NULL. That condition is now handled within pkg_find() completely.
Michał Górny 3707ccd2 2012-05-02T15:55:13 Fix PKG_CONFIG_PATH precedence, simplify. PKG_CONFIG_PATH paths must take precedence over the default path. Otherwise, we would be unable to override default .pc files. And while I'm at it, simplify the whole code. It is pointless to introduce another buffer and a lot of string mangling for one additional path.
Michał Górny 0e0bf1b0 2012-05-02T11:45:31 Omit empty paths in file lookup. This avoids looking for '/foo.pc'.
Michał Górny 218b3ccd 2012-05-02T11:42:52 Remove unnecessary buffer zeroing. We always replace that current pos with a null terminator, so it doesn't matter what follows it.
Michał Górny f26001c3 2012-05-02T11:40:38 File lookup: wind in last occurence to the loop. Instead of repeating the parsing stage after reaching the null terminator, just handle it inside the loop and terminate the loop afterwards.
Michał Górny 742fad92 2012-05-02T11:38:54 Fix uninitialized vars in deplist parsing.
Michał Górny 353ba1ea 2012-05-02T11:24:58 Use ';' as path separator on win32. This is what pkg-config does, and it is necessary because ':' is part of path specification on win32.
William Pitcock 9e1260ac 2012-05-01T01:37:10 pkgconf 0.3
William Pitcock 2d738c2c 2012-05-01T01:27:19 pkg: make PKG_CONFIG_PATH parsing more robust
William Pitcock 5190715d 2012-05-01T01:11:06 configure: update package bugreport url
William Pitcock 60421ad2 2012-05-01T01:10:56 main: add --help support