# qt3/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used for this package was created locally based on an upstream tarball. You should be able to obtain both tarballs from the same place as this "cfg" file. #--------------------------------------------------------------------- [buildtimes] 00.05 hours (or 003.27 minutes) - 2021 dedi 00.09 hours (or 005.40 minutes) - HP EliteBook 8560w 32GB RAM 00.10 hours (or 006.10 minutes) - ThinkPad W530 i7 4x2 32GB RAM 00.25 hours (or 014.80 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.35 hours (or 020.77 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 01.09 hours (or 065.22 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM # Older times are apples and oranges since they were produced by # builds that used "make" as opposed to "smpmake || make". #--------------------------------------------------------------------- [settings] altpkg = yes configure = none cppstd = gnu++98 dontfind = libpng, libpng16, libpng14 exepack = yes large = yes license = See "license.txt" under installed tree nosyslinks = yes revision = 3.3.8b setpaths = lcms libmodpng14 xorg tmpsize = 189M unpack = relaxed #--------------------------------------------------------------------- [depends] expat fontconfig freetype2 jpeg lcms libmodpng14 sqlite2 sqlite3 xorg # with GL and GLU zlib #--------------------------------------------------------------------- # Note: "smpmake" may not be safe for use here. [build] echo ================== `date` Initial setup start echo Started build treetextsub --pattern=/usr/X11R6 --newtext=$PRODTREE/xorg --keeptimes mkdir -p bin lib export QTDIR=`pwd` echo QTDIR is $QTDIR temporarily export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH export PATH=$QTDIR/bin:$PATH #PATSER=debian/patches/series #sed -e '/gcc-4.3_compile-fix/d' \ # -e '/immodule/d' \ # -i $PATSER #for x in `cat $PATSER` #do # SUBPAT=debian/patches/$x # echo Applying Debian subpatch $SUBPAT # patch -p1 < $SUBPAT #done echo ================== `date` Initial setup end echo ================== `date` configure start echo Running configure in $QTDIR bash ./configure \ -prefix $PKGDIR_PROD \ \ -no-exceptions \ -no-pch \ -no-xinerama \ -qt-gif \ -qt-libmng \ -system-libpng \ -system-libjpeg \ -system-zlib \ -freetype \ -plugin-imgfmt-png \ -plugin-sql-sqlite \ -release \ -shared \ -thread \ -verbose \ -xft \ -xkb \ -xrender cd $QTDIR/src ln -nsf */*.h . cd $QTDIR/tools/qtconfig ln -nsf $QTDIR/src/*.h . echo ================== `date` configure end echo ================== `date` make start cd $QTDIR echo Running make in $QTDIR smpmake || make echo Running make install make install echo ================== `date` make end echo ================== `date` wrapup start cd $PKGDIR_PROD rm -fr demos doc examples cd $PKGDIR_PROD/include mkdir qt3 mv *.h private qt3/ ln -s qt3 qt cd $PKGDIR_PROD/lib rm -f *.a MKSPECSSUB=$PKGDIR_PROD/mkspecs/linux-g++ rm -f $MKSPECSSUB/linux-g++ sed -e "s|^QMAKE_INCDIR_QT.*=.*QTDIR./include|&/qt3|" \ -i $MKSPECSSUB/qmake.conf DOCDIR=$PKGDIR_PROD/doc mkdir -p $DOCDIR cp -p $QTDIR/LICENSE.QPL $DOCDIR/license.txt echo ================== `date` wrapup end echo Done #--------------------------------------------------------------------- # 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/\ qt-x11-free url_debian_pool = http://ftp.debian.org/debian/pool/main/q/\ qt-x11-free/ url_home = http://www.trolltech.com/products/qt/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ x/lib.html#qt url_tarball = local # See "technotes" in "cfg" file