Timothy Pearson 13 years ago
commit cd20bd0bb5

@ -11,7 +11,7 @@ pkgdesc="Trinity Amarok music player and manager"
depends=('trinity-kdebase' 'libifp' 'libmtp' 'libnjb' 'python-daap' 'ruby')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/amarok-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/amarok-3.5.13.tar.gz)
md5sums=('7145ebee38f104bef6cfaf56e7f81959')
_svnmod=applications/amarok

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/digikam-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/digikam-3.5.13.tar.gz)
md5sums=('81cfcd75dc9c067ba6761aa1147c31e7')
_builddir=applications/digikam

@ -12,7 +12,7 @@ pkgdesc="Trinity Do3phin file manager"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/dolphin-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/dolphin-3.5.13.tar.gz)
md5sums=('67040323c527d83978f58c76b47a91f6')
_svnmod=applications/dolphin

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/filelight-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/filelight-3.5.13.tar.gz)
md5sums=('b53cb6b46942e56aa247100cdb84d85f')
_builddir=applications/filelight

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/gwenview-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/gwenview-3.5.13.tar.gz)
md5sums=('3ff9b8c4049dc40f26f89b4be3c21b96')
_builddir=applications/gwenview

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/k3b-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/k3b-3.5.13.tar.gz)
md5sums=('f022338d361632223106ba444fe1e60e')
_builddir=applications/k3b

@ -11,7 +11,7 @@ pkgdesc="Trinity Kbfx KMenu replacement"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kbfx-3.5.13.tar.gz' 'kbfx.patch')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/kbfx-3.5.13.tar.gz' 'kbfx.patch')
md5sums=('04921c66fe2dc26d6eab7143e5950446'
'510638db000827e86f9d542662199064')

@ -11,7 +11,7 @@ pkgdesc="Trinity SVN frontend gui"
depends=('trinity-kdebase' 'sqlite3' 'subversion')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kdesvn-3.5.13.tar.gz' 'kdesvn.patch')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/kdesvn-3.5.13.tar.gz' 'kdesvn.patch')
md5sums=('f65e86f0d2f7882b4f958f2e89fe0d34'
'9def57c42b258c4caf2b5709eb25ba25')

@ -11,7 +11,7 @@ pkgdesc="Trinity Konversation IRC client"
depends=('trinity-kdelibs')
makedepends=('pkgconfig' 'autoconf' 'automake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/konversation-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/konversation-3.5.13.tar.gz)
md5sums=('0f0e0415dad4c19bc885c9addadf4026')
_builddir=applications/konversation

@ -13,7 +13,7 @@ depends=('xscreensaver'
'trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'autoconf' 'imake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kpowersave-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/kpowersave-3.5.13.tar.gz)
md5sums=('c887eb282fd035655b370f133ce58664')
_svnmod=applications/kpowersave

@ -11,7 +11,7 @@ pkgdesc="Trinity - pkgdesc"
depends=('trinity-kdelibs')
makedepends=('pkgconfig' 'autoconf' 'automake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/ktorrent-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/applications/ktorrent-3.5.13.tar.gz)
md5sums=('3bf211ec2a41f92d935e12ee8753fa06')
_builddir=applications/ktorrent

@ -11,7 +11,7 @@ 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.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/gtk-qt-engine-3.5.13.tar.gz)
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

@ -11,7 +11,7 @@ pkgdesc="Trinity - Lipstik style"
depends=('trinity-kdelibs' 'trinity-kdebase')
makedepends=('pkgconfig' 'autoconf' 'automake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/kde-style-lipstik-3.5.13.tar.gz)
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

@ -11,7 +11,7 @@ pkgdesc="Trinity - QtCurve style"
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-qtcurve-3.5.13.tar.gz')
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')

@ -1,5 +1,7 @@
# Maintainer: Calvin Morisson <mutantturkey@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Link Dupont <link@subpop.net>
# Contributor: Pawel "l0ner" Soltys <sh4dou@gmail.com>
pkgname=hal
pkgver=0.5.14
@ -29,7 +31,7 @@ source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
# patches/hal-ignore-internal-dm-devices.patch
md5sums=('e9163df591a6f38f59fdbfe33e73bf20'
'277e96ac130d7bfce0b30f0b80db8782'
'4cdfc673ad65ddb51919f5a757f62145'
'185dd5d6ffc703ec8395b4eb3a1ae498')
# '4d4b6801a1cedca22b8bdd9db73b16fb'
# '6d87c3e63184ae3a69caafc846f538a3'
@ -46,7 +48,7 @@ md5sums=('e9163df591a6f38f59fdbfe33e73bf20'
build() {
cd $srcdir
patch -Np1 -d ${srcdir} < videodev.patch
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}/hal-remove-dell-killswitch.patch"

@ -14,12 +14,10 @@ depends=('audiofile'
'libvorbis'
'trinity-tqtinterface')
makedepends=('pkgconfig' 'cmake')
provides=('trinity-arts')
conflicts=('trinity-arts')
replaces=('trinity-arts')
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/arts-3.5.13.tar.gz)
source=(http://anduin.linuxformscratch.org/sources/trinity/arts-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/arts-3.5.13.tar.gz)
md5sums=('109124dabb1aaa9d44eb32e43b549142')
# set Qt location (not needed if profile.d/q3.sh present, set prefix (not used)

@ -2,13 +2,13 @@
pkgname=trinity-dbus-1-qt3
pkgver=0.9
pkgrel=8
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=('dbus' 'trinity-qt3' 'networkmanager')
depends=('trinity-qt3')
provides=('trinity-dbus-1-qt3' 'dbus-1-qt3')
conflicts=('dbus-1-qt3')
replaces=('dbus-1-qt3')
@ -22,11 +22,11 @@ build() {
. /etc/profile.d/qt3.sh
msg "Starting configure..."
./configure --prefix=$QTDIR
msg "Building #{pkgname}..."
msg "Building ${pkgname}..."
make || return 1
# Libtool slay
# find $startdir/pkg -name *.la -exec rm {} \;
# find $pkgdir -name *.la -exec rm {} \;
}
package() {

@ -12,8 +12,7 @@ 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)
source=(http://anduin.linuxfromscratch.org/sources/trinity/dbus-1-tqt-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/dbus-1-tqt-3.5.13.tar.gz)
md5sums=('a7ba1071f4bf7b5930f805b4036f8a97')
_svnmod=dependencies/dbus-1-tqt

@ -1,4 +1,4 @@
# Maintainer Calvin Morrison <mutantturkey@gmail.com>
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
pkgname=trinity-dbus-tqt
pkgver=3513
@ -10,12 +10,10 @@ groups=('trinity-base')
pkgdesc="Trinity TQt DBus wrapper"
depends=('trinity-tqtinterface')
makedepends=('pkgconfig' 'cmake')
provides=('trinity-dbus-tqt')
conflicts=('trinity-dbus-tqt')
replaces=('trinity-dbus-tqt')
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/dbus-tqt-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/dbus-tqt-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/dbus-tqt-3.5.13.tar.gz)
md5sums=('46ae165c068271485c827f6fc6687a9a')
_svnmod=dependencies/dbus-tqt

@ -32,8 +32,7 @@ optdepends=('desktop-file-utils: Command line utilities for working with desktop
'pciutils: PCI bus configuration space access library and tools'
'xscreensaver: Screen saver and locker for the X Window System')
options=('libtool' '!strip')
#source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdebase-3.5.13.tar.gz' 'dbusfix.diff' 'kdm-trinity')
source=('http://anduin.linuxfromscratch.org/sources/trinity/kdebase-3.5.13.tar.gz' 'dbusfix.diff' 'kdm-trinity')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdebase-3.5.13.tar.gz' 'dbusfix.diff' 'kdm-trinity')
md5sums=('d1f7e1f94eeb46b981fe1ba144179840'
'c9ce810c281002440a6de8cfd8735d07'
'376d85d213cf3c04cb0912e5cccd68bd')
@ -110,16 +109,9 @@ package() {
# cd ${srcdir}/${_svnmod}
cd ${srcdir}/build
make DESTDIR="$pkgdir/" install
make DESTDIR="$pkgdir" install
cd ${startdir}
# install desktop and update kdmrc and Xsession
# [[ -f trinity.desktop ]] && {
# install -d -m755 ${pkgdir}/etc/X11/sessions
# install -m644 trinity.desktop ${pkgdir}/etc/X11/sessions
# }
_tdesktop
# install desktop
[[ -f ${pkgdir}/etc/X11/sessions/trinity.desktop ]] || msg "ERROR - Install Failure: ${pkgdir}/etc/X11/sessions/trinity.desktop"
# set kdm directory
@ -137,7 +129,7 @@ package() {
cd ${pkgdir}/usr/bin
ln -sf /opt/trinity/bin/startkde starttrinity
cd ${startdir}
install -D -m755 ./kdm-trinity "${pkgdir}"/etc/rc.d/kdm-trinity
cd ${srcdir}
install -D -m755 kdm-trinity "${pkgdir}"/etc/rc.d/kdm-trinity
}

@ -1,23 +1,24 @@
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>
# Contributor: Pawel 'l0ner' Soltys <pwslts@gmail.com>
pkgname=trinity-kdelibs
pkgver=3513
pkgrel=2
pkgrel=4
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity-base')
pkgdesc="Trinity DE core libraries"
depends=('trinity-arts' 'trinity-qt3' 'trinity-tqtinterface' 'libical' 'libxslt' 'libltdl' 'avahi' 'pam-krb5' 'taglib' 'libxcomposite')
makedepends=('pkgconfig' 'cmake' 'autoconf' )
depends=('trinity-arts' 'trinity-qt3' 'trinity-tqtinterface' 'libical' 'libxslt' 'libltdl' 'avahi' 'pam-krb5' 'taglib' 'libxcomposite' 'libcups' 'alsa-lib' 'libart-lgpl' 'libidn' 'openssl' 'libtiff' 'jasper' 'openexr' 'aspell' 'hspell')
makedepends=('pkgconfig' 'cmake')
provides=('trinity-kdelibs' 'kdelibs3')
conflicts=('trinity-kdelibs' 'kdelibs3')
replaces=('trinity-kdelibs')
options=('libtool' '!strip' '!makeflags')
#source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdelibs-3.5.13.tar.gz' 'trinity.sh')
source=('http://anduin.linuxfromscratch.org/sources/trinity/kdelibs-3.5.13.tar.gz' 'trinity.sh')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdelibs-3.5.13.tar.gz' 'trinity.sh' 'docpath.patch')
md5sums=('f62eefb63b4ba2141b4c576f859806dd'
'2de1886d632c8bc288befada5e1bc3b5')
'2de1886d632c8bc288befada5e1bc3b5'
'd20badec5a1a7f01f0c957db8b9b8def')
_builddir=build
_prefix="/opt/trinity"
@ -35,6 +36,9 @@ build() {
export CMAKE_INCLUDE_PATH=${QTDIR}/include/tqt:/usr/include/dbus-1.0:${_prefix}/bin
export LD_LIBRARY_PATH=${_prefix}/lib:${QTDIR}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
msg "Patching..."
patch -N -d ${srcdir} -p0 < ${srcdir}/docpath.patch
cd $srcdir
msg "Creating out-of-source build directory: ${srcdir}/${_builddir}"
mkdir -p ${_builddir}
@ -44,12 +48,28 @@ build() {
cmake ${srcdir}/kdelibs \
-DCMAKE_INSTALL_PREFIX=${_prefix} \
-DCMAKE_VERBOSE_MAKEFILE=OFF \
-DQT_VERSION=3 \
-DWITH_QT3=ON \
-DQTDIR=${QTDIR} \
-DQT_LIBRARY_DIRS=${QTDIR}/lib \
-DWITH_PAM=ON \
-DBUILD_ALL=ON
-DWITH_ARTS=ON \
-DWITH_ALSA=ON \
-DWITH_LIBART=ON \
-DWITH_LIBIDN=ON \
-DWITH_SSL=ON \
-DWITH_CUPS=ON \
-DWITH_LUA=OFF \
-DWITH_TIFF=ON \
-DWITH_JASPER=ON \
-DWITH_OPENEXR=ON \
-DWITH_UTEMPTER=OFF \
-DWITH_AVAHI=ON \
-DWITH_ASPELL=ON \
-DWITH_HSPELL=ON
# Not needed, CMake returns that those were not used
# -DQT_VERSION=3 \
# -DWITH_QT3=ON \
# -DQTDIR=${QTDIR} \
# -DQT_LIBRARY_DIRS=${QTDIR}/lib \
# -DWITH_PAM=ON \
# -DBUILD_ALL=ON
msg "Building - $pkgname..."
make
@ -65,7 +85,7 @@ package() {
echo "${_prefix}/lib" > ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
install -d -m755 ${pkgdir}/etc/profile.d/
install -m644 ${startdir}/trinity.sh ${pkgdir}/etc/profile.d/
install -m644 ${srcdir}/trinity.sh ${pkgdir}/etc/profile.d/
# rm -r ${srcdir}/${_svnmod}
}

@ -0,0 +1,36 @@
diff -r -u kdelibs/admin/debianrules src/kdelibs/admin/debianrules
--- kdelibs/admin/debianrules 2011-08-21 06:15:36.000000000 +0200
+++ src/kdelibs/admin/debianrules 2012-01-04 15:28:20.000000000 +0100
@@ -16,7 +16,7 @@
$kde_cgidir = "$kde_prefix/lib/cgi-bin";
$kde_confdir = "$sysconfdir/trinity";
-$kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
+$kde_htmldir = "$kde_prefix/share/doc/HTML";
if (defined $ENV{DEB_BUILD_OPTIONS} &&
$ENV{DEB_BUILD_OPTIONS} =~ /\bnostrip\b/) {
diff -r -u kdelibs/cmake/modules/TDESetupPaths.cmake src/kdelibs/cmake/modules/TDESetupPaths.cmake
--- kdelibs/cmake/modules/TDESetupPaths.cmake 2011-08-21 06:15:37.000000000 +0200
+++ src/kdelibs/cmake/modules/TDESetupPaths.cmake 2012-01-04 15:28:49.000000000 +0100
@@ -41,7 +41,7 @@
_tde_internal_setup_path( PLUGIN_INSTALL_DIR "${LIB_INSTALL_DIR}/trinity" "The subdirectory relative to the install prefix where plugins will be installed (default is ${LIB_INSTALL_DIR}/trinity)" )
_tde_internal_setup_path( CONFIG_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/config" "The config file install dir" )
_tde_internal_setup_path( DATA_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/apps" "The parent directory where applications can install their data" )
- _tde_internal_setup_path( HTML_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/doc/kde/HTML" "The HTML install dir for documentation" )
+ _tde_internal_setup_path( HTML_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/doc/HTML" "The HTML install dir for documentation" )
_tde_internal_setup_path( ICON_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/icons" "The icon install dir (default ${SHARE_INSTALL_PREFIX}/share/icons/)" )
_tde_internal_setup_path( KCFG_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/config.kcfg" "The install dir for kconfig files" )
_tde_internal_setup_path( LOCALE_INSTALL_DIR "${SHARE_INSTALL_PREFIX}/locale" "The install dir for translations" )
diff -r -u kdelibs/kdecore/kstandarddirs.cpp src/kdelibs/kdecore/kstandarddirs.cpp
--- kdelibs/kdecore/kstandarddirs.cpp 2011-08-21 06:15:32.000000000 +0200
+++ src/kdelibs/kdecore/kstandarddirs.cpp 2012-01-04 15:30:24.000000000 +0100
@@ -1030,7 +1030,7 @@
if (!strcmp(type, "html-bundle"))
return "share/doc-bundle/HTML/";
if (!strcmp(type, "html"))
- return "share/doc/kde/HTML/";
+ return "share/doc/HTML/";
if (!strcmp(type, "icon"))
return "share/icons/";
if (!strcmp(type, "config"))

@ -2,21 +2,19 @@
pkgname=trinity-qt3
pkgver=3884
pkgrel=2
pkgrel=3
arch=('i686' 'x86_64')
url="http://trinitydesktop.org"
license=('GPL')
groups=('trinity-base')
pkgdesc="The Qt3 gui toolkit - with Trinity upstream"
depends=('libjpeg-turbo' 'libmng' 'libmysqlclient' 'libpng' 'libxmu' 'libxcursor' 'libxinerama' 'libxft' 'libxrandr' 'mesa' 'postgresql-libs' 'unixodbc')
depends=('libjpeg-turbo' 'libmng' 'libmysqlclient' 'libpng' 'libxmu' 'libxcursor' 'libxinerama' 'libxft' 'libxrandr' 'mesa' 'postgresql-libs')
makedepends=('cups' 'libxi' 'mysql' 'postgresql' 'unixodbc' 'sqlite3')
# optdepends=('libmysqlclient' 'postgresql-libs' 'unixodbc')
provides=('trinity-qt3' 'qt3')
conflicts=('qt3' 'qt3-enhanced')
replaces=('trinity-qt3')
options=(!libtool)
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/qt3-3.3.8.d.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/qt3-3.3.8.d.tar.gz)
md5sums=('78dc675e84aed595375449818cbb589a')
_prefix="/opt/qt"
@ -39,16 +37,17 @@ build() {
rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
# auto license acceptance
sed -i "s|read acceptance|acceptance=yes|" configure
msg "Starting configure..."
#make -C qmake || return 1
./configure \
-prefix ${_prefix} \
-fast \
-sysconfdir /etc/qt \
-thread \
-shared \
-system-zlib \
-platform linux-g++$ARCH \
-system-lib{png,jpeg,mng} \
-qt-gif \
-cups

@ -14,8 +14,7 @@ makedepends=('pkgconfig' 'cmake' 'libxi' 'libxft' 'libxrandr' 'libxcursor' 'libx
provides=($pkgname)
#conflicts=()
#replaces=()
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/dependencies/tqtinterface-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/tqtinterface-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/dependencies/tqtinterface-3.5.13.tar.gz)
md5sums=('d54cc9fd0b35555298efd17c32471a2b')
_prefix=/usr

@ -3,8 +3,9 @@
pkgname=('trinity-i18n-af' 'trinity-i18n-ar' 'trinity-i18n-az'
'trinity-i18n-be' 'trinity-i18n-bg' 'trinity-i18n-bn'
'trinity-i18n-br' 'trinity-i18n-bs'
'trinity-i18n-cs' 'trinity-i18n-csb' 'trinity-i18n-cy'
'trinity-i18n-da' 'trinity-i18n-de' 'trinity-i18n-el'
'trinity-i18n-csb' 'trinity-i18n-cy'
'trinity-i18n-ca' 'trinity-i18n-cs' 'trinity-i18n-da'
'trinity-i18n-de' 'trinity-i18n-el'
'trinity-i18n-en_gb' 'trinity-i18n-eo' 'trinity-i18n-es'
'trinity-i18n-et' 'trinity-i18n-eu' 'trinity-i18n-fa'
'trinity-i18n-fi' 'trinity-i18n-fr' 'trinity-i18n-fy'
@ -24,7 +25,7 @@ pkgname=('trinity-i18n-af' 'trinity-i18n-ar' 'trinity-i18n-az'
'trinity-i18n-tr' 'trinity-i18n-uk' 'trinity-i18n-uz'
'trinity-i18n-uz-cyrillic' 'trinity-i18n-vi' 'trinity-i18n-wa' '
trinity-i18n-zh_cn' 'trinity-i18n-zh_tw')
#'trinity-i18n-ca'
pkgver=3513
pkgrel=1
@ -36,7 +37,7 @@ pkgdesc="Trinity Localizations collection"
depends=('trinity-kdelibs' 'trinity-kdebase')
makedepends=('pkgconfig' 'autoconf' 'automake')
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kde-i18n-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kde-i18n-3.5.13.tar.gz)
md5sums=('7c919c7cb85f454fed46767082a87773')
_builddir=kde-i18n
@ -50,23 +51,25 @@ build() {
cd $srcdir/kde-i18n
rm HOW.TO.BUILD TRINITY.RELEASE
for filename in *; do
msg "Extracting $filename..."
tar xfj $filename
dir=`echo "$filename" | cut -d'.' -f1-3`
cd $dir
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 $dir configure..."
msg "Starting trinity-${_newname} configure..."
./configure --prefix=${_prefix} > /dev/null
msg "Building $dir..."
msg "Building trinity-${_newname}..."
make > /dev/null
cd ..
newname=`echo "$dir" | cut -d'-' -f2-4`
mv $dir trinity-${newname}
done
}
@ -77,6 +80,7 @@ pkgdesc="Trinity Afrikaans localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-ar() {
groups=('trinity-i18n')
pkgdesc="Trinity Arabic localization"
@ -84,6 +88,7 @@ pkgdesc="Trinity Arabic localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-az() {
groups=('trinity-i18n')
pkgdesc="Trinity Azerbaijani localization"
@ -91,6 +96,7 @@ pkgdesc="Trinity Azerbaijani localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-be() {
groups=('trinity-i18n')
pkgdesc="Trinity Belgian localization"
@ -98,6 +104,7 @@ pkgdesc="Trinity Belgian localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-bg() {
groups=('trinity-i18n')
pkgdesc="Trinity Bulgarian localization"
@ -105,6 +112,7 @@ pkgdesc="Trinity Bulgarian localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-bn() {
groups=('trinity-i18n')
pkgdesc="Trinity Brumei localization"
@ -112,6 +120,7 @@ pkgdesc="Trinity Brumei localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-br() {
groups=('trinity-i18n')
pkgdesc="Trinity Breton localization"
@ -119,6 +128,7 @@ pkgdesc="Trinity Breton localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-bs() {
groups=('trinity-i18n')
pkgdesc="Trinity Bosnian localization"
@ -126,13 +136,15 @@ pkgdesc="Trinity Bosnian localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
#package_trinity-i18n-ca() {
#groups=('trinity-i18n')
#pkgdesc="Trinity Catalan localization"
# msg "Packaging - $pkgname-$pkgver"
# cd ${srcdir}/kde-i18n/$pkgname-3.5.10
# make DESTDIR="${pkgdir}" install
#}
package_trinity-i18n-ca() {
groups=('trinity-i18n')
pkgdesc="Trinity Catalan localization"
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-cs() {
groups=('trinity-i18n')
pkgdesc="Trinity Czech localization"
@ -140,6 +152,7 @@ pkgdesc="Trinity Czech localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-csb() {
groups=('trinity-i18n')
pkgdesc="Trinity Kashubian localization"
@ -147,6 +160,7 @@ pkgdesc="Trinity Kashubian localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-cy() {
groups=('trinity-i18n')
pkgdesc="Trinity Cyprus localization"
@ -154,6 +168,7 @@ pkgdesc="Trinity Cyprus localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-da() {
groups=('trinity-i18n')
pkgdesc="Trinity Danish localization"
@ -161,6 +176,7 @@ pkgdesc="Trinity Danish localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-de() {
groups=('trinity-i18n')
pkgdesc="Trinity German localization"
@ -168,6 +184,7 @@ pkgdesc="Trinity German localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-el() {
groups=('trinity-i18n')
pkgdesc="Trinity Greek localization"
@ -175,6 +192,7 @@ pkgdesc="Trinity Greek localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-en_gb() {
groups=('trinity-i18n')
pkgdesc="Trinity British English localization"
@ -182,6 +200,7 @@ pkgdesc="Trinity British English localization"
cd ${srcdir}/kde-i18n/trinity-i18n-en_GB-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-eo() {
groups=('trinity-i18n')
pkgdesc="Trinity Esperanto localization"
@ -189,6 +208,7 @@ pkgdesc="Trinity Esperanto localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-es() {
groups=('trinity-i18n')
pkgdesc="Trinity Spanish localization"
@ -196,6 +216,7 @@ pkgdesc="Trinity Spanish localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-et() {
groups=('trinity-i18n')
pkgdesc="Trinity Estonian localization"
@ -203,6 +224,7 @@ pkgdesc="Trinity Estonian localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-eu() {
groups=('trinity-i18n')
pkgdesc="Trinity Basque localization"
@ -210,6 +232,7 @@ pkgdesc="Trinity Basque localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-fa() {
groups=('trinity-i18n')
pkgdesc="Trinity Farsi localization"
@ -217,6 +240,7 @@ pkgdesc="Trinity Farsi localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-fi() {
groups=('trinity-i18n')
pkgdesc="Trinity Finnish localization"
@ -224,6 +248,7 @@ pkgdesc="Trinity Finnish localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-fr() {
groups=('trinity-i18n')
pkgdesc="Trinity French localization"
@ -231,6 +256,7 @@ pkgdesc="Trinity French localization"
cd ${srcdir}/kde-i18n/$pkgname-3.5.10
make DESTDIR="${pkgdir}" install
}
package_trinity-i18n-fy() {
groups=('trinity-i18n')
pkgdesc="Trinity Frisian localization"

@ -15,7 +15,7 @@ provides=()
conflicts=()
replaces=()
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdeaccessibility-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeaccessibility-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdeaccessibility-3.5.13.tar.gz)
md5sums=('ce31b01c1831046fb28aab172f2423bf')

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdeaddons-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeaddons-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdeaddons-3.5.13.tar.gz)
md5sums=('f5fa96a5d99d1bc33600f609881eaee6')

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdeadmin-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeadmin-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdeadmin-3.5.13.tar.gz)
md5sums=('b8bbabf353070a3e730464e0ce2960e2')

@ -12,7 +12,7 @@ pkgdesc="Trinity artwork collection"
depends=('trinity-kdebase' 'trinity-arts' 'xscreensaver' 'libart-lgpl' 'glproto')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdeartwork-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeartwork-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdeartwork-3.5.13.tar.gz)
md5sums=('24f85eb3e5a9106de48a3e81d2575ffe')

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdeedu-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeedu-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdeedu-3.5.13.tar.gz)
md5sums=('37a14a67c4d00babc3015c6a31698cb0')

@ -10,12 +10,8 @@ groups=('trinity-extras')
pkgdesc="Trinity games collection"
depends=('trinity-kdelibs')
makedepends=('pkgconfig' 'autoconf' 'automake')
optdepends=()
provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdegames-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdegames-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdegames-3.5.13.tar.gz)
md5sums=('6c63e161050939f53921bfceb923a19e')

@ -16,7 +16,7 @@ provides=('trinity-kdegraphics')
conflicts=('trinity-kdegraphics')
replaces=('trinity-kdegraphics')
options=('libtool' '!strip')
#source=('GSmartPointer.h.patch' 'http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdegraphics-3.5.13.tar.gz')
source=('GSmartPointer.h.patch' 'http://mirror.ets.kth.se/trinity/releases/3.5.13/kdegraphics-3.5.13.tar.gz')
source=('GSmartPointer.h.patch' 'http://anduin.linuxfromscratch.org/sources/trinity/kdegraphics-3.5.13.tar.gz')
md5sums=('7b93c9bdf1208df453c9838519fab109' 'a75c254cd1060343cd04c6744bce6798')

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdemultimedia-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdemultimedia-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdemultimedia-3.5.13.tar.gz)
md5sums=('6d906b8a8fd0928e01ecd600175381c0')

@ -20,7 +20,7 @@ depends=('trinity-kdebase'
'v4l-utils')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
#source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdenetwork-3.5.13.tar.gz' 'kdenetwork.patch')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdenetwork-3.5.13.tar.gz' 'kdenetwork.patch')
source=('http://anduin.linuxfromscratch.org/sources/trinity/kdenetwork-3.5.13.tar.gz' 'kdenetwork.patch')
md5sums=('349f197c9af4bf0d9b8773f26829415e'
'8abe1847df7b7449027719238a27e359')

@ -22,7 +22,7 @@ provides=('trinity-kdepim')
conflicts=('trinity-kdepim')
replaces=('trinity-kdepim')
options=('libtool' '!strip')
#source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdepim-3.5.13.tar.gz')
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')

@ -11,7 +11,7 @@ pkgdesc="Trinity Software Developement Kit"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
#source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdesdk-3.5.13.tar.gz' 'kdesdk.patch')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdesdk-3.5.13.tar.gz' 'kdesdk.patch')
source=('http://anduin.linuxfromscratch.org/sources/trinity/kdesdk-3.5.13.tar.gz' 'kdesdk.patch')
md5sums=('130662f683be1a49d56a713c5ae87e46'
'a1d0b533ae427847bd84e601c587f882')

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdetoys-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdetoys-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdetoys-3.5.13.tar.gz)
md5sums=('823dd778c1e9e15972a509f4eee4434d')

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdeutils-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeutils-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdeutils-3.5.13.tar.gz)
md5sums=('e2cd6695606c5c91b3380dcc7f1a6a83')

@ -12,7 +12,7 @@ depends=('trinity-kdebase')
# 'xorg'
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
#source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdevelop-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdevelop-3.5.13.tar.gz)
source=(http://anduin.linuxfromscratch.org/sources/trinity/kdevelop-3.5.13.tar.gz)
md5sums=('777bd77e4f2dc6a5b5b45a370dcf6da0')
_svnmod=kdevelop

@ -11,7 +11,7 @@ pkgdesc="Trinity Web development tools"
depends=('trinity-kdebase')
makedepends=('pkgconfig' 'cmake' 'imake')
options=('libtool' '!strip')
#source=('http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/kdewebdev-3.5.13.tar.gz' 'kdewebdev.patch')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdewebdev-3.5.13.tar.gz' 'kdewebdev.patch')
source=('http://anduin.linuxfromscratch.org/sources/trinity/kdewebdev-3.5.13.tar.gz' 'kdewebdev.patch')
md5sums=('4f56a6c4b5916615ca3615f8e8f868c6'
'5ef6636db45e35d6dcda35332bdca931')

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/libraries/libkdcraw-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/libraries/libkdcraw-3.5.13.tar.gz)
md5sums=('770dd734dc427337a1a2e61b6b0874ae')
_builddir=libraries/libkdcraw

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/libraries/libkexiv2-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/libraries/libkexiv2-3.5.13.tar.gz)
md5sums=('74b160da8ea95f25048757b5fe692f85')
_builddir=libraries/libkexiv2

@ -15,7 +15,7 @@ provides=($pkgname)
conflicts=()
replaces=()
options=('libtool' '!strip')
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/libraries/libkipi-3.5.13.tar.gz)
source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/libraries/libkipi-3.5.13.tar.gz)
md5sums=('22cb0ba7507cac99140cd1c0180cbe99')
_builddir=libraries/libkipi

@ -0,0 +1,14 @@
--- ksensors-0.7.3/src/lmsensor.cpp.ORI 2011-12-22 06:57:39.285341486 -0500
+++ ksensors-0.7.3/src/lmsensor.cpp 2011-12-22 06:58:33.596092430 -0500
@@ -43,7 +43,11 @@
char *label = NULL;
QString uniqueSensorName;
+#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */
+ uniqueSensorName.sprintf("%s_%d_%d.%s", chip_name->prefix, chip_name->bus, chip_name->addr, main_name);
+#else
uniqueSensorName.sprintf("%s_%d_%d.%s", chip_name->prefix, chip_name->bus.nr, chip_name->addr, main_name);
+#endif
setName(uniqueSensorName.latin1());
#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */

@ -0,0 +1,61 @@
--- ksensors-0.7.3.orig/src/lmsensor.cpp 2008-11-16 20:38:33.000000000 +0100
+++ ksensors-0.7.3/src/lmsensor.cpp 2008-11-16 20:27:16.000000000 +0100
@@ -40,9 +40,12 @@ bool LMSensor::init(const sensors_featur
const sensors_chip_name *chip_name= getChipName();
const char* main_name = (*data)->name;
feature= (*data)->number;
- char *label;
- QString str;
+ char *label = NULL;
+ QString uniqueSensorName;
+ uniqueSensorName.sprintf("%s_%d_%d.%s", chip_name->prefix, chip_name->bus.nr, chip_name->addr, main_name);
+ setName(uniqueSensorName.latin1());
+
#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */
bool min_found=false;
bool max_found=false;
@@ -98,12 +101,18 @@ bool LMSensor::init(const sensors_featur
min= -16;
}
- str.sprintf("%s.%s", chip_name->prefix, main_name);
- setName( str.latin1() );
-
sensors_get_label(*chip_name,feature,&label);
- setDescription(QString(label));
-
+ if (label)
+ {
+ setDescription(QString(label));
+ delete label;
+ label = NULL;
+ }
+ else
+ {
+ setDescription(uniqueSensorName.latin1());
+ }
+
if(min_found)
min = valMin;
@@ -189,14 +198,15 @@ bool LMSensor::init(const sensors_featur
return false;
}
- str.sprintf("%s.%s", chip_name->prefix, main_name);
- setName( str.latin1() );
-
label = sensors_get_label(chip_name, feature_data);
if (label)
- setDescription(QString(label));
+ {
+ setDescription(QString(label));
+ delete label;
+ label = NULL;
+ }
else
- setDescription( str.latin1() );
+ setDescription( uniqueSensorName.latin1() );
#endif /* libsensors3 / libsensors4 code */

@ -6,22 +6,29 @@
Name: trinity-ksensors
Version: 0.7.3
Release: 19p1%{?dist}
Release: 19p2%{?dist}
Summary: KDE frontend to lm_sensors
Group: Applications/System
License: GPLv2+
URL: http://ksensors.sourceforge.net/
Source0: http://downloads.sourceforge.net/ksensors/ksensors-%{version}.tar.gz
Patch1: ksensors-desktop.patch
Patch2: http://ftp.debian.org/debian/pool/main/k/ksensors/ksensors_0.7.3-15.diff.gz
Patch3: ksensors-0.7.3-po.patch
Patch4: ksensors-0.7.3-fix-min-max.patch
Patch5: ksensors-0.7.3-lm_sensors-3.x.patch
# Debian (upstream) patch
Patch2: http://ftp.debian.org/debian/pool/main/k/ksensors/ksensors_0.7.3-18.diff.gz
# Fix building on TDE
Patch6: ksensors-0.7.3-trinity.patch
# Fix 'lmsensor.cpp' for older lm_sensors API (< 3.x)
Patch7: ksensors-0.7.3-18-lmsensors_2x_fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: trinity-kdelibs-devel
BuildRequires: lm_sensors-devel gettext desktop-file-utils
Requires: hicolor-icon-theme
# Keep archs in sync with lm_sensors
ExcludeArch: s390 s390x
@ -33,42 +40,39 @@ temperatures with KSensors.
%prep
%setup -q -n ksensors-%{version}
%patch1 -p1 -z .desktop
%patch2 -p1
%patch3 -p1 -z .po
%patch4 -p1 -z .minmax
%patch5 -p1 -z .lm_sensors3x
%patch6 -p1
sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.*
%patch7 -p1
%__sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.*
for f in ChangeLog LIESMICH LISEZMOI ; do
iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
done
%build
unset QTDIR ; . %{_sysconfdir}/profile.d/qt.sh
unset QTDIR ; . /etc/profile.d/qt.sh
%configure \
--disable-dependency-tracking \
--disable-rpath \
--with-extra-includes=%{_includedir}/tqt
make %{?_smp_mflags}
%__make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --vendor fedora --mode 644 --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/ksensors.desktop
install -dm 755 $RPM_BUILD_ROOT%{_datadir}/autostart
ln -s ../applications/fedora-ksensors.desktop \
%__install -dm 755 $RPM_BUILD_ROOT%{_datadir}/autostart
%__ln_s ../applications/fedora-ksensors.desktop \
$RPM_BUILD_ROOT%{_datadir}/autostart
rm -rf $RPM_BUILD_ROOT%{_docdir}/HTML
%__rm -rf $RPM_BUILD_ROOT%{_docdir}/HTML
%find_lang ksensors
%clean
rm -rf $RPM_BUILD_ROOT
%__rm -rf $RPM_BUILD_ROOT
%post
@ -100,6 +104,9 @@ done
%changelog
* Thu Dec 22 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-19p2
- Update Debian patch to -18 release
* Mon Nov 07 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-19p1
- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13

@ -51,7 +51,7 @@ if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon
fi
# make liveuser use KDE
# make liveuser use TDE
echo "/opt/trinity/bin/startkde" > /home/liveuser/.xsession
chmod a+x /home/liveuser/.xsession
chown liveuser:liveuser /home/liveuser/.xsession
@ -95,19 +95,9 @@ sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink
EOF
### TDE LIVECD specific features ###
# Sets 'nm-applet' to run automatically
mkdir -p /home/liveuser/.trinity/Autostart
cat <<EOF >/home/liveuser/.trinity/Autostart/nm-applet
#!/bin/sh
# Waits until kicker is started, so that
# nm-applet can dock correctly.
while ! pidof kicker; do
sleep 1
done
sleep 3
/usr/bin/nm-applet
EOF
chmod +x /home/liveuser/.trinity/Autostart/nm-applet
ln -sf /usr/share/applications/nm-applet.desktop /opt/trinity/share/autostart/nm-applet.desktop
%end

@ -10,10 +10,6 @@
%include fedora-live-tde-base.ks
%include fedora-live-minimization.ks
# 3rd party for VLC
#repo --name=atrpms --baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
%packages
# Additional packages that are not default in trinity-desktop but useful
trinity-desktop-extras
@ -21,33 +17,36 @@ trinity-live-openbox
# Some TDE applications
trinity-amarok
#trinity-digikam
trinity-digikam
trinity-dolphin
trinity-gtk-qt-engine
trinity-gwenview
trinity-k3b
trinity-kaffeine
trinity-kasablanca
trinity-kbookreader
trinity-kde-style-lipstik
trinity-kgtk-qt3
trinity-kio-umountwrapper
trinity-kwin-style-crystal
#trinity-knetworkmanager
trinity-konversation
trinity-kpowersave
trinity-ksensors
trinity-kstreamripper
trinity-smb4k
trinity-yakuake
# Some TDE translations
trinity-kde-i18n-French
#trinity-kde-i18n-German
trinity-kde-i18n-Spanish
#trinity-kde-i18n-Spanish
trinity-kde-i18n-Chinese-Big5
# 3rd party stuff
#vlc
# Fedora stuff
fuse
liveusb-creator
#wlassistant
#wicd
#wicd-gtk
### more desktop stuff

@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 1
%define release 2
%define _datadir %{_usr}/share
@ -67,8 +67,7 @@ EOF
%__install -m 644 %{SOURCE1} %{?buildroot}%{_datadir}/spin-kickstarts
# Openbox
%__mkdir_p "%{?buildroot}/usr/local/bin"
%__install -m 755 openbox "%{?buildroot}/usr/local/bin"
%__install -D -m 755 openbox "%{?buildroot}/usr/local/bin/openbox"
%files
@ -80,5 +79,10 @@ EOF
%changelog
* Mon Dec 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
- More TDE 3.5.13 specific visual settings
- Updates all packages to fix TDE bugs
- Add more applications
* Wed Nov 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
- Initial build

File diff suppressed because it is too large Load Diff

@ -0,0 +1,22 @@
--- kdebase-3.5.12/kdesktop/lock/lockprocess.cc.ORI 2011-12-21 18:40:05.553301746 +0100
+++ kdebase-3.5.12/kdesktop/lock/lockprocess.cc 2011-12-21 18:43:01.643590270 +0100
@@ -1045,17 +1045,13 @@
mHackProc << word;
}
- if (!mForbidden)
+ if (!mForbidden && mHackProc.start() == true)
{
-
- if (mHackProc.start() == true)
- {
#ifdef HAVE_SETPRIORITY
setpriority(PRIO_PROCESS, mHackProc.pid(), mPriority);
#endif
//bitBlt(this, 0, 0, &mOriginal);
return true;
- }
}
else
// we aren't allowed to start the specified screensaver either because it didn't run for some reason

@ -0,0 +1,297 @@
Index: kdesktop/lock/lockdlg.cc
===================================================================
--- kdesktop/lock/lockdlg.cc (revision 1261452)
+++ kdesktop/lock/lockdlg.cc (working copy)
@@ -115,7 +115,7 @@
frame->setFrameStyle( TQFrame::Panel | TQFrame::Raised );
frame->setLineWidth( 2 );
- TQLabel *pixLabel;
+ TQLabel *pixLabel = NULL;
if (!trinity_desktop_lock_use_system_modal_dialogs) {
pixLabel = new TQLabel( frame, "pixlabel" );
pixLabel->setPixmap(DesktopIcon("lock"));
@@ -134,7 +134,7 @@
i18n("<nobr><b>The session was locked by %1</b><br>").arg( user.fullName() ), frame );
}
- TQLabel *lockDTLabel;
+ TQLabel *lockDTLabel = NULL;
if ((trinity_desktop_lock_use_system_modal_dialogs) && (!m_lockStartDT.isNull())) {
lockDTLabel = new TQLabel(i18n("This session has been locked since %1").arg(m_lockStartDT.toString()), frame);
}
Index: kdesktop/lock/lockprocess.cc
===================================================================
--- kdesktop/lock/lockprocess.cc (revision 1261452)
+++ kdesktop/lock/lockprocess.cc (working copy)
@@ -173,6 +173,7 @@
mDialogControlLock(false),
mForceReject(false),
currentDialog(NULL),
+ mEnsureScreenHiddenTimer(NULL),
mForceContinualLockDisplayTimer(NULL),
mEnsureVRootWindowSecurityTimer(NULL),
mHackDelayStartupTimer(NULL),
@@ -288,6 +289,10 @@
hackResumeTimer->stop();
delete hackResumeTimer;
}
+ if (mEnsureScreenHiddenTimer != NULL) {
+ mEnsureScreenHiddenTimer->stop();
+ delete mEnsureScreenHiddenTimer;
+ }
if (mForceContinualLockDisplayTimer != NULL) {
mForceContinualLockDisplayTimer->stop();
delete mForceContinualLockDisplayTimer;
@@ -410,7 +415,7 @@
if (numread > 0) {
if (readbuf[0] == 'C') {
mInfoMessageDisplayed=false;
- while (mDialogControlLock == true) sleep(1);
+ while (mDialogControlLock == true) usleep(100000);
mDialogControlLock = true;
if (currentDialog != NULL) {
mForceReject = true;
@@ -423,7 +428,7 @@
to_display = to_display.remove(0,1);
// Lock out password dialogs and close any active dialog
mInfoMessageDisplayed=true;
- while (mDialogControlLock == true) sleep(1);
+ while (mDialogControlLock == true) usleep(100000);
mDialogControlLock = true;
if (currentDialog != NULL) {
mForceReject = true;
@@ -444,7 +449,7 @@
to_display = to_display.remove(0,1);
// Lock out password dialogs and close any active dialog
mInfoMessageDisplayed=true;
- while (mDialogControlLock == true) sleep(1);
+ while (mDialogControlLock == true) usleep(100000);
mDialogControlLock = true;
if (currentDialog != NULL) {
mForceReject = true;
@@ -468,7 +473,7 @@
to_display = to_display.remove(0,1);
// Lock out password dialogs and close any active dialog
mInfoMessageDisplayed=true;
- while (mDialogControlLock == true) sleep(1);
+ while (mDialogControlLock == true) usleep(100000);
mDialogControlLock = true;
if (currentDialog != NULL) {
mForceReject = true;
@@ -887,8 +892,13 @@
mRootWidth = rootAttr.width;
mRootHeight = rootAttr.height;
+ // Resize the background widget
setGeometry(0, 0, mRootWidth, mRootHeight);
+ // Black out the background widget to hide ugly resize tiling artifacts
+ setBackgroundColor(black);
+ erase();
+
// This slot needs to be able to execute very rapidly so as to prevent the user's desktop from ever
// being displayed, so we finish the hack restarting/display prettying operations in a separate timed slot
if (resizeTimer == NULL) {
@@ -902,7 +912,7 @@
{
stopHack();
- while (mDialogControlLock == true) sleep(1);
+ while (mDialogControlLock == true) usleep(100000);
mDialogControlLock = true;
if (closeCurrentWindow()) {
TQTimer::singleShot( 0, this, SLOT(doDesktopResizeFinish()) );
@@ -911,7 +921,13 @@
mDialogControlLock = false;
// Restart the hack as the window size is now different
- startHack();
+ if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced && trinity_desktop_lock_use_system_modal_dialogs) {
+ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
+ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
+ }
+ else {
+ startHack();
+ }
mBusy = false;
}
@@ -1064,7 +1080,7 @@
if (!grabKeyboard())
{
- sleep(1);
+ usleep(100000);
if (!grabKeyboard())
{
return false;
@@ -1073,7 +1089,7 @@
if (!grabMouse())
{
- sleep(1);
+ usleep(100000);
if (!grabMouse())
{
XUngrabKeyboard(qt_xdisplay(), CurrentTime);
@@ -1117,7 +1133,7 @@
m_grayImage.fill(0); // Set the alpha buffer to 0 (fully transparent)
m_grayImage.setAlphaBuffer(true);
TQPixmap m_root;
- m_root.resize( TQApplication::desktop()->geometry().width(), TQApplication::desktop()->geometry().height() );
+ m_root.resize(mRootWidth, mRootHeight);
TQPainter p;
p.begin( &m_root );
m_grayImage.setAlphaBuffer(false);
@@ -1144,14 +1160,21 @@
setBackgroundColor(black);
else
setBackgroundPixmap(backingPixmap);
+ setGeometry(0, 0, mRootWidth, mRootHeight);
erase();
}
if (trinity_desktop_lock_use_system_modal_dialogs) {
// Try to get the root pixmap
- m_rootPixmap = new KRootPixmap(this);
+ if (!m_rootPixmap) m_rootPixmap = new KRootPixmap(this);
m_rootPixmap->setCustomPainting(true);
connect(m_rootPixmap, TQT_SIGNAL(backgroundUpdated(const TQPixmap &)), this, TQT_SLOT(slotPaintBackground(const TQPixmap &)));
m_rootPixmap->start();
+ // Sometimes KRootPixmap fails...make sure the desktop is hidden regardless
+ if (!mEnsureScreenHiddenTimer) {
+ mEnsureScreenHiddenTimer = new TQTimer( this );
+ connect( mEnsureScreenHiddenTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotForcePaintBackground()) );
+ }
+ mEnsureScreenHiddenTimer->start(2000, true);
}
if (trinity_desktop_lock_in_sec_dlg == FALSE) {
@@ -1275,6 +1298,7 @@
if (!mHackProc.isRunning()) {
if (backingPixmap.isNull()) {
setBackgroundColor(black);
+ setGeometry(0, 0, mRootWidth, mRootHeight);
erase();
}
else {
@@ -1298,6 +1322,7 @@
setBackgroundColor(black);
else
setBackgroundPixmap(backingPixmap);
+ setGeometry(0, 0, mRootWidth, mRootHeight);
erase();
return false;
}
@@ -1344,6 +1369,7 @@
setBackgroundColor(black);
else
setBackgroundPixmap(backingPixmap);
+ setGeometry(0, 0, mRootWidth, mRootHeight);
erase();
mSuspended = false;
}
@@ -1377,7 +1403,10 @@
else
setBackgroundPixmap(backingPixmap);
}
- if (backingPixmap.isNull()) erase();
+ if (backingPixmap.isNull()) {
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ }
else bitBlt(this, 0, 0, &backingPixmap);
if (trinity_desktop_lock_use_system_modal_dialogs) {
ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
@@ -1416,7 +1445,10 @@
else
setBackgroundPixmap(backingPixmap);
}
- if (backingPixmap.isNull()) erase();
+ if (backingPixmap.isNull()) {
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ }
else bitBlt(this, 0, 0, &backingPixmap);
if (!mSuspended) {
if (trinity_desktop_lock_use_system_modal_dialogs) {
@@ -1492,6 +1524,7 @@
setBackgroundColor(black);
else
setBackgroundPixmap(backingPixmap);
+ setGeometry(0, 0, mRootWidth, mRootHeight);
erase();
return;
}
@@ -1597,10 +1630,13 @@
}
mDialogs.prepend( dlg );
fakeFocusIn( dlg->winId());
- if (backingPixmap.isNull() && trinity_desktop_lock_use_system_modal_dialogs) erase();
+ if (backingPixmap.isNull() && trinity_desktop_lock_use_system_modal_dialogs) {
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ }
else bitBlt(this, 0, 0, &backingPixmap);
int rt = dlg->exec();
- while (mDialogControlLock == true) sleep(1);
+ while (mDialogControlLock == true) usleep(100000);
currentDialog = NULL;
mDialogs.remove( dlg );
if( mDialogs.isEmpty() ) {
@@ -1624,8 +1660,18 @@
return rt;
}
+void LockProcess::slotForcePaintBackground()
+{
+ TQPixmap blankPixmap(mRootWidth, mRootHeight);
+ blankPixmap.fill(Qt::black);
+ slotPaintBackground(blankPixmap);
+ printf("[WARNING] Unable to obtain desktop wallpaper in a timely manner. High system load or possibly a TDE bug!\n\r"); fflush(stdout);
+}
+
void LockProcess::slotPaintBackground(const TQPixmap &rpm)
{
+ mEnsureScreenHiddenTimer->stop();
+
TQPixmap pm = rpm;
if (TQPaintDevice::x11AppDepth() == 32) {
@@ -1652,6 +1698,7 @@
backingPixmap = pm;
if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced) {
setBackgroundPixmap(backingPixmap);
+ setGeometry(0, 0, mRootWidth, mRootHeight);
erase();
}
}
@@ -1677,7 +1724,7 @@
mBusy=true;
TQTimer::singleShot(1000, this, TQT_SLOT(slotDeadTimePassed()));
if (mkeyCode == XKeysymToKeycode(qt_xdisplay(), XF86XK_Display)) {
- while (mDialogControlLock == true) sleep(1);
+ while (mDialogControlLock == true) usleep(100000);
mDialogControlLock = true;
currentDialog->close(); // DO NOT use closeCurrentWindow() here!
mDialogControlLock = false;
Index: kdesktop/lock/lockprocess.h
===================================================================
--- kdesktop/lock/lockprocess.h (revision 1261452)
+++ kdesktop/lock/lockprocess.h (working copy)
@@ -74,6 +74,7 @@
void doDesktopResizeFinish();
void doFunctionKeyBroadcast();
void slotPaintBackground(const TQPixmap &pm);
+ void slotForcePaintBackground();
protected:
virtual bool x11Event(XEvent *);
@@ -181,6 +182,7 @@
bool mForceReject;
TQDialog *currentDialog;
+ TQTimer* mEnsureScreenHiddenTimer;
TQTimer* mForceContinualLockDisplayTimer;
TQTimer* mEnsureVRootWindowSecurityTimer;
TQTimer* mHackDelayStartupTimer;

@ -0,0 +1,11 @@
--- kdebase/kdesu/kdesu/kdesu.cpp.orig 2011-10-26 21:06:48.000000000 +0200
+++ kdebase/kdesu/kdesu/kdesu.cpp 2012-01-01 16:54:11.468303046 +0100
@@ -274,7 +274,7 @@
// Try to exec the command with kdesud.
bool keep = !args->isSet("n") && have_daemon;
- bool terminal = true;
+ bool terminal = args->isSet("t");
bool new_dcop = args->isSet("newdcop");
bool withIgnoreButton = args->isSet("ignorebutton");

@ -0,0 +1,19 @@
diff -urN /dev/shm/kdebase/konqueror/listview/konq_listviewwidget.cc /dev/shm/kdebase.new/konqueror/listview/konq_listviewwidget.cc
--- /dev/shm/kdebase/konqueror/listview/konq_listviewwidget.cc 2011-08-11 00:25:51.000000000 -0500
+++ /dev/shm/kdebase.new/konqueror/listview/konq_listviewwidget.cc 2011-12-03 20:55:00.000000000 -0600
@@ -1009,10 +1009,11 @@
// gather pixmap
TQPixmap *pix = new TQPixmap(*(_item->pixmap(0)));
- // call the icon effect
- KIconEffect::visualActivate(viewport(), rect, pix);
-
- delete(pix);
+ // call the icon effect if enabled
+ if (KGlobalSettings::showKonqIconActivationEffect() == true) {
+ KIconEffect::visualActivate(viewport(), rect, pix);
+ delete(pix);
+ }
}
}
else

@ -0,0 +1,41 @@
diff -urN kdebase/kpersonalizer/kospage.cpp kdebase.new2/kpersonalizer/kospage.cpp
--- kdebase/kpersonalizer/kospage.cpp 2011-08-21 02:08:16.000000000 -0500
+++ kdebase.new2/kpersonalizer/kospage.cpp 2011-12-22 09:27:39.000000000 -0600
@@ -142,7 +142,7 @@
ckcmdisplay->writeEntry("macStyle", false, true, true);
cglobal->setGroup("KDE");
- cglobal->writeEntry("SingleClick", true, true, true);
+ cglobal->writeEntry("SingleClick", false, true, true);
claunch->setGroup("FeedbackStyle");
claunch->writeEntry("BusyCursor", false);
@@ -351,8 +351,8 @@
textview_ospage->setText(i18n(
"<b>Window activation:</b> <i>Focus on click</i><br>"
"<b>Titlebar double-click:</b> <i>Shade window</i><br>"
- "<b>Mouse selection:</b> <i>Single click</i><br>"
- "<b>Application startup notification:</b> <i>busy cursor</i><br>"
+ "<b>Mouse selection:</b> <i>Double click</i><br>"
+ "<b>Application startup notification:</b> <i>none</i><br>"
"<b>Keyboard scheme:</b> <i>Trinity default</i><br>"
));
}
@@ -376,7 +376,7 @@
"<b>Window activation:</b> <i>Focus on click</i><br>"
"<b>Titlebar double-click:</b> <i>Maximize window</i><br>"
"<b>Mouse selection:</b> <i>Double click</i><br>"
- "<b>Application startup notification:</b> <i>busy cursor</i><br>"
+ "<b>Application startup notification:</b> <i>none</i><br>"
"<b>Keyboard scheme:</b> <i>Windows</i><br>"
));
}
@@ -400,7 +400,7 @@
b_MacMenuBar = ckcmdisplay->readBoolEntry("macStyle", false);
cglobal->setGroup("KDE");
- b_SingleClick = cglobal->readBoolEntry("SingleClick", true);
+ b_SingleClick = cglobal->readBoolEntry("SingleClick", false);
claunch->setGroup("FeedbackStyle");
b_BusyCursor = claunch->readBoolEntry("BusyCursor", false);

@ -0,0 +1,51 @@
Index: krandrapp.cpp
===================================================================
--- kcontrol/randr/krandrapp.cpp (revision 1261452)
+++ kcontrol/randr/krandrapp.cpp (working copy)
@@ -28,13 +28,20 @@
KRandRApp::KRandRApp()
: m_tray(new KRandRSystemTray(0L, "RANDRTray"))
{
+ connect(&m_eventMergingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(handleX11ConfigChangeEvent()));
m_tray->show();
}
+void KRandRApp::handleX11ConfigChangeEvent()
+{
+ m_eventMergingTimer.stop();
+ m_tray->configChanged();
+}
+
bool KRandRApp::x11EventFilter(XEvent* e)
{
if (e->type == m_tray->screenChangeNotifyEvent()) {
- m_tray->configChanged();
+ m_eventMergingTimer.start(1000, TRUE);
}
return KApplication::x11EventFilter( e );
}
Index: krandrapp.h
===================================================================
--- kcontrol/randr/krandrapp.h (revision 1261452)
+++ kcontrol/randr/krandrapp.h (working copy)
@@ -19,6 +19,7 @@
#ifndef KRANDRAPP_H
#define KRANDRAPP_H
+#include <tqtimer.h>
#include <kuniqueapplication.h>
class KRandRSystemTray;
@@ -32,8 +33,12 @@
virtual bool x11EventFilter(XEvent * e);
+private slots:
+ void handleX11ConfigChangeEvent();
+
private:
KRandRSystemTray* m_tray;
+ TQTimer m_eventMergingTimer;
};
#endif

@ -0,0 +1,104 @@
Index: kicker/applets/systemtray/systemtrayapplet.cpp
===================================================================
--- kicker/applets/systemtray/systemtrayapplet.cpp (revision 1262481)
+++ kicker/applets/systemtray/systemtrayapplet.cpp (working copy)
@@ -34,6 +34,7 @@
#include <tqstyle.h>
#include <tqgrid.h>
#include <tqpainter.h>
+#include <tqimage.h>
#include <dcopclient.h>
#include <kapplication.h>
Index: kicker/applets/clock/clock.h
===================================================================
--- kicker/applets/clock/clock.h (revision 1262481)
+++ kicker/applets/clock/clock.h (working copy)
@@ -41,7 +41,6 @@
#include <kickertip.h>
#include "settings.h"
-#include "kshadowengine.h"
class TQTimer;
class TQBoxLayout;
@@ -283,8 +282,6 @@
TQDate clockGetDate();
virtual void updateKickerTip(KickerTip::Data&);
-
- KTextShadowEngine *shadowEngine();
k_dcop:
void reconfigure();
@@ -344,7 +341,6 @@
TQStringList _remotezonelist;
KPopupMenu* menu;
ClockAppletToolTip m_tooltip;
- KTextShadowEngine *m_shadowEngine;
};
Index: kicker/applets/clock/clock.cpp
===================================================================
--- kicker/applets/clock/clock.cpp (revision 1262481)
+++ kicker/applets/clock/clock.cpp (working copy)
@@ -277,10 +277,7 @@
{
TQRect tr(0, 0, width(), height());
- if (!KickerSettings::transparent())
- p->drawText(tr, AlignCenter, _timeStr);
- else
- _applet->shadowEngine()->drawText(*p, tr, AlignCenter, _timeStr, size());
+ p->drawText(tr, AlignCenter, _timeStr);
}
//************************************************************
@@ -862,10 +859,7 @@
else
tr = TQRect(4, 2, width() - 8, height() - 4);
- if (!KickerSettings::transparent())
- p->drawText(tr, AlignCenter, _timeStr);
- else
- _applet->shadowEngine()->drawText(*p, tr, AlignCenter, _timeStr, size());
+ p->drawText(tr, AlignCenter, _timeStr);
alreadyDrawing = false;
}
@@ -899,8 +893,7 @@
_prefs(new Prefs(sharedConfig())),
zone(new Zone(config())),
menu(0),
- m_tooltip(this),
- m_shadowEngine(0)
+ m_tooltip(this)
{
DCOPObject::setObjId("ClockApplet");
_prefs->readConfig();
@@ -938,7 +931,6 @@
ClockApplet::~ClockApplet()
{
- delete m_shadowEngine;
//reverse for the moment
KGlobal::locale()->removeCatalogue("clockapplet");
KGlobal::locale()->removeCatalogue("timezones"); // For time zone translations
@@ -959,15 +951,7 @@
}
-KTextShadowEngine *ClockApplet::shadowEngine()
-{
- if (!m_shadowEngine)
- m_shadowEngine = new KTextShadowEngine();
- return m_shadowEngine;
-}
-
-
int ClockApplet::widthForHeight(int h) const
{
if (orientation() == Qt::Vertical)

@ -4,7 +4,7 @@
#
echo "[startkde] Starting startkde." 1>&2
+export KDEDIR="${KDEDIR:-/opt/trinity}"
+export KDEDIR="/opt/trinity"
# When the X server dies we get a HUP signal from xinit. We must ignore it
# because we still need to do some cleanup.

@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.12
%endif
%define release 13
%define release 14
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@ -84,6 +84,8 @@ Patch14: kdebase-3.5.12-kickoff_unstable.patch
Patch15: kdebase-3.5.13-startkde_icon.patch
## [kdebase/startkde] Fixes duplicate and incorrect TDE directories location
Patch16: kdebase-3.5.12-startkde_directories.patch
## [kdebase/kdesktop/lock] Fix missing black background
Patch17: kdebase-3.5.12-kdesktop_lock_fix.patch
# TDE unofficial patches for enhanced features
## [kdebase/kate] Restores the 'number of files' and sorting widgets to the Kate configuration
@ -290,6 +292,7 @@ Protocol handlers (KIOslaves) for personal information management, including:
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch20 -p4
%if 0%{?rhel} > 0
@ -669,6 +672,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%exclude %{_libdir}/libkdeinit_*.*
%changelog
* Wed Dec 21 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-14
- Fix kdesktop_lock missing black background on kscreensaver failure
* Thu Dec 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-13
- Backports patches from TDE 3.5.13-10
- Removes Kubuntu branding [TDE Bug #449]

@ -2,7 +2,7 @@
%if "%{?version}" == ""
%define version 3.5.13
%endif
%define release 13
%define release 14
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr"
@ -54,8 +54,6 @@ Source5: pamd.kscreensaver-trinity%{?dist}
# (none)
# TDE unofficial patches, fixing FTBFS
## [kdebase/kdm] adds gcrypt support
Patch7: kdebase-3.5.13-kdm-crypt.patch
## [kdebase/kioslave/media/mediamanager] FTBFS missing dbus-tqt includes
Patch8: kdebase-3.5.13-mediamanager_ftbfs.patch
## [kdebase/startkde] Hardcoded path '/usr/lib/xxx' in startkde, not suitable for x86_64
@ -74,18 +72,32 @@ Patch13: kdebase-3.5.13-genkdmconf_Xsession_location.patch
Patch14: kdebase-3.5.13-kickoff_unstable.patch
## [kdebase/startkde] Sets default Start Icon in 'kickerrc'
Patch15: kdebase-3.5.13-startkde_icon.patch
## [kdebase/startkde] Fixes duplicate and incorrect TDE directories location
## [kdebase/startkde] Fixes duplicate and incorrect TDE directories location [Bug #741]
Patch16: kdebase-3.5.13-startkde_directories.patch
# TDE unofficial patches for enhanced features
## [kdebase/kate] Restores the 'number of files' and sorting widgets to the Kate configuration
# TDE unofficial patches for enhanced features or bugfixes.
## [kdebase/kdm] adds gcrypt support [Bug #624]
Patch7: kdebase-3.5.13-kdm-crypt.patch
## [kdebase/kate] Restores the 'number of files' and sorting widgets to the Kate configuration [Bug #244]
Patch20: kdebase-3.5.13-kate_mru.patch
## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db'
## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db' [Bug #714]
Patch21: kdebase-3.5.13-kio_man_utf8.patch
## [kdebase/konqueror] Re-enable 'open tab in background'
## [kdebase/konqueror] Re-enable 'open tab in background' [Bug #245]
Patch22: kdebase-3.5.13-konq_menu_tab_background.patch
## [kdebase/konqueror/sidebar] Fix error message on documents parent folder
## [kdebase/konqueror/sidebar] Fix error message on documents parent folder [Bug #723]
Patch23: kdebase-3.5.13-konqsidebar_documents.patch
## [kdebase/konqueror/listview] Konqueror Icon Activation Effect [Bug #335]
Patch24: kdebase-3.5.13-konq_icon_effect.patch
## [kdebase/kdesu] Restores the "Keep password" check box to the kdesu dialog box [Bug #388]
Patch25: kdebase-3.5.13-kdesu_showkeeppassword.patch
## [kdebase/kpersonalizer] Repair KPersonalizer settings to match system defaults [Bug #759]
Patch26: kdebase-3.5.13-kpersonalizer_default_doubleclick.patch
## [kdebase/kicker] Restores the original KDE3 clock [Bug #387]
Patch27: kdebase-3.5.13-restore_kde3_clock.patch
## [kdebase/kcontrol/randr] Implement X11 event merging in krandrtray [Bug #758]
Patch28: kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch
## [kdebase/kdesktop/lock] Fix multihead screen locking [Bug #669]
Patch29: kdebase-3.5.13-fix_multihead_desktop_lock.patch
# Fedora 15 Theme: "Lovelock"
%if 0%{?fedora} == 15
@ -182,6 +194,7 @@ Requires: redhat-menus
#Provides: kdebase%{?_qt_suffix} = %{version}
%if "%{?_prefix}" == "/usr"
Provides: kdebase%{?_qt_suffix} = %{version}
Obsoletes: kdebase%{?_qt_suffix} <= 3.5.10
%endif
@ -206,8 +219,8 @@ Requires: %{name}
Requires: %{name}-libs = %{version}-%{release}
Requires: trinity-kdelibs-devel
Summary: %{summary} - Development files
#Provides: kdebase%{?_qt_suffix}-devel = %{version}
%if "%{?_prefix}" == "/usr"
Provides: kdebase%{?_qt_suffix}-devel = %{version}
Obsoletes: kdebase%{?_qt_suffix}-devel <= 3.5.10
%endif
@ -222,9 +235,9 @@ Kate plugins or KWin styles.
Summary: Extra applications from %{name}
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
#Provides: kdebase%{?_qt_suffix}-extras = %{version}
%if "%{?_prefix}" == "/usr"
Obsoletes: kdebase%{?_qt_suffix}-extras <= 3.5.10
Provides: kdebase%{?_qt_suffix}-extras = %{version}
Obsoletes: kdebase%{?_qt_suffix}-extras <= 3.5.10
%endif
%description extras
%{summary}, including:
@ -238,9 +251,9 @@ Obsoletes: kdebase%{?_qt_suffix}-extras <= 3.5.10
Summary: %{name} runtime libraries
Group: System Environment/Libraries
Requires: trinity-kdelibs
#Provides: kdebase%{?_qt_suffix}-libs = %{version}
%if "%{?_prefix}" == "/usr"
Obsoletes: kdebase%{?_qt_suffix}-libs <= 3.5.10
Provides: kdebase%{?_qt_suffix}-libs = %{version}
Obsoletes: kdebase%{?_qt_suffix}-libs <= 3.5.10
%endif
Requires: %{name} = %{version}-%{release}
%description libs
@ -250,9 +263,9 @@ Requires: %{name} = %{version}-%{release}
%package pim-ioslaves
Summary: PIM KIOslaves from %{name}
Group: System Environment/Libraries
#Provides: kdebase%{?_qt_suffix}-pim-ioslaves = %{version}
%if "%{?_prefix}" == "/usr"
Obsoletes: kdebase%{?_qt_suffix}-pim-ioslaves <= 3.5.10
Provides: kdebase%{?_qt_suffix}-pim-ioslaves = %{version}
Obsoletes: kdebase%{?_qt_suffix}-pim-ioslaves <= 3.5.10
%endif
%description pim-ioslaves
Protocol handlers (KIOslaves) for personal information management, including:
@ -282,22 +295,28 @@ Protocol handlers (KIOslaves) for personal information management, including:
%endif
%patch22 -p1
%patch23 -p1
%patch24 -p4
%patch25 -p1
%patch26 -p1
%patch27 -p0
%patch28 -p0
%patch29 -p0
# Applies an optional distro-specific graphical theme
%if "%{?tde_bg}" != ""
# KDM Background
%__sed -i "kdm/kfrontend/genkdmconf.c" \
-e 's,"Wallpaper=isadora.png\n","Wallpaper=%{tde_bg}\n",'
-e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|'
# TDE user default background
%__sed -i "kpersonalizer/keyecandypage.cpp" \
-e 's,#define DEFAULT_WALLPAPER "isadora.png",#define DEFAULT_WALLPAPER "%{tde_bg}",'
-e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|'
%__sed -i "startkde" \
-e 's,/usr/share/wallpapers/isadora.png.desktop,%{tde_bg},' \
-e 's,Wallpaper=isadora.png,Wallpaper=%{tde_bg},'
-e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \
-e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|'
%endif
# TDE branding: removes KUbuntu references
# TDE branding: removes KUbuntu references [Bug #617]
%__sed -i "kcontrol/kdm/kdm-appear.cpp" \
-e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |"
%__sed -i "konqueror/about/konq_aboutpage.cc" \
@ -667,25 +686,33 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{_datadir}/cmake/*.cmake
%changelog
* Mon Jan 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-14
- Fix Konqueror Icon Activation Effect [Bug #335]
- Restores the "Keep password" check box to the kdesu dialog box [Bug #388]
- Repair KPersonalizer settings to match system defaults [Bug #759]
- Restores the original KDE3 clock [Bug #387]
- Implement X11 event merging in krandrtray [Bug #758]
- Fix multihead screen locking [Bug #669]
* Mon Dec 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-13
- Fix variables (again)
* Sun Dec 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-12
- Fix KDEDIRS and other variables in 'startkde', that messes up translations.
- Fix KDEDIRS and other variables in 'startkde', that messes up translations. [Bug #741]
* Sat Dec 10 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-11
- Fix error message 'cannot find parent folder' on konqueror sidebar.
- Fix error message 'cannot find parent folder' on konqueror sidebar. [Bug #723]
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-10
- Removes Kubuntu branding [TDE Bug #449]
- Re-enables 'open tab in background' konqueror feature [TDE Bug #245]
- Removes Kubuntu branding [Bug #449]
- Re-enables 'open tab in background' konqueror feature [Bug #245]
* Wed Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-9
- Fix 'kio_man' on RHEL 5 and RHEL 6 [TDE Bug #714]
- Restores the 'number of files' and sorting widgets to the Kate configuration [TDE Bug #244]
- Fix 'kio_man' on RHEL 5 and RHEL 6 [Bug #714]
- Restores the 'number of files' and sorting widgets to the Kate configuration [Bug #244]
* Fri Nov 18 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-8
- Updates Kickoff menu Fix [TDE Bugs #281, #508]
- Updates Kickoff menu Fix [Bugs #281, #508]
- Adds KDM gcrypt dependency
* Sun Nov 13 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-7
@ -697,7 +724,7 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
* Fri Nov 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
- Add "service(graphical-login)"
- Add kickoff menu fix [TDE Bug #508]
- Add kickoff menu fix [Bug #508]
- kdmrc: sets "MinShowUID=500"
* Tue Nov 08 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4

@ -0,0 +1,67 @@
Index: kjs/CMakeLists.txt
===================================================================
--- kjs/CMakeLists.txt (revision 1261450)
+++ kjs/CMakeLists.txt (working copy)
@@ -15,10 +15,12 @@
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_SOURCE_DIR}/kdecore
+ ${LIBPCRE_INCLUDEDIR}
)
link_directories(
${TQT_LIBRARY_DIRS}
+ ${LIBPCRE_LIBDIR}
)
@@ -59,6 +61,6 @@
tde_add_library( ${target} SHARED
SOURCES ${${target}_SRCS}
VERSION 1.2.0
- LINK kdecore-shared
+ LINK kdecore-shared ${LIBPCRE_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 1261450)
+++ CMakeLists.txt (working copy)
@@ -75,6 +75,7 @@
OPTION( WITH_OPENEXR "Enable openexr support" OFF )
OPTION( WITH_UTEMPTER "Use utempter for utmp management" OFF )
OPTION( WITH_AVAHI "Enable AVAHI support" OFF )
+OPTION( WITH_PCRE "Enable pcre regex support for kjs" ON )
OPTION( WITH_ASPELL "Enable aspell support" OFF )
OPTION( WITH_HSPELL "Enable hspell support" OFF )
@@ -715,6 +716,16 @@
endif( WITH_QT3 )
endif( )
+##### check for pcre ###########################
+
+if( WITH_PCRE )
+ pkg_search_module( LIBPCRE libpcre )
+ if( NOT LIBPCRE_FOUND )
+ message(FATAL_ERROR "\npcre support are requested, but not found on your system" )
+ endif( NOT LIBPCRE_FOUND )
+ set( HAVE_PCREPOSIX 1 )
+endif( )
+
##### check for aspell ##########################
# we need ASPELL_DATADIR too
Index: config.h.cmake
===================================================================
--- config.h.cmake (revision 1261450)
+++ config.h.cmake (working copy)
@@ -366,7 +366,7 @@
#cmakedefine HAVE_PATHS_H 1
/* Define if you have pcreposix libraries and header files. */
-#undef HAVE_PCREPOSIX
+#cmakedefine HAVE_PCREPOSIX 1
/* Define to 1 if you have the `poll' function. */
#cmakedefine HAVE_POLL 1

@ -37,7 +37,13 @@ Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdelibs-%{version}.tar.gz
Patch0: kdelibs-3.5.13-maxlinelength.patch
## [kdelibs/kio] Disable 'max line length' detection [Bug #656]
Patch10: kdelibs-3.5.13-maxlinelength.patch
## [kdelibs/kjs] Enable pcre support in kdelibs [Bug #569]
Patch11: kdelibs-3.5.13-enable_pcre.patch
## [kdelibs/kate] Updated syntax highlighting files [Bug #764]
Patch12: kdelibs-3.5.13-kate_syntax.patch.gz
BuildRequires: libtool
BuildRequires: tqtinterface-devel
@ -66,8 +72,8 @@ Requires: qt%{?_qt_suffix}
Requires: avahi-qt3
#Provides: kdelibs%{?_qt_suffix} = %{version}
%if "%{?_prefix}" == "/usr"
Provides: kdelibs%{?_qt_suffix} = %{version}
Obsoletes: kdelibs%{?_qt_suffix} <= 3.5.10
%endif
@ -83,8 +89,8 @@ kimgio (image manipulation).
Summary: %{name} - Development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Provides: kdelibs%{?_qt_suffix}-devel = %{version}
%if "%{?_prefix}" == "/usr"
Provides: kdelibs%{?_qt_suffix}-devel = %{version}
Obsoletes: kdelibs%{?_qt_suffix}-devel <= 3.5.10
%endif
@ -96,8 +102,8 @@ applications for TDE.
Group: Development/Libraries
Summary: %{name} - API documentation
Requires: %{name} = %{version}-%{release}
Provides: kdelibs%{?_qt_suffix}-apidocs = %{version}
%if "%{?_prefix}" == "/usr"
Provides: kdelibs%{?_qt_suffix}-apidocs = %{version}
Obsoletes: kdelibs%{?_qt_suffix}-apidocs <= 3.5.10
%endif
@ -108,8 +114,9 @@ format for easy browsing
%prep
%setup -q -n kdelibs
%patch0 -p1
%patch10 -p1
%patch11 -p0
%patch12 -p1
%build
@ -136,6 +143,7 @@ cd build
-DWITH_AVAHI=ON \
-DWITH_ASPELL=OFF \
-DWITH_HSPELL=OFF \
-DWITH_PCRE=ON \
..
%__make %{?_smp_mflags}
@ -307,9 +315,11 @@ EOF
%changelog
* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
* Sat Dec 31 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
- Enable pcre support in kdelibs [Bug #569]
- Updated Kate syntax highlighting files [Bug #764]
- Disable 'max line length' detection [Bug #656]
- Add 'Provides: kdelibs3' to avoid installing distro-provided KDE3 libraries
- Disable 'max line length' detection
* Sat Nov 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE

@ -0,0 +1,251 @@
--- qt3/translations/qt_zh-tw.ts.ORI 2011-10-30 09:42:26.000000000 +0100
+++ qt3/translations/qt_zh-tw.ts 2011-12-18 22:06:58.432615802 +0100
@@ -115,7 +115,7 @@
</message>
<message>
<source>Menu</source>
- <translation>Menu</translation>
+ <translation>選單</translation>
</message>
<message>
<source>Help</source>
@@ -337,7 +337,7 @@
</message>
<message>
<source>A&amp;lpha channel:</source>
- <translation>Alpha 色頻(&amp;L)</translation>
+ <translation>透明色頻(&amp;L)</translation>
</message>
<message>
<source>&amp;Basic colors</source>
@@ -429,11 +429,11 @@
</message>
<message>
<source>Read: %1</source>
- <translation>讀取: %1</translation>
+ <translation>讀取:%1</translation>
</message>
<message>
<source>Write: %1</source>
- <translation>寫入: %1</translation>
+ <translation>寫入:%1</translation>
</message>
<message>
<source>Cancel</source>
@@ -1194,7 +1194,7 @@
</message>
<message>
<source>Customize...</source>
- <translation>自訂...</translation>
+ <translation>自訂…</translation>
</message>
</context>
<context>
@@ -1264,7 +1264,7 @@
</message>
<message>
<source>&lt;h3&gt;About Qt&lt;/h3&gt;&lt;p&gt;This program uses Qt version %1.&lt;/p&gt;&lt;p&gt;Qt is a C++ toolkit for multiplatform GUI &amp;amp; application development.&lt;/p&gt;&lt;p&gt;Qt provides single-source portability across MS&amp;nbsp;Windows, Mac&amp;nbsp;OS&amp;nbsp;X, Linux, and all major commercial Unix variants.&lt;br&gt;Qt is also available for embedded devices.&lt;/p&gt;&lt;p&gt;Qt is a Trolltech product. See &lt;tt&gt;http://www.trolltech.com/qt/&lt;/tt&gt; for more information.&lt;/p&gt;</source>
- <translation>&lt;h3&gt;關於 Qt&lt;/h3&gt;&lt;p&gt;本程式使用 Qt 版本 %1。&lt;/p&gt;&lt;p&gt;Qt 是用於多平台 GUI 和應用程式開發的 C++ 工具套件。&lt;/p&gt;&lt;p&gt;Qt 為 MS&amp;nbsp;Windows、Mac&amp;nbsp;OS&amp;nbsp;X、Linux 和所有主要的商用 Unix 變異版本,提供跨平台的單一原始碼可攜性。&lt;br&gt;Qt 也可用於內嵌裝置。&lt;/p&gt;&lt;p&gt;Qt 是 Trolltech 的產品。如需詳細資訊,請參閱 &lt;tt&gt;http://www.trolltech.com/qt/&lt;/tt&gt;。&lt;/p&gt;</translation>
+ <translation>&lt;h3&gt;關於 Qt&lt;/h3&gt;&lt;p&gt;本程式使用 Qt 版本 %1。&lt;/p&gt;&lt;p&gt;Qt 是用於多平臺 GUI 和應用程式開發的 C++ 工具套件。&lt;/p&gt;&lt;p&gt;Qt 為 MS&amp;nbsp;Windows、Mac&amp;nbsp;OS&amp;nbsp;X、Linux 和所有主要的商用 Unix 變異版本,提供跨平臺的單一原始碼可攜性。&lt;br&gt;Qt 也可用於內嵌裝置。&lt;/p&gt;&lt;p&gt;Qt 是 Trolltech 的產品。如需詳細資訊,請參閱 &lt;tt&gt;http://www.trolltech.com/qt/&lt;/tt&gt;。&lt;/p&gt;</translation>
</message>
</context>
<context>
@@ -1282,7 +1282,7 @@
</message>
<message>
<source>Aliases: %1</source>
- <translation>別名: %1</translation>
+ <translation>別名:%1</translation>
</message>
<message>
<source>unknown</source>
@@ -1338,7 +1338,7 @@
</message>
<message>
<source>Browse...</source>
- <translation>瀏覽...</translation>
+ <translation>瀏覽…</translation>
</message>
<message>
<source>Options</source>
@@ -1386,123 +1386,123 @@
</message>
<message>
<source>A0 (841 x 1189 mm)</source>
- <translation>A0 (841 x 1189 mm)</translation>
+ <translation>A0 (841 x 1189 公釐)</translation>
</message>
<message>
<source>A1 (594 x 841 mm)</source>
- <translation>A1 (594 x 841 mm)</translation>
+ <translation>A1 (594 x 841 公釐)</translation>
</message>
<message>
<source>A2 (420 x 594 mm)</source>
- <translation>A2 (420 x 594 mm)</translation>
+ <translation>A2 (420 x 594 公釐)</translation>
</message>
<message>
<source>A3 (297 x 420 mm)</source>
- <translation>A3 (297 x 420 mm)</translation>
+ <translation>A3 (297 x 420 公釐)</translation>
</message>
<message>
<source>A4 (210x297 mm, 8.26x11.7 inches)</source>
- <translation>A4 (210x297 mm8.26x11.7 英吋)</translation>
+ <translation>A4 (210x297 公釐8.26x11.7 英吋)</translation>
</message>
<message>
<source>A5 (148 x 210 mm)</source>
- <translation>A5 (148 x 210 mm)</translation>
+ <translation>A5 (148 x 210 公釐)</translation>
</message>
<message>
<source>A6 (105 x 148 mm)</source>
- <translation>A6 (105 x 148 mm)</translation>
+ <translation>A6 (105 x 148 公釐)</translation>
</message>
<message>
<source>A7 (74 x 105 mm)</source>
- <translation>A7 (74 x 105 mm)</translation>
+ <translation>A7 (74 x 105 公釐)</translation>
</message>
<message>
<source>A8 (52 x 74 mm)</source>
- <translation>A8 (52 x 74 mm)</translation>
+ <translation>A8 (52 x 74 公釐)</translation>
</message>
<message>
<source>A9 (37 x 52 mm)</source>
- <translation>A9 (37 x 52 mm)</translation>
+ <translation>A9 (37 x 52 公釐)</translation>
</message>
<message>
<source>B0 (1000 x 1414 mm)</source>
- <translation>B0 (1000 x 1414 mm)</translation>
+ <translation>B0 (1000 x 1414 公釐)</translation>
</message>
<message>
<source>B1 (707 x 1000 mm)</source>
- <translation>B1 (707 x 1000 mm)</translation>
+ <translation>B1 (707 x 1000 公釐)</translation>
</message>
<message>
<source>B2 (500 x 707 mm)</source>
- <translation>B2 (500 x 707 mm)</translation>
+ <translation>B2 (500 x 707 公釐)</translation>
</message>
<message>
<source>B3 (353 x 500 mm)</source>
- <translation>B3 (353 x 500 mm)</translation>
+ <translation>B3 (353 x 500 公釐)</translation>
</message>
<message>
<source>B4 (250 x 353 mm)</source>
- <translation>B4 (250 x 353 mm)</translation>
+ <translation>B4 (250 x 353 公釐)</translation>
</message>
<message>
<source>B5 (176 x 250 mm, 6.93x9.84 inches)</source>
- <translation>B5 (176 x 250 mm6.93x9.84 英吋)</translation>
+ <translation>B5 (176 x 250 公釐6.93x9.84 英吋)</translation>
</message>
<message>
<source>B6 (125 x 176 mm)</source>
- <translation>B6 (125 x 176 mm)</translation>
+ <translation>B6 (125 x 176 公釐)</translation>
</message>
<message>
<source>B7 (88 x 125 mm)</source>
- <translation>B7 (88 x 125 mm)</translation>
+ <translation>B7 (88 x 125 公釐)</translation>
</message>
<message>
<source>B8 (62 x 88 mm)</source>
- <translation>B8 (62 x 88 mm)</translation>
+ <translation>B8 (62 x 88 公釐)</translation>
</message>
<message>
<source>B9 (44 x 62 mm)</source>
- <translation>B9 (44 x 62 mm)</translation>
+ <translation>B9 (44 x 62 公釐)</translation>
</message>
<message>
<source>B10 (31 x 44 mm)</source>
- <translation>B10 (31 x 44 mm)</translation>
+ <translation>B10 (31 x 44 公釐)</translation>
</message>
<message>
<source>C5E (163 x 229 mm)</source>
- <translation>C5E (163 x 229 mm)</translation>
+ <translation>C5E (163 x 229 公釐)</translation>
</message>
<message>
<source>DLE (110 x 220 mm)</source>
- <translation>DLE (110 x 220 mm)</translation>
+ <translation>DLE (110 x 220 公釐)</translation>
</message>
<message>
<source>Executive (7.5x10 inches, 191x254 mm)</source>
- <translation>Executive (7.5x10 英吋191x254 mm)</translation>
+ <translation>Executive (7.5x10 英吋191x254 公釐)</translation>
</message>
<message>
<source>Folio (210 x 330 mm)</source>
- <translation>Folio (210 x 330 mm)</translation>
+ <translation>Folio (210 x 330 公釐)</translation>
</message>
<message>
<source>Ledger (432 x 279 mm)</source>
- <translation>Ledger (432 x 279 mm)</translation>
+ <translation>Ledger (432 x 279 公釐)</translation>
</message>
<message>
<source>Legal (8.5x14 inches, 216x356 mm)</source>
- <translation>Legal (8.5x14 英吋216x356 mm)</translation>
+ <translation>Legal (8.5x14 英吋216x356 公釐)</translation>
</message>
<message>
<source>Letter (8.5x11 inches, 216x279 mm)</source>
- <translation>Letter (8.5x11 英吋216x279 mm)</translation>
+ <translation>Letter (8.5x11 英吋216x279 公釐)</translation>
</message>
<message>
<source>Tabloid (279 x 432 mm)</source>
- <translation>Tabloid (279 x 432 mm)</translation>
+ <translation>Tabloid (279 x 432 公釐)</translation>
</message>
<message>
<source>US Common #10 Envelope (105 x 241 mm)</source>
- <translation>美國一般 10 號信封 (105 x 241 mm)</translation>
+ <translation>美國一般 10 號信封 (105 x 241 公釐)</translation>
</message>
<message>
<source>Setup Printer</source>
@@ -1691,7 +1691,7 @@
<name>QToolBar</name>
<message>
<source>More...</source>
- <translation>其他...</translation>
+ <translation>其他…</translation>
</message>
</context>
<context>
@@ -1811,7 +1811,7 @@
</message>
<message>
<source>&amp;Help</source>
- <translation>說明(&amp;H)</translation>
+ <translation>求助(&amp;H)</translation>
</message>
</context>
<context>
@@ -1988,7 +1988,7 @@
</message>
<message>
<source>Paste special...</source>
- <translation>選擇性貼上...</translation>
+ <translation>選擇性貼上…</translation>
</message>
<message>
<source>Clear</source>

@ -1,8 +1,14 @@
# Default version for this component
%if "%{?version}" == ""
%define version 3.3.8d
%define version 3.3.8.d
%endif
# Always install under standard prefix
%define _prefix /usr
# This allows the legacy RHEL/Fedora patches to apply in TDE version.
%define _default_patch_fuzz 2
# The following QT4 packages should NOT be installed to
# allow QT3 compilation (please uninstall them prior to compile)
# qt
@ -12,24 +18,20 @@
# qt-devel
# ...maybe others !!!!
%define _default_patch_fuzz 2
Name: qt3
Version: %{?version}
Release: 3%{?dist}
Summary: The shared library for the Qt 3 GUI toolkit
Name: qt3
Version: %{?version}
Release: 2%{?dist}
Summary: The shared library for the Qt 3 GUI toolkit
License: QPL or GPLv2 or GPLv3
Group: System Environment/Libraries
URL: http://www.trinitydesktop.org/
License: QPL or GPLv2 or GPLv3
Group: System Environment/Libraries
URL: http://www.trinitydesktop.org/
#Url: http://www.troll.no
Obsoletes: qt < 1:%{version}-%{release}
Provides: qt = 1:%{version}-%{release}
Obsoletes: qt < 1:%{version}-%{release}
Provides: qt = 1:%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#Source0: ftp://ftp.troll.no/qt/source/qt-x11-free-3.3.8b.tar.gz
Source0: qt3-3.3.8.d.tar.gz
Source2: qt.sh
Source3: qt.csh
@ -84,6 +86,9 @@ Patch110: 0084-compositing-properties.patch
Patch200: qt-x11-free-3.3.4-fullscreen.patch
#Patch201: qt-x11-free-3.3.8b-gcc43.patch
# TDE 3.5.13 patches
Patch300: qt3-3.3.8.d-updates_zh-tw_translations.patch
%define qt_dirname qt-3.3
%define qtdir %{_libdir}/%{qt_dirname}
%define qt_docdir %{_docdir}/qt-devel-%{version}
@ -350,6 +355,9 @@ for the Qt 3 toolkit.
%patch200 -p1 -b .fullscreen
#patch201 -p1 -b .gcc34
# TDE 3.5.13 patches
%patch300 -p1
# convert to UTF-8
iconv -f iso-8859-1 -t utf-8 < doc/man/man3/qdial.3qt > doc/man/man3/qdial.3qt_
mv doc/man/man3/qdial.3qt_ doc/man/man3/qdial.3qt
@ -592,13 +600,13 @@ rm -rf %{buildroot}
%{_datadir}/pixmaps/linguist3.png
%{_datadir}/pixmaps/assistant3.png
# QT 3.3.8D (TDE): 4 binaries have appeared
# QT 3.3.8.D (TDE): 4 binaries have appeared
%{qtdir}/bin/createcw
%{qtdir}/bin/makeqpf
%{qtdir}/bin/mergetr
%{qtdir}/bin/msg2qm
# QT 3.3.8D (TDE): removes lots of unnecessary include files
# QT 3.3.8.D (TDE): removes lots of unnecessary include files
# (where do they come from ??? They were not in 3.3.8b !)
%exclude %{qtdir}/include/btree.h
#%exclude %{qtdir}/include/config.h
@ -701,10 +709,13 @@ rm -rf %{buildroot}
%changelog
* Thu Nov 03 2011 Francois Andriot <francois.andriot@free.fr> - 3.3.8d-2
* Sun Dec 18 2011 Francois Andriot <francois.andriot@free.fr> - 3.3.8.d-3
- Updates zh_TW translations, thanks to Wei-Lun Chao .
* Thu Nov 03 2011 Francois Andriot <francois.andriot@free.fr> - 3.3.8.d-2
- Add missing BuildRequires
* Fri Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.3.8d-1
* Fri Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.3.8.d-1
- Initial build for RHEL 6, RHEL 5, and Fedora 15
- Switch to Trinity Version
- Spec file based on RHEL 6 'qt3-3.3.8b-29'

Loading…
Cancel
Save