packages: calibre/calibre-no-update.patch - adjusted for 0.8.7 version

lisu lisu at pld-linux.org
Tue Jun 28 09:19:38 CEST 2011


Author: lisu                         Date: Tue Jun 28 07:19:38 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- adjusted for 0.8.7 version

---- Files affected:
packages/calibre:
   calibre-no-update.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: packages/calibre/calibre-no-update.patch
diff -u packages/calibre/calibre-no-update.patch:1.6 packages/calibre/calibre-no-update.patch:1.7
--- packages/calibre/calibre-no-update.patch:1.6	Wed Jul 14 14:31:45 2010
+++ packages/calibre/calibre-no-update.patch	Tue Jun 28 09:19:33 2011
@@ -1,11 +1,36 @@
---- calibre/src/calibre/gui2/ui.py~	2010-07-09 23:38:12.000000000 +0200
-+++ calibre/src/calibre/gui2/ui.py	2010-07-14 13:38:25.919379342 +0200
-@@ -204,7 +204,7 @@
-         self.eject_action.triggered.connect(self.device_manager.umount_device)
+diff -uNr calibre.old/src/calibre/gui2/ui.py calibre/src/calibre/gui2/ui.py
+--- calibre.old/src/calibre/gui2/ui.py	2011-06-26 19:51:17.912975862 +0200
++++ calibre/src/calibre/gui2/ui.py	2011-06-26 19:52:21.156346644 +0200
+@@ -647,7 +647,7 @@
+         if write_settings:
+             self.write_settings()
+         self.check_messages_timer.stop()
+-        self.update_checker.terminate()
++        # self.update_checker.terminate()
+         self.listener.close()
+         self.job_manager.server.close()
+         self.job_manager.threaded_server.close()
+diff -uNr calibre.old/src/calibre/gui2/update.py calibre/src/calibre/gui2/update.py
+--- calibre.old/src/calibre/gui2/update.py	2011-06-26 19:51:17.913975852 +0200
++++ calibre/src/calibre/gui2/update.py	2011-06-26 19:56:50.608665533 +0200
+@@ -121,13 +121,13 @@
  
-         #################### Update notification ###################
--        UpdateMixin.__init__(self, opts)
-+        #UpdateMixin.__init__(self, opts)
+ class UpdateMixin(object):
  
-         ####################### Setup Toolbar #####################
-         ToolbarMixin.__init__(self)
+-    def __init__(self, opts):
+-        self.last_newest_calibre_version = NO_CALIBRE_UPDATE
+-        if not opts.no_update_check:
+-            self.update_checker = CheckForUpdates(self)
+-            self.update_checker.update_found.connect(self.update_found,
+-                    type=Qt.QueuedConnection)
+-            self.update_checker.start()
++    #def __init__(self, opts):
++        #self.last_newest_calibre_version = NO_CALIBRE_UPDATE
++        #if not opts.no_update_check:
++        #    self.update_checker = CheckForUpdates(self)
++        #    self.update_checker.update_found.connect(self.update_found,
++        #            type=Qt.QueuedConnection)
++        #    self.update_checker.start()
+ 
+     def recalc_update_label(self, number_of_plugin_updates):
+         self.update_found('%s%s%d'%(self.last_newest_calibre_version, VSEP,
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/calibre/calibre-no-update.patch?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list