Initial import of py-Gtk-1.4.1

Submitted and Maintained by : Maurice Nonnekes <maurice@amaze.nl>
---

PyGTK is a set of bindings for the Python scripting language to
interact with the GTK toolkit. It has a fairly complete set of
bindings.

WWW: http://www.daa.com.au/~james/gnome/
This commit is contained in:
shell 2001-09-18 06:01:58 +00:00
parent 76c458c439
commit b3e652d2bb
9 changed files with 263 additions and 0 deletions

58
x11/py-Gtk/Makefile Normal file
View File

@ -0,0 +1,58 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/18 06:01:58 shell Exp $
COMMENT= "Python bindings for Gtk"
COMMENT-gnome= "Python bindings for Gtk and Gnome"
# Version numbers between py-gtk and py-gnome are different, but py-gnome
# overlaps py-gtk. Because of this version number inconsistancy, we use
# py-gnome's version number, even for py-gtk.
V= 1.4.1 ## For py-gtk, this really is 0.6.8
PKGNAME= py-Gtk-${V}
DISTNAME= gnome-python-${V}
CATEGORIES= x11 devel
NEED_VERSION= 1.405
MASTER_SITES= ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-python/
HOMEPAGE= http://www.daa.com.au/~james/gnome/
MAINTAINER= Maurice Nonnekes <maurice@amaze.nl>
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
LIB_DEPENDS+= Imlib.19::graphics/imlib \
gtkgl.1.2::x11/gtkglarea
FLAVORS= gnome
FLAVOR?=
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--disable-thread
PYTHON_VER= 2.1
SUBST_VARS= PYTHON_VER
CONFIGURE_ENV= PYTHON=${LOCALBASE}/bin/python${PYTHON_VER}
RUN_DEPENDS+= python${PYTHON_VER}::lang/python
BUILD_DEPENDS= ${RUN_DEPENDS}
.if ${FLAVOR:L:Mgnome}
LIB_DEPENDS+= glade.4::devel/libglade,gnome
.else
PATCH_STRIP= -p1
PATCH_LIST= patch-pygtk_configure patch-pygtk_gtkmodule_c
LIB_DEPENDS+= glade.4::devel/libglade
WRKDIST= ${WRKDIR}/${DISTNAME}/pygtk
.endif
.include <bsd.port.mk>

3
x11/py-Gtk/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (gnome-python-1.4.1.tar.gz) = 52f8b5ef4cbdaba3c00c08e28702be69
RMD160 (gnome-python-1.4.1.tar.gz) = e06b69dd3d7fc4de55e12acab1ebe11f042e33dc
SHA1 (gnome-python-1.4.1.tar.gz) = 94395bdd1480454630ada452d0c0661c16b0ebf2

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-configure,v 1.1.1.1 2001/09/18 06:01:58 shell Exp $
--- configure.orig Fri Aug 17 01:29:39 2001
+++ configure Fri Aug 17 01:29:55 2001
@@ -5203,9 +5203,6 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-
# Prevent multiple expansion

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-pygtk_configure,v 1.1.1.1 2001/09/18 06:01:58 shell Exp $
--- pygtk/configure.orig Thu Aug 16 10:38:55 2001
+++ pygtk/configure Thu Aug 16 10:39:29 2001
@@ -5188,9 +5188,6 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-
# Prevent multiple expansion

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-pygtk_gtkmodule_c,v 1.1.1.1 2001/09/18 06:01:58 shell Exp $
--- pygtk/gtkmodule.c.orig Thu Aug 16 11:31:22 2001
+++ pygtk/gtkmodule.c Thu Aug 16 11:31:35 2001
@@ -7159,13 +7159,6 @@
Py_DECREF(d);
}
-#ifdef WITH_THREAD
- /* it is required that this function be called to enable the thread
- * safety functions */
- if (!g_threads_got_initialized)
- g_thread_init(NULL);
-#endif
-
if (PyErr_Occurred())
Py_FatalError("can't initialise module _gtk");
}

5
x11/py-Gtk/pkg/DESCR Normal file
View File

@ -0,0 +1,5 @@
PyGTK is a set of bindings for the Python scripting language to
interact with the GTK toolkit. It has a fairly complete set of
bindings.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,73 @@
@comment $OpenBSD: PFRAG.gnome,v 1.1.1.1 2001/09/18 06:01:58 shell Exp $
lib/python${PYTHON_VER}/site-packages/gnome/__init__.py
lib/python${PYTHON_VER}/site-packages/gnome/__init__.pyc
lib/python${PYTHON_VER}/site-packages/gnome/__init__.pyo
lib/python${PYTHON_VER}/site-packages/gnome/affine.py
lib/python${PYTHON_VER}/site-packages/gnome/affine.pyc
lib/python${PYTHON_VER}/site-packages/gnome/affine.pyo
lib/python${PYTHON_VER}/site-packages/gnome/config.py
lib/python${PYTHON_VER}/site-packages/gnome/config.pyc
lib/python${PYTHON_VER}/site-packages/gnome/config.pyo
lib/python${PYTHON_VER}/site-packages/gnome/file.py
lib/python${PYTHON_VER}/site-packages/gnome/file.pyc
lib/python${PYTHON_VER}/site-packages/gnome/file.pyo
lib/python${PYTHON_VER}/site-packages/gnome/help.py
lib/python${PYTHON_VER}/site-packages/gnome/help.pyc
lib/python${PYTHON_VER}/site-packages/gnome/help.pyo
lib/python${PYTHON_VER}/site-packages/gnome/history.py
lib/python${PYTHON_VER}/site-packages/gnome/history.pyc
lib/python${PYTHON_VER}/site-packages/gnome/history.pyo
lib/python${PYTHON_VER}/site-packages/gnome/metadata.py
lib/python${PYTHON_VER}/site-packages/gnome/metadata.pyc
lib/python${PYTHON_VER}/site-packages/gnome/metadata.pyo
lib/python${PYTHON_VER}/site-packages/gnome/mime.py
lib/python${PYTHON_VER}/site-packages/gnome/mime.pyc
lib/python${PYTHON_VER}/site-packages/gnome/mime.pyo
lib/python${PYTHON_VER}/site-packages/gnome/score.py
lib/python${PYTHON_VER}/site-packages/gnome/score.pyc
lib/python${PYTHON_VER}/site-packages/gnome/score.pyo
lib/python${PYTHON_VER}/site-packages/gnome/triggers.py
lib/python${PYTHON_VER}/site-packages/gnome/triggers.pyc
lib/python${PYTHON_VER}/site-packages/gnome/triggers.pyo
lib/python${PYTHON_VER}/site-packages/gnome/ui.py
lib/python${PYTHON_VER}/site-packages/gnome/ui.pyc
lib/python${PYTHON_VER}/site-packages/gnome/ui.pyo
lib/python${PYTHON_VER}/site-packages/gnome/uiconsts.py
lib/python${PYTHON_VER}/site-packages/gnome/uiconsts.pyc
lib/python${PYTHON_VER}/site-packages/gnome/uiconsts.pyo
lib/python${PYTHON_VER}/site-packages/gnome/url.py
lib/python${PYTHON_VER}/site-packages/gnome/url.pyc
lib/python${PYTHON_VER}/site-packages/gnome/url.pyo
lib/python${PYTHON_VER}/site-packages/gnome/util.py
lib/python${PYTHON_VER}/site-packages/gnome/util.pyc
lib/python${PYTHON_VER}/site-packages/gnome/util.pyo
lib/python${PYTHON_VER}/site-packages/gnome/xmhtml.py
lib/python${PYTHON_VER}/site-packages/gnome/xmhtml.pyc
lib/python${PYTHON_VER}/site-packages/gnome/xmhtml.pyo
lib/python${PYTHON_VER}/site-packages/gnome/zvt.py
lib/python${PYTHON_VER}/site-packages/gnome/zvt.pyc
lib/python${PYTHON_VER}/site-packages/gnome/zvt.pyo
lib/python${PYTHON_VER}/site-packages/_gnomemodule.a
lib/python${PYTHON_VER}/site-packages/_gnomemodule.la
lib/python${PYTHON_VER}/site-packages/_gnomemodule.so
lib/python${PYTHON_VER}/site-packages/_gnomeuimodule.a
lib/python${PYTHON_VER}/site-packages/_gnomeuimodule.la
lib/python${PYTHON_VER}/site-packages/_gnomeuimodule.so
lib/python${PYTHON_VER}/site-packages/_gtkxmhtmlmodule.a
lib/python${PYTHON_VER}/site-packages/_gtkxmhtmlmodule.la
lib/python${PYTHON_VER}/site-packages/_gtkxmhtmlmodule.so
lib/python${PYTHON_VER}/site-packages/_zvtmodule.a
lib/python${PYTHON_VER}/site-packages/_zvtmodule.la
lib/python${PYTHON_VER}/site-packages/_zvtmodule.so
lib/python${PYTHON_VER}/site-packages/gettext.py
lib/python${PYTHON_VER}/site-packages/gettext.pyc
lib/python${PYTHON_VER}/site-packages/gettext.pyo
share/pygtk/1.2/defs/applet.defs
share/pygtk/1.2/defs/capplet.defs
share/pygtk/1.2/defs/gnome-enums.defs
share/pygtk/1.2/defs/gnome.defs
share/pygtk/1.2/defs/gnomeui.defs
share/pygtk/1.2/defs/gtkhtml.defs
share/pygtk/1.2/defs/xmhtml.defs
share/pygtk/1.2/defs/zvt.defs
@dirrm lib/python${PYTHON_VER}/site-packages/gnome

View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/09/18 06:01:58 shell Exp $
lib/python${PYTHON_VER}/site-packages/_gdkimlibmodule.so
lib/python${PYTHON_VER}/site-packages/_gtkglmodule.so
lib/python${PYTHON_VER}/site-packages/_gtkmodule.so
lib/python${PYTHON_VER}/site-packages/_libglademodule.so
lib/python${PYTHON_VER}/site-packages/gdkpixbufmodule.so

75
x11/py-Gtk/pkg/PLIST Normal file
View File

@ -0,0 +1,75 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/09/18 06:01:58 shell Exp $
bin/pygtk-codegen-1.2
include/pygtk/pygdkimlib.h
include/pygtk/pygdkpixbuf.h
include/pygtk/pygtk.h
%%gnome%%
lib/python${PYTHON_VER}/site-packages/pyglade/__init__.py
lib/python${PYTHON_VER}/site-packages/pyglade/__init__.pyc
lib/python${PYTHON_VER}/site-packages/pyglade/__init__.pyo
lib/python${PYTHON_VER}/site-packages/pyglade/build.py
lib/python${PYTHON_VER}/site-packages/pyglade/build.pyc
lib/python${PYTHON_VER}/site-packages/pyglade/build.pyo
lib/python${PYTHON_VER}/site-packages/pyglade/style.py
lib/python${PYTHON_VER}/site-packages/pyglade/style.pyc
lib/python${PYTHON_VER}/site-packages/pyglade/style.pyo
lib/python${PYTHON_VER}/site-packages/pyglade/xmlparse.py
lib/python${PYTHON_VER}/site-packages/pyglade/xmlparse.pyc
lib/python${PYTHON_VER}/site-packages/pyglade/xmlparse.pyo
lib/python${PYTHON_VER}/site-packages/GDK.py
lib/python${PYTHON_VER}/site-packages/GDK.pyc
lib/python${PYTHON_VER}/site-packages/GDK.pyo
lib/python${PYTHON_VER}/site-packages/GTK.py
lib/python${PYTHON_VER}/site-packages/GTK.pyc
lib/python${PYTHON_VER}/site-packages/GTK.pyo
lib/python${PYTHON_VER}/site-packages/GdkImlib.py
lib/python${PYTHON_VER}/site-packages/GdkImlib.pyc
lib/python${PYTHON_VER}/site-packages/GdkImlib.pyo
lib/python${PYTHON_VER}/site-packages/GtkExtra.py
lib/python${PYTHON_VER}/site-packages/GtkExtra.pyc
lib/python${PYTHON_VER}/site-packages/GtkExtra.pyo
lib/python${PYTHON_VER}/site-packages/_gdkimlibmodule.a
lib/python${PYTHON_VER}/site-packages/_gdkimlibmodule.la
lib/python${PYTHON_VER}/site-packages/_gtkglmodule.a
lib/python${PYTHON_VER}/site-packages/_gtkglmodule.la
lib/python${PYTHON_VER}/site-packages/_gtkmodule.a
lib/python${PYTHON_VER}/site-packages/_gtkmodule.la
lib/python${PYTHON_VER}/site-packages/_libglademodule.a
lib/python${PYTHON_VER}/site-packages/_libglademodule.la
lib/python${PYTHON_VER}/site-packages/gdkpixbufmodule.a
lib/python${PYTHON_VER}/site-packages/gdkpixbufmodule.la
lib/python${PYTHON_VER}/site-packages/gtk.py
lib/python${PYTHON_VER}/site-packages/gtk.pyc
lib/python${PYTHON_VER}/site-packages/gtk.pyo
lib/python${PYTHON_VER}/site-packages/gtkgl.py
lib/python${PYTHON_VER}/site-packages/gtkgl.pyc
lib/python${PYTHON_VER}/site-packages/gtkgl.pyo
lib/python${PYTHON_VER}/site-packages/libglade.py
lib/python${PYTHON_VER}/site-packages/libglade.pyc
lib/python${PYTHON_VER}/site-packages/libglade.pyo
%%SHARED%%
share/pygtk/1.2/codegen/generate.py
share/pygtk/1.2/codegen/generate.pyc
share/pygtk/1.2/codegen/generate.pyo
share/pygtk/1.2/codegen/scmexpr.py
share/pygtk/1.2/codegen/scmexpr.pyc
share/pygtk/1.2/codegen/scmexpr.pyo
share/pygtk/1.2/defs/gtk.defs
share/pygtk/1.2/defs/gtkbase.defs
share/pygtk/1.2/defs/gtkcontainers.defs
share/pygtk/1.2/defs/gtkdata.defs
share/pygtk/1.2/defs/gtkdnd.defs
share/pygtk/1.2/defs/gtkedit.defs
share/pygtk/1.2/defs/gtkenums.defs
share/pygtk/1.2/defs/gtkgl.defs
share/pygtk/1.2/defs/gtklists.defs
share/pygtk/1.2/defs/gtkmenus.defs
share/pygtk/1.2/defs/gtkmisc.defs
share/pygtk/1.2/defs/gtkranges.defs
share/pygtk/1.2/defs/libglade.defs
@dirrm include/pygtk
@dirrm lib/python${PYTHON_VER}/site-packages/pyglade
@dirrm share/pygtk/1.2/codegen
@dirrm share/pygtk/1.2/defs
@dirrm share/pygtk/1.2
@dirrm share/pygtk