Summary: | Fails to launch graphics/mirage 0.9.5.2_1 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | eric.douzet |
Component: | Individual Port(s) | Assignee: | Pawel Pekala <pawel> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
eric.douzet
2013-04-05 11:40:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->pawel Over to maintainer (via the GNATS Auto Assign Tool) The issue is same as here: http://freebsd.1045724.n5.nabble.com/ports-176888-PATCH-audio-sonata-crashes-since-last-devel-glib20-update-td5795080.html. Must be fixed in glib20. After more detailed look into sources found wrong order of calling gtk.gdk.threads_* methods on app initialization stage (threads_enter() function is not called yet in some circumstances, which somehow worked prior latest glib20 release). Putting threads_* calls into correct order solves an issue. However, issue is already solved in 1.0-svn version, so fastest solution is like: cd /usr/local/lib/python2.7/site-packages sudo wget -N http://svn.berlios.de/svnroot/repos/mirageiv/trunk/mirage.py Author: pawel Date: Wed Apr 10 17:57:03 2013 New Revision: 315778 URL: http://svnweb.freebsd.org/changeset/ports/315778 Log: Add upstream patch to fix crash at startup after recent glib2 update PR: ports/177652 Reported by: Eric Douzet <eric.douzet@gmail.com> Approved by: portmgr (bdrewery) Added: head/graphics/mirage/files/patch-mirage.py (contents, props changed) Modified: head/graphics/mirage/Makefile (contents, props changed) Modified: head/graphics/mirage/Makefile ============================================================================== --- head/graphics/mirage/Makefile Wed Apr 10 17:06:58 2013 (r315777) +++ head/graphics/mirage/Makefile Wed Apr 10 17:57:03 2013 (r315778) @@ -1,13 +1,9 @@ -# New ports collection makefile for: mirage -# Date created: 31 January 2007 -# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> -# +# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> # $FreeBSD$ -# PORTNAME= mirage PORTVERSION= 0.9.5.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= BERLIOS/mirageiv Added: head/graphics/mirage/files/patch-mirage.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/mirage/files/patch-mirage.py Wed Apr 10 17:57:03 2013 (r315778) @@ -0,0 +1,20 @@ +--- mirage.py.orig 2013-04-10 19:04:47.000000000 +0200 ++++ mirage.py 2013-04-10 19:05:50.000000000 +0200 +@@ -1,3 +1,4 @@ ++#!/usr/bin/python2 + # $HeadURL: http://svn.berlios.de/svnroot/repos/mirageiv/branches/mirage-0.9.x/mirage.py $ + # $Id: mirage.py 337 2011-02-13 22:40:05Z fredricj $ + +@@ -4575,10 +4576,10 @@ + timer_screensaver = gobject.timeout_add(1000, self.disable_screensaver_in_slideshow_mode) + + def main(self): ++ gtk.gdk.threads_enter() + gtk.main() ++ gtk.gdk.threads_leave() + + if __name__ == "__main__": + base = Base() +- gtk.gdk.threads_enter() + base.main() +- gtk.gdk.threads_leave() _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Fixed in r315778. Thanks for reporting! |