Package: gtkglext
Followup-For: Bug #359688

tags 359688 +patch
thanks

Please apply the following patch against configure(.in), or grant me
permission to do so myself in an NMU.  (FTR, autoconf pulled in some
unrelated fixes to X detection, but leaving them in shouldn't hurt
anything.)

Thanks!

--- gtkglext-1.0.6/configure
+++ gtkglext-1.0.6/configure
@@ -20080,20 +20080,20 @@
         echo "$as_me:$LINENO: checking for \
 gtk+-2.0 >= 2.0.0 \
 gdk-2.0 >= 2.0.0 \
-pango >= 1.0.0 \
+pangox >= 1.0.0 \
 gmodule-2.0 >= 2.0.0 \
 " >&5
 echo $ECHO_N "checking for \
 gtk+-2.0 >= 2.0.0 \
 gdk-2.0 >= 2.0.0 \
-pango >= 1.0.0 \
+pangox >= 1.0.0 \
 gmodule-2.0 >= 2.0.0 \
 ... $ECHO_C" >&6
 
         if $PKG_CONFIG --exists "\
 gtk+-2.0 >= 2.0.0 \
 gdk-2.0 >= 2.0.0 \
-pango >= 1.0.0 \
+pangox >= 1.0.0 \
 gmodule-2.0 >= 2.0.0 \
 " ; then
             echo "$as_me:$LINENO: result: yes" >&5
@@ -20105,7 +20105,7 @@
             BASE_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "\
 gtk+-2.0 >= 2.0.0 \
 gdk-2.0 >= 2.0.0 \
-pango >= 1.0.0 \
+pangox >= 1.0.0 \
 gmodule-2.0 >= 2.0.0 \
 "`
             echo "$as_me:$LINENO: result: $BASE_DEPENDENCIES_CFLAGS" >&5
@@ -20116,7 +20116,7 @@
             BASE_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "\
 gtk+-2.0 >= 2.0.0 \
 gdk-2.0 >= 2.0.0 \
-pango >= 1.0.0 \
+pangox >= 1.0.0 \
 gmodule-2.0 >= 2.0.0 \
 "`
             echo "$as_me:$LINENO: result: $BASE_DEPENDENCIES_LIBS" >&5
@@ -20129,7 +20129,7 @@
             BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout 
--print-errors "\
 gtk+-2.0 >= 2.0.0 \
 gdk-2.0 >= 2.0.0 \
-pango >= 1.0.0 \
+pangox >= 1.0.0 \
 gmodule-2.0 >= 2.0.0 \
 "`
             echo $BASE_DEPENDENCIES_PKG_ERRORS
@@ -20149,13 +20149,13 @@
      { { echo "$as_me:$LINENO: error: Library requirements (\
 gtk+-2.0 >= 2.0.0 \
 gdk-2.0 >= 2.0.0 \
-pango >= 1.0.0 \
+pangox >= 1.0.0 \
 gmodule-2.0 >= 2.0.0 \
 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your 
libraries are in a nonstandard prefix so pkg-config can find them." >&5
 echo "$as_me: error: Library requirements (\
 gtk+-2.0 >= 2.0.0 \
 gdk-2.0 >= 2.0.0 \
-pango >= 1.0.0 \
+pangox >= 1.0.0 \
 gmodule-2.0 >= 2.0.0 \
 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your 
libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
    { (exit 1); exit 1; }; }
@@ -22034,7 +22034,7 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
-#include <X11/Intrinsic.h>
+#include <X11/Xlib.h>
 _ACEOF
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
@@ -22061,7 +22061,7 @@
 sed 's/^/| /' conftest.$ac_ext >&5
 
   for ac_dir in $ac_x_header_dirs; do
-  if test -r "$ac_dir/X11/Intrinsic.h"; then
+  if test -r "$ac_dir/X11/Xlib.h"; then
     ac_x_includes=$ac_dir
     break
   fi
@@ -22075,18 +22075,18 @@
   # See if we find them without any special options.
   # Don't add to $LIBS permanently.
   ac_save_LIBS=$LIBS
-  LIBS="-lXt $LIBS"
+  LIBS="-lX11 $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
-#include <X11/Intrinsic.h>
+#include <X11/Xlib.h>
 int
 main ()
 {
-XtMalloc (0)
+XrmInitialize ()
   ;
   return 0;
 }
@@ -22124,7 +22124,7 @@
 do
   # Don't even attempt the hair of trying to link an X program!
   for ac_extension in a so sl; do
-    if test -r $ac_dir/libXt.$ac_extension; then
+    if test -r $ac_dir/libX11.$ac_extension; then
       ac_x_libraries=$ac_dir
       break 2
     fi
@@ -25497,7 +25497,7 @@
 # CFLAGS and LIBS
 ##################################################
 
-GDKGLEXT_PACKAGES="gdk-2.0 pango gmodule-2.0"
+GDKGLEXT_PACKAGES="gdk-2.0 pangox gmodule-2.0"
 GDKGLEXT_EXTRA_CFLAGS="$GL_CFLAGS $GDKGLEXT_WIN_CFLAGS"
 GDKGLEXT_EXTRA_LIBS="$GL_LIBS $GDKGLEXT_WIN_LIBS"
 GDKGLEXT_DEP_CFLAGS="$GDKGLEXT_EXTRA_CFLAGS `$PKG_CONFIG --cflags 
$GDKGLEXT_PACKAGES`"
--- gtkglext-1.0.6.orig/configure.in
+++ gtkglext-1.0.6/configure.in
@@ -56,7 +56,7 @@
 m4_define([gmodule_required_version], [2.0.0])
 
 # Pango
-m4_define([pango_pkg], [pango])
+m4_define([pango_pkg], [pangox])
 m4_define([pango_required_version], [1.0.0])
 
 # PangoFT2


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (300, 'unstable'), (300, 
'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to