pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/py-gtk2 fix locking around gtk mainloop, bump PKGR...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0cfdf633eeea
branches:  trunk
changeset: 539833:0cfdf633eeea
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Fri Mar 14 14:20:22 2008 +0000

description:
fix locking around gtk mainloop, bump PKGREVISION

diffstat:

 x11/py-gtk2/Makefile         |   3 ++-
 x11/py-gtk2/distinfo         |   3 ++-
 x11/py-gtk2/patches/patch-aa |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 41526c7cbb91 -r 0cfdf633eeea x11/py-gtk2/Makefile
--- a/x11/py-gtk2/Makefile      Fri Mar 14 14:18:21 2008 +0000
+++ b/x11/py-gtk2/Makefile      Fri Mar 14 14:20:22 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.46 2008/01/09 18:56:01 drochner Exp $
+# $NetBSD: Makefile,v 1.47 2008/03/14 14:20:22 drochner Exp $
 #
 
 DISTNAME=      pygtk-2.12.1
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pygtk/gtk2/}
 CATEGORIES=    x11 python
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/pygtk/2.12/}
diff -r 41526c7cbb91 -r 0cfdf633eeea x11/py-gtk2/distinfo
--- a/x11/py-gtk2/distinfo      Fri Mar 14 14:18:21 2008 +0000
+++ b/x11/py-gtk2/distinfo      Fri Mar 14 14:20:22 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.20 2008/01/09 18:56:02 drochner Exp $
+$NetBSD: distinfo,v 1.21 2008/03/14 14:20:22 drochner Exp $
 
 SHA1 (pygtk-2.12.1.tar.bz2) = 7a7d095f53829895174640d693c4e4af16122d98
 RMD160 (pygtk-2.12.1.tar.bz2) = c368deab52524248593b77984e93f18150efa0f4
 Size (pygtk-2.12.1.tar.bz2) = 2175955 bytes
+SHA1 (patch-aa) = 940a7d45f5dfbaa78b8d89e29ad29355f37c456e
diff -r 41526c7cbb91 -r 0cfdf633eeea x11/py-gtk2/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-gtk2/patches/patch-aa      Fri Mar 14 14:20:22 2008 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2008/03/14 14:20:22 drochner Exp $
+
+--- ./gtk/gtk.override.orig    2008-03-12 17:24:10.000000000 +0100
++++ ./gtk/gtk.override
+@@ -1183,7 +1183,9 @@ _wrap_gtk_main(PyObject *self)
+     main_watch = pygtk_main_watch_new();
+     pyg_begin_allow_threads;
+     g_source_attach(main_watch, NULL);
++    gdk_threads_enter();
+     gtk_main();
++    gdk_threads_leave();
+     g_source_destroy(main_watch);
+     pyg_end_allow_threads;
+     if (PyErr_Occurred())



Home | Main Index | Thread Index | Old Index