summaryrefslogtreecommitdiff
path: root/app-text/calibre/files/calibre-disable_plugins.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-08 23:14:23 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-08 23:14:23 +0000
commite51474b1a0df70174e725a068f144e83832c7bdf (patch)
treea775e8627723b21a989c359fa68a8c50eb15377b /app-text/calibre/files/calibre-disable_plugins.patch
parentb70741fb6b8591e3b1e2dcc4c3074318c0e9574b (diff)
app-text/calibre : import from gentoo tree, fix compiling against qt5.9 (cherry pick https://github.com/kovidgoyal/calibre/commit/82bd2e1a51df0650cb40894c5dc2b958f601a91d.patch)
Diffstat (limited to 'app-text/calibre/files/calibre-disable_plugins.patch')
-rw-r--r--app-text/calibre/files/calibre-disable_plugins.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-text/calibre/files/calibre-disable_plugins.patch b/app-text/calibre/files/calibre-disable_plugins.patch
new file mode 100644
index 00000000..9ef1dd04
--- /dev/null
+++ b/app-text/calibre/files/calibre-disable_plugins.patch
@@ -0,0 +1,17 @@
+Description: Disable plugin dialog. It uses a totally non-authenticated and non-trusted way of installing arbitrary code.
+Author: Martin Pitt <mpitt@debian.org>
+Bug-Debian: http://bugs.debian.org/640026
+
+Index: calibre-0.8.29+dfsg/src/calibre/gui2/actions/preferences.py
+===================================================================
+--- calibre-0.8.29+dfsg.orig/src/calibre/gui2/actions/preferences.py 2011-12-16 05:49:14.000000000 +0100
++++ calibre-0.8.29+dfsg/src/calibre/gui2/actions/preferences.py 2011-12-20 19:29:04.798468930 +0100
+@@ -28,8 +28,6 @@
+ pm.addAction(QIcon(I('config.png')), _('Preferences'), self.do_config)
+ cm('welcome wizard', _('Run welcome wizard'),
+ icon='wizard.png', triggered=self.gui.run_wizard)
+- cm('plugin updater', _('Get plugins to enhance calibre'),
+- icon='plugins/plugin_updater.png', triggered=self.get_plugins)
+ if not DEBUG:
+ pm.addSeparator()
+ cm('restart', _('Restart in debug mode'), icon='debug.png',