tags 521868 patch
stop

Hello Daniel,
To find gtk-engines-2, configure file use pkg-config.
Pkg-config need $PKG_CONFIG_PATH environment variable to find the
gtk-engines-2.pc file.
This file is in ./debian 
PKG_CONFIG_PATH=./debian solve the issue
A patch to apply on configure file is attached.

Best regards

Denis Briand
--- gnome-themes-extras-2.22.0/configure.orig	2009-04-07 17:46:35.000000000 +0200
+++ gnome-themes-extras-2.22.0/configure	2009-04-07 20:38:45.000000000 +0200
@@ -12049,11 +12049,11 @@
     else
         if test -n "$PKG_CONFIG" && \
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-engines-2 >= 2.14.0\"") >&5
-  ($PKG_CONFIG --exists --print-errors "gtk-engines-2 >= 2.14.0") 2>&5
+  (PKG_CONFIG_PATH=./debian $PKG_CONFIG --exists --print-errors "gtk-engines-2 >= 2.14.0") 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_GTK_ENGINES_2_CFLAGS=`$PKG_CONFIG --cflags "gtk-engines-2 >= 2.14.0" 2>/dev/null`
+  pkg_cv_GTK_ENGINES_2_CFLAGS=`PKG_CONFIG_PATH=./debian $PKG_CONFIG --cflags "gtk-engines-2 >= 2.14.0" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -12067,11 +12067,11 @@
     else
         if test -n "$PKG_CONFIG" && \
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-engines-2 >= 2.14.0\"") >&5
-  ($PKG_CONFIG --exists --print-errors "gtk-engines-2 >= 2.14.0") 2>&5
+  (PKG_CONFIG_PATH=./debian $PKG_CONFIG --exists --print-errors "gtk-engines-2 >= 2.14.0") 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_GTK_ENGINES_2_LIBS=`$PKG_CONFIG --libs "gtk-engines-2 >= 2.14.0" 2>/dev/null`
+  pkg_cv_GTK_ENGINES_2_LIBS=`PKG_CONFIG_PATH=./debian $PKG_CONFIG --libs "gtk-engines-2 >= 2.14.0" 2>/dev/null`
 else
   pkg_failed=yes
 fi

Attachment: signature.asc
Description: Digital signature

Reply via email to