SOURCES: acroread-gtk.patch (NEW) - fix gtk+ >= 2.10 detection, do...
qboosh
qboosh at pld-linux.org
Fri Dec 8 19:19:21 CET 2006
Author: qboosh Date: Fri Dec 8 18:19:20 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix gtk+ >= 2.10 detection, don't require gtk+2-devel
---- Files affected:
SOURCES:
acroread-gtk.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/acroread-gtk.patch
diff -u /dev/null SOURCES/acroread-gtk.patch:1.1
--- /dev/null Fri Dec 8 19:19:20 2006
+++ SOURCES/acroread-gtk.patch Fri Dec 8 19:19:14 2006
@@ -0,0 +1,29 @@
+--- AdobeReader/bin/acroread.orig 2006-12-08 18:08:30.110314000 +0100
++++ AdobeReader/bin/acroread 2006-12-08 18:15:15.677426827 +0100
+@@ -415,7 +415,7 @@
+ return 1
+ fi
+
+- echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
++ echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\+\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
+ return 0
+ fi
+
+@@ -446,7 +446,7 @@
+ continue
+ fi
+
+- ifile="$idir"/libgtk-x11-2.0.so
++ ifile="$idir"/libgtk-x11-2.0.so.0
+
+ base_version="$1"
+ version=`get_gtk_file_ver "$ifile"`
+@@ -476,7 +476,7 @@
+ OLD_IFS=""
+
+ # This checks for libs in cache /etc/ld.so.cache
+- for ifile in `/sbin/ldconfig -p|grep "libgtk-x11-2.0.so$"|sed 's/.*[ \t]*=>[ \t]*\(.*\)/\1/g' 2>/dev/null`; do
++ for ifile in `/sbin/ldconfig -p|grep "libgtk-x11-2.0.so.0$"|sed 's/.*[ \t]*=>[ \t]*\(.*\)/\1/g' 2>/dev/null`; do
+ version=`get_gtk_file_ver "$ifile"`
+
+ while [ ${#version} -gt ${#base_version} ]; do
================================================================
More information about the pld-cvs-commit
mailing list