# pygtk2/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.63 minutes) - HP EliteBook 8560w 32GB RAM 00.02 hours (or 001.02 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.03 hours (or 001.57 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.03 hours (or 001.73 minutes) - ThinkPad W530 i7 4x2 32GB RAM using a 64-bit kernel and 32-bit distro 00.10 hours (or 005.85 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] license = See "license*.txt" in installed tree licfile = COPYING licprefix = $PRODTREE/python2 ltkludge = yes proddir = none purge = no shareddir = yes tmpsize = 57M unpack = relaxed setpaths = python2-core gtkcore llvmgcc #--------------------------------------------------------------------- [depends] expat gtkcore libglade2 gtkatk perl pkgconf pycairo pygobject-gtk2 python:strict python2-core:strict python2-tcltk:strict python-numeric #--------------------------------------------------------------------- [configure] PYTOPDIR=$PRODTREE/python2 PYBINDIR=$PYTOPDIR/bin PYLIBDIR=$PYTOPDIR/lib aclocal -I m4 libtoolize --install --copy autoconf automake --add-missing bash ./configure \ --prefix=$PYTOPDIR \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --enable-shared=yes \ --enable-static=no #--------------------------------------------------------------------- [build] smpmake DESTDIR=/ smpmake install cd gtk DESTDIR=/ smpmake install #--------------------------------------------------------------------- [postbuild] echo postbuild PYTOPDIR=$PRODTREE/python2 PYBINDIR=$PYTOPDIR/bin PYLIBDIR=$PYTOPDIR/lib PS=`pyseries` rm -fr $PYLIBDIR/pygtk/2.*/demos rm -fr $PYTOPDIR/share/gtk-doc for file in py{gobject,gtk}-2.*.pc do sed -e 's|Cflags: -I.*|& -I${includedir}/python__PS__|' \ -e 's| * -I| -I|g' \ -e "s|__PS__|$PS|" \ -i $PYLIBDIR/pkgconfig/$file done instreplinks -d $PYBINDIR $SYSDIR_BIN instreplinks -d $PYLIBDIR/pkgconfig $SYSDIR_LIB/pkgconfig #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/pygtk url_home = http://www.pygtk.org/ url_lfs = n/a url_tarball = https://ftp.gnome.org/pub/gnome/sources/\ pygtk/2.24/pygtk-2.24.0.tar.gz #--------------------------------------------------------------------- [history] 171116 Add some Debian patches 210128 Add patches to fix multiple problems