update to 2.4.1; no objection from mjc@

This commit is contained in:
naddy 2005-05-12 21:10:05 +00:00
parent 5f62e72841
commit e36578afb0
6 changed files with 104 additions and 112 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.6 2004/12/19 17:36:32 alek Exp $
# $OpenBSD: Makefile,v 1.7 2005/05/12 21:10:05 naddy Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "gtk+2 Python bindings"
V= 2.2.0
V= 2.4.1
DISTNAME= pygtk-${V}
PKGNAME= py-gtk2-${V}
CATEGORIES= x11
@ -20,36 +20,36 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xcursor Xext Xft Xinerama Xrender atk-1.0.0.0 \
fontconfig freetype glib-2.0.0.0 gmodule-2.0.0.0 \
gobject-2.0.0.0 intl m pango-1.0.0.0 pangox-1.0.0.0 \
pangoxft-1.0.0.0 xml2 z
gobject-2.0.0.0 intl m pango-1.0.0.0 pangoft2-1.0.0.0 \
pangox-1.0.0.0 pangoxft-1.0.0.0 xml2 z
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/2.2/}
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/2.4/}
EXTRACT_SUFX= .tar.bz2
MODULES= converters/libiconv lang/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
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-thread
CONFIGURE_ENV= PYTHON=${MODPY_BIN}
NO_REGRESS= Yes
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
EXAMPLESDIR= ${PREFIX}/share/examples/py-gtk2
pre-build:
@perl -pi -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/codegen/pygtk-codegen-2.0.in \
${WRKSRC}/pygtk-2.0.pc.in
do-build:
@cd ${WRKBUILD} && exec ${_SYSTRACE_CMD} ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} ${ALL_TARGET}
do-install:
@cd ${WRKBUILD} && exec ${SUDO} ${_SYSTRACE_CMD} ${SETENV} ${MAKE_ENV} ${_FAKE_SETUP} ${MAKE_PROGRAM} ${FAKE_FLAGS} -f ${MAKE_FILE} ${FAKE_TARGET}
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples; tar cf - . | tar xf - -C ${EXAMPLESDIR}
cd ${WRKSRC}/examples; pax -rw [a-z]* ${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
MD5 (pygtk-2.2.0.tar.gz) = 395bb4d8a39347b2fe67db35e83ea8cb
RMD160 (pygtk-2.2.0.tar.gz) = 26889592fca3afb118c847a28685c5d427e2bc8b
SHA1 (pygtk-2.2.0.tar.gz) = ff9427b4f171cd851e182da3182ab0034014d8ab
SIZE (pygtk-2.2.0.tar.gz) = 704781
MD5 (pygtk-2.4.1.tar.bz2) = a926ffbc8cb3e0b7ddbfdbccd879a28d
RMD160 (pygtk-2.4.1.tar.bz2) = 5c381aec4342c4a1ddb1f0282c3a59e4b6610c6f
SHA1 (pygtk-2.4.1.tar.bz2) = c0a24fd4a67e0fd58a7e5ceb00f5e8c0231cdd88
SIZE (pygtk-2.4.1.tar.bz2) = 714469

View File

@ -1,13 +0,0 @@
$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

View File

@ -1,62 +0,0 @@
$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
;;

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-pygtk-2_0_pc_in,v 1.1 2004/11/10 10:24:16 alek Exp $
--- pygtk-2.0.pc.in.orig Sat Feb 8 23:39:21 2003
+++ pygtk-2.0.pc.in Tue Nov 9 23:51:30 2004
@@ -1,7 +1,7 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-includedir=@includedir@
-datadir=@datadir@
+prefix=%%PREFIX%%
+exec_prefix=${prefix}/bin
+includedir=${prefix}/include
+datadir=${prefix}/share
# you can use the --variable=pygtkincludedir argument to
# pkg-config to get this value. You might want to use this to

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 19:26:31 espie Exp $
@comment $OpenBSD: PLIST,v 1.4 2005/05/12 21:10:05 naddy Exp $
bin/pygtk-codegen-2.0
include/pygtk-2.0/
include/pygtk-2.0/pygobject.h
@ -7,38 +7,60 @@ include/pygtk-2.0/pygtk/pygtk.h
lib/pkgconfig/
lib/pkgconfig/pygtk-2.0.pc
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/atk.a
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/atk.la
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/dsextras.pyo
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gobject.a
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gobject.la
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gobject.so
lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/
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/__init__.pyo
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/_gtk.a
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/_gtk.la
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/compat.pyo
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/glade.a
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/gtk/glade.la
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/gtk/keysyms.pyo
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/pango.a
@comment lib/python${MODPY_VERSION}/site-packages/gtk-2.0/pango.la
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
lib/python${MODPY_VERSION}/site-packages/pygtk.pyo
share/examples/py-gtk2/
share/examples/py-gtk2/atk/
share/examples/py-gtk2/atk/atk-demo.py
share/examples/py-gtk2/glade/
share/examples/py-gtk2/glade/README
share/examples/py-gtk2/glade/autoconnect.py
share/examples/py-gtk2/glade/glade-demo.py
share/examples/py-gtk2/glade/test.glade
share/examples/py-gtk2/glade/test2.glade
share/examples/py-gtk2/gobject/
share/examples/py-gtk2/gobject/properties.py
share/examples/py-gtk2/gobject/signal.py
share/examples/py-gtk2/gtk/
share/examples/py-gtk2/gtk/filechooser.py
share/examples/py-gtk2/gtk/uimanager.py
share/examples/py-gtk2/gtk/widget.py
share/examples/py-gtk2/ide/
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/dialogs.py
share/examples/py-gtk2/ide/edit.py
share/examples/py-gtk2/ide/edit.xpm
share/examples/py-gtk2/ide/gtkcons.py
@ -67,22 +89,58 @@ share/examples/py-gtk2/pango/utf8-demo.py
share/examples/py-gtk2/pygtk-demo/
share/examples/py-gtk2/pygtk-demo/demos/
share/examples/py-gtk2/pygtk-demo/demos/__init__.py
share/examples/py-gtk2/pygtk-demo/demos/__init__.pyc
share/examples/py-gtk2/pygtk-demo/demos/appwindow.py
share/examples/py-gtk2/pygtk-demo/demos/appwindow.pyc
share/examples/py-gtk2/pygtk-demo/demos/buttonbox.py
share/examples/py-gtk2/pygtk-demo/demos/buttonbox.pyc
share/examples/py-gtk2/pygtk-demo/demos/changedisplay.py
share/examples/py-gtk2/pygtk-demo/demos/colorsel.py
share/examples/py-gtk2/pygtk-demo/demos/colorsel.pyc
share/examples/py-gtk2/pygtk-demo/demos/dialogs.py
share/examples/py-gtk2/pygtk-demo/demos/dialogs.pyc
share/examples/py-gtk2/pygtk-demo/demos/dnd.py
share/examples/py-gtk2/pygtk-demo/demos/dnd.pyc
share/examples/py-gtk2/pygtk-demo/demos/dndpixmap.py
share/examples/py-gtk2/pygtk-demo/demos/dndpixmap.pyc
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/editable_cells.pyc
share/examples/py-gtk2/pygtk-demo/demos/entry_completion.py
share/examples/py-gtk2/pygtk-demo/demos/expander.py
share/examples/py-gtk2/pygtk-demo/demos/hypertext.py
share/examples/py-gtk2/pygtk-demo/demos/images/
share/examples/py-gtk2/pygtk-demo/demos/images.py
share/examples/py-gtk2/pygtk-demo/demos/images.pyc
share/examples/py-gtk2/pygtk-demo/demos/images/alphatest.png
share/examples/py-gtk2/pygtk-demo/demos/images/apple-red.png
share/examples/py-gtk2/pygtk-demo/demos/images/background.jpg
share/examples/py-gtk2/pygtk-demo/demos/images/floppybuddy.gif
share/examples/py-gtk2/pygtk-demo/demos/images/gnome-applets.png
share/examples/py-gtk2/pygtk-demo/demos/images/gnome-calendar.png
share/examples/py-gtk2/pygtk-demo/demos/images/gnome-foot.png
share/examples/py-gtk2/pygtk-demo/demos/images/gnome-gimp.png
share/examples/py-gtk2/pygtk-demo/demos/images/gnome-gmush.png
share/examples/py-gtk2/pygtk-demo/demos/images/gnome-gsame.png
share/examples/py-gtk2/pygtk-demo/demos/images/gnu-keys.png
share/examples/py-gtk2/pygtk-demo/demos/images/gtk-logo-rgb.gif
share/examples/py-gtk2/pygtk-demo/demos/itemfactory.pyc
share/examples/py-gtk2/pygtk-demo/demos/list_store.py
share/examples/py-gtk2/pygtk-demo/demos/list_store.pyc
share/examples/py-gtk2/pygtk-demo/demos/menu.py
share/examples/py-gtk2/pygtk-demo/demos/menu.pyc
share/examples/py-gtk2/pygtk-demo/demos/panes.py
share/examples/py-gtk2/pygtk-demo/demos/panes.pyc
share/examples/py-gtk2/pygtk-demo/demos/pixbufs.py
share/examples/py-gtk2/pygtk-demo/demos/sizegroup.py
share/examples/py-gtk2/pygtk-demo/demos/sizegroup.pyc
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/stock_browser.pyc
share/examples/py-gtk2/pygtk-demo/demos/textview.py
share/examples/py-gtk2/pygtk-demo/demos/toolbar.pyc
share/examples/py-gtk2/pygtk-demo/demos/tree_store.py
share/examples/py-gtk2/pygtk-demo/demos/treemodel.py
share/examples/py-gtk2/pygtk-demo/gtk-logo-rgb.gif
share/examples/py-gtk2/pygtk-demo/demos/treemodel.pyc
share/examples/py-gtk2/pygtk-demo/demos/ui_manager.py
share/examples/py-gtk2/pygtk-demo/pygtk-demo.py
share/examples/py-gtk2/simple/
share/examples/py-gtk2/simple/README
@ -96,17 +154,41 @@ share/pygtk/
share/pygtk/2.0/
share/pygtk/2.0/codegen/
share/pygtk/2.0/codegen/__init__.py
share/pygtk/2.0/codegen/__init__.pyc
share/pygtk/2.0/codegen/__init__.pyo
share/pygtk/2.0/codegen/argtypes.py
share/pygtk/2.0/codegen/argtypes.pyc
share/pygtk/2.0/codegen/argtypes.pyo
share/pygtk/2.0/codegen/codegen.py
share/pygtk/2.0/codegen/codegen.pyc
share/pygtk/2.0/codegen/codegen.pyo
share/pygtk/2.0/codegen/definitions.py
share/pygtk/2.0/codegen/definitions.pyc
share/pygtk/2.0/codegen/definitions.pyo
share/pygtk/2.0/codegen/defsparser.py
share/pygtk/2.0/codegen/defsparser.pyc
share/pygtk/2.0/codegen/defsparser.pyo
share/pygtk/2.0/codegen/docextract.py
share/pygtk/2.0/codegen/docextract.pyc
share/pygtk/2.0/codegen/docextract.pyo
share/pygtk/2.0/codegen/docgen.py
share/pygtk/2.0/codegen/docgen.pyc
share/pygtk/2.0/codegen/docgen.pyo
share/pygtk/2.0/codegen/h2def.py
share/pygtk/2.0/codegen/h2def.pyc
share/pygtk/2.0/codegen/h2def.pyo
share/pygtk/2.0/codegen/mergedefs.py
share/pygtk/2.0/codegen/mergedefs.pyc
share/pygtk/2.0/codegen/mergedefs.pyo
share/pygtk/2.0/codegen/mkskel.py
share/pygtk/2.0/codegen/mkskel.pyc
share/pygtk/2.0/codegen/mkskel.pyo
share/pygtk/2.0/codegen/override.py
share/pygtk/2.0/codegen/override.pyc
share/pygtk/2.0/codegen/override.pyo
share/pygtk/2.0/codegen/scmexpr.py
share/pygtk/2.0/codegen/scmexpr.pyc
share/pygtk/2.0/codegen/scmexpr.pyo
share/pygtk/2.0/defs/
share/pygtk/2.0/defs/atk-types.defs
share/pygtk/2.0/defs/atk.defs