Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > e937b059b4b30f508b1bcdff9a2a7431 > files > 5

calibre-0.6.48-1mdv2010.1.src.rpm

diff -up calibre/src/calibre/gui2/ui.py.no_update calibre/src/calibre/gui2/ui.py
--- calibre/src/calibre/gui2/ui.py.no_update	2009-12-06 23:21:12.298917664 +0200
+++ calibre/src/calibre/gui2/ui.py	2009-12-06 23:21:18.054898861 +0200
@@ -241,11 +241,11 @@ class Main(MainWindow, Ui_MainWindow, De
         self.latest_version = ' '
         self.vanity.setText(self.vanity_template%dict(version=' ', device=' '))
         self.device_info = ' '
-        if not opts.no_update_check:
-            self.update_checker = CheckForUpdates(self)
-            QObject.connect(self.update_checker,
-                    SIGNAL('update_found(PyQt_PyObject)'), self.update_found)
-            self.update_checker.start(2000)
+        # if not opts.no_update_check:
+        #     self.update_checker = CheckForUpdates(self)
+        #     QObject.connect(self.update_checker,
+        #             SIGNAL('update_found(PyQt_PyObject)'), self.update_found)
+        #     self.update_checker.start(2000)
         ####################### Status Bar #####################
         self.status_bar = StatusBar(self.jobs_dialog, self.system_tray_icon)
         self.setStatusBar(self.status_bar)
--- calibre/setup/extensions.py	2010-02-20 04:19:03.000000000 +0100
+++ calibre/setup/extensions.py.x	2010-03-27 11:17:42.000000000 +0100
@@ -175,7 +175,7 @@
     cflags.append('-pthread')
     ldflags.append('-shared')
     cflags.append('-I'+sysconfig.get_python_inc())
-    ldflags.append('-lpython'+sysconfig.get_python_version())
+    ldflags.append('-lpython2.6')
 
 
 if isosx: