--- mingw-x-pkgconfig-0.26.orig/debian/copyright +++ mingw-x-pkgconfig-0.26/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Tobias Doerffel on +Tue, 02 May 2006 22:53:45 +0100. + +Copyright: + + This package 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; version 2 dated June, 1991. + + This package 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. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- mingw-x-pkgconfig-0.26.orig/debian/rules +++ mingw-x-pkgconfig-0.26/debian/rules @@ -0,0 +1,89 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=5 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CFLAGS = -Wall -O2 +PREFIX=/opt/mingw + +configure: configure-stamp +configure-stamp: + dh_testdir + + mkdir -p BUILD/32 && tar xzf pkg-config-*.tar.gz -C BUILD/32 --strip-components=1 + mkdir -p BUILD/64 && tar xzf pkg-config-*.tar.gz -C BUILD/64 --strip-components=1 + + cd BUILD/32 && patch -p1 < $(CURDIR)/debian/patches/hardcode-search-path-32.diff + cd BUILD/64 && patch -p1 < $(CURDIR)/debian/patches/hardcode-search-path-64.diff + + cd BUILD/32 && ./configure --prefix=$(PREFIX)32 + cd BUILD/64 && ./configure --prefix=$(PREFIX)64 + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + + cd BUILD/32 && $(MAKE) + cd BUILD/64 && $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -rf build-stamp configure-stamp BUILD + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + cd BUILD/32 && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/ + cd BUILD/64 && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/ + + mv $(CURDIR)/debian/tmp/$(PREFIX)32/bin/pkg-config $(CURDIR)/debian/tmp/$(PREFIX)32/bin/i686-w64-mingw32-pkg-config + mv $(CURDIR)/debian/tmp/$(PREFIX)64/bin/pkg-config $(CURDIR)/debian/tmp/$(PREFIX)64/bin/x86_64-w64-mingw32-pkg-config + +binary-indep: build install + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_movefiles -a + dh_installdocs -a + dh_installexamples -a + dh_install -a + dh_link -a + dh_strip -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_installchangelogs BUILD/32/ChangeLog + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +# Build architecture dependant packages using the common target. +binary: binary-arch binary-indep +.PHONY: build clean binary-indep binary-arch binary install configure --- mingw-x-pkgconfig-0.26.orig/debian/control +++ mingw-x-pkgconfig-0.26/debian/control @@ -0,0 +1,17 @@ +Source: mingw-x-pkgconfig +Section: devel +Priority: optional +Maintainer: Tobias Doerffel +Uploaders: Tobias Doerffel +Build-Depends: debhelper (>> 4.0.0), make, gcc, libglib2.0-dev +Standards-Version: 3.6.2 + +Package: mingw32-x-pkgconfig +Architecture: any +Depends: ${shlibs:Depends} +Description: MinGW32-X - pkgconfig + +Package: mingw64-x-pkgconfig +Architecture: any +Depends: ${shlibs:Depends} +Description: MinGW64-X - pkgconfig --- mingw-x-pkgconfig-0.26.orig/debian/mingw64-x-pkgconfig.install +++ mingw-x-pkgconfig-0.26/debian/mingw64-x-pkgconfig.install @@ -0,0 +1 @@ +debian/tmp/opt/mingw64/* --- mingw-x-pkgconfig-0.26.orig/debian/changelog +++ mingw-x-pkgconfig-0.26/debian/changelog @@ -0,0 +1,56 @@ +mingw-x-pkgconfig (0.26-3kxstudio2) precise; urgency=low + + * Install no-prefixed bin as well + + -- falkTX Sat, 01 Jun 2013 02:12:56 +0100 + +mingw-x-pkgconfig (0.26-3kxstudio1) precise; urgency=low + + * KXStudio package + + -- falkTX Wed, 25 Jul 2012 07:57:30 +0100 + +mingw-x-pkgconfig (0.26-2) unstable; urgency=low + + * added missing build dependency libglib2.0-dev + + -- Tobias Doerffel Wed, 02 May 2012 19:08:11 +0200 + +mingw-x-pkgconfig (0.26-1) unstable; urgency=low + + * new upstream version + + -- Tobias Doerffel Wed, 02 May 2012 16:32:16 +0200 + +mingw-x-pkgconfig (0.23-5) unstable; urgency=low + + * Rebuild with updated GCC + + -- Tobias Doerffel Fri, 15 Oct 2010 23:00:59 +0200 + +mingw-x-pkgconfig (0.23-4) unstable; urgency=low + + * Added host triplet prefix to pkg-config binaries to silence configure + warnings with other source packages + + -- Tobias Doerffel Sat, 06 Mar 2010 12:57:33 +0100 + +mingw-x-pkgconfig (0.23-3) unstable; urgency=low + + * Made package a hybrid (multilib) package + * Made changes which are neccessary due to new mingw64-based environment + * Build architecture-independent packages + + -- Tobias Doerffel Fri, 05 Mar 2010 14:33:17 +0100 + +mingw-x-pkgconfig (0.23-2) unstable; urgency=low + + * use /opt/mingw32 as prefix + + -- Tobias Doerffel Mon, 19 Jan 2009 00:17:32 +0100 + +mingw-x-pkgconfig (0.23-1) unstable; urgency=low + + * new upstream version + + -- Tobias Doerffel Sun, 26 Oct 2008 00:56:25 +0200 --- mingw-x-pkgconfig-0.26.orig/debian/mingw32-x-pkgconfig.install +++ mingw-x-pkgconfig-0.26/debian/mingw32-x-pkgconfig.install @@ -0,0 +1 @@ +debian/tmp/opt/mingw32/* --- mingw-x-pkgconfig-0.26.orig/debian/compat +++ mingw-x-pkgconfig-0.26/debian/compat @@ -0,0 +1 @@ +5 --- mingw-x-pkgconfig-0.26.orig/debian/dirs +++ mingw-x-pkgconfig-0.26/debian/dirs @@ -0,0 +1 @@ +/opt --- mingw-x-pkgconfig-0.26.orig/debian/docs +++ mingw-x-pkgconfig-0.26/debian/docs @@ -0,0 +1 @@ +BUILD/32/README --- mingw-x-pkgconfig-0.26.orig/debian/mingw32-x-pkgconfig.links +++ mingw-x-pkgconfig-0.26/debian/mingw32-x-pkgconfig.links @@ -0,0 +1 @@ +/opt/mingw32/bin/i686-w64-mingw32-pkg-config /opt/mingw32/i686-w64-mingw32/bin/pkg-config --- mingw-x-pkgconfig-0.26.orig/debian/mingw64-x-pkgconfig.links +++ mingw-x-pkgconfig-0.26/debian/mingw64-x-pkgconfig.links @@ -0,0 +1 @@ +/opt/mingw64/bin/x86_64-w64-mingw32-pkg-config /opt/mingw64/x86_64-w64-mingw32/bin/pkg-config --- mingw-x-pkgconfig-0.26.orig/debian/patches/hardcode-search-path-32.diff +++ mingw-x-pkgconfig-0.26/debian/patches/hardcode-search-path-32.diff @@ -0,0 +1,21 @@ +--- pkg-config-0.23/main.c ++++ pkg-config-0.23/main.c +@@ -282,7 +282,8 @@ main (int argc, char **argv) + debug_spew ("PKG_CONFIG_DEBUG_SPEW variable enabling debug spew\n"); + } + +- search_path = getenv ("PKG_CONFIG_PATH"); ++ add_search_dirs("/opt/mingw32/lib/pkgconfig", G_SEARCHPATH_SEPARATOR_S); ++/* search_path = getenv ("PKG_CONFIG_PATH"); + if (search_path) + { + add_search_dirs(search_path, G_SEARCHPATH_SEPARATOR_S); +@@ -294,7 +295,7 @@ main (int argc, char **argv) + else + { + add_search_dirs(PKG_CONFIG_PC_PATH, G_SEARCHPATH_SEPARATOR_S); +- } ++ }*/ + + #ifdef G_OS_WIN32 + { --- mingw-x-pkgconfig-0.26.orig/debian/patches/hardcode-search-path-64.diff +++ mingw-x-pkgconfig-0.26/debian/patches/hardcode-search-path-64.diff @@ -0,0 +1,21 @@ +--- pkg-config-0.23/main.c ++++ pkg-config-0.23/main.c +@@ -282,7 +282,8 @@ main (int argc, char **argv) + debug_spew ("PKG_CONFIG_DEBUG_SPEW variable enabling debug spew\n"); + } + +- search_path = getenv ("PKG_CONFIG_PATH"); ++ add_search_dirs("/opt/mingw64/lib/pkgconfig", G_SEARCHPATH_SEPARATOR_S); ++/* search_path = getenv ("PKG_CONFIG_PATH"); + if (search_path) + { + add_search_dirs(search_path, G_SEARCHPATH_SEPARATOR_S); +@@ -294,7 +295,7 @@ main (int argc, char **argv) + else + { + add_search_dirs(PKG_CONFIG_PC_PATH, G_SEARCHPATH_SEPARATOR_S); +- } ++ }*/ + + #ifdef G_OS_WIN32 + {