Log

Author Commit Date CI Message
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 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 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 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
William Pitcock f99ecae9 2012-04-30T18:50:31 main: remove dependency on popt
William Pitcock f6f02825 2012-04-30T18:28:01 bsdstubs: include getopt_long.h
William Pitcock b3057ada 2012-04-30T18:27:17 Add portable getopt_long implementation based on OpenBSD's.
William Pitcock 0680b7d6 2012-04-30T18:26:50 bsdstubs: add include recursion guard
William Pitcock c75779b5 2012-04-30T18:22:17 configure: check for getopt_long
William Pitcock c212908c 2012-04-30T18:11:51 bsdstubs: implement strndup() stub implementation if none exists
William Pitcock feb26b81 2012-04-30T18:11:42 configure: check for strndup
William Pitcock df45d850 2012-04-30T18:07:51 Add MIN/MAX macros if not already present.
William Pitcock 3b154d8a 2012-04-30T06:06:13 everywhere: use strlcpy and strlcat where appropriate
William Pitcock 863498bf 2012-04-30T06:05:55 configure: check for strlcpy and strlcat
William Pitcock fe812746 2012-04-30T06:01:11 Update buildsys to my forked version.
William Pitcock d4015cf2 2012-04-30T05:55:27 Implement stub functions for systems which lack BSD strlcpy/strlcat.
William Pitcock 07d784c3 2012-04-30T05:46:47 COPYING: it's 2012 now
William Pitcock 7993ad09 2012-04-30T05:43:46 Install a copy of pkg.m4 into aclocal like pkg-config does.
William Pitcock 31e2241c 2012-04-30T05:32:49 Convert README to markdown format.
Mike Frysinger 4e4c1d62 2012-04-29T23:58:52 fix handling of length with strncat The length arg in the strncat func represents the max number of bytes that may be appended, but the total length of the buffer. So we have to subtract the length of bytes already in there. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger c13acaca 2012-04-29T23:58:51 ignore generated files Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger 4b5d0eaa 2012-04-29T23:58:50 include ctype.h for isspace/etc... Signed-off-by: Mike Frysinger <vapier@gentoo.org>
William Pitcock 1e93bac3 2012-02-17T15:35:23 pkg: handle PKG_DEFAULT_PATH and PKG_CONFIG_PATH envvar more cleanly
Alyx d0639b33 2012-01-15T19:03:54 Make pkg_find() follow the PKG_CONFIG_PATH environmental variable, if available.
William Pitcock 3c8bac67 2011-07-26T20:37:19 main: add --digraph option to generate a representation of the depgraph in graphviz dot format
William Pitcock b0c16941 2011-07-26T20:37:01 pkg: add pkg_t.id field
William Pitcock 8543f1bd 2011-07-26T20:15:44 pkg: document pkg_traverse()
William Pitcock 03c9402e 2011-07-26T20:07:16 Makefile: do not install pkg-config symlink this should be handled using dpkg-alternatives or similar.
William Pitcock 1cd2906d 2011-07-26T20:04:09 main: add --print-variables
William Pitcock f717c760 2011-07-26T19:59:53 main: add --print-requires
William Pitcock 648c39cf 2011-07-26T19:59:46 pkg: add pkg_get_comparator()
William Pitcock 774ebc97 2011-07-26T19:52:44 pkg: pkg_verify_dependency() was calling pkg_compare_version() in reverse order