[Pkg-xfce-commits] r7030 - desktop/trunk/xfce4-dev-tools/debian/patches
Yves-Alexis Perez
corsac at alioth.debian.org
Mon May 21 05:17:22 UTC 2012
Author: corsac
Date: 2012-05-21 05:17:21 +0000 (Mon, 21 May 2012)
New Revision: 7030
Removed:
desktop/trunk/xfce4-dev-tools/debian/patches/0001-Use-pkg-config-macro-for-detection-bug-7787.patch
Log:
drop obsolete patch
Deleted: desktop/trunk/xfce4-dev-tools/debian/patches/0001-Use-pkg-config-macro-for-detection-bug-7787.patch
===================================================================
--- desktop/trunk/xfce4-dev-tools/debian/patches/0001-Use-pkg-config-macro-for-detection-bug-7787.patch 2012-05-21 05:17:00 UTC (rev 7029)
+++ desktop/trunk/xfce4-dev-tools/debian/patches/0001-Use-pkg-config-macro-for-detection-bug-7787.patch 2012-05-21 05:17:21 UTC (rev 7030)
@@ -1,77 +0,0 @@
-From f2eb2c2e9ca7d042eb35fa56f392df4dbaf9924c Mon Sep 17 00:00:00 2001
-From: Nick Schermer <nick at xfce.org>
-Date: Sun, 3 Jul 2011 19:42:38 +0200
-Subject: [PATCH] Use pkg-config macro for detection (bug #7787).
-
-Use the macro shipped with pkg-config for detection of
-$PKG_CONFIG. This to fix cross-build compatibility.
-
-Origin: upstream, http://git.xfce.org/xfce/xfce4-dev-tools/commit/?id=f2eb2c2e9ca7d042eb35fa56f392df4dbaf9924c
-Bug: https://bugzilla.xfce.org/show_bug.cgi?id=7787
----
- m4macros/xdt-depends.m4 | 40 +++++++++++++++++-----------------------
- 1 files changed, 17 insertions(+), 23 deletions(-)
-
-diff --git a/m4macros/xdt-depends.m4 b/m4macros/xdt-depends.m4
-index ccf5a44..e5f6b8c 100644
---- a/m4macros/xdt-depends.m4
-+++ b/m4macros/xdt-depends.m4
-@@ -43,11 +43,23 @@ AC_DEFUN([XDT_PROG_PKG_CONFIG],
- # minimum supported version of pkg-config
- xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
-
-- # lookup pkg-config utility
-- if test x"$PKG_CONFIG" = x""; then
-- AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no])
--
-- if test x"$PKG_CONFIG" = x"no"; then
-+ m4_ifdef([PKG_PROG_PKG_CONFIG],
-+ [
-+ PKG_PROG_PKG_CONFIG([$xdt_cv_PKG_CONFIG_MIN_VERSION])
-+
-+ if test x"$PKG_CONFIG" = x""; then
-+ echo
-+ echo "*** Your version of pkg-config is too old. You need atleast"
-+ echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
-+ echo "*** from the freedesktop.org software repository at"
-+ echo "***"
-+ echo "*** http://www.freedesktop.org/software/pkgconfig"
-+ echo "***"
-+ exit 1;
-+ fi
-+ ],
-+ [
-+ echo
- echo "*** The pkg-config utility could not be found on your system."
- echo "*** Make sure it is in your path, or set the PKG_CONFIG"
- echo "*** environment variable to the full path to pkg-config."
-@@ -57,25 +69,7 @@ AC_DEFUN([XDT_PROG_PKG_CONFIG],
- echo "*** http://www.freedesktop.org/software/pkgconfig"
- echo "***"
- exit 1
-- fi
--
-- # check pkg-config version
-- AC_MSG_CHECKING([for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION])
-- if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
-- xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
-- AC_MSG_RESULT([$xdt_cv_PKG_CONFIG_VERSION])
-- else
-- xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
-- AC_MSG_RESULT([$xdt_cv_PKG_CONFIG_VERSION])
-- echo "*** Your version of pkg-config is too old. You need atleast"
-- echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
-- echo "*** from the freedesktop.org software repository at"
-- echo "***"
-- echo "*** http://www.freedesktop.org/software/pkgconfig"
-- echo "***"
-- exit 1
-- fi
-- fi
-+ ])
- ])
-
-
---
-1.7.5.4
-
More information about the Pkg-xfce-commits
mailing list