Author: tfheen
Date: 2005-04-13 15:47:18 GMT
2005-04-13 Tollef Fog Heen <tfheen@err.no>
* pkg.c (packages_get_l_libs, packages_get_L_libs): Duplicate
singly linked list before putting it on list passed to
string_list_strip_duplicates_from_back to avoid infinite loop when
g_slist_copy tries to copy self-linked list. This happens if the
user specifies the same name on the command line twice.
Author: tfheen
Date: 2005-04-12 18:21:39 GMT
2005-04-12 Tollef Fog Heen <tfheen@err.no>
* configure.in: Fix up AC_MSG_RESULT for indirect deps. Also fix
so the test no longer is inverted and auto works properly.
Author: tfheen
Date: 2005-04-12 17:06:32 GMT
2005-04-12 Tollef Fog Heen <tfheen@err.no>
* pkg.m4: Apply patch from James Henstridge to have AC_RUN_LOG in
the right place. (Freedesktop #2992)
Author: tfheen
Date: 2005-04-12 11:46:59 GMT
2005-04-12 Tollef Fog Heen <tfheen@err.no>
* pkg.m4: Add note that PKG_PROG_PKG_CONFIG must be called
explicitly if the first call to PKG_CHECK_MODULES might not
happen. (Debian #303211)
Author: tfheen
Date: 2005-04-02 17:25:48 GMT
2005-04-02 Tollef Fog Heen <tfheen@err.no>
* glib-patches/remove-strsignal-prototype.diff: Remove strsignal
prototype from gstrfuncs.c, it is included in string.h. This
fixes a compilation issue on cygwin. (Freedesktop #2598)
Author: tfheen
Date: 2005-04-02 15:17:09 GMT
2005-04-02 Tollef Fog Heen <tfheen@err.no>
* glib-patches/distcheckfix.diff: Move glibconfig-sysdefs.h and
glibconfig.h to DISTCLEANFILES since they're made by configure.
Author: tfheen
Date: 2005-04-01 22:06:47 GMT
2005-04-02 Tollef Fog Heen <tfheen@err.no>
* glib-patches/mkinstalldirs.update.diff: cvs admin -ko to avoid
having the Id CVS keyword being expanded, which broke the
application of the patch.
Author: tfheen
Date: 2005-04-01 21:46:07 GMT
2005-04-01 Tollef Fog Heen <tfheen@err.no>
* configure.in: Try to detect whether this architecture supports
inter-library dependencies. If so, we default to assuming that
this support is used and link to the minimal set of libraries
rather than traversing the full depends set.
* main.c (main): Only recurse if we want a static library list or
if this architecture doesn't support inter-library dependencies.
This will probably expose bugs for libraries which declare
dependencies in their .pc files but don't actually link against
each other.
* pkg.c (packages_get_all_libs): Add recurse option
(packages_get_L_libs): Add recurse option
(package_get_L_libs): Add recurse option
(packages_get_l_libs): Add recurse option
(package_get_l_libs): Add recurse option
* pkg.h: Update prototypes to handle the recurse option.
Author: tfheen
Date: 2005-03-29 07:09:37 GMT
2005-03-29 Tollef Fog Heen <tfheen@err.no>
* check/check-cflags, check/check-define-variable,
check/check-libs, check/common, check/Makefile.am,
check/simple.pc: Add simple test framework and begin writing
tests.
* Makefile.am, configure.in: Make in check/ as well.
Author: tfheen
Date: 2005-03-28 15:49:23 GMT
2005-03-28 Tollef Fog Heen <tfheen@err.no>
* glib-patches/distcheckfix.diff: Add some files to CLEANFILES so
make distcheck now works.
Author: tfheen
Date: 2005-03-28 14:21:23 GMT
2005-03-28 Tollef Fog Heen <tfheen@err.no>
* autogen.sh: Extra paranoia -- fail if running auto* fails or if
patching fails.
* glib-patches/mkinstalldirs.update.diff: Update patch so it
applies cleanly
* glib-patches/pthread-config-fix.diff: adjust offsets so patch is
quiet again
Author: tfheen
Date: 2005-03-26 16:09:47 GMT
2005-03-26 Tollef Fog Heen <tfheen@err.no>
* configure.in: Fix default search path for .pc files. (This was
done after the change above but before tagging. Put here to avoid
confusion whether this went into the release).
Author: tfheen
Date: 2005-03-26 14:59:26 GMT
2005-03-18 Tollef Fog Heen <tfheen@err.no>
* main.c (main): Use add_search_dirs for both the compile-time
defined pc_path and the run-time defined PKG_CONFIG_PATH.
* pkg.h: Add prototype for add_search_dirs.
* pkg.c (add_search_dirs): Add new function which takes a
delimiter-separated list as input and add_search_dir's it.
(package_init): Remove knowledge about which dirs should be
initially added. Moved this to main.c(main)
* ChangeLog: Add emacs variables to set the date to this
ChangeLog's standard format
* Makefile.am (INCLUDES): Pass PKG_CONFIG_PCPATH on to main.c
* configure.in: Add --with-pc-path to define the default search
path for .pc files. (Freedesktop #119, #648)
Author: tfheen
Date: 2005-03-22 08:54:08 GMT
2005-03-18 Tollef Fog Heen <tfheen@debian.org>
* pkg.c (print_package_list): Ignore requires when just listing
the available packages.
(internal_get_package): Pass ignore_requires on.
* parse.h: update prototype for parse_package_file.
* parse.c (parse_line): Ignore Requires when told so.
(parse_package_file): Pass ingore_requires on to parse_line.
(Freedesktop #191, Debian #232719)
Author: tfheen
Date: 2005-03-18 08:04:33 GMT
2005-03-18 Tollef Fog Heen <tfheen@err.no>
* glib-patches/pthread-config-fix.diff: Add patch to detect
pthreads properly on some architectures. Thanks to Michael
Haubenwallner for reporting this bug and providing a patch.
Author: tfheen
Date: 2005-02-21 07:53:41 GMT
Get rid of groff warnings when formatting pkg-config(1) on an 80-column terminal. Thanks to Colin Watson and Ubuntu for the fix. (Freedesktop #148)
Author: keybuk
Date: 2004-06-07 23:43:21 GMT
Improve pkg-config's configure instructure and bring it bang
up to date.
* pkg.m4: Complete rewrite.
(PKG_PROG_PKG_CONFIG): if PKG_CONFIG not defined, find the
pkg-config in the path or $host-pkg-config if cross-compiling,
check that is of at least version 0.9.0 or one given.
(_PKG_CONFIG): internal macro to call pkg-config.
(PKG_CHECK_MODULES): same semantics as the previous incarnation
except you can prevent pkg-config from being called by defining
xxx_CFLAGS and xxx_LIBS yourself, additionally all results are
cached.
* README, pkg-config.1: Adjust documentation to match.
Author: jamesh
Date: 2003-05-01 01:14:30 GMT
2003-04-30 James Henstridge <james@daa.com.au>
* pkg.c (verify_package): fix up error messages.
* parse.c (parse_line): don't error out on unknown keywords, as
they may represent future extensions to the file format.
Author: jamesh
Date: 2003-02-22 14:04:21 GMT
2003-02-22 James Henstridge <james@daa.com.au>
* pkg.c (add_virtual_pkgconfig_package): function to add a virtual
"pkg-config" package to the packages hash table.
(package_init): add the "pkg-config" package while initing the
hash table.
Author: jamesh
Date: 2003-02-22 07:04:02 GMT
Obvious fix:
2003-02-22 James Henstridge <james@daa.com.au>
* pkg.h: add missing prototype.
* main.c (main): print the url if the package is too old, to match
the output of verify_package().
Author: jamesh
Date: 2003-02-22 04:59:20 GMT
2003-02-22 James Henstridge <james@daa.com.au>
* popthelp.c, poptint.h, poptconfig.c, findme.h, popt.h:
* poptparse.c: expand licensing header to the version found in the
Popt distribution's COPYING file. See discussion in bug 84804 for
details.
Author: jamesh
Date: 2003-02-21 14:53:04 GMT
2003-02-21 James Henstridge <james@daa.com.au>
* pkg.m4: split macro into two parts. The check for presence of
pkg-config is now in a helper macro. The main PKG_CHECK_MODULES
macro now AC_REQUIRES() it, so that the pkg-config check is only
performed once.
Also update quoting to match current practices.
Author: tml
Date: 2003-02-19 19:24:14 GMT
2003-02-19 Tor Lillqvist <tml@iki.fi>
* pkg.c (add_env_variable_to_list): Use G_SEARCHPATH_SEPARATOR_S
instead of hardcoded ":".
(verify_package): Don't use /usr/include on Win32.
Author: hp
Date: 2003-02-15 15:37:04 GMT
2003-02-15 Havoc Pennington <hp@pobox.com>
* pkg.c (verify_package): patch from Nalin to use /usr/lib64 as
the system libdir on systems where that's appropriate
Author: hp
Date: 2003-02-15 15:04:07 GMT
2003-02-15 Havoc Pennington <hp@pobox.com>
Fixes suggested by Werner Trobin
* main.c (verbose_error): honor --errors-to-stdout and flush
the same stream we write to
* parse.c (parse_url): support an "url" field so if someone
has a .pc file they can figure out where to go for newer
versions and such
Author: hp
Date: 2003-01-15 04:02:47 GMT
2003-01-15 Havoc Pennington <hp@pobox.com>
* pkg.c (package_init): honor a PKG_CONFIG_LIBDIR to move default
search dir, useful in cross-compilation for example, bug
#103545 fix from David Schleef