aboutsummaryrefslogtreecommitdiff
path: root/office/calibre/patches/remove-desktop-integration.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-05 09:38:29 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:15:53 -0500
commit46f49b60949d2808e859349b32cae9153d4281d1 (patch)
tree68eaef3cd9ef05b6dad125db4ea90eec4ca2b33c /office/calibre/patches/remove-desktop-integration.patch
parent0fc9e63742a1f9ef06bee6f9c7afdfb06ae94cf7 (diff)
office/calibre: Updated for version 3.48.0.
Deps: changed cssutils with css-parser, added python2-pillow. Patched for qt-5.15.x and the newer icu4c Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/calibre/patches/remove-desktop-integration.patch')
-rw-r--r--office/calibre/patches/remove-desktop-integration.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/office/calibre/patches/remove-desktop-integration.patch b/office/calibre/patches/remove-desktop-integration.patch
index dbf54d6cb0..0272a7c6eb 100644
--- a/office/calibre/patches/remove-desktop-integration.patch
+++ b/office/calibre/patches/remove-desktop-integration.patch
@@ -1,13 +1,14 @@
-diff -Naur calibre.orig/src/calibre/linux.py calibre/src/calibre/linux.py
---- calibre.orig/src/calibre/linux.py 2012-06-29 04:53:39.000000000 +0000
-+++ calibre/src/calibre/linux.py 2012-07-03 02:57:13.834849391 +0000
-@@ -177,9 +177,6 @@
- self.mime_resources = []
+diff -Naur calibre-3.48.0.orig/src/calibre/linux.py calibre-3.48.0/src/calibre/linux.py
+--- calibre-3.48.0.orig/src/calibre/linux.py 2019-09-13 04:46:46.000000000 +0200
++++ calibre-3.48.0/src/calibre/linux.py 2020-03-04 15:02:49.789055000 +0100
+@@ -725,10 +725,6 @@
+ self.appdata_resources = []
if islinux or isbsd:
self.setup_completion()
- if islinux or isbsd:
- self.setup_desktop_integration()
-- self.create_uninstaller()
+- if not getattr(self.opts, 'staged_install', False):
+- self.create_uninstaller()
from calibre.utils.config import config_dir
if os.path.exists(config_dir):