summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz>2009-09-10 19:03:48 +0000
committerwiz <wiz>2009-09-10 19:03:48 +0000
commit4b158d38b19691c0ee91dddeffe41edc2bbc232b (patch)
tree90c327031c3073f2adf132288dd58160f1466411 /x11
parent52ad6af584106f82e2724a20ac775664721d1e1d (diff)
downloadpkgsrc-4b158d38b19691c0ee91dddeffe41edc2bbc232b.tar.gz
Update to 2.16.0:
pygtk-2.16.0 23-Aug-2009 - Allow to use automake 1.11 (Paolo Borelli) - Remove compiler warnings (Gian) - Add gtk.gdk.CURRENT_TIME constant (Paul) - Fix gtk.IMContext().set_client_window() (Gian) - Some docs fix (John Finlay) - Fixed invocation of FileChooserDialog in print demo (Pietro Battiston) - Some autotools tweaks (Gian) - Fix arg parsing format typo for gtk_toggle_button_new (John Finlay) - Update some docs to the new 2.16 API (Gian) pygtk-2.15.2 20-Jun-2009 - Rename gtk.Statusbar.remove() to gtk.Statusbar.remove_message (Paul) - Allow pango.Context creation (Paul, #550855) - Make gtk.gdk.Pixbuf.add_alpha accept integers, retaining backward compatibility accepting also chars (Paul, #586094) - Protect window obj from GC in gtk.window_get_toplevels (Gustavo, #574259) - Plug huge number of memory leaks in Pango wrappers (Paul) - Add gtk.gdk.WINDOWING constant (Paul, #555112) - Wrap gdk_pixbuf_apply_embedded_orientation (Chris Wilson) - Modernize constructors of seven more types (Paul) - Don't free a string we don't own (Paul, #585458) - Some docs tweaking (Gian) pygtk-2.15.1 25-May-2009 - (Add HSV support to gtk.gdk.Color objects) - Add floating-point support to gtk.gdk.Color (Paul) - Retire hand-written ChangeLog; autocreate from Git history (Paul) - Fix conditional in docs/Makefile.am (Frederic Peters) - Document that gtk.gdk.GC coordinates are not related to allocation (Paul) - Make pygtk_boxed_unref_shared() also handle Py_None (Paul) - Make gtk.MenuItem.set_submenu accept None (Paul) - Don't run 'fixxref.py' if documentation is not built (Bj - Apply libtool 2.2 compatibility patch (Gian) - Plug reference leak on main signal watch source (Paul) - Add extra warning against accidental misuse of tree model columns (Paul) - Wrap gtk.Border attributes and constructor (Mariano Su - Make gtk.gdk.Event.time accept 'long' in assignments (Paul) - Wrap gtk.RcStyle attributes (Paul) pygtk-2.15.0 01-May-2009 - Update pygtk to use numpy instead of Numeric (Josselin Mouette, Brian Cameron, #397544) - Update the address of the FSF (Tobias Mueller, #577154) - Wrap gtk_builder_add_objects_from_string and gtk_builder_add_objects_from_file. - Add GTK+ 2.16 API (Gian) - wrap gtk.IconView.convert_widget_to_bin_window_coords (Gian) - add gtk.gdk.Window.redirect_to_drawable (Gian) - add GtkNumberUpLayout enum (Gian) - some method argument fixes (Gian) - add gtk.PrintSettings.[get|set]_number_up_layout (Gian) - Some demo fixes (Gian, Andi Albrecht) - Add various deprecation warnings (Gian Mario)
Diffstat (limited to 'x11')
-rw-r--r--x11/py-gtk2/Makefile15
-rw-r--r--x11/py-gtk2/PLIST6
-rw-r--r--x11/py-gtk2/distinfo10
-rw-r--r--x11/py-gtk2/patches/patch-aa21
4 files changed, 20 insertions, 32 deletions
diff --git a/x11/py-gtk2/Makefile b/x11/py-gtk2/Makefile
index c38c14d4953..4f50d151e2d 100644
--- a/x11/py-gtk2/Makefile
+++ b/x11/py-gtk2/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.67 2009/08/26 19:57:00 sno Exp $
+# $NetBSD: Makefile,v 1.68 2009/09/10 19:03:48 wiz Exp $
#
-DISTNAME= pygtk-2.14.1
+DISTNAME= pygtk-2.16.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pygtk/gtk2/}
-PKGREVISION= 2
CATEGORIES= x11 python
-MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/2.14/}
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/2.16/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= recht@NetBSD.org
@@ -22,20 +21,18 @@ PKGCONFIG_OVERRIDE+= pygtk-2.0.pc.in
GNU_CONFIGURE= YES
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
USE_TOOLS+= gmake pkg-config
-PLIST_VARS+= py25
PYTHON_VERSIONS_ACCEPTED= 26 25
-BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.15.3
-BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.16.0
-
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../graphics/py-cairo/buildlink3.mk"
-.include "../../math/py-Numeric/buildlink3.mk"
+.include "../../math/py-numpy/buildlink3.mk"
+BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.15.3
.include "../../devel/py-gobject/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.16.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
diff --git a/x11/py-gtk2/PLIST b/x11/py-gtk2/PLIST
index 558a9d26c93..8bc2d9ad85d 100644
--- a/x11/py-gtk2/PLIST
+++ b/x11/py-gtk2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.24 2009/06/14 22:06:41 joerg Exp $
+@comment $NetBSD: PLIST,v 1.25 2009/09/10 19:03:48 wiz Exp $
bin/pygtk-codegen-2.0
bin/pygtk-demo
include/pygtk-2.0/pygtk/pygtk.h
@@ -179,6 +179,7 @@ share/gtk-doc/html/pygtk/class-gtkaccelmap.html
share/gtk-doc/html/pygtk/class-gtkaccessible.html
share/gtk-doc/html/pygtk/class-gtkaction.html
share/gtk-doc/html/pygtk/class-gtkactiongroup.html
+share/gtk-doc/html/pygtk/class-gtkactivatable.html
share/gtk-doc/html/pygtk/class-gtkadjustment.html
share/gtk-doc/html/pygtk/class-gtkalignment.html
share/gtk-doc/html/pygtk/class-gtkarrow.html
@@ -602,6 +603,7 @@ share/pygtk/2.0/defs/atk.defs
share/pygtk/2.0/defs/gdk-2.10.defs
share/pygtk/2.0/defs/gdk-2.12.defs
share/pygtk/2.0/defs/gdk-2.14.defs
+share/pygtk/2.0/defs/gdk-2.16.defs
share/pygtk/2.0/defs/gdk-base-types.defs
share/pygtk/2.0/defs/gdk-base.defs
share/pygtk/2.0/defs/gdk-types.defs
@@ -612,6 +614,8 @@ share/pygtk/2.0/defs/gtk-2.12-types.defs
share/pygtk/2.0/defs/gtk-2.12.defs
share/pygtk/2.0/defs/gtk-2.14-types.defs
share/pygtk/2.0/defs/gtk-2.14.defs
+share/pygtk/2.0/defs/gtk-2.16-types.defs
+share/pygtk/2.0/defs/gtk-2.16.defs
share/pygtk/2.0/defs/gtk-base-types.defs
share/pygtk/2.0/defs/gtk-base.defs
share/pygtk/2.0/defs/gtk-extrafuncs.defs
diff --git a/x11/py-gtk2/distinfo b/x11/py-gtk2/distinfo
index c062c979b38..6cb82a75ef9 100644
--- a/x11/py-gtk2/distinfo
+++ b/x11/py-gtk2/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.25 2009/07/18 20:35:27 wiz Exp $
+$NetBSD: distinfo,v 1.26 2009/09/10 19:03:48 wiz Exp $
-SHA1 (pygtk-2.14.1.tar.bz2) = 9a9a29c9de2a31e08a96f38ade43ce93ec569400
-RMD160 (pygtk-2.14.1.tar.bz2) = ee32b54b5a5b12ca5718cf53505542b89e97347b
-Size (pygtk-2.14.1.tar.bz2) = 2210535 bytes
-SHA1 (patch-aa) = 6b2847b1c39dda79f87805fbc8b7d535c6a00b28
+SHA1 (pygtk-2.16.0.tar.bz2) = b8998ca94841906e71b2475319bb47c841b188e8
+RMD160 (pygtk-2.16.0.tar.bz2) = 76ef8d362975e8928e2e5499d8b5dffc32a5c9d8
+Size (pygtk-2.16.0.tar.bz2) = 2253202 bytes
+SHA1 (patch-aa) = 5ea14628612cb204323ef6e169acb57a0887e737
diff --git a/x11/py-gtk2/patches/patch-aa b/x11/py-gtk2/patches/patch-aa
index e01b6d766aa..9553c90cc16 100644
--- a/x11/py-gtk2/patches/patch-aa
+++ b/x11/py-gtk2/patches/patch-aa
@@ -1,27 +1,14 @@
-$NetBSD: patch-aa,v 1.2 2009/07/18 20:35:27 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2009/09/10 19:03:48 wiz Exp $
-Second chunk is from upstream
-http://git.gnome.org/cgit/pygtk/commit/?id=956592c614c567623510dccf5fc1edaee9c766c1
-
---- gtk/gtk.override.orig 2009-03-05 22:06:49.000000000 +0000
+--- gtk/gtk.override.orig 2009-08-12 22:55:36.000000000 +0000
+++ gtk/gtk.override
-@@ -1184,7 +1184,9 @@ _wrap_gtk_main(PyObject *self)
- main_watch = pygtk_main_watch_new();
+@@ -1238,7 +1238,9 @@ _wrap_gtk_main(PyObject *self)
pyg_begin_allow_threads;
g_source_attach(main_watch, NULL);
+ g_source_unref(main_watch);
+ gdk_threads_enter();
gtk_main();
+ gdk_threads_leave();
g_source_destroy(main_watch);
pyg_end_allow_threads;
if (PyErr_Occurred())
-@@ -7496,7 +7498,8 @@ _wrap_gtk_recent_info_get_application_in
- &time_);
- if (ret) {
- py_ret = Py_BuildValue("(sii)", app_exec, count, time_);
-- g_free(app_exec);
-+ /* Note that we mustn't free 'app_exec' even though it's not
-+ * 'const'. See bug #585458. */
- } else {
- py_ret = Py_None;
- }