added some PKGBUILDs for things that won't compile correctly

they are present in 3.5.13_broken dir.
pull/3/head
Pawel "l0ner" Soltys 13 years ago
parent e2a1b2d23b
commit 9d1a07c7e3

@ -6,7 +6,8 @@ url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity - D-Bus TQtInterface Wrapper"
depends=('trinity-tqtinterface')
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.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/dbus-1-tqt-3.5.13.tar.gz)

Binary file not shown.

@ -0,0 +1,52 @@
Those are PKGBUILDs for trinity components
that won't build on arch because of various reasons.
I've out them here for archival reasons.
PKGBUILDs itself (apart for dependencies) are pretty
much finished for those.
After fixing and veryfing that they build pleas move
them to the 3.5.13 dir.
Problems with builds:
kgtk-qt3:
not our CMakeLists.txt files. Probably created
by original KDE team (since it includes options
for building it for Qt4). Cannot be build because
of hard coded paths to tmoc. And uic-tqt.
Fix for uic-tqt is included in the patch, but tmoc
cannot be fixed. Maybe manually passing
-DQT_MOC_EXECUTABLE=/opt/trinity/bin/tmoc could help?
Tried: cmake hangs after "--Found Threads:TRUE"
message. Top shows 24 sed processes. Any fix?
If it cannot be fixed, maybe whole CMake should
be rewritten for this?
knetworkmanager8
knetworkmanager9
CMake does not detect dbus-1-tqt. We provide
dbus-tqt-1, for which we pull tarball called
dbus-1-tqt. It should be the same thing, but
after chenaging Cmake instructions to search
for dbus-tqt-1 which we provide, it still
fails.
Patch provides missing cmake modules.
kpilot:
same as above (probably) plus "CMakeOptions.txt
not found! Run configure first." Error.
Do we need kpilot? Is Palm devices supported
by it still alive?
kde-style-lipstick:
not ported to CMake. Autotools TQt, Qt detection
problems.
wlassistant:
not potted to Cmake. Same as above.
rosegarden:
same as kgtk-qt3. I think every else trinity component
using CMake files wrote by KDE team won't work
with trinity tmoc.

@ -0,0 +1,50 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-kgtk-qt3
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-extras')
pkgdesc="Trinity - kgtk-qt3"
depends=('trinity-kdebase' 'gtk2')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kgtk-qt3-3.5.13.tar.gz' 'kgtk.patch')
md5sums=('27eb49a405696db149c6bb2e030b6ee0'
'ccf1b146105dd38b6dcbc49b4b8fb376')
_svnmod=applications/kgtk-qt3
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 < kgtk.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 \
-DQT_MOC_EXECUTABLE=/opt/trinity/bin/tmoc \
-DBUILD_ALL=ON
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
}

@ -0,0 +1,17 @@
diff -u -r applications/kgtk-qt3/CMakeLists.txt src/applications/kgtk-qt3/CMakeLists.txt
--- applications/kgtk-qt3/CMakeLists.txt 2011-05-08 21:37:48.000000000 +0200
+++ src/applications/kgtk-qt3/CMakeLists.txt 2011-12-16 16:42:01.000000000 +0100
@@ -16,9 +16,9 @@
include(CheckFunctionExists)
check_function_exists(getpeereid HAVE_GETPEEREID)
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/usr/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
-SET(QT_UIC_EXECUTABLE "/usr/bin/uic-tqt")
-#SET(QT_MOC_EXECUTABLE "/usr/bin/tmoc")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/opt/trinity/include/tqt -include tqt.h -DTQT_THREAD_SUPPORT")
+SET(QT_UIC_EXECUTABLE "/opt/trinity/bin/uic-tqt")
+#SET(QT_MOC_EXECUTABLE "/opt/trinity/bin/tmoc")
if (NOT "${KGTK_KDE3}" MATCHES "false")
add_subdirectory(kdialogd3)
Only in src/applications/kgtk-qt3: .CMakeLists.txt.swp

@ -0,0 +1,49 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-knetworkmanager
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-extras')
pkgdesc="Trinity - Networkmanager applet"
depends=('trinity-kdebase' 'networkmanager' 'dbus' 'hal' 'trinity-dbus-tqt-1')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/knetworkmanager8-3.5.13.tar.gz' 'knetworkmanager.patch')
md5sums=('def7b5d1fae4d407d05507fe8bc47f5c'
'bc1fba7f0cd2ee6264c986a56f725669')
_svnmod=applications/knetworkmanager8
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 < knetworkmanager.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,49 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-knetworkmanager
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-extras')
pkgdesc="Trinity - Networkmanager applet"
depends=('trinity-kdebase' 'networkmanager' 'dbus' 'hal' 'trinity-dbus-tqt-1')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/knetworkmanager9-3.5.13.tar.gz' 'knetworkmanager.patch')
md5sums=('11108480d620db10e7848446750e2cc7'
'bc1fba7f0cd2ee6264c986a56f725669')
_svnmod=applications/knetworkmanager9
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 < knetworkmanager.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,55 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-kpilot
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-extras')
pkgdesc="Trinity - kpilot Palm sync tool"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kpilot-3.5.13.tar.gz)
md5sums=('adac05d936e6947ac0b1033c8d3192cd')
_svnmod=applications/kpilot
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
# Baho additions
CFLAGS=${CFLAGS}" -fpermissive"
CXXFLAGS=${CXXFLAGS}" -fpermissive"
msg "Starting cmake..."
cmake ${srcdir}/${_svnmod} \
-DCMAKE_INSTALL_PREFIX=${trinity_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
}

@ -0,0 +1,46 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-style-lipstik
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-extras')
pkgdesc="Trinity - Lipstik sytle"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kde-style-lipstik-3.5.13.tar.gz)
md5sums=('1585d4df7f0c68499fafa0b8ecb82dab')
_svnmod=applications/kde-style-lipstik
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,54 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-rosegarden
pkgver=3513
pkgrel=170
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-extras')
pkgdesc="Trinity - Rosegarden, A MIDI and audio sequencer and musical notation editor."
depends=('trinity-kdelibs' 'dssi' 'jack' 'liblo' 'liblrdf' 'fftw')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/rosegarden-3.5.13.tar.gz)
md5sums=('8906d1797bae89920d9a9ab54c09b49d')
_svnmod=applications/rosegarden
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 \
-DQT_MOC_EXECUTABLE=/opt/trinity/bin/tmoc \
-DWANT_DEBUG=OFF \
-DWANT_FULLDBG=OFF \
-DWANT_SOUND=ON \
-DWANT_JACK=ON \
-DWANT_DSSI=ON \
-DWANT_LIRC=ON \
-DWANT_PCH=OFF \
-DBUILD_ALL=ON
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
}

@ -0,0 +1,46 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-wlassistant
pkgver=3513
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-extras')
pkgdesc="Trinity - wlassistant"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/wlassistant-3.5.13.tar.gz)
md5sums=('1fd3680a634fedee3c2d90b81c1ffe23')
_svnmod=applications/wlassistant
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
}
Loading…
Cancel
Save