summaryrefslogtreecommitdiff
path: root/office/calibre/patches/fix-libraries.diff
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-12 23:32:59 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:32:59 +0200
commit3c0d0ed10fd9d54954c21c24951aafbc00c11e0a (patch)
tree5bde069b5347a3ef5cacc9f1e34310814b0b091f /office/calibre/patches/fix-libraries.diff
parent2434206fd0ba430516f5bf6f5a8755438f5d3022 (diff)
downloadslackbuilds-3c0d0ed10fd9d54954c21c24951aafbc00c11e0a.tar.gz
office/calibre: Added to 12.2 repository
Diffstat (limited to 'office/calibre/patches/fix-libraries.diff')
-rw-r--r--office/calibre/patches/fix-libraries.diff37
1 files changed, 37 insertions, 0 deletions
diff --git a/office/calibre/patches/fix-libraries.diff b/office/calibre/patches/fix-libraries.diff
new file mode 100644
index 0000000000..33006a70c7
--- /dev/null
+++ b/office/calibre/patches/fix-libraries.diff
@@ -0,0 +1,37 @@
+diff -Naur calibre-0.5.6.orig/installer/linux/freeze.py calibre-0.5.6/installer/linux/freeze.py
+--- calibre-0.5.6.orig/installer/linux/freeze.py 2009-04-02 22:51:20.000000000 +0000
++++ calibre-0.5.6/installer/linux/freeze.py 2009-04-08 03:30:37.000000000 +0000
+@@ -31,17 +31,17 @@
+ '/usr/lib/libsqlite3.so.0',
+ '/usr/lib/libsqlite3.so.0',
+ '/usr/lib/libmng.so.1',
+- '/lib/libz.so.1',
++ '/usr/lib/libz.so.1',
+ '/lib/libbz2.so.1',
+ '/lib/libbz2.so.1',
+- '/usr/lib/libpoppler.so.4',
++ '/usr/lib/libpoppler.so.3',
+ '/usr/lib/libxml2.so.2',
+ '/usr/lib/libdbus-1.so.3',
+- '/usr/lib/libopenjpeg.so.2',
++ '/usr/lib/libopenjpeg.so.1.3',
+ '/usr/lib/libxslt.so.1',
+ '/usr/lib/libxslt.so.1',
+ '/usr/lib/libgthread-2.0.so.0',
+- '/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libstdc++.so.6',
++ '/usr/lib/libstdc++.so.6',
+ '/usr/lib/libpng12.so.0',
+ '/usr/lib/libexslt.so.0',
+ '/usr/lib/libMagickWand.so',
+diff -Naur calibre-0.5.6.orig/src/calibre/libwand.py calibre-0.5.6/src/calibre/libwand.py
+--- calibre-0.5.6.orig/src/calibre/libwand.py 2009-04-09 04:13:27.000000000 +0000
++++ calibre-0.5.6/src/calibre/libwand.py 2009-04-14 17:04:11.000000000 +0000
+@@ -7,7 +7,7 @@
+ class WandException(Exception):
+ pass
+
+-_lib_name = 'CORE_RL_wand_.dll' if iswindows else 'libWand.dylib' if isosx else 'libWand.so'
++_lib_name = 'CORE_RL_wand_.dll' if iswindows else 'libWand.dylib' if isosx else 'libMagickWand.so'
+ if iswindows and hasattr(sys, 'frozen'):
+ im_dir = os.path.join(os.path.dirname(sys.executable), 'ImageMagick')
+ os.putenv('PATH', im_dir + ';' + os.environ['PATH'])