On 01/20/2014 09:49 PM, David C. Rankin wrote:
On 01/20/2014 06:04 PM, Slávek Banko wrote:
Frankly, surprised me that you're the problem encountered in tdebase instead of in tdelibs :) I have an idea how I wanted it solved - please, hold on, I will prepare a patch.
I would have if I hadn't screwed up the cmake options when I built tdelibs the first time ;-)
On 01/20/2014 07:17 PM, Slávek Banko wrote:
Well, try proposed patch.
Slavek
Will give it a try and report back.
HOLY CRAP!!
tdelibs built fine with the patch -- and in 7 minutes flat with 'make -j4'!!!
Script Execution Time: 7 minutes - that is down from 27 min with -j1 and this is on a 5 year old box.
The patch works great -- push it. That was the only patch/mod to the build. I built with:
build() { msg "Setting PATH, CMAKE and Trinity Environment variables" # Source the QT and TDE profile [ "$QTDIR" = "" ] && . /etc/profile.d/tqt3.sh [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
cd "${srcdir}/${pkgname//tde-}"
## patch /usr/bin/ld: cannot find -ldbus-1-tqt msg "/usr/bin/ld: cannot find -ldbus-1-tqt..." patch -Np1 -i "${srcdir}/tdelibs-tdecore-libdirs.diff"
cd $srcdir msg "Creating out-of-source build directory: ${srcdir}/${_builddir}" mkdir -p build cd build
msg "Starting cmake..." cmake ${srcdir}/tdelibs \ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DWITH_ARTS=ON \ -DWITH_ALSA=ON \ -DWITH_LIBART=ON \ -DWITH_LIBIDN=ON \ -DWITH_SSL=ON \ -DWITH_CUPS=ON \ -DWITH_LUA=OFF \ -DWITH_TIFF=ON \ -DWITH_JASPER=ON \ -DWITH_OPENEXR=ON \ -DWITH_UTEMPTER=ON \ -DWITH_AVAHI=ON \ -DWITH_PAM=ON \ -DWITH_PCRE=ON \ -DWITH_TDEHWLIB_DAEMONS=ON \ -DWITH_UPOWER=ON \ -DWITH_UDISKS2=ON \ -DWITH_LZMA=ON \ -DWITH_XRANDR=ON \ -DWITH_XCOMPOSITE=ON \ -DWITH_ASPELL=ON \ -DWITH_HSPELL=ON
msg "Building - $pkgname..." make -j4 }