debian/0000755000000000000000000000000012170565564007201 5ustar debian/docs0000644000000000000000000000002412124345065010037 0ustar README AUTHORS NEWS debian/compat0000644000000000000000000000000212124345065010366 0ustar 7 debian/pkg-config.install0000644000000000000000000000005112124345065012600 0ustar debian/pkg-config-crosswrapper usr/share debian/rules0000755000000000000000000000257112170563705010261 0ustar #! /usr/bin/make -f DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) SET_PKG_CONFIG = PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config GCC = $(DEB_HOST_GNU_TYPE)-gcc else GCC = gcc endif SYSTEM_LIBDIRS := $(shell for opt in '' $$($${CC-$(GCC)} -print-multi-lib | sed -n -e's/.*;@/-/p'); do \ $(GCC) $$opt -print-search-dirs | sed -n -e's/^libraries: =//p' \ | sed -e's/:/\n/g' | xargs -n1 readlink -f | grep -v 'gcc\|/[0-9.]\+$$'; \ done | sort -u | tr '\n' : | sed 's/:$$//') %: dh $@ --with autoreconf override_dh_auto_configure: $(SET_PKG_CONFIG) ./configure --prefix=/usr \ --build=$(DEB_BUILD_GNU_TYPE) \ --host=$(DEB_HOST_GNU_TYPE) \ --with-installed-popt \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info --disable-shared \ --with-pc-path=/usr/local/lib/$(DEB_HOST_MULTIARCH)/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig \ --with-system-library-path=$(SYSTEM_LIBDIRS) override_dh_auto_clean: [ ! -f Makefile ] || $(MAKE) distclean DIST_SUBDIRS="popt check" chmod +x debian/pkg-config-crosswrapper check/check-tilde debian/copyright0000644000000000000000000000140312124345065011121 0ustar This is the Debian package of freedesktop.org pkgconfig. Copyright (C) 2001, 2002 Red Hat Inc. Copyright (C) 2004, 2005 Tollef Fog Heen License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. debian/source/0000755000000000000000000000000012124345640010467 5ustar debian/source/format0000644000000000000000000000001412124345640011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012124607173010620 5ustar debian/patches/allow-tilde-through-unescaped.patch0000644000000000000000000000355412124607173017510 0ustar Description: Allow ~ through unescaped (Backported from trunk by Colin Watson; some test tweaks.) Author: Michał Sawicz Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57078 Forwarded: https://bugs.freedesktop.org/show_bug.cgi?id=57078 Last-Update: 2013-03-26 Index: b/check/Makefile.am =================================================================== --- a/check/Makefile.am +++ b/check/Makefile.am @@ -2,11 +2,11 @@ TESTS = check-cflags check-libs check-define-variable \ check-libs-private check-requires-private check-includedir \ check-conflicts check-missing check-idirafter check-whitespace \ - check-cmd-options + check-cmd-options check-tilde EXTRA_DIST = $(TESTS) common simple.pc requires-test.pc public-dep.pc \ private-dep.pc includedir.pc missing-requires-private.pc \ missing-requires.pc idirafter.pc conflicts-test.pc whitespace.pc \ - fields-blank.pc + fields-blank.pc tilde.pc DISTCLEANFILES = config.sh Index: b/check/check-tilde =================================================================== --- /dev/null +++ b/check/check-tilde @@ -0,0 +1,15 @@ +#! /bin/sh + +set -e + +. ${srcdir}/common + +# expect unescaped tilde from cflags +ARGS="--cflags tilde" +RESULT='-I~' +run_test + +# expect unescaped tilde from libs +ARGS="--libs tilde" +RESULT='-L~' +run_test Index: b/check/tilde.pc =================================================================== --- /dev/null +++ b/check/tilde.pc @@ -0,0 +1,5 @@ +Name: tilde +Description: tilde test module +Version: 1.0 +Libs: -L~ +Cflags: -I~ Index: b/parse.c =================================================================== --- a/parse.c +++ b/parse.c @@ -643,7 +643,8 @@ (s[0] > '=' && s[0] < '@') || (s[0] > 'Z' && s[0] < '^') || (s[0] == '`') || - (s[0] > 'z')) { + (s[0] > 'z' && s[0] < '~') || + (s[0] > '~')) { r[c] = '\\'; c++; } debian/patches/series0000644000000000000000000000004412124345673012037 0ustar allow-tilde-through-unescaped.patch debian/dirs0000644000000000000000000000004612124345065010054 0ustar usr/lib/pkgconfig usr/share/pkgconfig debian/control0000644000000000000000000000137212124346102010567 0ustar Source: pkg-config Section: devel Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Tollef Fog Heen Build-Depends: debhelper (>= 7.0.50), libglib2.0-dev, libpopt-dev, dh-autoreconf Homepage: http://pkg-config.freedesktop.org Standards-Version: 3.8.4 Package: pkg-config Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: manage compile and link flags for libraries pkg-config is a system for managing library compile and link flags that works with automake and autoconf. . Increasingly libraries ship with ".pc" files that allow querying of the compiler and linker flags needed to use them through the pkg-config(1) program. debian/pkg-config-crosswrapper0000755000000000000000000000036712124345065013700 0ustar #! /bin/sh # pkg-config wrapper for cross-building # Sets pkg-config search path to target arch path only. triplet=`basename $0 | sed -e 's:-pkg-config::'` PKG_CONFIG_PATH=/usr/lib/${triplet}/pkgconfig:/usr/${triplet}/lib/pkgconfig pkg-config $@ debian/changelog0000644000000000000000000002620012170565555011053 0ustar pkg-config (0.26-1ubuntu4) saucy; urgency=low * debian/rules: Set GCC and PKG_CONFIG for cross builds. -- Matthias Klose Sun, 14 Jul 2013 19:58:59 +0200 pkg-config (0.26-1ubuntu3) raring; urgency=low * Apply upstream patch from Michał Sawicz to allow ~ through unescaped. * Trivially convert to 3.0 (quilt) and dh-autoreconf to help apply the above patch. -- Colin Watson Wed, 27 Mar 2013 15:21:34 +0000 pkg-config (0.26-1ubuntu2) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Mon, 08 Oct 2012 08:38:49 +0100 pkg-config (0.26-1ubuntu1) oneiric; urgency=low * debian/pkg-config-crosswrapper: fix to use PKG_CONFIG_PATH pointed to both the multiarch path and the traditional cross-build path, instead of just settting PKG_CONFIG_LIBDIR to the traditional cross-compiler path, so that we can use this successfully in a multiarch environment. Closes: #631275. * debian/control: mark pkg-config Multi-Arch: foreign; it provides an executable interface which points to architecture-dependent paths, but those paths only need to be overridden in a cross-build environment, in which case it's the responsibility of the cross-toolchain packages to provide the appropriate glue. -- Steve Langasek Sat, 02 Jul 2011 16:24:53 -0700 pkg-config (0.26-1) unstable; urgency=low * New upstream release - Updated usage message. Closes: #389066 - Fixes old bug. Closes: #475031 - Allows PKG_CONFIG_LIBDIR. Closes: #398901 - Man page documents how to get the default search path. Closes: #576320 * Switch to multiarch paths. Thanks to Steve Langasek for the patch. Closes: #590992 * Strip out multiarch library paths. Closes: #482884 * Drop a cross wrapper into /usr/share. Thanks to Wookey for the implementation. Closes: #217902 * Re-add two missing lines in Changelog which were accidentially removed. -- Tollef Fog Heen Sun, 15 May 2011 14:37:09 +0200 pkg-config (0.25-1.1) unstable; urgency=low * Non-maintainer upload. * pkg.m4: Apply commit 2b86e9b from upstream, to fix compatibility with autoconf (>= 2.66). (Closes: #591547) -- Tim Retout Sun, 03 Oct 2010 17:13:29 +0100 pkg-config (0.25-1) unstable; urgency=low * New upstream release - Stops escaping = and : in output. Closes: #582995 * Build with external libpopt. -- Tollef Fog Heen Fri, 28 May 2010 18:16:36 +0200 pkg-config (0.24-1) unstable; urgency=low * New upstream release. closes: #476947 - Marks PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR as precious. Closes: #398901 - Give the ability to log, closes: #528240 - Adds description of Requires.Private to man page. Closes: #341977 - Fixes man page formatting. Closes: #398434 * Add ${misc:Depends} to control * Bump debhelper version to 7, switch to dh * Add homepage field to control * Update Standards-Version field to 3.8.4. -- Tollef Fog Heen Sun, 23 May 2010 23:38:20 +0200 pkg-config (0.22-1) unstable; urgency=low * New upstream release - Make Requires.private a whole lot more useful by traversing the whole tree, not just the top-level, for Cflags. Closes: #390132 - Add support for using the system glib. * Build using system glib. * Add _GNU_SOURCE to the list of defines to make strsignal appear. Closes: #316384 * Remove suggests for libgnome-dev. Closes: #405901 -- Tollef Fog Heen Mon, 18 Jun 2007 23:38:59 +0200 pkg-config (0.21-1) unstable; urgency=low * New upstream release - Adds internal pkg-config package. (closes: #254289) - Supports escaping $ rather than %. (closes: #378570) - Always adds all cflags. (closes: #340904) * Includes full NEWS file. (closes: #334896) * Remove libglib2.0-dev build-deps. (closes: #350176) -- Tollef Fog Heen Wed, 16 Aug 2006 21:11:21 +0200 pkg-config (0.20-1) unstable; urgency=low * New upstream release - Fixes segfault with --help and gcc4 (closes: #321961) - New pkg.m4 uses --short-errors and spits out a more sensible error when some dependencies aren't found. (closes: #321970) * Install upstream ChangeLog (closes: #318718) -- Tollef Fog Heen Mon, 17 Oct 2005 07:47:58 +0200 pkg-config (0.19-1) unstable; urgency=low * New upstream release -- Tollef Fog Heen Sat, 16 Jul 2005 12:26:33 +0200 pkg-config (0.18.1-1) unstable; urgency=low * New upstream release - Fix brown bag bug where pkg.m4 always set pkg_failed to untried. (closes: #316181) -- Tollef Fog Heen Wed, 29 Jun 2005 12:58:21 +0200 pkgconfig (0.18-1) unstable; urgency=low * New upstream release - Fixes PKG_CONFIG_LIBDIR again. (closes: #313004) - Includes documentation on the fact that the first check for PKG_CHECK_MODULES must not be conditional. (closes: #303211) - Only links with public libraries now. (closes: #229980) * Remove --no-indirect-deps to configure. -- Tollef Fog Heen Mon, 27 Jun 2005 23:07:03 +0200 pkgconfig (0.17.2-1) unstable; urgency=low * New upstream release, no Debian-related changes. -- Tollef Fog Heen Sun, 17 Apr 2005 13:23:59 +0200 pkgconfig (0.17.1-1) unstable; urgency=low * New upstream release -- Tollef Fog Heen Tue, 12 Apr 2005 23:12:48 +0200 pkgconfig (0.17-1) unstable; urgency=low * New upstream release - evaluate second argument again (closes: #303969) * pass --disable-indirect-deps to configure for now. This'll change post-sarge, but we don't want to introduce breakage now. * lowercase first letter in description to shut up lintian -- Tollef Fog Heen Tue, 12 Apr 2005 13:21:08 +0200 pkgconfig (0.16.0-1) unstable; urgency=low * New maintainer. * New upstream release - Don't break off from --list-all when provides isn't met (closes: #232719) - Quote PKG_CHECK_MODULES properly (closes: #274477) - Minor man page fix (closes: #223245) - Fixes --errors-to-stdout (closes: #202409) - Include more robust pkg.m4 (closes: #221818) * Add multiarch search paths to default search path * Make sure /usr/local/pkgconfig is in the default search path (closes: #245717) * Add /usr/local/share/pkgconfig and /usr/share/pkgconfig to default search path -- Tollef Fog Heen Fri, 18 Feb 2005 18:08:58 +0100 pkgconfig (0.15.0-4) unstable; urgency=low * New Maintainer. * Moved into my package infrastructure and cleaned up: - debian/copyright updated to my template to include no warranty disclaimer. - AUTHORS added to docs, removed from copyright - NEWS added to docs. * Regenerated auto* using libtool_1.5.2-2 which really contains the FreeBSD support, the experimental 1.6 package doesn't. -- Scott James Remnant Sun, 28 Mar 2004 19:04:50 +0100 pkgconfig (0.15.0-3) unstable; urgency=low * [debian/rules] Extended the 'autogen' target. * [debian/control] Updated Standards-Version. * Regenerated auto* using libtool 1.6-0+1.5a-1 from experimental to support the Debian GNU/KFreeBSD port. (Closes: 218415) -- J.H.M. Dassen (Ray) Fri, 31 Oct 2003 09:33:04 +0100 pkgconfig (0.15.0-2) unstable; urgency=low * [configure.in] Removed some leftover experimental code; test for the actual system glib when deciding whether to use the sytem glib or the local copy. This means that in a bootstrapping setting the Build-Depends on glib can be ignored. (Closes: #181947) * [debian/rules] Clean out autom4te.cache . -- J.H.M. Dassen (Ray) Sun, 2 Mar 2003 11:48:32 +0100 pkgconfig (0.15.0-1) unstable; urgency=low * New maintainer. * Acknowledge NMUs. (Closes: #132474, #135742, #149825, #149831, #162870, #164500) * New upstream release. Changes include: - add PKG_CONFIG_LIBDIR for cross-compiling (David Schleef) (Closes: #177709) * [debian/control] Added Suggests: libgnome-dev (for gnome-config, which pkg-config falls back on when no .pc file is found). (Closes: #172008) * [debian/control] Updated Standards-Version; changed description. * [debian/rules] Added "autogen" target to re-auto* things. * [debian/copyright] Updated; fixed lintian warning. * [configure.in, debian/control] On Debian, use the system glib instead of the local copy. (Closes: #159895) * [pkg.c] Include /usr/local/lib/pkgconfig in the default search path for .pc files. (Closes: #159507) -- J.H.M. Dassen (Ray) Sun, 16 Feb 2003 14:01:27 +0100 pkgconfig (0.14.0-0.4) unstable; urgency=low * NMU * Update config.{sub,guess} in the included glib source automatically as well. -- J.H.M. Dassen (Ray) Mon, 14 Oct 2002 08:10:06 +0200 pkgconfig (0.14.0-0.3) unstable; urgency=low * NMU * -0.2 still had a FTBFS on mipsel. Now use dpkg-architecture to set --build argument to configure. -- J.H.M. Dassen (Ray) Sun, 13 Oct 2002 16:09:46 +0200 pkgconfig (0.14.0-0.2) unstable; urgency=low * NMU * Updated config.{sub,guess} (20010907 -> 20020703). Should fix the FTBFS on mipsel. * Automatically update config.{sub,guess} from autotools-dev in 'clean' target, if possible. -- J.H.M. Dassen (Ray) Sun, 13 Oct 2002 16:09:46 +0200 pkgconfig (0.14.0-0.1) unstable; urgency=low * NMU, OKed by maintainer. * New upstream release. (Closes: #162870) Includes * parse.c, pkg.c: handle other_libs other_cflags same as -l/-L/-I flags, so we pull in from dependent packages. which fixes the with issues -pthread and the likes. * Dropped obsoleted "dh_testversion" from debian/rules. * Updated Standards-Version. -- J.H.M. Dassen (Ray) Fri, 11 Oct 2002 19:16:30 +0200 pkgconfig (0.12.0-0.1) unstable; urgency=low * NMU * New upstream release (Closes: #135742, #149825, #149831) -- David Schleef Fri, 28 Jun 2002 15:38:52 -0700 pkgconfig (0.11.0-0.1) unstable; urgency=low * New upstream release * NMU -- Takuo KITAME Sun, 10 Mar 2002 19:27:18 +0900 pkgconfig (0.10.0-0.1) unstable; urgency=low * New upstream release (closes: #132474, #133585) * NMU -- Takuo KITAME Wed, 6 Feb 2002 02:54:26 +0900 pkgconfig (0.8.0-1.1) unstable; urgency=low * NMU * Also need to update glib-1.2.8/config.{guess,sub}. Re Closes: #103344 -- LaMont Jones Fri, 19 Oct 2001 08:10:36 -0600 pkgconfig (0.8.0-1) unstable; urgency=low * New upstream version (Closes: bug#106112). * Updated config.sub and config.guess (Closes: bug#103344). -- Paolo Molaro Sun, 16 Sep 2001 18:34:00 +0200 pkgconfig (0.7.0-1) unstable; urgency=low * New upstream version. -- Paolo Molaro Sun, 10 Jun 2001 15:57:15 +0200 pkgconfig (0.5.0-1) unstable; urgency=low * Initial Release. -- Paolo Molaro Wed, 7 Mar 2001 17:45:15 +0100