[Python-apps-commits] r10273 - in packages/kupfer/trunk/debian (4 files)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Thu Dec 19 20:17:49 UTC 2013


    Date: Thursday, December 19, 2013 @ 20:17:48
  Author: dktrkranz
Revision: 10273

Fix crash by initializing D-Bus

Added:
  packages/kupfer/trunk/debian/patches/dbus.patch
Modified:
  packages/kupfer/trunk/debian/changelog
  packages/kupfer/trunk/debian/patches/series
  packages/kupfer/trunk/debian/patches/uses_fragment.patch

Modified: packages/kupfer/trunk/debian/changelog
===================================================================
--- packages/kupfer/trunk/debian/changelog	2013-12-19 20:12:58 UTC (rev 10272)
+++ packages/kupfer/trunk/debian/changelog	2013-12-19 20:17:48 UTC (rev 10273)
@@ -1,6 +1,8 @@
 kupfer (0+v208-3) UNRELEASED; urgency=medium
 
   * Acknowledge NMU, thanks Sebastian!
+  * debian/patches/dbus.patch:
+    - Fix crash by initializing D-Bus (Closes: #717105) (LP: #1038434).
   * debian/patches/help.patch:
     - Workaround missing xml file, which prevents documentation from
       being loaded (Closes: #679296).

Added: packages/kupfer/trunk/debian/patches/dbus.patch
===================================================================
--- packages/kupfer/trunk/debian/patches/dbus.patch	                        (rev 0)
+++ packages/kupfer/trunk/debian/patches/dbus.patch	2013-12-19 20:17:48 UTC (rev 10273)
@@ -0,0 +1,17 @@
+Description: Fix crash by initializing D-Bus
+Author: Karol Będkowski
+Forwarded: https://launchpad.net/kupfer/+bug/1038434
+
+Index: kupfer-0+v208/kupfer/ui/listen.py
+===================================================================
+--- kupfer-0+v208.orig/kupfer/ui/listen.py	2012-06-01 19:51:14.000000000 +0200
++++ kupfer-0+v208/kupfer/ui/listen.py	2013-12-19 21:14:05.215868773 +0100
+@@ -11,6 +11,8 @@
+ 	import dbus.service
+ 	from kupfer.dbuscompat import ExportedGObject
+ 
++	dbus.glib.threads_init()
++
+ # if dbus unavailable print the exception here
+ # but further actions (register) will fail without warning
+ 	session_bus = dbus.Bus()

Modified: packages/kupfer/trunk/debian/patches/series
===================================================================
--- packages/kupfer/trunk/debian/patches/series	2013-12-19 20:12:58 UTC (rev 10272)
+++ packages/kupfer/trunk/debian/patches/series	2013-12-19 20:17:48 UTC (rev 10273)
@@ -3,3 +3,4 @@
 help.patch
 tracker-needle.patch
 locales.patch
+dbus.patch

Modified: packages/kupfer/trunk/debian/patches/uses_fragment.patch
===================================================================
--- packages/kupfer/trunk/debian/patches/uses_fragment.patch	2013-12-19 20:12:58 UTC (rev 10272)
+++ packages/kupfer/trunk/debian/patches/uses_fragment.patch	2013-12-19 20:17:48 UTC (rev 10273)
@@ -1,6 +1,6 @@
 Description: Do not die if urlparse doesn't have uses_fragment method anymore
 Author: Luca Falavigna <dktrkranz at debian.org>
-Forwarded: https://bugs.launchpad.net/kupfer/+bug/1014502
+Forwarded: https://launchpad.net/kupfer/+bug/1014502
 
 Index: kupfer-0+v208/kupfer/core/qfurl.py
 ===================================================================




More information about the Python-apps-commits mailing list