]> git.pld-linux.org Git - packages/acroread.git/commitdiff
- fix gtk+ >= 2.10 detection, don't require gtk+2-devel
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 8 Dec 2006 18:19:14 +0000 (18:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acroread-gtk.patch -> 1.1

acroread-gtk.patch [new file with mode: 0644]

diff --git a/acroread-gtk.patch b/acroread-gtk.patch
new file mode 100644 (file)
index 0000000..8ca2f9a
--- /dev/null
@@ -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
This page took 0.076501 seconds and 4 git commands to generate.