mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
Merge gits
This commit is contained in:
commit
c660eef5a8
@ -23,19 +23,20 @@ pkgname=('calligra-l10n-ca'
|
||||
'calligra-l10n-it'
|
||||
# 'calligra-l10n-ja'
|
||||
'calligra-l10n-kk'
|
||||
'calligra-l10n-nb'
|
||||
#'calligra-l10n-nb'
|
||||
'calligra-l10n-nds'
|
||||
'calligra-l10n-nl'
|
||||
'calligra-l10n-pl'
|
||||
'calligra-l10n-pt'
|
||||
'calligra-l10n-pt_BR'
|
||||
'calligra-l10n-ru'
|
||||
'calligra-l10n-sk'
|
||||
'calligra-l10n-sv'
|
||||
# 'calligra-l10n-tr'
|
||||
'calligra-l10n-uk'
|
||||
'calligra-l10n-zh_CN'
|
||||
'calligra-l10n-zh_TW')
|
||||
pkgver=2.3.85
|
||||
pkgver=2.3.91
|
||||
pkgrel=1
|
||||
pkgdesc="Localization for Calligra"
|
||||
arch=('any')
|
||||
@ -54,44 +55,45 @@ source=(ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/call
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-fr-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-it-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-kk-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nb-${pkgver}.tar.bz2
|
||||
#ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nb-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nds-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-nl-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pl-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-pt_BR-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-ru-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sk-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-sv-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-uk-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_TW-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_CN-${pkgver}.tar.bz2)
|
||||
md5sums=('8ca2790b2d7fbf6546099aeda13e6786'
|
||||
'58b1a7ac73d51f1fc8a88d034d0e9f4f'
|
||||
'76a46c54710a098d23cb1a0aa831b47c'
|
||||
'587bac58da9944cee42fdcef7b47da07'
|
||||
'e3fdbe61e1a282411502733a16232a7a'
|
||||
'6e1c64602624e382624c9a3c4a9f7095'
|
||||
'51fc1d2eaf75beceb4ec748e937c9f21'
|
||||
'1c4ce54406993f1de57149a1e7c570f2'
|
||||
'0cd8e6f5a3885b577362b67affe57d01'
|
||||
'6c4ed79f6a7bc88af3180f64e1e1129d'
|
||||
'6b7aefaedfe2d9a368e1eb988ec6f463'
|
||||
'86d3070ebf83ab7af673b71944be8bb8'
|
||||
'6d601fbe49212913f6aab608c55fa28f'
|
||||
'66973ffd90a1a89cb1964897b8799fae'
|
||||
'9e0bc60c60b32d94bf7de5cf509b2385'
|
||||
'bda373a6ef6e38d15a377275bca79127'
|
||||
'b27a38b9fcc977a120b4fc862ef8e40d'
|
||||
'cf36fab35b714a83030b17e5ab6309ec'
|
||||
'9fd0f88ed7fdf3928513b4ae3124c74c'
|
||||
'43769939a24d4e5df45d91409f2b6111'
|
||||
'ed7611b9d958f1c62fb5aa4b6e95577a'
|
||||
'76927f3889ee7f643ac708b7de5fbeec'
|
||||
'61d5bdb6f7bc2ee691da95bdf86d0a5c')
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_CN-${pkgver}.tar.bz2
|
||||
ftp://ftp.kde.org/pub/kde/unstable/calligra-${pkgver}/calligra-l10n/calligra-l10n-zh_TW-${pkgver}.tar.bz2)
|
||||
md5sums=('e36a435657676de7e4595da800fec3e2' #calligra-l10n/calligra-l10n-ca-2.3.91.tar.bz2
|
||||
'50df6691ae50254aaa96ecce597b353b' #calligra-l10n/calligra-l10n-ca@valencia-2.3.91.tar.bz2
|
||||
'cf85deb6ea105c107e513efcb692ecbe' #calligra-l10n/calligra-l10n-cs-2.3.91.tar.bz2
|
||||
'70c3c8ac3b63b3e373e3228340e859a7' #calligra-l10n/calligra-l10n-da-2.3.91.tar.bz2
|
||||
'e7493401ebd8335d701e09be0aee97ec' #calligra-l10n/calligra-l10n-de-2.3.91.tar.bz2
|
||||
'84d67e684abbadea8e8e0704ad34a36c' #calligra-l10n/calligra-l10n-el-2.3.91.tar.bz2
|
||||
'f45a2d7e8f6d4136e194c9aa5678f3e3' #calligra-l10n/calligra-l10n-en_GB-2.3.91.tar.bz2
|
||||
'b181ebeff0122907ae107e696fdae06b' #calligra-l10n/calligra-l10n-es-2.3.91.tar.bz2
|
||||
'495fdaa9e29e80aeb9dcd6df17ce5ef3' #calligra-l10n/calligra-l10n-et-2.3.91.tar.bz2
|
||||
'a2eddf06484a1574cb2df173d0cbc188' #calligra-l10n/calligra-l10n-fr-2.3.91.tar.bz2
|
||||
'9b3cfaabf3fb2252f09f31f712e2540e' #calligra-l10n/calligra-l10n-it-2.3.91.tar.bz2
|
||||
'fab23b2a911fd4745246e5fa03e7fc29' #calligra-l10n/calligra-l10n-kk-2.3.91.tar.bz2
|
||||
'965224d7fdaeb06b1f8439ea34b3ba36' #calligra-l10n/calligra-l10n-nds-2.3.91.tar.bz2
|
||||
'24d5749f3ec4336e83a9439d434e7d9a' #calligra-l10n/calligra-l10n-nl-2.3.91.tar.bz2
|
||||
'af3ec0573d9c9e13a99adb2060d975c2' #calligra-l10n/calligra-l10n-pl-2.3.91.tar.bz2
|
||||
'6ac3693fb0e428a9ac1e2c79839e47c6' #calligra-l10n/calligra-l10n-pt-2.3.91.tar.bz2
|
||||
'90e06151b0670e4d0be72a5aa23e7d0b' #calligra-l10n/calligra-l10n-pt_BR-2.3.91.tar.bz2
|
||||
'5a1f1388f92d30a2b1137b58c2e05856' #calligra-l10n/calligra-l10n-ru-2.3.91.tar.bz2
|
||||
'40d30f12b737d9ef907a294e3a573972' #calligra-l10n/calligra-l10n-sk-2.3.91.tar.bz2
|
||||
'0be0e1582726f9cb37cc114530784c47' #calligra-l10n/calligra-l10n-sv-2.3.91.tar.bz2
|
||||
'4c23779580cd12df6a3ff4dd716391db' #calligra-l10n/calligra-l10n-uk-2.3.91.tar.bz2
|
||||
'c2075d3d64596007f6dcaf876ef5f8b3' #calligra-l10n/calligra-l10n-zh_CN-2.3.91.tar.bz2
|
||||
'b0029475983fa43f8aa419ebc0f7f537') #calligra-l10n/calligra-l10n-zh_TW-2.3.91.tar.bz2
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
langs="ca ca@valencia cs da de el en_GB es et fr it kk nb nds nl pl pt pt_BR ru sv uk zh_CN zh_TW"
|
||||
langs="ca ca@valencia cs da de el en_GB es et fr it kk nds nl pl pt pt_BR ru sk sv uk zh_CN zh_TW"
|
||||
for lang in $langs; do
|
||||
install -d build/${lang}
|
||||
pushd build/${lang}
|
||||
@ -105,54 +107,64 @@ build() {
|
||||
|
||||
package_calligra-l10n-ca() {
|
||||
pkgdesc=('Catalan Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/ca
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
||||
package_calligra-l10n-ca@valencia() {
|
||||
pkgdesc=('Catalan (Valencian) Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/ca@valencia
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
||||
package_calligra-l10n-cs() {
|
||||
pkgdesc=('Czech Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/cs
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
||||
package_calligra-l10n-da() {
|
||||
pkgdesc=('Danish Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/da
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-de() {
|
||||
pkgdesc=('German Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/de
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-el() {
|
||||
pkgdesc=('Greek Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/el
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-en_GB() {
|
||||
pkgdesc=('British Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/en_GB
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-es() {
|
||||
pkgdesc=('Spanish Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/es
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-et() {
|
||||
pkgdesc=('Estonian Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/et
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-fr() {
|
||||
pkgdesc=('French Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/fr
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
@ -168,6 +180,7 @@ package_calligra-l10n-fr() {
|
||||
#}
|
||||
package_calligra-l10n-it() {
|
||||
pkgdesc=('Italian Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/it
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
@ -178,46 +191,60 @@ package_calligra-l10n-it() {
|
||||
#}
|
||||
package_calligra-l10n-kk() {
|
||||
pkgdesc=('Kazakh Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/kk
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-nb() {
|
||||
pkgdesc=('Norwegian Bookmal Localization for calligra')
|
||||
cd $srcdir/build/nb
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
#package_calligra-l10n-nb() {
|
||||
# pkgdesc=('Norwegian Bookmal Localization for calligra')
|
||||
# cd $srcdir/build/nb
|
||||
# make DESTDIR=$pkgdir install
|
||||
#}
|
||||
package_calligra-l10n-nds() {
|
||||
pkgdesc=('Low Saxon Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/nds
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-nl() {
|
||||
pkgdesc=('Dutch Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/nl
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-pl() {
|
||||
pkgdesc=('Polish Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/pl
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-pt() {
|
||||
pkgdesc=('Portugese Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/pt
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-pt_BR() {
|
||||
pkgdesc=('Brazilian Portugese Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/pt_BR
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-ru() {
|
||||
pkgdesc=('Russian Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/ru
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-sk() {
|
||||
pkgdesc=('Slovak Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/sk
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-sv() {
|
||||
pkgdesc=('Swedish Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/sv
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
@ -228,16 +255,19 @@ package_calligra-l10n-sv() {
|
||||
#}
|
||||
package_calligra-l10n-uk() {
|
||||
pkgdesc=('Ukrainian Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/uk
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-zh_CN() {
|
||||
pkgdesc=('Simplified Chinese Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/zh_CN
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
package_calligra-l10n-zh_TW() {
|
||||
pkgdesc=('Traditional Chinese Localization for calligra')
|
||||
categories=('localization')
|
||||
cd $srcdir/build/zh_TW
|
||||
make DESTDIR=$pkgdir install
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ pkgname=('calligra-filters'
|
||||
'calligra-thesaurus-doc'
|
||||
'calligra-braindump'
|
||||
'calligra-flow')
|
||||
pkgver=2.3.85
|
||||
pkgver=2.3.91
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.calligra-suite.org'
|
||||
@ -38,15 +38,15 @@ makedepends=('kdelibs' 'kdepimlibs' 'eigen' 'freetds' 'kdegraphics-okular' 'kdee
|
||||
'libgsf' 'libwpd' 'libwpg' 'pstoedit' 'glew' 'gsl' 'cmake' 'automoc4' 'libspnav' 'libqtgtl'
|
||||
'boost' 'libkdcraw' 'libpqxx' 'fftw' 'opengtl' 'docbook-xsl' 'create-resources' 'lcms2' 'qrencode' 'libdmtx')
|
||||
groups=('calligra')
|
||||
source=("http://download.kde.org/unstable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
|
||||
md5sums=('a00dbd648ea2c2b56ac62025c836c806')
|
||||
source=("http://mirrors.mit.edu/kde/unstable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
|
||||
md5sums=('3f5d02279c5657e24af6e1590cebaeb3')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../${pkgbase}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_active=OFF \
|
||||
@ -96,6 +96,7 @@ package_calligra-plugins() {
|
||||
depends=('calligra-libs')
|
||||
conflicts=('koffice-common' 'calligra-plugins-git')
|
||||
replaces=('koffice-common' 'calligra-plugins-git')
|
||||
categories=('office')
|
||||
|
||||
cd "${srcdir}"/build/plugins
|
||||
make DESTDIR="${pkgdir}" install
|
||||
@ -106,6 +107,7 @@ package_calligra-pics() {
|
||||
depends=('calligra-libs')
|
||||
conflicts=('koffice-common' 'calligra-pics-git')
|
||||
replaces=('koffice-common' 'calligra-pics-git')
|
||||
categories=('office')
|
||||
install=calligra.install
|
||||
|
||||
cd "${srcdir}"/build/pics
|
||||
@ -152,6 +154,7 @@ package_calligra-karbon() {
|
||||
provides=('karbon')
|
||||
conflicts=('koffice-karbon' 'calligra-karbon-git')
|
||||
replaces=('koffice-karbon' 'calligra-karbon-git')
|
||||
categories=('graphics')
|
||||
install=calligra-karbon.install
|
||||
|
||||
cd "${srcdir}"/build/karbon
|
||||
@ -164,6 +167,7 @@ package_calligra-kexi() {
|
||||
provides=('kexi')
|
||||
conflicts=('koffice-kexi' 'calligra-kexi-git')
|
||||
replaces=('koffice-kexi' 'calligra-kexi-git')
|
||||
categories=('office')
|
||||
install=calligra-kexi.install
|
||||
|
||||
cd "${srcdir}"/build/kexi
|
||||
@ -176,6 +180,7 @@ package_calligra-kounavail() {
|
||||
provides=('kounavail')
|
||||
conflicts=('koffice-kounavail' 'calligra-kounavail-git')
|
||||
replaces=('koffice-kounavail' 'calligra-kounavail-git')
|
||||
categories=('office')
|
||||
|
||||
cd "${srcdir}"/build/kounavail
|
||||
make DESTDIR="${pkgdir}" install
|
||||
@ -187,6 +192,7 @@ package_calligra-plan() {
|
||||
'calligra-plugins')
|
||||
conflicts=('koffice-kplato' 'calligra-kplato-git')
|
||||
replaces=('koffice-kplato' 'calligra-kplato-git')
|
||||
categories=('office')
|
||||
install=calligra-plan.install
|
||||
|
||||
cd "${srcdir}"/build/plan
|
||||
@ -199,6 +205,7 @@ package_calligra-stage() {
|
||||
optdepends=('calligra-filters: import/export filters')
|
||||
conflicts=('koffice-kpresenter' 'calligra-stage-git')
|
||||
replaces=('koffice-kpresenter' 'calligra-stage-git')
|
||||
categories=('office')
|
||||
install=calligra-stage.install
|
||||
|
||||
cd "${srcdir}"/build/stage
|
||||
@ -212,6 +219,7 @@ package_calligra-krita() {
|
||||
provides=('krita')
|
||||
conflicts=('koffice-krita' 'calligra-krita-git')
|
||||
replaces=('koffice-krita' 'calligra-krita-git')
|
||||
categories=('graphics')
|
||||
install=calligra-krita.install
|
||||
|
||||
cd "${srcdir}"/build/krita
|
||||
@ -222,8 +230,9 @@ package_calligra-tables() {
|
||||
pkgdesc="Write spreadsheet documents"
|
||||
depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'gsl' 'hicolor-icon-theme')
|
||||
optdepends=('calligra-filters: import/export filters')
|
||||
conflicts=('koffice-kspread' 'calligra-tables-git')
|
||||
replaces=('koffice-kspread' 'calligra-tables-git')
|
||||
conflicts=('koffice-kspread' 'calligra-tables-git' 'kformula')
|
||||
replaces=('koffice-kspread' 'calligra-tables-git' 'kformula')
|
||||
categories=('office')
|
||||
install=calligra-tables.install
|
||||
|
||||
cd "${srcdir}"/build/tables
|
||||
@ -235,6 +244,7 @@ package_calligra-tables-doc() {
|
||||
depends=('calligra-tables')
|
||||
conflicts=('koffice-doc' 'calligra-tables-doc-git')
|
||||
replaces=('koffice-doc' 'calligra-tables-doc-git')
|
||||
categories=('documentation')
|
||||
|
||||
cd "${srcdir}"/build/doc/tables
|
||||
make DESTDIR="${pkgdir}" install
|
||||
@ -247,6 +257,7 @@ package_calligra-words() {
|
||||
optdepends=('calligra-filters: import/export filters')
|
||||
conflicts=('koffice-kword' 'calligra-words-git')
|
||||
replaces=('koffice-kword' 'calligra-words-git')
|
||||
categories=('office')
|
||||
install=calligra-words.install
|
||||
|
||||
cd "${srcdir}"/build/words
|
||||
@ -257,6 +268,7 @@ package_calligra-handbook() {
|
||||
pkgdesc="Documentation for Calligra"
|
||||
conflicts=('koffice-doc' 'koffice-common' 'calligra-handbook-git')
|
||||
replaces=('koffice-doc' 'koffice-common' 'calligra-handbook-git')
|
||||
categories=('documentation')
|
||||
|
||||
cd "${srcdir}"/build/doc/calligra
|
||||
make DESTDIR="${pkgdir}" install
|
||||
@ -266,6 +278,7 @@ package_calligra-thesaurus-doc() {
|
||||
pkgdesc="Documentation for Thesaurus"
|
||||
conflicts=('koffice-doc' 'calligra-thesaurus-doc-git')
|
||||
replaces=('koffice-doc' 'calligra-thesaurus-doc-git')
|
||||
categories=('documentation')
|
||||
|
||||
cd "${srcdir}"/build/doc/thesaurus
|
||||
make DESTDIR="${pkgdir}" install
|
||||
@ -273,8 +286,10 @@ package_calligra-thesaurus-doc() {
|
||||
|
||||
package_calligra-braindump() {
|
||||
pkgdesc="Notes and idea gathering"
|
||||
depends=('calligra-libs')
|
||||
conflicts=('calligra-braindump-git')
|
||||
replaces=('calligra-braindump-git')
|
||||
categories=('office')
|
||||
install=calligra-braindump.install
|
||||
|
||||
cd "${srcdir}"/build/braindump
|
||||
@ -283,9 +298,11 @@ package_calligra-braindump() {
|
||||
|
||||
package_calligra-flow() {
|
||||
pkgdesc="Flowchart & Diagram Editing"
|
||||
depends=('calligra-libs')
|
||||
install=calligra-flow.install
|
||||
conflict=('calligra-flow-git')
|
||||
replaces=('calligra-flow-git')
|
||||
categories=('office')
|
||||
|
||||
cd "${srcdir}"/build/flow
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
41
kactivities/PKGBUILD
Normal file
41
kactivities/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
#
|
||||
# KDE SC Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname="kactivities"
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
pkgdesc='API for using and interacting with Activities'
|
||||
url='http://kde.org/'
|
||||
license=('GPL' 'FDL')
|
||||
depends=('kdelibs')
|
||||
makedepends=('cmake')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
source=($_mirror/${pkgname}-$_kdever.tar.bz2)
|
||||
md5sums=(`grep ${pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
|
||||
rm -rf build
|
||||
mkdir build && cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/build
|
||||
make DESTDIR=$pkgdir install
|
||||
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ pkgname=kde-baseapps-konsole
|
||||
_pkgname=konsole
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Terminal"
|
||||
pkgdesc="KDE Terminal"
|
||||
url='http://kde.org/applications/system/konsole/'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
@ -24,15 +24,15 @@ groups=('kde' 'kde-baseapps' 'kde-uninstall')
|
||||
provides=('kdebase-konsole' 'konsole')
|
||||
conflicts=('kdebase-konsole')
|
||||
replaces=('kdebase-konsole')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('system')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2"
|
||||
"konsole_defaults.patch")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
'8ab6f508a4e04517dd51ac3ab2eb01ef')
|
||||
'c2709d856ec8aa16329c65a759611ba0')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
|
||||
patch -Np3 -i ${srcdir}/konsole_defaults.patch || return 1
|
||||
@ -40,13 +40,11 @@ build()
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DBUILD_KTEXTEDITOR=OFF \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
diff -Naur kdebase-4.3.80.orig/apps/konsole/data/profiles/Shell.profile kdebase-4.3.80/apps/konsole/data/profiles/Shell.profile
|
||||
--- kdebase-4.3.80.orig/apps/konsole/data/profiles/Shell.profile 2009-11-21 10:43:48.000000000 +0100
|
||||
+++ kdebase-4.3.80/apps/konsole/data/profiles/Shell.profile 2009-12-06 20:45:03.000000000 +0100
|
||||
@@ -161,12 +161,16 @@
|
||||
LocalTabTitleFormat=%d : %n
|
||||
RemoteTabTitleFormat=%h : %u
|
||||
@@ -174,13 +174,18 @@
|
||||
LocalTabTitleFormat=%D : %n
|
||||
RemoteTabTitleFormat=(%u) %H
|
||||
|
||||
+[General]
|
||||
+ShowNewAndCloseTabButtons=true
|
||||
@ -16,9 +16,9 @@ diff -Naur kdebase-4.3.80.orig/apps/konsole/data/profiles/Shell.profile kdebase-
|
||||
[Scrolling]
|
||||
-ScrollMode=FixedLineCount
|
||||
-ScrollLineCount=1000
|
||||
-
|
||||
-
|
||||
+HistoryMode=2
|
||||
|
||||
+[Terminal Features]
|
||||
[Terminal Features]
|
||||
+BlinkingCursorEnabled=true
|
||||
BidiRenderingEnabled=true
|
||||
|
@ -27,31 +27,29 @@ install='kde-baseapps-kwrite.install'
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2"
|
||||
'pkgbuild-syntax-highlight.patch')
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
'dc4315d8f0c0f97ea63cfa645a1013be')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
'bb189857e6d917ee8f9ecebab38c1b70')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
|
||||
patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
|
||||
|
||||
# FIXME: Snippet tags plugin does not compile
|
||||
sed -i -e "s~add_subdirectory( snippets_tng )~~g" ${srcdir}/${_pkgname}-${pkgver}/kate/plugins/CMakeLists.txt
|
||||
rm -rf build
|
||||
mkdir build && cd build
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DBUILD_KTEXTEDITOR=OFF \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
cmake .. -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DBUILD_KTEXTEDITOR=OFF \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}/kwrite
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}/build/kwrite
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}/doc/kwrite
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}/build/doc/kwrite
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- kate-4.6.80/part/syntax/data/bash.xml~ 2011-05-23 21:20:34.295137123 +0000
|
||||
+++ kate-4.6.80/part/syntax/data/bash.xml 2011-05-23 21:20:54.581993368 +0000
|
||||
--- kate-4.7.80/part/syntax/data/bash.xml~ 2011-11-20 06:14:30.581097154 +0000
|
||||
+++ kate-4.7.80/part/syntax/data/bash.xml 2011-11-20 06:14:45.494553146 +0000
|
||||
@@ -8,7 +8,7 @@
|
||||
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
|
||||
<!ENTITY pathpart "([\w_@.%*?+-]|\\ )"> <!-- valid character in a file name -->
|
||||
]>
|
||||
-<language name="Bash" version="2.12" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
|
||||
+<language name="Bash" version="2.12" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
|
||||
-<language name="Bash" version="2.14" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
|
||||
+<language name="Bash" version="2.14" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
|
||||
|
||||
<!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl)
|
||||
Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)
|
||||
|
@ -12,7 +12,6 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
#
|
||||
pkgbase="kde-baseapps"
|
||||
pkgname=('kde-baseapps'
|
||||
'kde-baseapps-doc'
|
||||
'kde-baseapps-dolphin'
|
||||
'kde-baseapps-konqueror'
|
||||
'kde-baseapps-konq-plugins')
|
||||
@ -33,15 +32,16 @@ source=("$_mirror/${pkgbase}-$_kdever.tar.bz2"
|
||||
"http://www.kde-apps.org/CONTENT/content-files/99752-kde_cdemu-0.3.1.tar.bz2")
|
||||
|
||||
md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
'6b68353583ee959fb61b3c68a07606ae') # 99752-kde_cdemu-0.3.1.tar.gz
|
||||
'6b68353583ee959fb61b3c68a07606ae') # 99752-kde_cdemu-0.3.1.tar.gz
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${pkgbase}-${pkgver}
|
||||
|
||||
# msg "aplying upstream fixes..."
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -51,23 +51,20 @@ build()
|
||||
make || return 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
#
|
||||
# split-install functions
|
||||
#
|
||||
package_kde-baseapps()
|
||||
{
|
||||
package_kde-baseapps() {
|
||||
pkgdesc="KDE Base Applications"
|
||||
depends=("kde-runtime>=${_kdever}" 'libraw1394')
|
||||
optdepends=("cdemu-client: Support transparent CD/DVD image mounting in KDE")
|
||||
conflicts=("kdebase")
|
||||
replaces=('kdebase')
|
||||
provides=("kdebase" "baseapps")
|
||||
conflicts=("kdebase" 'kde-baseapps-doc')
|
||||
replaces=('kdebase' 'kde-baseapps-doc')
|
||||
provides=("kdebase" "baseapps" 'kde-baseapps-doc')
|
||||
groups=("${pkgbase}" "kde" "kde-minimal" "kde-uninstall")
|
||||
install=kde-baseapps.install
|
||||
|
||||
splitdirs="kdepasswd kdialog keditbookmarks kfind lib nsplugins plasma konqueror"
|
||||
splitdirs="kdepasswd kdialog keditbookmarks kfind lib nsplugins plasma konqueror doc/kdepasswd doc/kfind"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -129,48 +126,34 @@ package_kde-baseapps()
|
||||
#fi
|
||||
}
|
||||
|
||||
package_kde-baseapps-doc()
|
||||
{
|
||||
pkgdesc="KDE Base Applications - Documentation"
|
||||
conflicts=('kdebase-doc')
|
||||
replaces=('kdebase-doc')
|
||||
groups=("kde" "kde-uninstall" "kde-doc")
|
||||
|
||||
splitdirs="doc"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kde-baseapps-dolphin()
|
||||
{
|
||||
package_kde-baseapps-dolphin() {
|
||||
pkgdesc="KDE Base Applications - Dolphin, the default KDE file manager"
|
||||
depends=("${pkgbase}>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-complete" "kde-uninstall")
|
||||
conflicts=("kdebase-dolphin")
|
||||
provides=("kdebase-dolphin" "dolphin")
|
||||
replaces=('kdebase-dolphin')
|
||||
categories=('system')
|
||||
install=kde-baseapps-dolphin.install
|
||||
|
||||
splitdirs="dolphin"
|
||||
splitdirs="dolphin doc/dolphin"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kde-baseapps-konqueror()
|
||||
{
|
||||
package_kde-baseapps-konqueror() {
|
||||
pkgdesc="KDE Base Applications - Konqueror, the default KDE web browser"
|
||||
depends=("${pkgbase}>=${_kdever}" "${pkgbase}-dolphin>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-minimal" "kde-uninstall")
|
||||
conflicts=("kdebase-konqueror")
|
||||
provides=("kdebase-konqueror" "konqueror")
|
||||
replaces=('kdebase-konqueror')
|
||||
categories=('network')
|
||||
install=kde-baseapps-konqueror.install
|
||||
|
||||
splitdirs="konqueror"
|
||||
splitdirs="konqueror doc/konqueror"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -193,14 +176,14 @@ package_kde-baseapps-konqueror()
|
||||
rm -vR ${pkgdir}/usr/share/kde4/service*
|
||||
}
|
||||
|
||||
package_kde-baseapps-konq-plugins()
|
||||
{
|
||||
package_kde-baseapps-konq-plugins() {
|
||||
pkgdesc="KDE Base Applications - Extra plugins for Konqueror"
|
||||
depends=("${pkgbase}-konqueror>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-minimal" "kde-uninstall")
|
||||
conflicts=('konq-plugins')
|
||||
provides=("konq-plugins")
|
||||
replaces=('konq-plugins')
|
||||
categories=('network')
|
||||
install=kde-baseapps-konqueror.install
|
||||
|
||||
splitdirs="konq-plugins"
|
||||
|
@ -1,10 +1,9 @@
|
||||
post_install() {
|
||||
echo " "
|
||||
echo " > ATTENTION:"
|
||||
echo " > kdebase-apps is split into 5 packages:"
|
||||
echo " > kdebase-apps is split into 4 packages:"
|
||||
echo " "
|
||||
echo " kde-baseapps : Base package"
|
||||
echo " kde-baseapps-doc : Documentation"
|
||||
echo " kde-baseapps-dolphin : The default KDE file manager"
|
||||
echo " kde-baseapps-konqueror : The default KDE web browser"
|
||||
echo " kde-baseapps-konq-plugins : Extra plugins for Konqueror"
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
post_install() {
|
||||
echo " "
|
||||
echo " > KDE Software Compilation 4.7.4"
|
||||
echo " > KDE Software Compilation 4.8.1"
|
||||
echo " > packaged by the Chakra Project"
|
||||
echo " "
|
||||
echo " Installation Prefix : /usr"
|
||||
|
@ -13,13 +13,15 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
# package info
|
||||
#
|
||||
pkgname=kde-kdm-themes
|
||||
pkgver=1.1
|
||||
pkgver=1.0.1
|
||||
pkgrel=1
|
||||
|
||||
pkgbase="kde-kdm-themes"
|
||||
pkgname=("kde-kdm-themes-crunchy-branch-blue"
|
||||
"kde-kdm-themes-ashoc"
|
||||
"kde-kdm-themes-neda")
|
||||
"kde-kdm-themes-neda"
|
||||
"kde-kdm-themes-ronak"
|
||||
"kde-kdm-themes-ronak-light")
|
||||
|
||||
|
||||
|
||||
@ -33,10 +35,14 @@ groups=("kde" "kde-complete" "kde-uninstall" "kde-minimal")
|
||||
|
||||
source=("http://chakra-project.org/sources/kde-kdm-themes/kde-kdm-themes-crunchy-branch-blue-1.0.tar.gz"
|
||||
"http://chakra-project.org/sources/kde-kdm-themes/kde-kdm-themes-ashoc-1.0.tar.gz"
|
||||
"http://chakra-project.org/sources/neda/NEDA.tar.gz")
|
||||
"http://chakra-project.org/sources/neda/NEDA.tar.gz"
|
||||
"http://chakra-project.org/sources/ronak/kdm-ronak-light-1.0.1.tar.gz"
|
||||
"http://chakra-project.org/sources/ronak/kdm-ronak-1.0.1.tar.gz")
|
||||
md5sums=("ce9d6d5d89770c0f48f8b1dfc473d54c" # kde-kdm-themes-crunchy-branch-blue-1.0.tar.gz
|
||||
"21dfcdaa8b47008d7d03ddb64b5e72d8" # kde-kdm-themes-ashoc-1.0.tar.gz
|
||||
'83686866b1e7313b77b3cf98c5c4ddc3')
|
||||
'83686866b1e7313b77b3cf98c5c4ddc3'
|
||||
'b27986f3ef514a2be16efb2e7ef28d5f'
|
||||
'e3c3460367c92491acee322e453dee11')
|
||||
|
||||
#_gitroot="git://git.chakra-project.org/artwork/kde-kdm-themes.git"
|
||||
#_gitname="kde-kdm-themes"
|
||||
@ -114,3 +120,33 @@ package_kde-kdm-themes-neda()
|
||||
chmod a+x $pkgdir/usr/share/apps/kdm/themes/NEDA/background.sh
|
||||
}
|
||||
|
||||
package_kde-kdm-themes-ronak()
|
||||
{
|
||||
|
||||
pkgdesc="Chakra Ronak KDM-Theme"
|
||||
groups=("kde" "kde-complete" "kde-uninstall" "kde-minimal" "kde-kdm-themes")
|
||||
install=('ronak.install')
|
||||
|
||||
cd ${srcdir}/kdm-ronak
|
||||
|
||||
mkdir -pv $pkgdir/usr/share/apps/kdm/themes/RONAK
|
||||
cp -Rv * $pkgdir/usr/share/apps/kdm/themes/RONAK
|
||||
cp -v ${startdir}/ronak-background.sh $pkgdir/usr/share/apps/kdm/themes/RONAK/background.sh
|
||||
chmod a+x $pkgdir/usr/share/apps/kdm/themes/RONAK/background.sh
|
||||
}
|
||||
|
||||
package_kde-kdm-themes-ronak-light()
|
||||
{
|
||||
|
||||
pkgdesc="Chakra Ronak-Light KDM-Theme"
|
||||
groups=("kde" "kde-complete" "kde-uninstall" "kde-minimal" "kde-kdm-themes")
|
||||
install=('ronak-light.install')
|
||||
|
||||
cd ${srcdir}/kdm-ronak-light
|
||||
|
||||
mkdir -pv $pkgdir/usr/share/apps/kdm/themes/RONAK-LIGHT
|
||||
cp -Rv * $pkgdir/usr/share/apps/kdm/themes/RONAK-LIGHT
|
||||
cp -v ${startdir}/ronak-light-background.sh $pkgdir/usr/share/apps/kdm/themes/RONAK-LIGHT/background.sh
|
||||
chmod a+x $pkgdir/usr/share/apps/kdm/themes/RONAK-LIGHT/background.sh
|
||||
}
|
||||
|
||||
|
36
kde-kdm-themes/ronak-background.sh
Normal file
36
kde-kdm-themes/ronak-background.sh
Normal file
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
#Copyright 2010 Phil Miller <philm@chakra-project.org>
|
||||
#
|
||||
#This program is free software; you can redistribute it and/or
|
||||
#modify it under the terms of the GNU General Public License as
|
||||
#published by the Free Software Foundation; either version 2 of
|
||||
#the License, or (at your option) any later version.
|
||||
#
|
||||
#This program is distributed in the hope that it will be useful,
|
||||
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
#GNU General Public License for more details.
|
||||
#
|
||||
#You should have received a copy of the GNU General Public License
|
||||
#along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
echo "Search for your current screen resolution (this may flicker)"
|
||||
|
||||
CURRENT_RES=`xrandr | grep '*' | cut -b -16 | sed 's/ //g'`
|
||||
|
||||
echo "Your current screen resolution is: $CURRENT_RES"
|
||||
echo "Try to link right backround ..."
|
||||
|
||||
FOLDER="/usr/share/apps/kdm/themes/RONAK/$CURRENT_RES"
|
||||
|
||||
if [ -d $FOLDER ];
|
||||
then
|
||||
echo "Using $FOLDER"
|
||||
cp -Rvf /usr/share/apps/kdm/themes/RONAK/$CURRENT_RES/* /usr/share/apps/kdm/themes/RONAK
|
||||
else
|
||||
echo "File $FILE does not exists! Using 1280x800"
|
||||
CURRENT_RES="1280x800"
|
||||
cp -Rvf /usr/share/apps/kdm/themes/RONAK/$CURRENT_RES/* /usr/share/apps/kdm/themes/RONAK
|
||||
fi
|
||||
|
36
kde-kdm-themes/ronak-light-background.sh
Normal file
36
kde-kdm-themes/ronak-light-background.sh
Normal file
@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
#Copyright 2010 Phil Miller <philm@chakra-project.org>
|
||||
#
|
||||
#This program is free software; you can redistribute it and/or
|
||||
#modify it under the terms of the GNU General Public License as
|
||||
#published by the Free Software Foundation; either version 2 of
|
||||
#the License, or (at your option) any later version.
|
||||
#
|
||||
#This program is distributed in the hope that it will be useful,
|
||||
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
#GNU General Public License for more details.
|
||||
#
|
||||
#You should have received a copy of the GNU General Public License
|
||||
#along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
echo "Search for your current screen resolution (this may flicker)"
|
||||
|
||||
CURRENT_RES=`xrandr | grep '*' | cut -b -16 | sed 's/ //g'`
|
||||
|
||||
echo "Your current screen resolution is: $CURRENT_RES"
|
||||
echo "Try to link right backround ..."
|
||||
|
||||
FOLDER="/usr/share/apps/kdm/themes/RONAK-LIGHT/$CURRENT_RES"
|
||||
|
||||
if [ -d $FOLDER ];
|
||||
then
|
||||
echo "Using $FOLDER"
|
||||
cp -Rvf /usr/share/apps/kdm/themes/RONAK-LIGHT/$CURRENT_RES/* /usr/share/apps/kdm/themes/RONAK-LIGHT
|
||||
else
|
||||
echo "File $FILE does not exists! Using 1280x800"
|
||||
CURRENT_RES="1280x800"
|
||||
cp -Rvf /usr/share/apps/kdm/themes/RONAK-LIGHT/$CURRENT_RES/* /usr/share/apps/kdm/themes/RONAK-LIGHT
|
||||
fi
|
||||
|
90
kde-kdm-themes/ronak-light.install
Normal file
90
kde-kdm-themes/ronak-light.install
Normal file
@ -0,0 +1,90 @@
|
||||
post_install() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
/usr/share/apps/kdm/themes/RONAK-LIGHT/background.sh
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
/usr/share/apps/kdm/themes/RONAK-LIGHT/background.sh
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
|
||||
$op $*
|
90
kde-kdm-themes/ronak.install
Normal file
90
kde-kdm-themes/ronak.install
Normal file
@ -0,0 +1,90 @@
|
||||
post_install() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
/usr/share/apps/kdm/themes/RONAK/background.sh
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
/usr/share/apps/kdm/themes/RONAK/background.sh
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
|
||||
$op $*
|
@ -13,13 +13,15 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
# package info
|
||||
#
|
||||
pkgname=kde-ksplash-themes
|
||||
pkgver=1.1
|
||||
pkgver=1.0.1
|
||||
pkgrel=1
|
||||
|
||||
pkgbase="${_pkgprefix}-ksplash-themes"
|
||||
pkgname=("${_pkgprefix}-ksplash-themes-crunchy-branch-blue"
|
||||
"${_pkgprefix}-ksplash-themes-ashoc"
|
||||
"${_pkgprefix}-ksplash-themes-neda")
|
||||
"${_pkgprefix}-ksplash-themes-neda"
|
||||
"${_pkgprefix}-ksplash-themes-ronak"
|
||||
"${_pkgprefix}-ksplash-themes-ronak-light")
|
||||
|
||||
pkgdesc="KDE KSplash-Themes for Chakra"
|
||||
url="http://chakra-project.org"
|
||||
@ -33,13 +35,17 @@ source=("http://chakra-project.org/sources/kde-ksplash-themes/kde-ksplash-themes
|
||||
"http://chakra-project.org/sources/kde-ksplash-themes/kde-ksplash-themes-ashoc-1.0.tar.gz"
|
||||
"http://chakra-project.org/sources/kde-ksplash-themes/ashoc-1.0-2-png.tar.gz"
|
||||
"http://chakra-project.org/sources/kde-ksplash-themes/crunchy-branch-blue-1.0-png.tar.gz"
|
||||
'http://chakra-project.org/sources/neda/NEDA.tar.gz')
|
||||
'http://chakra-project.org/sources/neda/NEDA.tar.gz'
|
||||
'http://chakra-project.org/sources/ronak/ksplash-ronak-1.0.1.tar.gz'
|
||||
'http://chakra-project.org/sources/ronak/ksplash-ronak-light-1.0.1.tar.gz')
|
||||
|
||||
md5sums=("0b10bc1f2e671aa895fae88f53f3c583" # kde-ksplash-themes-crunchy-branch-blue-1.0.tar.gz
|
||||
"d8ce77dd251138a9ef5a107542a086d6" # kde-ksplash-themes-ashoc-1.0.tar.gz
|
||||
"e9e16e1c6bc2661d922763b1fc76ffa8" # ashoc-1.0-2-png.tar.gz
|
||||
"b91f6203d846ba171771259d7689346d" # crunchy-branch-blue-1.0-png.tar.gz
|
||||
'83686866b1e7313b77b3cf98c5c4ddc3') # NEDA.tar.gz
|
||||
'83686866b1e7313b77b3cf98c5c4ddc3' # NEDA.tar.gz
|
||||
'2e9b621056ba539c29c9284d9dc5766e'
|
||||
'5ad2bdc452720393fdc478f304b0dcf4')
|
||||
|
||||
|
||||
#_gitroot="git://git.chakra-project.org/artwork/ksplash-themes.git"
|
||||
@ -153,3 +159,39 @@ package_kde-ksplash-themes-neda()
|
||||
sed -i -e "s~KStarboard~$_THEME~g" $pkgdir/usr/share/apps/ksplash/Themes/$_THEME/Theme.rc
|
||||
|
||||
}
|
||||
|
||||
package_kde-ksplash-themes-ronak()
|
||||
{
|
||||
|
||||
pkgdesc="Chakra Ronak KSplash-Theme"
|
||||
groups=("${_pkgprefix}" "${_pkgprefix}-complete" "${_pkgprefix}-uninstall" "${_pkgprefix}-minimal" "${_pkgprefix}-ksplash-themes")
|
||||
_THEME="RONAK"
|
||||
pkgrel=1
|
||||
|
||||
cd ${srcdir}/ksplash-ronak
|
||||
|
||||
msg "Install theme"
|
||||
mkdir -pv $pkgdir/usr/share/apps/ksplash/Themes/$_THEME
|
||||
cp -Rv * $pkgdir/usr/share/apps/ksplash/Themes/$_THEME
|
||||
# fix rc file
|
||||
sed -i -e "s~KStarboard~$_THEME~g" $pkgdir/usr/share/apps/ksplash/Themes/$_THEME/Theme.rc
|
||||
|
||||
}
|
||||
|
||||
package_kde-ksplash-themes-ronak-light()
|
||||
{
|
||||
|
||||
pkgdesc="Chakra Ronak-Light KSplash-Theme"
|
||||
groups=("${_pkgprefix}" "${_pkgprefix}-complete" "${_pkgprefix}-uninstall" "${_pkgprefix}-minimal" "${_pkgprefix}-ksplash-themes")
|
||||
_THEME="RONAK-LIGHT"
|
||||
pkgrel=1
|
||||
|
||||
cd ${srcdir}/ksplash-ronak-light
|
||||
|
||||
msg "Install theme"
|
||||
mkdir -pv $pkgdir/usr/share/apps/ksplash/Themes/$_THEME
|
||||
cp -Rv * $pkgdir/usr/share/apps/ksplash/Themes/$_THEME
|
||||
# fix rc file
|
||||
sed -i -e "s~KStarboard~$_THEME~g" $pkgdir/usr/share/apps/ksplash/Themes/$_THEME/Theme.rc
|
||||
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ pkgname=('kde-l10n-ar'
|
||||
'kde-l10n-ja'
|
||||
'kde-l10n-kk'
|
||||
'kde-l10n-km'
|
||||
'kde-l10n-kn'
|
||||
# 'kde-l10n-kn'
|
||||
'kde-l10n-ko'
|
||||
'kde-l10n-lt'
|
||||
'kde-l10n-lv'
|
||||
@ -64,13 +64,13 @@ pkgname=('kde-l10n-ar'
|
||||
'kde-l10n-pa'
|
||||
'kde-l10n-pl'
|
||||
'kde-l10n-pt'
|
||||
'kde-l10n-pt_br'
|
||||
# 'kde-l10n-pt_br'
|
||||
'kde-l10n-ro'
|
||||
'kde-l10n-ru'
|
||||
'kde-l10n-si'
|
||||
# 'kde-l10n-si'
|
||||
'kde-l10n-sk'
|
||||
'kde-l10n-sl'
|
||||
'kde-l10n-sr'
|
||||
# 'kde-l10n-sr'
|
||||
'kde-l10n-sv'
|
||||
# 'kde-l10n-tg'
|
||||
'kde-l10n-th'
|
||||
@ -78,8 +78,8 @@ pkgname=('kde-l10n-ar'
|
||||
'kde-l10n-ug'
|
||||
'kde-l10n-uk'
|
||||
'kde-l10n-wa'
|
||||
'kde-l10n-zh_cn'
|
||||
'kde-l10n-zh_tw')
|
||||
'kde-l10n-zh_CN'
|
||||
'kde-l10n-zh_TW')
|
||||
|
||||
|
||||
arch=('any')
|
||||
@ -94,68 +94,70 @@ depends=("kdelibs>=${_kdever}")
|
||||
options=('docs' 'log')
|
||||
|
||||
|
||||
source=(${_mirror}/kde-l10n/kde-l10n-ar-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-bg-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-bs-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-ca-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-ca@valencia-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-cs-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n/kde-l10n-csb-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-da-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-de-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-el-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-en_GB-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n/kde-l10n-eo-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-es-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-et-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-eu-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-fi-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-fr-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n/kde-l10n-fy-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-ga-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-gl-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n/kde-l10n-gu-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-he-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n/kde-l10n-hi-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-hr-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-hu-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-ia-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-id-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-is-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-it-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-ja-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-kk-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-km-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-kn-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-ko-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-lt-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-lv-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n/kde-l10n-mai-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n/kde-l10n-mk-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n/kde-l10n-ml-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-nb-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-nds-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-nl-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-nn-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-pa-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-pl-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-pt-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-pt_BR-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-ro-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-ru-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-si-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-sk-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-sl-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-sr-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-sv-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n/kde-l10n-tg-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-th-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-tr-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-ug-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-uk-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-wa-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-zh_CN-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n/kde-l10n-zh_TW-${pkgver}.tar.bz2)
|
||||
source=(${_mirror}/kde-l10n-ar-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-bg-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-bs-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-ca-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-ca@valencia-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-cs-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n-csb-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-da-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-de-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-el-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-en_GB-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n-eo-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-es-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-et-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-eu-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-fa-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-fi-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-fr-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n-fy-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-ga-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-gl-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n-gu-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-he-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n-hi-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-hr-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-hu-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-ia-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-id-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-is-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-it-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-ja-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-kk-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-km-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n-kn-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-ko-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-lt-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-lv-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n-mai-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n-mk-${pkgver}.tar.bz2
|
||||
# ${_mirror}/kde-l10n-ml-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-nb-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-nds-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-nl-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-nn-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-pa-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-pl-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-pt-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-pt_BR-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-ro-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-ru-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-si-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-sk-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-sl-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-sr-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-sv-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-tg-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-th-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-tr-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-ug-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-uk-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-vi-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-wa-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-zh_CN-${pkgver}.tar.bz2
|
||||
${_mirror}/kde-l10n-zh_TW-${pkgver}.tar.bz2)
|
||||
|
||||
md5sums=(`grep kde-l10n-ar-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-bg-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
@ -172,6 +174,7 @@ md5sums=(`grep kde-l10n-ar-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-es-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-et-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-eu-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-fa-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-fi-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-fr-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-fy-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
@ -216,6 +219,7 @@ md5sums=(`grep kde-l10n-ar-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-tr-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-ug-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-uk-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-vi-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-wa-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-zh_CN-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-l10n-zh_TW-${pkgver}.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
@ -227,6 +231,8 @@ build()
|
||||
{
|
||||
cd $startdir/src/
|
||||
|
||||
|
||||
|
||||
packs=('ar'
|
||||
'bg'
|
||||
'bs'
|
||||
@ -242,6 +248,7 @@ packs=('ar'
|
||||
'es'
|
||||
'et'
|
||||
'eu'
|
||||
'fa'
|
||||
'fi'
|
||||
'fr'
|
||||
# 'fy'
|
||||
@ -259,7 +266,7 @@ packs=('ar'
|
||||
'ja'
|
||||
'kk'
|
||||
'km'
|
||||
'kn'
|
||||
# 'kn'
|
||||
'ko'
|
||||
'lt'
|
||||
'lv'
|
||||
@ -281,11 +288,12 @@ packs=('ar'
|
||||
'sl'
|
||||
'sr'
|
||||
'sv'
|
||||
# 'tg'
|
||||
'tg'
|
||||
'th'
|
||||
'tr'
|
||||
'ug'
|
||||
'uk'
|
||||
'vi'
|
||||
'wa'
|
||||
'zh_CN'
|
||||
'zh_TW')
|
||||
@ -316,6 +324,7 @@ package_kde-l10n-ar()
|
||||
{
|
||||
pkgdesc="KDE language support: Arabic"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ar-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -326,6 +335,7 @@ package_kde-l10n-as()
|
||||
{
|
||||
pkgdesc="KDE language support: Assamese"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-as-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -336,6 +346,7 @@ package_kde-l10n-ast()
|
||||
{
|
||||
pkgdesc="KDE language support: Asturian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ast-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -346,6 +357,7 @@ package_kde-l10n-be()
|
||||
{
|
||||
pkgdesc="KDE language support: Belarusian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-be-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -356,6 +368,7 @@ package_kde-l10n-be@latin()
|
||||
{
|
||||
pkgdesc="KDE language support: Belarusian (Latin)"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-be@latin-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -366,6 +379,7 @@ package_kde-l10n-bg()
|
||||
{
|
||||
pkgdesc="KDE language support: Bulgarian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-bg-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -376,6 +390,7 @@ package_kde-l10n-bn-in()
|
||||
{
|
||||
pkgdesc="KDE language support: Bengali (India)"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-bn_IN-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -387,6 +402,7 @@ package_kde-l10n-bn()
|
||||
{
|
||||
pkgdesc="KDE language support: Bengali"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-bn-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -397,6 +413,7 @@ package_kde-l10n-bs()
|
||||
{
|
||||
pkgdesc="KDE language support: Bosnian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-bs-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -407,6 +424,7 @@ package_kde-l10n-ca()
|
||||
{
|
||||
pkgdesc="KDE language support: Catalan"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ca-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -417,6 +435,7 @@ package_kde-l10n-ca@valencia()
|
||||
{
|
||||
pkgdesc="KDE language support: Valencian (southern Catalan)"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ca@valencia-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -427,6 +446,7 @@ package_kde-l10n-crh()
|
||||
{
|
||||
pkgdesc="KDE language support: Crimean Tatar"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-crh-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -437,6 +457,7 @@ package_kde-l10n-cs()
|
||||
{
|
||||
pkgdesc="KDE language support: Czech"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-cs-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -447,6 +468,7 @@ package_kde-l10n-csb()
|
||||
{
|
||||
pkgdesc="KDE language support: Kashubian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-csb-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -457,6 +479,7 @@ package_kde-l10n-cy()
|
||||
{
|
||||
pkgdesc="KDE language support: Welsh"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-cy-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -467,6 +490,7 @@ package_kde-l10n-da()
|
||||
{
|
||||
pkgdesc="KDE language support: Danish"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-da-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -477,6 +501,7 @@ package_kde-l10n-de()
|
||||
{
|
||||
pkgdesc="KDE language support: German"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-de-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -487,6 +512,7 @@ package_kde-l10n-el()
|
||||
{
|
||||
pkgdesc="KDE language support: Greek"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-el-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -497,6 +523,7 @@ package_kde-l10n-en_gb()
|
||||
{
|
||||
pkgdesc="KDE language support: British English"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-en_GB-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -507,6 +534,7 @@ package_kde-l10n-eo()
|
||||
{
|
||||
pkgdesc="KDE language support: Esperanto"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-eo-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -517,6 +545,7 @@ package_kde-l10n-es()
|
||||
{
|
||||
pkgdesc="KDE language support: Spanish"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-es-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -527,6 +556,7 @@ package_kde-l10n-et()
|
||||
{
|
||||
pkgdesc="KDE language support: Estonian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-et-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -537,6 +567,7 @@ package_kde-l10n-eu()
|
||||
{
|
||||
pkgdesc="KDE language support: Basque"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-eu-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -547,6 +578,7 @@ package_kde-l10n-fa()
|
||||
{
|
||||
pkgdesc="KDE language support: Farsi (Persian)"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-fa-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -557,6 +589,7 @@ package_kde-l10n-fi()
|
||||
{
|
||||
pkgdesc="KDE language support: Finnish"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-fi-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -567,6 +600,7 @@ package_kde-l10n-fr()
|
||||
{
|
||||
pkgdesc="KDE language support: French"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-fr-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -577,6 +611,7 @@ package_kde-l10n-fy()
|
||||
{
|
||||
pkgdesc="KDE language support: Frisian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-fy-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -587,6 +622,7 @@ package_kde-l10n-ga()
|
||||
{
|
||||
pkgdesc="KDE language support: Irish Gaelic"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ga-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -597,6 +633,7 @@ package_kde-l10n-gl()
|
||||
{
|
||||
pkgdesc="KDE language support: Galician"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-gl-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -607,6 +644,7 @@ package_kde-l10n-gu()
|
||||
{
|
||||
pkgdesc="KDE language support: Gujarati"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-gu-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -617,6 +655,7 @@ package_kde-l10n-ha()
|
||||
{
|
||||
pkgdesc="KDE language support: Hausa"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ha-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -627,6 +666,7 @@ package_kde-l10n-he()
|
||||
{
|
||||
pkgdesc="KDE language support: Hebrew"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-he-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -637,6 +677,7 @@ package_kde-l10n-hi()
|
||||
{
|
||||
pkgdesc="KDE language support: Hindi"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-hi-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -647,6 +688,7 @@ package_kde-l10n-hne()
|
||||
{
|
||||
pkgdesc="KDE language support: Chhattisgarhi"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-hne-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -657,6 +699,7 @@ package_kde-l10n-hr()
|
||||
{
|
||||
pkgdesc="KDE language support: Croatian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-hr-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -667,6 +710,7 @@ package_kde-l10n-hsb()
|
||||
{
|
||||
pkgdesc="KDE language support: Upper Sorbian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-hsb-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -677,6 +721,7 @@ package_kde-l10n-hu()
|
||||
{
|
||||
pkgdesc="KDE language support: Hungarian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-hu-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -687,6 +732,7 @@ package_kde-l10n-hy()
|
||||
{
|
||||
pkgdesc="KDE language support: Armenian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-hy-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -697,6 +743,7 @@ package_kde-l10n-ia()
|
||||
{
|
||||
pkgdesc="KDE language support: Interlingua"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ia-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -707,6 +754,7 @@ package_kde-l10n-id()
|
||||
{
|
||||
pkgdesc="KDE language support: Indonesian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-id-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -717,6 +765,7 @@ package_kde-l10n-is()
|
||||
{
|
||||
pkgdesc="KDE language support: Icelandic"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-is-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -727,6 +776,7 @@ package_kde-l10n-it()
|
||||
{
|
||||
pkgdesc="KDE language support: Italian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
# FIXME
|
||||
touch ${srcdir}/kde-l10n-it-${pkgver}/docs/kdeaccessibility/kmag/kmag.1
|
||||
@ -739,6 +789,7 @@ package_kde-l10n-ja()
|
||||
{
|
||||
pkgdesc="KDE language support: Japanese"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ja-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -749,6 +800,7 @@ package_kde-l10n-ka()
|
||||
{
|
||||
pkgdesc="KDE language support: Georgian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ka-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -759,6 +811,7 @@ package_kde-l10n-kk()
|
||||
{
|
||||
pkgdesc="KDE language support: Kazakh"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-kk-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -769,6 +822,7 @@ package_kde-l10n-km()
|
||||
{
|
||||
pkgdesc="KDE language support: Khmer"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-km-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -779,6 +833,7 @@ package_kde-l10n-kn()
|
||||
{
|
||||
pkgdesc="KDE language support: Kannada"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-kn-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -789,6 +844,7 @@ package_kde-l10n-ko()
|
||||
{
|
||||
pkgdesc="KDE language support: Korean"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ko-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -799,6 +855,7 @@ package_kde-l10n-ku()
|
||||
{
|
||||
pkgdesc="KDE language support: Kurdish"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ku-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -809,6 +866,7 @@ package_kde-l10n-lb()
|
||||
{
|
||||
pkgdesc="KDE language support: Luxembourgish"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-lb-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -819,6 +877,7 @@ package_kde-l10n-lt()
|
||||
{
|
||||
pkgdesc="KDE language support: Lithuanian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-lt-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -829,6 +888,7 @@ package_kde-l10n-lv()
|
||||
{
|
||||
pkgdesc="KDE language support: Latvian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-lv-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -839,6 +899,7 @@ package_kde-l10n-mai()
|
||||
{
|
||||
pkgdesc="KDE language support: Maithili"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-mai-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -849,6 +910,7 @@ package_kde-l10n-mk()
|
||||
{
|
||||
pkgdesc="KDE language support: Macedonian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-mk-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -859,6 +921,7 @@ package_kde-l10n-ml()
|
||||
{
|
||||
pkgdesc="KDE language support: Malayalam"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ml-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -869,6 +932,7 @@ package_kde-l10n-mr()
|
||||
{
|
||||
pkgdesc="KDE language support: Marathi"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-mr-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -879,6 +943,7 @@ package_kde-l10n-ms()
|
||||
{
|
||||
pkgdesc="KDE language support: Malay"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ms-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -889,6 +954,7 @@ package_kde-l10n-nb()
|
||||
{
|
||||
pkgdesc="KDE language support: Norwegian Bokmal"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-nb-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -899,6 +965,7 @@ package_kde-l10n-nds()
|
||||
{
|
||||
pkgdesc="KDE language support: Low Saxon"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-nds-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -909,6 +976,7 @@ package_kde-l10n-ne()
|
||||
{
|
||||
pkgdesc="KDE language support: Nepali"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ne-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -919,6 +987,7 @@ package_kde-l10n-nl()
|
||||
{
|
||||
pkgdesc="KDE language support: Dutch"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-nl-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -929,6 +998,7 @@ package_kde-l10n-nn()
|
||||
{
|
||||
pkgdesc="KDE language support: Norwegian Nynorsk"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-nn-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -939,6 +1009,7 @@ package_kde-l10n-oc()
|
||||
{
|
||||
pkgdesc="KDE language support: Occitan"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-oc-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -949,6 +1020,7 @@ package_kde-l10n-or()
|
||||
{
|
||||
pkgdesc="KDE language support: Oriya"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-or-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -959,6 +1031,7 @@ package_kde-l10n-pa()
|
||||
{
|
||||
pkgdesc="KDE language support: Panjabi & Punjabi"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-pa-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -969,6 +1042,7 @@ package_kde-l10n-pl()
|
||||
{
|
||||
pkgdesc="KDE language support: Polish"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-pl-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -979,6 +1053,7 @@ package_kde-l10n-ps()
|
||||
{
|
||||
pkgdesc="KDE language support: Pashto"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ps-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -989,6 +1064,7 @@ package_kde-l10n-pt()
|
||||
{
|
||||
pkgdesc="KDE language support: Portugese"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-pt-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -999,6 +1075,7 @@ package_kde-l10n-pt_br()
|
||||
{
|
||||
pkgdesc="KDE language support: Brazilian Portuguese"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-pt_BR-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1009,6 +1086,7 @@ package_kde-l10n-ro()
|
||||
{
|
||||
pkgdesc="KDE language support: Romanian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ro-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1019,6 +1097,7 @@ package_kde-l10n-ru()
|
||||
{
|
||||
pkgdesc="KDE language support: Russian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ru-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1029,6 +1108,7 @@ package_kde-l10n-se()
|
||||
{
|
||||
pkgdesc="KDE language support: Northern Sami"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-se-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1039,6 +1119,7 @@ package_kde-l10n-si()
|
||||
{
|
||||
pkgdesc="KDE language support: Sinhala"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-si-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1050,6 +1131,7 @@ package_kde-l10n-sk()
|
||||
{
|
||||
pkgdesc="KDE language support: Slovak"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-sk-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1060,6 +1142,7 @@ package_kde-l10n-sl()
|
||||
{
|
||||
pkgdesc="KDE language support: Slovenian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-sl-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1070,6 +1153,7 @@ package_kde-l10n-sr()
|
||||
{
|
||||
pkgdesc="KDE language support: Serbian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-sr-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1080,6 +1164,7 @@ package_kde-l10n-sr@ijekavian()
|
||||
{
|
||||
pkgdesc="KDE language support: Serbian (Ijekavian)"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-sr@ijekavian-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1090,6 +1175,7 @@ package_kde-l10n-sr@ijekavianlatin()
|
||||
{
|
||||
pkgdesc="KDE language support: Serbian (Ijekavian Latin)"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-sr@ijekavianlatin-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1100,6 +1186,7 @@ package_kde-l10n-sr@latin()
|
||||
{
|
||||
pkgdesc="KDE language support: Serbian (Latin)"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-sr@latin-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1110,6 +1197,7 @@ package_kde-l10n-sv()
|
||||
{
|
||||
pkgdesc="KDE language support: Swedish"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-sv-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1120,6 +1208,7 @@ package_kde-l10n-ta()
|
||||
{
|
||||
pkgdesc="KDE language support: Tamil"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-ta-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1130,6 +1219,7 @@ package_kde-l10n-te()
|
||||
{
|
||||
pkgdesc="KDE language support: Telugu"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-te-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1140,6 +1230,7 @@ package_kde-l10n-tg()
|
||||
{
|
||||
pkgdesc="KDE language support: Tajik"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-tg-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1151,6 +1242,7 @@ package_kde-l10n-th()
|
||||
{
|
||||
pkgdesc="KDE language support: Thai"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-th-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1161,6 +1253,7 @@ package_kde-l10n-tr()
|
||||
{
|
||||
pkgdesc="KDE language support: Turkish"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-tr-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1171,6 +1264,7 @@ package_kde-l10n-ug()
|
||||
{
|
||||
pkgdesc="KDE language support: Uyghur"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-uk-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1181,6 +1275,7 @@ package_kde-l10n-uk()
|
||||
{
|
||||
pkgdesc="KDE language support: Ukrainian"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-uk-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1191,6 +1286,7 @@ package_kde-l10n-uz()
|
||||
{
|
||||
pkgdesc="KDE language support: Uzbek"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-uz-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1201,6 +1297,7 @@ package_kde-l10n-uz@cyrillic()
|
||||
{
|
||||
pkgdesc="KDE language support: Uzbek (Cyrillic)"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-uz@cyrillic-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1211,6 +1308,7 @@ package_kde-l10n-vi()
|
||||
{
|
||||
pkgdesc="KDE language support: Vietnamese"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-vi-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1221,6 +1319,7 @@ package_kde-l10n-wa()
|
||||
{
|
||||
pkgdesc="KDE language support: Walloon"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-wa-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1231,16 +1330,18 @@ package_kde-l10n-xh()
|
||||
{
|
||||
pkgdesc="KDE language support: Xhosa"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-xh-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
popd
|
||||
}
|
||||
|
||||
package_kde-l10n-zh_cn()
|
||||
package_kde-l10n-zh_CN()
|
||||
{
|
||||
pkgdesc="KDE language support: Chinese Simplified"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-zh_CN-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -1251,16 +1352,18 @@ package_kde-l10n-zh_hk()
|
||||
{
|
||||
pkgdesc="KDE language support: Chinese Hong Kong"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-zh_HK-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
popd
|
||||
}
|
||||
|
||||
package_kde-l10n-zh_tw()
|
||||
package_kde-l10n-zh_TW()
|
||||
{
|
||||
pkgdesc="KDE language support: Chinese Traditional"
|
||||
groups=("kde-uninstall" "kde-l10n")
|
||||
categories=('localization')
|
||||
|
||||
pushd ${srcdir}/kde-l10n-zh_TW-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
@ -9,18 +9,18 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgbase="kde-plasma-themes"
|
||||
pkgname=("kde-plasma-themes-neda"
|
||||
"kde-plasma-themes-kneda")
|
||||
"kde-plasma-themes-ronak")
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
|
||||
source=('http://chakra-project.org/sources/neda/Neda-1.7.4.tar.gz'
|
||||
'http://chakra-project.org/sources/kneda/Kneda-0.6.4.tar.gz')
|
||||
md5sums=('22dfbe05a16601fb359dcbbd7f068ab7'
|
||||
'149b1ace8fa3d2d7f981bc6841749f83')
|
||||
source=('http://chakra-linux.org/sources/neda/Neda-1.8.3.2.tar.gz'
|
||||
'http://chakra-linux.org/sources/ronak/ronak-plasma-1.0.tar.gz')
|
||||
md5sums=('0be3b8f65318e4147cbc1720fb772463'
|
||||
'83537e8480609ea7142f036e7ca37752')
|
||||
|
||||
package_kde-plasma-themes-neda() {
|
||||
pkgver=1.7.4
|
||||
pkgver=1.8.3.2
|
||||
pkgrel=1
|
||||
pkgdesc="Chakra NEDA Plasma theme"
|
||||
url="http://www.chakra-project.org"
|
||||
@ -35,15 +35,15 @@ replaces=('kde-plasma-themes-kneda')
|
||||
find $pkgdir/ -name ".directory" -type f -exec rm -fr {} +
|
||||
}
|
||||
|
||||
package_kde-plasma-themes-kneda() {
|
||||
pkgver=0.6.4
|
||||
package_kde-plasma-themes-ronak() {
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Chakra KNEDA Plasma theme"
|
||||
pkgdesc="Chakra RONAK Plasma theme"
|
||||
url="http://www.chakra-project.org"
|
||||
license=('GPL')
|
||||
mkdir -p $pkgdir/usr/share/apps/desktoptheme
|
||||
cd $startdir/src
|
||||
cp -R Kneda $pkgdir/usr/share/apps/desktoptheme
|
||||
mkdir -p $pkgdir/usr/share/apps/desktoptheme/RONAK
|
||||
cd $startdir/src/ronak-plasma
|
||||
cp -R * $pkgdir/usr/share/apps/desktoptheme/RONAK
|
||||
# fix file rights
|
||||
chmod 755 -R $pkgdir/usr/share/apps/desktoptheme
|
||||
# remove nasty files
|
||||
|
@ -10,53 +10,51 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgbase="kde-runtime"
|
||||
pkgname=('kde-runtime'
|
||||
'kde-runtime-doc')
|
||||
|
||||
pkgname="kde-runtime"
|
||||
arch=('i686' 'x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="split package"
|
||||
pkgdesc="KDE Runtime"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
depends=("kdelibs>=${_kdever}" 'oxygen-icons' 'xorg-xauth' 'hicolor-icon-theme'
|
||||
'smbclient' 'rarian' 'libssh' 'libpulse' 'libssh' 'ntrack' 'libcanberra' 'sound-theme-freedesktop' 'qt-mobility')
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' "kdepimlibs>=${_kdever}" 'openslp' 'docbook-xml' 'docbook-xsl'
|
||||
'xine-lib' 'libpulse' 'libssh' 'ntrack' 'libcanberra' 'libcanberra-pulse' 'samba' 'soprano')
|
||||
groups=('kde')
|
||||
|
||||
optdepends=('htdig: to build the search index' 'gdb: drkonq crash handler')
|
||||
groups=("kde" "kde-minimal" "kde-uninstall")
|
||||
eplaces=('kdebase-runtime' 'kde-runtime-doc')
|
||||
provides=('kdebase-runtime' 'kde-runtime-doc')
|
||||
conflicts=('kdebase-runtime' 'kde-runtime-doc')
|
||||
install=kde-runtime.install
|
||||
noextract=(branding.svgz)
|
||||
|
||||
source=($_mirror/${pkgbase}-$_kdever.tar.bz2
|
||||
source=($_mirror/${pkgname}-$_kdever.tar.bz2
|
||||
branding.svgz
|
||||
# 01_knetattach_use_sftp.patch
|
||||
# 02_oxygenify_knetattach_icon.patch
|
||||
# 01_knetattach_use_sftp.patch
|
||||
# 02_oxygenify_knetattach_icon.patch
|
||||
03_disable_logout_sound.patch)
|
||||
|
||||
md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
'68cd8eb57db22c2f2ed554b721253bc2' # branding.svgz
|
||||
# '45fa12b8baf21c4fc845147afcea2bc1' # 01_knetattach_use_sftp.patch
|
||||
# '1f0225f31d5f44e753e966fd3a032f00' # 02_oxygenify_knetattach_icon.patch
|
||||
md5sums=(`grep ${pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
'68cd8eb57db22c2f2ed554b721253bc2' # branding.svgz
|
||||
# '45fa12b8baf21c4fc845147afcea2bc1' # 01_knetattach_use_sftp.patch
|
||||
# '1f0225f31d5f44e753e966fd3a032f00' # 02_oxygenify_knetattach_icon.patch
|
||||
'a434bf282ee391b2f857184be59a3b6f') # 03_disable_logout_sound.patch
|
||||
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build()
|
||||
{
|
||||
cd ${pkgbase}-${pkgver}
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
msg "applying main patchset ..."
|
||||
# patch -Np1 -i ${srcdir}/01_knetattach_use_sftp.patch
|
||||
# patch -Np1 -i ${srcdir}/02_oxygenify_knetattach_icon.patch
|
||||
patch -Np1 -i ${srcdir}/03_disable_logout_sound.patch
|
||||
|
||||
# msg "add hotfixes ..."
|
||||
|
||||
|
||||
# copy our branding stuff
|
||||
cp -f ${srcdir}/branding.svgz ${srcdir}/${pkgbase}-${pkgver}/desktoptheme/oxygen/widgets/
|
||||
cp -f ${srcdir}/branding.svgz ${srcdir}/${pkgbase}-${pkgver}/desktoptheme/air/widgets/
|
||||
cp -f ${srcdir}/branding.svgz ${srcdir}/${pkgname}-${pkgver}/desktoptheme/oxygen/widgets/
|
||||
cp -f ${srcdir}/branding.svgz ${srcdir}/${pkgname}-${pkgver}/desktoptheme/air/widgets/
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
@ -68,30 +66,10 @@ build()
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
|
||||
#
|
||||
# split-install functions
|
||||
#
|
||||
package_kde-runtime()
|
||||
{
|
||||
pkgdesc="KDE Runtime"
|
||||
depends=("kdelibs>=${_kdever}" 'oxygen-icons' 'xorg-xauth' 'hicolor-icon-theme'
|
||||
'smbclient' 'rarian' 'libssh' 'libpulse' 'libssh' 'ntrack' 'libcanberra' 'sound-theme-freedesktop')
|
||||
optdepends=('htdig: to build the search index' 'gdb: drkonq crash handler')
|
||||
groups=("kde" "kde-minimal" "kde-uninstall")
|
||||
replaces=('kdebase-runtime')
|
||||
provides=('kdebase-runtime')
|
||||
conflicts=('kdebase-runtime')
|
||||
install=kde-runtime.install
|
||||
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}/
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
# also in kde-runtime-doc
|
||||
rm -rf ${pkgdir}/usr/share/man
|
||||
rm -rf ${pkgdir}/usr/share/doc
|
||||
|
||||
# put kdesu into the path
|
||||
cp ${pkgdir}/usr/lib/kde4/libexec/kdesu ${pkgdir}/usr/bin/kdesu
|
||||
|
||||
@ -104,10 +82,10 @@ package_kde-runtime()
|
||||
ls -1 ${startdir}/*.patch &>/dev/null 2>&1
|
||||
if [ "$?" = "0" ]; then
|
||||
warning "incuding patches into package"
|
||||
mkdir -p ${pkgdir}/usr/share/chakra/patches/${pkgbase} &>/dev/null
|
||||
mkdir -p ${pkgdir}/usr/share/chakra/patches/${pkgname} &>/dev/null
|
||||
for i in ${startdir}/*.patch; do
|
||||
msg "$i"
|
||||
cp $i ${pkgdir}/usr/share/chakra/patches/${pkgbase}/ &>/dev/null
|
||||
cp $i ${pkgdir}/usr/share/chakra/patches/${pkgname}/ &>/dev/null
|
||||
done
|
||||
else
|
||||
warning "no patches found, skipping to include them into the package..."
|
||||
@ -117,17 +95,3 @@ package_kde-runtime()
|
||||
rm -rf ${pkgdir}/usr/share/icons/hicolor/index.theme
|
||||
rm -rf ${pkgdir}/usr/share/icons/default.kde4
|
||||
}
|
||||
|
||||
package_kde-runtime-doc()
|
||||
{
|
||||
pkgdesc="KDE Runtime - Documentation"
|
||||
groups=("kde" "kde-uninstall" "kde-doc")
|
||||
replaces=('kdebase-runtime-doc')
|
||||
|
||||
splitdirs="doc"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install
|
||||
done
|
||||
}
|
||||
|
||||
|
@ -1,99 +0,0 @@
|
||||
--- a/kuiserver/jobview.cpp
|
||||
+++ b/kuiserver/jobview.cpp
|
||||
@@ -32,6 +32,10 @@
|
||||
|
||||
JobView::JobView(uint jobId, QObject *parent)
|
||||
: QObject(parent),
|
||||
+ m_capabilities(-1),
|
||||
+ m_percent(-1),
|
||||
+ m_totalAmount(0),
|
||||
+ m_processAmount(0),
|
||||
m_jobId(jobId),
|
||||
m_state(Running),
|
||||
m_isTerminated(false),
|
||||
@@ -110,6 +114,9 @@ void JobView::setTotalAmount(qulonglong
|
||||
pair.second->asyncCall(QLatin1String("setTotalAmount"), amount, unit);
|
||||
}
|
||||
|
||||
+ m_totalAmount = amount;
|
||||
+ m_totalUnit = unit;
|
||||
+
|
||||
if (unit == "bytes") {
|
||||
m_sizeTotal = amount ? KGlobal::locale()->formatByteSize(amount) : QString();
|
||||
|
||||
@@ -135,6 +142,9 @@ void JobView::setProcessedAmount(qulongl
|
||||
pair.second->asyncCall(QLatin1String("setProcessedAmount"), amount, unit);
|
||||
}
|
||||
|
||||
+ m_processAmount = amount;
|
||||
+ m_processUnit = unit;
|
||||
+
|
||||
if (unit == "bytes") {
|
||||
m_sizeProcessed = amount ? KGlobal::locale()->formatByteSize(amount) : QString();
|
||||
|
||||
@@ -316,6 +326,47 @@ void JobView::addJobContact(const QStrin
|
||||
connect(client, SIGNAL(cancelRequested()), this, SIGNAL(cancelRequested()));
|
||||
Q_ASSERT(!m_objectPaths.contains(address));
|
||||
m_objectPaths.insert(address, pair);
|
||||
+
|
||||
+ //If the job already has any information, send it to the contact
|
||||
+ if (m_capabilities > -1) {
|
||||
+ client->asyncCall(QLatin1String("setCapabilities"), m_capabilities);
|
||||
+ }
|
||||
+
|
||||
+ if (!m_applicationName.isEmpty()) {
|
||||
+ client->asyncCall(QLatin1String("setAppName"), m_applicationName);
|
||||
+ }
|
||||
+
|
||||
+ if (!m_appIconName.isEmpty()) {
|
||||
+ client->asyncCall(QLatin1String("setAppIconName"), m_appIconName);
|
||||
+ }
|
||||
+
|
||||
+ if (m_percent > -1) {
|
||||
+ client->asyncCall(QLatin1String("setPercent"), m_percent);
|
||||
+ }
|
||||
+
|
||||
+ if (!m_infoMessage.isEmpty()) {
|
||||
+ client->asyncCall(QLatin1String("setInfoMessage"), m_infoMessage);
|
||||
+ }
|
||||
+
|
||||
+ if (!m_descFields.isEmpty()) {
|
||||
+ QHashIterator<uint, QPair <QString, QString > > i(m_descFields);
|
||||
+ while (i.hasNext()) {
|
||||
+ i.next();
|
||||
+ client->asyncCall(QLatin1String("setDescriptionField"), i.key(), i.value().first, i.value().second);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (m_state == Suspended) {
|
||||
+ client->asyncCall(QLatin1String("setSuspended"), true);
|
||||
+ }
|
||||
+
|
||||
+ if (m_processAmount > 0) {
|
||||
+ client->asyncCall(QLatin1String("setProcessedAmount"), m_processAmount, m_processUnit);
|
||||
+ }
|
||||
+
|
||||
+ if (m_totalAmount > 0) {
|
||||
+ client->asyncCall(QLatin1String("setTotalAmount"), m_totalAmount, m_totalUnit);
|
||||
+ }
|
||||
}
|
||||
|
||||
QStringList JobView::jobContacts()
|
||||
|
||||
--- a/kuiserver/jobview.h
|
||||
+++ b/kuiserver/jobview.h
|
||||
@@ -200,6 +200,14 @@ private:
|
||||
|
||||
QString m_error; ///< The error message of the job, set when it's terminated
|
||||
|
||||
+ QString m_totalUnit; ///< The unit used in setTotalAmount
|
||||
+
|
||||
+ qulonglong m_totalAmount; ///< The amount used in setTotalAmount
|
||||
+
|
||||
+ QString m_processUnit; ///< The unit used in setProcessedAmount
|
||||
+
|
||||
+ qulonglong m_processAmount; ///< The processed amount (setProcessedAmount)
|
||||
+
|
||||
QHash<uint, QPair<QString, QString> > m_descFields;
|
||||
|
||||
QVariant m_destUrl;
|
@ -1,12 +1,4 @@
|
||||
post_install() {
|
||||
echo " "
|
||||
echo " > ATTENTION:"
|
||||
echo " > kde-runtime is split into 2 packages and replaces kdebase-runtime:"
|
||||
echo " "
|
||||
echo " kde-runtime : Base package"
|
||||
echo " kde-runtime-doc : Documentation"
|
||||
echo " "
|
||||
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
271
kde-sc.md5
271
kde-sc.md5
@ -1,124 +1,147 @@
|
||||
059689341598c0a43a9369f47415adaf blinken-4.7.4.tar.bz2
|
||||
041e2703cfb8bab4399306b38af0a84b cantor-4.7.4.tar.bz2
|
||||
65520b2e83b401c926913f88bde6c9a1 gwenview-4.7.4.tar.bz2
|
||||
6e1e4c24c342630026812e5e2e5f3b6b kalgebra-4.7.4.tar.bz2
|
||||
73a38220f4b973f45da6134d8b8dcbb7 kalzium-4.7.4.tar.bz2
|
||||
5977355fb1dd14197fc78d5b90a6680c kamera-4.7.4.tar.bz2
|
||||
6459c04804a58111b825c658f4bc5439 kanagram-4.7.4.tar.bz2
|
||||
565ebff0d1e2316097897149eeb4d255 kate-4.7.4.tar.bz2
|
||||
39f6eaf063e31aef694df30ce998396e kbruch-4.7.4.tar.bz2
|
||||
9a66ae51f42f681344664efb87645e38 kcolorchooser-4.7.4.tar.bz2
|
||||
d44310cad99a9afb757ff13f24eeae32 kde-baseapps-4.7.4.tar.bz2
|
||||
8e6af5f464ae06e3b7cbfd73aa9f7971 kde-runtime-4.7.4.tar.bz2
|
||||
e3606013a1406ba87293aa5948a6c123 kde-wallpapers-4.7.4.tar.bz2
|
||||
42492b9669b1bb8d549b59223b8732cb kde-workspace-4.7.4.tar.bz2
|
||||
8cad28a2e76f020f7aaca2709447f5f9 kdeaccessibility-4.7.4.tar.bz2
|
||||
890660c26e177187106144d52741437f kdeadmin-4.7.4.tar.bz2
|
||||
5a287460b09252853276ad6644753326 kdeartwork-4.7.4.tar.bz2
|
||||
0446dcecc7723a3df0324d394327b984 kdegames-4.7.4.tar.bz2
|
||||
5489ad5a410636b994bbd7660814f796 kdegraphics-strigi-analyzer-4.7.4.tar.bz2
|
||||
cf1fb62fa3f9668406a1a27c3cc3b8d2 kdegraphics-thumbnailers-4.7.4.tar.bz2
|
||||
46baa210a6f5a0d6af4b7602a4b00994 kdelibs-4.7.4.tar.bz2
|
||||
64dc14f2b964b9e5b412090b046a0268 kdemultimedia-4.7.4.tar.bz2
|
||||
e180222d932c64574ba5b8ef31e6bb86 kdenetwork-4.7.4.tar.bz2
|
||||
fd197859ad0f3c55a175133c2a7b6c47 kdepim-4.7.4.tar.bz2
|
||||
fff04e1be1ffb8047fc8c5a395b79efb kdepim-runtime-4.7.4.tar.bz2
|
||||
ccc9d9ec4173e5627623d93207fdf318 kdepimlibs-4.7.4.tar.bz2
|
||||
57b6c3ee0bed9c0c2190308a4e690e39 kdeplasma-addons-4.7.4.tar.bz2
|
||||
13e9015de83969b478e1b21ac6a901b2 kdesdk-4.7.4.tar.bz2
|
||||
e596142c0d8c8622aa2577c3990b2293 kdetoys-4.7.4.tar.bz2
|
||||
7df8a48c48851cb0438acbbf727be396 kdeutils-4.7.4.tar.bz2
|
||||
6608ace1b8b35ec12e0a2d3644d66e71 kdewebdev-4.7.4.tar.bz2
|
||||
8d2a5b123b6f07e60bce0064de6b1e1d kgamma-4.7.4.tar.bz2
|
||||
4a468d620e9e4ed8bb1356bed6765842 kgeography-4.7.4.tar.bz2
|
||||
5988daa03e87648ff200ff4fccdeedf7 khangman-4.7.4.tar.bz2
|
||||
e56ec698d84035046794897c523f2386 kig-4.7.4.tar.bz2
|
||||
d9eabf628c4f418421fa8e299410f500 kimono-4.7.4.tar.bz2
|
||||
8dc39396c5f19873c5fbd86d184ffc32 kiten-4.7.4.tar.bz2
|
||||
d818029a2e8751740cd32d7b42e4ae39 klettres-4.7.4.tar.bz2
|
||||
dc71089f2f2bfdc9005d315ab2f39eb8 kmplot-4.7.4.tar.bz2
|
||||
ab8e29ab4047e3842741d76136a3bfaf kolourpaint-4.7.4.tar.bz2
|
||||
c3828a382cb83b8d3c4e1ffcedb16172 konsole-4.7.4.tar.bz2
|
||||
e9c032831d3b0c5fc2f16b1111927276 korundum-4.7.4.tar.bz2
|
||||
e512693d2e183b4c6029233489583031 kross-interpreters-4.7.4.tar.bz2
|
||||
5a11d5f1ee9aa09273966321e5533d8f kruler-4.7.4.tar.bz2
|
||||
0b39c9abf4ed2253965e7b9fd11bd5ab ksaneplugin-4.7.4.tar.bz2
|
||||
41ab4f1375b59053610fb7f981d14f02 ksnapshot-4.7.4.tar.bz2
|
||||
d1b753e798202d2bf9cac76b552608ac kstars-4.7.4.tar.bz2
|
||||
fa6e1ca2d1f4e6585a766bb75befee84 ktouch-4.7.4.tar.bz2
|
||||
15b2eadc2b140b7e487a138bc293c9b2 kturtle-4.7.4.tar.bz2
|
||||
2c926e6c6715387b9cb5ae4d279e66ef kwordquiz-4.7.4.tar.bz2
|
||||
e7f91cd5280582590908a5bc1e979021 libkdcraw-4.7.4.tar.bz2
|
||||
81812b255f159926f4d8a6c14b572bc9 libkdeedu-4.7.4.tar.bz2
|
||||
251e7eb95eb5353a821479fc233b4b0f libkexiv2-4.7.4.tar.bz2
|
||||
570785645994e45a3c7eaa122cd1350e libkipi-4.7.4.tar.bz2
|
||||
8d08cea522f9ff4417c3a17e95aa3ef5 libksane-4.7.4.tar.bz2
|
||||
77d6be4dd6de1a81551c525ba93a409e marble-4.7.4.tar.bz2
|
||||
8b57cc0aac4ce5bf43805b2921c97cd2 mobipocket-4.7.4.tar.bz2
|
||||
bc3062761bb427fba5953e2b637589ab okular-4.7.4.tar.bz2
|
||||
1ab8d750781249d84becca7f7eb988ed oxygen-icons-4.7.4.tar.bz2
|
||||
87fa53544eb170b3098e50ec8fa11c0d parley-4.7.4.tar.bz2
|
||||
64d4a74c3348f5e6b9c560b1f298de17 perlkde-4.7.4.tar.bz2
|
||||
a2ae28a62e28ed9ae21fac8624095f8e perlqt-4.7.4.tar.bz2
|
||||
600ca5b316be23a3b8dc9c74b9e97b2e pykde4-4.7.4.tar.bz2
|
||||
5e618d2450e2507a6e69494b64e404c5 qtruby-4.7.4.tar.bz2
|
||||
85a89969a04a97ad55f5645c77f06fb9 qyoto-4.7.4.tar.bz2
|
||||
a109b02d4ba00f359c274a80ebc34b62 rocs-4.7.4.tar.bz2
|
||||
4829045c88c608de8484ea8386fe77a0 smokegen-4.7.4.tar.bz2
|
||||
4aaba02db3cb655fe4627b731b73b06e smokekde-4.7.4.tar.bz2
|
||||
9ec2838d6943f6fd2101cdaf8768dd36 smokeqt-4.7.4.tar.bz2
|
||||
f1ad2a2d7e2b616b1c9b3e03c848b189 step-4.7.4.tar.bz2
|
||||
da8db422ed3212e693d73fca63c89adf svgpart-4.7.4.tar.bz2
|
||||
ac07c039605ff096dcc378d402fa11cf kde-l10n-ar-4.7.4.tar.bz2
|
||||
408f23c527f5eb581ef5f6e2298b3a74 kde-l10n-bg-4.7.4.tar.bz2
|
||||
247fc5edb01d8bc04bd3b12c86ef370f kde-l10n-bs-4.7.4.tar.bz2
|
||||
802350a971410ebb437fad8e4721cbb9 kde-l10n-ca-4.7.4.tar.bz2
|
||||
4ff6bb90b6ec0005b7384110a98e4f2a kde-l10n-ca@valencia-4.7.4.tar.bz2
|
||||
74390f53fa12d6e15e84ea441ee16a03 kde-l10n-cs-4.7.4.tar.bz2
|
||||
4429b0ada8fa89012051849d404018ce kde-l10n-da-4.7.4.tar.bz2
|
||||
baccb4bb951d3bb808bff0a2c1c12f4c kde-l10n-de-4.7.4.tar.bz2
|
||||
a17e0f7b5ea7a34ac93fa11ab9d53419 kde-l10n-el-4.7.4.tar.bz2
|
||||
cd16abb3f1cd789a3041c3f5509f6fad kde-l10n-en_GB-4.7.4.tar.bz2
|
||||
8d4b9f492d944ac8f0e8d39d94b206b4 kde-l10n-es-4.7.4.tar.bz2
|
||||
1b858d4d558781d42e3630129fdfe8ab kde-l10n-et-4.7.4.tar.bz2
|
||||
2a6826799c4ef1b75b4da56fd96d5719 kde-l10n-eu-4.7.4.tar.bz2
|
||||
aa19e92762b638bb9efc4179cd55c10f kde-l10n-fi-4.7.4.tar.bz2
|
||||
55a810ecebaeb52eeba8eb0e8b511868 kde-l10n-fr-4.7.4.tar.bz2
|
||||
2fe38615d1d81b56dd8c00357f6dbc87 kde-l10n-ga-4.7.4.tar.bz2
|
||||
42c4cdab982cfb35a7a3a48c608a1d02 kde-l10n-gl-4.7.4.tar.bz2
|
||||
279b8c38ddd7dc79bd65f3e9c054586b kde-l10n-he-4.7.4.tar.bz2
|
||||
b63c852cb0476a5e4a9a361a6801d890 kde-l10n-hr-4.7.4.tar.bz2
|
||||
053dcb31d0781c85df6142cc666380ff kde-l10n-hu-4.7.4.tar.bz2
|
||||
bc35afe69a40afd3f04692de4b1d7d5b kde-l10n-ia-4.7.4.tar.bz2
|
||||
ddc53b5833c8515cf1e950d7321192eb kde-l10n-id-4.7.4.tar.bz2
|
||||
c9b67fdf56ecd972f38fc8d2cd006466 kde-l10n-is-4.7.4.tar.bz2
|
||||
02a4f95794cd0d773128a7306c18fb36 kde-l10n-it-4.7.4.tar.bz2
|
||||
325b5422237df549127fe436ebdc6c32 kde-l10n-ja-4.7.4.tar.bz2
|
||||
cd18abfa9238dc2a92f68ed8f0b389a1 kde-l10n-kk-4.7.4.tar.bz2
|
||||
af5e5ebca7664edc667bdd26cc4ab0db kde-l10n-km-4.7.4.tar.bz2
|
||||
a4b7bd973553dc42800c2e95ce24a413 kde-l10n-kn-4.7.4.tar.bz2
|
||||
3fa0edcdc97d387a3cbf88a40934c7cf kde-l10n-ko-4.7.4.tar.bz2
|
||||
8f11d2e56c697031621786eb74a0af6a kde-l10n-lt-4.7.4.tar.bz2
|
||||
f28545463e8971a81bdd4e63afba9c5b kde-l10n-lv-4.7.4.tar.bz2
|
||||
7279437848ae2f7e92c252067327c655 kde-l10n-nb-4.7.4.tar.bz2
|
||||
fa98beb2b72941b2184963bb330710fa kde-l10n-nds-4.7.4.tar.bz2
|
||||
9dea453fc07166a16315b14ec58a9211 kde-l10n-nl-4.7.4.tar.bz2
|
||||
844d19f7f9004ef849a666af50fa9eed kde-l10n-nn-4.7.4.tar.bz2
|
||||
d33de5b3043d53073f9dee866bdba7c4 kde-l10n-pa-4.7.4.tar.bz2
|
||||
24bac2a54d91286b7a644abaa48ae4da kde-l10n-pl-4.7.4.tar.bz2
|
||||
1dd968a1eeaf2fa637f43332e8393219 kde-l10n-pt-4.7.4.tar.bz2
|
||||
d09cc55e4be563d71f851de13b8d5569 kde-l10n-pt_BR-4.7.4.tar.bz2
|
||||
b8929045daec6d833fce0945ae26e4c8 kde-l10n-ro-4.7.4.tar.bz2
|
||||
8c77ba117d936f7611e063d5acb8f7bf kde-l10n-ru-4.7.4.tar.bz2
|
||||
a6b393961d7656e881ccb5ffff8b6fff kde-l10n-si-4.7.4.tar.bz2
|
||||
da2d7ac5272b188db7fe5db2d7a52757 kde-l10n-sk-4.7.4.tar.bz2
|
||||
32a2f597a0ddb33909cacf873788c480 kde-l10n-sl-4.7.4.tar.bz2
|
||||
4297ac36c0d3f6745d8e9814118be275 kde-l10n-sr-4.7.4.tar.bz2
|
||||
b810dac686ae1def4dbde6aba4809988 kde-l10n-sv-4.7.4.tar.bz2
|
||||
490cb39ac7da3c3c2a56583a89a5bc54 kde-l10n-th-4.7.4.tar.bz2
|
||||
47eb57ebe865b5e707babda530f19a4b kde-l10n-tr-4.7.4.tar.bz2
|
||||
687ea8a61a7b8440467e5904e733cfd3 kde-l10n-ug-4.7.4.tar.bz2
|
||||
c555752ca11501162c5f9ac4ad95d4f8 kde-l10n-uk-4.7.4.tar.bz2
|
||||
ea3daaaa0ca8f510d17b77388950f80f kde-l10n-wa-4.7.4.tar.bz2
|
||||
b2de19b99463ab067fd440219cb42d9f kde-l10n-zh_CN-4.7.4.tar.bz2
|
||||
d2c0b4cf8ca87142a07a427b804d943f kde-l10n-zh_TW-4.7.4.tar.bz2
|
||||
c76303a6c2d7d26ec22213f587298665 analitza-4.8.1.tar.bz2
|
||||
ac355a741ae81ba26c4f2234d1d130eb ark-4.8.1.tar.bz2
|
||||
7c26124ea2d91bacc0727b628c1266c6 blinken-4.8.1.tar.bz2
|
||||
4f57bb250cc485e8f4e93cb3bd7b125e cantor-4.8.1.tar.bz2
|
||||
2f351c690a5adecbac7f7e868740b15a filelight-4.8.1.tar.bz2
|
||||
054a6ce984b06e00aac1eadc447b4140 gwenview-4.8.1.tar.bz2
|
||||
f7e2703c243639f2745c0afd0cf3e435 jovie-4.8.1.tar.bz2
|
||||
86b404647013622b8b6fa881735169a6 kaccessible-4.8.1.tar.bz2
|
||||
65dfe838f4858f03978aa263a3c7f53a kactivities-4.8.1.tar.bz2
|
||||
db74deb645e6766b89fccf9c37183f3d kalgebra-4.8.1.tar.bz2
|
||||
e85b3309dbb4bab0447e65e92673b889 kalzium-4.8.1.tar.bz2
|
||||
50ab61fd4beaff88a9d33c462a5133fb kamera-4.8.1.tar.bz2
|
||||
a31ec674eb10bbff863fdbf642953414 kanagram-4.8.1.tar.bz2
|
||||
c074831d0d1483ec437907daf1f8d8b1 kate-4.8.1.tar.bz2
|
||||
4262d618cbeaf104890951fd1024d661 kbruch-4.8.1.tar.bz2
|
||||
03e18b533a302ca683a2221fefc87f8f kcalc-4.8.1.tar.bz2
|
||||
47464f379e2caf9fd55c90803c09e84e kcharselect-4.8.1.tar.bz2
|
||||
24352bb5cf7a9f0cf009373d55dbf4f9 kcolorchooser-4.8.1.tar.bz2
|
||||
848540402cac986ecf73b5aa27cbd0e8 kde-base-artwork-4.8.1.tar.bz2
|
||||
04829a8386066976b0df0fd1ce382ee9 kde-baseapps-4.8.1.tar.bz2
|
||||
03b5363fe47e70865e471ace33f9a09e kde-runtime-4.8.1.tar.bz2
|
||||
a2c1c580e959275b6ad7308c7d1b780d kde-wallpapers-4.8.1.tar.bz2
|
||||
00553eb842e7feae4bce41b5045d5b75 kde-workspace-4.8.1.tar.bz2
|
||||
90580f903d300afacf74931a6017cec3 kdeadmin-4.8.1.tar.bz2
|
||||
5523522d1ca5135fdf537f4c0a3ff837 kdeartwork-4.8.1.tar.bz2
|
||||
add48d7f08d0db7ec05e4e9604337079 kdegames-4.8.1.tar.bz2
|
||||
9568445cb37e5070622e0f76936a2041 kdegraphics-mobipocket-4.8.1.tar.bz2
|
||||
3b7db079ac36cdb78f54aa9b841b6013 kdegraphics-strigi-analyzer-4.8.1.tar.bz2
|
||||
1e5aee3bce9fb1b78f7e9ac530cb369c kdegraphics-thumbnailers-4.8.1.tar.bz2
|
||||
41a3c5246ca3cfb1039afc7e14a6f4ed kdelibs-4.8.1.tar.bz2
|
||||
b9f90b8edcff0f17f0430f719fc87f4f kdemultimedia-4.8.1.tar.bz2
|
||||
73f13b4a1eeefdd0fa1371a586552031 kdenetwork-4.8.1.tar.bz2
|
||||
a41cbe225817f00ade3da2c49ee43d6a kdepim-4.8.1.tar.bz2
|
||||
c3fda919eb8d1a7f8983033c24e1a1b7 kdepim-runtime-4.8.1.tar.bz2
|
||||
ff7d721e316adf6e89dc3a1087eda608 kdepimlibs-4.8.1.tar.bz2
|
||||
edff2e466ccd30642a88fdf4c348412b kdeplasma-addons-4.8.1.tar.bz2
|
||||
9f5c7e96902a93ec47128774cd0a2f03 kdesdk-4.8.1.tar.bz2
|
||||
baf1220e839c7080fc133480413d98d6 kdetoys-4.8.1.tar.bz2
|
||||
f6c44a90117b1d18ea933aa94f8ecfdc kdewebdev-4.8.1.tar.bz2
|
||||
c8cf469945092ae4778d5fd562fa9b1d kdf-4.8.1.tar.bz2
|
||||
f3d6e4114935267a223e4eeb697bd299 kfloppy-4.8.1.tar.bz2
|
||||
ead83aee615eb1f82b59af5c8b356159 kgamma-4.8.1.tar.bz2
|
||||
585652324fdbd915844dd890cd3a2d64 kgeography-4.8.1.tar.bz2
|
||||
d9c928069ccd74f239bce8f230cd3841 kgpg-4.8.1.tar.bz2
|
||||
f763b6010a67a53341892ecf49b0de05 khangman-4.8.1.tar.bz2
|
||||
b918dcf38f6ed9ee8b2e8d6862520610 kig-4.8.1.tar.bz2
|
||||
d5bb9824272b5fadd98834e50b738e47 kimono-4.8.1.tar.bz2
|
||||
e7a8b26a61a637f0b708403c21cdb81d kiten-4.8.1.tar.bz2
|
||||
fdbf167b52f45f02734db21e741a53b4 klettres-4.8.1.tar.bz2
|
||||
5ae75d9c6d2fb25f41e498facb2e9677 kmag-4.8.1.tar.bz2
|
||||
3167da6112f38879fed8f2a3beb67e58 kmousetool-4.8.1.tar.bz2
|
||||
333aeea7a1b857f5b5c5b91e2455e6fc kmouth-4.8.1.tar.bz2
|
||||
97362cd466e8eeaa5173e436c276138a kmplot-4.8.1.tar.bz2
|
||||
a71fa104bb7539b6de66b39de31b5143 kolourpaint-4.8.1.tar.bz2
|
||||
68c0ffa0bbd05c7b42f0295c21c725c9 konsole-4.8.1.tar.bz2
|
||||
76cd76a74cc7ad6f21a7e3726d2c8421 korundum-4.8.1.tar.bz2
|
||||
5562f6fbc9a36c277484bd1ca18bbe23 kremotecontrol-4.8.1.tar.bz2
|
||||
2988098cc74f74fb691483a7c585ae30 kross-interpreters-4.8.1.tar.bz2
|
||||
ffaed391d23a95e4b840f48fede121b2 kruler-4.8.1.tar.bz2
|
||||
a57e6769b21723b8b6376b11767e2f25 ksaneplugin-4.8.1.tar.bz2
|
||||
1e27b02caf3ccddbd3dd17e2d7409660 ksecrets-4.8.1.tar.bz2
|
||||
66d1f9a5a7be46995cd158bd6bc10eea ksnapshot-4.8.1.tar.bz2
|
||||
5b8026c35d8a200bb76295bef22b603b kstars-4.8.1.tar.bz2
|
||||
8e60873767732dde63a586ce58608579 ktimer-4.8.1.tar.bz2
|
||||
107b37853a2d83a6d166c1c908b4ddd8 ktouch-4.8.1.tar.bz2
|
||||
ce9a2bc293a3b98d2bfb19e01379d403 kturtle-4.8.1.tar.bz2
|
||||
d67a11e44c108d3ec1aeb73170435c2f kwallet-4.8.1.tar.bz2
|
||||
ac88ffdbf09960076c69bb2838f699ae kwordquiz-4.8.1.tar.bz2
|
||||
9fd1f119a2d36d553b67e921c7c09fcf libkdcraw-4.8.1.tar.bz2
|
||||
fe4943f1300791f44702dd1d69910374 libkdeedu-4.8.1.tar.bz2
|
||||
a2a0971b8d415d95a308de3402ddda19 libkexiv2-4.8.1.tar.bz2
|
||||
f373162fb18f904260ba78a945c2c004 libkipi-4.8.1.tar.bz2
|
||||
8ae77830008224c666f9e4f58a8a78c0 libksane-4.8.1.tar.bz2
|
||||
438bb6bfae109105b49adcb6eafd7339 marble-4.8.1.tar.bz2
|
||||
462819f0a1d76affd3534d6f9dfacacb okular-4.8.1.tar.bz2
|
||||
26c37757f5d969f7e4c82dfe94a15d18 oxygen-icons-4.8.1.tar.bz2
|
||||
320bdc37f91f503ade3890750dc71d3c parley-4.8.1.tar.bz2
|
||||
ba8cfd1417ab3436616078f9505eaea3 perlkde-4.8.1.tar.bz2
|
||||
ab6840ac795bb5e97973b5449d707738 perlqt-4.8.1.tar.bz2
|
||||
d6ad0efd75b7da485340a06b2c5dfc1d printer-applet-4.8.1.tar.bz2
|
||||
09ddc79eb062a58143bd061c6d6f4d3d pykde4-4.8.1.tar.bz2
|
||||
da99b0bedd9eb84668a6a848e7f835d6 qtruby-4.8.1.tar.bz2
|
||||
affe8085ac547400391669a703606dc7 qyoto-4.8.1.tar.bz2
|
||||
137fbac381703f4439786b5e1101ff44 rocs-4.8.1.tar.bz2
|
||||
6ddfcb0cd43d6dde95cde7e6054a7b46 smokegen-4.8.1.tar.bz2
|
||||
16461ec012a76703026f42bfbc359a61 smokekde-4.8.1.tar.bz2
|
||||
36eb9bb4c9dc17a4da6b8800b6dcc3d9 smokeqt-4.8.1.tar.bz2
|
||||
e81e94d56b31d1271249e91f65c9d108 step-4.8.1.tar.bz2
|
||||
89cabc78645cb2f8c349aff0ce6b19bd superkaramba-4.8.1.tar.bz2
|
||||
5ef307c888fc9b2d25cb0d7ece4dd876 svgpart-4.8.1.tar.bz2
|
||||
9b8148da1c2c5a9df48581c0eb4656bd sweeper-4.8.1.tar.bz2
|
||||
|
||||
c0934627917b0838bd56b7194a0959b1 kde-l10n-ar-4.8.1.tar.bz2
|
||||
63f64ea50ad46e8e0589aa3dd508c81c kde-l10n-bg-4.8.1.tar.bz2
|
||||
5b4d410195feec54e7a1653f6557ace6 kde-l10n-bs-4.8.1.tar.bz2
|
||||
5ada867d2779c0c8fba03f4380f778cd kde-l10n-ca-4.8.1.tar.bz2
|
||||
82407bca4ea0f0140f50dcbd2efc8284 kde-l10n-ca@valencia-4.8.1.tar.bz2
|
||||
a38797389eda03221e7f53e18b1b060e kde-l10n-cs-4.8.1.tar.bz2
|
||||
18bcf5d1b156caed2212eb07a7fe18b9 kde-l10n-da-4.8.1.tar.bz2
|
||||
c78fe8bacb632849d24295fce680f759 kde-l10n-de-4.8.1.tar.bz2
|
||||
da182378f8ddc9d169029852303446bb kde-l10n-el-4.8.1.tar.bz2
|
||||
88f39c6c4fd28866a664c5740eb9677c kde-l10n-en_GB-4.8.1.tar.bz2
|
||||
0eee08ece9dcd02399f45bc683a8a332 kde-l10n-es-4.8.1.tar.bz2
|
||||
3d06d858a94fd0fcedb6957df02de1ae kde-l10n-et-4.8.1.tar.bz2
|
||||
fabedf68b55cceaccd94cf19b47245b4 kde-l10n-eu-4.8.1.tar.bz2
|
||||
3175303acf320b9c3c41358cd4f200ee kde-l10n-fa-4.8.1.tar.bz2
|
||||
b049b9d5ebc7fe16ee379578e4dbc7bd kde-l10n-fi-4.8.1.tar.bz2
|
||||
1614297fe12c827fbad0d4548526a696 kde-l10n-fr-4.8.1.tar.bz2
|
||||
bbeead12fe5e6a42f6b9c0ab4a17d758 kde-l10n-ga-4.8.1.tar.bz2
|
||||
07254f68bda9a89e9fd45c3226fabc0e kde-l10n-gl-4.8.1.tar.bz2
|
||||
dcb0fc60557f43391f9c54fbcff1f4ab kde-l10n-he-4.8.1.tar.bz2
|
||||
8365f152c6807acaa090f74146fcd880 kde-l10n-hr-4.8.1.tar.bz2
|
||||
64945be38a51237a1005e2940ddfb299 kde-l10n-hu-4.8.1.tar.bz2
|
||||
d7967dc0589f867c513f28af82566b0a kde-l10n-ia-4.8.1.tar.bz2
|
||||
0be935767eb45eb251c8cedee45cb58d kde-l10n-id-4.8.1.tar.bz2
|
||||
84f2baadb816aabab6d789001fb2586e kde-l10n-is-4.8.1.tar.bz2
|
||||
8aef507404221fc1e341f0d8497afe7e kde-l10n-it-4.8.1.tar.bz2
|
||||
b0c9860d819e3bc8ac25fe520b0ff130 kde-l10n-ja-4.8.1.tar.bz2
|
||||
68d04827a5c4110924b8d0aa4daebae2 kde-l10n-kk-4.8.1.tar.bz2
|
||||
b383f3f71c676af788a0fba01e250ac0 kde-l10n-km-4.8.1.tar.bz2
|
||||
6a87729659b3d8bf1577b0ef75a31895 kde-l10n-ko-4.8.1.tar.bz2
|
||||
8ab0f3ea89b109e99f1bb68b0d033229 kde-l10n-lt-4.8.1.tar.bz2
|
||||
86718559dca6d5a1999cd0cf5c376ae4 kde-l10n-lv-4.8.1.tar.bz2
|
||||
ced1f9cdabed423e49343a551d04d803 kde-l10n-nb-4.8.1.tar.bz2
|
||||
d77619bc9b4ca8f62d0362cbde68ab9a kde-l10n-nds-4.8.1.tar.bz2
|
||||
4d7e7695d6057fa462683310ac184e83 kde-l10n-nl-4.8.1.tar.bz2
|
||||
aff76c5f1ecac127e10dee5acee7bbd3 kde-l10n-nn-4.8.1.tar.bz2
|
||||
d83994a26119875d5df18b8515e8dc02 kde-l10n-pa-4.8.1.tar.bz2
|
||||
cf76155829052ebda3447fbc9ee826ec kde-l10n-pl-4.8.1.tar.bz2
|
||||
30cbcab594b38714c182324f92f2ff07 kde-l10n-pt-4.8.1.tar.bz2
|
||||
80c28cd52641b26debacfcb02bfe548d kde-l10n-pt_BR-4.8.1.tar.bz2
|
||||
a0ab59893ddcb00fb8a40c3eb3e60fa4 kde-l10n-ro-4.8.1.tar.bz2
|
||||
2d437be1768d7827b9a31860e15e3ffd kde-l10n-ru-4.8.1.tar.bz2
|
||||
6d60563c3d4a4f3cc4fd2fdb1280b9f7 kde-l10n-si-4.8.1.tar.bz2
|
||||
5a8150e9917b24a64cfdce325cf0572c kde-l10n-sk-4.8.1.tar.bz2
|
||||
a4705d349e3bb97065924124303f6016 kde-l10n-sl-4.8.1.tar.bz2
|
||||
898ccfe43df26709c8fe4f9caa60894a kde-l10n-sr-4.8.1.tar.bz2
|
||||
6a66100f396857363695f0225656da00 kde-l10n-sv-4.8.1.tar.bz2
|
||||
f91ced70359546ddc9f0e4d2cf1b8809 kde-l10n-tg-4.8.1.tar.bz2
|
||||
5d6bdd5a45b7abb6658c13fe1fc7ca82 kde-l10n-th-4.8.1.tar.bz2
|
||||
38489817d7da39363071f7f013f63d4b kde-l10n-tr-4.8.1.tar.bz2
|
||||
3bd5238afe787b52a18280dc5107c7fd kde-l10n-ug-4.8.1.tar.bz2
|
||||
badb8d689fe17e019d8871342edb8098 kde-l10n-uk-4.8.1.tar.bz2
|
||||
0d1835180a175afcbad6785a3e738e7d kde-l10n-vi-4.8.1.tar.bz2
|
||||
8170d537a4ffcd3fe0c055aebbba8a3c kde-l10n-wa-4.8.1.tar.bz2
|
||||
52c660e8746bb77a283d343d1b7b8b56 kde-l10n-zh_CN-4.8.1.tar.bz2
|
||||
a92c0ba0b63d5f4ca6dddbd5d754eb42 kde-l10n-zh_TW-4.8.1.tar.bz2
|
||||
|
@ -12,15 +12,17 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
#
|
||||
pkgname=kde-wallpapers
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
|
||||
_default_wp="Horos"
|
||||
_default_wp="Ariya"
|
||||
|
||||
pkgbase="kde-wallpapers"
|
||||
pkgname=("kde-wallpapers"
|
||||
"kde-wallpapers-crunchy-branch-blue"
|
||||
"kde-wallpapers-ashoc"
|
||||
"kde-wallpapers-neda")
|
||||
"kde-wallpapers-neda"
|
||||
"kde-wallpapers-ronak"
|
||||
"kde-wallpapers-ronak-light")
|
||||
|
||||
pkgdesc="KDE Wallpapers for Chakra"
|
||||
url="http://www.chakra-project.org"
|
||||
@ -32,11 +34,17 @@ groups=("kde" "kde-uninstall")
|
||||
source=("$_mirror/${pkgbase}-$_kdever.tar.bz2"
|
||||
"http://chakra.sourceforge.net/sources/kde-wallpapers/kde-wallpapers-crunchy-branch-blue-1.0.tar.gz"
|
||||
"http://chakra.sourceforge.net/sources/kde-wallpapers/kde-wallpapers-ashoc-1.0-2.tar.gz"
|
||||
"http://chakra.sourceforge.net/sources/neda/NEDA.tar.gz")
|
||||
"http://chakra.sourceforge.net/sources/neda/NEDA.tar.gz"
|
||||
"http://chakra.sourceforge.net/sources/ronak/ronak-wallpaper-1.0.tar.gz"
|
||||
"http://chakra.sourceforge.net/sources/ronak/ronak-light-wallpaper-1.0.tar.gz")
|
||||
md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
"52d75a03f18204dde7965bd3dccb9ce4" # kde-wallpapers-crunchy-branch-blue-1.0.tar.gz
|
||||
"e6a3a7e170a739d226c180f5c2a09618" # kde-wallpapers-ashoc-1.0-2.tar.gz
|
||||
"83686866b1e7313b77b3cf98c5c4ddc3") # NEDA.tar.gz
|
||||
"83686866b1e7313b77b3cf98c5c4ddc3" # NEDA.tar.gz
|
||||
"0ec4edb6308f647e8eedb4490b846008"
|
||||
"ff75399ca35846ee8dab701af975b8ee")
|
||||
|
||||
makedepends=('automoc4')
|
||||
|
||||
#_gitroot="git://git.chakra-project.org/artwork/kde-wallpapers.git"
|
||||
#_gitname="kde-wallpapers"
|
||||
@ -174,3 +182,61 @@ package_kde-wallpapers-neda()
|
||||
sed -i -e "s~AUTHOR~Roozbeh Shafiee~g" metadata.desktop
|
||||
|
||||
}
|
||||
|
||||
package_kde-wallpapers-ronak()
|
||||
{
|
||||
|
||||
pkgdesc="Chakra Ronak Theme by Roozbeh Shafiee "
|
||||
groups=("kde" "kde-complete" "kde-uninstall" "kde-minimal" "kde-wallpapers")
|
||||
|
||||
_WALLPAPER="RONAK"
|
||||
|
||||
cd ${srcdir}/ronak-wallpaper
|
||||
|
||||
mkdir -pv $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
||||
cp -Rv * $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
||||
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
||||
|
||||
# #fix structure
|
||||
# _FILES="*.jpg"
|
||||
# for i in $_FILES
|
||||
# do
|
||||
# #proper rename
|
||||
# _OUT=$(echo $i | sed "s/KDEmod-Galaxair-//g" | sed 's/-/x/g')
|
||||
# mv -v $i $_OUT
|
||||
# done
|
||||
cp -v $startdir/metadata.desktop $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
||||
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
||||
sed -i -e "s~WALLPAPERNAME~$_WALLPAPER~g" metadata.desktop
|
||||
sed -i -e "s~AUTHOR~Roozbeh Shafiee~g" metadata.desktop
|
||||
|
||||
}
|
||||
|
||||
package_kde-wallpapers-ronak-light()
|
||||
{
|
||||
|
||||
pkgdesc="Chakra Ronak Theme by Roozbeh Shafiee "
|
||||
groups=("kde" "kde-complete" "kde-uninstall" "kde-minimal" "kde-wallpapers")
|
||||
|
||||
_WALLPAPER="RONAK-LIGHT"
|
||||
|
||||
cd ${srcdir}/ronak-light-wallpaper
|
||||
|
||||
mkdir -pv $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
||||
cp -Rv * $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
||||
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER/contents/images
|
||||
|
||||
# #fix structure
|
||||
# _FILES="*.jpg"
|
||||
# for i in $_FILES
|
||||
# do
|
||||
# #proper rename
|
||||
# _OUT=$(echo $i | sed "s/KDEmod-Galaxair-//g" | sed 's/-/x/g')
|
||||
# mv -v $i $_OUT
|
||||
# done
|
||||
cp -v $startdir/metadata.desktop $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
||||
cd $pkgdir/usr/share/wallpapers/$_WALLPAPER
|
||||
sed -i -e "s~WALLPAPERNAME~$_WALLPAPER~g" metadata.desktop
|
||||
sed -i -e "s~AUTHOR~Roozbeh Shafiee~g" metadata.desktop
|
||||
|
||||
}
|
||||
|
@ -1,11 +1,12 @@
|
||||
diff -Naur kdebase-workspace-4.3.80.orig/plasma/desktop/applets/kickoff/core/favoritesmodel.cpp kdebase-workspace-4.3.80/plasma/desktop/applets/kickoff/core/favoritesmodel.cpp
|
||||
--- kdebase-workspace-4.3.80.orig/plasma/desktop/applets/kickoff/core/favoritesmodel.cpp 2009-09-16 11:40:52.000000000 +0000
|
||||
+++ kdebase-workspace-4.3.80/plasma/desktop/applets/kickoff/core/favoritesmodel.cpp 2009-12-06 18:31:29.000000000 +0000
|
||||
@@ -104,7 +104,7 @@
|
||||
diff -Naur kdebase-workspace-4.7.80.orig/plasma/desktop/applets/kickoff/core/favoritesmodel.cpp
|
||||
kdebase-workspace-4.7.80/plasma/desktop/applets/kickoff/core/favoritesmodel.cpp
|
||||
--- kdebase-workspace-4.7.80.orig/plasma/desktop/applets/kickoff/core/favoritesmodel.cpp 2009-09-16 11:40:52.000000000 +0000
|
||||
+++ kdebase-workspace-4.7.80/plasma/desktop/applets/kickoff/core/favoritesmodel.cpp 2009-12-06 18:31:29.000000000 +0000
|
||||
@@ -105,7 +105,7 @@
|
||||
static QList<QString> defaultFavorites()
|
||||
{
|
||||
QList<QString> applications;
|
||||
- applications << "konqbrowser" << "kmail" << "systemsettings" << "dolphin";
|
||||
- applications << "konqbrowser" << "KMail2" << "systemsettings" << "dolphin";
|
||||
+ applications << "dolphin" << "konqbrowser" << "kate" << "kopete" << "KMail" << "systemsettings" << "pkgmanager" << "konsole" << "k3b";
|
||||
|
||||
QList<QString> desktopFiles;
|
||||
|
@ -7,38 +7,47 @@
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
# Default wallpaper included in kde-workspace pkg
|
||||
_default_wp="Ariya"
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgbase=('kde-workspace')
|
||||
pkgname=('kde-workspace'
|
||||
'kde-workspace-doc')
|
||||
|
||||
pkgname="kde-workspace"
|
||||
arch=('i686' 'x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=3
|
||||
pkgdesc="split package"
|
||||
pkgrel=1
|
||||
pkgdesc="KDE Workspace"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
# Default wallpaper included in kde-workspace pkg
|
||||
_default_wp="Horos"
|
||||
|
||||
# NOTE keep in sync with kde-workspace-depends
|
||||
depends=('polkit-kde-agent' "kdepimlibs>=${_kdever}" "kde-runtime>=${_kdever}" 'qimageblitz'
|
||||
'libxxf86misc' 'libxcomposite' 'libxss' 'lm_sensors' 'libxklavier' 'libxft' 'oxygen-icons' "xkit" # 'libgles' 'libegl'
|
||||
'libxdamage' 'xorg-utils' 'libxrandr' 'libxres' 'libdmtx' 'libqalculate' 'prison' 'qrencode' "kdepim-runtime>=${_kdever}")
|
||||
|
||||
install=${pkgname}.install
|
||||
depends=('polkit-kde-agent' "kdepimlibs>=${_kdever}" "kde-runtime>=${_kdever}" 'qimageblitz' 'libgles' 'libegl' "kactivities>=${_kdever}"
|
||||
'libxxf86misc' 'libxcomposite' 'libxss' 'lm_sensors' 'libxklavier' 'libxft' 'oxygen-icons' "xkit" 'libgles' 'libegl'
|
||||
'libxdamage' 'xorg-utils' 'libxrandr' 'libxres' 'libdmtx' 'libqalculate' 'prison' 'qrencode' "kdepim-runtime>=${_kdever}")
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' 'networkmanager' 'bluez' "kdebindings-pykde4>=${_kdever}"
|
||||
"kdebindings-korundum>=${_kdever}" 'oxygen-icons' 'qedje' "kde-runtime>=${_kdever}" 'gpsd' 'samba'
|
||||
'libraw1394' 'libdmtx' 'consolekit' 'docbook-xsl' 'google-gadgets-qt>=0.11.2' 'prison' 'qrencode')
|
||||
"kdebindings-korundum>=${_kdever}" 'oxygen-icons' 'qedje' "kde-runtime>=${_kdever}" 'gpsd' 'samba'
|
||||
'libraw1394' 'libdmtx' 'consolekit' 'docbook-xsl' 'google-gadgets-qt>=0.11.2' 'prison' 'qrencode')
|
||||
optdepends=("kdebindings-pykde4: Python Support for Plasma"
|
||||
"kdeedu-marble: Marble Wallpaper Plugin"
|
||||
"google-gadgets-qt: Plasma Support for Google Gadgets"
|
||||
"qedje: Plasma Support for Edje Files"
|
||||
"gpsd: Plasma geolocation support"
|
||||
"ntp: Time/date sync support"
|
||||
"opentp: Optional time/date sync support")
|
||||
provides=('kdebase-workspace' 'powerdevil' 'kcm_tablet=1.1.3' 'kde-workspace-doc')
|
||||
replaces=('guidance-power-manager' 'kdebase-workspace' 'kde-workspace-doc')
|
||||
conflicts=('kdebase-workspace' 'powerdevil' 'kcm_tablet' 'guidance-power-manager' 'kde-workspace-doc')
|
||||
groups=("kde" "kde-uninstall" "kde-minimal")
|
||||
backup=('usr/share/config/kdm/kdmrc'
|
||||
'etc/pam.d/kde'
|
||||
'etc/pam.d/kde-np'
|
||||
'etc/pam.d/kscreensaver')
|
||||
|
||||
source=($_mirror/${pkgbase}-$_kdever.tar.bz2
|
||||
|
||||
source=($_mirror/${pkgname}-$_kdever.tar.bz2
|
||||
$_mirror/kde-wallpapers-$_kdever.tar.bz2
|
||||
mishaaq-kcm_touchpad-00370b5.tar.gz
|
||||
#http://www.kde-apps.org/CONTENT/content-files/114856-kcm_tablet-1.1.3.tar.gz
|
||||
#http://www.kde-apps.org/CONTENT/content-files/117639-favorites-0.1.tar.bz2
|
||||
http://chakra.sourceforge.net/sources/kde-workspace/114856-kcm_tablet-1.1.3.tar.gz
|
||||
http://chakra.sourceforge.net/sources/kde-workspace/117639-favorites-0.1.tar.bz2
|
||||
kde.pam
|
||||
@ -65,49 +74,41 @@ source=($_mirror/${pkgbase}-$_kdever.tar.bz2
|
||||
# "fix" some sytemsettings modules that need root access
|
||||
fix_root-only-kcms.patch
|
||||
# shutdown-fix.patch
|
||||
sensors-fix.patch
|
||||
# Add support for Burg
|
||||
feature_burg-reboot.diff)
|
||||
sensors-fix.patch)
|
||||
#high_cpu.diff)
|
||||
|
||||
md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
md5sums=(`grep ${pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-wallpapers-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1` # kde-wallpapers
|
||||
'f355a658d2e9267fdf4e8d8f88038bcf' # mishaaq-kcm_touchpad-00370b5.tar.gz
|
||||
'd4570491bcf9986d84aeb77c939090a9' # 114856-kcm_tablet-1.1.3.tar.gz
|
||||
'b60baabccbd302d00923e053db0dc0ae' # 117639-favorites-0.1.tar.bz2
|
||||
'f355a658d2e9267fdf4e8d8f88038bcf' # mishaaq-kcm_touchpad-00370b5.tar.gz
|
||||
'd4570491bcf9986d84aeb77c939090a9' # 114856-kcm_tablet-1.1.3.tar.gz
|
||||
'b60baabccbd302d00923e053db0dc0ae' # 117639-favorites-0.1.tar.bz2
|
||||
|
||||
'10a490653b002e6f9e7476ff9d37c011' # kde.pam
|
||||
'552337fd9a3982d809ea16c7f0033d42' # kde-np.pam
|
||||
'367a3538f54db71f108b34cfa31088ac' # kscreensaver.pam
|
||||
'169c6fc83d5562b5d7249db7fc46d8d6' # chakra-branding.tar.gz
|
||||
'c328f1c5cfa3e551205ffdc0fdda41a8' # chakra-themes.tar.gz
|
||||
'10a490653b002e6f9e7476ff9d37c011' # kde.pam
|
||||
'552337fd9a3982d809ea16c7f0033d42' # kde-np.pam
|
||||
'367a3538f54db71f108b34cfa31088ac' # kscreensaver.pam
|
||||
'169c6fc83d5562b5d7249db7fc46d8d6' # chakra-branding.tar.gz
|
||||
'c328f1c5cfa3e551205ffdc0fdda41a8' # chakra-themes.tar.gz
|
||||
|
||||
'721e97031b62aee8914e8617e86f9235' # 01_kdm_zsh_profile.patch
|
||||
'e2eb9d270fe0e93901b29256bdedd7e2' # 02_sane_env_and_shutdown_path.patch
|
||||
'8e623bb5608025417ff9ed061e5a03f1' # 03_plasma_menubutton_branding.patch
|
||||
'0ee6e12bb9830b4248becb0442dc7e0c' # 06_kickoff_default_favourites.patch
|
||||
'89d96455c6a446ef59b0620d1b8606af' # 07_always_show_kickoff_subtext.patch
|
||||
'5eb9285268916492012151045bdebd26' # 09_enable_start-shutdown-scripts.patch
|
||||
'721e97031b62aee8914e8617e86f9235' # 01_kdm_zsh_profile.patch
|
||||
'e2eb9d270fe0e93901b29256bdedd7e2' # 02_sane_env_and_shutdown_path.patch
|
||||
'8e623bb5608025417ff9ed061e5a03f1' # 03_plasma_menubutton_branding.patch
|
||||
'd4d7d3fc3ac072a8ca848e9c96e517dc' # 06_kickoff_default_favourites.patch
|
||||
'89d96455c6a446ef59b0620d1b8606af' # 07_always_show_kickoff_subtext.patch
|
||||
'5eb9285268916492012151045bdebd26' # 09_enable_start-shutdown-scripts.patch
|
||||
|
||||
'db2d8166f5ea80ecd291deb9c0e2bb71' # fix_kdm-increase-xserver-timeout-bnc#462478.patch
|
||||
'814350c52c135d6f7bdada1e29223d38' # fix_terminate-server.patch
|
||||
'97a5eb51e6f9d460f0d61bb322a1db5e' # fix_kdm_configdef.patch
|
||||
'5f963f80a026f0600edae1b1c70411e5' # fix_root-only-kcms.patch
|
||||
'ecf3a9d6af9bdd3db0189e06ddf21034' # sensors-fix.patch
|
||||
'd629a642f45482c208ac1dbfba12ba1c') # feature_burg-reboot.diff
|
||||
'db2d8166f5ea80ecd291deb9c0e2bb71' # fix_kdm-increase-xserver-timeout-bnc#462478.patch
|
||||
'814350c52c135d6f7bdada1e29223d38' # fix_terminate-server.patch
|
||||
'97a5eb51e6f9d460f0d61bb322a1db5e' # fix_kdm_configdef.patch
|
||||
'5f963f80a026f0600edae1b1c70411e5' # fix_root-only-kcms.patch
|
||||
'ecf3a9d6af9bdd3db0189e06ddf21034') # sensors-fix.patch
|
||||
#'65ae9f34f777082f622f5f17235215fa') #high_cpu.diff
|
||||
|
||||
|
||||
# '13c3203589143e9e2fc757c17375227a' # feature_plasma-transparent-panel-v4-rb#472.patch
|
||||
# '7361012da217f9aeeca61f0e9956e1d0' # feature_brightness-osd.patch
|
||||
# '894815a80f99a9a0dee1adbcda49b161' # feature_battery-tooltip.patch
|
||||
# '9b97ac1b4deb8d0c8ca7afffb80b4320' # feature_history-notifications-enable-disable-kde#119207.patch
|
||||
# '42b3b5e09372c57910c3435e63e2dfd6' # feature_kdm-plymouth.patch
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build()
|
||||
{
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
|
||||
msg "applying main patchset ..."
|
||||
patch -Np0 -i ${srcdir}/01_kdm_zsh_profile.patch
|
||||
@ -117,42 +118,30 @@ build()
|
||||
patch -Np1 -i ${srcdir}/07_always_show_kickoff_subtext.patch
|
||||
patch -Np1 -i ${srcdir}/09_enable_start-shutdown-scripts.patch
|
||||
|
||||
|
||||
msg "applying fixes ..."
|
||||
patch -Np0 -i ${srcdir}/fix_kdm-increase-xserver-timeout-bnc#462478.patch
|
||||
patch -Np0 -i ${srcdir}/fix_terminate-server.patch
|
||||
patch -p0 -N -i ${srcdir}/fix_kdm_configdef.patch
|
||||
patch -Np1 -i ${srcdir}/fix_root-only-kcms.patch
|
||||
patch -p1 -i ${srcdir}/feature_burg-reboot.diff
|
||||
|
||||
|
||||
# FIXME: update feature patches
|
||||
# msg "applying feature patches ..."
|
||||
# patch -Np1 -i ${srcdir}/feature_plasma-transparent-panel-v4-rb#472.patch
|
||||
# patch -Np1 -i ${srcdir}/feature_brightness-osd.patch
|
||||
# patch -Np1 -i ${srcdir}/feature_battery-tooltip.patch
|
||||
# patch -Np1 -i ${srcdir}/feature_history-notifications-enable-disable-kde#119207.patch
|
||||
# patch -Np1 -i ${srcdir}/feature_kdm-plymouth.patch
|
||||
|
||||
# msg "applying upstream patches ..."
|
||||
#patch -RNp1 -i ${srcdir}/high_cpu.diff
|
||||
|
||||
msg "Upstream fixes"
|
||||
#patch -Np1 -i ${srcdir}/fix_battery-applet.diff
|
||||
|
||||
msg "starting workspace build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DWITH_Xmms=OFF \
|
||||
-DWITH_OpenGLES=ON \
|
||||
-DKWIN_BUILD_WITH_OPENGLES=ON \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
make
|
||||
|
||||
# Option for OpenGLES - PLEASE DON'T SHIP THIS YET (ask manutortosa)
|
||||
# -DWITH_OpenGLES=ON \
|
||||
# -DKWIN_BUILD_WITH_OPENGLES=ON \
|
||||
|
||||
msg "starting kcm_touchpad build ..."
|
||||
msg "starting kcm_touchpad build ..."
|
||||
cd ${srcdir}/mishaaq-kcm_touchpad-00370b5
|
||||
# Fix desktop to the new layout
|
||||
sed -i -e "s~keyboard-and-mouse~input-devices~g" touchpad.desktop
|
||||
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
@ -161,7 +150,6 @@ build()
|
||||
cd ${srcdir}/kcm_tablet-1.1.3
|
||||
# Fix desktop to the new layout
|
||||
sed -i -e "s~keyboard-and-mouse~input-devices~g" ${srcdir}/kcm_tablet-1.1.3/src/kcm_tablet.desktop
|
||||
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
@ -176,40 +164,8 @@ build()
|
||||
}
|
||||
|
||||
|
||||
|
||||
#
|
||||
# split-install functions
|
||||
#
|
||||
package_kde-workspace()
|
||||
{
|
||||
pkgdesc="KDE Workspace"
|
||||
|
||||
# FIXME don't find google-gadgets
|
||||
# NOTE keep in sync with depends
|
||||
depends=('polkit-kde-agent' "kdepimlibs>=${_kdever}" "kde-runtime>=${_kdever}" 'qimageblitz'
|
||||
'libxxf86misc' 'libxcomposite' 'libxss' 'lm_sensors' 'libxklavier' 'libxft' 'oxygen-icons' "xkit" #'libgles' 'libegl'
|
||||
'libxdamage' 'xorg-utils' 'libxrandr' 'libxres' 'libdmtx' 'libqalculate' 'prison' 'qrencode' "kdepim-runtime>=${_kdever}")
|
||||
|
||||
optdepends=("kdebindings-pykde4 : Python Support for Plasma"
|
||||
"kdeedu-marble : Marble Wallpaper Plugin"
|
||||
"google-gadgets-qt : Plasma Support for Google Gadgets"
|
||||
"qedje : Plasma Support for Edje Files"
|
||||
"gpsd : Plasma geolocation support"
|
||||
"(open)ntp : Time/Date sync support")
|
||||
|
||||
provides=('kdebase-workspace' 'powerdevil' 'kcm_tablet=1.1.3')
|
||||
replaces=('guidance-power-manager' 'kdebase-workspace')
|
||||
conflicts=('kdebase-workspace' 'powerdevil' 'kcm_tablet' 'guidance-power-manager')
|
||||
groups=("kde" "kde-uninstall" "kde-minimal")
|
||||
|
||||
backup=('usr/share/config/kdm/kdmrc'
|
||||
'etc/pam.d/kde'
|
||||
'etc/pam.d/kde-np'
|
||||
'etc/pam.d/kscreensaver')
|
||||
|
||||
install=${pkgbase}.install
|
||||
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
cd ${srcdir}/mishaaq-kcm_touchpad-00370b5
|
||||
@ -230,23 +186,20 @@ package_kde-workspace()
|
||||
install -d -m755 ${pkgdir}/etc/kde/{env,shutdown}
|
||||
|
||||
# install session
|
||||
install -D -m 644 ${srcdir}/${pkgbase}-${pkgver}/kdm/kfrontend/sessions/kde-plasma.desktop \
|
||||
install -D -m 644 ${srcdir}/${pkgname}-${pkgver}/kdm/kfrontend/sessions/kde-plasma.desktop \
|
||||
${pkgdir}/etc/X11/sessions/kde-plasma.desktop
|
||||
install -D -m 644 ${srcdir}/${pkgbase}-${pkgver}/kdm/kfrontend/sessions/kde-plasma-safe.desktop \
|
||||
install -D -m 644 ${srcdir}/${pkgname}-${pkgver}/kdm/kfrontend/sessions/kde-plasma-safe.desktop \
|
||||
${pkgdir}/etc/X11/sessions/kde-plasma-safe.desktop
|
||||
|
||||
# also install kdm clean default config
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/kdm
|
||||
cd ${srcdir}/${pkgname}-${pkgver}/kdm
|
||||
make DESTDIR=${pkgdir} GENKDMCONF_FLAGS="--no-old --no-backup --no-in-notice" install
|
||||
|
||||
# povided in separate package
|
||||
rm -rf ${pkgdir}/usr/share/doc
|
||||
|
||||
# TODO: This should be recreated to remove the KDEmod tag and probably remove some outdated stuff
|
||||
# copy branding stuff
|
||||
mkdir -p ${pkgdir}/usr/share/icons/oxygen/scalable/places/
|
||||
cp -f ${srcdir}/kdemod-branding/start-here-branding.svgz ${pkgdir}/usr/share/icons/oxygen/scalable/places/start-here-branding.svgz
|
||||
cp -f ${srcdir}/kdemod-branding/branding-icon.png ${pkgdir}/usr/share/apps/kdm/themes/oxygen/branding-icon.png
|
||||
|
||||
cd ${srcdir}/kdemod-branding/
|
||||
for i in 256 128 64 48 32 22 16; do
|
||||
mkdir -p ${pkgdir}/usr/share/icons/oxygen/${i}x${i}/places/
|
||||
@ -254,6 +207,7 @@ package_kde-workspace()
|
||||
done
|
||||
|
||||
# copy kdm/ksplash themes
|
||||
# TODO: Do we really want this? is plain outdated
|
||||
mkdir -p ${pkgdir}/usr/share/apps/kdm/themes
|
||||
mv -fv ${srcdir}/kdemod-themes/oxygen-light ${pkgdir}/usr/share/apps/kdm/themes
|
||||
mkdir -p ${pkgdir}/usr/share/apps/ksplash/Themes
|
||||
@ -279,32 +233,12 @@ package_kde-workspace()
|
||||
ls -1 ${startdir}/*.patch &>/dev/null 2>&1
|
||||
if [ "$?" = "0" ]; then
|
||||
warning "incuding patches into package"
|
||||
mkdir -p ${pkgdir}/usr/share/chakra/patches/${pkgbase} &>/dev/null
|
||||
mkdir -p ${pkgdir}/usr/share/chakra/patches/${pkgname} &>/dev/null
|
||||
for i in ${startdir}/*.patch; do
|
||||
msg "$i"
|
||||
cp $i ${pkgdir}/usr/share/chakra/patches/${pkgbase}/ &>/dev/null
|
||||
cp $i ${pkgdir}/usr/share/chakra/patches/${pkgname}/ &>/dev/null
|
||||
done
|
||||
else
|
||||
warning "no patches found, skipping to include them into the package..."
|
||||
fi
|
||||
|
||||
# FIXME: duplicates in kde-workspace-doc
|
||||
rm -rfv $pkgdir/usr/share/man/man1/plasmaengineexplorer.1*
|
||||
rm -rfv $pkgdir/usr/share/man/man1/plasmapkg.1*
|
||||
rm -rfv $pkgdir/usr/share/man/man1/plasmoidviewer.1*
|
||||
}
|
||||
|
||||
package_kde-workspace-doc()
|
||||
{
|
||||
pkgdesc="KDE Workspace - Documentation"
|
||||
groups=("kde" "kde-uninstall" "kde-doc")
|
||||
replaces=('kdebase-workspace-doc')
|
||||
# keep this, the variable must be resetted
|
||||
optdepends=()
|
||||
|
||||
splitdirs="doc"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install
|
||||
done
|
||||
}
|
||||
|
@ -1,319 +0,0 @@
|
||||
#
|
||||
# KDE SC Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgbase=('kde-workspace')
|
||||
pkgname=('kde-workspace'
|
||||
'kde-workspace-doc')
|
||||
|
||||
arch=('i686' 'x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=2
|
||||
pkgdesc="split package"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
# Default wallpaper included in kde-workspace pkg
|
||||
_default_wp="Horos"
|
||||
|
||||
# NOTE keep in sync with kde-workspace-depends
|
||||
depends=('polkit-kde-agent' "kdepimlibs>=${_kdever}" "kde-runtime>=${_kdever}" 'qimageblitz'
|
||||
'libxxf86misc' 'libxcomposite' 'libxss' 'lm_sensors' 'libxklavier' 'libxft' 'oxygen-icons' "xkit"
|
||||
'libxdamage' 'xorg-utils' 'libxrandr' 'libxres' 'libdmtx' 'libqalculate' 'prison' 'qrencode') # "kdepim-runtime>=${_kdever}"
|
||||
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' 'networkmanager' 'bluez' "kdebindings-pykde4>=${_kdever}"
|
||||
"kdebindings-korundum>=${_kdever}" 'oxygen-icons' 'qedje' "kde-runtime>=${_kdever}" 'gpsd' 'samba'
|
||||
'libraw1394' 'libdmtx' 'consolekit' 'docbook-xsl' 'google-gadgets-qt>=0.11.2' 'prison' 'qrencode')
|
||||
|
||||
source=($_mirror/${pkgbase}-$_kdever.tar.bz2
|
||||
$_mirror/kde-wallpapers-$_kdever.tar.bz2
|
||||
mishaaq-kcm_touchpad-00370b5.tar.gz
|
||||
http://www.kde-apps.org/CONTENT/content-files/114856-kcm_tablet-1.1.3.tar.gz
|
||||
http://www.kde-apps.org/CONTENT/content-files/117639-favorites-0.1.tar.bz2
|
||||
kde.pam
|
||||
kde-np.pam
|
||||
kscreensaver.pam
|
||||
chakra-branding.tar.gz
|
||||
chakra-themes.tar.gz
|
||||
|
||||
# core patches
|
||||
01_kdm_zsh_profile.patch
|
||||
02_sane_env_and_shutdown_path.patch
|
||||
03_plasma_menubutton_branding.patch
|
||||
06_kickoff_default_favourites.patch
|
||||
07_always_show_kickoff_subtext.patch
|
||||
09_enable_start-shutdown-scripts.patch
|
||||
|
||||
# fixes
|
||||
# let KDM wait a big longer for X to start up, fixes problems on some gfx hardware that needs a lot of time to initialize
|
||||
fix_kdm-increase-xserver-timeout-bnc#462478.patch
|
||||
# restart xserver on logout
|
||||
fix_terminate-server.patch
|
||||
# fix kdm default user for greeter
|
||||
fix_kdm_configdef.patch
|
||||
# "fix" some sytemsettings modules that need root access
|
||||
fix_root-only-kcms.patch
|
||||
# shutdown-fix.patch
|
||||
sensors-fix.patch
|
||||
|
||||
http://chakra-project.org/sources/${pkgbase}/rev_dont_rebase_special_time_0_against_monotonic_clock.patch
|
||||
http://chakra-project.org/sources/${pkgbase}/rev_rebase_shutdown_times_against_real_time_when_querying_them.patch
|
||||
http://chakra-project.org/sources/${pkgbase}/rev_fix_shutdown_timeouts_with_monotonic_clock.patch
|
||||
http://chakra-project.org/sources/${pkgbase}/rev_cleaner_restart_logic_for_crashing_greeter.patch
|
||||
http://chakra-project.org/sources/${pkgbase}/rev_session.c_update_now.patch
|
||||
http://chakra-project.org/sources/${pkgbase}/rev_be_posix-compliant_about_monotonic_clock_detection.patch
|
||||
http://chakra-project.org/sources/${pkgbase}/rev_monotonic_clock.patch
|
||||
)
|
||||
|
||||
md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
`grep kde-wallpapers-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1` # kde-wallpapers
|
||||
'f355a658d2e9267fdf4e8d8f88038bcf' # mishaaq-kcm_touchpad-00370b5.tar.gz
|
||||
'd4570491bcf9986d84aeb77c939090a9' # 114856-kcm_tablet-1.1.3.tar.gz
|
||||
'b60baabccbd302d00923e053db0dc0ae' # 117639-favorites-0.1.tar.bz2
|
||||
|
||||
'10a490653b002e6f9e7476ff9d37c011' # kde.pam
|
||||
'552337fd9a3982d809ea16c7f0033d42' # kde-np.pam
|
||||
'367a3538f54db71f108b34cfa31088ac' # kscreensaver.pam
|
||||
'169c6fc83d5562b5d7249db7fc46d8d6' # chakra-branding.tar.gz
|
||||
'c328f1c5cfa3e551205ffdc0fdda41a8' # chakra-themes.tar.gz
|
||||
|
||||
'721e97031b62aee8914e8617e86f9235' # 01_kdm_zsh_profile.patch
|
||||
'e2eb9d270fe0e93901b29256bdedd7e2' # 02_sane_env_and_shutdown_path.patch
|
||||
'8e623bb5608025417ff9ed061e5a03f1' # 03_plasma_menubutton_branding.patch
|
||||
'0ee6e12bb9830b4248becb0442dc7e0c' # 06_kickoff_default_favourites.patch
|
||||
'89d96455c6a446ef59b0620d1b8606af' # 07_always_show_kickoff_subtext.patch
|
||||
'5eb9285268916492012151045bdebd26' # 09_enable_start-shutdown-scripts.patch
|
||||
|
||||
'db2d8166f5ea80ecd291deb9c0e2bb71' # fix_kdm-increase-xserver-timeout-bnc#462478.patch
|
||||
'814350c52c135d6f7bdada1e29223d38' # fix_terminate-server.patch
|
||||
'97a5eb51e6f9d460f0d61bb322a1db5e' # fix_kdm_configdef.patch
|
||||
'5f963f80a026f0600edae1b1c70411e5' # fix_root-only-kcms.patch
|
||||
'ecf3a9d6af9bdd3db0189e06ddf21034' # sensors-fix.patch
|
||||
|
||||
'420748f3ff11b5d16b85feeaa72a0497' # rev_dont_rebase_special_time_0_against_monotonic_clock.patch
|
||||
'709105af6296b48bab4d8b936f92cd75' # rev_rebase_shutdown_times_against_real_time_when_querying_them.patch
|
||||
'2954bf880fdf3b10aeaf3ca539763fcb' # rev_fix_shutdown_timeouts_with_monotonic_clock.patch
|
||||
'f7132937bec4b9fe82f413a8cf75a936' # rev_cleaner_restart_logic_for_crashing_greeter.patch
|
||||
'4e9e1575a44b7518a6d73d50ecd84315' # rev_session.c_update_now.patch
|
||||
'1eec33f38b0d5f6ef407405550ee7727' # rev_be_posix-compliant_about_monotonic_clock_detection.patch
|
||||
'db8077776b1bc6e796fe227bbc0ef63a' # rev_monotonic_clock.patch
|
||||
)
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build()
|
||||
{
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
|
||||
msg "applying main patchset ..."
|
||||
patch -Np0 -i ${srcdir}/01_kdm_zsh_profile.patch
|
||||
patch -Np0 -i ${srcdir}/02_sane_env_and_shutdown_path.patch
|
||||
patch -Np1 -i ${srcdir}/03_plasma_menubutton_branding.patch
|
||||
patch -Np1 -i ${srcdir}/06_kickoff_default_favourites.patch
|
||||
patch -Np1 -i ${srcdir}/07_always_show_kickoff_subtext.patch
|
||||
patch -Np1 -i ${srcdir}/09_enable_start-shutdown-scripts.patch
|
||||
|
||||
|
||||
msg "applying fixes ..."
|
||||
patch -Np0 -i ${srcdir}/fix_kdm-increase-xserver-timeout-bnc#462478.patch
|
||||
patch -Np0 -i ${srcdir}/fix_terminate-server.patch
|
||||
patch -p0 -N -i ${srcdir}/fix_kdm_configdef.patch
|
||||
patch -Np1 -i ${srcdir}/fix_root-only-kcms.patch
|
||||
|
||||
msg "revert upstream patches ..."
|
||||
patch -Np1 -R < ${srcdir}/rev_dont_rebase_special_time_0_against_monotonic_clock.patch
|
||||
patch -Np1 -R < ${srcdir}/rev_rebase_shutdown_times_against_real_time_when_querying_them.patch
|
||||
patch -Np1 -R < ${srcdir}/rev_fix_shutdown_timeouts_with_monotonic_clock.patch
|
||||
patch -Np1 -R < ${srcdir}/rev_cleaner_restart_logic_for_crashing_greeter.patch
|
||||
patch -Np1 -R < ${srcdir}/rev_session.c_update_now.patch
|
||||
patch -Np1 -R < ${srcdir}/rev_be_posix-compliant_about_monotonic_clock_detection.patch
|
||||
patch -Np1 -R < ${srcdir}/rev_monotonic_clock.patch
|
||||
|
||||
# msg "applying upstream patches ..."
|
||||
|
||||
msg "starting workspace build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DWITH_Xmms=OFF \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DWITH_PolkitQt=OFF \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
make
|
||||
|
||||
msg "starting kcm_touchpad build ..."
|
||||
cd ${srcdir}/mishaaq-kcm_touchpad-00370b5
|
||||
# Fix desktop to the new layout
|
||||
sed -i -e "s~keyboard-and-mouse~input-devices~g" touchpad.desktop
|
||||
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DWITH_Xmms=OFF \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
msg "starting kcm_tablet build ..."
|
||||
cd ${srcdir}/kcm_tablet-1.1.3
|
||||
# Fix desktop to the new layout
|
||||
sed -i -e "s~keyboard-and-mouse~input-devices~g" ${srcdir}/kcm_tablet-1.1.3/src/kcm_tablet.desktop
|
||||
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DWITH_Xmms=OFF \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
msg "starting favorites launcher build ..."
|
||||
cd ${srcdir}/favorites-0.1
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DWITH_Xmms=OFF \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
|
||||
|
||||
#
|
||||
# split-install functions
|
||||
#
|
||||
package_kde-workspace()
|
||||
{
|
||||
pkgdesc="KDE Workspace"
|
||||
|
||||
# FIXME don't find google-gadgets
|
||||
# NOTE keep in sync with depends
|
||||
depends=('polkit-kde-agent' "kdepimlibs>=${_kdever}" "kde-runtime>=${_kdever}" 'qimageblitz'
|
||||
'libxxf86misc' 'libxcomposite' 'libxss' 'lm_sensors' 'libxklavier' 'libxft' 'oxygen-icons' "xkit"
|
||||
'libxdamage' 'xorg-utils' 'libxrandr' 'libxres' 'libdmtx' 'libqalculate' 'prison' 'qrencode') # "kdepim-runtime>=${_kdever}"
|
||||
|
||||
optdepends=("kdebindings-pykde4 : Python Support for Plasma"
|
||||
"kdeedu-marble : Marble Wallpaper Plugin"
|
||||
"google-gadgets-qt : Plasma Support for Google Gadgets"
|
||||
"qedje : Plasma Support for Edje Files"
|
||||
"gpsd : Plasma geolocation support"
|
||||
"(open)ntp : Time/Date sync support")
|
||||
|
||||
provides=('kdebase-workspace' 'powerdevil' 'kcm_tablet=1.1.3')
|
||||
replaces=('guidance-power-manager' 'kdebase-workspace')
|
||||
conflicts=('kdebase-workspace' 'powerdevil' 'kcm_tablet' 'guidance-power-manager')
|
||||
groups=("kde" "kde-uninstall" "kde-minimal")
|
||||
|
||||
backup=('usr/share/config/kdm/kdmrc'
|
||||
'etc/pam.d/kde'
|
||||
'etc/pam.d/kde-np'
|
||||
'etc/pam.d/kscreensaver')
|
||||
|
||||
install=${pkgbase}.install
|
||||
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
cd ${srcdir}/mishaaq-kcm_touchpad-00370b5
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
cd ${srcdir}/kcm_tablet-1.1.3
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
cd ${srcdir}/favorites-0.1
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
# install pam configuration
|
||||
install -D -m644 ${srcdir}/kde.pam ${pkgdir}/etc/pam.d/kde
|
||||
install -D -m644 ${srcdir}/kde-np.pam ${pkgdir}/etc/pam.d/kde-np
|
||||
install -D -m644 ${srcdir}/kscreensaver.pam ${pkgdir}/etc/pam.d/kscreensaver
|
||||
|
||||
# sane path for env and shutdown dir
|
||||
install -d -m755 ${pkgdir}/etc/kde/{env,shutdown}
|
||||
|
||||
# install session
|
||||
install -D -m 644 ${srcdir}/${pkgbase}-${pkgver}/kdm/kfrontend/sessions/kde-plasma.desktop \
|
||||
${pkgdir}/etc/X11/sessions/kde-plasma.desktop
|
||||
install -D -m 644 ${srcdir}/${pkgbase}-${pkgver}/kdm/kfrontend/sessions/kde-plasma-safe.desktop \
|
||||
${pkgdir}/etc/X11/sessions/kde-plasma-safe.desktop
|
||||
|
||||
# also install kdm clean default config
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/kdm
|
||||
make DESTDIR=${pkgdir} GENKDMCONF_FLAGS="--no-old --no-backup --no-in-notice" install
|
||||
|
||||
# povided in separate package
|
||||
rm -rf ${pkgdir}/usr/share/doc
|
||||
|
||||
# copy branding stuff
|
||||
mkdir -p ${pkgdir}/usr/share/icons/oxygen/scalable/places/
|
||||
cp -f ${srcdir}/kdemod-branding/start-here-branding.svgz ${pkgdir}/usr/share/icons/oxygen/scalable/places/start-here-branding.svgz
|
||||
cp -f ${srcdir}/kdemod-branding/branding-icon.png ${pkgdir}/usr/share/apps/kdm/themes/oxygen/branding-icon.png
|
||||
|
||||
cd ${srcdir}/kdemod-branding/
|
||||
for i in 256 128 64 48 32 22 16; do
|
||||
mkdir -p ${pkgdir}/usr/share/icons/oxygen/${i}x${i}/places/
|
||||
install -D -m644 start-here-branding-${i}.png ${pkgdir}/usr/share/icons/oxygen/${i}x${i}/places/start-here-branding.png
|
||||
done
|
||||
|
||||
# copy kdm/ksplash themes
|
||||
mkdir -p ${pkgdir}/usr/share/apps/kdm/themes
|
||||
mv -fv ${srcdir}/kdemod-themes/oxygen-light ${pkgdir}/usr/share/apps/kdm/themes
|
||||
mkdir -p ${pkgdir}/usr/share/apps/ksplash/Themes
|
||||
mv -fv ${srcdir}/kdemod-themes/Default-Light ${pkgdir}/usr/share/apps/ksplash/Themes
|
||||
|
||||
# edit kdmrc
|
||||
sed -i -e s,#GUIStyle=.*,GUIStyle=Oxygen,g ${pkgdir}/usr/share/config/kdm/kdmrc
|
||||
sed -i -e s,#ColorScheme=.*,ColorScheme=Oxygen,g ${pkgdir}/usr/share/config/kdm/kdmrc
|
||||
sed -i -e s,Theme=/usr.*,Theme=/usr/share/apps/kdm/themes/horos,g ${pkgdir}/usr/share/config/kdm/kdmrc
|
||||
sed -i -e s,MinShowUID=.*,MinShowUID=1000,g ${pkgdir}/usr/share/config/kdm/kdmrc
|
||||
|
||||
# WORKAROUND -> put ggl stuff into ggl package
|
||||
rm -rf ${pkgdir}/usr/share/apps/plasma/plasmoids/ggl_photos
|
||||
rm -rf ${pkgdir}/usr/share/apps/plasma/plasmoids/ggl_rss
|
||||
rm -rf ${pkgdir}/usr/share/kde4/services/plasma-applet-ggl-photos.desktop
|
||||
rm -rf ${pkgdir}/usr/share/kde4/services/plasma-applet-ggl-rss.desktop
|
||||
|
||||
# Put a wallpaper into the package
|
||||
mkdir -p ${pkgdir}/usr/share/wallpapers
|
||||
cp -rv ${srcdir}/kde-wallpapers-${_kdever}/${_default_wp} ${pkgdir}/usr/share/wallpapers
|
||||
|
||||
# include our patches into the package
|
||||
ls -1 ${startdir}/*.patch &>/dev/null 2>&1
|
||||
if [ "$?" = "0" ]; then
|
||||
warning "incuding patches into package"
|
||||
mkdir -p ${pkgdir}/usr/share/chakra/patches/${pkgbase} &>/dev/null
|
||||
for i in ${startdir}/*.patch; do
|
||||
msg "$i"
|
||||
cp $i ${pkgdir}/usr/share/chakra/patches/${pkgbase}/ &>/dev/null
|
||||
done
|
||||
else
|
||||
warning "no patches found, skipping to include them into the package..."
|
||||
fi
|
||||
|
||||
# FIXME: duplicates in kde-workspace-doc
|
||||
rm -rfv $pkgdir/usr/share/man/man1/plasmaengineexplorer.1*
|
||||
rm -rfv $pkgdir/usr/share/man/man1/plasmapkg.1*
|
||||
rm -rfv $pkgdir/usr/share/man/man1/plasmoidviewer.1*
|
||||
}
|
||||
|
||||
package_kde-workspace-doc()
|
||||
{
|
||||
pkgdesc="KDE Workspace - Documentation"
|
||||
groups=("kde" "kde-uninstall" "kde-doc")
|
||||
replaces=('kdebase-workspace-doc')
|
||||
# keep this, the variable must be resetted
|
||||
optdepends=()
|
||||
|
||||
splitdirs="doc"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install
|
||||
done
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
diff -Naur kdebase-workspace-4.3.98.orig/plasma/generic/applets/battery/battery.cpp kdebase-workspace-4.3.98/plasma/generic/applets/battery/battery.cpp
|
||||
--- kdebase-workspace-4.3.98.orig/plasma/generic/applets/battery/battery.cpp 2010-01-31 20:30:45.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.98/plasma/generic/applets/battery/battery.cpp 2010-02-01 22:44:24.000000000 +0100
|
||||
@@ -61,6 +61,7 @@
|
||||
#include <Plasma/CheckBox>
|
||||
#include <Plasma/ComboBox>
|
||||
#include <Plasma/IconWidget>
|
||||
+#include <Plasma/ToolTipManager>
|
||||
|
||||
|
||||
Battery::Battery(QObject *parent, const QVariantList &args)
|
||||
@@ -224,6 +225,8 @@
|
||||
qRound(contentsRect().height() / 10)));
|
||||
update();
|
||||
}
|
||||
+
|
||||
+ Plasma::ToolTipManager::self()->registerWidget(this);
|
||||
}
|
||||
|
||||
void Battery::dataUpdated(const QString& source, const Plasma::DataEngine::Data &data)
|
||||
@@ -254,6 +257,11 @@
|
||||
setStatus(Plasma::ActiveStatus);
|
||||
}
|
||||
|
||||
+ // if the tooltip is visible, keep the displayed data up-to-date
|
||||
+ if (Plasma::ToolTipManager::self()->isVisible(this)) {
|
||||
+ toolTipAboutToShow();
|
||||
+ }
|
||||
+
|
||||
updateStatus();
|
||||
update();
|
||||
}
|
||||
@@ -994,4 +1002,47 @@
|
||||
return m_acAlpha;
|
||||
}
|
||||
|
||||
+void Battery::toolTipAboutToShow()
|
||||
+{
|
||||
+ int battery_num = 0;
|
||||
+ int battery_charge = 0;
|
||||
+ bool has_battery = false;
|
||||
+ QHashIterator<QString, QHash<QString, QVariant > > battery_data(m_batteries_data);
|
||||
+ while (battery_data.hasNext()) {
|
||||
+ battery_data.next();
|
||||
+ if (battery_data.value()["Plugged in"].toBool()) {
|
||||
+ battery_charge += battery_data.value()["Percent"].toInt();
|
||||
+ has_battery = true;
|
||||
+ ++battery_num;
|
||||
+ }
|
||||
+ }
|
||||
+ if (battery_num > 1) {
|
||||
+ battery_charge = battery_charge / battery_num;
|
||||
+ }
|
||||
+
|
||||
+ QString content = "";
|
||||
+ QString state = battery_data.value()["State"].toString();
|
||||
+ if (state == "Discharging") {
|
||||
+ content += i18n("Discharging: %1% charged", battery_charge);
|
||||
+ }
|
||||
+ else if (state == "Charging") {
|
||||
+ content += i18n("Charging: %1% charged", battery_charge);
|
||||
+ }
|
||||
+ else if (state == "NoCharge") {
|
||||
+ content += i18n("Fully charged (%1%)", battery_charge);
|
||||
+ }
|
||||
+
|
||||
+ if (m_showRemainingTime && (state=="Charging" || state=="Discharging" )) {
|
||||
+ QTime t = QTime(m_hours, m_minutes);
|
||||
+ KLocale tmpLocale(*KGlobal::locale());
|
||||
+ tmpLocale.setTimeFormat("%k:%M");
|
||||
+
|
||||
+ content += "<br/>";
|
||||
+ content += i18n("Estimated time remaining %1").arg(tmpLocale.formatTime(t, false, true)); // minutes, hours as duration
|
||||
+ }
|
||||
+
|
||||
+ Plasma::ToolTipManager::self()->setContent(this, Plasma::ToolTipContent(content, "", KIcon("battery")));
|
||||
+}
|
||||
+
|
||||
+
|
||||
#include "battery.moc"
|
||||
diff -Naur kdebase-workspace-4.3.98.orig/plasma/generic/applets/battery/battery.h kdebase-workspace-4.3.98/plasma/generic/applets/battery/battery.h
|
||||
--- kdebase-workspace-4.3.98.orig/plasma/generic/applets/battery/battery.h 2010-01-20 00:19:14.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.98/plasma/generic/applets/battery/battery.h 2010-02-01 22:44:24.000000000 +0100
|
||||
@@ -71,7 +71,8 @@
|
||||
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
|
||||
void configAccepted();
|
||||
void readColors();
|
||||
-
|
||||
+ void toolTipAboutToShow();
|
||||
+
|
||||
protected:
|
||||
void createConfigurationInterface(KConfigDialog *parent);
|
||||
void setEmbedded(const bool embedded);
|
@ -1,418 +0,0 @@
|
||||
diff -up kdebase-workspace-4.3.95/libs/solid/control/powermanager.cpp.brightness_keys kdebase-workspace-4.3.95/libs/solid/control/powermanager.cpp
|
||||
--- kdebase-workspace-4.3.95/libs/solid/control/powermanager.cpp.brightness_keys 2010-01-06 11:00:01.000000000 -0600
|
||||
+++ kdebase-workspace-4.3.95/libs/solid/control/powermanager.cpp 2010-01-23 12:35:12.385641003 -0600
|
||||
@@ -25,6 +25,8 @@
|
||||
#include "ifaces/powermanager.h"
|
||||
#include <kdebug.h>
|
||||
#include <kglobal.h>
|
||||
+#include <QDBusInterface>
|
||||
+#include <QDBusPendingCall>
|
||||
#include <QX11Info>
|
||||
|
||||
K_GLOBAL_STATIC(Solid::Control::PowerManagerPrivate, globalPowerManager)
|
||||
@@ -160,7 +162,8 @@ bool Solid::Control::PowerManager::setBr
|
||||
#ifdef Q_WS_WIN
|
||||
return false;
|
||||
#else
|
||||
- return ( xrandr_brightlight( QX11Info::display(), brightness ) >= 0 );
|
||||
+ if ( xrandr_brightlight( QX11Info::display(), brightness ) < 0 )
|
||||
+ return false;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
@@ -170,8 +173,12 @@ bool Solid::Control::PowerManager::setBr
|
||||
SOLID_CALL(Ifaces::PowerManager *, globalPowerManager->managerBackend(), setBrightness(brightness, device));
|
||||
}
|
||||
//TODO - This should be done better, it will return true even if one of the calls returns false. SOLID_CALL does not allow us to get the return value.
|
||||
- return true;
|
||||
}
|
||||
+
|
||||
+ QDBusInterface iface("org.kde.kded", "/modules/powerdevil", "org.kde.PowerDevil", QDBusConnection::sessionBus());
|
||||
+ if (iface.isValid())
|
||||
+ iface.asyncCall("notifyOfBrightnessChange", (int) Solid::Control::PowerManager::brightness());
|
||||
+ return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
diff -up kdebase-workspace-4.3.95/plasma/generic/applets/battery/battery.cpp.brightness_keys kdebase-workspace-4.3.95/plasma/generic/applets/battery/battery.cpp
|
||||
--- kdebase-workspace-4.3.95/plasma/generic/applets/battery/battery.cpp.brightness_keys 2010-01-23 12:35:12.366629154 -0600
|
||||
+++ kdebase-workspace-4.3.95/plasma/generic/applets/battery/battery.cpp 2010-01-23 12:35:12.386640293 -0600
|
||||
@@ -31,9 +31,13 @@
|
||||
#include <QGraphicsGridLayout>
|
||||
#include <QGraphicsLinearLayout>
|
||||
#include <QDBusPendingCall>
|
||||
+#include <QDesktopWidget>
|
||||
#include <QLabel>
|
||||
+#include <QProgressBar>
|
||||
#include <QPropertyAnimation>
|
||||
+#include <QTimer>
|
||||
|
||||
+#include <KApplication>
|
||||
#include <KDebug>
|
||||
#include <KIcon>
|
||||
#include <KSharedConfig>
|
||||
@@ -87,7 +91,8 @@ Battery::Battery(QObject *parent, const
|
||||
m_labelAlpha(0),
|
||||
m_labelAnimation(0),
|
||||
m_acAlpha(0),
|
||||
- m_acAnimation(0)
|
||||
+ m_acAnimation(0),
|
||||
+ m_brightnessDisplay(0)
|
||||
{
|
||||
//kDebug() << "Loading applet battery";
|
||||
setAcceptsHoverEvents(true);
|
||||
@@ -314,6 +319,7 @@ void Battery::hoverLeaveEvent(QGraphicsS
|
||||
|
||||
Battery::~Battery()
|
||||
{
|
||||
+ delete m_brightnessDisplay;
|
||||
}
|
||||
|
||||
void Battery::suspend()
|
||||
@@ -334,13 +340,17 @@ void Battery::hibernate()
|
||||
|
||||
void Battery::brightnessChanged(const int brightness)
|
||||
{
|
||||
- Solid::Control::PowerManager::setBrightness(brightness);
|
||||
+ if (!m_ignoreBrightnessChange) {
|
||||
+ Solid::Control::PowerManager::setBrightness(brightness);
|
||||
+ }
|
||||
}
|
||||
|
||||
-void Battery::updateSlider(const float brightness)
|
||||
+void Battery::updateSlider(int brightness)
|
||||
{
|
||||
- if (m_brightnessSlider->value() != (int)brightness) {
|
||||
- m_brightnessSlider->setValue((int) brightness);
|
||||
+ if (m_brightnessSlider->value() != brightness) {
|
||||
+ m_ignoreBrightnessChange = true;
|
||||
+ m_brightnessSlider->setValue(brightness);
|
||||
+ m_ignoreBrightnessChange = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -363,6 +373,7 @@ void Battery::initExtenderItem(Plasma::E
|
||||
// as the battery applet is also embedded into the battery's extender.
|
||||
if (!m_isEmbedded && item->name() == "powermanagement") {
|
||||
int row = 0;
|
||||
+ m_ignoreBrightnessChange = false;
|
||||
|
||||
m_controls = new QGraphicsWidget(item);
|
||||
m_controls->setMinimumWidth(360);
|
||||
@@ -427,16 +438,12 @@ void Battery::initExtenderItem(Plasma::E
|
||||
|
||||
m_brightnessSlider = new Plasma::Slider(m_controls);
|
||||
m_brightnessSlider->setRange(0, 100);
|
||||
- m_brightnessSlider->setValue(Solid::Control::PowerManager::brightness());
|
||||
+ updateSlider(Solid::Control::PowerManager::brightness());
|
||||
m_brightnessSlider->nativeWidget()->setTickInterval(10);
|
||||
m_brightnessSlider->setOrientation(Qt::Horizontal);
|
||||
connect(m_brightnessSlider, SIGNAL(valueChanged(int)),
|
||||
this, SLOT(brightnessChanged(int)));
|
||||
|
||||
- Solid::Control::PowerManager::Notifier *notifier = Solid::Control::PowerManager::notifier();
|
||||
-
|
||||
- connect(notifier, SIGNAL(brightnessChanged(float)),
|
||||
- this, SLOT(updateSlider(float)));
|
||||
m_controlsLayout->addItem(m_brightnessSlider, row, 1);
|
||||
row++;
|
||||
|
||||
@@ -527,6 +534,21 @@ void Battery::initExtenderItem(Plasma::E
|
||||
item->setTitle(i18n("Power Management"));
|
||||
|
||||
setupFonts();
|
||||
+
|
||||
+ m_brightnessDisplay = new QProgressBar();
|
||||
+ m_brightnessDisplay->setWindowFlags(Qt::X11BypassWindowManagerHint);
|
||||
+ QDesktopWidget* desktop = KApplication::kApplication()->desktop();
|
||||
+ //Getting QRect of the screen where cursor is positioned
|
||||
+ QRect rect = desktop->screenGeometry(QCursor::pos());
|
||||
+ int width = (rect.width()/2) - (m_brightnessDisplay->width()/2);
|
||||
+ int height = (rect.height()/2) - (m_brightnessDisplay->height()/2);
|
||||
+ width += rect.x();
|
||||
+ height += rect.y();
|
||||
+ m_brightnessDisplay->move(width, height);
|
||||
+ m_brightnessDisplayTimer = new QTimer(this);
|
||||
+ connect(m_brightnessDisplayTimer, SIGNAL(timeout()), this, SLOT(hideOSD()));
|
||||
+ QDBusConnection::sessionBus().connect("org.kde.kded", "/modules/powerdevil", "org.kde.PowerDevil",
|
||||
+ "brightnessChanged", this, SLOT(showBrightnessOSD(int,bool)));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -657,7 +679,7 @@ void Battery::updateStatus()
|
||||
}
|
||||
|
||||
if (m_brightnessSlider) {
|
||||
- m_brightnessSlider->setValue(Solid::Control::PowerManager::brightness());
|
||||
+ updateSlider(Solid::Control::PowerManager::brightness());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -999,4 +1021,34 @@ qreal Battery::acAlpha()
|
||||
return m_acAlpha;
|
||||
}
|
||||
|
||||
+void Battery::showBrightnessOSD(int brightness, bool byFnKey)
|
||||
+{
|
||||
+ if (byFnKey) {
|
||||
+ m_brightnessDisplay->setValue(brightness);
|
||||
+ m_brightnessDisplay->show();
|
||||
+
|
||||
+ //FIXME, how to get this to work before it is displayed for the first time?
|
||||
+ QDesktopWidget* desktop = KApplication::kApplication()->desktop();
|
||||
+ //Getting QRect of the screen where cursor is positioned
|
||||
+ QRect rect = desktop->screenGeometry(QCursor::pos());
|
||||
+ int width = (rect.width()/2) - (m_brightnessDisplay->width()/2);
|
||||
+ int height = (rect.height()/2) - (m_brightnessDisplay->height()/2);
|
||||
+ width += rect.x();
|
||||
+ height += rect.y();
|
||||
+ m_brightnessDisplay->move(width, height);
|
||||
+
|
||||
+ m_brightnessDisplayTimer->setInterval(2000);
|
||||
+ m_brightnessDisplayTimer->start();
|
||||
+
|
||||
+ if (m_extenderVisible && m_brightnessSlider) {
|
||||
+ updateSlider(brightness);
|
||||
+ }
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+void Battery::hideOSD()
|
||||
+{
|
||||
+ m_brightnessDisplay->hide();
|
||||
+}
|
||||
+
|
||||
#include "battery.moc"
|
||||
diff -up kdebase-workspace-4.3.95/plasma/generic/applets/battery/battery.h.brightness_keys kdebase-workspace-4.3.95/plasma/generic/applets/battery/battery.h
|
||||
--- kdebase-workspace-4.3.95/plasma/generic/applets/battery/battery.h.brightness_keys 2010-01-19 17:19:14.000000000 -0600
|
||||
+++ kdebase-workspace-4.3.95/plasma/generic/applets/battery/battery.h 2010-01-23 12:35:12.386640293 -0600
|
||||
@@ -39,6 +39,8 @@ namespace Plasma
|
||||
class Slider;
|
||||
}
|
||||
|
||||
+class QProgressBar;
|
||||
+
|
||||
class Battery : public Plasma::PopupApplet
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -83,7 +85,7 @@ class Battery : public Plasma::PopupAppl
|
||||
void sourceAdded(const QString &source);
|
||||
void sourceRemoved(const QString &source);
|
||||
void brightnessChanged(const int brightness);
|
||||
- void updateSlider(const float brightness);
|
||||
+ void updateSlider(int brightness);
|
||||
void setFullBrightness();
|
||||
void openConfig();
|
||||
void setProfile(const QString &profile);
|
||||
@@ -91,6 +93,8 @@ class Battery : public Plasma::PopupAppl
|
||||
void hibernate();
|
||||
void updateBattery();
|
||||
void setupFonts();
|
||||
+ void showBrightnessOSD(int brightness, bool byFnKey);
|
||||
+ void hideOSD();
|
||||
|
||||
private:
|
||||
void connectSources();
|
||||
@@ -172,6 +176,10 @@ class Battery : public Plasma::PopupAppl
|
||||
QPropertyAnimation *m_labelAnimation;
|
||||
qreal m_acAlpha;
|
||||
QPropertyAnimation *m_acAnimation;
|
||||
+
|
||||
+ bool m_ignoreBrightnessChange;
|
||||
+ QProgressBar* m_brightnessDisplay;
|
||||
+ QTimer* m_brightnessDisplayTimer;
|
||||
};
|
||||
|
||||
K_EXPORT_PLASMA_APPLET(battery, Battery)
|
||||
diff -up kdebase-workspace-4.3.95/powerdevil/daemon/org.kde.PowerDevil.xml.brightness_keys kdebase-workspace-4.3.95/powerdevil/daemon/org.kde.PowerDevil.xml
|
||||
--- kdebase-workspace-4.3.95/powerdevil/daemon/org.kde.PowerDevil.xml.brightness_keys 2009-09-04 06:30:55.000000000 -0500
|
||||
+++ kdebase-workspace-4.3.95/powerdevil/daemon/org.kde.PowerDevil.xml 2010-01-23 12:35:12.386640293 -0600
|
||||
@@ -42,6 +42,10 @@
|
||||
<arg type="as" direction="out" />
|
||||
</method>
|
||||
|
||||
+ <method name="notifyOfBrightnessChange">
|
||||
+ <arg type="i" direction="in" />
|
||||
+ </method>
|
||||
+
|
||||
<signal name="lidClosed">
|
||||
<arg type="i" direction="out" />
|
||||
<arg type="s" direction="out" />
|
||||
@@ -56,5 +60,9 @@
|
||||
</signal>
|
||||
<signal name="DPMSconfigUpdated">
|
||||
</signal>
|
||||
+ <signal name="brightnessChanged">
|
||||
+ <arg type="i" direction="out" />
|
||||
+ <arg type="b" direction="out" />
|
||||
+ </signal>
|
||||
</interface>
|
||||
</node>
|
||||
diff -up kdebase-workspace-4.3.95/powerdevil/daemon/PowerDevilDaemon.cpp.brightness_keys kdebase-workspace-4.3.95/powerdevil/daemon/PowerDevilDaemon.cpp
|
||||
--- kdebase-workspace-4.3.95/powerdevil/daemon/PowerDevilDaemon.cpp.brightness_keys 2009-12-10 17:14:04.000000000 -0600
|
||||
+++ kdebase-workspace-4.3.95/powerdevil/daemon/PowerDevilDaemon.cpp 2010-01-23 12:35:12.387639722 -0600
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
#include <kdemacros.h>
|
||||
#include <KAboutData>
|
||||
+#include <KAction>
|
||||
+#include <KActionCollection>
|
||||
#include <KPluginFactory>
|
||||
#include <KNotification>
|
||||
#include <KIcon>
|
||||
@@ -93,6 +95,7 @@ public:
|
||||
: notifier(Solid::Control::PowerManager::notifier())
|
||||
, currentConfig(0)
|
||||
, status(PowerDevilDaemon::NoAction)
|
||||
+ , brightnessInHardware(false)
|
||||
, ckSessionInterface(0) {}
|
||||
|
||||
Solid::Control::PowerManager::Notifier *notifier;
|
||||
@@ -119,6 +122,8 @@ public:
|
||||
|
||||
int batteryPercent;
|
||||
int brightness;
|
||||
+ int cachedBrightness;
|
||||
+ bool brightnessInHardware;
|
||||
bool isPlugged;
|
||||
|
||||
// ConsoleKit stuff
|
||||
@@ -174,6 +179,18 @@ PowerDevilDaemon::PowerDevilDaemon(QObje
|
||||
d->ksmServerIface = new OrgKdeKSMServerInterfaceInterface("org.kde.ksmserver", "/KSMServer",
|
||||
QDBusConnection::sessionBus(), this);
|
||||
|
||||
+ QDBusInterface halManager("org.freedesktop.Hal",
|
||||
+ "/org/freedesktop/Hal/Manager", "org.freedesktop.Hal.Manager",
|
||||
+ QDBusConnection::systemBus());
|
||||
+ QStringList panelDevices = halManager.call("FindDeviceByCapability",
|
||||
+ "laptop_panel").arguments().at(0).toStringList();
|
||||
+ if (!panelDevices.empty()) {
|
||||
+ QDBusInterface deviceInterface("org.freedesktop.Hal", panelDevices.at(0), "org.freedesktop.Hal.Device",
|
||||
+ QDBusConnection::systemBus());
|
||||
+ d->brightnessInHardware = deviceInterface.call("GetPropertyBoolean",
|
||||
+ "laptop_panel.brightness_in_hardware").arguments().at(0).toBool();
|
||||
+ }
|
||||
+
|
||||
/* Not needed anymore; I am not sure if we will need that in a future, so I leave it here
|
||||
* just in case.
|
||||
*
|
||||
@@ -198,6 +215,17 @@ PowerDevilDaemon::PowerDevilDaemon(QObje
|
||||
QDBusConnection::sessionBus().registerService("org.kde.powerdevil");
|
||||
// All systems up Houston, let's go!
|
||||
refreshStatus();
|
||||
+
|
||||
+ d->cachedBrightness = (int) Solid::Control::PowerManager::brightness();
|
||||
+ KActionCollection* actionCollection = new KActionCollection( this );
|
||||
+
|
||||
+ KAction* globalAction = static_cast< KAction* >( actionCollection->addAction( "Increase Screen Brightness" ));
|
||||
+ globalAction->setGlobalShortcut(KShortcut(Qt::Key_MonBrightnessUp));
|
||||
+ connect(globalAction, SIGNAL(triggered(bool)), SLOT(increaseBrightness()));
|
||||
+
|
||||
+ globalAction = static_cast< KAction* >( actionCollection->addAction( "Decrease Screen Brightness" ));
|
||||
+ globalAction->setGlobalShortcut(KShortcut(Qt::Key_MonBrightnessDown));
|
||||
+ connect(globalAction, SIGNAL(triggered(bool)), SLOT(decreaseBrightness()));
|
||||
}
|
||||
|
||||
PowerDevilDaemon::~PowerDevilDaemon()
|
||||
@@ -661,24 +689,40 @@ void PowerDevilDaemon::buttonPressed(int
|
||||
}
|
||||
}
|
||||
|
||||
-void PowerDevilDaemon::decreaseBrightness()
|
||||
+void PowerDevilDaemon::incDecBrightness(bool increase)
|
||||
{
|
||||
if (!checkIfCurrentSessionActive()) {
|
||||
return;
|
||||
}
|
||||
+
|
||||
+ int currentBrightness = (int) Solid::Control::PowerManager::brightness();
|
||||
+ if ((currentBrightness == d->cachedBrightness) && !d->brightnessInHardware)
|
||||
+ {
|
||||
+ int newBrightness;
|
||||
+ if (increase) {
|
||||
+ newBrightness = qMin(100, currentBrightness + 10);
|
||||
+ }
|
||||
+ else {
|
||||
+ newBrightness = qMax(0, currentBrightness - 10);
|
||||
+ }
|
||||
|
||||
- int currentBrightness = qMax(0, (int)(Solid::Control::PowerManager::brightness() - 10));
|
||||
- Solid::Control::PowerManager::setBrightness(currentBrightness);
|
||||
+ Solid::Control::PowerManager::setBrightness(newBrightness);
|
||||
+ currentBrightness = (int) Solid::Control::PowerManager::brightness();
|
||||
+ }
|
||||
+
|
||||
+ if (!d->brightnessInHardware) {
|
||||
+ emitBrightnessChanged(currentBrightness, true);
|
||||
+ }
|
||||
}
|
||||
|
||||
-void PowerDevilDaemon::increaseBrightness()
|
||||
+void PowerDevilDaemon::decreaseBrightness()
|
||||
{
|
||||
- if (!checkIfCurrentSessionActive()) {
|
||||
- return;
|
||||
- }
|
||||
+ incDecBrightness(false);
|
||||
+}
|
||||
|
||||
- int currentBrightness = qMin(100, (int)(Solid::Control::PowerManager::brightness() + 10));
|
||||
- Solid::Control::PowerManager::setBrightness(currentBrightness);
|
||||
+void PowerDevilDaemon::increaseBrightness()
|
||||
+{
|
||||
+ incDecBrightness(true);
|
||||
}
|
||||
|
||||
void PowerDevilDaemon::shutdownNotification(bool automated)
|
||||
@@ -1463,4 +1507,17 @@ void PowerDevilDaemon::setUpConsoleKit()
|
||||
SLOT(refreshStatus()));
|
||||
}
|
||||
|
||||
+void PowerDevilDaemon::notifyOfBrightnessChange(int brightness)
|
||||
+{
|
||||
+ emitBrightnessChanged(brightness, false);
|
||||
+}
|
||||
+
|
||||
+void PowerDevilDaemon::emitBrightnessChanged(int brightness, bool byFnKey)
|
||||
+{
|
||||
+ if ((d->cachedBrightness != brightness) || byFnKey) {
|
||||
+ d->cachedBrightness = brightness;
|
||||
+ emit brightnessChanged(brightness, byFnKey);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
#include "PowerDevilDaemon.moc"
|
||||
diff -up kdebase-workspace-4.3.95/powerdevil/daemon/PowerDevilDaemon.h.brightness_keys kdebase-workspace-4.3.95/powerdevil/daemon/PowerDevilDaemon.h
|
||||
--- kdebase-workspace-4.3.95/powerdevil/daemon/PowerDevilDaemon.h.brightness_keys 2009-11-30 18:30:27.000000000 -0600
|
||||
+++ kdebase-workspace-4.3.95/powerdevil/daemon/PowerDevilDaemon.h 2010-01-23 12:35:12.387639722 -0600
|
||||
@@ -61,10 +61,13 @@ public Q_SLOTS:
|
||||
|
||||
SuspensionLockHandler *lockHandler();
|
||||
|
||||
+ void notifyOfBrightnessChange(int brightness);
|
||||
+
|
||||
private Q_SLOTS:
|
||||
void acAdapterStateChanged(int state, bool forced = false);
|
||||
void batteryChargePercentChanged(int percent, const QString &udi);
|
||||
|
||||
+ void incDecBrightness(bool increase);
|
||||
void decreaseBrightness();
|
||||
void increaseBrightness();
|
||||
|
||||
@@ -106,6 +109,7 @@ Q_SIGNALS:
|
||||
void stateChanged(int, bool);
|
||||
void profileChanged(const QString &, const QStringList &);
|
||||
void DPMSconfigUpdated();
|
||||
+ void brightnessChanged(int brightness, bool byFnKey);
|
||||
|
||||
private:
|
||||
void lockScreen();
|
||||
@@ -127,6 +131,8 @@ private:
|
||||
|
||||
bool checkIfCurrentSessionActive();
|
||||
|
||||
+ void emitBrightnessChanged(int brightness, bool byFnKey);
|
||||
+
|
||||
public:
|
||||
enum IdleAction {
|
||||
None = 0,
|
@ -1,141 +0,0 @@
|
||||
diff -Nurd kde-workspace-4.7.90/kdm/backend/bootman.c mywork/kdm/backend/bootman.c
|
||||
--- kde-workspace-4.7.90/kdm/backend/bootman.c 2011-07-27 20:35:39.000000000 +0200
|
||||
+++ mywork/kdm/backend/bootman.c 2011-12-04 20:36:43.045270353 +0100
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
+#include <malloc.h>
|
||||
|
||||
static int
|
||||
getNull(char ***opts ATTR_UNUSED, int *def ATTR_UNUSED, int *cur ATTR_UNUSED)
|
||||
@@ -160,26 +161,29 @@
|
||||
}
|
||||
}
|
||||
|
||||
-#define GRUB2_MENU "/boot/grub/grub.cfg"
|
||||
|
||||
static char *grubReboot;
|
||||
+static char *grubConfig;
|
||||
+static char *grubRebootExec;
|
||||
+
|
||||
+
|
||||
|
||||
static int
|
||||
-getGrub2(char ***opts, int *def, int *cur)
|
||||
+getGrub2OrBurg(char ***opts, int *def, int *cur)
|
||||
{
|
||||
FILE *f;
|
||||
char *ptr, *linp;
|
||||
int len, ret = BO_NOMAN, i;
|
||||
char line[1000];
|
||||
|
||||
- if (!grubReboot && !(grubReboot = locate("grub-reboot")))
|
||||
+ if (!grubReboot && !(grubReboot = locate(grubRebootExec)))
|
||||
return BO_NOMAN;
|
||||
|
||||
*def = -1;
|
||||
*cur = -1;
|
||||
*opts = initStrArr(0);
|
||||
|
||||
- if (!(f = fopen(GRUB2_MENU, "r")))
|
||||
+ if (!(f = fopen(grubConfig, "r")))
|
||||
return errno == ENOENT ? BO_NOMAN : BO_IO;
|
||||
while ((len = fGets(line, sizeof(line), f)) != -1) {
|
||||
for (linp = line; isspace(*linp); linp++, len--);
|
||||
@@ -222,6 +226,17 @@
|
||||
return ret;
|
||||
}
|
||||
|
||||
+static int
|
||||
+getGrub2(char ***opts, int *def, int *cur){
|
||||
+ if(!grubConfig && !grubRebootExec){
|
||||
+ grubConfig=malloc(21*sizeof(char));
|
||||
+ strcpy(grubConfig,"/boot/grub/grub.cfg");
|
||||
+ grubRebootExec=malloc(13*sizeof(char));
|
||||
+ strcpy(grubRebootExec,"grub-reboot");
|
||||
+ }
|
||||
+ return getGrub2OrBurg(opts,def,cur);
|
||||
+}
|
||||
+
|
||||
static int
|
||||
setGrub2(const char *opt, SdRec *sdr)
|
||||
{
|
||||
@@ -233,7 +248,7 @@
|
||||
for (i = 0; opts[i]; i++) {
|
||||
if (!strcmp(opts[i], opt)) {
|
||||
sdr->osindex = i;
|
||||
- sdr->bmstamp = mTime(GRUB2_MENU);
|
||||
+ sdr->bmstamp = mTime(grubConfig);
|
||||
freeStrArr(opts);
|
||||
return BO_OK;
|
||||
}
|
||||
@@ -245,7 +260,7 @@
|
||||
static void
|
||||
commitGrub2(void)
|
||||
{
|
||||
- if (sdRec.bmstamp != mTime(GRUB2_MENU) &&
|
||||
+ if (sdRec.bmstamp != mTime(grubConfig) &&
|
||||
setGrub2(sdRec.osname, &sdRec) != BO_OK)
|
||||
return;
|
||||
|
||||
@@ -257,6 +272,29 @@
|
||||
}
|
||||
}
|
||||
|
||||
+static int
|
||||
+getBurg(char ***opts, int *def, int *cur){
|
||||
+ if(!grubConfig && !grubRebootExec){
|
||||
+ grubConfig=malloc(21*sizeof(char));
|
||||
+ strcpy(grubConfig,"/boot/burg/burg.cfg");
|
||||
+ grubRebootExec=malloc(13*sizeof(char));
|
||||
+ strcpy(grubRebootExec,"burg-reboot");
|
||||
+ }
|
||||
+ return getGrub2OrBurg(opts,def,cur);
|
||||
+}
|
||||
+
|
||||
+static int
|
||||
+setBurg(const char *opt, SdRec *sdr)
|
||||
+{
|
||||
+ return setGrub2(opt,sdr);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+commitBurg(void)
|
||||
+{
|
||||
+ commitGrub2();
|
||||
+}
|
||||
+
|
||||
static char *lilo;
|
||||
|
||||
static int
|
||||
@@ -352,6 +390,7 @@
|
||||
{ getNull, setNull, 0 },
|
||||
{ getGrub, setGrub, commitGrub },
|
||||
{ getGrub2, setGrub2, commitGrub2 },
|
||||
+ { getBurg, setBurg, commitBurg },
|
||||
{ getLilo, setLilo, commitLilo },
|
||||
};
|
||||
|
||||
diff -Nurd kde-workspace-4.7.90/kdm/config.def mywork/kdm/config.def
|
||||
--- kde-workspace-4.7.90/kdm/config.def 2011-07-27 20:35:39.000000000 +0200
|
||||
+++ mywork/kdm/config.def 2011-12-04 20:37:40.122520573 +0100
|
||||
@@ -1257,6 +1257,7 @@
|
||||
None/BO_NONE: no boot manager
|
||||
Grub/BO_GRUB: Grub boot manager
|
||||
Grub2/BO_GRUB2: Grub2 boot manager
|
||||
+ Burg/BO_BURG: Burg boot manager
|
||||
Lilo/BO_LILO: Lilo boot manager (Linux on i386 & x86-64 only)
|
||||
Default: None
|
||||
User: core
|
||||
diff -Nurd kde-workspace-4.7.90/kdm/kcm/kdm-shut.cpp mywork/kdm/kcm/kdm-shut.cpp
|
||||
--- kde-workspace-4.7.90/kdm/kcm/kdm-shut.cpp 2011-08-22 15:29:50.000000000 +0200
|
||||
+++ mywork/kdm/kcm/kdm-shut.cpp 2011-12-04 20:38:22.932961382 +0100
|
||||
@@ -98,6 +98,7 @@
|
||||
bm_combo->insertItem("None", i18nc("boot manager", "None"));
|
||||
bm_combo->insertItem("Grub", i18n("Grub"));
|
||||
bm_combo->insertItem("Grub2", i18n("Grub2"));
|
||||
+ bm_combo->insertItem("Burg", i18n("Burg"));
|
||||
#if defined(__linux__) && (defined(__i386__) || defined(__amd64__))
|
||||
bm_combo->insertItem("Lilo", i18n("Lilo"));
|
||||
#endif
|
@ -1,121 +0,0 @@
|
||||
commit f5b7e8426e61ee8ada6a940a14151c698850803a
|
||||
Author: Radu Andries <admiral0@tuxfamily.org>
|
||||
Date: Mon Dec 5 00:27:44 2011 +0100
|
||||
|
||||
Added support for burg
|
||||
|
||||
REVIEW: 103330
|
||||
|
||||
diff --git a/kdm/backend/bootman.c b/kdm/backend/bootman.c
|
||||
index f130719..b3575bb 100644
|
||||
--- a/kdm/backend/bootman.c
|
||||
+++ b/kdm/backend/bootman.c
|
||||
@@ -160,26 +160,25 @@ commitGrub(void)
|
||||
}
|
||||
}
|
||||
|
||||
-#define GRUB2_MENU "/boot/grub/grub.cfg"
|
||||
-
|
||||
static char *grubReboot;
|
||||
+static const char *grubConfig;
|
||||
|
||||
static int
|
||||
-getGrub2(char ***opts, int *def, int *cur)
|
||||
+getGrub2OrBurg(char ***opts, int *def, int *cur, const char *grubRebootExec)
|
||||
{
|
||||
FILE *f;
|
||||
char *ptr, *linp;
|
||||
int len, ret = BO_NOMAN, i;
|
||||
char line[1000];
|
||||
|
||||
- if (!grubReboot && !(grubReboot = locate("grub-reboot")))
|
||||
+ if (!grubReboot && !(grubReboot = locate(grubRebootExec)))
|
||||
return BO_NOMAN;
|
||||
|
||||
*def = -1;
|
||||
*cur = -1;
|
||||
*opts = initStrArr(0);
|
||||
|
||||
- if (!(f = fopen(GRUB2_MENU, "r")))
|
||||
+ if (!(f = fopen(grubConfig, "r")))
|
||||
return errno == ENOENT ? BO_NOMAN : BO_IO;
|
||||
while ((len = fGets(line, sizeof(line), f)) != -1) {
|
||||
for (linp = line; isspace(*linp); linp++, len--);
|
||||
@@ -223,6 +222,13 @@ getGrub2(char ***opts, int *def, int *cur)
|
||||
}
|
||||
|
||||
static int
|
||||
+getGrub2(char ***opts, int *def, int *cur)
|
||||
+{
|
||||
+ grubConfig = "/boot/grub/grub.cfg";
|
||||
+ return getGrub2OrBurg(opts, def, cur, "grub-reboot");
|
||||
+}
|
||||
+
|
||||
+static int
|
||||
setGrub2(const char *opt, SdRec *sdr)
|
||||
{
|
||||
char **opts;
|
||||
@@ -233,7 +239,7 @@ setGrub2(const char *opt, SdRec *sdr)
|
||||
for (i = 0; opts[i]; i++) {
|
||||
if (!strcmp(opts[i], opt)) {
|
||||
sdr->osindex = i;
|
||||
- sdr->bmstamp = mTime(GRUB2_MENU);
|
||||
+ sdr->bmstamp = mTime(grubConfig);
|
||||
freeStrArr(opts);
|
||||
return BO_OK;
|
||||
}
|
||||
@@ -245,7 +251,7 @@ setGrub2(const char *opt, SdRec *sdr)
|
||||
static void
|
||||
commitGrub2(void)
|
||||
{
|
||||
- if (sdRec.bmstamp != mTime(GRUB2_MENU) &&
|
||||
+ if (sdRec.bmstamp != mTime(grubConfig) &&
|
||||
setGrub2(sdRec.osname, &sdRec) != BO_OK)
|
||||
return;
|
||||
|
||||
@@ -257,6 +263,13 @@ commitGrub2(void)
|
||||
}
|
||||
}
|
||||
|
||||
+static int
|
||||
+getBurg(char ***opts, int *def, int *cur)
|
||||
+{
|
||||
+ grubConfig = "/boot/burg/burg.cfg";
|
||||
+ return getGrub2OrBurg(opts, def, cur, "burg-reboot");
|
||||
+}
|
||||
+
|
||||
static char *lilo;
|
||||
|
||||
static int
|
||||
@@ -352,6 +365,7 @@ static const struct {
|
||||
{ getNull, setNull, 0 },
|
||||
{ getGrub, setGrub, commitGrub },
|
||||
{ getGrub2, setGrub2, commitGrub2 },
|
||||
+ { getBurg, setGrub2, commitGrub2 },
|
||||
{ getLilo, setLilo, commitLilo },
|
||||
};
|
||||
|
||||
diff --git a/kdm/config.def b/kdm/config.def
|
||||
index d30e438..f2a6ae4 100644
|
||||
--- a/kdm/config.def
|
||||
+++ b/kdm/config.def
|
||||
@@ -1257,6 +1257,7 @@ Type: enum
|
||||
None/BO_NONE: no boot manager
|
||||
Grub/BO_GRUB: Grub boot manager
|
||||
Grub2/BO_GRUB2: Grub2 boot manager
|
||||
+ Burg/BO_BURG: Burg boot manager
|
||||
Lilo/BO_LILO: Lilo boot manager (Linux on i386 & x86-64 only)
|
||||
Default: None
|
||||
User: core
|
||||
diff --git a/kdm/kcm/kdm-shut.cpp b/kdm/kcm/kdm-shut.cpp
|
||||
index ad0a16f..37fa1b4 100644
|
||||
--- a/kdm/kcm/kdm-shut.cpp
|
||||
+++ b/kdm/kcm/kdm-shut.cpp
|
||||
@@ -98,6 +98,7 @@ KDMSessionsWidget::KDMSessionsWidget(QWidget *parent)
|
||||
bm_combo->insertItem("None", i18nc("boot manager", "None"));
|
||||
bm_combo->insertItem("Grub", i18n("Grub"));
|
||||
bm_combo->insertItem("Grub2", i18n("Grub2"));
|
||||
+ bm_combo->insertItem("Burg", i18n("Burg"));
|
||||
#if defined(__linux__) && (defined(__i386__) || defined(__amd64__))
|
||||
bm_combo->insertItem("Lilo", i18n("Lilo"));
|
||||
#endif
|
@ -1,169 +0,0 @@
|
||||
diff -Naur kdebase-workspace-4.3.98.orig/plasma/generic/applets/systemtray/ui/applet.cpp kdebase-workspace-4.3.98/plasma/generic/applets/systemtray/ui/applet.cpp
|
||||
--- kdebase-workspace-4.3.98.orig/plasma/generic/applets/systemtray/ui/applet.cpp 2010-01-31 20:30:44.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.98/plasma/generic/applets/systemtray/ui/applet.cpp 2010-02-01 22:39:20.000000000 +0100
|
||||
@@ -189,7 +189,7 @@
|
||||
m_taskArea->setAlwaysShownTypes(alwaysShownTypes);
|
||||
|
||||
m_shownCategories.clear();
|
||||
-
|
||||
+
|
||||
if (cg.readEntry("ShowApplicationStatus", true)) {
|
||||
m_shownCategories.insert(Task::ApplicationStatus);
|
||||
}
|
||||
@@ -216,6 +216,9 @@
|
||||
|
||||
KConfigGroup globalCg = globalConfig();
|
||||
bool createExtenderTask = false;
|
||||
+
|
||||
+ m_notificationsHistory = globalCg.readEntry("NotificationsHistory", true);
|
||||
+
|
||||
if (globalCg.readEntry("ShowJobs", true)) {
|
||||
createExtenderTask = true;
|
||||
createJobGroups();
|
||||
@@ -275,7 +278,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- if (s_manager->notifications().count() > 0) {
|
||||
+ if (s_manager->notifications().count() > 0 && m_notificationsHistory) {
|
||||
if (!extender()->group("oldNotificationsGroup")) {
|
||||
Plasma::ExtenderGroup *group = new Plasma::ExtenderGroup(extender());
|
||||
group->setName("oldNotificationsGroup");
|
||||
@@ -578,6 +581,7 @@
|
||||
|
||||
m_notificationUi.showJobs->setChecked(globalCg.readEntry("ShowJobs", true));
|
||||
m_notificationUi.showNotifications->setChecked(globalCg.readEntry("ShowNotifications", true));
|
||||
+ m_notificationUi.notificationsHistory->setChecked(globalCg.readEntry("NotificationsHistory", true));
|
||||
|
||||
m_notificationUi.showApplicationStatus->setChecked(globalCg.readEntry("ShowApplicationStatus", true));
|
||||
m_notificationUi.showCommunications->setChecked(globalCg.readEntry("ShowCommunications", true));
|
||||
@@ -681,6 +685,7 @@
|
||||
KConfigGroup globalCg = globalConfig();
|
||||
globalCg.writeEntry("ShowJobs", m_notificationUi.showJobs->isChecked());
|
||||
globalCg.writeEntry("ShowNotifications", m_notificationUi.showNotifications->isChecked());
|
||||
+ globalCg.writeEntry("NotificationsHistory", m_notificationUi.notificationsHistory->isChecked());
|
||||
globalCg.writeEntry("ShowApplicationStatus", m_notificationUi.showApplicationStatus->isChecked());
|
||||
globalCg.writeEntry("ShowCommunications", m_notificationUi.showCommunications->isChecked());
|
||||
globalCg.writeEntry("ShowSystemServices", m_notificationUi.showSystemServices->isChecked());
|
||||
@@ -749,40 +754,42 @@
|
||||
} else {
|
||||
showPopup(m_autoHideTimeout);
|
||||
}
|
||||
-
|
||||
-
|
||||
- bool found = false;
|
||||
- for (int i = 0; i < m_notificationBar.data()->count(); ++i) {
|
||||
- if (m_notificationBar.data()->tabText(i) == notification->applicationName()) {
|
||||
- found = true;
|
||||
- break;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- QList<Notification *> &appNotifications = m_notificationsForApp[notification->applicationName()];
|
||||
- if (!appNotifications.contains(notification)) {
|
||||
- appNotifications.append(notification);
|
||||
- //FIXME: arbitrary limit
|
||||
- if (appNotifications.count() > 10) {
|
||||
- Notification *oldNotification = appNotifications.first();
|
||||
- appNotifications.pop_front();
|
||||
- oldNotification->deleteLater();
|
||||
- }
|
||||
+
|
||||
+ if (m_notificationsHistory) {
|
||||
+
|
||||
+ bool found = false;
|
||||
+ for (int i = 0; i < m_notificationBar.data()->count(); ++i) {
|
||||
+ if (m_notificationBar.data()->tabText(i) == notification->applicationName()) {
|
||||
+ found = true;
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ QList<Notification *> &appNotifications = m_notificationsForApp[notification->applicationName()];
|
||||
+ if (!appNotifications.contains(notification)) {
|
||||
+ appNotifications.append(notification);
|
||||
+ //FIXME: arbitrary limit
|
||||
+ if (appNotifications.count() > 10) {
|
||||
+ Notification *oldNotification = appNotifications.first();
|
||||
+ appNotifications.pop_front();
|
||||
+ oldNotification->deleteLater();
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (!m_recentNotifications.contains(notification)) {
|
||||
+ m_recentNotifications.append(notification);
|
||||
+ while (m_recentNotifications.count() > 10) {
|
||||
+ Notification *oldNotification = m_recentNotifications.first();
|
||||
+ m_recentNotifications.pop_front();
|
||||
+ oldNotification->hide();
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (!found) {
|
||||
+ m_notificationBar.data()->addTab(notification->applicationIcon(), notification->applicationName());
|
||||
+ }
|
||||
}
|
||||
-
|
||||
- if (!m_recentNotifications.contains(notification)) {
|
||||
- m_recentNotifications.append(notification);
|
||||
- while (m_recentNotifications.count() > 10) {
|
||||
- Notification *oldNotification = m_recentNotifications.first();
|
||||
- m_recentNotifications.pop_front();
|
||||
- oldNotification->hide();
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- if (!found) {
|
||||
- m_notificationBar.data()->addTab(notification->applicationIcon(), notification->applicationName());
|
||||
- }
|
||||
-
|
||||
+
|
||||
disconnect(notification, 0, this, 0);
|
||||
connect(notification, SIGNAL(notificationDestroyed(SystemTray::Notification *)), this, SLOT(notificationDestroyed(SystemTray::Notification *)));
|
||||
|
||||
diff -Naur kdebase-workspace-4.3.98.orig/plasma/generic/applets/systemtray/ui/applet.h kdebase-workspace-4.3.98/plasma/generic/applets/systemtray/ui/applet.h
|
||||
--- kdebase-workspace-4.3.98.orig/plasma/generic/applets/systemtray/ui/applet.h 2010-01-20 00:19:14.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.98/plasma/generic/applets/systemtray/ui/applet.h 2010-02-01 22:39:20.000000000 +0100
|
||||
@@ -113,6 +113,7 @@
|
||||
JobTotalsWidget *m_jobSummaryWidget;
|
||||
int m_autoHideTimeout;
|
||||
int m_timerId;
|
||||
+ bool m_notificationsHistory;
|
||||
|
||||
QHash<QString, QList<Notification*> > m_notificationsForApp;
|
||||
QList<Notification*> m_recentNotifications;
|
||||
diff -Naur kdebase-workspace-4.3.98.orig/plasma/generic/applets/systemtray/ui/protocols.ui kdebase-workspace-4.3.98/plasma/generic/applets/systemtray/ui/protocols.ui
|
||||
--- kdebase-workspace-4.3.98.orig/plasma/generic/applets/systemtray/ui/protocols.ui 2009-09-16 13:40:54.000000000 +0200
|
||||
+++ kdebase-workspace-4.3.98/plasma/generic/applets/systemtray/ui/protocols.ui 2010-02-01 22:39:20.000000000 +0100
|
||||
@@ -6,8 +6,8 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
- <width>213</width>
|
||||
- <height>236</height>
|
||||
+ <width>455</width>
|
||||
+ <height>498</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QFormLayout" name="formLayout">
|
||||
@@ -158,6 +158,20 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
+ <item row="5" column="0">
|
||||
+ <widget class="QLabel" name="label">
|
||||
+ <property name="text">
|
||||
+ <string>Notifications history</string>
|
||||
+ </property>
|
||||
+ </widget>
|
||||
+ </item>
|
||||
+ <item row="5" column="1">
|
||||
+ <widget class="QCheckBox" name="notificationsHistory">
|
||||
+ <property name="text">
|
||||
+ <string/>
|
||||
+ </property>
|
||||
+ </widget>
|
||||
+ </item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
@ -1,53 +0,0 @@
|
||||
diff -up kdebase-workspace-4.3.4/kdm/backend/dm.c.kdm_plymouth kdebase-workspace-4.3.4/kdm/backend/dm.c
|
||||
--- kdebase-workspace-4.3.4/kdm/backend/dm.c.kdm_plymouth 2008-07-21 19:03:20.000000000 -0500
|
||||
+++ kdebase-workspace-4.3.4/kdm/backend/dm.c 2010-01-19 07:32:13.000000000 -0600
|
||||
@@ -1315,6 +1315,36 @@ getBusyVTs( void )
|
||||
return activeVTs;
|
||||
}
|
||||
|
||||
+static int
|
||||
+get_active_vt (void)
|
||||
+{
|
||||
+ int console_fd;
|
||||
+ struct vt_stat console_state = { 0 };
|
||||
+ console_fd = open ("/dev/tty0", O_RDONLY | O_NOCTTY);
|
||||
+ if (console_fd < 0) {
|
||||
+ goto out;
|
||||
+ }
|
||||
+ if (ioctl (console_fd, VT_GETSTATE, &console_state) < 0) {
|
||||
+ goto out;
|
||||
+ }
|
||||
+out:
|
||||
+ if (console_fd >= 0) {
|
||||
+ close (console_fd);
|
||||
+ }
|
||||
+ return console_state.v_active;
|
||||
+}
|
||||
+
|
||||
+static int
|
||||
+triggered_to_force_display_on_active_vt (void)
|
||||
+{
|
||||
+ int should_force_display_on_active_vt;
|
||||
+ should_force_display_on_active_vt=open("/var/spool/gdm/force-display-on-active-vt", O_RDONLY);
|
||||
+ if ( should_force_display_on_active_vt >= 0 )
|
||||
+ close(should_force_display_on_active_vt);
|
||||
+ unlink("/var/spool/gdm/force-display-on-active-vt");
|
||||
+ return should_force_display_on_active_vt;
|
||||
+}
|
||||
+
|
||||
static void
|
||||
allocateVT( struct display *d )
|
||||
{
|
||||
@@ -1324,7 +1354,11 @@ allocateVT( struct display *d )
|
||||
if ((d->displayType & d_location) == dLocal &&
|
||||
d->status == notRunning && !d->serverVT && d->reqSrvVT >= 0)
|
||||
{
|
||||
- if (d->reqSrvVT && d->reqSrvVT < 16)
|
||||
+ if ( triggered_to_force_display_on_active_vt() >= 0 )
|
||||
+ {
|
||||
+ d->serverVT = get_active_vt() ;
|
||||
+ }
|
||||
+ else if (d->reqSrvVT && d->reqSrvVT < 16)
|
||||
d->serverVT = d->reqSrvVT;
|
||||
else {
|
||||
for (i = tvt = 0;;) {
|
@ -1,213 +0,0 @@
|
||||
diff -Naur kdebase-workspace-4.3.80.orig/plasma/desktop/containments/panel/panel.cpp kdebase-workspace-4.3.80/plasma/desktop/containments/panel/panel.cpp
|
||||
--- kdebase-workspace-4.3.80.orig/plasma/desktop/containments/panel/panel.cpp 2009-11-21 10:44:33.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.80/plasma/desktop/containments/panel/panel.cpp 2009-12-06 20:23:52.000000000 +0100
|
||||
@@ -104,7 +104,8 @@
|
||||
m_spacerIndex(-1),
|
||||
m_spacer(0),
|
||||
m_lastSpace(0),
|
||||
- m_layout(0)
|
||||
+ m_layout(0),
|
||||
+ m_blendInterface(false)
|
||||
{
|
||||
m_background = new Plasma::FrameSvg(this);
|
||||
m_background->setImagePath("widgets/panel-background");
|
||||
@@ -537,6 +538,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
+void Panel::setBlendInterface(bool blend) {
|
||||
+ m_blendInterface = blend;
|
||||
+}
|
||||
+
|
||||
void Panel::saveState(KConfigGroup &config) const
|
||||
{
|
||||
config.writeEntry("minimumSize", minimumSize());
|
||||
@@ -574,8 +579,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
- // blit the background (saves all the per-pixel-products that blending does)
|
||||
- painter->setCompositionMode(QPainter::CompositionMode_Source);
|
||||
+ // blit the background (saves all per-pixel-products that blending does)
|
||||
+ painter->setCompositionMode(m_blendInterface ? QPainter::CompositionMode_SourceOver : QPainter::CompositionMode_Source);
|
||||
painter->setRenderHint(QPainter::Antialiasing);
|
||||
|
||||
m_background->paintFrame(painter, option->exposedRect);
|
||||
diff -Naur kdebase-workspace-4.3.80.orig/plasma/desktop/containments/panel/panel.h kdebase-workspace-4.3.80/plasma/desktop/containments/panel/panel.h
|
||||
--- kdebase-workspace-4.3.80.orig/plasma/desktop/containments/panel/panel.h 2009-10-26 10:14:50.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.80/plasma/desktop/containments/panel/panel.h 2009-12-06 20:06:35.000000000 +0100
|
||||
@@ -56,6 +56,9 @@
|
||||
void saveContents(KConfigGroup &group) const;
|
||||
void restore(KConfigGroup &group);
|
||||
|
||||
+public slots:
|
||||
+ void setBlendInterface(bool);
|
||||
+
|
||||
private slots:
|
||||
void themeUpdated();
|
||||
void backgroundChanged();
|
||||
@@ -89,7 +92,8 @@
|
||||
Spacer *m_lastSpace;
|
||||
QTimer *m_lastSpaceTimer;
|
||||
QGraphicsLinearLayout *m_layout;
|
||||
-
|
||||
+ bool m_blendInterface;
|
||||
+
|
||||
friend class Spacer;
|
||||
};
|
||||
|
||||
diff -Naur kdebase-workspace-4.3.80.orig/plasma/desktop/shell/desktopview.cpp kdebase-workspace-4.3.80/plasma/desktop/shell/desktopview.cpp
|
||||
--- kdebase-workspace-4.3.80.orig/plasma/desktop/shell/desktopview.cpp 2009-10-26 10:14:50.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.80/plasma/desktop/shell/desktopview.cpp 2009-12-06 20:07:46.000000000 +0100
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "desktopcorona.h"
|
||||
#include "plasmaapp.h"
|
||||
#include "plasma-shell-desktop.h"
|
||||
+#include "panelview.h"
|
||||
|
||||
#ifdef Q_WS_WIN
|
||||
#include "windows.h"
|
||||
@@ -481,6 +482,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
+void DesktopView::paintEvent(QPaintEvent* event) {
|
||||
+ foreach(PanelView* view, PlasmaApp::self()->panelViews()) {
|
||||
+ QRect intersection = view->geometry() & QRect(mapToGlobal(event->rect().topLeft()), mapToGlobal(event->rect().bottomRight()));
|
||||
+ if(!intersection.isEmpty())
|
||||
+ view->undergroundChanged(QRect(view->mapFromGlobal(intersection.topLeft()), view->mapFromGlobal(intersection.bottomRight())));
|
||||
+ }
|
||||
+ QGraphicsView::paintEvent(event);
|
||||
+}
|
||||
+
|
||||
void DesktopView::wheelEvent(QWheelEvent* event)
|
||||
{
|
||||
QGraphicsItem * item = scene() ? scene()->itemAt(sceneRect().topLeft() + event->pos()) : 0;
|
||||
diff -Naur kdebase-workspace-4.3.80.orig/plasma/desktop/shell/desktopview.h kdebase-workspace-4.3.80/plasma/desktop/shell/desktopview.h
|
||||
--- kdebase-workspace-4.3.80.orig/plasma/desktop/shell/desktopview.h 2009-10-02 16:54:07.000000000 +0200
|
||||
+++ kdebase-workspace-4.3.80/plasma/desktop/shell/desktopview.h 2009-12-06 20:08:58.000000000 +0100
|
||||
@@ -125,6 +125,7 @@
|
||||
void grabContainment();
|
||||
|
||||
protected:
|
||||
+ void paintEvent(QPaintEvent* event);
|
||||
void wheelEvent(QWheelEvent *event);
|
||||
void drawBackground(QPainter *painter, const QRectF &rect);
|
||||
void prepDashboard();
|
||||
diff -Naur kdebase-workspace-4.3.80.orig/plasma/desktop/shell/panelview.cpp kdebase-workspace-4.3.80/plasma/desktop/shell/panelview.cpp
|
||||
--- kdebase-workspace-4.3.80.orig/plasma/desktop/shell/panelview.cpp 2009-11-21 10:44:33.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.80/plasma/desktop/shell/panelview.cpp 2009-12-06 20:10:43.000000000 +0100
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "plasmaapp.h"
|
||||
|
||||
#include <kephal/screens.h>
|
||||
+#include "desktopview.h"
|
||||
|
||||
class GlowBar : public QWidget
|
||||
{
|
||||
@@ -1272,13 +1273,43 @@
|
||||
Plasma::View::leaveEvent(event);
|
||||
}
|
||||
|
||||
-void PanelView::drawBackground(QPainter *painter, const QRectF &rect)
|
||||
-{
|
||||
- if (PlasmaApp::hasComposite()) {
|
||||
- painter->setCompositionMode(QPainter::CompositionMode_Source);
|
||||
- painter->fillRect(rect.toAlignedRect(), Qt::transparent);
|
||||
- } else {
|
||||
- Plasma::View::drawBackground(painter, rect);
|
||||
+bool useDesktopTransparency = true;
|
||||
+
|
||||
+void PanelView::undergroundChanged(QRect area) {
|
||||
+ if(!PlasmaApp::hasComposite() && useDesktopTransparency)
|
||||
+ update(area);
|
||||
+}
|
||||
+
|
||||
+void PanelView::drawBackground(QPainter *painter, const QRectF &_rect)
|
||||
+{
|
||||
+ QRectF rect(_rect);
|
||||
+ DesktopView* desktopView = PlasmaApp::self()->viewForPanel(this);
|
||||
+ if(containment())
|
||||
+ QMetaObject::invokeMethod(containment(), "setBlendInterface", Q_ARG(bool, false));
|
||||
+
|
||||
+ if (PlasmaApp::hasComposite()) {
|
||||
+ painter->setCompositionMode(QPainter::CompositionMode_Source);
|
||||
+ painter->fillRect(rect.toAlignedRect(), Qt::transparent);
|
||||
+ } else if(desktopView && useDesktopTransparency) {
|
||||
+ painter->setCompositionMode(QPainter::CompositionMode_Source);
|
||||
+
|
||||
+ //Map 'rect' from the panel into the desktop view
|
||||
+ QRectF desktopRect = mapFromScene(rect).boundingRect();
|
||||
+ desktopRect.translate(pos().x(), pos().y());
|
||||
+ desktopRect.translate(-desktopView->pos().x(), -desktopView->pos().y());
|
||||
+ QRect grab = desktopRect.toRect();
|
||||
+ grab &= QRect(QPoint(0, 0), desktopView->size()); //Sometimes the scene-mapping maps one pixel too far outside, so restrict the area
|
||||
+
|
||||
+ useDesktopTransparency = false; //Disable desktop transparency temporarily to prevent endless updating from within undergoundChanged
|
||||
+ QPixmap grabbed = QPixmap::grabWidget(desktopView, grab);
|
||||
+ useDesktopTransparency = true;
|
||||
+
|
||||
+ painter->drawPixmap(rect, grabbed, QRectF(0, 0, grab.width(), grab.height()));
|
||||
+
|
||||
+ if(containment()) //Tell the panel to blend the interface over the background, so it isn't discarded
|
||||
+ QMetaObject::invokeMethod(containment(), "setBlendInterface", Q_ARG(bool, true));
|
||||
+ }else{
|
||||
+ Plasma::View::drawBackground(painter, rect);
|
||||
}
|
||||
}
|
||||
|
||||
diff -Naur kdebase-workspace-4.3.80.orig/plasma/desktop/shell/panelview.h kdebase-workspace-4.3.80/plasma/desktop/shell/panelview.h
|
||||
--- kdebase-workspace-4.3.80.orig/plasma/desktop/shell/panelview.h 2009-12-01 01:30:52.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.80/plasma/desktop/shell/panelview.h 2009-12-06 20:11:26.000000000 +0100
|
||||
@@ -177,6 +177,11 @@
|
||||
*/
|
||||
void appletAdded(Plasma::Applet *applet);
|
||||
|
||||
+ /**
|
||||
+ * Notification that the undergound of this panel-view has changed
|
||||
+ */
|
||||
+ void undergroundChanged(QRect area);
|
||||
+
|
||||
protected Q_SLOTS:
|
||||
void updateStruts();
|
||||
|
||||
diff -Naur kdebase-workspace-4.3.80.orig/plasma/desktop/shell/plasmaapp.cpp kdebase-workspace-4.3.80/plasma/desktop/shell/plasmaapp.cpp
|
||||
--- kdebase-workspace-4.3.80.orig/plasma/desktop/shell/plasmaapp.cpp 2009-11-13 11:57:46.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.80/plasma/desktop/shell/plasmaapp.cpp 2009-12-06 20:12:12.000000000 +0100
|
||||
@@ -568,6 +568,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
+DesktopView* PlasmaApp::viewForPanel(PanelView* panel) const {
|
||||
+
|
||||
+ int currentDesktop = -1;
|
||||
+ if (AppSettings::perVirtualDesktopViews())
|
||||
+ currentDesktop = KWindowSystem::currentDesktop()-1;
|
||||
+
|
||||
+
|
||||
+ foreach (DesktopView *view, m_desktops)
|
||||
+ if((view->desktop() == currentDesktop || currentDesktop == -1) && !(view->geometry() & panel->geometry()).isEmpty())
|
||||
+ if(!view->isHidden())
|
||||
+ return view;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
DesktopView* PlasmaApp::viewForScreen(int screen, int desktop) const
|
||||
{
|
||||
foreach (DesktopView *view, m_desktops) {
|
||||
diff -Naur kdebase-workspace-4.3.80.orig/plasma/desktop/shell/plasmaapp.h kdebase-workspace-4.3.80/plasma/desktop/shell/plasmaapp.h
|
||||
--- kdebase-workspace-4.3.80.orig/plasma/desktop/shell/plasmaapp.h 2009-11-13 11:57:46.000000000 +0100
|
||||
+++ kdebase-workspace-4.3.80/plasma/desktop/shell/plasmaapp.h 2009-12-06 20:12:41.000000000 +0100
|
||||
@@ -78,6 +78,11 @@
|
||||
*/
|
||||
QList<PanelView*> panelViews() const;
|
||||
|
||||
+ /**
|
||||
+ * Returns the currently active desktop that this panel is visible on, or zero
|
||||
+ */
|
||||
+ DesktopView* viewForPanel(PanelView* panel) const;
|
||||
+
|
||||
void showWidgetExplorer(int screen, Plasma::Containment *c);
|
||||
void hideWidgetExplorer(int screen);
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- startkde.cmake.orig 2011-02-06 13:41:00.000000000 +0100
|
||||
+++ startkde.cmake 2011-02-06 13:43:49.866666677 +0100
|
||||
@@ -36,18 +36,6 @@ fi
|
||||
# we have to unset this for Darwin since it will screw up KDE's dynamic-loading
|
||||
unset DYLD_FORCE_FLAT_NAMESPACE
|
||||
|
||||
-# Enable lightweight memory corruption checker if not already set
|
||||
-# -- this is for trunk only, we remove it for releases
|
||||
-if [ "x$MALLOC_CHECK_" = "x" ] && [ -x /lib/libc.so.6 ]; then
|
||||
- # Extract the first two components of the version from the output.
|
||||
- glibc_version=$(LC_ALL=C /lib/libc.so.6 | sed -e 's/[^0-9]*\([0-9]\.[0-9]\+\).*/\1/;s/\.\([0-9]\)$/.0\1/;q')
|
||||
-
|
||||
- MALLOC_CHECK_=2 # Default to 2 unless glibc 2.9 or higher.
|
||||
- test $glibc_version \> 2.08 && MALLOC_CHECK_=3
|
||||
-
|
||||
- export MALLOC_CHECK_
|
||||
-fi
|
||||
-
|
||||
# Boot sequence:
|
||||
#
|
||||
# kdeinit is used to fork off processes which improves memory usage
|
@ -1,34 +0,0 @@
|
||||
From: Andriy Rysin <arysin@gmail.com>
|
||||
Date: Sun, 03 Apr 2011 02:27:37 +0000
|
||||
Subject: Fix null pointer crash when no rules found; add unit test
|
||||
X-Git-Url: http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=754b4aee80ef521433c8179bca122c22135f5118
|
||||
---
|
||||
Fix null pointer crash when no rules found; add unit test
|
||||
BUG: 269961
|
||||
---
|
||||
|
||||
|
||||
--- a/kcontrol/keyboard/flags.cpp
|
||||
+++ b/kcontrol/keyboard/flags.cpp
|
||||
@@ -136,7 +136,7 @@ static QString getDisplayText(const QStr
|
||||
{
|
||||
if( variant.isEmpty() )
|
||||
return layout;
|
||||
- if( rules->version == "1.0" )
|
||||
+ if( rules == NULL || rules->version == "1.0" )
|
||||
return i18nc("layout - variant", "%1 - %2", layout, variant);
|
||||
return variant;
|
||||
}
|
||||
|
||||
--- a/kcontrol/keyboard/tests/flags_test.cpp
|
||||
+++ b/kcontrol/keyboard/tests/flags_test.cpp
|
||||
@@ -82,6 +82,9 @@ private Q_SLOTS:
|
||||
QVERIFY( flags->getLongText(layoutUnit1, rules).startsWith("USA - International") );
|
||||
QCOMPARE( flags->getLongText(layoutUnit2, rules), QString("USA - other") );
|
||||
|
||||
+ rules = NULL; // when no rules found
|
||||
+ QCOMPARE( flags->getLongText(layoutUnit1, rules), QString("us - intl") );
|
||||
+
|
||||
flags->clearCache();
|
||||
}
|
||||
|
@ -1,127 +0,0 @@
|
||||
commit 92f71adb8bb6e46d4a3187ab8824c859312e9136
|
||||
Author: Aaron Seigo <aseigo@kde.org>
|
||||
Date: Tue Feb 1 12:54:44 2011 -0800
|
||||
|
||||
try to avoid doing any work when we are deleting
|
||||
|
||||
diff --git a/plasma/generic/applets/notifications/ui/notificationgroup.cpp b/plasma/generic/applets/notifications/ui/notificationgroup.cpp
|
||||
index 1f7c0b8..6bbf43c 100644
|
||||
--- a/plasma/generic/applets/notifications/ui/notificationgroup.cpp
|
||||
+++ b/plasma/generic/applets/notifications/ui/notificationgroup.cpp
|
||||
@@ -66,6 +66,8 @@ NotificationGroup::NotificationGroup(Extender *parent, uint groupId)
|
||||
|
||||
NotificationGroup::~NotificationGroup()
|
||||
{
|
||||
+ m_extenderItemsForNotification.clear();
|
||||
+ m_notificationForExtenderItems.clear();
|
||||
qDeleteAll(m_notifications);
|
||||
}
|
||||
|
||||
@@ -137,6 +139,11 @@ void NotificationGroup::addNotification(Notification *notification)
|
||||
|
||||
void NotificationGroup::extenderItemDestroyed(Plasma::ExtenderItem *object)
|
||||
{
|
||||
+ if (m_extenderItemsForNotification.isEmpty()) {
|
||||
+ // either we aren't tracking this notification or else we're being deleted
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
Notification *n = m_notificationForExtenderItems.value(object);
|
||||
|
||||
if (n) {
|
||||
@@ -148,10 +155,16 @@ void NotificationGroup::extenderItemDestroyed(Plasma::ExtenderItem *object)
|
||||
|
||||
void NotificationGroup::removeNotification(Notification *notification)
|
||||
{
|
||||
+ if (m_extenderItemsForNotification.isEmpty()) {
|
||||
+ // either we aren't tracking this notification or else we're being deleted
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
Plasma::ExtenderItem *item = m_extenderItemsForNotification.value(notification);
|
||||
if (item) {
|
||||
m_notificationForExtenderItems.remove(item);
|
||||
}
|
||||
+
|
||||
m_extenderItemsForNotification.remove(notification);
|
||||
m_notifications.removeAll(notification);
|
||||
QString applicationName = m_appForNotification.value(notification);
|
||||
diff --git a/plasma/generic/applets/notifications/ui/notifications.cpp b/plasma/generic/applets/notifications/ui/notifications.cpp
|
||||
index 9b1a7c0..c7aa6dd 100644
|
||||
--- a/plasma/generic/applets/notifications/ui/notifications.cpp
|
||||
+++ b/plasma/generic/applets/notifications/ui/notifications.cpp
|
||||
@@ -106,6 +106,9 @@ Notifications::~Notifications()
|
||||
{
|
||||
// stop listening to the manager
|
||||
disconnect(m_manager, 0, this, 0);
|
||||
+ if (m_notificationStackDialog) {
|
||||
+ disconnect(m_notificationStackDialog, 0, this, 0);
|
||||
+ }
|
||||
|
||||
foreach (Notification *notification, m_manager->notifications()) {
|
||||
// we don't want a destroyed managed after the destruction of manager
|
||||
@@ -342,10 +345,10 @@ void Notifications::initExtenderItem(Plasma::ExtenderItem *extenderItem)
|
||||
return;
|
||||
}
|
||||
|
||||
- if (extenderItem->config().readEntry("type", "") == "job") {
|
||||
+ if (extenderItem->config().readEntry("type", QString()) == "job") {
|
||||
extenderItem->setWidget(new JobWidget(0, extenderItem));
|
||||
- //unknown type, this should never happen
|
||||
} else {
|
||||
+ //unknown type, this should never happen
|
||||
extenderItem->destroy();
|
||||
}
|
||||
|
||||
commit 1fc6c46a49695ec6ad6cd80a8459c5c083de8e06
|
||||
Author: Aaron Seigo <aseigo@kde.org>
|
||||
Date: Tue Feb 1 12:54:25 2011 -0800
|
||||
|
||||
make them all uniqueconnections
|
||||
|
||||
diff --git a/plasma/generic/applets/notifications/ui/notificationstack.cpp b/plasma/generic/applets/notifications/ui/notificationstack.cpp
|
||||
index 2f68961..3b53559 100644
|
||||
--- a/plasma/generic/applets/notifications/ui/notificationstack.cpp
|
||||
+++ b/plasma/generic/applets/notifications/ui/notificationstack.cpp
|
||||
@@ -54,11 +54,9 @@ NotificationStack::~NotificationStack()
|
||||
void NotificationStack::addNotification(Notification *notification)
|
||||
{
|
||||
m_canDismissTimer->start(1000);
|
||||
- connect(notification, SIGNAL(notificationDestroyed(Notification *)), this, SLOT(removeNotification(Notification *)));
|
||||
- connect(notification, SIGNAL(expired(Notification *)), this, SLOT(delayedRemoveNotification(Notification *)));
|
||||
-
|
||||
- disconnect(notification, SIGNAL(changed(Notification *)), this, SLOT(notificationChanged(Notification *)));
|
||||
- connect(notification, SIGNAL(changed(Notification *)), this, SLOT(notificationChanged(Notification *)));
|
||||
+ connect(notification, SIGNAL(notificationDestroyed(Notification *)), this, SLOT(removeNotification(Notification *)), Qt::UniqueConnection);
|
||||
+ connect(notification, SIGNAL(expired(Notification *)), this, SLOT(delayedRemoveNotification(Notification *)), Qt::UniqueConnection);
|
||||
+ connect(notification, SIGNAL(changed(Notification *)), this, SLOT(notificationChanged(Notification *)), Qt::UniqueConnection);
|
||||
|
||||
NotificationWidget *notificationWidget = new NotificationWidget(notification, this);
|
||||
notificationWidget->installEventFilter(this);
|
||||
commit f0f66f023e6f2896bcc2ea67d7922fc0745ff7b5
|
||||
Author: Aaron Seigo <aseigo@kde.org>
|
||||
Date: Tue Feb 1 12:54:10 2011 -0800
|
||||
|
||||
simplification
|
||||
|
||||
diff --git a/plasma/generic/applets/notifications/ui/notificationwidget.cpp b/plasma/generic/applets/notifications/ui/notificationwidget.cpp
|
||||
index 7764ede..3f87cfe 100644
|
||||
--- a/plasma/generic/applets/notifications/ui/notificationwidget.cpp
|
||||
+++ b/plasma/generic/applets/notifications/ui/notificationwidget.cpp
|
||||
@@ -43,7 +43,6 @@
|
||||
|
||||
#include <Plasma/Animation>
|
||||
#include <Plasma/Animator>
|
||||
-#include <Plasma/Extender>
|
||||
#include <Plasma/Frame>
|
||||
#include <Plasma/IconWidget>
|
||||
#include <Plasma/Label>
|
||||
@@ -170,7 +169,7 @@ NotificationWidget::NotificationWidget(Notification *notification, QGraphicsWidg
|
||||
d->notification = notification;
|
||||
|
||||
connect(d->signalMapper, SIGNAL(mapped(const QString &)),
|
||||
- d->notification.data(), SLOT(triggerAction(const QString &)));
|
||||
+ notification, SLOT(triggerAction(const QString &)));
|
||||
connect(notification, SIGNAL(changed()),
|
||||
this, SLOT(updateNotification()));
|
||||
connect(notification, SIGNAL(destroyed()),
|
29
kde-workspace/fix_battery-applet.diff
Normal file
29
kde-workspace/fix_battery-applet.diff
Normal file
@ -0,0 +1,29 @@
|
||||
commit 3919480e78c9b8854ce6e17f5ecbfbc009d40fef
|
||||
Author: Dario Freddi <drf@kde.org>
|
||||
Date: Fri Jan 20 14:59:37 2012 +0100
|
||||
|
||||
The logic for the inhibition checkbox in the plasma applet was inverted: fix that
|
||||
|
||||
diff --git a/plasma/generic/applets/battery/battery.cpp b/plasma/generic/applets/battery/battery.cpp
|
||||
index 63d3673..854469d 100644
|
||||
--- a/plasma/generic/applets/battery/battery.cpp
|
||||
+++ b/plasma/generic/applets/battery/battery.cpp
|
||||
@@ -1066,14 +1066,16 @@ void Battery::toggleInhibit(bool toggle)
|
||||
{
|
||||
using namespace Solid::PowerManagement;
|
||||
|
||||
- if (m_inhibitCookies.first > 0 && m_inhibitCookies.second > 0 && !toggle) {
|
||||
+ if (m_inhibitCookies.first > 0 && m_inhibitCookies.second > 0 && toggle) {
|
||||
// Release inhibition
|
||||
+ kDebug() << "Releasing inhibition";
|
||||
stopSuppressingSleep(m_inhibitCookies.first);
|
||||
stopSuppressingScreenPowerManagement(m_inhibitCookies.second);
|
||||
|
||||
m_inhibitCookies = qMakePair< int, int >(-1, -1);
|
||||
- } else if (m_inhibitCookies.first < 0 && m_inhibitCookies.second < 0 && toggle) {
|
||||
+ } else if (m_inhibitCookies.first < 0 && m_inhibitCookies.second < 0 && !toggle) {
|
||||
// Trigger inhibition
|
||||
+ kDebug() << "Trigger inhibition";
|
||||
QString reason = i18n("The battery applet has enabled system-wide inhibition");
|
||||
m_inhibitCookies = qMakePair< int, int >(beginSuppressingSleep(reason),
|
||||
beginSuppressingScreenPowerManagement(reason));
|
@ -1,65 +0,0 @@
|
||||
diff -ur kdebase-workspace-4.3.95/libs/kworkspace/kdisplaymanager.cpp kdebase-workspace-4.3.95-ck-shutdown/libs/kworkspace/kdisplaymanager.cpp
|
||||
--- kdebase-workspace-4.3.95/libs/kworkspace/kdisplaymanager.cpp 2009-04-28 15:46:11.000000000 +0200
|
||||
+++ kdebase-workspace-4.3.95-ck-shutdown/libs/kworkspace/kdisplaymanager.cpp 2010-01-30 17:31:58.000000000 +0100
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <QtDBus/QtDBus>
|
||||
|
||||
#include <QRegExp>
|
||||
+#include <QLatin1String>
|
||||
|
||||
#include <X11/Xauth.h>
|
||||
#include <X11/Xlib.h>
|
||||
@@ -85,6 +86,7 @@
|
||||
strcpy( sa.sun_path, "/tmp/.gdm_socket" );
|
||||
if (::connect( d->fd, (struct sockaddr *)&sa, sizeof(sa) )) {
|
||||
::close( d->fd );
|
||||
+ DMType = NoDM;
|
||||
d->fd = -1;
|
||||
break;
|
||||
}
|
||||
@@ -186,6 +188,23 @@
|
||||
bool
|
||||
KDisplayManager::canShutdown()
|
||||
{
|
||||
+ if (DMType == NoDM) {
|
||||
+ // No DM or newest GDM running, we'll try shutting down through ConsoleKit.
|
||||
+ QDBusConnection systemBus = QDBusConnection::systemBus();
|
||||
+ if (!systemBus.isConnected())
|
||||
+ return false;
|
||||
+ QDBusInterface consoleKit( QLatin1String( "org.freedesktop.ConsoleKit" ),
|
||||
+ QLatin1String( "/org/freedesktop/ConsoleKit/Manager" ),
|
||||
+ QLatin1String( "org.freedesktop.ConsoleKit.Manager" ),
|
||||
+ systemBus );
|
||||
+ if (!consoleKit.isValid())
|
||||
+ return false;
|
||||
+ // Unfortunately, at this point we don't know whether we should be querying
|
||||
+ // CanStop or CanRestart. Let's do what the code below does and just use CanStop.
|
||||
+ QDBusReply<bool> canStop = consoleKit.call( QLatin1String( "CanStop" ) );
|
||||
+ return (canStop.isValid() && canStop.value());
|
||||
+ }
|
||||
+
|
||||
if (DMType == OldKDM)
|
||||
return strstr( ctl, ",maysd" ) != 0;
|
||||
|
||||
@@ -205,6 +224,21 @@
|
||||
if (shutdownType == KWorkSpace::ShutdownTypeNone || shutdownType == KWorkSpace::ShutdownTypeLogout)
|
||||
return;
|
||||
|
||||
+ if (DMType == NoDM) {
|
||||
+ // No DM or newest GDM running, try shutting down through ConsoleKit.
|
||||
+ QDBusConnection systemBus = QDBusConnection::systemBus();
|
||||
+ if (!systemBus.isConnected())
|
||||
+ return;
|
||||
+ QDBusInterface consoleKit( QLatin1String( "org.freedesktop.ConsoleKit" ),
|
||||
+ QLatin1String( "/org/freedesktop/ConsoleKit/Manager" ),
|
||||
+ QLatin1String( "org.freedesktop.ConsoleKit.Manager" ),
|
||||
+ systemBus );
|
||||
+ if (consoleKit.isValid())
|
||||
+ consoleKit.call( QLatin1String( shutdownType == KWorkSpace::ShutdownTypeReboot ?
|
||||
+ "Restart" : "Stop" ) );
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
bool cap_ask;
|
||||
if (DMType == NewKDM) {
|
||||
QByteArray re;
|
57
kde-workspace/high_cpu.diff
Normal file
57
kde-workspace/high_cpu.diff
Normal file
@ -0,0 +1,57 @@
|
||||
commit d07964e0af95911a97c3f474b694570cb279878c
|
||||
Author: Philipp Knechtges <philipp-dev@knechtges.com>
|
||||
Date: Thu Jan 19 11:38:04 2012 +0100
|
||||
|
||||
kwin: fixing high cpu usage bugs
|
||||
|
||||
In some unfortunate situations it is possible that a window is deleted
|
||||
before it is marked ready_for_painting=true. The last point is
|
||||
especially troublesome for effects that reference the deleted window.
|
||||
|
||||
Many thanks to Elias Probst for all the testing.
|
||||
|
||||
CCBUG: 290025
|
||||
CCBUG: 288948
|
||||
REVIEW: 103733
|
||||
|
||||
diff --git a/kwin/deleted.cpp b/kwin/deleted.cpp
|
||||
index f465159..e166bf1 100644
|
||||
--- a/kwin/deleted.cpp
|
||||
+++ b/kwin/deleted.cpp
|
||||
@@ -66,6 +66,15 @@ void Deleted::copyToDeleted(Toplevel* c)
|
||||
{
|
||||
assert(dynamic_cast< Deleted* >(c) == NULL);
|
||||
Toplevel::copyToDeleted(c);
|
||||
+ // In some cases the window has been deleted before the sync request which marks
|
||||
+ // the window ready for painting has finished. This is especially troublesome
|
||||
+ // when effects reference the deleted window and the unreferencing is part of
|
||||
+ // the rendering pass (e.g. Effect::postPaintScreen/postPaintWindow), which will
|
||||
+ // never be executed because we remove it every time from the stacking list in
|
||||
+ // Workspace::performCompositing.
|
||||
+ if (!c->readyForPainting()) {
|
||||
+ QTimer::singleShot(0, this, SLOT(discard()));
|
||||
+ }
|
||||
desk = c->desktop();
|
||||
activityList = c->activities();
|
||||
contentsRect = QRect(c->clientPos(), c->clientSize());
|
||||
diff --git a/kwin/deleted.h b/kwin/deleted.h
|
||||
index 1f98aaf..8101297 100644
|
||||
--- a/kwin/deleted.h
|
||||
+++ b/kwin/deleted.h
|
||||
@@ -35,7 +35,6 @@ public:
|
||||
// used by effects to keep the window around for e.g. fadeout effects when it's destroyed
|
||||
void refWindow();
|
||||
void unrefWindow(bool delay = false);
|
||||
- void discard(allowed_t);
|
||||
virtual int desktop() const;
|
||||
virtual QStringList activities() const;
|
||||
virtual QPoint clientPos() const;
|
||||
@@ -58,6 +57,8 @@ public:
|
||||
}
|
||||
void layoutDecorationRects(QRect &left, QRect &top, QRect &right, QRect &bottom) const;
|
||||
QRect decorationRect() const;
|
||||
+public slots:
|
||||
+ void discard(allowed_t = Allowed);
|
||||
protected:
|
||||
virtual void debug(QDebug& stream) const;
|
||||
virtual bool shouldUnredirect() const;
|
@ -1,12 +1,4 @@
|
||||
post_install() {
|
||||
echo " "
|
||||
echo " > ATTENTION:"
|
||||
echo " > kdebase-workspace is split into 3 packages:"
|
||||
echo " "
|
||||
echo " kdebase-workspace : Base package"
|
||||
echo " kdebase-workspace-doc : Documentation"
|
||||
echo " kdebase-workspace-wallpapers : Desktop wallpapers"
|
||||
echo " "
|
||||
echo " > Additional desktop-specific packages:"
|
||||
echo " "
|
||||
echo " kdeplasma-addons : Additional Plasmoids"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,305 +0,0 @@
|
||||
diff -Npur kde-workspace-4.6.90/kdm/backend/CMakeLists.txt kde-workspace-4.6.80/kdm/backend/CMakeLists.txt
|
||||
--- kde-workspace-4.6.90/kdm/backend/CMakeLists.txt 2011-06-22 16:29:18.000000000 +0200
|
||||
+++ kde-workspace-4.6.80/kdm/backend/CMakeLists.txt 2011-05-20 22:32:06.000000000 +0200
|
||||
@@ -68,9 +68,6 @@ if(UTIL_LIBRARIES)
|
||||
target_link_libraries( kdm ${UTIL_LIBRARIES} )
|
||||
endif(UTIL_LIBRARIES)
|
||||
target_link_libraries( kdm ${POSIX4_LIBRARIES} )
|
||||
-if(QT_RT_LIBRARY)
|
||||
- target_link_libraries( kdm ${QT_RT_LIBRARY} )
|
||||
-endif(QT_RT_LIBRARY)
|
||||
|
||||
if(KDE4_ENABLE_FINAL)
|
||||
macro_add_file_dependencies(${CMAKE_CURRENT_BINARY_DIR}/kdm_final_cpp.cpp ${confci})
|
||||
diff -Npur kde-workspace-4.6.90/kdm/backend/ctrl.c kde-workspace-4.6.80/kdm/backend/ctrl.c
|
||||
--- kde-workspace-4.6.90/kdm/backend/ctrl.c 2011-06-22 16:29:18.000000000 +0200
|
||||
+++ kde-workspace-4.6.80/kdm/backend/ctrl.c 2011-05-20 22:32:06.000000000 +0200
|
||||
@@ -334,7 +334,6 @@ strCat(char **bp, const char *str)
|
||||
static void
|
||||
sdCat(char **bp, SdRec *sdr)
|
||||
{
|
||||
- int delta = nowMonotonic ? time(0) - now : 0;
|
||||
if (sdr->how == SHUT_HALT)
|
||||
strCat(bp, "halt,");
|
||||
else
|
||||
@@ -342,11 +341,11 @@ sdCat(char **bp, SdRec *sdr)
|
||||
if (sdr->start == TO_INF)
|
||||
strCat(bp, "0,");
|
||||
else
|
||||
- *bp += sprintf(*bp, "%d,", sdr->start ? sdr->start + delta : 0);
|
||||
+ *bp += sprintf(*bp, "%d,", sdr->start);
|
||||
if (sdr->timeout == TO_INF)
|
||||
strCat(bp, "-1,");
|
||||
else
|
||||
- *bp += sprintf(*bp, "%d,", sdr->timeout ? sdr->timeout + delta : 0);
|
||||
+ *bp += sprintf(*bp, "%d,", sdr->timeout);
|
||||
if (sdr->force == SHUT_ASK)
|
||||
strCat(bp, "ask");
|
||||
else if (sdr->force == SHUT_FORCE)
|
||||
@@ -648,12 +647,8 @@ processCtrl(const char *string, int len,
|
||||
}
|
||||
sdr.start = strtol(*ap, &bp, 10);
|
||||
if (bp != *ap && !*bp) {
|
||||
- if (**ap == '+') {
|
||||
+ if (**ap == '+')
|
||||
sdr.start += now;
|
||||
- } else if (nowMonotonic && sdr.start) {
|
||||
- sdr.start -= time(0);
|
||||
- sdr.start += now;
|
||||
- }
|
||||
if (!*++ap)
|
||||
goto miss;
|
||||
sdr.timeout = strtol(*ap, &bp, 10);
|
||||
@@ -661,15 +656,11 @@ processCtrl(const char *string, int len,
|
||||
fLog(d, fd, "bad", "invalid timeout %\"s", ar[3]);
|
||||
goto bust;
|
||||
}
|
||||
+ if (**ap == '+')
|
||||
+ sdr.timeout += sdr.start ? sdr.start : now;
|
||||
if (sdr.timeout < 0) {
|
||||
sdr.timeout = TO_INF;
|
||||
} else {
|
||||
- if (**ap == '+') {
|
||||
- sdr.timeout += sdr.start ? sdr.start : now;
|
||||
- } else if (nowMonotonic && sdr.timeout) {
|
||||
- sdr.timeout -= time(0);
|
||||
- sdr.timeout += now;
|
||||
- }
|
||||
if (!*++ap)
|
||||
goto miss;
|
||||
if (!strcmp(*ap, "force")) {
|
||||
diff -Npur kde-workspace-4.6.90/kdm/backend/dm.c kde-workspace-4.6.80/kdm/backend/dm.c
|
||||
--- kde-workspace-4.6.90/kdm/backend/dm.c 2011-06-22 16:29:18.000000000 +0200
|
||||
+++ kde-workspace-4.6.80/kdm/backend/dm.c 2011-05-20 22:32:06.000000000 +0200
|
||||
@@ -74,9 +74,6 @@ static int stopping;
|
||||
SdRec sdRec = { 0, 0, 0, TO_INF, TO_INF, 0, 0, 0 };
|
||||
|
||||
time_t now;
|
||||
-#ifndef nowMonotonic
|
||||
-int nowMonotonic;
|
||||
-#endif
|
||||
|
||||
#if KDM_LIBEXEC_STRIP != -1
|
||||
char *progpath;
|
||||
@@ -106,10 +103,6 @@ main(int argc, char **argv)
|
||||
if (fcntl(2, F_GETFD) < 0)
|
||||
dup2(0, 2);
|
||||
|
||||
-#ifndef nowMonotonic
|
||||
- nowMonotonic = sysconf(_SC_MONOTONIC_CLOCK) >= 200112L;
|
||||
-#endif
|
||||
-
|
||||
#if KDM_LIBEXEC_STRIP == -1
|
||||
prog = strrchr(argv[0], '/');
|
||||
progname = prog = prog ? prog + 1 : argv[0];
|
||||
@@ -330,20 +323,6 @@ main(int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
-void
|
||||
-updateNow(void)
|
||||
-{
|
||||
-#if (_POSIX_MONOTONIC_CLOCK >= 0)
|
||||
- if (nowMonotonic) {
|
||||
- struct timespec ts;
|
||||
- clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
- /* Linux' monotonic clock starts at zero, but this is assumed to mean "long ago". */
|
||||
- now = ts.tv_sec + 10000;
|
||||
- } else
|
||||
-#endif
|
||||
- time(&now);
|
||||
-}
|
||||
-
|
||||
|
||||
#ifdef HAVE_VTS
|
||||
int
|
||||
@@ -1184,7 +1163,7 @@ mainLoop(void)
|
||||
fd_set reads;
|
||||
|
||||
debug("mainLoop\n");
|
||||
- updateNow();
|
||||
+ time(&now);
|
||||
while (
|
||||
#ifdef XDMCP
|
||||
anyListenSockets() ||
|
||||
@@ -1234,7 +1213,7 @@ mainLoop(void)
|
||||
reads = wellKnownSocketsMask;
|
||||
nready = select(wellKnownSocketsMax + 1, &reads, 0, 0, tvp);
|
||||
debug("select returns %d\n", nready);
|
||||
- updateNow();
|
||||
+ time(&now);
|
||||
#ifdef NEED_ENTROPY
|
||||
addTimerEntropy();
|
||||
#endif
|
||||
diff -Npur kde-workspace-4.6.90/kdm/backend/dm.h kde-workspace-4.6.80/kdm/backend/dm.h
|
||||
--- kde-workspace-4.6.90/kdm/backend/dm.h 2011-06-22 16:29:18.000000000 +0200
|
||||
+++ kde-workspace-4.6.80/kdm/backend/dm.h 2011-05-20 22:32:06.000000000 +0200
|
||||
@@ -403,18 +403,6 @@ void cancelShutdown(void);
|
||||
int TTYtoVT(const char *tty);
|
||||
int activateVT(int vt);
|
||||
|
||||
-#ifndef _POSIX_MONOTONIC_CLOCK
|
||||
-# define _POSIX_MONOTONIC_CLOCK -1
|
||||
-#endif
|
||||
-#if (_POSIX_MONOTONIC_CLOCK > 0)
|
||||
-# define nowMonotonic 1
|
||||
-#elif (_POSIX_MONOTONIC_CLOCK < 0)
|
||||
-# define nowMonotonic 0
|
||||
-#else
|
||||
-extern int nowMonotonic;
|
||||
-#endif
|
||||
-void updateNow(void);
|
||||
-
|
||||
/* in ctrl.c */
|
||||
void openCtrl(struct display *d);
|
||||
void closeCtrl(struct display *d);
|
||||
diff -Npur kde-workspace-4.6.90/kdm/backend/greet.h kde-workspace-4.6.80/kdm/backend/greet.h
|
||||
--- kde-workspace-4.6.90/kdm/backend/greet.h 2011-06-22 16:29:18.000000000 +0200
|
||||
+++ kde-workspace-4.6.80/kdm/backend/greet.h 2011-05-20 22:32:06.000000000 +0200
|
||||
@@ -146,8 +146,6 @@ from the copyright holder.
|
||||
#define G_DChoose 3 /* run chooser */
|
||||
#endif
|
||||
|
||||
-#define G_Interact 4 /* greeter got user input. possible crash is probably not spontaneous. */
|
||||
-
|
||||
#define G_Shutdown 101 /* 5*int, string; async */
|
||||
# define SHUT_REBOOT 1 /* how */
|
||||
# define SHUT_HALT 2
|
||||
diff -Npur kde-workspace-4.6.90/kdm/backend/session.c kde-workspace-4.6.80/kdm/backend/session.c
|
||||
--- kde-workspace-4.6.90/kdm/backend/session.c 2011-06-22 16:29:18.000000000 +0200
|
||||
+++ kde-workspace-4.6.80/kdm/backend/session.c 2011-05-20 22:32:06.000000000 +0200
|
||||
@@ -409,12 +409,15 @@ void
|
||||
openGreeter()
|
||||
{
|
||||
char *name, **env;
|
||||
+ static time_t lastStart;
|
||||
int cmd;
|
||||
Cursor xcursor;
|
||||
|
||||
gSet(&grttalk);
|
||||
if (grtproc.pid > 0)
|
||||
return;
|
||||
+ if (time(0) < lastStart + 10) /* XXX should use some readiness indicator instead */
|
||||
+ sessionExit(EX_UNMANAGE_DPY);
|
||||
ASPrintf(&name, "greeter for display %s", td->name);
|
||||
debug("starting %s\n", name);
|
||||
|
||||
@@ -443,6 +446,7 @@ openGreeter()
|
||||
sessionExit(EX_UNMANAGE_DPY);
|
||||
}
|
||||
debug("%s ready\n", name);
|
||||
+ time(&lastStart);
|
||||
}
|
||||
|
||||
int
|
||||
@@ -544,7 +548,7 @@ manageSession(void)
|
||||
{
|
||||
int ex, cmd;
|
||||
volatile int clientPid = -1;
|
||||
- time_t tdiff, startt;
|
||||
+ volatile time_t tdiff = 0;
|
||||
|
||||
debug("manageSession %s\n", td->name);
|
||||
if ((ex = Setjmp(abortSession))) {
|
||||
@@ -573,16 +577,12 @@ manageSession(void)
|
||||
/* NOTREACHED */
|
||||
#endif
|
||||
|
||||
- updateNow();
|
||||
- tdiff = now - td->hstent->lastExit - td->openDelay;
|
||||
+ tdiff = time(0) - td->hstent->lastExit - td->openDelay;
|
||||
if (autoLogon(tdiff)) {
|
||||
- if (!verify(conv_auto, False)) {
|
||||
- startt = now;
|
||||
+ if (!verify(conv_auto, False))
|
||||
goto gcont;
|
||||
- }
|
||||
} else {
|
||||
regreet:
|
||||
- startt = now;
|
||||
openGreeter();
|
||||
#ifdef XDMCP
|
||||
if (((td->displayType & d_location) == dLocal) &&
|
||||
@@ -596,14 +596,12 @@ manageSession(void)
|
||||
G_GreetTimed : G_Greet);
|
||||
gcont:
|
||||
cmd = ctrlGreeterWait(True);
|
||||
- if (cmd == G_Interact) {
|
||||
- startt = 0;
|
||||
- goto gcont;
|
||||
- }
|
||||
#ifdef XDMCP
|
||||
- while (cmd == G_DChoose) {
|
||||
+ recmd:
|
||||
+ if (cmd == G_DChoose) {
|
||||
choose:
|
||||
cmd = doChoose();
|
||||
+ goto recmd;
|
||||
}
|
||||
if (cmd == G_DGreet)
|
||||
continue;
|
||||
@@ -616,9 +614,6 @@ manageSession(void)
|
||||
logError("Received unknown command %d from greeter\n", cmd);
|
||||
closeGreeter(True);
|
||||
}
|
||||
- updateNow();
|
||||
- if (now < startt + 120) /* Greeter crashed spontaneously. Avoid endless loop. */
|
||||
- sessionExit(EX_UNMANAGE_DPY);
|
||||
goto regreet;
|
||||
}
|
||||
}
|
||||
diff -Npur kde-workspace-4.6.90/kdm/kfrontend/kgapp.cpp kde-workspace-4.6.80/kdm/kfrontend/kgapp.cpp
|
||||
--- kde-workspace-4.6.90/kdm/kfrontend/kgapp.cpp 2011-06-22 16:29:18.000000000 +0200
|
||||
+++ kde-workspace-4.6.80/kdm/kfrontend/kgapp.cpp 2011-05-20 22:32:07.000000000 +0200
|
||||
@@ -74,7 +74,7 @@ sigAlarm(int)
|
||||
|
||||
GreeterApp::GreeterApp(int &argc, char **argv) :
|
||||
inherited(argc, argv),
|
||||
- regrabPtr(false), regrabKbd(false), initalBusy(true), sendInteract(false),
|
||||
+ regrabPtr(false), regrabKbd(false), initalBusy(true),
|
||||
dragWidget(0)
|
||||
{
|
||||
pingInterval = _isLocal ? 0 : _pingInterval;
|
||||
@@ -203,14 +203,6 @@ GreeterApp::x11EventFilter(XEvent * ev)
|
||||
break;
|
||||
}
|
||||
break;
|
||||
- default:
|
||||
- return false;
|
||||
- }
|
||||
- if (sendInteract) {
|
||||
- sendInteract = false;
|
||||
- // We assume that no asynchronous communication is going on
|
||||
- // before the first user interaction.
|
||||
- gSendInt(G_Interact);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@@ -487,7 +479,6 @@ main(int argc ATTR_UNUSED, char **argv)
|
||||
}
|
||||
}
|
||||
QObject::connect(dialog, SIGNAL(ready()), &app, SLOT(markReady()));
|
||||
- app.enableSendInteract();
|
||||
debug("entering event loop\n");
|
||||
rslt = dialog->exec();
|
||||
debug("left event loop\n");
|
||||
diff -Npur kde-workspace-4.6.90/kdm/kfrontend/kgapp.h kde-workspace-4.6.80/kdm/kfrontend/kgapp.h
|
||||
--- kde-workspace-4.6.90/kdm/kfrontend/kgapp.h 2011-06-22 16:29:18.000000000 +0200
|
||||
+++ kde-workspace-4.6.80/kdm/kfrontend/kgapp.h 2011-05-20 22:32:07.000000000 +0200
|
||||
@@ -37,7 +37,6 @@ class GreeterApp : public QApplication {
|
||||
public:
|
||||
GreeterApp(int &argc, char **argv);
|
||||
void markBusy();
|
||||
- void enableSendInteract() { sendInteract = true; }
|
||||
virtual bool x11EventFilter(XEvent *);
|
||||
|
||||
public Q_SLOTS:
|
||||
@@ -51,7 +50,7 @@ class GreeterApp : public QApplication {
|
||||
|
||||
private:
|
||||
int pingInterval, pingTimerId;
|
||||
- bool regrabPtr, regrabKbd, initalBusy, sendInteract;
|
||||
+ bool regrabPtr, regrabKbd, initalBusy;
|
||||
QPoint mouseStartPos, dialogStartPos;
|
||||
QWidget *dragWidget;
|
||||
};
|
@ -1,13 +0,0 @@
|
||||
Index: kdm/config.def
|
||||
===================================================================
|
||||
--- kdm/config.def (revision 1216141)
|
||||
+++ kdm/config.def (revision 1216142)
|
||||
@@ -2680,7 +2680,7 @@
|
||||
Type: string
|
||||
Default: ""
|
||||
User: greeter
|
||||
-Instance: */KDMDATA "/themes/oxygen-air"
|
||||
+Instance: */KDMDATA "/themes/horos"
|
||||
Comment: &
|
||||
Description:
|
||||
The theme to use for the greeter. Can point to either a directory or an XML
|
@ -1,11 +0,0 @@
|
||||
--- kdebase-workspace-4.6.2/kdm/config.def~ 2011-04-08 00:29:48.291941154 -0700
|
||||
+++ kdebase-workspace-4.6.2/kdm/config.def 2011-04-08 00:32:04.738607619 -0700
|
||||
@@ -38,7 +38,7 @@
|
||||
# define HALT_CMD "/usr/sbin/shutdown -h now"
|
||||
# define REBOOT_CMD "/usr/sbin/shutdown -r now"
|
||||
#elif defined(BSD) || defined(__linux__)
|
||||
-# define HALT_CMD "/sbin/shutdown -p now"
|
||||
+# define HALT_CMD "/sbin/shutdown -h now"
|
||||
# define REBOOT_CMD "/sbin/shutdown -r now"
|
||||
#elif defined(__SVR4)
|
||||
# define HALT_CMD "/usr/sbin/halt"
|
File diff suppressed because it is too large
Load Diff
53
kdeaccessibility-jovie/PKGBUILD
Normal file
53
kdeaccessibility-jovie/PKGBUILD
Normal file
@ -0,0 +1,53 @@
|
||||
#
|
||||
# KDE SC Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgname=('kdeaccessibility-jovie')
|
||||
_pkgname="jovie"
|
||||
arch=('i686' 'x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Text-to-speech system"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" "kdelibs>=${_kdever}")
|
||||
conflicts=("kdeaccessibility-doc")
|
||||
replaces=("${pkgbase}-kttsd" "${pkgbase}-ksayit")
|
||||
provides=('jovie')
|
||||
install='kdeaccessibility.install'
|
||||
groups=("kdeaccessibility" "kde" "kde-uninstall" "kde-doc")
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' "kde-runtime>=${_kdever}" "kdelibs>=${_kdever}" "speech-dispatcher>=0.6.7" 'docbook-xsl')
|
||||
categories=('accessibility')
|
||||
|
||||
source=($_mirror/${_pkgname}-$_kdever.tar.bz2)
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
}
|
53
kdeaccessibility-kaccessible/PKGBUILD
Normal file
53
kdeaccessibility-kaccessible/PKGBUILD
Normal file
@ -0,0 +1,53 @@
|
||||
#
|
||||
# KDE SC Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgname=('kdeaccessibility-kaccessible')
|
||||
_pkgname="kaccessible"
|
||||
arch=('i686' 'x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc='Provides accessibility services like focus tracking and a screenreader'
|
||||
url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" 'speech-dispatcher')
|
||||
conflicts=("kdeaccessibility-doc" "kdeaccessibility-colorschemes" "kdeaccessibility-iconthemes")
|
||||
install='kdeaccessibility.install'
|
||||
provides=('kdeaccessibility-common' 'kaccessible')
|
||||
replaces=('kdeaccessibility-common')
|
||||
groups=("kdeaccessibility" "kde" "kde-uninstall" "kde-doc")
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' "kde-runtime>=${_kdever}" "kdelibs>=${_kdever}" "speech-dispatcher>=0.6.7" 'docbook-xsl')
|
||||
categories=('accessibility')
|
||||
|
||||
source=($_mirror/${_pkgname}-$_kdever.tar.bz2)
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
}
|
88
kdeaccessibility-kaccessible/kdeaccessibility.install
Normal file
88
kdeaccessibility-kaccessible/kdeaccessibility.install
Normal file
@ -0,0 +1,88 @@
|
||||
post_install() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
|
||||
$op $*
|
52
kdeaccessibility-kmag/PKGBUILD
Normal file
52
kdeaccessibility-kmag/PKGBUILD
Normal file
@ -0,0 +1,52 @@
|
||||
#
|
||||
# KDE SC Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgname=('kdeaccessibility-kmag')
|
||||
_pkgname="kmag"
|
||||
arch=('i686' 'x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Screen magnifier"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" "kdelibs>=${_kdever}")
|
||||
conflicts=("kdeaccessibility-doc")
|
||||
provides=('kmag')
|
||||
install='kdeaccessibility.install'
|
||||
groups=("kdeaccessibility" "kde" "kde-uninstall" "kde-doc")
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' "kde-runtime>=${_kdever}" "kdelibs>=${_kdever}" "speech-dispatcher>=0.6.7" 'docbook-xsl')
|
||||
categories=('accessibility')
|
||||
|
||||
source=($_mirror/${_pkgname}-$_kdever.tar.bz2)
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
}
|
88
kdeaccessibility-kmag/kdeaccessibility.install
Normal file
88
kdeaccessibility-kmag/kdeaccessibility.install
Normal file
@ -0,0 +1,88 @@
|
||||
post_install() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
|
||||
$op $*
|
52
kdeaccessibility-kmousetool/PKGBUILD
Normal file
52
kdeaccessibility-kmousetool/PKGBUILD
Normal file
@ -0,0 +1,52 @@
|
||||
#
|
||||
# KDE SC Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgname=('kdeaccessibility-kmousetool')
|
||||
_pkgname="kmousetool"
|
||||
arch=('i686' 'x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Automatic mouse clicker"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" "kdelibs>=${_kdever}" "libxtst")
|
||||
makedepends=("automoc4")
|
||||
conflicts=("kdeaccessibility-doc")
|
||||
provides=('kmousetool')
|
||||
install='kdeaccessibility.install'
|
||||
groups=("kdeaccessibility" "kde" "kde-uninstall" "kde-doc")
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
categories=('accessibility')
|
||||
|
||||
source=($_mirror/${_pkgname}-$_kdever.tar.bz2)
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
}
|
88
kdeaccessibility-kmousetool/kdeaccessibility.install
Normal file
88
kdeaccessibility-kmousetool/kdeaccessibility.install
Normal file
@ -0,0 +1,88 @@
|
||||
post_install() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
|
||||
$op $*
|
52
kdeaccessibility-kmouth/PKGBUILD
Normal file
52
kdeaccessibility-kmouth/PKGBUILD
Normal file
@ -0,0 +1,52 @@
|
||||
#
|
||||
# KDE SC Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgname=('kdeaccessibility-kmouth')
|
||||
_pkgname="kmouth"
|
||||
arch=('i686' 'x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Speech synthesizer"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" "kdelibs>=${_kdever}")
|
||||
conflicts=("kdeaccessibility-doc")
|
||||
provides=('kmouth')
|
||||
install='kdeaccessibility.install'
|
||||
groups=("kdeaccessibility" "kde" "kde-uninstall" "kde-doc")
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' "kde-runtime>=${_kdever}" "kdelibs>=${_kdever}" "speech-dispatcher>=0.6.7" 'docbook-xsl')
|
||||
categories=('accessibility')
|
||||
|
||||
source=($_mirror/${_pkgname}-$_kdever.tar.bz2)
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
}
|
88
kdeaccessibility-kmouth/kdeaccessibility.install
Normal file
88
kdeaccessibility-kmouth/kdeaccessibility.install
Normal file
@ -0,0 +1,88 @@
|
||||
post_install() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
if [ -e "/etc/chakra/updates.conf" ] ; then
|
||||
|
||||
. /etc/chakra/updates.conf
|
||||
|
||||
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
|
||||
/usr/bin/chakra-update-icons
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_GLOBAL_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-sycoca
|
||||
fi
|
||||
|
||||
if [ "$UPDATE_USER_CONFIG" = "yes" ]; then
|
||||
/usr/bin/chakra-update-user-sycoca
|
||||
fi
|
||||
else
|
||||
echo " > WARNING"
|
||||
echo " The package kde-common seems not to be installed,"
|
||||
echo " this can possibly break the installation. Just install it"
|
||||
echo " manually after this installation/update, run the following"
|
||||
echo " commands and restart KDE afterwards:"
|
||||
echo " sudo chakra-config-updater"
|
||||
echo " kbuildsycoca4"
|
||||
echo " "
|
||||
fi
|
||||
}
|
||||
|
||||
op=$1
|
||||
shift
|
||||
|
||||
$op $*
|
@ -1,138 +0,0 @@
|
||||
#
|
||||
# KDE SC Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgbase=('kdeaccessibility')
|
||||
pkgname=('kdeaccessibility-kaccessible'
|
||||
'kdeaccessibility-kmag'
|
||||
'kdeaccessibility-kmousetool'
|
||||
'kdeaccessibility-kmouth'
|
||||
'kdeaccessibility-jovie')
|
||||
|
||||
arch=('i686' 'x86_64')
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
|
||||
pkgdesc="split package"
|
||||
url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
|
||||
install=${pkgbase}.install
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' "kde-runtime>=${_kdever}" "kdelibs>=${_kdever}" "speech-dispatcher>=0.6.7" 'docbook-xsl')
|
||||
|
||||
source=($_mirror/${pkgbase}-$_kdever.tar.bz2)
|
||||
md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build()
|
||||
{
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
make || return 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
#
|
||||
# split-install functions
|
||||
#
|
||||
|
||||
|
||||
package_kdeaccessibility-kaccessible()
|
||||
{
|
||||
pkgdesc='Provides accessibility services like focus tracking and a screenreader'
|
||||
depends=("kde-runtime>=${_kdever}" 'speech-dispatcher')
|
||||
conflicts=("kdeaccessibility-doc" "kdeaccessibility-colorschemes" "kdeaccessibility-iconthemes")
|
||||
install='kdeaccessibility.install'
|
||||
provides=('kdeaccessibility-common' 'kaccessible')
|
||||
replaces=('kdeaccessibility-common')
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall" "kde-doc")
|
||||
|
||||
splitdirs="kaccessible"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
package_kdeaccessibility-kmag()
|
||||
{
|
||||
pkgdesc="Screen magnifier"
|
||||
depends=("kde-runtime>=${_kdever}" "kdelibs>=${_kdever}")
|
||||
conflicts=("kdeaccessibility-doc")
|
||||
provides=('kmag')
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
|
||||
splitdirs="kmag"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeaccessibility-kmousetool()
|
||||
{
|
||||
pkgdesc="Automatic mouse clicker"
|
||||
depends=("kde-runtime>=${_kdever}" "kdelibs>=${_kdever}")
|
||||
conflicts=("kdeaccessibility-doc")
|
||||
provides=('kmousetool')
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
|
||||
splitdirs="kmousetool"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeaccessibility-kmouth()
|
||||
{
|
||||
pkgdesc="Speech synthesizer"
|
||||
depends=("kde-runtime>=${_kdever}" "kdelibs>=${_kdever}")
|
||||
conflicts=("kdeaccessibility-doc")
|
||||
provides=('kmouth')
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
|
||||
splitdirs="kmouth"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeaccessibility-jovie()
|
||||
{
|
||||
pkgdesc="Text-to-speech system"
|
||||
depends=("kde-runtime>=${_kdever}" "kdelibs>=${_kdever}" "speech-dispatcher>=0.6.7")
|
||||
conflicts=("kdeaccessibility-doc")
|
||||
replaces=("${pkgbase}-kttsd" "${pkgbase}-ksayit")
|
||||
provides=('jovie')
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
|
||||
splitdirs="jovie"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install
|
||||
done
|
||||
}
|
@ -12,7 +12,6 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
#
|
||||
pkgbase=('kdeadmin')
|
||||
pkgname=('kdeadmin-strigi-analyzer'
|
||||
'kdeadmin-doc'
|
||||
'kdeadmin-kcron'
|
||||
'kdeadmin-kuser'
|
||||
'kdeadmin-ksystemlog'
|
||||
@ -25,10 +24,10 @@ pkgdesc="split package"
|
||||
url="http://www.kde.org/"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
install=kdeadmin.install
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' "kdepimlibs>=${_kdever}" "kde-runtime>=${_kdever}"
|
||||
"kdebindings-pykde4>=${_kdever}" 'system-config-printer-common' "kdepim-runtime>=${_kdever}" 'docbook-xsl')
|
||||
"kdebindings-pykde4>=${_kdever}" 'system-config-printer-common' "kdepim-runtime>=${_kdever}" "docbook-xsl")
|
||||
|
||||
source=($_mirror/${pkgbase}-$_kdever.tar.bz2)
|
||||
md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
@ -36,31 +35,28 @@ md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DBUILD_kpackage=OFF \
|
||||
-DBUILD_knetworkconf=OFF \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
make || return 1
|
||||
make
|
||||
}
|
||||
|
||||
#
|
||||
# split-install functions
|
||||
#
|
||||
package_kdeadmin-strigi-analyzer()
|
||||
{
|
||||
package_kdeadmin-strigi-analyzer() {
|
||||
pkgdesc="KDE Administrative Tools - Common files and libraries"
|
||||
depends=("kde-runtime>=${_kdever}")
|
||||
provides=('kdeadmin-common')
|
||||
replaces=('kdeadmin-common')
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
categories=('system')
|
||||
|
||||
splitdirs="strigi-analyzer"
|
||||
for i in ${splitdirs} ; do
|
||||
@ -70,37 +66,25 @@ package_kdeadmin-strigi-analyzer()
|
||||
|
||||
}
|
||||
|
||||
package_kdeadmin-doc()
|
||||
{
|
||||
pkgdesc="KDE Administrative Tools - Documentation"
|
||||
depends=()
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
|
||||
splitdirs="doc"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeadmin-kcron()
|
||||
{
|
||||
package_kdeadmin-kcron() {
|
||||
pkgdesc="Crontab editor"
|
||||
depends=("kdeadmin-strigi-analyzer>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
conflicts=("kdeadmin-doc")
|
||||
categories=('system')
|
||||
|
||||
splitdirs="kcron"
|
||||
splitdirs="kcron doc/kcron"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeadmin-kdat()
|
||||
{
|
||||
package_kdeadmin-kdat() {
|
||||
pkgdesc="Tar-based tape archiver"
|
||||
depends=("kdeadmin-strigi-analyzer>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
categories=('system')
|
||||
|
||||
splitdirs="kdat"
|
||||
for i in ${splitdirs} ; do
|
||||
@ -109,37 +93,39 @@ package_kdeadmin-kdat()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeadmin-ksystemlog()
|
||||
{
|
||||
package_kdeadmin-ksystemlog() {
|
||||
pkgdesc="Log viewer"
|
||||
depends=("kdeadmin-strigi-analyzer>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
conflicts=("kdeadmin-doc")
|
||||
categories=('system')
|
||||
|
||||
splitdirs="ksystemlog"
|
||||
splitdirs="ksystemlog doc/ksystemlog"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeadmin-kuser()
|
||||
{
|
||||
package_kdeadmin-kuser() {
|
||||
pkgdesc="Manage users and groups"
|
||||
depends=("kdeadmin-strigi-analyzer>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-minimal" "kde-uninstall")
|
||||
conflicts=("kdeadmin-doc")
|
||||
categories=('system')
|
||||
|
||||
splitdirs="kuser"
|
||||
splitdirs="kuser doc/kuser"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeadmin-system-config-printer()
|
||||
{
|
||||
package_kdeadmin-system-config-printer() {
|
||||
pkgdesc="Printer configuration"
|
||||
depends=("kdeadmin-strigi-analyzer>=${_kdever}" "system-config-printer" "kdebindings-pykde4>=${_kdever}" 'pygobject')
|
||||
depends=("kdeadmin-strigi-analyzer>=${_kdever}" "system-config-printer" "kdebindings-pykde4>=${_kdever}" "pygobject")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
categories=('system')
|
||||
|
||||
splitdirs="system-config-printer-kde"
|
||||
for i in ${splitdirs} ; do
|
||||
|
@ -37,13 +37,10 @@ source=($_mirror/${pkgbase}-$_kdever.tar.bz2
|
||||
md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`
|
||||
'e44e5e6ff9dd2fe66aba7313f7ff1d22') # 92545-xscreensaver.tar.bz2
|
||||
|
||||
|
||||
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
|
||||
msg "starting build ..."
|
||||
@ -55,14 +52,10 @@ build()
|
||||
make || return 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
#
|
||||
# split-install functions
|
||||
#
|
||||
|
||||
package_kdeartwork-aurorae()
|
||||
{
|
||||
package_kdeartwork-aurorae() {
|
||||
pkgdesc='An Aurorae theme based on the Oxygen plasma theme'
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -75,8 +68,7 @@ package_kdeartwork-aurorae()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeartwork-colorschemes()
|
||||
{
|
||||
package_kdeartwork-colorschemes() {
|
||||
pkgdesc="KDE Artwork - Color Schemes"
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -89,8 +81,7 @@ package_kdeartwork-colorschemes()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeartwork-desktopthemes()
|
||||
{
|
||||
package_kdeartwork-desktopthemes() {
|
||||
pkgdesc="KDE Artwork - Additional Desktop Themes"
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -110,8 +101,7 @@ package_kdeartwork-desktopthemes()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeartwork-emoticons()
|
||||
{
|
||||
package_kdeartwork-emoticons() {
|
||||
pkgdesc="KDE Artwork - Additional Emoticons"
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -124,8 +114,7 @@ package_kdeartwork-emoticons()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeartwork-iconthemes()
|
||||
{
|
||||
package_kdeartwork-iconthemes() {
|
||||
pkgdesc="KDE Artwork - Additional Icon Themes"
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -138,8 +127,7 @@ package_kdeartwork-iconthemes()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeartwork-screensavers()
|
||||
{
|
||||
package_kdeartwork-screensavers() {
|
||||
pkgdesc="KDE Artwork - Screen Savers"
|
||||
depends=("kde-workspace>=${_kdever}" "eigen")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -158,8 +146,7 @@ package_kdeartwork-screensavers()
|
||||
popd
|
||||
}
|
||||
|
||||
package_kdeartwork-kwinstyles()
|
||||
{
|
||||
package_kdeartwork-kwinstyles() {
|
||||
pkgdesc="KDE Artwork - Window Decoration Styles for KWin"
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -172,8 +159,7 @@ package_kdeartwork-kwinstyles()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeartwork-sounds()
|
||||
{
|
||||
package_kdeartwork-sounds() {
|
||||
pkgdesc="KDE Artwork - Sounds"
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -186,8 +172,7 @@ package_kdeartwork-sounds()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeartwork-styles()
|
||||
{
|
||||
package_kdeartwork-styles() {
|
||||
pkgdesc="KDE Artwork - Additional Widget Styles"
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -200,8 +185,7 @@ package_kdeartwork-styles()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeartwork-wallpapers()
|
||||
{
|
||||
package_kdeartwork-wallpapers() {
|
||||
pkgdesc="KDE Artwork - Additional Wallpapers"
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
@ -214,8 +198,7 @@ package_kdeartwork-wallpapers()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdeartwork-weatherwallpapers()
|
||||
{
|
||||
package_kdeartwork-weatherwallpapers() {
|
||||
pkgdesc="KDE Artwork - Additional Wallpapers for the Plasma weather plugin"
|
||||
depends=("kde-workspace>=${_kdever}")
|
||||
groups=("${pkgbase}" "kde" "kde-uninstall")
|
||||
|
@ -26,10 +26,9 @@ conflicts=('kdebindings-csharp')
|
||||
replaces=('kdebindings-csharp')
|
||||
provides=('kdebindings-csharp' 'kimono')
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -37,8 +36,7 @@ build()
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -28,18 +28,16 @@ provides=('kdebindings-ruby' 'korundum')
|
||||
replaces=('kdebindings-ruby')
|
||||
conflicts=('kdebindings-ruby')
|
||||
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -18,31 +18,26 @@ pkgdesc="KDE interpreters for Kross"
|
||||
url="http://kde.org/"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kdebindings-pykde4>=${_kdever}" "kdebindings-korundum>=${_kdever}" "java-runtime")
|
||||
depends=("kdebindings-pykde4>=${_kdever}" "kdebindings-korundum>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4' 'ruby' 'python2' 'openjdk6')
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
provides=('kross-interpreters')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
|
||||
# FIXME; ruby is not compiling atm
|
||||
sed -i -e "s~macro_optional_add_subdirectory(ruby)~~g" CMakeLists.txt
|
||||
|
||||
# Enable this to disable Java:
|
||||
# sed -i -e "s~macro_optional_add_subdirectory(java)~~g" CMakeLists.txt
|
||||
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -24,18 +24,16 @@ source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
provides=('perlkde')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -18,24 +18,22 @@ pkgdesc="Perl bindings for the Qt libraries"
|
||||
url="http://kde.org/"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kdebindings-smokeqt>=${_kdever}" 'qwt' 'perl-list-moreutils')
|
||||
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}" 'qwt' "kdesdk-kate>=$Â{_kdever}")
|
||||
depends=("kdebindings-smokeqt>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}" 'qwt' "kdesdk-kate>=${_kdever}")
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
provides=('perlqt')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -21,28 +21,32 @@ license=('GPL' 'LGPL' 'FDL')
|
||||
depends=('pyqt' 'qscintilla' 'boost-libs' 'kdepim-runtime')
|
||||
makedepends=('cmake' 'automoc4' 'polkit-qt' 'boost')
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
#"fix-pykde4.patch")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
#'3096e7ad08058c4fce32e5bf4846f4d0')
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
provides=('kdebindings-python' 'pykde4')
|
||||
replaces=('kdebindings-python')
|
||||
conflicts=('kdebindings-python')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../pykde4-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python2
|
||||
make
|
||||
cd "${srcdir}"
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake ../pykde4-${pkgver} \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DPYTHON_EXECUTABLE=/usr/bin/python2
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
cd "${srcdir}"/build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# Use the python2 executable
|
||||
find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
|
||||
# Use the python2 executable
|
||||
find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
|
||||
}
|
||||
|
96
kdebindings-pykde4/fix-pykde4.patch
Normal file
96
kdebindings-pykde4/fix-pykde4.patch
Normal file
@ -0,0 +1,96 @@
|
||||
--- a/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp
|
||||
+++ b/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp
|
||||
@@ -18,6 +18,7 @@
|
||||
Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
+#include <Python.h>
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
@@ -25,7 +26,6 @@
|
||||
#include <klibloader.h>
|
||||
#include <kstandarddirs.h>
|
||||
#include <kcmodule.h>
|
||||
-#include <Python.h>
|
||||
#include <kcomponentdata.h>
|
||||
#include <kdebug.h>Index: b/python/pykde4/CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/python/pykde4/CMakeLists.txt
|
||||
+++ b/python/pykde4/CMakeLists.txt
|
||||
@@ -87,6 +87,9 @@
|
||||
${KDEPIMLIBS_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
+# Pull in ARM configuration options if needed
|
||||
+STRING(REGEX MATCH "PyQt_qreal_double" SIP_ARM_HACK ${PYQT4_SIP_FLAGS} "")
|
||||
+
|
||||
SET(SIP_INCLUDES ${PYQT4_SIP_DIR} sip)
|
||||
SET(SIP_CONCAT_PARTS 8)
|
||||
IF (WIN32)
|
||||
@@ -94,7 +97,7 @@
|
||||
ELSE (WIN32)
|
||||
SET(SIP_TAGS ALL WS_X11 ${PYQT4_VERSION_TAG})
|
||||
ENDIF (WIN32)
|
||||
-SET(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug)
|
||||
+SET(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug ${SIP_ARM_HACK})
|
||||
|
||||
# Use an extra option when compiling on Python 3.
|
||||
IF (PYTHON_3)diff -ur kdebindings-4.5.95/python/pykde4/sip/nepomuk/nuao.sip kdebindings-4.5.95.mine/python/pykde4/sip/nepomuk/nuao.sip
|
||||
--- kdebindings-4.5.95/python/pykde4/sip/nepomuk/nuao.sip 2010-12-22 09:55:07.000000000 +0000
|
||||
+++ kdebindings-4.5.95.mine/python/pykde4/sip/nepomuk/nuao.sip 2011-01-07 00:04:41.157926502 +0000
|
||||
@@ -32,7 +32,7 @@
|
||||
QUrl Event ();
|
||||
QUrl ModificationEvent ();
|
||||
QUrl UsageEvent ();
|
||||
-QUrl duration ();
|
||||
+QUrl end ();
|
||||
QUrl eventCount ();
|
||||
QUrl firstEvent ();
|
||||
QUrl firstModification ();--- a/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp
|
||||
+++ b/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp
|
||||
@@ -297,7 +297,7 @@ QLibrary *LoadPythonLibrary()
|
||||
{
|
||||
QLibrary *pythonLib = new QLibrary();
|
||||
pythonLib->setLoadHints(QLibrary::ExportExternalSymbolsHint);
|
||||
- pythonLib->setFileName(LIB_PYTHON);
|
||||
+ pythonLib->setFileName(LIB_PYTHON ".1");
|
||||
pythonLib->load();
|
||||
return pythonLib;
|
||||
}Index: b/python/pykde4/CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/python/pykde4/CMakeLists.txt
|
||||
+++ b/python/pykde4/CMakeLists.txt
|
||||
@@ -15,6 +15,18 @@
|
||||
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib/pykde)
|
||||
ENDIF(CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION LESS 6)
|
||||
|
||||
+# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
|
||||
+set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
|
||||
+
|
||||
+# search packages used by KDE
|
||||
+find_package(KDE4 REQUIRED)
|
||||
+include (KDE4Defaults)
|
||||
+include (MacroLibrary)
|
||||
+include(MacroOptionalAddSubdirectory)
|
||||
+
|
||||
+add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DQT3_SUPPORT)
|
||||
+
|
||||
+
|
||||
FIND_PACKAGE(PythonLibrary REQUIRED)
|
||||
INCLUDE(PythonMacros)Do not link python modules against -lpython2.X. Since KDE4's cmake file uses --no-undefined by default, we have to remove that from the default CMAKE_SHARED_LINKER_FLAGS variable, but only for the pykde4 subdirectory.
|
||||
|
||||
Index: b/python/pykde4/CMakeLists.txt
|
||||
===================================================================
|
||||
--- a/python/pykde4/CMakeLists.txt
|
||||
+++ b/python/pykde4/CMakeLists.txt
|
||||
@@ -93,6 +93,9 @@
|
||||
|
||||
ADD_DEFINITIONS(-D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DUSING_SOPRANO_NRLMODEL_UNSTABLE_API)
|
||||
|
||||
+# Do not use --no-undefined for python modules.
|
||||
+STRING(REPLACE -Wl,--no-undefined "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
|
||||
+
|
||||
FILE(GLOB kdecore_files_sip sip/kdecore/*.sip)
|
||||
set(SIP_EXTRA_FILES_DEPEND ${kdecore_files_sip})
|
||||
ADD_SIP_PYTHON_MODULE(PyKDE4.kdecore sip/kdecore/kdecoremod.sip ${KDE4_KDECORE_LIBS} ${KDE4_KPTY_LIBS} ${QT_QTNETWORK_LIBRARY})
|
@ -19,24 +19,22 @@ url="http://kde.org/"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kdebindings-smokeqt>=${_kdever}" "ruby")
|
||||
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}" "qwt")
|
||||
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}")
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
conflicts=('kdebindings-common')
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
provides=('qtruby')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -25,18 +25,16 @@ md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
conflicts=('kdebindings-common')
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
provides=('qyoto')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -24,18 +24,16 @@ source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
provides=('smokegen')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -25,18 +25,16 @@ md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
replaces=('kdebindings-common')
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
provides=('smokekde')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -18,25 +18,23 @@ pkgdesc="Language independent library for Qt bindings"
|
||||
url="http://kde.org/"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" 'qimageblitz' 'qscintilla')
|
||||
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}" "qwt")
|
||||
depends=("kde-runtime>=${_kdever}" 'qimageblitz' 'qscintilla' 'qwt')
|
||||
makedepends=('cmake' 'automoc4' "kdebindings-smokegen>=${_kdever}")
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
groups=("kde" "kdebindings" "kde-uninstall")
|
||||
provides=('smokeqt')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||
make
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
}
|
||||
|
46
kdeedu-analitza/PKGBUILD
Normal file
46
kdeedu-analitza/PKGBUILD
Normal file
@ -0,0 +1,46 @@
|
||||
#
|
||||
# KDE SC Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
#
|
||||
# package info
|
||||
#
|
||||
pkgname=kdeedu-analitza
|
||||
_pkgname=analitza
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
pkgdesc="Shared Math libraries from Kalgebra"
|
||||
url="http://kde.org/applications/education/kalgebra/"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.kde.org'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" "kdeedu-libkdeedu>=${_kdever}" )
|
||||
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
||||
provides=('kalgebra')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
}
|
12
kdeedu-analitza/kdeedu-analitza.install
Normal file
12
kdeedu-analitza/kdeedu-analitza.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -23,7 +23,8 @@ depends=("kde-runtime>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('blinken')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
|
@ -19,11 +19,12 @@ url="http://kde.org/applications/education/cantor/"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.kde.org'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" 'r' 'libspectre')
|
||||
makedepends=('cmake' 'automoc4' 'docbook-xsl' 'icu' 'kdeedu-kalgebra')
|
||||
depends=("kde-runtime>=${_kdever}" 'r' 'libspectre' "kdeedu-analitza>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4' 'docbook-xsl' 'icu')
|
||||
provides=('cantor')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
@ -35,7 +36,6 @@ build()
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=OFF
|
||||
# -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
}
|
||||
|
||||
|
@ -19,29 +19,27 @@ url="http://kde.org/applications/education/kalgebra/"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.kde.org'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" "kdeedu-libkdeedu>=${_kdever}" )
|
||||
depends=("kde-runtime>=${_kdever}" "kdeedu-libkdeedu>=${_kdever}" "kdeedu-analitza>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
||||
provides=('kalgebra')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DINSTALL_ANALITZA_HEADERS=TRUE \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -19,11 +19,12 @@ url="http://kde.org/applications/education/kalzium/"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.kde.org'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kdelibs>=${_kdever}" "avogadro" "ocaml")
|
||||
depends=("kdelibs>=${_kdever}" "avogadro" "ocaml" "facile")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kalzium')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
|
@ -23,7 +23,8 @@ depends=("kde-runtime>=${_kdever}" "kdeedu-libkdeedu>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kanagram')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
|
@ -23,7 +23,8 @@ depends=("kde-runtime>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kbruch')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kgeography')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}" "kdeedu-libkdeedu>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('khangman')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -23,7 +23,8 @@ depends=("kde-runtime>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kig')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kiten')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('klettres')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kmplot')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}" 'eigen' 'cfitsio' 'indilib' 'xplanet')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kstars')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('ktouch')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kturtle')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}" "kdeedu-libkdeedu>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('kwordquiz')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -24,14 +24,13 @@ replaces=('kdeedu-common')
|
||||
provides=('kdeedu-common' 'libkdeedu')
|
||||
conflicts=('kdeedu-doc')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${_pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -40,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -19,28 +19,39 @@ url="http://kde.org/applications/education/marble/"
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.kde.org'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" "gpsd")
|
||||
depends=("kde-runtime>=${_kdever}" "gpsd" "qt-mobility")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('marble')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
# create tarball: source PKGBUILD && mksource
|
||||
|
||||
mksource() {
|
||||
rm -vRf ${_pkgname}-${pkgver}
|
||||
git clone git://anongit.kde.org/marble ${_pkgname}-${pkgver}
|
||||
rm -vRf ${_pkgname}-${pkgver}/.git
|
||||
pushd ${_pkgname}-${pkgver}
|
||||
popd
|
||||
tar -cvJf ${_pkgname}-${pkgver}.tar.xz ${_pkgname}-${pkgver}/*
|
||||
md5sum ${_pkgname}-${pkgver}.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
make DESTDIR=${pkgdir} install
|
||||
}
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}" "kdeedu-libkdeedu>=${_kdever}")
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('parley')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -23,14 +23,14 @@ depends=("kde-runtime>=${_kdever}" "boost-libs")
|
||||
makedepends=('cmake' 'automoc4' 'boost' 'docbook-xsl')
|
||||
provides=('rocs')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
@ -38,8 +38,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -20,17 +20,17 @@ arch=('i686' 'x86_64')
|
||||
url='http://www.kde.org'
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
depends=("kde-runtime>=${_kdever}" 'libqalculate' 'gsl' 'eigen')
|
||||
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
||||
makedepends=('cmake' 'automoc4')
|
||||
provides=('step')
|
||||
groups=("kde" "kdeedu" "kde-uninstall")
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
categories=('education')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
install=${pkgname}.install
|
||||
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -39,8 +39,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
}
|
||||
|
@ -12,7 +12,6 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
#
|
||||
pkgbase="kdegames"
|
||||
pkgname=('kdegames-common'
|
||||
'kdegames-doc'
|
||||
'kdegames-bomber'
|
||||
'kdegames-bovo'
|
||||
'kdegames-granatier'
|
||||
@ -74,8 +73,7 @@ md5sums=(`grep ${pkgbase}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
#
|
||||
# build function
|
||||
#
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
|
||||
msg "starting build ..."
|
||||
@ -92,8 +90,7 @@ build()
|
||||
#
|
||||
# split-install functions
|
||||
#
|
||||
package_kdegames-common()
|
||||
{
|
||||
package_kdegames-common() {
|
||||
pkgdesc="KDE games - Common files and libraries"
|
||||
depends=("kdelibs>=${_kdever}")
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
@ -111,111 +108,105 @@ package_kdegames-common()
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-doc()
|
||||
{
|
||||
pkgdesc="KDE games - Documentation"
|
||||
depends=()
|
||||
groups=("kde" "${pkgbase}" "kde-doc" "kde-uninstall")
|
||||
|
||||
splitdirs="doc"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-bomber()
|
||||
{
|
||||
package_kdegames-bomber() {
|
||||
pkgdesc="Destroy the buildings below, before you crash into them"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
conflicts=('kdegames-doc')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="bomber"
|
||||
splitdirs="bomber doc/bomber"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-bovo()
|
||||
{
|
||||
package_kdegames-bovo() {
|
||||
pkgdesc="Five-in-a-row Board Game"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="bovo"
|
||||
splitdirs="bovo doc/bovo"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-granatier()
|
||||
{
|
||||
package_kdegames-granatier() {
|
||||
pkgdesc="Granatier is a clone of the classic Bomberman game, inspired by the work of the Clanbomber clone."
|
||||
depends=("${pkgbase}-common>=${_kdever}" 'openal')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
conflicts=('kdegames-doc')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="granatier"
|
||||
splitdirs="granatier doc/granatier"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kajongg()
|
||||
{
|
||||
package_kdegames-kajongg() {
|
||||
pkgdesc="The ancient Chinese board game for 4 players."
|
||||
depends=("${pkgbase}-common>=${_kdever}" 'twisted' 'pyqt' "kdebindings-pykde4>=${_kdever}")
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
conflicts=('kdegames-doc')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kajongg"
|
||||
splitdirs="kajongg doc/kajongg"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kapman()
|
||||
{
|
||||
package_kdegames-kapman() {
|
||||
pkgdesc="A clone of the classic Pacman game"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kapman"
|
||||
splitdirs="kapman doc/kapman"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-katomic()
|
||||
{
|
||||
package_kdegames-katomic() {
|
||||
pkgdesc="Thinking game where you have to form chemical molecules out of atoms"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="katomic"
|
||||
splitdirs="katomic doc/katomic"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kbattleship()
|
||||
{
|
||||
package_kdegames-kbattleship() {
|
||||
pkgdesc="Implentation of the popular game Battleship where you have to try to sink the opponents ships"
|
||||
depends=("${pkgbase}-common>=${_kdever}" 'ggz-client-libs')
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}-kbattleship.install
|
||||
|
||||
splitdirs="kbattleship"
|
||||
splitdirs="kbattleship doc/kbattleship"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -226,280 +217,300 @@ package_kdegames-kbattleship()
|
||||
install -D -m644 ${srcdir}/${pkgbase}-${pkgver}/kbattleship/src/module.dsc ${pkgdir}/usr/share/ggz/kbattleship.dsc
|
||||
}
|
||||
|
||||
package_kdegames-kblackbox()
|
||||
{
|
||||
package_kdegames-kblackbox() {
|
||||
pkgdesc="Graphical logical game, inspired by emacs blackbox"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kblackbox"
|
||||
splitdirs="kblackbox doc/kblackbox"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kblocks()
|
||||
{
|
||||
package_kdegames-kblocks() {
|
||||
pkgdesc="KBlocks is a single player falling blocks puzzle game, a Tetris-like replacement for KSirtet"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kblocks"
|
||||
splitdirs="kblocks doc/kblocks"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kbounce()
|
||||
{
|
||||
package_kdegames-kbounce() {
|
||||
pkgdesc="Catch several moving balls in a rectangular game field by building walls"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kbounce"
|
||||
splitdirs="kbounce doc/kbounce"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kbreakout()
|
||||
{
|
||||
package_kdegames-kbreakout() {
|
||||
pkgdesc="A clone of the classic breakout game"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kbreakout"
|
||||
splitdirs="kbreakout doc/kbreakout"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kdiamond()
|
||||
{
|
||||
package_kdegames-kdiamond() {
|
||||
pkgdesc="KDiamond is a three-in-a-row game (much like Bejeweled)"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kdiamond"
|
||||
splitdirs="kdiamond doc/kdiamond"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kfourinline()
|
||||
{
|
||||
package_kdegames-kfourinline() {
|
||||
pkgdesc="A board game for two players based on the Connect-Four game"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kfourinline"
|
||||
splitdirs="kfourinline doc/kfourinline"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kgoldrunner()
|
||||
{
|
||||
package_kdegames-kgoldrunner() {
|
||||
pkgdesc="Action game, akin to the C64s LodeRunner"
|
||||
depends=("${pkgbase}-common>=${_kdever}" "${pkgbase}-doc>=${_kdever}" 'openal')
|
||||
depends=("${pkgbase}-common>=${_kdever}" 'openal')
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kgoldrunner"
|
||||
splitdirs="kgoldrunner doc/kgoldrunner"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kigo()
|
||||
{
|
||||
package_kdegames-kigo() {
|
||||
pkgdesc="A go board game for KDE"
|
||||
depends=("${pkgbase}-common>=${_kdever}" 'gnugo')
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kigo"
|
||||
splitdirs="kigo doc/kigo"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-killbots()
|
||||
{
|
||||
package_kdegames-killbots() {
|
||||
pkgdesc="A classic turn-based game in which the player tries to avoid being killed by attacking robots"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="killbots"
|
||||
splitdirs="killbots doc/killbots"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kiriki()
|
||||
{
|
||||
package_kdegames-kiriki() {
|
||||
pkgdesc="Kiriki is a clone of Yahtzee"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kiriki"
|
||||
splitdirs="kiriki doc/kiriki"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kjumpingcube()
|
||||
{
|
||||
package_kdegames-kjumpingcube() {
|
||||
pkgdesc="Tactical one or two-player game. The playing field consists of squares that contains points which can be increased"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kjumpingcube"
|
||||
splitdirs="kjumpingcube doc/kjumpingcube"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-klines()
|
||||
{
|
||||
package_kdegames-klines() {
|
||||
pkgdesc="A version of the russian game Lines"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="klines"
|
||||
splitdirs="klines doc/klines"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kmahjongg()
|
||||
{
|
||||
package_kdegames-kmahjongg() {
|
||||
pkgdesc="Clone of the well known tile based patience game of the same name"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kmahjongg"
|
||||
splitdirs="kmahjongg doc/kmahjongg"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kmines()
|
||||
{
|
||||
package_kdegames-kmines() {
|
||||
pkgdesc="Classical Minesweeper game where you have to find mines by logical deduction"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kmines"
|
||||
splitdirs="kmines doc/kmines"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-knetwalk()
|
||||
{
|
||||
package_kdegames-knetwalk() {
|
||||
pkgdesc="Connect all computers to a messed up network"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="knetwalk"
|
||||
splitdirs="knetwalk doc/knetwalk"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kolf()
|
||||
{
|
||||
package_kdegames-kolf() {
|
||||
pkgdesc="Miniature golf simulator"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kolf"
|
||||
splitdirs="kolf doc/kolf"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kollision()
|
||||
{
|
||||
package_kdegames-kollision() {
|
||||
pkgdesc="A simple ball dodging game"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kollision"
|
||||
splitdirs="kollision doc/kollision"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-konquest()
|
||||
{
|
||||
package_kdegames-konquest() {
|
||||
pkgdesc="Version of Gnu-Lactic Konquest, a multi-player strategy game"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="konquest"
|
||||
splitdirs="konquest doc/konquest"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kpat()
|
||||
{
|
||||
package_kdegames-kpat() {
|
||||
pkgdesc="Collection of various patience games known all over the world"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kpat"
|
||||
splitdirs="kpat doc/kpat"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kreversi()
|
||||
{
|
||||
package_kdegames-kreversi() {
|
||||
pkgdesc="Board game game where two players have to gain the majority of pieces on the board"
|
||||
depends=("${pkgbase}-common>=${_kdever}" 'ggz-client-libs')
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}-kreversi.install
|
||||
|
||||
splitdirs="kreversi"
|
||||
splitdirs="kreversi doc/kreversi"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -510,71 +521,76 @@ package_kdegames-kreversi()
|
||||
install -D -m644 ${srcdir}/${pkgbase}-${pkgver}/kreversi/module.dsc ${pkgdir}/usr/share/ggz/kreversi.dsc
|
||||
}
|
||||
|
||||
package_kdegames-klickety()
|
||||
{
|
||||
package_kdegames-klickety() {
|
||||
pkgdesc="Klickety is an adaptation of the clickomania game"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
replaces=("kdegames-${pkgbase}-ksame")
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="klickety"
|
||||
splitdirs="klickety doc/klickety"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kshisen()
|
||||
{
|
||||
package_kdegames-kshisen() {
|
||||
pkgdesc="A game similiar to Mahjongg"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kshisen"
|
||||
splitdirs="kshisen doc/kshisen"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-ksirk()
|
||||
{
|
||||
package_kdegames-ksirk() {
|
||||
pkgdesc="A game similiar to Risk"
|
||||
depends=("${pkgbase}-common>=${_kdever}" 'qca')
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="ksirk"
|
||||
splitdirs="ksirk doc/ksirk"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kspaceduel()
|
||||
{
|
||||
package_kdegames-kspaceduel() {
|
||||
pkgdesc="Space arcade game for two players"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kspaceduel"
|
||||
splitdirs="kspaceduel doc/kspaceduel"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-ksquares()
|
||||
{
|
||||
package_kdegames-ksquares() {
|
||||
pkgdesc="A game modeled after the well known pen and paper based game of Dots and Boxes"
|
||||
depends=("${pkgbase}-common>=${_kdever}" 'ggz-client-libs')
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}-ksquares.install
|
||||
|
||||
splitdirs="ksquares"
|
||||
splitdirs="ksquares doc/ksquares"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
@ -585,83 +601,89 @@ package_kdegames-ksquares()
|
||||
install -D -m644 ${srcdir}/${pkgbase}-${pkgver}/ksquares/src/module.dsc ${pkgdir}/usr/share/ggz/ksquares.dsc
|
||||
}
|
||||
|
||||
package_kdegames-ksudoku()
|
||||
{
|
||||
package_kdegames-ksudoku() {
|
||||
pkgdesc="Sudoku game"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="ksudoku"
|
||||
splitdirs="ksudoku doc/ksudoku"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-ktron()
|
||||
{
|
||||
package_kdegames-ktron() {
|
||||
pkgdesc="Well known from the famous movie, KTron is a popular computer game for two players."
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="ktron"
|
||||
splitdirs="ktron doc/ktron"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-ktuberling()
|
||||
{
|
||||
package_kdegames-ktuberling() {
|
||||
pkgdesc="Nice potato editor for kids"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="ktuberling"
|
||||
splitdirs="ktuberling doc/ktuberling"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-kubrick()
|
||||
{
|
||||
package_kdegames-kubrick() {
|
||||
pkgdesc="Kubrick is a game based on Rubik's Cube (TM)"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="kubrick"
|
||||
splitdirs="kubrick doc/kubrick"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-lskat()
|
||||
{
|
||||
package_kdegames-lskat() {
|
||||
pkgdesc="Two player card game which follows the rules for the German game Offiziers-Skat"
|
||||
depends=("${pkgbase}-common>=${_kdever}")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
install=${pkgbase}.install
|
||||
|
||||
splitdirs="lskat"
|
||||
splitdirs="lskat doc/lskat"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
done
|
||||
}
|
||||
|
||||
package_kdegames-palapeli()
|
||||
{
|
||||
package_kdegames-palapeli() {
|
||||
pkgdesc="Palapeli is a jigsaw puzzle game."
|
||||
depends=("${pkgbase}-common>=${_kdever}" "qhull")
|
||||
conflicts=('kdegames-doc')
|
||||
groups=("kde" "${pkgbase}" "kde-uninstall")
|
||||
categories=('games')
|
||||
|
||||
splitdirs="palapeli"
|
||||
splitdirs="palapeli doc/palapeli"
|
||||
for i in ${splitdirs} ; do
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}/${i}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
@ -25,11 +25,11 @@ source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
install=${pkgname}.install
|
||||
groups=("kde" "kdegraphics" "kde-uninstall")
|
||||
categories=('graphics')
|
||||
provides=('gwenview')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -38,8 +38,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -23,11 +23,11 @@ makedepends=('cmake' 'automoc4')
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
groups=("kde" "kdegraphics" "kde-uninstall")
|
||||
categories=('graphics')
|
||||
provides=('kamera')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -36,8 +36,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -24,11 +24,11 @@ source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
install=${pkgname}.install
|
||||
groups=("kde" "kdegraphics" "kde-uninstall")
|
||||
categories=('graphics')
|
||||
provides=('kcolorchooser')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -37,8 +37,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -27,13 +27,13 @@ makedepends=('cmake' 'automoc4')
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
groups=("kde" "kdegraphics" "kde-uninstall")
|
||||
categories=('graphics')
|
||||
provides=('kdegraphics-common')
|
||||
replaces=('kdegraphics-common' 'kdegraphics-doc')
|
||||
conflicts=('kdegraphics-common')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -42,8 +42,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -25,11 +25,11 @@ source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
install=${pkgname}.install
|
||||
groups=("kde" "kdegraphics" "kde-uninstall")
|
||||
categories=('graphics')
|
||||
provides=('kolourpaint')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -38,8 +38,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
@ -24,11 +24,11 @@ source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||
install=${pkgname}.install
|
||||
groups=("kde" "kdegraphics" "kde-uninstall")
|
||||
categories=('graphics')
|
||||
provides=('kruler')
|
||||
options=('!splithdr' 'splitdbg' 'log')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
build()
|
||||
{
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
@ -37,8 +37,7 @@ build()
|
||||
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user