Compare commits

..

4 Commits

Author SHA1 Message Date
Michele Calgaro 45d7fc6c45
DEB: move libtqt-perl to /usr folder. This relates to bug 266.
4 years ago
Michele Calgaro 7cd9151f04
DEB: tdebindings - smoke's qt -> tqt renaming. This relates to bug 266.
4 years ago
Michele Calgaro 1ecd2e090d
DEB: tdebindings - qtruby -> tqtruby renaming. This relates to bug 266.
4 years ago
Michele Calgaro ae365057f6
DEB: move tdebindings to /usr folder. This relates to bug 266.
4 years ago

3
.gitmodules vendored

@ -1,3 +0,0 @@
[submodule "gentoo"]
path = gentoo
url = https://scm.trinitydesktop.org/scm/git/tde-packaging-gentoo

15
arch/.gitignore vendored

@ -1,15 +0,0 @@
*/*/pkg
*/*/src
*/*/*.tar.bz2
*/*/*.tar.xz
*/*/*.pkg.tar.xz
*/*/*.pkg.tar.zst
*/*/*.sig
*/*/*.log
*/*/*.log.*
tde-meta/pkg
tde-meta/*.pkg.tar.xz
tde-meta/*.pkg.tar.zst
tde-meta/*.sig
out
*~

@ -0,0 +1,58 @@
# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-amarok
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity Amarok music player and manager"
depends=('trinity-kdebase' 'libifp' 'libmtp' 'taglib' 'libnjb' 'python-daap' 'ruby')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/amarok-3.5.13.tar.gz)
md5sums=('7145ebee38f104bef6cfaf56e7f81959')
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"
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
cd build
# Baho additions
CFLAGS=${CFLAGS}" -fpermissive"
CXXFLAGS=${CXXFLAGS}" -fpermissive"
msg "Starting cmake..."
cmake ${srcdir}/applications/amarok \
-DCMAKE_INSTALL_PREFIX=${_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DWITH_IFP=ON \
-DWITH_NJB=ON \
-DWITH_MTP=ON \
-DWITH_DAAP=ON \
-DBUILD_ALL=ON
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
# rm -r ${srcdir}/${_svnmod}
}

@ -0,0 +1,53 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-digikam
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity Photo Management and Retouching Suite"
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/applications/digikam-3.5.13.tar.gz)
md5sums=('81cfcd75dc9c067ba6761aa1147c31e7')
_builddir=applications/digikam
_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 < digikam.patch
msg "Starting automake..."
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"
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
msg "Building ${pkgname}..."
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/${_builddir}
make DESTDIR="${pkgdir}" install
}

@ -0,0 +1,48 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
# PKGBUILD by Pawel "l0ner" Soltys <sh4dou@gmail.com>
pkgname=trinity-dolphin
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity Do3phin file manager"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/dolphin-3.5.13.tar.gz)
md5sums=('67040323c527d83978f58c76b47a91f6')
_svnmod=applications/dolphin
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
trinity_prefix="/opt/trinity"
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
cd build
msg "Starting cmake..."
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DBUILD_ALL=ON
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
}

@ -0,0 +1,53 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-filelight
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity File system Viewer"
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/applications/filelight-3.5.13.tar.gz)
md5sums=('b53cb6b46942e56aa247100cdb84d85f')
_builddir=applications/filelight
_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 < filelight.patch
msg "Starting automake..."
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"
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
msg "Building ${pkgname}..."
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/${_builddir}
make DESTDIR="${pkgdir}" install
}

@ -0,0 +1,53 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-gwenview
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity Image Viewer"
depends=('trinity-kdelibs' 'trinity-libkexiv2' 'trinity-libkipi')
makedepends=('pkgconfig' 'autoconf' 'automake')
optdepends=()
provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/gwenview-3.5.13.tar.gz)
md5sums=('3ff9b8c4049dc40f26f89b4be3c21b96')
_builddir=applications/gwenview
_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 < gwenview.patch
msg "Starting automake..."
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"
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
msg "Building ${pkgname}..."
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/${_builddir}
make DESTDIR="${pkgdir}" install
}

@ -0,0 +1,55 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-k3b
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity CD and DVD burning"
depends=('trinity-kdelibs' 'hal' 'dbus' 'alsa-lib' 'ffmpeg' 'flac' 'libvorbis' 'libmpcdec' 'lame' 'libmad' 'libsndfile' 'libdvdread' 'cdrdao' 'cdrkit' 'transcode' 'dvd+rw-tools' 'emovix' 'sox' 'normalize')
makedepends=('pkgconfig' 'autoconf' 'automake')
optdepends=()
provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/k3b-3.5.13.tar.gz)
md5sums=('f022338d361632223106ba444fe1e60e')
_builddir=applications/k3b
_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 < k3b.patch
msg "Starting automake..."
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"
make -f admin/Makefile.common
msg "Starting configure..."
./configure --with-qt-dir=${QTDIR} \
--prefix=${_prefix} \
--enable-closure \
--with-alsa \
--enable-ffmpeg-all-codecs \
--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
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/${_builddir}
make DESTDIR="${pkgdir}" install
}

@ -0,0 +1,49 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-kbfx
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity Kbfx KMenu replacement"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/kbfx-3.5.13.tar.gz' 'kbfx.patch')
md5sums=('04921c66fe2dc26d6eab7143e5950446'
'510638db000827e86f9d542662199064')
_svnmod=applications/kbfx
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
trinity_prefix="/opt/trinity"
patch -N -d ${srcdir} -p0 < kbfx.patch
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
cd build
msg "Starting cmake..."
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DUSE_MENUDRAKE=OFF \
-DBUILD_ALL=ON
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
}

@ -0,0 +1,18 @@
Only in src/applications/kbfx: \
diff -u -r applications/kbfx/CMakeLists.txt src/applications/kbfx/CMakeLists.txt
--- applications/kbfx/CMakeLists.txt 2011-08-22 00:24:16.000000000 +0200
+++ src/applications/kbfx/CMakeLists.txt 2011-12-16 13:09:09.000000000 +0100
@@ -219,10 +219,10 @@
SET(KBFX_LIB_INSTALL_DIR ${LIB_INSTALL_DIR})
-SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt")
-SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc")
+SET(QT_UIC_EXECUTABLE "/opt/trinity/bin/uic-tqt")
+SET(QT_MOC_EXECUTABLE "/opt/trinity/bin/tmoc")
-SET(CMAKE_CXX_FLAGS "-I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
+SET(CMAKE_CXX_FLAGS "-I/opt/trinity/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
ADD_SUBDIRECTORY(kbfxlib/data)
ADD_SUBDIRECTORY(kbfxlib/common)

@ -0,0 +1,48 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-kdesvn
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity SVN frontend gui"
depends=('trinity-kdebase' 'sqlite3' 'subversion')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/kdesvn-3.5.13.tar.gz' 'kdesvn.patch')
md5sums=('f65e86f0d2f7882b4f958f2e89fe0d34'
'9def57c42b258c4caf2b5709eb25ba25')
_svnmod=applications/kdesvn
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
trinity_prefix="/opt/trinity"
patch -N -d ${srcdir} -p0 < kdesvn.patch
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
cd build
msg "Starting cmake..."
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DBUILD_ALL=ON
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
}

@ -0,0 +1,17 @@
diff -u -r applications/kdesvn/CMakeLists.txt src/applications/kdesvn/CMakeLists.txt
--- applications/kdesvn/CMakeLists.txt 2011-08-22 00:35:16.000000000 +0200
+++ src/applications/kdesvn/CMakeLists.txt 2011-12-16 14:14:17.000000000 +0100
@@ -111,8 +111,10 @@
DEPENDS doc
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
-SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt")
-SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc")
+SET(QT_UIC_EXECUTABLE "/opt/trinity/bin/uic-tqt")
+SET(QT_MOC_EXECUTABLE "/opt/trinity/bin/tmoc")
+
+SET(CMAKE_CXX_FLAGS "-I/opt/trinity/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(po)
Only in src/applications/kdesvn: .CMakeLists.txt.swp

@ -0,0 +1,53 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-konversation
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity Konversation IRC client"
depends=('trinity-kdelibs')
makedepends=('pkgconfig' 'autoconf' 'automake')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/konversation-3.5.13.tar.gz)
md5sums=('0f0e0415dad4c19bc885c9addadf4026')
_builddir=applications/konversation
_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 "Starting autoconf..."
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..."
./configure \
--with-qt-dir=${QTDIR} \
--with-qt-inculdes=${QTDIR}/include \
--with-qt-libraries=${QTDIR}/lib \
--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
msg "Building ${pkgname}..."
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
# cd ${srcdir}/build
cd ${srcdir}/${_builddir}
make DESTDIR="${pkgdir}" install
}

@ -0,0 +1,60 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-kpowersave
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity kpowersave"
depends=('xscreensaver'
'libxss'
'trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'autoconf' 'imake')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/kpowersave-3.5.13.tar.gz)
md5sums=('c887eb282fd035655b370f133ce58664')
_svnmod=applications/kpowersave
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
export 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
# patch for inactivity.cpp
# patch -p0 -i ${srcdir}/kpowersave-app-inactivity.cpp.patch || return 1
trinity_prefix="/opt/trinity"
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
cd build
msg "Starting cmake..."
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DWITH_QT3=ON \
-DQTDIR=/opt/qt \
-DQT_DOCDIR=/opt/qt/man \
-DQT_LIBRARY_DIRS=/opt/qt/lib \
-DBUILD_ALL=ON
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
# cd ${srcdir}/${_svnmod}
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
# rm -r ${srcdir}/${_svnmod}
}

@ -0,0 +1,11 @@
--- kpowersave/src/inactivity.cpp
+++ kpowersave/src/inactivity.cpp 2011-03-12 18:40:52.000000000 -0600
@@ -325,7 +325,7 @@
blacklisted_running = false;
}
else {
- if (pids.contains(QRegExp::QRegExp("[0-9]"))) {
+ if (pids.contains(QRegExp("[0-9]"))) {
kdDebug() << "BLACKLISTED IS RUNNING" << endl;
blacklisted_running = true;
blacklisted_running_last = idleTime;

@ -0,0 +1,50 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-ktorrent
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-apps')
pkgdesc="Trinity - pkgdesc"
depends=('trinity-kdelibs')
makedepends=('pkgconfig' 'autoconf' 'automake')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/ktorrent-3.5.13.tar.gz)
md5sums=('3bf211ec2a41f92d935e12ee8753fa06')
_builddir=applications/ktorrent
_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 < ktorrent.patch
msg "Starting automake..."
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 \
--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
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/${_builddir}
make DESTDIR="${pkgdir}" install
}

@ -0,0 +1,55 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-gtk-qt-engine
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-artwork')
pkgdesc="Trinity - Qt wrapper for GTK, makes gtk2 apps look pretty under TDE"
depends=('trinity-kdebase' 'gtk2')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/gtk-qt-engine-3.5.13.tar.gz)
md5sums=('96da675949ef8743d4fe91531f734030')
_svnmod=applications/gtk-qt-engine
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
export 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
trinity_prefix="/opt/trinity"
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
cd build
msg "Starting cmake..."
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DWITH_QT3=ON \
-DQTDIR=/opt/qt \
-DQT_DOCDIR=/opt/qt/man \
-DQT_LIBRARY_DIRS=/opt/qt/lib \
-DBUILD_ALL=ON
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
# cd ${srcdir}/${_svnmod}
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
# rm -r ${srcdir}/${_svnmod}
}

@ -0,0 +1,46 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-kde-style-lipstik
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-artwork')
pkgdesc="Trinity - Lipstik style"
depends=('trinity-kdelibs' 'trinity-kdebase')
makedepends=('pkgconfig' 'autoconf' 'automake')
options=('libtool' '!strip')
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/kde-style-lipstik-3.5.13.tar.gz)
md5sums=('1585d4df7f0c68499fafa0b8ecb82dab')
_builddir=applications/kde-style-lipstik
_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 "Starting autoconf..."
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"
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
msg "Building ${pkgname}..."
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/${_builddir}
make DESTDIR="${pkgdir}" install
}

@ -0,0 +1,57 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-qtcurve
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-artwork')
pkgdesc="Trinity - QtCurve style"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/kde-style-qtcurve-3.5.13.tar.gz')
_svnmod=applications/kde-style-qtcurve
md5sums=('98133893b9c6736804d4dfc134a3a256')
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
export 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
# cd ${srcdir}/${_svnmod}
trinity_prefix="/opt/trinity"
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
cd build
msg "Starting cmake..."
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DWITH_QT3=ON \
-DQTDIR=/opt/qt \
-DQT_DOCDIR=/opt/qt/man \
-DQT_LIBRARY_DIRS=/opt/qt/lib \
-DBUILD_ALL=ON
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
# cd ${srcdir}/${_svnmod}
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
# rm -r ${srcdir}/${_svnmod}
}

@ -0,0 +1,99 @@
# Maintainer: Pawel "l0ner" Soltys <pwslts@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Link Dupont <link@subpop.net>
# Contributor: Calvin Morisson <mutantturkey@gmail.com>
pkgname=hal
pkgver=0.5.14
pkgrel=7
pkgdesc="Hardware Abstraction Layer"
arch=(i686 x86_64)
license=('GPL' 'custom')
url="http://www.freedesktop.org/wiki/Software/hal"
depends=('dbus-glib>=0.82' 'libusb-compat' 'udev>=146' 'filesystem>=0.7.1-5' 'hal-info>=0.20090716' 'eject' 'dmidecode' 'pciutils>=3.0.2' 'usbutils>=0.73-5' 'pm-utils>=1.2.5' 'consolekit>=0.4.1' 'util-linux-ng>=2.16' 'v4l-utils')
makedepends=('pkgconfig' 'gperf')
options=('!libtool' '!makeflags')
install=hal.install
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
hald
hal.patch
udev-update.patch)
# patches/hal-0.5.9-hide-diagnostic.patch
# patches/hal-remove-dell-killswitch.patch
# patches/hal-KVM-evdev.patch
# patches/hal-HDAPS-blacklist.patch
# patches/hal-xen-unignore-axes.patch
# patches/hal-use-at-console.patch
# patches/fix-libusb-detection.patch
# patches/dbus-error-init.patch
# patches/path-max.patch
# patches/handle-input-touchpad.patch
# patches/macbook-fix-ioperm.patch
# patches/hal-ignore-internal-dm-devices.patch
md5sums=('e9163df591a6f38f59fdbfe33e73bf20'
'4cdfc673ad65ddb51919f5a757f62145'
'185dd5d6ffc703ec8395b4eb3a1ae498'
'cad3564de1708603c7a1e0facf6b1921')
# '4d4b6801a1cedca22b8bdd9db73b16fb'
# '6d87c3e63184ae3a69caafc846f538a3'
# '6507e5091ee2d11a87ae738a8e2caecb'
# '1171c2d83b76059f2da7a3538e08fa4e'
# '52bd305299aa22ae07f1a862c22d30fa'
# '3f11234fb5e5044fbfc5199ec65b182c'
# 'da088f12cfc2d190bbf95b747e19ab9e'
# '634f4ec2203eff7de8fa2ed2c6b9cbe0'
# 'f8c9b3a40d03907b498feef571d42466'
# '0575677614db0632b17b1a719798c7e0'
# '46a5db3ff896ee37762aa8d7e70942c4'
# '17bc2b911f245cef4a1d98769d5c4d14'
build() {
cd $srcdir
patch -Np1 -d ${srcdir} < hal.patch
cd "${srcdir}/${pkgname}-${pkgver}"
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"
# patch -Np1 -i "${srcdir}/hal-xen-unignore-axes.patch"
# patch -Np1 -i "${srcdir}/hal-use-at-console.patch"
# patch -Np1 -i "${srcdir}/fix-libusb-detection.patch"
# patch -Np1 -i "${srcdir}/dbus-error-init.patch"
# patch -Np1 -i "${srcdir}/path-max.patch"
# patch -Np1 -i "${srcdir}/handle-input-touchpad.patch"
# patch -Np1 -i "${srcdir}/macbook-fix-ioperm.patch"
# patch -Np1 -i "${srcdir}/hal-ignore-internal-dm-devices.patch"
libtoolize --force
aclocal
autoconf
automake
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/hal --with-udev-prefix=/etc \
--enable-static=no --disable-acpi-ibm \
--disable-docbook-docs --disable-console-kit \
--disable-policy-kit --disable-acl-management \
--enable-umount-helper --disable-smbios \
--with-hal-user=hal --with-hal-group=hal \
--with-pid-file=/var/run/hald.pid \
--disable-gtk-doc
make
}
package() {
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/hal"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
# Fix udev rule location
install -d -m755 "${pkgdir}/lib"
mv "${pkgdir}/etc/udev" "${pkgdir}/lib/"
}

@ -0,0 +1,24 @@
post_install() {
getent group hal >/dev/null || usr/sbin/groupadd -g 82 hal
getent group optical >/dev/null || usr/sbin/groupadd -g 93 optical
getent group floppy >/dev/null || usr/sbin/groupadd -g 94 floppy
getent group storage >/dev/null || usr/sbin/groupadd -g 95 storage
getent passwd hal >/dev/null || usr/sbin/useradd -c 'HAL daemon' -u 82 -g hal -G optical,floppy,storage -d '/' -s /bin/false hal
usr/bin/passwd -l hal &>/dev/null
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
# arg 1: the old package version
post_remove() {
if getent passwd hal &>/dev/null; then
usr/sbin/userdel hal
fi
if getent group hal &>/dev/null; then
usr/sbin/groupdel hal
fi
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,54 @@
#!/bin/bash
# general config
. /etc/rc.conf
. /etc/rc.d/functions
case "$1" in
start)
#Check for running dbus, start when not running
ck_daemon dbus && /etc/rc.d/dbus start
if [ -x /etc/rc.d/acpid ]; then
ck_daemon acpid && /etc/rc.d/acpid start
fi
stat_busy "Starting Hardware Abstraction Layer"
if [ ! -x /var/cache/hald ] ; then
install -m755 -g 82 -o 82 -d /var/cache/hald
fi
if [ ! -x /var/run/hald ]; then
install -m755 -g 82 -o 82 -d /var/run/hald
fi
if [ ! -x /var/run/hald/hald-local ]; then
install -m755 -g 0 -o 0 -d /var/run/hald/hald-local
fi
if [ ! -x /var/run/hald/hald-runner ]; then
install -m755 -g 0 -o 0 -d /var/run/hald/hald-runner
fi
/usr/sbin/hald
if [ $? -gt 0 ]; then
stat_fail
else
add_daemon hald
stat_done
fi
;;
stop)
stat_busy "Stopping Hardware Abstraction Layer"
[ -f /var/run/hald.pid ] && kill `cat /var/run/hald.pid` &> /dev/null
if [ $? -gt 0 ]; then
stat_fail
else
rm_daemon hald
stat_done
fi
;;
restart)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 {start|stop|restart}"
;;
esac
exit 0

@ -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;

@ -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

@ -0,0 +1,48 @@
# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-arts
pkgver=3513
pkgrel=4
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.com'
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity ARTS Sound System and libraries"
depends=('trinity-tqtinterface'
'audiofile' 'libmad' 'libvorbis'
'glib2')
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')
md5sums=('109124dabb1aaa9d44eb32e43b549142')
install='trinity-arts.install'
build() {
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"
mkdir -p build
cd build
msg "Starting cmake..."
cmake ${srcdir}/dependencies/arts/ \
-DCMAKE_INSTALL_PREFIX=${TDEDIR}
msg "Building $pkgname..."
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
make DESTDIR="$pkgdir" install
}

@ -0,0 +1,37 @@
# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-dbus-1-qt3
pkgver=0.9
pkgrel=9
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity D-Bus/Qt3 bindings."
depends=('trinity-qt3')
provides=('trinity-dbus-1-qt3' 'dbus-1-qt3')
conflicts=('dbus-1-qt3')
replaces=('dbus-1-qt3')
options=('libtool' '!strip')
source=(http://people.freedesktop.org/~krake/dbus-1-qt3/${pkgname#*trinity-}-${pkgver}.tar.gz)
md5sums=('8ca3d13c372126aa9b0e16beb0a9d82d')
build() {
cd $srcdir/${pkgname#*trinity-}-$pkgver
msg "Setting enviroment variables..."
. /etc/profile.d/qt3.sh
msg "Starting configure..."
./configure --prefix=$QTDIR
msg "Building ${pkgname}..."
make || return 1
# Libtool slay
# find $pkgdir -name *.la -exec rm {} \;
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd $srcdir/${pkgname#*trinity-}-$pkgver
make DESTDIR="${pkgdir}" install
}

@ -0,0 +1,49 @@
# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-dbus-tqt-1
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity D-Bus TQtInterface Wrapper"
depends=('trinity-tqtinterface' 'dbus')
provides=('trinity-dbus-tqt-1' 'dbus-tqt-1' 'dbus-1-tqt' 'trinity-dbus-1-tqt')
makedepends=('pkgconfig' 'cmake')
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')
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
}
package() {
msg "Packaging - $pkgname-$pkgver"
# cd ${srcdir}/${_svnmod}
cd ${srcdir}/build
make DESTDIR="${pkgdir}" install
}

@ -0,0 +1,47 @@
# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
# Contributor: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-dbus-tqt
pkgver=3513
pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity TQt DBus wrapper"
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)
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
[ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
#export CMAKE_PREFIX_PATH=${QTDIR}:${TDEDIR}
#export CMAKE_INCLUDE_PATH=/usr/include/dbus-1.0:${TDEDIR}/include:${TDEDIR}/include/libkrandr
#export LD_LIBRARY_PATH=${TDEDIR}/lib:${TDEDIR}/lib/trinity:$LD_LIBRARY_PATH
#export PKG_CONFIG_PATH=${TDEDIR}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/build"
mkdir -p build
cd build
msg "Starting cmake..."
cmake ${srcdir}/dependencies/dbus-tqt \
-DCMAKE_INSTALL_PREFIX=$TDEDIR
msg "Building - $pkgname..."
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
make DESTDIR="${pkgdir}" install
}

@ -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"