2019-09-07 06:32:14 +02:00
|
|
|
# $NetBSD: Makefile,v 1.121 2019/09/07 04:32:14 gutteridge Exp $
|
2003-05-09 16:50:12 +02:00
|
|
|
|
2011-04-08 16:32:03 +02:00
|
|
|
DISTNAME= pygtk-2.24.0
|
2003-05-09 16:50:12 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pygtk/gtk2/}
|
2019-09-07 06:32:14 +02:00
|
|
|
PKGREVISION= 29
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= x11 python
|
2011-04-08 16:32:03 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/2.24/}
|
2003-05-09 16:50:12 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2011-02-28 15:52:37 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2009-04-11 23:47:39 +02:00
|
|
|
HOMEPAGE= http://www.pygtk.org/
|
2003-05-09 16:50:12 +02:00
|
|
|
COMMENT= Python bindings for GTK+2
|
2010-01-30 17:27:59 +01:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2003-05-09 16:50:12 +02:00
|
|
|
|
|
|
|
CONFLICTS= ${PYPKGPREFIX}-gtk<0.6.10
|
|
|
|
|
2016-08-26 19:14:57 +02:00
|
|
|
# IOError: [Errno 2] No such file or directory: 'gtk-types.defs'
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2003-05-09 16:50:12 +02:00
|
|
|
USE_LIBTOOL= YES
|
2006-02-07 22:27:28 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= pygtk-2.0.pc.in
|
2003-05-09 16:50:12 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2003-05-09 16:50:12 +02:00
|
|
|
|
2014-01-25 10:31:21 +01:00
|
|
|
PY_PATCHPLIST= YES
|
2019-09-02 15:19:35 +02:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 2.24.0
|
2014-01-25 10:31:21 +01:00
|
|
|
|
|
|
|
REPLACE_PYTHON+= examples/atk/atk-demo.py
|
|
|
|
REPLACE_PYTHON+= examples/glade/autoconnect.py
|
|
|
|
REPLACE_PYTHON+= examples/glade/glade-demo.py
|
|
|
|
REPLACE_PYTHON+= examples/gtk/customtreemodel.py
|
|
|
|
REPLACE_PYTHON+= examples/ide/browse.py
|
|
|
|
REPLACE_PYTHON+= examples/ide/edit.py
|
|
|
|
REPLACE_PYTHON+= examples/ide/gtkcons.py
|
|
|
|
REPLACE_PYTHON+= examples/ide/gtkdb.py
|
|
|
|
REPLACE_PYTHON+= examples/ide/gtkprof.py
|
|
|
|
REPLACE_PYTHON+= examples/ide/pyide.py
|
|
|
|
REPLACE_PYTHON+= examples/pango/extentdemo.py
|
|
|
|
REPLACE_PYTHON+= examples/pango/pangocairo-simple.py
|
|
|
|
REPLACE_PYTHON+= examples/pango/utf8-demo.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/appwindow.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/buttonbox.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/changedisplay.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/colorsel.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/dialogs.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/dnd.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/editable_cells.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/entry_completion.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/expander.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/hypertext.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/images.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/infobar.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/list_store.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/menu.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/panes.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/pixbufs.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/sizegroup.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/statusicon.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/stock_browser.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/textscroll.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/textview.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/tooltip.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/tree_store.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/treemodel.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/demos/ui_manager.py
|
|
|
|
REPLACE_PYTHON+= examples/pygtk-demo/pygtk-demo.py
|
|
|
|
REPLACE_PYTHON+= examples/simple/dnd.py
|
|
|
|
REPLACE_PYTHON+= examples/simple/hello.py
|
|
|
|
REPLACE_PYTHON+= examples/simple/scribble.py
|
|
|
|
REPLACE_PYTHON+= examples/simple/simple.py
|
|
|
|
REPLACE_PYTHON+= examples/simple/tooltip.py
|
|
|
|
REPLACE_PYTHON+= setup.py
|
|
|
|
REPLACE_PYTHON+= tests/runtests.py
|
|
|
|
|
2012-11-30 13:32:50 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2003-09-09 15:55:35 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
2014-01-25 10:31:21 +01:00
|
|
|
.include "../../lang/python/extension.mk"
|
2008-12-02 20:04:05 +01:00
|
|
|
|
|
|
|
.include "../../devel/libglade/buildlink3.mk"
|
2017-11-25 09:58:55 +01:00
|
|
|
.include "../../graphics/py-cairo/buildlink3.mk"
|
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)
2009-09-10 21:03:48 +02:00
|
|
|
BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.15.3
|
2006-02-07 22:27:28 +01:00
|
|
|
.include "../../devel/py-gobject/buildlink3.mk"
|
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)
2009-09-10 21:03:48 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.16.0
|
2004-02-18 17:58:36 +01:00
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2003-05-09 16:50:12 +02:00
|
|
|
|
2004-02-18 17:58:36 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2003-05-09 16:50:12 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|