Log

Author Commit Date CI Message
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
William Pitcock 91d61a76 2011-07-26T19:51:04 parse: improve version parsing resiliency
William Pitcock 58694050 2011-07-26T19:38:26 parse: add support for parsing versions
William Pitcock 0142cc68 2011-07-26T19:26:56 parse: perform stringops on stack bufferspace as to avoid overruns
William Pitcock 045257be 2011-07-26T19:26:14 pkg: make pkg_verify_dependency() public
William Pitcock 7c3db844 2011-07-26T18:49:38 main: consistency in help messages
William Pitcock 5a6a586a 2011-07-26T18:47:42 main: add --atleast-version
William Pitcock 8b721a26 2011-07-26T18:44:28 main: implement --static
William Pitcock f8638cdb 2011-07-26T12:17:45 pkg: add pkg_verify_dependency()
William Pitcock a362c7e9 2011-07-26T12:05:29 main: make --atleast-pkgconfig-version work
William Pitcock a872c725 2011-07-26T12:05:14 pkg: fix up pkg_compare_version()
William Pitcock 7e268420 2011-07-26T11:56:59 pkg: add pkg_compare_version()
William Pitcock e8a944f4 2011-07-25T18:17:28 main: add support for --variable
William Pitcock 8100eb84 2011-07-25T17:44:05 pkg: add pkg_verify_graph() to verify the depgraph is satisfiable
William Pitcock 95298b4c 2011-07-25T17:14:44 pkgconf 0.1.1.
William Pitcock c54b850d 2011-07-25T17:06:11 Add makerelease.
William Pitcock 3d502159 2011-07-25T17:03:06 pkg: use exact same error message as pkg-config when dependency is unresolvable
William Pitcock 3e69f4c7 2011-07-25T16:53:12 parse: add pkg_dependency_append() and fix world dependency merging
William Pitcock bdbab691 2011-07-25T02:18:11 main: fix --modversion
William Pitcock a5759cce 2011-07-25T02:02:08 Add README file.
William Pitcock 9f0521ec 2011-07-25T01:48:40 main: fix up depth traversal nonsense, set to depth 2 for pkg-config mode
William Pitcock abf49c54 2011-07-25T01:28:01 add COPYING file
William Pitcock 4fe2dc1b 2011-07-25T01:26:05 pkg: croak if dependency tree is incomplete
William Pitcock 05d596b9 2011-07-25T01:22:04 pkg: implement maximum depth for pkg_traverse()
William Pitcock 8e46a165 2011-07-25T01:03:35 main: switch to using apk-style master dependency merge strategy
William Pitcock a3f2a471 2011-07-25T01:03:13 pkg: handle node::package being crap
William Pitcock 714bcaaa 2011-07-25T01:02:53 parse: fix parser resiliency
William Pitcock 85bb0441 2011-07-25T00:38:23 parse: export parse_deplist to public API
William Pitcock faf2926f 2011-07-25T00:36:57 main: add pkg-config compat stubs
William Pitcock 02f7f673 2011-07-25T00:26:55 main: add some minor stuff
William Pitcock b0c762f3 2011-07-25T00:21:54 main: add --modversion option
William Pitcock f79c6780 2011-07-25T00:19:55 main: add pkg_queue for mergemaster operation
William Pitcock 3a368095 2011-07-25T00:06:37 main: expand into something more useful, add --cflags and --libs printer selectors to poptOptions
William Pitcock b55a4ce3 2011-07-24T23:54:39 main: add a function for processing a single package
William Pitcock 4603ceb8 2011-07-24T23:46:10 main: split out to main.c, make pretty printers hidden
William Pitcock 37d87b90 2011-07-24T23:43:00 pkg: do not print cflags or libs if they are NULL
William Pitcock b44ce20d 2011-07-24T23:38:58 pkg: add pkg_traverse() to walk the dependency graph
William Pitcock f7e81402 2011-07-24T23:29:33 parse: export tuple_find() to private API
William Pitcock 5a561624 2011-07-24T23:26:24 Add config.sub and config.guess.
William Pitcock 65708688 2011-07-24T23:24:10 add install-sh
William Pitcock 3f9cedf5 2011-07-24T23:20:22 pkgconf stub: walk the dependency tree
William Pitcock c6197b39 2011-07-24T23:19:53 parser: add dependency list support and refactor slightly
William Pitcock 61c246d2 2011-07-24T21:03:17 Initial commit.