Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2013 11:20:55 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r324188 - in head/audio/sonata: . files
Message-ID:  <201308031120.r73BKt83093116@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sat Aug  3 11:20:55 2013
New Revision: 324188
URL: http://svnweb.freebsd.org/changeset/ports/324188

Log:
  Fix threading issue with glib20.
  
  PR:		ports/176888 (reported)
  Submitted by:	Yamagi Burmeister <yamagi@yamagi.org>
  Obtained from:	OpenBSD sonata port.

Added:
  head/audio/sonata/files/patch-sonata_main.py   (contents, props changed)
Modified:
  head/audio/sonata/Makefile

Modified: head/audio/sonata/Makefile
==============================================================================
--- head/audio/sonata/Makefile	Sat Aug  3 10:41:48 2013	(r324187)
+++ head/audio/sonata/Makefile	Sat Aug  3 11:20:55 2013	(r324188)
@@ -7,7 +7,7 @@
 
 PORTNAME=	sonata
 PORTVERSION=	1.6.2.1
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	audio python
 MASTER_SITES=	http://codingteam.net/project/sonata/upload/releases/
 

Added: head/audio/sonata/files/patch-sonata_main.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/sonata/files/patch-sonata_main.py	Sat Aug  3 11:20:55 2013	(r324188)
@@ -0,0 +1,10 @@
+--- sonata/main.py.orig	2013-08-03 13:13:21.000000000 +0200
++++ sonata/main.py	2013-08-03 13:14:12.000000000 +0200
+@@ -3400,4 +3400,7 @@ class Base(object):
+ 		self.on_currsong_notify(force_popup=True)
+ 	
+ 	def main(self):
++		gtk.gdk.threads_init()
++		gtk.gdk.threads_enter()
+ 		gtk.main()
++		gtk.gdk.threads_leave()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308031120.r73BKt83093116>