summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13')
-rw-r--r--arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD6
-rw-r--r--arch/3.5.13/trinity-apps/trinity-ktorrent/PKGBUILD2
-rw-r--r--arch/3.5.13/trinity-base/hal/PKGBUILD12
-rw-r--r--arch/3.5.13/trinity-base/hal/udev-update.patch26
-rwxr-xr-xarch/3.5.13/trinity-base/mkpkg15
-rw-r--r--arch/3.5.13/trinity-base/trinity-arts/PKGBUILD36
-rw-r--r--arch/3.5.13/trinity-base/trinity-dbus-tqt-1/PKGBUILD54
-rw-r--r--arch/3.5.13/trinity-base/trinity-dbus-tqt/PKGBUILD3
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/PKGBUILD216
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/agent-shutdown.sh13
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh19
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/arch-kdeshutdown.pngbin0 -> 5483 bytes
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/kdebase-3.5.13.tar.gzbin0 -> 29723824 bytes
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/kdm-default-face.pngbin0 -> 4325 bytes
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/kdm-trinity40
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/patches.tar.bz2bin0 -> 3671 bytes
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase-3513-5.src.tar.gzbin0 -> 18979 bytes
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install19
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/trinity.desktop8
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase-split/xsession.patch (renamed from arch/3.5.13/trinity-base/trinity-kdebase/Xsession.patch)0
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase/PKGBUILD83
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase/patches.tar.bz2bin5013 -> 3671 bytes
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install6
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdebase/xsession.patch28
-rw-r--r--arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD6
-rw-r--r--arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD6
-rw-r--r--arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD183
-rw-r--r--arch/3.5.13/trinity-base/trinity-qt3/qt-patches.tar.bz2bin13639 -> 13665 bytes
-rw-r--r--arch/3.5.13/trinity-base/trinity-qt3/qt3.install12
-rw-r--r--arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD30
-rw-r--r--arch/3.5.13/trinity-base/trinity-tqtinterface/trinity.profile.csh (renamed from arch/3.5.13/trinity-base/trinity-arts/trinity.profile.csh)0
-rw-r--r--arch/3.5.13/trinity-base/trinity-tqtinterface/trinity.profile.sh (renamed from arch/3.5.13/trinity-base/trinity-arts/trinity.profile.sh)0
-rwxr-xr-xarch/3.5.13/trinity-extras/mkpkg18
-rw-r--r--arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD58
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeaccessibility/PKGBUILD58
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeaddons/PKGBUILD17
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeadmin/PKGBUILD23
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeartwork/PKGBUILD14
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeedu/PKGBUILD20
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdegames/PKGBUILD21
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD16
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdemultimedia/PKGBUILD16
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD15
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD17
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdesdk/PKGBUILD22
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdetoys/PKGBUILD18
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeutils/PKGBUILD19
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD16
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD15
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD9
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD9
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libkdcraw/PKGBUILD20
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libkexiv2/PKGBUILD18
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libkipi/PKGBUILD18
54 files changed, 814 insertions, 466 deletions
diff --git a/arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD
index 197073ea1..e3a81c70b 100644
--- a/arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD
+++ b/arch/3.5.13/trinity-apps/trinity-konversation/PKGBUILD
@@ -23,9 +23,13 @@ build() {
export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
msg "Starting autoconf..."
- cd "$srcdir/$cmpdir"
+ cd "$srcdir/$_builddir"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+
+ # fix for correct Qt/TQt detection
+ sed -i -e "s@/usr/include/tqt@${TDEDIR}/include/tqt@" admin/acinclude.m4.in
+
make -f admin/Makefile.common
msg "Starting configure..."
diff --git a/arch/3.5.13/trinity-apps/trinity-ktorrent/PKGBUILD b/arch/3.5.13/trinity-apps/trinity-ktorrent/PKGBUILD
index 5a1863c7c..dbb404541 100644
--- a/arch/3.5.13/trinity-apps/trinity-ktorrent/PKGBUILD
+++ b/arch/3.5.13/trinity-apps/trinity-ktorrent/PKGBUILD
@@ -29,13 +29,13 @@ build() {
cd "$srcdir/${_builddir}"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
--prefix=${_prefix} \
--enable-closure \
- --enable-torrent-mimetype \
--with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
--with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
diff --git a/arch/3.5.13/trinity-base/hal/PKGBUILD b/arch/3.5.13/trinity-base/hal/PKGBUILD
index 599b66d59..03ad188d7 100644
--- a/arch/3.5.13/trinity-base/hal/PKGBUILD
+++ b/arch/3.5.13/trinity-base/hal/PKGBUILD
@@ -16,7 +16,8 @@ options=('!libtool' '!makeflags')
install=hal.install
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
hald
- hal.patch)
+ hal.patch
+ udev-update.patch)
# patches/hal-0.5.9-hide-diagnostic.patch
# patches/hal-remove-dell-killswitch.patch
# patches/hal-KVM-evdev.patch
@@ -32,7 +33,8 @@ source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
md5sums=('e9163df591a6f38f59fdbfe33e73bf20'
'4cdfc673ad65ddb51919f5a757f62145'
- '185dd5d6ffc703ec8395b4eb3a1ae498')
+ '185dd5d6ffc703ec8395b4eb3a1ae498'
+ 'cad3564de1708603c7a1e0facf6b1921')
# '4d4b6801a1cedca22b8bdd9db73b16fb'
# '6d87c3e63184ae3a69caafc846f538a3'
# '6507e5091ee2d11a87ae738a8e2caecb'
@@ -50,7 +52,7 @@ build() {
cd $srcdir
patch -Np1 -d ${srcdir} < hal.patch
cd "${srcdir}/${pkgname}-${pkgver}"
-# patch -Np1 -i "${srcdir}/hal-0.5.9-hide-diagnostic.patch"
+ patch -Np1 -i "${srcdir}/udev-update.patch"
# patch -Np1 -i "${srcdir}/hal-remove-dell-killswitch.patch"
# patch -Np1 -i "${srcdir}/hal-KVM-evdev.patch"
# patch -Np1 -i "${srcdir}/hal-HDAPS-blacklist.patch"
@@ -82,11 +84,11 @@ build() {
}
package() {
- cd $srcdir/${pkgname}-${pkgver}
+ cd $srcdir/${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/etc/rc.d"
install -m755 -d "${pkgdir}/media"
- install -m755 "${srcdir}/hald" "${pkgdir}/etc/rc.d/"
+ install -m755 "${srcdir}/hald" "${pkgdir}/etc/rc.d/hal"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
diff --git a/arch/3.5.13/trinity-base/hal/udev-update.patch b/arch/3.5.13/trinity-base/hal/udev-update.patch
new file mode 100644
index 000000000..a5be64bc6
--- /dev/null
+++ b/arch/3.5.13/trinity-base/hal/udev-update.patch
@@ -0,0 +1,26 @@
+diff -ur hal-0.5.14_origin/hald/linux/blockdev.c hal-0.5.14/hald/linux/blockdev.c
+--- hal-0.5.14_origin/hald/linux/blockdev.c 2012-02-15 01:44:51.000000000 +0100
++++ hal-0.5.14/hald/linux/blockdev.c 2012-02-15 01:45:12.000000000 +0100
+@@ -1864,7 +1864,7 @@
+ char *ret;
+ char *u_stdout;
+ int u_exit_status;
+- const char *argv[] = {"/sbin/udevadm", "info", "--root", "--query", "name", "--path", NULL, NULL};
++ const char *argv[] = {"/usr/bin/udevadm", "info", "--root", "--query", "name", "--path", NULL, NULL};
+ GError *g_error;
+
+ ret = NULL;
+diff -ur hal-0.5.14_origin/hald/linux/coldplug.c hal-0.5.14/hald/linux/coldplug.c
+--- hal-0.5.14_origin/hald/linux/coldplug.c 2012-02-15 01:44:51.000000000 +0100
++++ hal-0.5.14/hald/linux/coldplug.c 2012-02-15 01:45:08.000000000 +0100
+@@ -154,8 +154,8 @@
+ static gboolean
+ hal_util_init_sysfs_to_udev_map (void)
+ {
+- char *udevdb_export_argv[] = { "/sbin/udevadm", "info", "-e", NULL };
+- char *udevroot_argv[] = { "/sbin/udevadm", "info", "-r", NULL };
++ char *udevdb_export_argv[] = { "/usr/bin/udevadm", "info", "-e", NULL };
++ char *udevroot_argv[] = { "/usr/bin/udevadm", "info", "-r", NULL };
+ int udevinfo_exitcode;
+ UdevInfo *info = NULL;
+ char *p;
diff --git a/arch/3.5.13/trinity-base/mkpkg b/arch/3.5.13/trinity-base/mkpkg
new file mode 100755
index 000000000..d3403b927
--- /dev/null
+++ b/arch/3.5.13/trinity-base/mkpkg
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+#
+pkgarray="qt3 tqtinterface arts dbus-tqt kdelibs kdebase"
+arch=`uname -m`
+
+for i in $pkgarray; do
+ cd trinity-${i}
+ makepkg -sicf --noconfirm
+ cd ..
+done
+
+#mkdir binaires-$arch
+
+mv `find . -name *.tar.xz` binaries-$arch
diff --git a/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD b/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD
index 6e8d65267..991f16eac 100644
--- a/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-arts/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-arts
pkgver=3513
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.com'
license=('GPL')
@@ -15,21 +15,15 @@ depends=('trinity-tqtinterface'
makedepends=('pkgconfig' 'cmake')
conflicts=('kdemod3-arts' 'arts')
options=('libtool' '!emptydirs')
-source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/arts-3.5.13.tar.gz'
- 'trinity.profile.sh' 'trinity.profile.csh')
-md5sums=('109124dabb1aaa9d44eb32e43b549142'
- '72c6c4fb492c1f4b4741fad1dd70d62f'
- '915e14c6264a6b9c46a6a20b16cdcd06')
+source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/arts-3.5.13.tar.gz')
+md5sums=('109124dabb1aaa9d44eb32e43b549142')
install='trinity-arts.install'
-_prefix="/opt/trinity"
-
build() {
-
- # Do we need this?
msg "Setting PATH, CMAKE and Trinity Environment variables"
# Source the QT and KDE profile
[ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
@@ -38,7 +32,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/dependencies/arts/ \
- -DCMAKE_INSTALL_PREFIX=${_prefix}
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR}
msg "Building $pkgname..."
make
@@ -49,26 +43,6 @@ package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
-
make DESTDIR="$pkgdir" install
- # since this is first package to provide
- # binaries, include headers and libs from trinity
- # it should contain sripts which would add
- # their location into system variables
- # this mean that this package should provide
- # /etc/ld.so.conf.d/trinity.conf - lib locations for linker
- # /etc/profile.d/trinity.sh - $PATH and other system variables for bash
- # /etc/profile.d/trinity.csh - $PATH and other system variables for csh
- # up until now it was done in the kdelibs PKGBUILD/package
-
- # Create and install ld.so.conf.d file
- install -d -m755 $pkgdir/etc/ld.so.conf.d/
- echo $_prefix/lib > $pkgdir/etc/ld.so.conf.d/trinity.conf
- echo $_prefix/lib/kde >> $pkgdir/etc/ld.so.conf.d/trinity.conf
-
- # Install profiles
- install -D -m644 $srcdir/trinity.profile.sh $pkgdir/etc/profile.d/trinity.sh
- install -D -m644 $srcdir/trinity.profile.csh $pkgdir/etc/profile.d/trinity.csh
-
}
diff --git a/arch/3.5.13/trinity-base/trinity-dbus-tqt-1/PKGBUILD b/arch/3.5.13/trinity-base/trinity-dbus-tqt-1/PKGBUILD
index e181b8928..7b64c3544 100644
--- a/arch/3.5.13/trinity-base/trinity-dbus-tqt-1/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-dbus-tqt-1/PKGBUILD
@@ -16,40 +16,34 @@ options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/dbus-1-tqt-3.5.13.tar.gz)
md5sums=('a7ba1071f4bf7b5930f805b4036f8a97')
-_prefix="/opt/trinity"
-
build() {
+ msg "Setting PATH, CMAKE and Trinity Environment variables"
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+
+ #export CMAKE_PREFIX_PATH=${QTDIR}:${_prefix}
+ #export CMAKE_INCLUDE_PATH=${QTDIR}/include/tqt:/usr/include/dbus-1.0:${_prefix}/include:${_prefix}/include/libkrandr
+ #export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
+ #export PKG_CONFIG_PATH=:${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/dependencies/dbus-1-tqt \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON
+
+ msg "Building - $pkgname..."
+ make
- msg "Setting PATH, CMAKE and Trinity Environment variables"
- . /etc/profile.d/qt3.sh
- export CMAKE_PREFIX_PATH=${QTDIR}:${_prefix}
- export CMAKE_INCLUDE_PATH=${QTDIR}/include/tqt: \
- /usr/include/dbus-1.0: \
- ${_prefix}/include: \
- ${_prefix}/include/libkrandr
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
-
- cd $srcdir
- msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
- mkdir -p build
- cd build
-
- msg "Starting cmake..."
- cmake ${srcdir}/dependencies/dbus-1-tqt \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
- -DCMAKE_VERBOSE_MAKEFILE=ON
-
- msg "Building - $pkgname..."
- make
-# -DWITH_QT3=ON \
-# -DQTDIR=/opt/qt \
-# -DQT_LIBRARY_DIRS=/opt/qt/lib \
}
package() {
- msg "Packaging - $pkgname-$pkgver"
+ msg "Packaging - $pkgname-$pkgver"
# cd ${srcdir}/${_svnmod}
- cd ${srcdir}/build
- make DESTDIR="${pkgdir}" install
+ cd ${srcdir}/build
+ make DESTDIR="${pkgdir}" install
}
diff --git a/arch/3.5.13/trinity-base/trinity-dbus-tqt/PKGBUILD b/arch/3.5.13/trinity-base/trinity-dbus-tqt/PKGBUILD
index fb68f2239..3d7f01520 100644
--- a/arch/3.5.13/trinity-base/trinity-dbus-tqt/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-dbus-tqt/PKGBUILD
@@ -9,7 +9,7 @@ url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity TQt DBus wrapper"
-depends=('trinity-tqtinterface' 'dbus-core')
+depends=('trinity-arts' 'dbus-core')
makedepends=('pkgconfig' 'cmake')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/dbus-tqt-3.5.13.tar.gz)
@@ -17,7 +17,6 @@ md5sums=('46ae165c068271485c827f6fc6687a9a')
install='trinity-dbus-tqt.install'
build() {
-
msg "Setting PATH, CMAKE and Trinity Environment variables"
# Source the QT and TDE profile
[ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/PKGBUILD b/arch/3.5.13/trinity-base/trinity-kdebase-split/PKGBUILD
new file mode 100644
index 000000000..bab5805d7
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/PKGBUILD
@@ -0,0 +1,216 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=('trinity-kdebase' 'trinity-kdm' 'trinity-konsole' 'trinity-kate' 'trinity-konqueror')
+pkgver=3513
+pkgrel=6
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-base')
+pkgdesc="Trinity Desktop Enviroment base components"
+depends=('trinity-kdelibs')
+makedepends=('pkgconfig' 'cmake' 'autoconf' 'imake' 'xorg-bdftopcf' 'smbclient'
+ 'libraw1394' 'libxtst' 'libxkbfile' 'hal')
+confilicts=('kdemod3-kdebase')
+options=('libtool')
+source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdebase-3.5.13.tar.gz'
+ 'patches.tar.bz2'
+ 'xsession.patch'
+ 'arch-kdeshutdown.png'
+ 'kdm-default-face.png'
+ 'agent-shutdown.sh'
+ 'agent-startup.sh'
+ 'kdm-trinity'
+ 'trinity.desktop')
+md5sums=('d1f7e1f94eeb46b981fe1ba144179840'
+ '327e4d68bd1fc4d29bdb273e81f90415'
+ '895f5d7351aa73ba1f57b0ad27081d69'
+ 'bb3004513d703d6b72ce70aa240af3a3'
+ 'e6afdd7ca60c4c59b851135785347e75'
+ '18e8d01124b19f7df2937c06e177bf7f'
+ 'c963ef6e37c9051119972a58c67f05fb'
+ '376d85d213cf3c04cb0912e5cccd68bd'
+ '1418e45fea5a9738544cbd264c36373b')
+
+build() {
+ cd $srcdir/kdebase
+
+ msg "Setting PATH, CMAKE and Trinity Environment variables"
+ # Source the QT and TDE profile
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+
+ #export CMAKE_PREFIX_PATH=${QTDIR}:${TDEDIR}
+ #export CMAKE_INCLUDE_PATH=${TDEDIR}/include/dbus-1-tqt/:${TDEDIR}/include/dbus-1.0/:${TDEDIR}/include:${TDEDIR}/include/libkrandr
+ #export LD_LIBRARY_PATH=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${QTDIR}/lib:$LD_LIBRARY_PATH
+ #export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${QTDIR}/lib/pkgconfig:$PKG_CONFIG_PATH
+
+ msg "Patching..."
+ for patch in $srcdir/patches/*.patch; do
+ _p=`basename $patch`
+ msg "Applying patch $_p.."
+ patch -Np0 -i $patch
+ done
+
+ #Compatibility with kde3 and kde4
+ #sed -ie 's/applications-merged/tde-applications-merged/g' applnk/CMakeLists.txt
+
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p ../build
+ cd ../build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/kdebase \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DWITH_XFIXES=ON \
+ -DWITH_XCOMPOSITE=ON \
+ -DWITH_XCURSOR=ON \
+ -DWITH_XRANDR=ON \
+ -DWITH_XRENDER=ON \
+ -DWITH_XDAMAGE=ON \
+ -DWITH_SHADOW=ON \
+ -DWITH_XDMCP=ON \
+ -DWITH_XINERAMA=ON \
+ -DWITH_XEXT=ON \
+ -DWITH_PAM=ON \
+ -DWITH_HAL=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_SASL=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_SAMBA=ON \
+ -DWITH_LIBUSB=ON \
+ -DWITH_LDAP=ON \
+ -DWITH_LIBRAW1394=ON \
+ -DWITH_I8K=ON \
+ -DBUILD_ALL=ON
+ make
+
+}
+
+package_trinity-kdebase() {
+ pkgname='trinity-kdebase'
+ pkgdesc='Trinity Desktop Enviroment'
+ depends=('trinity-dbus-tqt' 'hal'
+ 'libxtst' 'libraw1394')
+ #'xorg-server' 'xorg-xset' 'xorg-xsetroot' 'xorg-xprop' 'xorg-xmessage' 'xorg-xinit'
+ optdepends=('desktop-file-utils: Command line utilities for working with desktop entries'
+ 'pciutils: PCI bus configuration space access library and tools'
+ 'xscreensaver: Screen saver and locker for the X Window System'
+ 'xorg-fonts-75dpi: X.org 75dpi fonts collection'
+ 'samba: file sharing over SMB')
+ install='trinity-kdebase.install'
+
+ msg "Packaging - $pkgname-$pkgver"
+ _splitfolders="applnk drkonqi kappfinder kcheckpass kcminit kcontrol
+ kdcop kdebugdialog kdeeject kdepasswd kdeprint kdesktop
+ kdesu kdialog kfind khelpcenter khotkeys kicker kioslave
+ klipper kmenuedit knetattach kpager kpersonalizer kreadconfig
+ krootbacking kscreensaver ksmserver ksplashml kstart ksysguard
+ ksystraycmd ktip kwin l10n kxkb nsplugins pics tqt3integration
+ tsak doc/faq doc/glossary doc/kcontrol doc/kdcop
+ doc/kdebugdialog doc/kdeprint doc/kdesu doc/kfind
+ doc/khelpcenter doc/kicker doc/kinfocenter doc/kioslave
+ doc/klipper doc/kmenuedit doc/knetattach doc/kompmgr doc/kpager
+ doc/ksplashml doc/ksysguard doc/kxkb doc/quickstart
+ doc/userguide doc/visualdict"
+ for _dir in $_splitfolders; do
+ cd ${srcdir}/build/$_dir
+ make DESTDIR="$pkgdir" install
+ done
+
+ # install X11 session file
+ install -d -m755 ${pkgdir}/etc/X11/sessions
+ install -m755 ${srcdir}/trinity.desktop ${pkgdir}/etc/X11/sessions/trinity.desktop
+
+ # create the starttrinity link
+ # do we need this? wouldn't be better to rename startkde script
+ # to starttrinity? Well, whathever.
+ ln -sf $TDEDIR/bin/startkde ${pkgdir}$TDEDIR/bin/starttrinity
+
+ # install mkpamserv script, so we can auto-generate pam.d configs in post_install()
+ install -D -m755 ${srcdir}/kdebase/mkpamserv ${pkgdir}${TDEDIR}/bin/mkpamserv
+
+ # dbus config file. I don't know if we need this, since directory listed
+ # in the config file doens't exist. Maybe this should be provided by dbus bindings?
+ # No, after riconsidering I'm not gonna provide it unless it's required.
+
+ # Install nice arch logo to use in the shutdown dialog
+ install -D -m 644 $srcdir/arch-kdeshutdown.png ${pkgdir}$TDEDIR/share/apps/ksmserver/pics/shutdownkonq.png
+
+ # add startup/shutdown agents for ssh and gpg-agent
+ install -m644 -D $srcdir/agent-startup.sh ${pkgdir}$TDEDIR/env/agent-startup.sh
+ install -m755 -D $srcdir/agent-shutdown.sh ${pkgdir}$TDEDIR/shutdown/agent-shutdown.sh
+
+ # fix kde icons for gnome by creating symlinks
+ mkdir -p ${pkgdir}$TDEDIR/share/icons/gnome/{128x128,64x64,32x32,16x16,48x48,22x22,scalable}
+ mkdir -p ${pkgdir}$TDEDIR/share/icons/crystalsvg/{128x128/apps,64x64/apps,32x32/apps,16x16/apps,48x48/apps,22x22/apps,scalable/apps}
+ cd ${pkgdir}$TDEDIR/share/icons/gnome/
+ for i in *; do
+ cd $i
+ ln -sf ../../crystalsvg/$i/apps/ apps
+ cd ..
+ done
+
+}
+
+package_trinity-kdm() {
+ pkgname='trinity-kdm'
+ pkgdesc="Trinity Display Manager"
+
+ msg "Packaging - $pkgname-$pkgver"
+ _splitfolders="kdm kdmlib doc/kdm"
+ for _dir in $_splitfolders; do
+ cd ${srcdir}/build/$_dir
+ make DESTDIR="$pkgdir" install
+ done
+
+ # update the Xsession file, this resolves problem with kdm dropping back
+ # to the login screen
+ patch -N ${pkgdir}${TDEDIR}/share/config/kdm/Xsession < ${srcdir}/xsession.patch
+
+ # install kdm rc.d script. We need this to start kdm from rc.d
+ install -D -m755 ${srcdir}/kdm-trinity "${pkgdir}"/etc/rc.d/kdm-trinity
+
+ # Add image for default user avatar. This removes kdm complains about missing
+ # default avatar from kdm.log
+ install -D -m 644 $srcdir/kdm-default-face.png ${pkgdir}$TDEDIR/share/apps/kdm/faces/.default.face.icon
+ install -D -m 644 $srcdir/kdm-default-face.png ${pkgdir}$TDEDIR/share/apps/kdm/pics/users/arch-kdm.png
+}
+
+package_trinity-konsole() {
+ pkgname='trinity-konsole'
+ pkgdesc="Trinity - an X termnal emulator"
+
+ msg "Packaging - $pkgname-$pkgver"
+ _splitfolders="konsole doc/konsole"
+ for _dir in $_splitfolders; do
+ cd ${srcdir}/build/$_dir
+ make DESTDIR="$pkgdir" install
+ done
+}
+
+package_trinity-kate() {
+ pkgnmae='trinity-kate'
+ pkgdesc="Trinity - A fast texteditor with an Emacs-style document interface"
+
+ msg "Packaging - $pkgname-$pkgver"
+ _splitfolders="kate doc/kate doc/kwrite"
+ for _dir in $_splitfolders; do
+ cd ${srcdir}/build/$_dir
+ make DESTDIR="$pkgdir" install
+ done
+}
+
+package_trinity-konqueror() {
+ pkgname='trinity-kate'
+ pkgdesc="Trinity Swiss Army file and web browser."
+
+ msg "Packaging - $pkgname-$pkgver"
+ _splitfolders="konqueror libkonq doc/konqueror"
+ for _dir in $_splitfolders; do
+ cd ${srcdir}/build/$_dir
+ make DESTDIR="$pkgdir" install
+ done
+}
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-shutdown.sh b/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-shutdown.sh
new file mode 100644
index 000000000..71b056af3
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-shutdown.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# This file is executed at kde shutdown.
+# Uncomment the following lines to kill the agents
+# that were started at session startup.
+
+if [ "${GPG_AGENT_INFO}" ]; then
+ kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) >/dev/null 2>&1
+fi
+#
+if [ "${SSH_AGENT_PID}" ]; then
+ ssh-agent -k
+fi
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh b/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh
new file mode 100644
index 000000000..88d1373a1
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/agent-startup.sh
@@ -0,0 +1,19 @@
+# Agents startup file
+#
+# This file is sourced at kde startup, so that
+# the environment variables set here are available
+# throughout the session.
+
+# Uncomment the following lines to start gpg-agent
+# and/or ssh-agent at kde startup.
+# If you do so, do not forget to uncomment the respective
+# lines in KDEDIR/shutdown/agent-shutdown.sh to
+# properly kill the agents when the session ends.
+
+if [ -x /usr/bin/gpg-agent ]; then
+ eval "$(/usr/bin/gpg-agent --daemon)"
+fi
+#
+if [ -x /usr/bin/ssh-agent ]; then
+ eval "$(/usr/bin/ssh-agent -s)"
+fi
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/arch-kdeshutdown.png b/arch/3.5.13/trinity-base/trinity-kdebase-split/arch-kdeshutdown.png
new file mode 100644
index 000000000..30bc5ab77
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/arch-kdeshutdown.png
Binary files differ
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/kdebase-3.5.13.tar.gz b/arch/3.5.13/trinity-base/trinity-kdebase-split/kdebase-3.5.13.tar.gz
new file mode 100644
index 000000000..cdb38cc56
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/kdebase-3.5.13.tar.gz
Binary files differ
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/kdm-default-face.png b/arch/3.5.13/trinity-base/trinity-kdebase-split/kdm-default-face.png
new file mode 100644
index 000000000..233e69475
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/kdm-default-face.png
Binary files differ
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/kdm-trinity b/arch/3.5.13/trinity-base/trinity-kdebase-split/kdm-trinity
new file mode 100644
index 000000000..03209b456
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/kdm-trinity
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+# general config
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /opt/trinity/bin/kdm`
+case "$1" in
+ start)
+ #Check for running kdm, start when not running
+ stat_busy "Starting TDM Desktop Manager"
+ [ -z "$PID" ] && /opt/trinity/bin/kdm &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ echo $PID > /var/run/kdm.pid
+ add_daemon kdm-trinity
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping TDM Desktop Manager"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm_daemon kdm-trinity
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+ ;;
+esac
+exit 0
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/patches.tar.bz2 b/arch/3.5.13/trinity-base/trinity-kdebase-split/patches.tar.bz2
new file mode 100644
index 000000000..0a0b90c54
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/patches.tar.bz2
Binary files differ
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase-3513-5.src.tar.gz b/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase-3513-5.src.tar.gz
new file mode 100644
index 000000000..c1c6e79a0
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase-3513-5.src.tar.gz
Binary files differ
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install b/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install
new file mode 100644
index 000000000..82f34a0b0
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity-kdebase.install
@@ -0,0 +1,19 @@
+post_install() {
+ ldconfig &> /dev/null
+ mkpamserv trinity
+ echo "Please remember that you can change your kdesu backend from su to sudo"
+ echo "by adding following lines to your ~/.trinity/share/kdesurc or to the"
+ echo "$TDEDIR/share/config/kdesurc:"
+ echo "[super-user-command]"
+ echo "super-user-command=sudo"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ ldconfig &> /dev/null
+ rm /etc/pam.d/trinity
+}
+
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity.desktop b/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity.desktop
new file mode 100644
index 000000000..30c209f5d
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/trinity.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=XSession
+Exec=/opt/trinity/bin/startkde
+TryExec=/opt/trinity/bin/startkde
+Name=Trinity
+Comment=The Trinity Desktop Environment. A powerful Open Source graphical desktop environment
+
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/Xsession.patch b/arch/3.5.13/trinity-base/trinity-kdebase-split/xsession.patch
index 164d6c811..164d6c811 100644
--- a/arch/3.5.13/trinity-base/trinity-kdebase/Xsession.patch
+++ b/arch/3.5.13/trinity-base/trinity-kdebase-split/xsession.patch
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/PKGBUILD b/arch/3.5.13/trinity-base/trinity-kdebase/PKGBUILD
index 657b674ec..10fd8260f 100644
--- a/arch/3.5.13/trinity-base/trinity-kdebase/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-kdebase/PKGBUILD
@@ -1,31 +1,30 @@
# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
-pkgname=trinity-kdebase
+pkgname='trinity-kdebase'
pkgver=3513
-pkgrel=4
+pkgrel=7
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity Desktop Enviroment base components"
-depends=('trinity-dbus-tqt' 'trinity-kdelibs' 'hal'
- 'xorg-server' 'xorg-xset' 'xorg-xsetroot' 'xorg-xprop' 'xorg-xmessage' 'xorg-xinit' 'xorg-iceauth'
- 'libxtst')
- # 'libltdl'
- # 'openexr'
- # 'libxkbfile'
-
-makedepends=('pkgconfig' 'cmake' 'autoconf' 'imake' 'xorg-bdftopcf')
+depends=('trinity-kdelibs' 'trinity-dbus-tqt' 'hal'
+ 'libxtst' 'libraw1394')
+ #'xorg-server' 'xorg-xset' 'xorg-xsetroot' 'xorg-xprop' 'xorg-xmessage' 'xorg-xinit'
+makedepends=('pkgconfig' 'cmake' 'autoconf' 'imake' 'xorg-bdftopcf' 'smbclient'
+ 'libxkbfile')
+confilicts=('kdemod3-kdebase')
+options=('libtool')
optdepends=('desktop-file-utils: Command line utilities for working with desktop entries'
'pciutils: PCI bus configuration space access library and tools'
'xscreensaver: Screen saver and locker for the X Window System'
- 'xorg-fonts-75dpi: X.org 75dpi fonts collection')
-confilicts=('kdemod3-kdebase')
-options=('libtool')
+ 'xorg-fonts-75dpi: X.org 75dpi fonts collection'
+ 'samba: file sharing over SMB')
+install='trinity-kdebase.install'
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdebase-3.5.13.tar.gz'
'patches.tar.bz2'
- 'Xsession.patch'
+ 'xsession.patch'
'arch-kdeshutdown.png'
'kdm-default-face.png'
'agent-shutdown.sh'
@@ -33,7 +32,7 @@ source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdebase-3.5.13.tar.gz'
'kdm-trinity'
'trinity.desktop')
md5sums=('d1f7e1f94eeb46b981fe1ba144179840'
- 'bf0cc14276148d5f6bd46828367825a6'
+ '327e4d68bd1fc4d29bdb273e81f90415'
'895f5d7351aa73ba1f57b0ad27081d69'
'bb3004513d703d6b72ce70aa240af3a3'
'e6afdd7ca60c4c59b851135785347e75'
@@ -41,7 +40,6 @@ md5sums=('d1f7e1f94eeb46b981fe1ba144179840'
'c963ef6e37c9051119972a58c67f05fb'
'376d85d213cf3c04cb0912e5cccd68bd'
'1418e45fea5a9738544cbd264c36373b')
-install='trinity-kdebase.install'
build() {
cd $srcdir/kdebase
@@ -53,7 +51,7 @@ build() {
#export CMAKE_PREFIX_PATH=${QTDIR}:${TDEDIR}
#export CMAKE_INCLUDE_PATH=${TDEDIR}/include/dbus-1-tqt/:${TDEDIR}/include/dbus-1.0/:${TDEDIR}/include:${TDEDIR}/include/libkrandr
- #export LD_LIBRARY_PATH=${TDEDIR}/lib:${TDEDIR}/lib/kde3:${QTDIR}/lib:$LD_LIBRARY_PATH
+ #export LD_LIBRARY_PATH=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${QTDIR}/lib:$LD_LIBRARY_PATH
#export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${QTDIR}/lib/pkgconfig:$PKG_CONFIG_PATH
msg "Patching..."
@@ -67,20 +65,14 @@ build() {
#sed -ie 's/applications-merged/tde-applications-merged/g' applnk/CMakeLists.txt
msg "Creating out-of-source build directory: ${srcdir}/build"
- mkdir -p build
- cd build
+ mkdir -p ../build
+ cd ../build
msg "Starting cmake..."
- cmake ${srcdir}/kdebase --debug-output \
+ cmake ${srcdir}/kdebase \
-DCMAKE_INSTALL_PREFIX=${TDEDIR} \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DQT_VERSION=3 \
-DSYSCONF_INSTALL_DIR=/etc \
-DWITH_XFIXES=ON \
- -DWITH_HAL=ON \
- -DWITH_ARTS=ON \
- -DWITH_SASL=ON \
- -DWITH_OPENEXR=ON \
-DWITH_XCOMPOSITE=ON \
-DWITH_XCURSOR=ON \
-DWITH_XRANDR=ON \
@@ -91,33 +83,46 @@ build() {
-DWITH_XINERAMA=ON \
-DWITH_XEXT=ON \
-DWITH_PAM=ON \
- -DBUILD_ALL=ON \
- -DCMAKE_INCLUDE_DIR=/opt/trinity/include/dbus-1.0:/opt/qt/include/tqt:/opt/trinity/include/dbus-1.0
+ -DWITH_HAL=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_SASL=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_SAMBA=ON \
+ -DWITH_LIBUSB=ON \
+ -DWITH_LDAP=ON \
+ -DWITH_LIBRAW1394=ON \
+ -DWITH_I8K=ON \
+ -DBUILD_ALL=ON
make
+
}
package() {
msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/build
-
+ cd $srcdir/build
make DESTDIR="$pkgdir" install
# install X11 session file
install -d -m755 ${pkgdir}/etc/X11/sessions
install -m755 ${srcdir}/trinity.desktop ${pkgdir}/etc/X11/sessions/trinity.desktop
-
+
# update the Xsession file, this resolves problem with kdm dropping back
# to the login screen
- patch -N ${pkgdir}${TDEDIR}/share/config/kdm/Xsession < ${srcdir}/Xsession.patch
+ patch -N ${pkgdir}${TDEDIR}/share/config/kdm/Xsession < ${srcdir}/xsession.patch
+
+ # install kdm rc.d script. We need this to start kdm from rc.d
+ install -D -m755 ${srcdir}/kdm-trinity "${pkgdir}"/etc/rc.d/kdm-trinity
+
+ # Add image for default user avatar. This removes kdm complains about missing
+ # default avatar from kdm.log
+ install -D -m 644 $srcdir/kdm-default-face.png ${pkgdir}$TDEDIR/share/apps/kdm/faces/.default.face.icon
+ install -D -m 644 $srcdir/kdm-default-face.png ${pkgdir}$TDEDIR/share/apps/kdm/pics/users/arch-kdm.png
# create the starttrinity link
# do we need this? wouldn't be better to rename startkde script
# to starttrinity? Well, whathever.
- ln -sf ${pkgdir}$TDEDIR/bin/startkde ${pkgdir}$TDEDIR/bin/starttrinity
+ ln -sf $TDEDIR/bin/startkde ${pkgdir}$TDEDIR/bin/starttrinity
- # install kdm rc.d script. We need this to start kdm from rc.d
- install -D -m755 ${srcdir}/kdm-trinity "${pkgdir}"/etc/rc.d/kdm-trinity
-
# install mkpamserv script, so we can auto-generate pam.d configs in post_install()
install -D -m755 ${srcdir}/kdebase/mkpamserv ${pkgdir}${TDEDIR}/bin/mkpamserv
@@ -125,11 +130,6 @@ package() {
# in the config file doens't exist. Maybe this should be provided by dbus bindings?
# No, after riconsidering I'm not gonna provide it unless it's required.
- # Add image for default user avatar. This removes kdm complains about missing
- # default avatar from kdm.log
- install -D -m 644 $srcdir/kdm-default-face.png ${pkgdir}$TDEDIR/share/apps/kdm/faces/.default.face.icon
- install -D -m 644 $srcdir/kdm-default-face.png ${pkgdir}$TDEDIR/share/apps/kdm/pics/users/arch-kdm.png
-
# Install nice arch logo to use in the shutdown dialog
install -D -m 644 $srcdir/arch-kdeshutdown.png ${pkgdir}$TDEDIR/share/apps/ksmserver/pics/shutdownkonq.png
@@ -147,4 +147,5 @@ package() {
cd ..
done
+
}
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/patches.tar.bz2 b/arch/3.5.13/trinity-base/trinity-kdebase/patches.tar.bz2
index 2e74ade35..0a0b90c54 100644
--- a/arch/3.5.13/trinity-base/trinity-kdebase/patches.tar.bz2
+++ b/arch/3.5.13/trinity-base/trinity-kdebase/patches.tar.bz2
Binary files differ
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install b/arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install
index fa5fdeea2..82f34a0b0 100644
--- a/arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install
+++ b/arch/3.5.13/trinity-base/trinity-kdebase/trinity-kdebase.install
@@ -1,9 +1,9 @@
post_install() {
ldconfig &> /dev/null
mkpamserv trinity
- echo "Please remember that you can change your kdesu backend"
- echo "from su to sudo by adding following lines to your"
- echo "~/.trinity/share/kdesurc or to $TDEDIR/share/config/kdesurc:"
+ echo "Please remember that you can change your kdesu backend from su to sudo"
+ echo "by adding following lines to your ~/.trinity/share/kdesurc or to the"
+ echo "$TDEDIR/share/config/kdesurc:"
echo "[super-user-command]"
echo "super-user-command=sudo"
}
diff --git a/arch/3.5.13/trinity-base/trinity-kdebase/xsession.patch b/arch/3.5.13/trinity-base/trinity-kdebase/xsession.patch
new file mode 100644
index 000000000..164d6c811
--- /dev/null
+++ b/arch/3.5.13/trinity-base/trinity-kdebase/xsession.patch
@@ -0,0 +1,28 @@
+--- /mnt/archlinux/opt/trinity/share/config/kdm/Xsession 2011-12-08 13:08:43.000000000 +0100
++++ /opt/kde3/share/config/kdm/Xsession 2011-09-24 14:52:28.000000000 +0200
+@@ -43,4 +43,24 @@
+ ;;
+ esac
+ # invoke global X session script
+-. /etc/X11/Xsession
++
++
++ case $session in
++ "")
++ exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
++ ;;
++ failsafe)
++ exec ck-launch-session xterm -geometry 80x24-0-0
++ ;;
++ custom)
++ exec ck-launch-session $HOME/.xsession
++ ;;
++ default)
++ exec ck-launch-session /opt/trinity/bin/startkde
++ ;;
++ *)
++ eval exec ck-launch-session "$session"
++ ;;
++ esac
++ exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."
++
diff --git a/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD b/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD
index aa3ba2e80..be5a03bfc 100644
--- a/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-kdelibs/PKGBUILD
@@ -3,13 +3,13 @@
pkgname=trinity-kdelibs
pkgver=3513
-pkgrel=5
+pkgrel=6
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity DE core libraries"
-depends=('trinity-arts'
+depends=('trinity-arts' 'xorg-iceauth'
'libxslt' 'libidn' 'libart-lgpl' 'jasper'
'libxcomposite' 'libcups' 'libutempter'
'openexr' 'aspell' 'hspell')
@@ -35,7 +35,7 @@ build() {
# compiles without exporting this, since we have profiles
#export CMAKE_PREFIX_PATH=${QTDIR}:${TDEDIR}
#export PATH=$PATH:${TDEDIR}/bin
- #export CMAKE_INCLUDE_PATH=/usr/include/dbus-1.0:${TDEDIR}/bin
+ #export CMAKE_INCLUDE_PATH=/usr/include/dbus-1.0
#export LD_LIBRARY_PATH=${TDEDIR}/lib:${QTDIR}/lib:${TDEDIR}/lib/trinity:$LD_LIBRARY_PATH
msg "Patching..."
diff --git a/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD b/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD
index 2aca1f16c..3dbcc58ef 100644
--- a/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-pyqt3/PKGBUILD
@@ -22,12 +22,14 @@ md5sums=('f1d120495d1aaf393819e988c0a7bb7e')
build() {
cd ${srcdir}/PyQt-x11-gpl-${pkgver}
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+
msg "Starting configure..."
- . /etc/profile.d/qt3.sh
export QMAKESPEC="/opt/qt/mkspecs/default"
- echo yes | python2.7 configure.py -q /opt/qt/
+ echo yes | python2.7 configure.py -q ${QTDIR}
msg "Building ${pkgname}..."
make
diff --git a/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD b/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD
index c5e79d43b..3d98aa5ee 100644
--- a/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD
@@ -9,11 +9,19 @@ arch=('i686' 'x86_64')
url="http://trinitydesktop.org"
license=('GPL')
groups=('trinity-base')
-depends=('libpng' 'libjpeg' 'libxmu' 'libxcursor' 'libxinerama' 'mesa'
- 'libxft' 'libxrandr')
-makedepends=('mysql' 'postgresql' 'sqlite3' 'unixodbc' 'libmng' 'libxi')
- # cups [add for cups support, add -cups to ./configure opts]
-optdepends=('libmysqlclient' 'postgresql-libs' 'unixodbc')
+depends=('libpng' 'libjpeg' 'libxmu' 'libmng' 'postgresql-libs'
+ 'libxcursor' 'libxinerama' 'mesa' 'libxft' 'libxrandr'
+ 'libmysqlclient')
+makedepends=('libxi' 'postgresql' 'unixodbc' 'libcups')
+ #'mysql' 'postgresql' 'sqlite3' 'unixodbc' 'libxi' 'cups')
+ # cups - add for cups support
+ # cups is enabled by default in ./configure
+ # remove -no-cups if you want cups support in qt3
+optdepends=('cups: The CUPS Printing System - for printing support'
+ 'postgresql: A sophisticated object-relational DBMS - databse support'
+ 'unixodbc: ODBC API for linux - databse support'
+ 'mysql: A fast SQL database server - databse support')
+ #'libmysqlclient' 'postgresql-libs' 'unixodbc' 'cups')
provides=('qt3' 'qt3-enhanced')
replaces=('qt3-enhanced' 'qt3')
options=('libtool' '!emptydirs')
@@ -21,21 +29,40 @@ install='qt3.install'
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz'
'qt-patches.tar.bz2')
md5sums=('78dc675e84aed595375449818cbb589a'
- 'de4d95f8d236ecc85bad4876efd8fdf0')
+ '71d5f647da82d2a6f5e0e13549f1e865')
_prefix="/opt/qt3"
build() {
- msg "Patching source code..."
-
cd $srcdir/qt3
- # apply other qt patches from debian/gentoo and kde
+ msg "Patching source code..."
+ # apply qt patches from debian/gentoo and kde
for patch in $srcdir/qt-patches/*.patch; do
_p=`basename $patch`
msg "Applying patch $_p.."
patch -Np0 -i $patch
done
+ unset _p patch
+
+ # Originally this was done in a patch but probably it's a bad idea
+ # Besides we need the rpath, since we don't install qt in the default
+ # system dirs. If we would install into default /usr hierarchy
+ # we would uncomment this. See Beyond Linux From Scratch book
+ # for more info.
+ # sed -i '/QMAKE_RPATH/d' mkspecs/linux*/qmake.conf
+
+ # These are probably arch-specific. They were present in old qt3
+ # PKGBULD, they were present in kdemod3 PKGBUILD, they are present
+ # here.
+ sed -i 's|-cp -P -f|-cp -L -f|' qmake/Makefile.unix
+ sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++/qmake.conf
+ sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++-32/qmake.conf
+ sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++-64/qmake.conf
+ sed -i "s|-I. |$CXXFLAGS -I. |" qmake/Makefile.unix
+
+ # auto license acceptance
+ sed -i "s|read acceptance|acceptance=yes|" configure
msg "Setting enviroment variables..."
export QTDIR="${srcdir}/qt3/"
@@ -44,50 +71,42 @@ build() {
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
if [ "$CARCH" = "x86_64" ]; then
- export ARCH="-64"
+ export ARCH="-64"
else unset ARCH
fi
-
- cd "${srcdir}/qt3"
-
+
+ # Remove useless to us mkspecs
rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
- sed -i 's|-cp -P -f|-cp -L -f|' qmake/Makefile.unix
- rm -rf doc/html examples tutorial
- sed -i "s|sub-tutorial sub-examples||" Makefile
- sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++/qmake.conf
- sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++-32/qmake.conf
- sed -i "s|-O2|$CXXFLAGS|" mkspecs/linux-g++-64/qmake.conf
- sed -i "s|-I. |$CXXFLAGS -I. |" qmake/Makefile.unix
-
- # auto license acceptance
- sed -i "s|read acceptance|acceptance=yes|" configure
-
msg "Starting configure..."
- #make -C qmake || return 1
./configure \
-prefix ${_prefix} \
- -platform linux-g++${ARCH} \
-sysconfdir /etc/qt \
- -release \
- -sm \
- -nis \
- -stl \
- -no-g++-exceptions \
+ -I/usr/include/mysql \
+ -I/usr/include/postgresql/server \
+ -lpq \
+ -lmysqlclient \
+ -L/usr/lib/mysql \
+ -qt-gif \
+ -system-zlib \
+ -system-libpng \
+ -system-libjpeg \
+ -system-libmng \
+ -plugin-imgfmt-png \
+ -plugin-imgfmt-jpeg \
+ -plugin-imgfmt-mng \
+ -plugin-sql-mysql \
+ -plugin-sql-psql \
+ -plugin-sql-sqlite \
+ -plugin-sql-odbc \
+ -platform linux-g++${ARCH} \
+ -no-exceptions \
-thread \
- -shared \
-dlopen-opengl \
- -no-ipv6 \
- -system-zlib \
- -{system-lib,plugin-imgfmt-}{png,jpeg,mng} \
- -qt-gif \
- -xinerama \
- -xcursor \
- -xrender \
- -xft \
- -plugin-sql-{mysql,psql,sqlite,odbc}
+ -no-ipv6
# 64bit fixes pulled from extras/qt3 PKGBUILD
+ # this is Arch-specific
# fix /opt/qt/lib path
[ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" "${srcdir}"/qt3/src/Makefile
[ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" "${srcdir}"/qt3/tools/designer/designer/Makefile
@@ -98,20 +117,19 @@ build() {
msg "Building - $pkgname..."
# build sql plugins
- cd "${srcdir}"/qt3
- make -C qmake
- cd "${srcdir}"/qt3/plugins/src/sqldrivers/mysql
- "${srcdir}"/qt3/bin/qmake -o Makefile "INCPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib/mysql -lmysqlclient" mysql.pro
- cd "${srcdir}"/qt3/plugins/src/sqldrivers/psql
- "${srcdir}"/qt3/bin/qmake -o Makefile "INCPATH+=/usr/src/include /usr/include/postgresql/server" "LIBS+=-L/usr/lib -lpq" psql.pro
+ # do we need this, I don't think so.
+ #cd "${srcdir}"/qt3
+ #make -C qmake
+ #cd "${srcdir}"/qt3/plugins/src/sqldrivers/mysql
+ #"${srcdir}"/qt3/bin/qmake -o Makefile "INCPATH+=/usr/include/mysql" "LIBS+=-L/usr/lib/mysql -lmysqlclient" mysql.pro
+ #cd "${srcdir}"/qt3/plugins/src/sqldrivers/psql
+ #"${srcdir}"/qt3/bin/qmake -o Makefile "INCPATH+=/usr/src/include /usr/include/postgresql/server" "LIBS+=-L/usr/lib -lpq" psql.pro
cd "${srcdir}"/qt3
- # fix the broken makefiles
- # sed -i 's|[[:space:]]*strip.*doc/html.*$|#|g' src/Makefile
-
- # build rest
- make
+ # build rest, but without tutorials and examples
+ # of you want them, remove sub-tools
+ make sub-tools
}
@@ -121,24 +139,24 @@ package() {
make INSTALL_ROOT="$pkgdir" install
- msg "Cleaning package..."
-
- rm -rf "${pkgdir}"$_prefix/{phrasebooks,templates,translations}
- sed -i "s|-L${srcdir}/qt3/lib ||g" "${pkgdir}"$_prefix/lib/*.prl
- rm -f "${pkgdir}"${_prefix}/mkspecs/linux-g++$ARCH/linux-g++$ARCH
-
- # Fix issues with GCC4
- sed -i 's/\(char\*\)/const char*/g' $pkgdir$_prefix/include/*.h
- # Fix the mess we did fixing issues with GCC4
- sed -i 's/const u char/const uchar/g' $pkgdir$_prefix/include/*.h
- sed -i 's/u const char/const uchar/g' $pkgdir$_prefix/include/*.h
- sed -i 's/const const/const/g' $pkgdir$_prefix/include/*.h
- sed -i 's/uconst/ unsigned /g' $pkgdir$_prefix/include/*.h
-
- sed -ie 's/define QTIMER_H/&\n#include "qglobal.h"/g' $pkgdir$_prefix/include/qtimer.h
-
+ # install qmake
install -D -m755 qmake/qmake "${pkgdir}"$_prefix/bin/qmake
+ # install doc pages which are missed by make install
+ install -d -m755 "${pkgdir}"$_prefix/doc/
+ cp -r "${srcdir}"/qt3/doc "${pkgdir}"$_prefix/doc
+
+ # install link the apps provided by qt3 so we don't collide with
+ # qt4 and can run them.
+ ln -sf $_prefix/bin/assistant "${pkgdir}"$_prefix/bin/qt3assistant
+ ln -sf $_prefix/bin/designer "${pkgdir}"$_prefix/bin/qt3designer
+ ln -sf $_prefix/bin/linguist "${pkgdir}"$_prefix/bin/qt3linguist
+ ln -sf $_prefix/bin/lrelease "${pkgdir}"$_prefix/bin/qt3lrelease
+ ln -sf $_prefix/bin/lupdate "${pkgdir}"$_prefix/bin/qt3lupdate
+ ln -sf $_prefix/bin/moc "${pkgdir}"$_prefix/bin/qt3moc
+ ln -sf $_prefix/bin/qmake "${pkgdir}"$_prefix/bin/qt3qmake
+ ln -sf $_prefix/bin/qtconfig "${pkgdir}"$_prefix/bin/qt3config
+
# Build ld.so.conf file
install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
echo "${_prefix}/lib" >> ${pkgdir}/etc/ld.so.conf.d/qt3.conf
@@ -150,20 +168,25 @@ package() {
echo "export PATH+=:${_prefix}/bin" >> ${pkgdir}/etc/profile.d/qt3.sh
echo "export PKG_CONFIG_PATH+=:${_prefix}/pkgconfig" >> ${pkgdir}/etc/profile.d/qt3.sh
- # ln -sf $_prefix/bin/qtconfig "${pkgdir}"$_prefix/bin/qt3config
+ msg "Cleaning package..."
- # install man pages
- install -d -m755 "${pkgdir}"$_prefix/man
- cp -r "${srcdir}"/qt3/doc/man/{man1,man3} "${pkgdir}"$_prefix/man/
+ #rm -rf "${pkgdir}"$_prefix/{phrasebooks,templates,translations}
+
+ # remove any link to the compiled libraries present in
+ # $srcdir, which won't be present in non-building system.
+ sed -i "s|-L${srcdir}/qt3/lib ||g" "${pkgdir}"$_prefix/lib/*.prl
+
+ #rm -f "${pkgdir}"${_prefix}/mkspecs/linux-g++$ARCH/linux-g++$ARCH
- # libtoolslay
- find $startdir/pkg -name '*.la' -exec rm {} \;
+ # Fix issues with GCC4
+ sed -i 's/\(char\*\)/const char*/g' $pkgdir$_prefix/include/*.h
+ # Fix the mess we did fixing issues with GCC4
+ sed -i 's/const u char/const uchar/g' $pkgdir$_prefix/include/*.h
+ sed -i 's/u const char/const uchar/g' $pkgdir$_prefix/include/*.h
+ sed -i 's/const const/const/g' $pkgdir$_prefix/include/*.h
+ sed -i 's/uconst/ unsigned /g' $pkgdir$_prefix/include/*.h
- # Arch64 fix
- #if [ "$CARCH" = "x86_64" ]; then
- # [ -d $pkgdir$_prefix/mkspecs/linux-g++ ] || mkdir $pkgdir$_prefix/mkspecs/linux-g++
- # cd $pkgdir$_prefix/mkspecs/linux-g++
- # ln -s -v ../linux-g++-64/* .
- #fi
+ # missing include "qglobal.h" in include/qtimer.h fix
+ sed -ie 's/define QTIMER_H/&\n#include "qglobal.h"/g' $pkgdir$_prefix/include/qtimer.h
}
diff --git a/arch/3.5.13/trinity-base/trinity-qt3/qt-patches.tar.bz2 b/arch/3.5.13/trinity-base/trinity-qt3/qt-patches.tar.bz2
index 4794e9291..cb53bd9df 100644
--- a/arch/3.5.13/trinity-base/trinity-qt3/qt-patches.tar.bz2
+++ b/arch/3.5.13/trinity-base/trinity-qt3/qt-patches.tar.bz2
Binary files differ
diff --git a/arch/3.5.13/trinity-base/trinity-qt3/qt3.install b/arch/3.5.13/trinity-base/trinity-qt3/qt3.install
index 2a8dc4c98..b059a2caa 100644
--- a/arch/3.5.13/trinity-base/trinity-qt3/qt3.install
+++ b/arch/3.5.13/trinity-base/trinity-qt3/qt3.install
@@ -1,12 +1,20 @@
post_install() {
ldconfig &> /dev/null
+ echo "Note that the tools provided by this package (assistant, designer,"
+ echo "linguist, lrelease, lupdate, moc, qmake and qtconfig) have been"
+ echo "renamet to qt3<toolname> to ensure compatibility with Qt4 and should"
+ echo "be run through new command scheme."
+ echo ""
+ echo "In order to update PATH to include Qt3 binaries location, You should"
+ echo "reboot your system. Before you do that you can access Qt3 bin path by"
+ echo "sourcing /etc/profile.d/qt3.sh"
}
post_upgrade() {
- post_install
+ ldconfig &> /dev/null
}
post_remove() {
- post_install
+ ldconfig &> /dev/null
}
diff --git a/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD b/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD
index da4086888..a1f14f9a3 100644
--- a/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-tqtinterface/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-tqtinterface
pkgver=3513
-pkgrel=3
+pkgrel=4
arch=('i686' 'x86_64')
url="http://trinity.pearsoncomputing.net"
license=('GPL2')
@@ -14,14 +14,13 @@ makedepends=('pkgconfig' 'cmake')
conflicts=('kdemod3-tqtinterface')
makeopts=('libtool' '!emptydirs')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/tqtinterface-3.5.13.tar.gz'
- 'tqtpc-location.patch')
+ 'tqtpc-location.patch' 'trinity.profile.sh' 'trinity.profile.csh')
md5sums=('d54cc9fd0b35555298efd17c32471a2b'
- 'c15745c944d98cb7c4cb553f0ca421d4')
+ 'c15745c944d98cb7c4cb553f0ca421d4'
+ '72c6c4fb492c1f4b4741fad1dd70d62f'
+ '915e14c6264a6b9c46a6a20b16cdcd06')
install='trinity-tqtinterface.install'
-# istead of using prefix, we will use QTDIR from qt3 profile
-#_prefix=/opt/qt3
-
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
# Source the QT and KDE profile
@@ -34,7 +33,7 @@ build() {
msg "Starting cmake..."
cmake "../dependencies/tqtinterface" \
- -DCMAKE_INSTALL_PREFIX=${QTDIR} \
+ -DCMAKE_INSTALL_PREFIX=/opt/trinity \
-DQT_PREFIX_DIR=${QTDIR} \
-DQT_INCLUDE_DIR=${QTDIR}/include \
-DMOC_EXECUTABLE=${QTDIR}/bin/moc \
@@ -56,4 +55,21 @@ package() {
#mkdir -p ${pkgdir}/usr/bin
#cp -Rp ${srcdir}/${_svnmod}/qtinterface/uic-tqt ${pkgdir}/usr/bin
+ # it should contain sripts which would add
+ # their location into system variables
+ # this mean that this package should provide
+ # /etc/ld.so.conf.d/trinity.conf - lib locations for linker
+ # /etc/profile.d/trinity.sh - $PATH and other system variables for bash
+ # /etc/profile.d/trinity.csh - $PATH and other system variables for csh
+ # up until now it was done in the kdelibs PKGBUILD/package
+
+ # Create and install ld.so.conf.d file
+ install -d -m755 $pkgdir/etc/ld.so.conf.d/
+ echo /opt/trinity/lib > $pkgdir/etc/ld.so.conf.d/trinity.conf
+ echo /opt/trinity/lib/trinity >> $pkgdir/etc/ld.so.conf.d/trinity.conf
+
+ # Install profiles
+ install -D -m755 $srcdir/trinity.profile.sh $pkgdir/etc/profile.d/trinity.sh
+ install -D -m755 $srcdir/trinity.profile.csh $pkgdir/etc/profile.d/trinity.csh
+
}
diff --git a/arch/3.5.13/trinity-base/trinity-arts/trinity.profile.csh b/arch/3.5.13/trinity-base/trinity-tqtinterface/trinity.profile.csh
index 7fc995130..7fc995130 100644
--- a/arch/3.5.13/trinity-base/trinity-arts/trinity.profile.csh
+++ b/arch/3.5.13/trinity-base/trinity-tqtinterface/trinity.profile.csh
diff --git a/arch/3.5.13/trinity-base/trinity-arts/trinity.profile.sh b/arch/3.5.13/trinity-base/trinity-tqtinterface/trinity.profile.sh
index 70e503534..70e503534 100644
--- a/arch/3.5.13/trinity-base/trinity-arts/trinity.profile.sh
+++ b/arch/3.5.13/trinity-base/trinity-tqtinterface/trinity.profile.sh
diff --git a/arch/3.5.13/trinity-extras/mkpkg b/arch/3.5.13/trinity-extras/mkpkg
new file mode 100755
index 000000000..5b3fe3c10
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/mkpkg
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+pkgarray="kdeaccessibility kdeaddons kdeadmin kdeartwork kdeedu
+ kdegames kdegraphics kdemultimedia kdenetwork kdepim
+ kdesdk kdetoys kdeutils kdevelop kdewebdev libcaldav
+ libcarddav libkdcraw libkexiv2 libkipi i18n"
+arch=`uname -m`
+
+for i in $pkgarray; do
+ cd trinity-${i}
+ makepkg -s -c -i --noconfirm
+ cd ..
+done
+
+[ -d binaries-$arch ] || mkdir binaires-$arch
+
+mv `find . -name *.tar.xz` binaries-$arch/
+
diff --git a/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
index 417343986..01f86aefa 100644
--- a/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
@@ -27,7 +27,7 @@ pkgname=('trinity-i18n-af' 'trinity-i18n-ar' 'trinity-i18n-az'
'trinity-i18n-uz-cyrillic' 'trinity-i18n-vi' 'trinity-i18n-wa' '
trinity-i18n-zh_cn' 'trinity-i18n-zh_tw')
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -39,36 +39,34 @@ options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kde-i18n-3.5.13.tar.gz)
md5sums=('7c919c7cb85f454fed46767082a87773')
-_prefix=/opt/trinity
-
build() {
- msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
-
- cd $srcdir/kde-i18n
- rm HOW.TO.BUILD TRINITY.RELEASE
-
- for _filename in *.tar.bz2; do
- _dir=`echo "$_filename" | cut -d'.' -f1-3`
- _newname=`echo "$_dir" | cut -d'-' -f2-4`
-
- if [ ! -d trinity-${newname} ]; then
- msg "Extracting $_filename..."
- tar xfj $_filename
- mv $_dir trinity-${_newname}
- fi
-
- cd trinity-${_newname}
-
- msg "Starting trinity-${_newname} configure..."
- ./configure --prefix=${_prefix} > /dev/null
-
- msg "Building trinity-${_newname}..."
- make > /dev/null
-
- cd ..
- done
+ msg "Setting Trinity Environment variables"
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+
+ cd $srcdir/kde-i18n
+ rm HOW.TO.BUILD TRINITY.RELEASE
+
+ for _filename in *.tar.bz2; do
+ _dir=`echo "$_filename" | cut -d'.' -f1-3`
+ _newname=`echo "$_dir" | cut -d'-' -f2-4`
+
+ if [ ! -d trinity-${newname} ]; then
+ msg "Extracting $_filename..."
+ tar xfj $_filename
+ mv $_dir trinity-${_newname}
+ fi
+
+ cd trinity-${_newname}
+
+ msg "Starting trinity-${_newname} configure..."
+ ./configure --prefix=${TDEDIR} > /dev/null
+
+ msg "Building trinity-${_newname}..."
+ make > /dev/null
+
+ cd ..
+ done
}
package_trinity-i18n-af() {
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeaccessibility/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeaccessibility/PKGBUILD
index cff62b43b..8f6dea25a 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdeaccessibility/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdeaccessibility/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdeaccessibility
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -11,41 +11,41 @@ groups=('trinity-extras')
pkgdesc="Trinity accessibility tools"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'autoconf' 'automake')
+optdepends=('festival: speech synthesis'
+ 'epos: text to speech synthesis'
+ 'flite: lighweght version of festival'
+ 'mbrola: speech synthesis'
+ 'txt2pho: frontend for mbrola')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeaccessibility-3.5.13.tar.gz)
md5sums=('ce31b01c1831046fb28aab172f2423bf')
-_prefix=/opt/trinity
-
build() {
-
- msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
-
- #msg "Patching..."
- #patch -N -d ${srcdir} -p0 < kdeaccessibility.patch
+ msg "Setting Trinity Environment variables"
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
- msg "Starting automake..."
- cd "$srcdir/kdeaccessibility"
- cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
- cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
- make -f admin/Makefile.common
-
- msg "Starting configure..."
- ./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
- --enable-closure \
- --with-alsa \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
-
- msg "Building ${pkgname}..."
- make
+ msg "Starting automake..."
+ cd "$srcdir/kdeaccessibility"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${TDEDIR} \
+ --enable-closure \
+ --with-alsa \
+ --with-extra-includes=${_prefix}/include \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
}
package() {
- msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/kdeaccesibility
- make DESTDIR="${pkgdir}" install
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdeaccesibility
+ make DESTDIR="${pkgdir}" install
}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeaddons/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeaddons/PKGBUILD
index abe0836fa..8ceafefde 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdeaddons/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdeaddons/PKGBUILD
@@ -19,30 +19,25 @@ options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeaddons-3.5.13.tar.gz)
md5sums=('f5fa96a5d99d1bc33600f609881eaee6')
-_prefix=/opt/trinity
-
build() {
-
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
-
- #msg "Patching..."
- #patch -N -d ${srcdir} -p0 < kdeaddons.patch
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Starting automake..."
cd "$srcdir/kdeaddons"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
+ --prefix=${TDEDIR} \
--enable-closure \
--with-{sdl,xmms} \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig
msg "Building ${pkgname}..."
make
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeadmin/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeadmin/PKGBUILD
index 69928cf46..6ba924328 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdeadmin/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdeadmin/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdeadmin
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -11,38 +11,29 @@ groups=('trinity-extras')
pkgdesc="Trinity system administration utils"
depends=('trinity-kdelibs')
makedepends=('pkgconfig' 'autoconf' 'automake')
-optdepends=()
-provides=($pkgname)
-conflicts=()
-replaces=()
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeadmin-3.5.13.tar.gz)
md5sums=('b8bbabf353070a3e730464e0ce2960e2')
-_prefix=/opt/trinity
-
build() {
-
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
-
- #msg "Patching..."
- #patch -N -d ${srcdir} -p0 < kdeadmin.patch
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Starting automake..."
cd "$srcdir/kdeadmin"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
+ --prefix=${TDEDIR} \
--enable-closure \
--with-shadow \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ --with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ --with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig
msg "Building ${pkgname}..."
make
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeartwork/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeartwork/PKGBUILD
index 18960152d..3561960d5 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdeartwork/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdeartwork/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdeartwork
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -17,12 +17,8 @@ md5sums=('24f85eb3e5a9106de48a3e81d2575ffe')
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
- export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
- export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
- export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
-
- _prefix="/opt/trinity"
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
@@ -31,7 +27,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/kdeartwork \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_XSCREENSAVER=ON \
-DWITH_LIBART=ON \
@@ -45,5 +41,5 @@ package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir" install
}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeedu/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeedu/PKGBUILD
index 9cb3418d7..e50e88bab 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdeedu/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdeedu/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdeedu
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -15,29 +15,25 @@ options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeedu-3.5.13.tar.gz)
md5sums=('37a14a67c4d00babc3015c6a31698cb0')
-_prefix=/opt/trinity
-
build() {
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
-
- #msg "Patching..."
- #patch -N -d ${srcdir} -p0 < kdeedu.patch
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Starting automake..."
cd "$srcdir/kdeedu"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
- --enable-closure \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ --prefix=${TDEDIR} \
+ --enable-closure
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig
msg "Building ${pkgname}..."
make
diff --git a/arch/3.5.13/trinity-extras/trinity-kdegames/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdegames/PKGBUILD
index 8a6df3f6a..6cdc98e0d 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdegames/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdegames/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdegames
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -15,29 +15,26 @@ options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdegames-3.5.13.tar.gz)
md5sums=('6c63e161050939f53921bfceb923a19e')
-_prefix=/opt/trinity
-
build() {
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
-
- #msg "Patching..."
- #patch -N -d ${srcdir} -p0 < kdegames.patch
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+
msg "Starting automake..."
cd "$srcdir/kdegames"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
- --enable-closure \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ --prefix=${TDEDIR} \
+ --enable-closure
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig
msg "Building ${pkgname}..."
make
diff --git a/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD
index 8f1ed8b4c..49650579a 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdegraphics
pkgver=3513
-pkgrel=1.0
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.com'
license=('GPL')
@@ -20,16 +20,10 @@ options=('libtool' '!strip')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdegraphics-3.5.13.tar.gz' 'ksnapshot.patch')
md5sums=('a75c254cd1060343cd04c6744bce6798' '635ed9478cb3edde4fda84f3bac85438')
-_prefix="/opt/trinity"
-
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
- . /etc/profile.d/qt3.sh
-
- export CMAKE_PREFIX_PATH=/opt/qt:${_prefix}
- export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/libkrandr:/usr/include:/usr/include/lcms
- export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:/usr/lib:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Patching..."
patch -p0 -i ${srcdir}/ksnapshot.patch
@@ -41,7 +35,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/kdegraphics \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DCMAKE_CXX_FLAGS="-fpermissive" \
@@ -59,8 +53,6 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
-
make DESTDIR="$pkgdir" install
-
cd ${startdir}
}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdemultimedia/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdemultimedia/PKGBUILD
index 12e75db87..b812735ba 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdemultimedia/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdemultimedia/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdemultimedia
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -15,13 +15,10 @@ options=('libtool' '!strip')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdemultimedia-3.5.13.tar.gz' 'xine_artsplugin.patch')
md5sums=('6d906b8a8fd0928e01ecd600175381c0' 'bb045d94e8dca80d73af4add43b7fc15')
-_prefix=/opt/trinity
-
build() {
-
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Patching..."
patch -p0 -i ${srcdir}/xine_artsplugin.patch
@@ -30,13 +27,12 @@ build() {
cd "$srcdir/kdemultimedia"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig \
+ --prefix=${TDEDIR} \
--enable-closure \
--with-vorbis \
--with-alsa \
@@ -49,6 +45,8 @@ build() {
--with-xine
#--with-gstreamer
#--with-akode \
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig \
msg "Building ${pkgname}..."
make
diff --git a/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
index 82d8bebab..a24800eef 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdenetwork
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -26,12 +26,8 @@ md5sums=('349f197c9af4bf0d9b8773f26829415e'
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
- export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
- export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
- export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
-
- _prefix="/opt/trinity"
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
patch -p0 -i ${srcdir}/kdenetwork.patch
mv ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/qname.cc ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/tqname.cc
@@ -44,7 +40,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/kdenetwork \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_INSTALL_PREFIX=$TDEDIR \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_JINGLE=ON \
-DWITH_SPEEX=ON \
@@ -60,6 +56,5 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
-
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir" install
}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD
index 7a49f3bcf..dcb645557 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD
@@ -25,18 +25,11 @@ source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdepim-3.5.13.tar.gz')
source=('http://anduin.linuxfromscratch.org/sources/trinity/kdepim-3.5.13.tar.gz')
md5sums=('4488062d5400bdd99642fe0b72ebcf9a')
-_prefix="/opt/trinity"
-
build() {
-
msg "Setting PATH, CMAKE and Trinity Environment variables"
- export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
- . /etc/profile.d/qt3.sh
-
- export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/libkrandr:/usr/include
- export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
-
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
@@ -44,7 +37,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/kdepim \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_SASL=ON \
-DWITH_NEWDISTRLISTS=ON \
@@ -71,8 +64,6 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
-
make DESTDIR="$pkgdir" install
-
cd ${startdir}
}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdesdk/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdesdk/PKGBUILD
index ace4fc543..b7cec01c2 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdesdk/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdesdk/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdesdk
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -19,38 +19,33 @@ md5sums=('130662f683be1a49d56a713c5ae87e46'
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
- export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
- export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/kde
- export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
-
- _prefix="/opt/trinity"
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
patch -N -d ${srcdir} -p0 < kdesdk.patch
cd $srcdir/kdesdk
msg "Starting configure..."
-
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
+ --prefix=${TDEDIR} \
--enable-closure \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig \
--with-berkeley-db \
--with-subversion
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig \
make
-
#msg "Starting cmake..."
#cmake ${srcdir}/kdesdk \
- # -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ # -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
# -DCMAKE_VERBOSE_MAKEFILE=ON \
# -DWITH_DBSEARCHENGINE=ON \
# -DWITH_KCAL=ON \
@@ -76,6 +71,5 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/kdesdk
-
make DESTDIR="$pkgdir" install
}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdetoys/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdetoys/PKGBUILD
index 1de2a3b95..bd20aa2e7 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdetoys/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdetoys/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdetoys
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -15,26 +15,24 @@ options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdetoys-3.5.13.tar.gz)
md5sums=('823dd778c1e9e15972a509f4eee4434d')
-_prefix=/opt/trinity
-
build() {
-
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Starting automake..."
cd "$srcdir/kdetoys"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
- --enable-closure \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ --prefix=${TDEDIR} \
+ --enable-closure
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig
msg "Building ${pkgname}..."
make
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeutils/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeutils/PKGBUILD
index 38633c7fd..bd9a4da9d 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdeutils/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdeutils/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdeutils
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -15,27 +15,24 @@ options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeutils-3.5.13.tar.gz)
md5sums=('e2cd6695606c5c91b3380dcc7f1a6a83')
-_prefix=/opt/trinity
-
build() {
-
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
-
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Starting automake..."
cd "$srcdir/kdeutils"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
- --enable-closure \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ --prefix=${TDEDIR} \
+ --enable-closure
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig
#--with-xmms
#--with-snmp \
diff --git a/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD
index 2e3945c16..ff47e08f4 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD
@@ -2,8 +2,8 @@
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-kdevelop
-pkgver=12345
-pkgrel=1.0
+pkgver=3513
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -17,14 +17,9 @@ md5sums=('777bd77e4f2dc6a5b5b45a370dcf6da0'
'ab23854b1658adc1da4621cb589ec1be')
build() {
-
msg "Setting PATH, CMAKE and Trinity Environment variables"
- export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
- CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/libkrandr
- export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
-
- _prefix="/opt/trinity"
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Patching..."
# apply second part of Francois Andriot patch
@@ -37,7 +32,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/kdevelop \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DWITH_QT3=ON \
@@ -51,6 +46,5 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
-
make DESTDIR="$pkgdir/" install
}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD
index 49e067fd6..aeb365b82 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-webdev
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -18,13 +18,8 @@ md5sums=('4f56a6c4b5916615ca3615f8e8f868c6'
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
- export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
- export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include
- export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
-
- _prefix="/opt/trinity"
-
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
patch -N -d ${srcdir} -p0 < kdewebdev.patch
cd $srcdir
@@ -34,7 +29,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/kdewebdev \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DBUILD_ALL=ON
make
@@ -43,5 +38,5 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir" install
}
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
index 933a98c7d..97ce89858 100644
--- a/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
@@ -20,9 +20,10 @@ md5sums=('fba66a6c605a6d7be67a638cd29667b6'
'5ce5bd3c1ed4d5004a864130a971f737'
'c136e14af1923c2cf6dc5beb93da2ba4')
-_prefix=/usr
-
build() {
+ msg "Setting enviroment variables..."
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
# patch for Changelog version
patch -p0 -i ${srcdir}/Changelog.patch || return 1
@@ -31,10 +32,10 @@ build() {
cd ${srcdir}/libcaldav-${pkgver}
msg "Running ./autogen.sh for autoreconf"
- ./autogen.sh --prefix=${_prefix}
+ ./autogen.sh --prefix=${TDEDIR}
# --includedir=/usr/include
# msg "Running configure"
-# ./configure --prefix=${_prefix}
+# ./configure --prefix=${TDEDIR}
make || return 1
}
diff --git a/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
index 918d9a853..f08419908 100644
--- a/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
@@ -18,10 +18,11 @@ source=("http://quickbuild.pearsoncomputing.net:58080/2056019/libcarddav_${pkgve
md5sums=('42a0fe57ba4c639aad53024f6c8d5614'
'63ef0b91ff27dfb7c48ca0f07866af79')
-_prefix=/usr
-
build() {
cd ${srcdir}
+ msg "setting environment variables..."
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
# apply libcarddav patch
msg "Applying Patch: libcarddav.patch"
@@ -29,9 +30,9 @@ build() {
cd ${srcdir}/libcarddav-${pkgver}
msg "Running ./autogen.sh for autoreconf"
- ./autogen.sh --prefix=${_prefix}
+ ./autogen.sh --prefix=${TDEDIR}
# msg "Running configure"
- # ./configure --prefix=${_prefix}
+ # ./configure --prefix=${TDEDIR}
make || return 1
}
diff --git a/arch/3.5.13/trinity-extras/trinity-libkdcraw/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libkdcraw/PKGBUILD
index 6fdf2d303..17e05aa0b 100644
--- a/arch/3.5.13/trinity-extras/trinity-libkdcraw/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-libkdcraw/PKGBUILD
@@ -3,40 +3,38 @@
pkgname=trinity-libkdcraw
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-extras')
pkgdesc="Trinity DCRaw library"
depends=('trinity-kdelibs')
-#openmpi
+ #openmpi
makedepends=('pkgconfig' 'autoconf' 'automake')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/libraries/libkdcraw-3.5.13.tar.gz)
md5sums=('770dd734dc427337a1a2e61b6b0874ae')
-_prefix=/opt/trinity
-
build() {
-
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Starting automake..."
cd "$srcdir/libraries/libkdcraw"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
+ --prefix=${TDEDIR} \
--enable-closure \
- --enable-openmp \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ --enable-openmp
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig
msg "Building ${pkgname}..."
make
diff --git a/arch/3.5.13/trinity-extras/trinity-libkexiv2/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libkexiv2/PKGBUILD
index 20dd82265..585cc5010 100644
--- a/arch/3.5.13/trinity-extras/trinity-libkexiv2/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-libkexiv2/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-libkexiv2
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -15,26 +15,24 @@ options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/libraries/libkexiv2-3.5.13.tar.gz)
md5sums=('74b160da8ea95f25048757b5fe692f85')
-_prefix=/opt/trinity
-
build() {
-
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Starting automake..."
cd "$srcdir/libraries/libkexiv2"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
- --enable-closure \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ --prefix=${TDEDIR} \
+ --enable-closure
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig
msg "Building ${pkgname}..."
make
diff --git a/arch/3.5.13/trinity-extras/trinity-libkipi/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libkipi/PKGBUILD
index e66eb1a4a..6ff3593c5 100644
--- a/arch/3.5.13/trinity-extras/trinity-libkipi/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-libkipi/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-libkipi
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -15,26 +15,24 @@ options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/libraries/libkipi-3.5.13.tar.gz)
md5sums=('22cb0ba7507cac99140cd1c0180cbe99')
-_prefix=/opt/trinity
-
build() {
-
msg "Setting Trinity Environment variables"
- export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Starting automake..."
cd "$srcdir/libraries/libkipi"
cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ sed -i -e "s@/usr/include/tqt@$TDEDIR/include/tqt@" admin/acinclude.m4.in
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
- --prefix=${_prefix} \
- --enable-closure \
- --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
- --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ --prefix=${TDEDIR} \
+ --enable-closure
+ #--with-extra-includes=${TDEDIR}/include:/usr/include/dbus-1.0:${TDEDIR}/include/libkrandr \
+ #--with-extra-libs=${TDEDIR}/lib:${TDEDIR}/lib/trinity:${TDEDIR}/pkgconfig
msg "Building ${pkgname}..."
make