Sorry, after reading my own posting I just realised there is a mistake. :-[
Here is the corrected version.
# $Id$
# Maintainer: David C. Rankin<drankinatty(a)gmail.com>
pkgbase=trinity
pkgname=trinity-tqtinterface
pkgver=1226875
pkgrel=1
arch=('i686' 'x86_64')
url="http://trinity.pearsoncomputing.net"
license=('GPL2')
groups=('trinity-bld')
pkgdesc="Trinity - tqtinterface"
depends=('python2-sip'
'trinity-qt3'
'trinity-pyqt3')
makedepends=('subversion' 'pkgconfig' 'cmake' 'autoconf')
provides=('trinity-tqtinterface')
conflicts=('trinity-tqtinterface')
replaces=('trinity-tqtinterface')
source=()
_svntrunk="svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface"
_svnmod=tqtinterface
build() {
cd ${srcdir}
msg "Connecting to SVN server to update or checkout ${_svnmod}...."
if [ -d ${_svnmod}/.svn ]; then
(cd ${_svnmod}&& svn up)
[[ $? -eq 0 ]] || _co_failed=1
else
(svn co $_svntrunk ${_svnmod})
[[ $? -eq 0 ]] || _co_failed=1
fi
# if update or checkout failed - bail...
if [[ $_co_failed -ne 1 ]]; then
msg "SVN checkout of revision $pkgver -- Complete."
else
msg "SVN checkout of revision $pkgver -- Failed or server timeout."
exit 1
fi
msg "Setting PATH, CMAKE and Trinity Environment variables"
[[ ${PATH%%:*} =~ /opt/qt/bin ]] || export PATH=/opt/qt/bin:$PATH
cd ${srcdir}/${_svnmod}
#####################################
msg "Starting cmake..."
if [ ! -d ../../build ]
then
mkdir ../../build
fi
cd ../../build
if [ -f CMakeCache.txt ]
then
rm CMakeCache.txt
fi
###############################################
cmake ${srcdir}/${_svnmod} \
-DQT_VERSION=3 \
-DQT_PREFIX_DIR=/opt/qt \
-DCMAKE_INSTALL_PREFIX=/opt/qt \
-DCMAKE_SKIP_RPATH=ON || return 1
make
# cd ${srcdir}/${_svnmod}
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ../build
# cd ${_svnmod}
make DESTDIR="$pkgdir/" install
# include uic-tqt in package
cd ${srcdir}
mkdir -p ${pkgdir}/usr/bin
cp -Rp ${srcdir}/${_svnmod}/qtinterface/uic-tqt ${pkgdir}/usr/bin
# rm -r ${srcdir}/${_svnmod}
}
Castro.
kdeadmin now building 100%, well almost. :-)
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=OFF \
-DBUILD_KFILE-PLUGINS=OFF \ # not attempted yet.
-DBUILD_LILO-CONFIG=OFF \ # can't work on this one, no lilo on my system.
-DBUILD_KNETWORKCONF=OFF \ # not attempted yet.
-DBUILD_KPACKAGE=OFF \ # not working but not applicable to Archlinux.
-DBUILD_KSVSV=OFF \ # working but not applicable to Archlinux.
-DBUILD_ALL=ON
make
kcron # it has not worked on Archlinux for a few years, I use webmin
kdat # it seems to run ok but I have never used it.
kuser # run ok but icons installed in wrong place. :-[
secpolicy # it seems to run ok but I have never used it.
It has taken my three days to get this far.
Now comes the hard bit, I think it will take another two months to tidy it up. :-D
Castro.
Anybody interested in patching a few bugs? The most serious 3.5.12 bugs affecting me are limited to kdelibs/kdebase. I would backport the patches to 3.5.12 and rebuild to test.
Here is a short list of bugs that affect me.
293, Kde-config Incorrectly Creates a Profile Folder in the System root directory
385, Unmounted removable device icons do not appear on the desktop
387, Kicker/Panel Clock Font Display Looks Weird
388, KDESU Dialog Box Behavior
393, Incorrect kdesu Behavior When Opening Kate
394, Problems with DCOP After Using kdesu
427, NumLock light does not reflect actual state
I use kdesu a lot. Those bugs are especially hindering.
Please let me know. I'll test any patches immediately.
Thanks everybody for your devotion and work.
Darrell