Import py-gtk2-2.0.0
PyGTK allows you to write full featured GTK programs in Python. It is targetted at GTK 2.x, and can be used in conjunction with gnome-python to write Gnome applications. Submitted and maintained by Michael Coulter <mjc at bitz.ca> ok sturm@.
This commit is contained in:
parent
5a8c79a064
commit
ea30be9d17
50
x11/py-gtk2/Makefile
Normal file
50
x11/py-gtk2/Makefile
Normal file
@ -0,0 +1,50 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/02/16 21:12:50 xsa Exp $
|
||||
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
||||
|
||||
COMMENT= "gtk+2 Python bindings"
|
||||
|
||||
V= 2.0.0
|
||||
DISTNAME= pygtk-${V}
|
||||
PKGNAME= py-gtk2-${V}
|
||||
CATEGORIES= x11
|
||||
|
||||
HOMEPAGE= http://www.pygtk.org/
|
||||
|
||||
MAINTAINER= Michael Coulter <mjc@bitz.ca>
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/2.0/}
|
||||
|
||||
MODULES= iconv python
|
||||
|
||||
MODPY_DISTUTILS_BUILDARGS= --enable-threading
|
||||
|
||||
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
|
||||
:py-Numeric-*:math/py-Numeric
|
||||
LIB_DEPENDS= gthread-2.0.0.0::devel/glib2 \
|
||||
glade-2.0.0.0::devel/libglade2 \
|
||||
gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-thread
|
||||
CONFIGURE_ENV= PYTHON=${MODPY_BIN}
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-gtk2
|
||||
|
||||
pre-build:
|
||||
@perl -pi -e 's,%%PREFIX%%,${PREFIX},g' \
|
||||
${WRKSRC}/codegen/pygtk-codegen-2.0.in
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples; tar cf - . | tar xf - -C ${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/py-gtk2/distinfo
Normal file
3
x11/py-gtk2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pygtk-2.0.0.tar.gz) = 48524cd6bdb52af89a495b0dc3d13f64
|
||||
RMD160 (pygtk-2.0.0.tar.gz) = 3f81bc48f64e48b4a57dce124b8546d12f22eede
|
||||
SHA1 (pygtk-2.0.0.tar.gz) = 9b6f1441d20a614d8f32d7cc23ec7e4d93dacadd
|
13
x11/py-gtk2/patches/patch-codegen_pygtk-codegen-2_0_in
Normal file
13
x11/py-gtk2/patches/patch-codegen_pygtk-codegen-2_0_in
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-codegen_pygtk-codegen-2_0_in,v 1.1.1.1 2004/02/16 21:12:50 xsa Exp $
|
||||
--- codegen/pygtk-codegen-2.0.in.orig 2001-07-03 04:41:29.000000000 +0200
|
||||
+++ codegen/pygtk-codegen-2.0.in 2004-02-16 23:19:21.000000000 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
-prefix=@prefix@
|
||||
-datadir=@datadir@
|
||||
+prefix=%%PREFIX%%
|
||||
+datadir=${prefix}/share
|
||||
codegendir=${datadir}/pygtk/2.0/codegen
|
||||
|
||||
PYTHONPATH=$codegendir
|
62
x11/py-gtk2/patches/patch-ltmain_sh
Normal file
62
x11/py-gtk2/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,62 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2004/02/16 21:12:50 xsa Exp $
|
||||
--- ltmain.sh.orig 2003-04-21 15:45:15.000000000 +0200
|
||||
+++ ltmain.sh 2004-02-16 23:58:12.000000000 +0100
|
||||
@@ -1290,6 +1290,17 @@ EOF
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -5705,40 +5716,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- $echo "----------------------------------------------------------------------"
|
||||
- $echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- $echo " $libdir"
|
||||
- done
|
||||
- $echo
|
||||
- $echo "If you ever happen to want to link against installed libraries"
|
||||
- $echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- $echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- $echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- $echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- $echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- $echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- $echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- $echo
|
||||
- $echo "See any operating system documentation about shared libraries for"
|
||||
- $echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- $echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
3
x11/py-gtk2/pkg/DESCR
Normal file
3
x11/py-gtk2/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
PyGTK allows you to write full featured GTK programs in
|
||||
Python. It is targetted at GTK 2.x, and can be used in
|
||||
conjunction with gnome-python to write Gnome applications.
|
123
x11/py-gtk2/pkg/PLIST
Normal file
123
x11/py-gtk2/pkg/PLIST
Normal file
@ -0,0 +1,123 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/02/16 21:12:50 xsa Exp $
|
||||
bin/pygtk-codegen-2.0
|
||||
include/pygtk-2.0/pygobject.h
|
||||
include/pygtk-2.0/pygtk/pygtk.h
|
||||
lib/pkgconfig/pygtk-2.0.pc
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/atk.so
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/dsextras.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/dsextras.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gobject.so
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/_gtk.so
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/compat.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/compat.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/glade.so
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/keysyms.py
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/keysyms.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/pango.so
|
||||
lib/python${MODPY_VERSION}/site-packages/pygtk.pth
|
||||
lib/python${MODPY_VERSION}/site-packages/pygtk.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pygtk.pyc
|
||||
share/examples/py-gtk2/atk/atk-demo.py
|
||||
share/examples/py-gtk2/gl/README
|
||||
share/examples/py-gtk2/gl/cone.py
|
||||
share/examples/py-gtk2/gl/dots.py
|
||||
share/examples/py-gtk2/gl/gears.py
|
||||
share/examples/py-gtk2/glade/README
|
||||
share/examples/py-gtk2/glade/glade-demo.py
|
||||
share/examples/py-gtk2/glade/test.glade
|
||||
share/examples/py-gtk2/gobject/properties.py
|
||||
share/examples/py-gtk2/gobject/signal.py
|
||||
share/examples/py-gtk2/ide/README
|
||||
share/examples/py-gtk2/ide/break.xpm
|
||||
share/examples/py-gtk2/ide/browse.py
|
||||
share/examples/py-gtk2/ide/continue.xpm
|
||||
share/examples/py-gtk2/ide/edit.py
|
||||
share/examples/py-gtk2/ide/edit.xpm
|
||||
share/examples/py-gtk2/ide/gtkcons.py
|
||||
share/examples/py-gtk2/ide/gtkdb.py
|
||||
share/examples/py-gtk2/ide/gtkprof.py
|
||||
share/examples/py-gtk2/ide/minibreak.xpm
|
||||
share/examples/py-gtk2/ide/next.xpm
|
||||
share/examples/py-gtk2/ide/pyide.py
|
||||
share/examples/py-gtk2/ide/quit.xpm
|
||||
share/examples/py-gtk2/ide/return.xpm
|
||||
share/examples/py-gtk2/ide/run.xpm
|
||||
share/examples/py-gtk2/ide/step.xpm
|
||||
share/examples/py-gtk2/neil/README
|
||||
share/examples/py-gtk2/neil/TAppli.py
|
||||
share/examples/py-gtk2/neil/TAppli2.py
|
||||
share/examples/py-gtk2/neil/TAppli3.py
|
||||
share/examples/py-gtk2/neil/TAppli4.py
|
||||
share/examples/py-gtk2/neil/TAppli5.py
|
||||
share/examples/py-gtk2/neil/bomb.xpm
|
||||
share/examples/py-gtk2/neil/gtk-logo.xpm
|
||||
share/examples/py-gtk2/neil/notebook.py
|
||||
share/examples/py-gtk2/neil/question.xpm
|
||||
share/examples/py-gtk2/pango/utf8-demo.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/__init__.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/appwindow.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/buttonbox.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/colorsel.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/dialogs.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/dnd.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/dndpixmap.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/editable_cells.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/itemfactory.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/list_store.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/menu.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/panes.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/sizegroup.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/stock_browser.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/toolbar.py
|
||||
share/examples/py-gtk2/pygtk-demo/demos/treemodel.py
|
||||
share/examples/py-gtk2/pygtk-demo/pygtk-demo.py
|
||||
share/examples/py-gtk2/simple/README
|
||||
share/examples/py-gtk2/simple/dnd.py
|
||||
share/examples/py-gtk2/simple/dndpixmap.py
|
||||
share/examples/py-gtk2/simple/hello.py
|
||||
share/examples/py-gtk2/simple/scribble.py
|
||||
share/examples/py-gtk2/simple/simple.py
|
||||
share/examples/py-gtk2/simple/tooltip.py
|
||||
share/pygtk/2.0/codegen/__init__.py
|
||||
share/pygtk/2.0/codegen/argtypes.py
|
||||
share/pygtk/2.0/codegen/codegen.py
|
||||
share/pygtk/2.0/codegen/definitions.py
|
||||
share/pygtk/2.0/codegen/defsparser.py
|
||||
share/pygtk/2.0/codegen/docextract.py
|
||||
share/pygtk/2.0/codegen/docgen.py
|
||||
share/pygtk/2.0/codegen/h2def.py
|
||||
share/pygtk/2.0/codegen/mergedefs.py
|
||||
share/pygtk/2.0/codegen/mkskel.py
|
||||
share/pygtk/2.0/codegen/override.py
|
||||
share/pygtk/2.0/codegen/scmexpr.py
|
||||
share/pygtk/2.0/defs/atk-types.defs
|
||||
share/pygtk/2.0/defs/atk.defs
|
||||
share/pygtk/2.0/defs/gdk-types.defs
|
||||
share/pygtk/2.0/defs/gdk.defs
|
||||
share/pygtk/2.0/defs/gtk-extrafuncs.defs
|
||||
share/pygtk/2.0/defs/gtk-types.defs
|
||||
share/pygtk/2.0/defs/gtk.defs
|
||||
share/pygtk/2.0/defs/libglade.defs
|
||||
share/pygtk/2.0/defs/pango-types.defs
|
||||
share/pygtk/2.0/defs/pango.defs
|
||||
@dirrm share/pygtk/2.0/defs
|
||||
@dirrm share/pygtk/2.0/codegen
|
||||
@dirrm share/pygtk/2.0
|
||||
@dirrm share/pygtk
|
||||
@dirrm share/examples/py-gtk2/simple
|
||||
@dirrm share/examples/py-gtk2/pygtk-demo/demos
|
||||
@dirrm share/examples/py-gtk2/pygtk-demo
|
||||
@dirrm share/examples/py-gtk2/pango
|
||||
@dirrm share/examples/py-gtk2/neil
|
||||
@dirrm share/examples/py-gtk2/ide
|
||||
@dirrm share/examples/py-gtk2/gobject
|
||||
@dirrm share/examples/py-gtk2/glade
|
||||
@dirrm share/examples/py-gtk2/gl
|
||||
@dirrm share/examples/py-gtk2/atk
|
||||
@dirrm share/examples/py-gtk2
|
||||
@dirrm lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk
|
||||
@dirrm lib/python${MODPY_VERSION}/site-packages/gtk-2.0
|
||||
@dirrm include/pygtk-2.0/pygtk
|
||||
@dirrm include/pygtk-2.0
|
Loading…
Reference in New Issue
Block a user