# wxwidgets28/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "wxwidgets28" installs an older release of "wxwidgets*" for use by packages that require it. The older release is hidden from the build system by default. It needs to be requested explicitly. #--------------------------------------------------------------------- 2. This package needs to be built on the target architecture. Cross- compile isn't supported. #--------------------------------------------------------------------- [buildtimes] 00.09 hours (or 005.37 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.10 hours (or 006.05 minutes) - HP EliteBook 8560w 32GB RAM 00.12 hours (or 007.08 minutes) - ThinkPad W530 i7 4x2 32GB RAM using a 64-bit kernel and 32-bit distro #--------------------------------------------------------------------- [settings] altpkg = yes exepack = yes license = See "license*.txt" under installed tree nosyslinks = yes revision = numeric dontfind = gstreamer wxpython wxwidgets30 wxwidgets32 setpaths = gtk20 wxwidgets28 xorg tmpsize = 1015M #--------------------------------------------------------------------- [depends] actools cairo coreutils esound expat gawk gconf grep gtkcore jpeg libgnomeprintui libpng libxml2 orbit perl pkgconf python sdl sed tiff xorg zlib #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE export CFLAGS=-std=c99 export CXXFLAGS=-std=c++98 gcc -v bash ./configure \ --prefix=$PKGDIR_PROD \ --disable-debug \ --disable-debugreport \ --disable-mediactrl \ --enable-aui \ --enable-display \ --enable-geometry \ --enable-gui \ --enable-graphics_ctx \ --enable-optimise \ --enable-shared \ --disable-sound \ --enable-unicode \ --mandir=$MANBASE \ --with-gnomeprint \ --with-gtk \ --with-opengl \ --with-sdl #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib SHADIR=$PKGDIR_PROD/share mkdir -p $BINDIR $DOCDIR $INCDIR $LIBDIR $SHADIR smpmake cd contrib smpmake cd .. make install cd contrib make install cd .. # This block may be needed for "wx" 3.X. It may or may not be needed # for "wx" 2.8.12.X. # pushd $LIBDIR # for x in *.so.0 # do # ln -nsf $x `deext $x` # done # popd cp -p docs/licence.txt $DOCDIR/license-main.txt cp -p docs/licendoc.txt $DOCDIR/license-doc.txt DIR=`pwd` cd $INCDIR ln -nsf wx-2.8/wx . pushd $INCDIR/wx ln -nsf `find $LIBDIR/wx/include/ -type f -name setup.h | \ grep gtk2 | grep release | head -1` setup.h head -2 setup.h patch -p3 < $PKGDIR_SPECIAL/wxwidgets28-01-defs.spcpat for x in `find . -type f -name \*.h | grep -v " "` do perl -pi -e 's@^#include[ \t]+"(wx/[^"]+)"@#include <$1>@;' $x done popd rm -fr $SHADIR/locale #--------------------------------------------------------------------- # 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 = n/a url_home = tbd url_lfs = n/a url_tarball = https://github.com/wxWidgets/wxWidgets/\ releases/download/v2.8.12/wxWidgets-2.8.12.tar.gz