~ruther/guix-local

ref: a68fdfea96370c8a4b95af1fcd6e2fd7eb72da29 guix-local/gnu/packages/patches/calibre-no-updates-dialog.patch -rw-r--r-- 1.0 KiB
a68fdfea — Ludovic Courtès services: avahi: Default to nss-mdns 0.10. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Taken from debian.

# Description: Disable update check by default.
Index: calibre/src/calibre/gui2/main.py
===================================================================
--- calibre.orig/src/calibre/gui2/main.py	2014-02-02 10:41:28.470954623 +0100
+++ calibre/src/calibre/gui2/main.py	2014-02-02 10:41:56.546954247 +0100
@@ -37,8 +37,8 @@
                       help=_('Start minimized to system tray.'))
     parser.add_option('-v', '--verbose', default=0, action='count',
                       help=_('Ignored, do not use. Present only for legacy reasons'))
-    parser.add_option('--no-update-check', default=False, action='store_true',
-            help=_('Do not check for updates'))
+    parser.add_option('--update-check', dest='no_update_check', default=True, action='store_false',
+            help=_('Check for updates'))
     parser.add_option('--ignore-plugins', default=False, action='store_true',
             help=_('Ignore custom plugins, useful if you installed a plugin'
                 ' that is preventing calibre from starting'))