summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-15MergeTollef Fog Heen7-19/+57
2009-06-30Fix include path for check/commonTollef Fog Heen1-1/+1
2009-06-302009-06-12 Tor Lillqvist <tml@iki.fi>Tollef Fog Heen5-17/+49
* parse.c: On Win32, if the value of a a variable other than the "prefix" one starts with the non-overridden value of "prefix", then replace that prefix, too, with the run-time one. To avoid shadowing warnings, rename a 'p' variable to 'q'. * pkg-config.1: Corresponding update. * main.c * pkg.h: Move the Win32 redefinition of PKG_CONFIG_PC_PATH from main.c to pkg.h as it now is needed in pkg.c, too.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-6/+16
* autogen.sh: Allow not running configure, wanted by cygwin.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen4-4/+24
* check/check-missing, check/check-libs, check/check-requires-private: Handle the case of indirect being enabled correctly in checks.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen5-1/+16
* check/common, check/config.sh.in, check/Makefile.am, configure.in: Make it possible to check for configure variables in the check scripts. So far, only direct/indirect is exposed.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-0/+7
* pkg.c (add_virtual_pkgconfig_package): Add pc_path as a variable which you can use to get at the compiled-in PKG_CONFIG_PC_PATH.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-1/+3
* pkg.h: Fix up path to glib.h
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-1/+3
* pkg.c (add_virtual_pkgconfig_package): Fix URL to pkg-config.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen4-8/+2
* partial-glib.[ch]: Get rid of those, they are no longer in use.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen8-1/+30
* poptparse.c, popthelp.c, poptconfig.c, popt.c, pkg.c, findme.c, configure.in: Check for malloc.h and use that if it exists. Apparently this makes Win32 happier. Thanks to Carlo Bramini for the patch.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-1/+6
* pkg-config.1: Verbosify the text about Libs.private a bit. Patch from Loïc Minier.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-0/+7
* pkg-config.1: Add documentation for --cflags-only-I, patch from Loïc Minier.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen7-1/+63
* pkg.[ch], main.c, check/check-missing: Don't recurse Requires at all unless we need to. Add check. Again, thanks to Loïc Minier for most of the idea and the implementation.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen9-10/+114
* pkg.[ch], parse.[ch], main.c, check/Makefile.am, check/check-missing, check/missing-requires-private.pc: Skip Requires.private unless we need to look at them for cflags. Add test case. Thanks to Loïc Minier for most of the idea and the implementation. Debian #475031
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-0/+3
* check/common: Run all tests in the C locale
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-3/+7
* check/common: Add support for non-zero return codes to test framework. Thanks to Loïc Minier for the idea.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-1/+7
* pkg.m4: Add PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR to the list of precious directories. (AC_ARG_VAR)
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-4/+9
* popthelp.c (poptPrintUsage,poptPrintHelp): Add [LIBRARIES] to help output. Debian #389066
2008-04-282008-04-28 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-0/+4
* parse.c Add my name to the copyright header, mainly to prevent emacs from being stupid and updating RH's copyright year.
2008-04-282008-04-28 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-1/+8
* parse.c (_do_parse_libs): Special-case "-lib:" in the Libs field; it's not an -l. Yes, this breaks if your library is called libib:$something, in which case you lose. Gnome #142952
2008-04-282008-04-28 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-1/+6
* main.c (main): Make sure log is initialized to prevent segfaults.
2008-03-232008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen6-5/+35
* check/check-conflicts, check/conflicts-test.pc: New test, testing that conflicts work as they should. * pkg.c (verify_package): Make the conflicts check not only check package versions, but also package names. This makes conflicts functional, something they were not before.
2008-03-232008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-1/+2
* check/check-requires-private: Remove unnecessary set -x
2008-03-232008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen7-19/+25
* check/check-cflags, check/check-define-variable, check/check-includedir, check/check-libs, check/check-libs-private, check/check-requires-private: Replace the crazy -d ~root check with a more proper way to just make sure we are running under a POSIX shell. Thanks to Kjetil Torgrim Homme for the tip about using getconf PATH.
2008-03-232008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-1/+33
* main.c (main): Add logging support from NetBSD. Thanks to Julio M. Merino Vidal for forwarding the patch from ages ago.
2008-03-232008-03-23 Stepan Kasal <skasal@redhat.com>Tollef Fog Heen2-0/+16
* pkg-config.1: Document "Requires.private" and recommend it for libraries. Freedesktop #13188
2008-03-232008-03-23 Stepan Kasal <skasal@redhat.com>Tollef Fog Heen2-39/+18
* pkg-config.1: Fix a few typos--add two omitted .TP tags and two omitted full stops; and empty lines do influence the formatting in nroff.
2008-03-232008-02-19 Tor Lillqvist <tml@novell.com>Tollef Fog Heen4-73/+43
* main.c: Remove the possibility to have a default PKG_CONFIG_PATH in the Registry. It is much more flexible to just use environment variables. In general the Registry is not used in the ports of GTK+ or GNOME libraries and software to Windows. * parse.c (parse_line): On Windows, handle also .pc files found in a share/pkgconfig folder when automatically redefining a prefix variable for the package. * pkg-config.1: Corresponding changes. 2008-02-18 Tor Lillqvist <tml@novell.com> * main.c: Fix some bitrot: On Windows, don't use the compile-time PKG_CONFIG_PC_PATH, but deduce a default one at run-time based on the location of the executable. This was originally what pkg-config did on Windows, but it had bit-rotted.
2008-03-23Merge in static changeTollef Fog Heen2-20/+29
2008-03-232008-03-23 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-20/+29
* main.c (main): Fix small portability problem by defining all the variables in main that are used in the static initialiser as static variables. This makes the IRIX/mipseb compiler happier. Thanks to Roland Illig of NetBSD for the patch. This doesn't apply to some of the Win32 variables, but I don't believe that is a problem with the existing compilers there.
2008-01-31configure.in: If prefix is unset, add /usr/lib/pkgconfig andTollef Fog Heen2-5/+20
/usr/share/pkgconfig to default search path. Based on patch by Damjan Jovanovic. Also, make configure always print the path it is defaulting to.
2008-01-31pkg.c (string_list_to_string): Patch from Paul Bender so flags otherTollef Fog Heen2-1/+11
than -I and -L are passed through (with mangling) when PKG_CONFIG_SYSROOT_DIR is set.
2008-01-16 2008-01-16 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen3-1/+10
* NEWS, configure.in: Release 0.23
2008-01-162008-01-16 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-2/+6
* check/check-requires-private: Fix up test case. We want to get the private -I option in all cases.
2008-01-16 2008-01-16 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen5-1/+45
* pkg.h, pkg.c (string_list_to_string), pkg-config.1, main.c (main): Add sysroot support and document same. Triggered by setting PKG_CONFIG_SYSROOT_DIR in the environment.
2007-12-29 * pkg.c (internal_get_package): Don't add the internal-onlyTollef Fog Heen2-12/+3
pkg-config package twice.
2007-12-29 * pkg.c (verify_package): Apply patch from Matthias Clasen ofTollef Fog Heen2-3/+5
RedHat to prevent segfaults if a Conflicts line is encountered.
2007-12-29 * popthelp.c: Apply patch from Tom Tromey <tromey@redhat.com> toTollef Fog Heen2-2/+6
make pkg-config --help print to stdout, not stderr. Gnome #127314.
2007-12-292007-12-29 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen2-2/+7
* pkg.m4: Don't use --errors-to-stdout in pkg.m4, but rather redirect stderr to stdout. This makes pkg.m4 with old (pre 0.15) pkg-config look good, and it makes newer pkg-config with ancient pkg.m4 work well. Gnome #111054
2007-12-292007-12-29 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen17-41/+104
* Update to glib 1.2.10, adjust lots of the glib patches. Gnome #81847.
2007-06-19Add attribution to last fixTollef Fog Heen1-1/+2
2007-06-19* pkg.m4: Fix bug so it's possible to override variables in caseTollef Fog Heen2-10/+13
pkg-config is not installed.
2007-06-18* configure.in: Release 0.22Tollef Fog Heen2-1/+3
2007-06-18* NEWS: Update for 0.22Tollef Fog Heen2-0/+11
2007-06-18* configure.in: Fix expansion of default pc_path as per GNU codingTollef Fog Heen2-2/+5
standards. Thanks to Andreas Hanke for the fix. Freedesktop #10326
2007-06-18* pkg.c (recursive_fill_list): Make sure to act recursively withTollef Fog Heen2-1/+5
Requires.private, making them much more useful. Special thanks to Matthias Clasen for lots and lots of nagging. Freedesktop #8788
2007-06-18Fix typo.Tollef Fog Heen1-2/+2
2007-06-18* glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCETollef Fog Heen2-0/+15
there to get strsignal prototype, addresses the rest of Freedesktop 10652.
2007-06-18* popt.c: Remove code calling setresuid and setreuid, pkg-configTollef Fog Heen2-7/+3
should not ever be suid. Partially addresses Freedesktop #10652