diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-05-13 00:39:02 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:39:02 +0200 |
commit | 44560ae20a191fc615fedb28c9c1e07853c377b9 (patch) | |
tree | 28bcff29083bafdbaa25e9a608c5d8492e70697e /office/calibre/patches | |
parent | 86d02a18e417a40dc21be061d793f8bc7e1f8584 (diff) |
office/calibre: Updated for version 0.5.14
Diffstat (limited to 'office/calibre/patches')
-rw-r--r-- | office/calibre/patches/fix-libraries.diff | 37 | ||||
-rw-r--r-- | office/calibre/patches/fix-manpages.diff | 6 | ||||
-rw-r--r-- | office/calibre/patches/post-install-removal.patch (renamed from office/calibre/patches/fix-postinstall.diff) | 24 | ||||
-rw-r--r-- | office/calibre/patches/tagging-form.patch | 12 |
4 files changed, 26 insertions, 53 deletions
diff --git a/office/calibre/patches/fix-libraries.diff b/office/calibre/patches/fix-libraries.diff deleted file mode 100644 index 33006a70c7841..0000000000000 --- a/office/calibre/patches/fix-libraries.diff +++ /dev/null @@ -1,37 +0,0 @@ -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']) diff --git a/office/calibre/patches/fix-manpages.diff b/office/calibre/patches/fix-manpages.diff index 55e7ff8582cf7..50129c6c92d9d 100644 --- a/office/calibre/patches/fix-manpages.diff +++ b/office/calibre/patches/fix-manpages.diff @@ -1,6 +1,6 @@ -diff -Naur calibre-0.5.6.orig/src/calibre/linux.py calibre-0.5.6/src/calibre/linux.py ---- calibre-0.5.6.orig/src/calibre/linux.py 2009-04-09 04:13:27.000000000 +0000 -+++ calibre-0.5.6/src/calibre/linux.py 2009-04-13 22:17:10.000000000 +0000 +diff -Naur calibre-0.5.12.orig/src/calibre/linux.py calibre-0.5.12/src/calibre/linux.py +--- calibre-0.5.12.orig/src/calibre/linux.py 2009-05-15 21:05:52.000000000 +0000 ++++ calibre-0.5.12/src/calibre/linux.py 2009-05-16 04:09:44.000000000 +0000 @@ -417,7 +417,7 @@ def install_man_pages(fatal_errors, use_destdir=False): from calibre.utils.help2man import create_man_page diff --git a/office/calibre/patches/fix-postinstall.diff b/office/calibre/patches/post-install-removal.patch index 676cd384068dc..6a47e957a042c 100644 --- a/office/calibre/patches/fix-postinstall.diff +++ b/office/calibre/patches/post-install-removal.patch @@ -1,27 +1,25 @@ -diff -Naur calibre-0.5.6.orig/setup.py calibre-0.5.6/setup.py ---- calibre-0.5.6.orig/setup.py 2009-04-09 04:13:27.000000000 +0000 -+++ calibre-0.5.6/setup.py 2009-04-13 22:14:41.000000000 +0000 +diff -Naur calibre-0.5.14.orig/setup.py calibre-0.5.14/setup.py +--- calibre-0.5.14.orig/setup.py 2009-05-29 17:25:45.000000000 +0000 ++++ calibre-0.5.14/setup.py 2009-06-27 03:26:58.000000000 +0000 @@ -55,8 +55,6 @@ upload_to_pypi, stage3, stage2, stage1, upload, \ upload_rss - + - entry_points['console_scripts'].append( - 'calibre_postinstall = calibre.linux:post_install') - ext_modules = [ - Extension('calibre.plugins.lzx', - sources=['src/calibre/utils/lzx/lzxmodule.c', ---- calibre-0.5.6.orig/setup.py 2009-04-09 04:13:27.000000000 +0000 -+++ calibre-0.5.6/setup.py 2009-04-13 22:14:41.000000000 +0000 -@@ -179,6 +179,4 @@ + optional = [] + + +@@ -198,6 +196,4 @@ if 'develop' in ' '.join(sys.argv) and islinux: subprocess.check_call('calibre_postinstall --do-not-reload-udev-hal', shell=True) - if 'install' in sys.argv and islinux: - subprocess.check_call('calibre_postinstall', shell=True) -diff -Naur calibre-0.5.6.orig/src/calibre/linux.py calibre-0.5.6/src/calibre/linux.py ---- calibre-0.5.6.orig/src/calibre/linux.py 2009-04-09 04:13:27.000000000 +0000 -+++ calibre-0.5.6/src/calibre/linux.py 2009-04-13 22:17:10.000000000 +0000 +diff -Naur calibre-0.5.14.orig/src/calibre/linux.py calibre-0.5.14/src/calibre/linux.py +--- calibre-0.5.14.orig/src/calibre/linux.py 2009-05-29 17:25:45.000000000 +0000 ++++ calibre-0.5.14/src/calibre/linux.py 2009-06-27 03:26:23.000000000 +0000 @@ -444,7 +444,6 @@ global use_destdir use_destdir = opts.destdir diff --git a/office/calibre/patches/tagging-form.patch b/office/calibre/patches/tagging-form.patch new file mode 100644 index 0000000000000..d1d76e2ff0fef --- /dev/null +++ b/office/calibre/patches/tagging-form.patch @@ -0,0 +1,12 @@ +diff -Naur calibre-0.5.14.orig/src/tagging/forms.py calibre-0.5.14/src/tagging/forms.py +--- calibre-0.5.14.orig/src/tagging/forms.py 2009-05-29 17:25:45.000000000 +0000 ++++ calibre-0.5.14/src/tagging/forms.py 2009-07-01 22:58:17.000000000 +0000 +@@ -16,7 +16,7 @@ + value = self.cleaned_data['name'] + tag_names = parse_tag_input(value) + if len(tag_names) > 1: +- raise ValidationError(_('Multiple tags were given.')) ++ raise forms.ValidationError(_('Multiple tags were given.')) + elif len(tag_names[0]) > settings.MAX_TAG_LENGTH: + raise forms.ValidationError( + _('A tag may be no more than %s characters long.') % |