Exaile crashes on startup (reported by Giovanni Bechis, thanks).
Added this patch permit to work, and reported it upstream: https://bugs.launchpad.net/exaile/+bug/1014484 ok Giovanni Bechis.
This commit is contained in:
parent
944822a56c
commit
5a5117d3bc
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2011/09/16 08:26:10 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2012/06/18 06:03:37 rpointel Exp $
|
||||
|
||||
COMMENT = music manager and player for GTK+ written in Python
|
||||
|
||||
V = 0.3.2
|
||||
P = 2
|
||||
DISTNAME = exaile-${V}.${P}
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
CATEGORIES = audio x11
|
||||
|
||||
|
21
audio/exaile/patches/patch-xl_main_py
Normal file
21
audio/exaile/patches/patch-xl_main_py
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-xl_main_py,v 1.1 2012/06/18 06:03:37 rpointel Exp $
|
||||
--- xl/main.py.orig Wed Jun 13 09:54:17 2012
|
||||
+++ xl/main.py Wed Jun 13 09:57:41 2012
|
||||
@@ -499,7 +499,8 @@ class Exaile(object):
|
||||
dbus.mainloop.glib.gthreads_init()
|
||||
if self.options.StartGui:
|
||||
import gtk
|
||||
gtk.gdk.threads_init()
|
||||
+ gtk.gdk.threads_enter()
|
||||
else:
|
||||
loop = glib.MainLoop()
|
||||
context = loop.get_context()
|
||||
@@ -513,6 +513,8 @@ class Exaile(object):
|
||||
context.iteration(True)
|
||||
except:
|
||||
pass
|
||||
+ finally:
|
||||
+ gtk.gdk.threads_leave()
|
||||
|
||||
def get_version(self):
|
||||
"""
|
Loading…
Reference in New Issue
Block a user