summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
Diffstat (limited to 'office')
-rw-r--r--office/calibre/calibre.SlackBuild7
-rw-r--r--office/calibre/calibre.info6
-rw-r--r--office/calibre/patches/calibre_noqthack.patch26
-rw-r--r--office/calibre/patches/fix-shebangs.patch27
4 files changed, 4 insertions, 62 deletions
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild
index f27b47ca87..2375b75fa1 100644
--- a/office/calibre/calibre.SlackBuild
+++ b/office/calibre/calibre.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=calibre
-VERSION=${VERSION:-1.4.0}
+VERSION=${VERSION:-1.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,13 +74,8 @@ find . \
patch -p1 < $CWD/patches/remove-desktop-integration.patch
# Fix calibre module location.
patch -p1 < $CWD/patches/calibre-module-fix.patch
-# Fix shebangs.
-patch -p1 < $CWD/patches/fix-shebangs.patch
# Make sure version string is correct.
sed -i "/^numeric_version/s|(.*)|(${VERSION//\./, })|" src/calibre/constants.py
-# Don't build qt_hack. Calibre dev won't fix. Patch from AlienBob.
-# https://bugs.launchpad.net/calibre/+bug/1094719
-patch -p1 < $CWD/patches/calibre_noqthack.patch
# Remove calibre portable scripts.
rm -f resources/calibre-portable.*
diff --git a/office/calibre/calibre.info b/office/calibre/calibre.info
index 747edc008a..7643c84c41 100644
--- a/office/calibre/calibre.info
+++ b/office/calibre/calibre.info
@@ -1,8 +1,8 @@
PRGNAM="calibre"
-VERSION="1.4.0"
+VERSION="1.10.0"
HOMEPAGE="http://calibre-ebook.com"
-DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.4.0.tar.xz"
-MD5SUM="7d5b331bd81d5f2d40e126059a49ce0f"
+DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.10.0.tar.xz"
+MD5SUM="736dba201646affa7d579bb8b9cf77f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cssutils dnspython lxml mechanize podofo python-dateutil netifaces psutil cssselect apsw"
diff --git a/office/calibre/patches/calibre_noqthack.patch b/office/calibre/patches/calibre_noqthack.patch
deleted file mode 100644
index b5355920d2..0000000000
--- a/office/calibre/patches/calibre_noqthack.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- calibre/setup/extensions.py.orig 2012-12-28 04:59:30.000000000 +0100
-+++ calibre/setup/extensions.py 2012-12-28 23:05:09.572200438 +0100
-@@ -183,13 +183,6 @@
- sip_files = ['calibre/gui2/progress_indicator/QProgressIndicator.sip']
- ),
-
-- Extension('qt_hack',
-- ['calibre/ebooks/pdf/render/qt_hack.cpp'],
-- inc_dirs = qt_private_inc + ['calibre/ebooks/pdf/render', 'qt-harfbuzz/src'],
-- headers = ['calibre/ebooks/pdf/render/qt_hack.h'],
-- sip_files = ['calibre/ebooks/pdf/render/qt_hack.sip']
-- ),
--
- Extension('unrar',
- ['unrar/%s.cpp'%(x.partition('.')[0]) for x in '''
- rar.o strlist.o strfn.o pathfn.o savepos.o smallfn.o global.o file.o
---- calibre/src/calibre/constants.py.orig 2012-12-28 04:59:30.000000000 +0100
-+++ calibre/src/calibre/constants.py 2012-12-28 23:07:10.690575371 +0100
-@@ -100,7 +100,6 @@
- 'freetype',
- 'woff',
- 'unrar',
-- 'qt_hack',
- ]
- if iswindows:
- plugins.extend(['winutil', 'wpd', 'winfonts'])
diff --git a/office/calibre/patches/fix-shebangs.patch b/office/calibre/patches/fix-shebangs.patch
deleted file mode 100644
index e742926d37..0000000000
--- a/office/calibre/patches/fix-shebangs.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -Naur calibre.orig/src/calibre/ebooks/markdown/extensions/def_list.py calibre/src/calibre/ebooks/markdown/extensions/def_list.py
---- calibre.orig/src/calibre/ebooks/markdown/extensions/def_list.py 2012-06-29 04:53:39.000000000 +0000
-+++ calibre/src/calibre/ebooks/markdown/extensions/def_list.py 2012-07-03 03:31:12.127833772 +0000
-@@ -1,4 +1,4 @@
--#!/usr/bin/env Python
-+#!/usr/bin/env python
- """
- Definition List Extension for Python-Markdown
- =============================================
-diff -Naur calibre.orig/src/calibre/ebooks/markdown/extensions/meta.py calibre/src/calibre/ebooks/markdown/extensions/meta.py
---- calibre.orig/src/calibre/ebooks/markdown/extensions/meta.py 2012-06-29 04:53:39.000000000 +0000
-+++ calibre/src/calibre/ebooks/markdown/extensions/meta.py 2012-07-03 03:31:34.910833575 +0000
-@@ -1,4 +1,4 @@
--#!usr/bin/python
-+#!/usr/bin/python
-
- """
- Meta Data Extension for Python-Markdown
-diff -Naur calibre.orig/src/calibre/ebooks/markdown/extensions/tables.py calibre/src/calibre/ebooks/markdown/extensions/tables.py
---- calibre.orig/src/calibre/ebooks/markdown/extensions/tables.py 2012-06-29 04:53:39.000000000 +0000
-+++ calibre/src/calibre/ebooks/markdown/extensions/tables.py 2012-07-03 03:31:45.957833583 +0000
-@@ -1,4 +1,4 @@
--#!/usr/bin/env Python
-+#!/usr/bin/env python
- """
- Tables Extension for Python-Markdown
- ====================================