pkgsrc/x11/gnome-python/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.39 2004/01/24 15:30:32 grant Exp $
Update to gnome-python 1.4.4. The ChangeLog sucks, but I think these are the relevant changes: * pygnome/gnome/zvt.py (ZvtTerm.writechild): add method. * pygnome/zvtmodule.c (_wrap_zvt_term_writechild): add wrapper. * pygnome/gnome/ui.py: fix corruption introduced in revision 1.30.2.2 (don't know how it got in there, or how it got past distcheck). * pygnome/appletmodule.c (_wrap_applet_widget_get_rgb_bg): check if rgb == NULL, to try and catch an error condition (may fix bug #89291). * pygnome/Makefile.am (gettextpy): only install gettext.py if we are using python < 2.0.0 (which has its own gettext module). * pygnome/Makefile.am: fix up for parallel install with pygtk-2.0. * pygnome/gnome/applet.py (AppletWidget.get_rgb_bg): added wrapper * pygnome/appletmodule.c (_wrap_applet_widget_get_rgb_bg): implemented applet_widget_get_rgb_bg wrapper * pygnome/gnome/ui.py (GnomeDialog.button_connect): add argument to wrapper (again, from bug 70416). * pygnome/gnomeuimodule.c (_wrap_gnome_icon_list_get_icon_data): do a NULL check. This won't catch all errors, but might catch some segfaults (from bug 70608). (_wrap_gnome_dialog_button_connect): add an "extra" argument for extra arguments to pass to the signal handler (from bug 70416). * pygnome/zvtmodule.c (_wrap_zvt_term_set_color_scheme): fix bug signed/unsigned bug (as per bug 70474). * pygnome/gnome/zvt.py (ZvtTerm.match_check): wrapper function. * pygnome/zvtmodule.c (_wrap_zvt_term_match_check): apply patch from bug 69106. * pygnome/gnomeuimodule.c (_wrap_gnome_init): as gnome_init calls gtk_set_locale(), we need to set LC_NUMERIC back to C, or python breaks. * pygnome/generate/gtkhtml.defs: Fix typo in gtk_html_embedded_set_descent. * pygnome/generate/gtkhtml.defs: * pygnome/gtkhtml.py: * pygnome/gtkhtmlmodule.c: Add wrapper class for GtkHTMLEmbedded, so a python script can catch and handle the "<object>" signals in gtkhtml. * pygnome/generate/Makefile.am (defsdir): install the defs files. * pygtk/gtkmodule.c Don't call g_thread_init if gthread has already been initialized, for the benefit of programs that use gthread themselves and want to be able to embed Python code that uses the gtk module. * pygnome/gnome/applet.py: add panel size constants. (AppletWidget.__getattr__): handle privcfgpath and globcfgpath members. * pygnome/generate/applet.defs (AppletWidget): add privcfgpath and globcfgpath public structure fields. * pygnome/gtkhtml.py: add support for more APIs. * pygnome/gtkhtmlmodule.c (_wrap_gtk_html_begin): fix argument list. Add some more of the gtkhtml APIs. * pygnome/gnome/ui.py (GnomeIconEntry.gtk_entry): use _gtk.GtkEntry here. (GnomePixmapEntry.gtk_entry): same here.
2003-02-22 01:49:27 +01:00
DISTNAME= gnome-python-1.4.4
PKGNAME= ${PYPKGPREFIX}-gnome-1.4.4
PKGREVISION= 4
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-python/1.4/}
2003-07-18 00:50:55 +02:00
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://www.daa.com.au/~james/gnome/
COMMENT= Python Bindings for the GNU Network Object Model Environment
BUILDLINK_DEPENDS.gnome-panel= gnome-panel<2.0
CONFLICTS+= py-gtk-[0-9]*
CONFLICTS+= gnome-python-*
GNU_CONFIGURE= yes
USE_X11= yes
2002-10-05 13:22:40 +02:00
USE_BUILDLINK2= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
MAKE_ENV+= PYINC=${PYINC}
PY_PATCHPLIST= yes
PYBINMODULE= yes
.include "../../mk/bsd.prefs.mk"
# XXX This doesn't quite work if _USE_RPATH=no.
.if (${OBJECT_FMT} == a.out)
post-configure:
2000-01-02 20:55:15 +01:00
.for DIR in pygtk pygnome
${MV} ${WRKSRC}/${DIR}/Makefile ${WRKSRC}/${DIR}/Makefile.old
${SED} -e 's#-Wl,-R#${RPATH_FLAG}#g' ${WRKSRC}/${DIR}/Makefile.old \
2000-01-02 20:55:15 +01:00
>${WRKSRC}/${DIR}/Makefile
.endfor
.endif
2002-10-05 13:22:40 +02:00
.include "../../devel/libglade/buildlink2.mk"
.include "../../x11/gtkglarea/buildlink2.mk"
.include "../../lang/python/extension.mk"
2002-10-05 13:22:40 +02:00
.include "../../x11/gnome-core/buildlink2.mk"
.include "../../x11/gtkglarea/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"