summaryrefslogtreecommitdiff
path: root/office/calibre/patches
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2013-01-06 06:54:52 +0100
committerdsomero <xgizzmo@slackbuilds.org>2013-01-09 18:52:23 -0500
commit54c929b079208da633aa985df1a31d5520ec5041 (patch)
treef5c548c1cb92df931cda2863adde389fa58f6d91 /office/calibre/patches
parentd016b9eef8407899d749c39ddab660b698383eb6 (diff)
downloadslackbuilds-54c929b079208da633aa985df1a31d5520ec5041.tar.gz
office/calibre: Updated for version 0.9.13.
Added a patch to remove the qt_hack module, that needs qt private headers (not shipped with stock slackware) to build Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/calibre/patches')
-rw-r--r--office/calibre/patches/calibre_noqthack.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/office/calibre/patches/calibre_noqthack.patch b/office/calibre/patches/calibre_noqthack.patch
new file mode 100644
index 0000000000..b5355920d2
--- /dev/null
+++ b/office/calibre/patches/calibre_noqthack.patch
@@ -0,0 +1,26 @@
+--- 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'])