Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/gnome
In directory usw-pr-cvs1:/tmp/cvs-serv25026
Added Files:
pygtk-0.6.9-2.info pygtk-0.6.9-2.patch
Log Message:
10.2 ok
--- NEW FILE: pygtk-0.6.9-2.info ---
Package: pygtk
Version: 0.6.9
Revision: 2
Maintainer: Jeremy Higgs <[EMAIL PROTECTED]>
BuildDepends: libjpeg, libpng, libtiff, netpbm, audiofile, db3 (>= 3.3.11-8), esound,
glib, orbit, readline (>= 4.3-5), giflib, gdbm, gmp, gnome-libs-dev, expat, libxml,
tcltk-dev, fink (>= 0.10.0)
Depends: gtk+, python (>= 2.2.1-8), imlib, gdk-pixbuf, libglade, dlcompat
Source: ftp://ftp.gtk.org/pub/gtk/python/%n-%v.tar.gz
PatchScript: <<
mv GTK.py GTKI.py
patch -p1 < %a/%f.patch
<<
SetCPPFLAGS: -no-cpp-precomp
InstallScript: <<
#!/bin/sh
make install prefix=%i
PYGTKI=`find %i -name GTKI.py`
PYGTKC=`find %i -name GTKI.pyc`
PYGTKO=`find %i -name GTKI.pyo`
/usr/bin/install -d -m 655 %i/lib/site-python
mv $PYGTKI %i/lib/site-python/GTK.py
mv $PYGTKC %i/lib/site-python/GTK.pyc
mv $PYGTKO %i/lib/site-python/GTK.pyo
<<
DocFiles: COPYING MAPPING NEWS README
#
Description: Modules for use of GTK with Python.
DescDetail: <<
PyGTK provides the bindings neccessary to use GTK in Python programs.
<<
DescPort: <<
* Patch modifies configure script to use changes from libtool 1.4
* '-no-cpp-precomp' flag added to CPPFLAGS to compile source properly.
* Added '-flat_namespace' to undefined flags for 10.1 compatability.
* Put gtk.py into the patch as gtkI.py, it was being overwritten by GTK.py
* After install, rm the gtkI.py* stuff and install gtk.py in %i/lib/site-python
* gtk.py is not byte compiled, because it is in an unversioned dir.
<<
Homepage: http://www.daa.com.au/~james/pygtk/
License: LGPL
--- NEW FILE: pygtk-0.6.9-2.patch ---
diff -Naur pygtk-0.6.9.old/Makefile.in pygtk-0.6.9/Makefile.in
--- pygtk-0.6.9.old/Makefile.in Thu Jan 3 23:03:38 2002
+++ pygtk-0.6.9/Makefile.in Thu Aug 22 07:24:13 2002
@@ -153,7 +153,7 @@
pkginclude_HEADERS = pygtk.h pygdkimlib.h pygdkpixbuf.h
-python_PYTHON = gtk.py GTK.py GDK.py GtkExtra.py \
+python_PYTHON = gtk.py GTKI.py GDK.py GtkExtra.py \
$(imlib_mods) $(gtkgl_mods) $(libglade_mods)
noinst_PYTHON = mkgtk.py description.py
diff -Naur pygtk-0.6.9.old/configure pygtk-0.6.9/configure
--- pygtk-0.6.9.old/configure Thu Jan 3 23:03:44 2002
+++ pygtk-0.6.9/configure Thu Aug 22 07:24:13 2002
@@ -2569,7 +2569,7 @@
;;
darwin* | rhapsody*)
[...3598 lines suppressed...]
+ eval exec $exec_cmd
+ exit 1
+fi
# We need to display help for each of the modes.
case $mode in
diff -Naur pygtk-0.6.9.old/pygtk.h pygtk-0.6.9/pygtk.h
--- pygtk-0.6.9.old/pygtk.h Thu Dec 16 08:33:49 1999
+++ pygtk-0.6.9/pygtk.h Thu Aug 22 07:24:13 2002
@@ -241,8 +241,9 @@
#if defined(NO_IMPORT) || defined(NO_IMPORT_PYGTK)
extern struct _PyGtk_FunctionStruct *_PyGtk_API;
#else
-struct _PyGtk_FunctionStruct *_PyGtk_API;
+static struct _PyGtk_FunctionStruct *_PyGtk_API;
#endif
+
/* type objects */
#define PyGtk_Type *(_PyGtk_API->gtk_type)
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits