]> err.no Git - pkg-config/log
pkg-config
14 years agoMisc m4 cleanups
Tollef Fog Heen [Sun, 6 Dec 2009 20:39:13 +0000 (21:39 +0100)]
Misc m4 cleanups

Whitespace cleanups
Use m4_default instead of some ifelses.

Thanks to Stepan Kasal for the patch this is based on
Bug #13892

14 years agoMake sure AC_MSG_RESULT is always called
Tollef Fog Heen [Sun, 6 Dec 2009 20:32:35 +0000 (21:32 +0100)]
Make sure AC_MSG_RESULT is always called

Based on a patch by Peter Breitenlohner, thanks.
Bug #9704

14 years agoAdd serial to pkg.m4
Tollef Fog Heen [Sun, 6 Dec 2009 20:20:42 +0000 (21:20 +0100)]
Add serial to pkg.m4

Bug #22709

14 years agoRephrase comment before PKG_CHECK_EXISTS in pkg.m4
Tollef Fog Heen [Sun, 6 Dec 2009 20:17:45 +0000 (21:17 +0100)]
Rephrase comment before PKG_CHECK_EXISTS in pkg.m4

15 years agoMerge
Tollef Fog Heen [Tue, 30 Jun 2009 03:05:52 +0000 (05:05 +0200)]
Merge

15 years agoFix include path for check/common
Tollef Fog Heen [Tue, 30 Jun 2009 01:47:49 +0000 (03:47 +0200)]
Fix include path for check/common

15 years ago2009-06-12 Tor Lillqvist <tml@iki.fi>
Tollef Fog Heen [Tue, 30 Jun 2009 01:47:01 +0000 (03:47 +0200)]
2009-06-12  Tor Lillqvist  <tml@iki.fi>

* 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.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 20:06:58 +0000 (22:06 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* autogen.sh: Allow not running configure, wanted by cygwin.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 20:03:38 +0000 (22:03 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* check/check-missing, check/check-libs,
check/check-requires-private: Handle the case of indirect being
enabled correctly in checks.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 19:50:01 +0000 (21:50 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* 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.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 19:17:43 +0000 (21:17 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* 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.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 19:16:28 +0000 (21:16 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* pkg.h: Fix up path to glib.h

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 19:04:42 +0000 (21:04 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* pkg.c (add_virtual_pkgconfig_package): Fix URL to pkg-config.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 19:03:10 +0000 (21:03 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* partial-glib.[ch]: Get rid of those, they are no longer in use.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 19:00:14 +0000 (21:00 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* 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.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 18:53:02 +0000 (20:53 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* pkg-config.1: Verbosify the text about Libs.private a bit. Patch
from Loïc Minier.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 18:51:18 +0000 (20:51 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* pkg-config.1: Add documentation for --cflags-only-I, patch from
Loïc Minier.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 18:49:17 +0000 (20:49 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* 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.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 18:40:53 +0000 (20:40 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* 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

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 18:23:04 +0000 (20:23 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* check/common: Run all tests in the C locale

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 18:14:33 +0000 (20:14 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* check/common: Add support for non-zero return codes to test
framework.  Thanks to Loïc Minier for the idea.

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 18:06:32 +0000 (20:06 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* pkg.m4: Add PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR to the list of
precious directories.  (AC_ARG_VAR)

15 years ago2009-03-30 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 30 Mar 2009 17:52:01 +0000 (19:52 +0200)]
2009-03-30  Tollef Fog Heen  <tfheen@err.no>

* popthelp.c (poptPrintUsage,poptPrintHelp): Add [LIBRARIES] to
help output.  Debian #389066

16 years ago2008-04-28 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 28 Apr 2008 19:25:51 +0000 (21:25 +0200)]
2008-04-28  Tollef Fog Heen  <tfheen@err.no>

* parse.c Add my name to the copyright header, mainly to prevent
emacs from being stupid and updating RH's copyright year.

16 years ago2008-04-28 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 28 Apr 2008 19:19:02 +0000 (21:19 +0200)]
2008-04-28  Tollef Fog Heen  <tfheen@err.no>

* 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

16 years ago2008-04-28 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Mon, 28 Apr 2008 18:58:36 +0000 (20:58 +0200)]
2008-04-28  Tollef Fog Heen  <tfheen@err.no>

* main.c (main): Make sure log is initialized to prevent
segfaults.

16 years ago2008-03-23 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Sun, 23 Mar 2008 20:39:07 +0000 (21:39 +0100)]
2008-03-23  Tollef Fog Heen  <tfheen@err.no>

       * 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.

16 years ago2008-03-23 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Sun, 23 Mar 2008 20:11:25 +0000 (21:11 +0100)]
2008-03-23  Tollef Fog Heen  <tfheen@err.no>

       * check/check-requires-private: Remove unnecessary set -x

16 years ago2008-03-23 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Sun, 23 Mar 2008 20:07:39 +0000 (21:07 +0100)]
2008-03-23  Tollef Fog Heen  <tfheen@err.no>

* 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.

16 years ago2008-03-23 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Sun, 23 Mar 2008 19:51:50 +0000 (20:51 +0100)]
2008-03-23  Tollef Fog Heen  <tfheen@err.no>

       * main.c (main): Add logging support from NetBSD.  Thanks to Julio
       M. Merino Vidal for forwarding the patch from ages ago.

16 years ago2008-03-23 Stepan Kasal <skasal@redhat.com>
Tollef Fog Heen [Sun, 23 Mar 2008 19:46:08 +0000 (20:46 +0100)]
2008-03-23  Stepan Kasal  <skasal@redhat.com>

      * pkg-config.1: Document "Requires.private" and recommend it
      for libraries.  Freedesktop #13188

16 years ago2008-03-23 Stepan Kasal <skasal@redhat.com>
Tollef Fog Heen [Sun, 23 Mar 2008 19:26:14 +0000 (20:26 +0100)]
2008-03-23  Stepan Kasal  <skasal@redhat.com>

* 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.

16 years ago2008-02-19 Tor Lillqvist <tml@novell.com>
Tollef Fog Heen [Sun, 23 Mar 2008 19:00:00 +0000 (20:00 +0100)]
2008-02-19  Tor Lillqvist  <tml@novell.com>

* 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.

16 years agoMerge in static change
Tollef Fog Heen [Sun, 23 Mar 2008 17:00:36 +0000 (18:00 +0100)]
Merge in static change

16 years ago2008-03-23 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Sun, 23 Mar 2008 16:34:33 +0000 (17:34 +0100)]
2008-03-23  Tollef Fog Heen  <tfheen@err.no>

* 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.

16 years agoconfigure.in: If prefix is unset, add /usr/lib/pkgconfig and
Tollef Fog Heen [Thu, 31 Jan 2008 01:43:41 +0000 (02:43 +0100)]
configure.in: If prefix is unset, add /usr/lib/pkgconfig and
/usr/share/pkgconfig to default search path.  Based on patch by Damjan
Jovanovic.

Also, make configure always print the path it is defaulting to.

16 years agopkg.c (string_list_to_string): Patch from Paul Bender so flags other
Tollef Fog Heen [Thu, 31 Jan 2008 01:27:33 +0000 (02:27 +0100)]
pkg.c (string_list_to_string): Patch from Paul Bender so flags other
than -I and -L are passed through (with mangling) when
PKG_CONFIG_SYSROOT_DIR is set.

16 years ago 2008-01-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Jan 2008 22:50:03 +0000 (23:50 +0100)]
 2008-01-16  Tollef Fog Heen  <tfheen@err.no>

       * NEWS, configure.in: Release 0.23

16 years ago2008-01-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Jan 2008 22:46:58 +0000 (23:46 +0100)]
2008-01-16  Tollef Fog Heen  <tfheen@err.no>

* check/check-requires-private: Fix up test case.  We want to get
the private -I option in all cases.

16 years ago 2008-01-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Jan 2008 22:10:25 +0000 (23:10 +0100)]
  2008-01-16  Tollef Fog Heen  <tfheen@err.no>

             * 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.

16 years ago * pkg.c (internal_get_package): Don't add the internal-only
Tollef Fog Heen [Sat, 29 Dec 2007 16:49:50 +0000 (17:49 +0100)]
* pkg.c (internal_get_package): Don't add the internal-only
pkg-config package twice.

16 years ago * pkg.c (verify_package): Apply patch from Matthias Clasen of
Tollef Fog Heen [Sat, 29 Dec 2007 15:46:25 +0000 (16:46 +0100)]
* pkg.c (verify_package): Apply patch from Matthias Clasen of
RedHat to prevent segfaults if a Conflicts line is encountered.

16 years ago * popthelp.c: Apply patch from Tom Tromey <tromey@redhat.com> to
Tollef Fog Heen [Sat, 29 Dec 2007 15:06:00 +0000 (16:06 +0100)]
* popthelp.c: Apply patch from Tom Tromey <tromey@redhat.com> to
make pkg-config --help print to stdout, not stderr.  Gnome
#127314.

16 years ago2007-12-29 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Sat, 29 Dec 2007 15:00:37 +0000 (16:00 +0100)]
2007-12-29  Tollef Fog Heen  <tfheen@err.no>

* 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

16 years ago2007-12-29 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Sat, 29 Dec 2007 13:40:41 +0000 (14:40 +0100)]
2007-12-29  Tollef Fog Heen  <tfheen@err.no>

* Update to glib 1.2.10, adjust lots of the glib patches.  Gnome
#81847.

17 years agoAdd attribution to last fix
Tollef Fog Heen [Tue, 19 Jun 2007 13:58:48 +0000 (15:58 +0200)]
Add attribution to last fix

17 years ago* pkg.m4: Fix bug so it's possible to override variables in case
Tollef Fog Heen [Tue, 19 Jun 2007 13:56:48 +0000 (15:56 +0200)]
* pkg.m4: Fix bug so it's possible to override variables in case
pkg-config is not installed.

17 years ago* configure.in: Release 0.22
Tollef Fog Heen [Mon, 18 Jun 2007 21:31:42 +0000 (23:31 +0200)]
* configure.in: Release 0.22

17 years ago* NEWS: Update for 0.22
Tollef Fog Heen [Mon, 18 Jun 2007 21:30:14 +0000 (23:30 +0200)]
* NEWS: Update for 0.22

17 years ago* configure.in: Fix expansion of default pc_path as per GNU coding
Tollef Fog Heen [Mon, 18 Jun 2007 21:26:01 +0000 (23:26 +0200)]
* configure.in: Fix expansion of default pc_path as per GNU coding
standards.  Thanks to Andreas Hanke for the fix.  Freedesktop #10326

17 years ago* pkg.c (recursive_fill_list): Make sure to act recursively with
Tollef Fog Heen [Mon, 18 Jun 2007 21:19:27 +0000 (23:19 +0200)]
* pkg.c (recursive_fill_list): Make sure to act recursively with
Requires.private, making them much more useful.  Special thanks to
Matthias Clasen for lots and lots of nagging.  Freedesktop #8788

17 years agoFix typo.
Tollef Fog Heen [Mon, 18 Jun 2007 21:16:51 +0000 (23:16 +0200)]
Fix typo.

17 years ago* glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCE
Tollef Fog Heen [Mon, 18 Jun 2007 20:53:52 +0000 (22:53 +0200)]
* glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCE
there to get strsignal prototype, addresses the rest of
Freedesktop 10652.

17 years ago* popt.c: Remove code calling setresuid and setreuid, pkg-config
Tollef Fog Heen [Mon, 18 Jun 2007 20:09:41 +0000 (22:09 +0200)]
* popt.c: Remove code calling setresuid and setreuid, pkg-config
  should not ever be suid.  Partially addresses Freedesktop #10652

17 years ago* glib-patches/no-dist-distclean-files.diff: Fix prefix.
Tollef Fog Heen [Mon, 18 Jun 2007 20:03:46 +0000 (22:03 +0200)]
* glib-patches/no-dist-distclean-files.diff: Fix prefix.

17 years agoFix automake-warning.diff to not patch on top of another patch from
Tollef Fog Heen [Mon, 18 Jun 2007 20:01:32 +0000 (22:01 +0200)]
Fix automake-warning.diff to not patch on top of another patch from
glib-patches.

17 years agoFix path prefix so it applies.
Tollef Fog Heen [Mon, 18 Jun 2007 19:52:25 +0000 (21:52 +0200)]
Fix path prefix so it applies.

17 years ago2007-05-30 Tor Lillqvist <tml@novell.com>
Tollef Fog Heen [Wed, 30 May 2007 11:24:42 +0000 (13:24 +0200)]
2007-05-30  Tor Lillqvist  <tml@novell.com>

* parse.c: Fix problem on Win32 where the automagic prefix
replacement logic didn't work. I don't know what change had
broken it.
(pathnamecmp): New Win32-only function. Compares two file
paths case insensitively and treating backslashes as equal to
slashes.
(parse_line): Use it instead of g_ascii_strcasecmp().

17 years ago* pkg.m4: Update URL to pkg-config website. Thanks to Peter Eisentraut.
Tollef Fog Heen [Tue, 29 May 2007 06:58:44 +0000 (08:58 +0200)]
* pkg.m4: Update URL to pkg-config website.  Thanks to Peter Eisentraut.

17 years agoMerge in small fix from other branch.
Tollef Fog Heen [Tue, 29 May 2007 06:57:19 +0000 (08:57 +0200)]
Merge in small fix from other branch.

17 years ago2007-02-25 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Sun, 25 Feb 2007 14:12:40 +0000 (15:12 +0100)]
2007-02-25  Tollef Fog Heen  <tfheen@err.no>

* pkg.c (scan_dir): Use g_malloc, not malloc for pkgname.

17 years ago2007-02-25 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Sun, 25 Feb 2007 10:05:01 +0000 (11:05 +0100)]
2007-02-25  Tollef Fog Heen  <tfheen@err.no>

* Makefile.am: Add support for using the system glib.  Thanks to
Peter Breitenlohner for the bug and the patch.  Freedesktop #9708

* configure.in: Add support for using the system glib.

* glib-patches/no-dist-distclean-files.diff,
glib-patches/automake-warning.diff,
glib-patches/autoconf-warning.diff:  Get rid of some warnings when
configuring glib.

17 years ago2007-02-21 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 21 Feb 2007 21:21:14 +0000 (22:21 +0100)]
2007-02-21  Tollef Fog Heen  <tfheen@err.no>

* parse.c (parse_package_file and others): Move the reversal of
the _libs lists to the end to avoid double-reversing either.
Thanks to J. Scott Berg for both the bug and the fix.  Freedesktop
#9132

17 years agoconfigure.in: remove AC_CONFIG_AUX_DIR as it makes newer
Tollef Fog Heen [Wed, 21 Feb 2007 21:05:06 +0000 (22:05 +0100)]
configure.in: remove AC_CONFIG_AUX_DIR as it makes newer
automakes unhappy.  Freedesktop #10028.

18 years ago2006-08-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Aug 2006 19:10:05 +0000 (21:10 +0200)]
2006-08-16  Tollef Fog Heen  <tfheen@err.no>

* configure.in: Release 0.21

18 years agoAdd missing bug numbers
Tollef Fog Heen [Wed, 16 Aug 2006 19:09:24 +0000 (21:09 +0200)]
Add missing bug numbers

18 years ago2006-08-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Aug 2006 19:06:52 +0000 (21:06 +0200)]
2006-08-16  Tollef Fog Heen  <tfheen@err.no>

* NEWS: Update for 0.21

18 years ago2006-08-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Aug 2006 19:04:56 +0000 (21:04 +0200)]
2006-08-16  Tollef Fog Heen  <tfheen@err.no>

* pkg.c: Add internal pkg-config package which can be queried for
version number, name and URL for now.  More information will be
added later.

18 years ago2006-08-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Aug 2006 18:47:14 +0000 (20:47 +0200)]
2006-08-16  Tollef Fog Heen  <tfheen@err.no>

* parse.c (trim_and_sub): Since %{...} has not been used for a
long time, there is no point in being able to escape %.  However,
make the code able to escape $ by doubling the $ to $$.
Debian #378570

18 years ago2006-08-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Aug 2006 18:42:38 +0000 (20:42 +0200)]
2006-08-16  Tollef Fog Heen  <tfheen@err.no>

* pkg.c (packages_get_other_cflags, package_get_other_cflags)
(packages_get_I_cflags): Always add all cflags.  Debian #340904

18 years ago2006-08-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Aug 2006 17:57:14 +0000 (19:57 +0200)]
2006-08-16  Tollef Fog Heen  <tfheen@err.no>

* main.c (main): Always add the elements from PKG_CONFIG_PATH.
Freedesktop #4795.

18 years ago2006-08-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Aug 2006 17:43:17 +0000 (19:43 +0200)]
2006-08-16  Tollef Fog Heen  <tfheen@err.no>

* pkg-config.1: Apply patch from Ed Catmur to document
PKG_CHECK_EXIST.  Thanks a lot for both patches.

18 years ago2006-08-16 Tollef Fog Heen <tfheen@err.no>
Tollef Fog Heen [Wed, 16 Aug 2006 17:37:20 +0000 (19:37 +0200)]
2006-08-16  Tollef Fog Heen  <tfheen@err.no>

* pkg-config.1: Apply patch from Ed Catmur to document
PKG_PROG_PKG_CONFIG and that it should be used if the first call
to PKG_CHECK_MODULES might not happen.

18 years agoOnly use -Wall and gcc-only flags with gcc.
Tollef Fog Heen [Wed, 28 Dec 2005 14:07:04 +0000 (14:07 +0000)]
Only use -Wall and gcc-only flags with gcc.

2005-12-28  Tollef Fog Heen  <tfheen@err.no>

* configure.in, Makefile.am: Only use -Wall and other gcc-only
flags when we don't have a set of CFLAGS already set and we're
using gcc.  Freedesktop #4888.

19 years agoCosmetic m4 stuff
Tollef Fog Heen [Mon, 17 Oct 2005 07:08:37 +0000 (07:08 +0000)]
Cosmetic m4 stuff
2005-10-17  Tollef Fog Heen  <tfheen@err.no>

* pkg.m4: Do AC_MSG_RESULT([no]) even if $4 is set (so we don't
fail).  Gnome #166537.

19 years agoAdd missing news from 0.18.1, 0.19 and 0.20
Tollef Fog Heen [Mon, 17 Oct 2005 05:01:03 +0000 (05:01 +0000)]
Add missing news from 0.18.1, 0.19 and 0.20
2005-10-17  Tollef Fog Heen  <tfheen@err.no>

* NEWS: Add missing news and really release 0.20, since I didn't
get around to actually uploading last night.

19 years agoRelease 0.20
Tollef Fog Heen [Sun, 16 Oct 2005 18:18:57 +0000 (18:18 +0000)]
Release 0.20
2005-10-16  Tollef Fog Heen  <tfheen@err.no>

* configure.in: Release 0.20

19 years agoGet rid of text duplication in pkg.m4
Tollef Fog Heen [Sun, 16 Oct 2005 18:13:43 +0000 (18:13 +0000)]
Get rid of text duplication in pkg.m4
2005-10-16  Tollef Fog Heen  <tfheen@err.no>

* pkg.m4: use m4_define to avoid duplication of text.

19 years agoMinor m4 cleanups
Tollef Fog Heen [Sun, 16 Oct 2005 18:08:18 +0000 (18:08 +0000)]
Minor m4 cleanups
2005-10-16  Tollef Fog Heen  <tfheen@err.no>

* pkg.m4: Minor cleanups, use m4_default rather than m4_ifval and
echo 1>&FD is silly, just use echo >&FD

19 years agoTry to print out all the errors and not just the first.
Tollef Fog Heen [Sun, 16 Oct 2005 18:06:02 +0000 (18:06 +0000)]
Try to print out all the errors and not just the first.
2005-10-16  Tollef Fog Heen  <tfheen@err.no>

* main.c (main): Try to print out all the errors and not just the
first.

19 years agoUse --short-errors if it's available.
Tollef Fog Heen [Sun, 16 Oct 2005 17:51:24 +0000 (17:51 +0000)]
Use --short-errors if it's available.

19 years agoAdd --short-errors
Tollef Fog Heen [Sun, 16 Oct 2005 17:31:41 +0000 (17:31 +0000)]
Add --short-errors

2005-10-16  Tollef Fog Heen  <tfheen@err.no>

* pkg.c (get_package_quiet): Add get_package_quiet which is just
the same as get_package except it sets warn to false.

* pkg.h: Add prototype for get_package_quiet.

* main.c (main): Add --short-errors flag to suppress most of the
output when a module is not found.

19 years agoAdd missing bug number in changelog
Tollef Fog Heen [Sat, 1 Oct 2005 10:24:42 +0000 (10:24 +0000)]
Add missing bug number in changelog

19 years agoHandle \ correctly on win32
Tollef Fog Heen [Sat, 1 Oct 2005 10:24:02 +0000 (10:24 +0000)]
Handle \ correctly on win32
2005-10-01  Tollef Fog Heen  <tfheen@err.no>

        * pkg.c(scan_dir): Turn backslashes into slashes or
        poptParseArgvString() will eat them when ${prefix} has been
        expanded in parse_libs().  Thanks to j^ for the patch.

19 years agoDocument previous patch
Tollef Fog Heen [Sat, 1 Oct 2005 10:15:22 +0000 (10:15 +0000)]
Document previous patch
Add changelog

19 years agoFix possible off-by-one
Tollef Fog Heen [Sat, 1 Oct 2005 10:13:57 +0000 (10:13 +0000)]
Fix possible off-by-one
Apply last part of patch from freedesktop #4034 so we don't do silly
things if len is zero.

19 years agoLook at XXX_CFLAGS and XXX_LIBS again
Tollef Fog Heen [Wed, 21 Sep 2005 13:12:35 +0000 (13:12 +0000)]
Look at XXX_CFLAGS and XXX_LIBS again

2005-09-21  Tollef Fog Heen  <tfheen@err.no>

* pkg.m4: Apply patch from Roberto Huelga to look at XXX_CFLAGS
and XXX_LIBS which got lost somewhere.

19 years agoAdd default CFLAGS
Tollef Fog Heen [Sat, 27 Aug 2005 09:22:34 +0000 (09:22 +0000)]
Add default CFLAGS
2005-08-27  Tollef Fog Heen  <tfheen@err.no>

* Makefile.am (AM_CFLAGS): Add default CFLAGS

19 years agoAdd missing prototype for enable_private_libs and disable_private_libs
Tollef Fog Heen [Sat, 27 Aug 2005 09:17:49 +0000 (09:17 +0000)]
Add missing prototype for enable_private_libs and disable_private_libs
2005-08-27  Tollef Fog Heen  <tfheen@err.no>

* pkg.h: Add missing prototype for enable_private_libs and
disable_private_libs.

19 years agoAdd includedir test
Tollef Fog Heen [Sat, 27 Aug 2005 09:05:14 +0000 (09:05 +0000)]
Add includedir test

19 years agoDon't overflow format
Tollef Fog Heen [Tue, 23 Aug 2005 11:38:33 +0000 (11:38 +0000)]
Don't overflow format
2005-08-23  Tollef Fog Heen  <tfheen@err.no>

* popthelp.c: char format[10] overflowed always with gcc4, so use
positional parameters instead.  Thanks to Scott James Remnant for
pointing me to that solution.  Debian #321961, Ubuntu #13950,
Freedesktop #2661

19 years agoDocument changes
Tollef Fog Heen [Mon, 22 Aug 2005 10:43:39 +0000 (10:43 +0000)]
Document changes

19 years agoAdd solaris workaround for tests
Tollef Fog Heen [Mon, 22 Aug 2005 10:41:08 +0000 (10:41 +0000)]
Add solaris workaround for tests
/bin/sh on solaris isn't POSIX compliant, so we just exec a POSIX
shell on Solaris.

19 years agotag of pkgconfig@bazaar.ubuntu.com/pkgconfig--MAIN--0--patch-115
Tollef Fog Heen [Sun, 17 Jul 2005 07:56:43 +0000 (07:56 +0000)]
tag of pkgconfig@bazaar.ubuntu.com/pkgconfig--MAIN--0--patch-115

19 years ago2005-07-16 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Sat, 16 Jul 2005 13:07:58 +0000 (13:07 +0000)]
2005-07-16  Tollef Fog Heen  <tfheen@err.no>
Author: tfheen
Date: 2005-07-16 10:22:46 GMT
2005-07-16  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: Release 0.19

19 years ago2005-07-15 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Fri, 15 Jul 2005 13:08:02 +0000 (13:08 +0000)]
2005-07-15  Tollef Fog Heen  <tfheen@err.no>
Author: tfheen
Date: 2005-07-15 08:22:55 GMT
2005-07-15  Tollef Fog Heen  <tfheen@err.no>

        * pkg.c (package_get_var): Make sure to g_strdup all the return
        values and not return some values which should not be freed and
        some which should.  Yay valgrind.  Freedesktop #3682

19 years ago2005-07-15 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Fri, 15 Jul 2005 13:08:01 +0000 (13:08 +0000)]
2005-07-15  Tollef Fog Heen  <tfheen@err.no>
Author: tfheen
Date: 2005-07-15 07:19:06 GMT
2005-07-15  Tollef Fog Heen  <tfheen@err.no>

        * configure.in: Fix default search path to be pkgconfig rather
        than pkg-config again.  Freedesktop #3662

19 years ago2005-07-15 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Fri, 15 Jul 2005 13:07:59 +0000 (13:07 +0000)]
2005-07-15  Tollef Fog Heen  <tfheen@err.no>
Author: tfheen
Date: 2005-07-15 06:50:41 GMT
2005-07-15  Tollef Fog Heen  <tfheen@err.no>

        * pkg.m4: Add a missing AC_MSG_RESULT.  Thanks to Gary Kramlich
        for noticing this and harassing me to fix it.

19 years ago2005-06-29 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:37 +0000 (13:07 +0000)]
2005-06-29  Tollef Fog Heen  <tfheen@err.no>
Author: tfheen
Date: 2005-06-29 11:07:48 GMT
2005-06-29  Tollef Fog Heen  <tfheen@err.no>

    * configure.in: Release 0.18.1

19 years ago2005-06-29 Tollef Fog Heen <tfheen@err.no>
Arch Librarian [Thu, 14 Jul 2005 13:07:36 +0000 (13:07 +0000)]
2005-06-29  Tollef Fog Heen  <tfheen@err.no>
Author: tfheen
Date: 2005-06-29 11:06:59 GMT
2005-06-29  Tollef Fog Heen  <tfheen@err.no>

* pkg.m4: Brown bag fix.  pkg_failed was always set to ���untried���.
Debian #316181.