* some updates and additions

This commit is contained in:
Phil Miller 2010-05-30 18:58:56 +00:00
parent c8a1767d6b
commit c2bb7cd968
17 changed files with 1064 additions and 5 deletions

View File

@ -12,9 +12,9 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# package info
#
pkgname=chakra-tribe
pkgver=20100524
pkgver=20100526
_sver=20100404
pkgrel=2
pkgrel=1
pkgdesc="Tribe - Chakra LiveCD Installer"
url="http://git.chakra-project.org/chakra/"
license="GPL"

29
colibri/PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
#
# Chakra 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=colibri
pkgver=0.1.1
pkgrel=1
pkgdesc="Colibri provides an alternative to KDE4 Plasma notifications."
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/Colibri?content=117147"
license=('GPL')
depends=('kdebase-workspace>=4.4')
makedepends=('gcc' 'cmake' 'automoc4')
install=colibri.install
source=(http://kde-apps.org/CONTENT/content-files/117147-${pkgname}-${pkgver}.tar.bz2)
md5sums=('a34e9d65984b90cd5597ab95532f2c4e')
build() {
cd $srcdir/${pkgname}-${pkgver}
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../ || return 1
make DESTDIR="$pkgdir/" install || return 1
}

13
colibri/colibri.install Normal file
View File

@ -0,0 +1,13 @@
post_install() {
echo ""
echo "Colibri notifications works ONLY with 4.4"
echo ""
echo "Enabling Colibri notifications can be a bit tricky:
- Right-click on the systemtray applet
- Select \"System Tray Settings\"
- Uncheck the \"Application notifications\" box"
}
post_upgrade() {
post_install $1
}

View File

@ -192,7 +192,7 @@ package_kdeadmin-lilo-config()
package_kdeadmin-system-config-printer()
{
pkgdesc="Printer configuration"
depends=("${_origname}-common>=${_kdever}" "system-config-printer" "kdemod-kdebindings-python")
depends=("${_origname}-common>=${_kdever}" "system-config-printer" "kdebindings-python")
conflicts=("kdemod-${_origname}-system-config-printer-kde")
groups=("kde-${_origname}" "kde-complete" "kde-uninstall")

411
koffice-l10n/PKGBUILD Normal file
View File

@ -0,0 +1,411 @@
#
# 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
pkgbase=koffice-l10n
pkgname=('koffice-l10n-ca'
'koffice-l10n-ca@valencia'
'koffice-l10n-da'
'koffice-l10n-de'
'koffice-l10n-el'
'koffice-l10n-en_gb'
'koffice-l10n-es'
'koffice-l10n-et'
# 'koffice-l10n-fr' # TODO: broken, needs compilation fix
'koffice-l10n-gl'
'koffice-l10n-it'
'koffice-l10n-ja'
'koffice-l10n-kk'
'koffice-l10n-nb'
'koffice-l10n-nds'
'koffice-l10n-nl'
'koffice-l10n-pl'
'koffice-l10n-pt'
'koffice-l10n-pt_br'
'koffice-l10n-sv'
'koffice-l10n-tr'
'koffice-l10n-uk'
'koffice-l10n-zh_cn'
'koffice-l10n-zh_tw')
pkgver=2.2.0
pkgrel=1
arch=('any')
url='http://www.koffice.org'
license=('GPL')
groups=('koffice-l10n')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdelibs')
options=('docs')
source=("http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-ca-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-ca@valencia-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-da-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-de-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-el-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-en_GB-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-es-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-et-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-fr-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-gl-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-it-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-ja-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-kk-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-nb-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-nds-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-nl-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-pl-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-pt-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-pt_BR-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-sv-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-tr-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-uk-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-zh_CN-${pkgver}.tar.bz2"
"http://download.kde.org/unstable/koffice-${pkgver}/koffice-l10n/${pkgbase}-zh_TW-${pkgver}.tar.bz2")
sha1sums=('bb9e4bf10f6331bb80eb61ad03129fa52370af5b'
'3a9a4e4044452e6d90a9e383c3111b566ff7626c'
'4828daa8e1b1e16a47223ead6e18a4d2ec4ed22a'
'eb81ff9c17f4ea2a622ad68700f2e8cff77480f8'
'fab553e0abd32ccafdb3fc690352b10b40839e5f'
'7d378651978ede8a31556801f4ab1c385cd626ec'
'b81baedb23eb734a3a057ddd85f1a1285ca2f101'
'9c8c0c935c0655ca2951dbe197e1144e42cf360e'
'1325233711e9b06363e6e6d80af2a0a99b8be747'
'db40e4eebf6e5c6965d018f068ffa38e661ad3cd'
'c29617af8f742c1e72438ce32bebfeda3c25b4fd'
'90dc239cd27a1eaec79eb285e5dc7b44c5df15f7'
'9c5db0b2a9fd674deb25dbdec38498e725b2e4c7'
'd01d06f9e2188cc50c7a1d8e40892d738ce85dd1'
'5e46dad0d52382fba363904a61cb9f97d3b48ac6'
'9958b86722bcd223c86d7bb661d37395ca557704'
'3e1890aac13519c5d20c251f8460fdb81c677241'
'4c17b7a62cdd53bf937b88f2ce04487db50b5842'
'96ac17c57ea3946bc6c01aeb2f91b2e2f98f5c98'
'e585846e54e51f7a9b9e5545f087cf929405d112'
'7b3018c3797086a01eac9f81d7f996d0c7b8afc6'
'c39c02cb01197350e4006eef3b2ff25b19c8645e'
'ae5715105c37918ac17cec90fd63f89f9789b594'
'648b250132d52966f8143beecd7cdbf525986f4d')
build() {
cd $srcdir
install -d build/ca
cd build/ca
cmake ${srcdir}/koffice-l10n-ca-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/ca@valencia
cd build/ca@valencia
cmake ${srcdir}/koffice-l10n-ca@valencia-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/da
cd build/da
cmake ${srcdir}/koffice-l10n-da-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/de
cd build/de
cmake ${srcdir}/koffice-l10n-de-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/el
cd build/el
cmake ${srcdir}/koffice-l10n-el-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/en_GB
cd build/en_GB
cmake ${srcdir}/koffice-l10n-en_GB-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/es
cd build/es
cmake ${srcdir}/koffice-l10n-es-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/et
cd build/et
cmake ${srcdir}/koffice-l10n-et-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
# install -d build/fr
# cd build/fr
# cmake ${srcdir}/koffice-l10n-fr-${pkgver} \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_INSTALL_PREFIX=/usr
# make || return 1
# cd ../..
install -d build/gl
cd build/gl
cmake ${srcdir}/koffice-l10n-gl-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/it
cd build/it
cmake ${srcdir}/koffice-l10n-it-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/ja
cd build/ja
cmake ${srcdir}/koffice-l10n-ja-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/kk
cd build/kk
cmake ${srcdir}/koffice-l10n-kk-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/nb
cd build/nb
cmake ${srcdir}/koffice-l10n-nb-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/nds
cd build/nds
cmake ${srcdir}/koffice-l10n-nds-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/nl
cd build/nl
cmake ${srcdir}/koffice-l10n-nl-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/pl
cd build/pl
cmake ${srcdir}/koffice-l10n-pl-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/pt
cd build/pt
cmake ${srcdir}/koffice-l10n-pt-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/pt_BR
cd build/pt_BR
cmake ${srcdir}/koffice-l10n-pt_BR-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/sv
cd build/sv
cmake ${srcdir}/koffice-l10n-sv-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/tr
cd build/tr
cmake ${srcdir}/koffice-l10n-tr-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/uk
cd build/uk
cmake ${srcdir}/koffice-l10n-uk-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/zh_CN
cd build/zh_CN
cmake ${srcdir}/koffice-l10n-zh_CN-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
install -d build/zh_TW
cd build/zh_TW
cmake ${srcdir}/koffice-l10n-zh_TW-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
cd ../..
}
package_koffice-l10n-ca() {
pkgdesc=('Catalan Localization for Koffice')
cd $srcdir/build/ca
make DESTDIR=$pkgdir install
}
package_koffice-l10n-ca@valencia() {
pkgdesc=('Catalan (Valencian) Localization for Koffice')
cd $srcdir/build/ca@valencia
make DESTDIR=$pkgdir install
}
package_koffice-l10n-da() {
pkgdesc=('Danish Localization for Koffice')
cd $srcdir/build/da
make DESTDIR=$pkgdir install
}
package_koffice-l10n-de() {
pkgdesc=('German Localization for Koffice')
cd $srcdir/build/de
make DESTDIR=$pkgdir install
}
package_koffice-l10n-el() {
pkgdesc=('Greek Localization for Koffice')
cd $srcdir/build/el
make DESTDIR=$pkgdir install
}
package_koffice-l10n-en_gb() {
pkgdesc=('British Localization for Koffice')
cd $srcdir/build/en_GB
make DESTDIR=$pkgdir install
}
package_koffice-l10n-es() {
pkgdesc=('Spanish Localization for Koffice')
cd $srcdir/build/es
make DESTDIR=$pkgdir install
}
package_koffice-l10n-et() {
pkgdesc=('Estonian Localization for Koffice')
cd $srcdir/build/et
make DESTDIR=$pkgdir install
}
#package_koffice-l10n-fr() {
# pkgdesc=('French Localization for Koffice')
# cd $srcdir/build/fr
# make DESTDIR=$pkgdir install
#}
package_koffice-l10n-gl() {
pkgdesc=('Galician Localization for Koffice')
cd $srcdir/build/gl
make DESTDIR=$pkgdir install
}
package_koffice-l10n-it() {
pkgdesc=('Italian Localization for Koffice')
cd $srcdir/build/it
make DESTDIR=$pkgdir install
}
package_koffice-l10n-ja() {
pkgdesc=('Japanese Localization for Koffice')
cd $srcdir/build/ja
make DESTDIR=$pkgdir install
}
package_koffice-l10n-kk() {
pkgdesc=('Kazakh Localization for Koffice')
cd $srcdir/build/kk
make DESTDIR=$pkgdir install
}
package_koffice-l10n-nb() {
pkgdesc=('Norwegian Bookmal Localization for Koffice')
cd $srcdir/build/nb
make DESTDIR=$pkgdir install
}
package_koffice-l10n-nds() {
pkgdesc=('Low Saxon Localization for Koffice')
cd $srcdir/build/nds
make DESTDIR=$pkgdir install
}
package_koffice-l10n-nl() {
pkgdesc=('Dutch Localization for Koffice')
cd $srcdir/build/nl
make DESTDIR=$pkgdir install
}
package_koffice-l10n-pl() {
pkgdesc=('Polish Localization for Koffice')
cd $srcdir/build/pl
make DESTDIR=$pkgdir install
}
package_koffice-l10n-pt() {
pkgdesc=('Portugese Localization for Koffice')
cd $srcdir/build/pt
make DESTDIR=$pkgdir install
}
package_koffice-l10n-pt_br() {
pkgdesc=('Brazilian Portugese Localization for Koffice')
cd $srcdir/build/pt_BR
make DESTDIR=$pkgdir install
}
package_koffice-l10n-sv() {
pkgdesc=('Swedish Localization for Koffice')
cd $srcdir/build/sv
make DESTDIR=$pkgdir install
}
package_koffice-l10n-tr() {
pkgdesc=('Turkish Localization for Koffice')
cd $srcdir/build/tr
make DESTDIR=$pkgdir install
}
package_koffice-l10n-uk() {
pkgdesc=('Ukrainian Localization for Koffice')
cd $srcdir/build/uk
make DESTDIR=$pkgdir install
}
package_koffice-l10n-zh_cn() {
pkgdesc=('Simplified Chinese Localization for Koffice')
cd $srcdir/build/zh_CN
make DESTDIR=$pkgdir install
}
package_koffice-l10n-zh_tw() {
pkgdesc=('Traditional Chinese Localization for Koffice')
cd $srcdir/build/zh_TW
make DESTDIR=$pkgdir install
}

169
koffice/PKGBUILD Normal file
View File

@ -0,0 +1,169 @@
#
# 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
pkgbase=koffice
pkgname=('koffice-common'
'koffice-kounavail'
'koffice-kspread'
'koffice-karbon'
'koffice-kexi'
'koffice-kplato'
'koffice-kword'
'koffice-kchart'
'koffice-kformula'
'koffice-kpresenter'
'koffice-krita'
'koffice-doc')
pkgver=2.2.0
pkgrel=1
arch=('i686' 'x86_64')
url='http://koffice.kde.org'
license=('GPL' 'LGPL' 'FDL')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'eigen' \
'kdelibs' 'gsl' 'qca' 'lcms' 'glew' 'qimageblitz' \
'kdepimlibs' 'pstoedit' 'wv2' 'poppler-qt' 'libwpd' 'openexr' 'kdegraphics-common' 'sqlite3') # 'opengtl'
groups=('koffice')
source=("http://download.kde.org/unstable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
sha1sums=('274623699eb666730a0c8d92f81fb99680217345')
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
# buildtime patch
# patch -Np0 -i ${srcdir}/libpng14.patch || return 1
# patch -Np0 -i ${srcdir}/koffice-gcc45.patch || return 1
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package_koffice-common(){
pkgdesc="Common files for the KDE office suite"
depends=('kdelibs' 'kdepimlibs' 'qca' 'lcms')
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
splitdirs="interfaces plugins servicetypes libs templates filters pics tools"
for i in ${splitdirs} ; do
cd ${srcdir}/build/${i}
make DESTDIR=${pkgdir} install || return 1
done
}
package_koffice-doc()
{
pkgdesc="Documentation for the KDE office suite"
depends=("${pkgbase}-common>=${pkgver}")
conflicts=("kdemod-${pkgbase}-doc")
groups=("kde-complete" "${pkgbase}" "kde-doc" "kde-uninstall")
splitdirs="karbon kchart kexi kformula koffice kpresenter kspread thesaurus"
for i in ${splitdirs} ; do
cd ${srcdir}/build/doc/${i}
make DESTDIR=${pkgdir} install || return 1
done
}
package_koffice-kexi(){
pkgdesc="Integrated data management application for the KDE office suite"
depends=('kdelibs' 'koffice-common' 'koffice-kspread' 'sqlite3')
cd ${srcdir}/build/kexi
make DESTDIR=${pkgdir} install
}
package_koffice-kounavail(){
pkgdesc="Kounavail for the KDE office suite"
depends=('kdelibs' 'koffice-common')
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
cd ${srcdir}/build/kounavail
make DESTDIR=${pkgdir} install
}
package_koffice-kspread(){
pkgdesc="Spreadsheet application for KDE"
depends=('hicolor-icon-theme' 'gsl' 'koffice-common' 'koffice-kchart')
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
install=koffice.install
cd ${srcdir}/build/kspread
make DESTDIR=${pkgdir} install
}
package_koffice-karbon(){
pkgdesc="Vector drawing application for KDE"
depends=('hicolor-icon-theme' 'koffice-common')
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
install=koffice.install
cd ${srcdir}/build/karbon
make DESTDIR=${pkgdir} install
}
package_koffice-kplato(){
pkgdesc="Project management application for KDE"
depends=('hicolor-icon-theme' 'koffice-common' 'kdepimlibs')
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
install=koffice.install
cd ${srcdir}/build/kplato
make DESTDIR=${pkgdir} install
}
package_koffice-kword(){
pkgdesc="Wordprocessor for KDE"
depends=('hicolor-icon-theme' 'koffice-common' 'koffice-kounavail')
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
install=koffice.install
cd ${srcdir}/build/kword
make DESTDIR=${pkgdir} install
}
package_koffice-kchart(){
pkgdesc="Charting tool for KDE"
depends=('hicolor-icon-theme' 'koffice-common')
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
install=koffice.install
cd ${srcdir}/build/kchart
make DESTDIR=${pkgdir} install
}
package_koffice-kformula(){
pkgdesc="Formula editor for KDE"
depends=('hicolor-icon-theme' 'koffice-common')
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
install=koffice.install
cd ${srcdir}/build/kformula
make DESTDIR=${pkgdir} install
# fix install
mkdir -p ${pkgdir}/usr/bin
cp -v kformula ${pkgdir}/usr/bin
}
package_koffice-kpresenter(){
pkgdesc="Presentation tool for KDE"
depends=('hicolor-icon-theme' 'koffice-common')
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
install=koffice.install
cd ${srcdir}/build/kpresenter
make DESTDIR=${pkgdir} install
}
package_koffice-krita(){
pkgdesc="Graphics editor for KDE"
depends=('hicolor-icon-theme' 'glew' 'qimageblitz' 'koffice-common' \
'poppler-qt' 'shared-mime-info' 'openexr') # 'opengtl'
groups=("kde-complete" "${pkgbase}" "kde-uninstall")
install=krita.install
cd ${srcdir}/build/krita
make DESTDIR=${pkgdir} install
}

11
koffice/koffice.install Normal file
View File

@ -0,0 +1,11 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

12
koffice/krita.install Normal file
View File

@ -0,0 +1,12 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

11
koffice/libpng14.patch Normal file
View File

@ -0,0 +1,11 @@
--- krita/ui/kis_png_converter.cpp.old 2010-01-20 17:48:11.890898029 +0100
+++ krita/ui/kis_png_converter.cpp 2010-01-20 17:50:13.477553307 +0100
@@ -404,7 +404,7 @@
png_byte signature[8];
iod->peek((char*)signature, 8);
- if (!png_check_sig(signature, 8)) {
+ if (!png_sig_cmp(signature, 0, 8) == 0) {
iod->close();
return (KisImageBuilder_RESULT_BAD_FETCH);
}

View File

@ -0,0 +1,35 @@
#
# Chakra 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=gluon
pkgver=0.70.0
pkgrel=1
pkgdesc="A high-level game development library for the KDE desktop enviornment."
arch=('i686' 'x86_64')
url="http://gluon.gamingfreedom.org/"
license=('GPL')
depends=('glew' 'kdelibs' 'libsndfile' 'openal')
makedepends=('git' 'eigen' 'cmake' 'automoc4')
provides=('gluon')
conflicts=('gluon')
source=("http://gluon.gamingfreedom.org/sites/default/files/gluon-$pkgver.tar.gz")
md5sums=('3f5b6eae22a5c4f41e574b5ef5c66a8e') # gluon-0.70.0.tar.gz
install=gluon.install
build() {
msg "Starting make..."
cd "$srcdir/$pkgname-$pkgname"
cmake -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/$pkgname-$pkgname"
make || return 1
make DESTDIR="$pkgdir/" install
}

View File

@ -0,0 +1,11 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

65
tools-akabeicore/PKGBUILD Normal file
View File

@ -0,0 +1,65 @@
#
# Chakra 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=akabeicore
pkgver=20100524
pkgrel=1
pkgdesc="Akabeis core library"
url="http://git.chakra-project.org/chakra/"
license="GPL"
arch=('i686' 'x86_64')
depends=('sqlite3' 'qt' 'libarchive')
makedepends=('cmake')
options=('!splithdr' 'splitdbg')
groups=('kde-uninstall')
_gitroot="git://git.chakra-project.org/akabei/akabeicore.git"
_gitname="akabeicore"
#
# build function
#
build()
{
cd "${srcdir}"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull
msg "The local files are updated."
else
git clone $_gitroot
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "${srcdir}/$_gitname-build"
cp -r "${srcdir}/$_gitname" "${srcdir}/$_gitname-build"
cd "${srcdir}/$_gitname-build/"
cmake . -DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' || return 1
msg "Starting make..."
make || return 1
msg "Make successful, installing..."
make DESTDIR=$startdir/pkg install || return 1
# remove nasty files
find $startdir/pkg/ -name ".git" -type d -exec rm -fr {} +
}

View File

@ -0,0 +1,102 @@
# - Try to find Polkit-qt
# Once done this will define
#
# POLKITQT_FOUND - system has Polkit-qt
# POLKITQT_INCLUDE_DIR - the Polkit-qt include directory
# POLKITQT_LIBRARIES - Link these to use all Polkit-qt libs
# POLKITQT_CORE_LIBRARY - Link this to use the polkit-qt-core library only
# POLKITQT_GUI_LIBRARY - Link this to use GUI elements in polkit-qt (polkit-qt-gui)
# POLKITQT_DEFINITIONS - Compiler switches required for using Polkit-qt
# POLKITQT_POLICY_FILES_INSTALL_DIR - The directory where policy files should be installed to.
#
# The minimum required version PolkitQt can be specified by setting the
# POLKITQT_MIN_VERSION variable.
# Copyright (c) 2009, Daniel Nicoletti, <dantti85-pk@yahoo.com.br>
# Copyright (c) 2009, Dario Freddi, <drf54321@gmail.com>
# Copyright (c) 2009, Michal Malek, <michalm@jabster.pl>
# Copyright (c) 2009, Alexander Neundorf, <neundorf@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if (POLKITQT_INCLUDE_DIR AND POLKITQT_GUI_LIBRARY AND POLKITQT_CORE_LIBRARY)
set(PolkitQt_FIND_QUIETLY TRUE)
endif (POLKITQT_INCLUDE_DIR AND POLKITQT_GUI_LIBRARY AND POLKITQT_CORE_LIBRARY)
if (NOT POLKITQT_MIN_VERSION)
set(POLKITQT_MIN_VERSION "0.9.3")
endif (NOT POLKITQT_MIN_VERSION)
if (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PC_POLKITQT QUIET polkit-qt)
set(POLKITQT_DEFINITIONS ${PC_POLKITQT_CFLAGS_OTHER})
endif (NOT WIN32)
find_path( POLKITQT_INCLUDE_DIR
NAMES polkit-qt/auth.h
PATH_SUFFIXES PolicyKit
)
find_file( POLKITQT_VERSION_FILE
polkit-qt/polkitqtversion.h
PATHS ${POLKITQT_INCLUDE_DIR}
)
set(POLKITQT_VERSION_OK TRUE)
if(POLKITQT_VERSION_FILE)
file(READ ${POLKITQT_VERSION_FILE} POLKITQT_VERSION_CONTENT)
string (REGEX MATCH "POLKITQT_VERSION_STRING \".*\"\n" POLKITQT_VERSION_MATCH "${POLKITQT_VERSION_CONTENT}")
if(POLKITQT_VERSION_MATCH)
string(REGEX REPLACE "POLKITQT_VERSION_STRING \"(.*)\"\n" "\\1" POLKITQT_VERSION ${POLKITQT_VERSION_MATCH})
if(POLKITQT_VERSION STRLESS "${POLKITQT_MIN_VERSION}")
set(POLKITQT_VERSION_OK FALSE)
if(PolkitQt_FIND_REQUIRED)
message(FATAL_ERROR "PolkitQt version ${POLKITQT_VERSION} was found, but it is too old. Please install ${POLKITQT_MIN_VERSION} or newer.")
else(PolkitQt_FIND_REQUIRED)
message(STATUS "PolkitQt version ${POLKITQT_VERSION} is too old. Please install ${POLKITQT_MIN_VERSION} or newer.")
endif(PolkitQt_FIND_REQUIRED)
endif(POLKITQT_VERSION STRLESS "${POLKITQT_MIN_VERSION}")
endif(POLKITQT_VERSION_MATCH)
elseif(POLKITQT_INCLUDE_DIR)
# The version is so old that it does not even have the file
set(POLKITQT_VERSION_OK FALSE)
if(PolkitQt_FIND_REQUIRED)
message(FATAL_ERROR "It looks like PolkitQt is too old. Please install PolkitQt version ${POLKITQT_MIN_VERSION} or newer.")
else(PolkitQt_FIND_REQUIRED)
message(STATUS "It looks like PolkitQt is too old. Please install PolkitQt version ${POLKITQT_MIN_VERSION} or newer.")
endif(PolkitQt_FIND_REQUIRED)
endif(POLKITQT_VERSION_FILE)
find_library( POLKITQT_CORE_LIBRARY
NAMES polkit-qt-core
HINTS ${PC_POLKITQT_LIBDIR}
)
find_library( POLKITQT_GUI_LIBRARY
NAMES polkit-qt-gui
HINTS ${PC_POLKITQT_LIBDIR}
)
set(POLKITQT_LIBRARIES ${POLKITQT_GUI_LIBRARY} ${POLKITQT_CORE_LIBRARY})
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set POLKITQT_FOUND to TRUE if
# all listed variables are TRUE
find_package_handle_standard_args(PolkitQt DEFAULT_MSG POLKITQT_INCLUDE_DIR POLKITQT_GUI_LIBRARY POLKITQT_CORE_LIBRARY POLKITQT_VERSION_OK)
mark_as_advanced(POLKITQT_INCLUDE_DIR POLKITQT_CORE_LIBRARY POLKITQT_GUI_LIBRARY POLKITQT_LIBRARIES POLKITQT_VERSION_OK)
if(POLKITQT_FOUND)
get_filename_component(_POLKITQT_INSTALL_PREFIX "${POLKITQT_CORE_LIBRARY}" PATH)
get_filename_component(_POLKITQT_INSTALL_PREFIX "${_POLKITQT_INSTALL_PREFIX}" PATH)
if ( NOT _POLKITQT_INSTALL_PREFIX STREQUAL CMAKE_INSTALL_PREFIX )
message("WARNING: Installation prefix does not match PolicyKit install prefixes. You probably will need to move files installed "
"in ${CMAKE_INSTALL_PREFIX}/${POLKITQT_POLICY_FILES_INSTALL_DIR} and by dbus_add_activation_system_service to the ${_POLKITQT_INSTALL_PREFIX}/${POLKITQT_POLICY_FILES_INSTALL_DIR} prefix")
endif (NOT _POLKITQT_INSTALL_PREFIX STREQUAL CMAKE_INSTALL_PREFIX)
endif(POLKITQT_FOUND)
set(POLKITQT_POLICY_FILES_INSTALL_DIR share/PolicyKit/policy/)

69
tools-aqpm2-git/PKGBUILD Normal file
View File

@ -0,0 +1,69 @@
#
# Chakra 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=aqpm2-git
pkgver=20100524
pkgrel=1
pkgdesc="Qt wrapper around pacman's libalpm"
arch=('i686' 'x86_64')
url="http://chakra-project.org/tools-shaman.html"
license=('GPL')
depends=('pacman>3.3' 'pacman<3.4' 'polkit-qt' 'qjson' 'kdelibs>=4.4.0')
makedepends=('cmake' 'automoc4')
options=('splitdbg' '!splithdr')
groups=('kde-uninstall')
conflicts=("aqpm" "kdemod-aqpm" "kdemod-playground-aqpm-git" "kdemod-aqpm-git")
provides=("aqpm2")
#source=('FindPolkitQt.cmake')
_gitroot="git://git.chakra-project.org/tools/aqpm.git"
_gitname="aqpm"
build() {
msg "Connecting to GIT server...."
[ -d $_gitname ] && {
cd $_gitname
git pull origin
cd ..
msg "Local files have been updated."
} || {
git clone $_gitroot
}
msg "GIT checkout done or server timeout"
rm -rf $_gitname-build
git clone $_gitname $_gitname-build
cd $_gitname-build
# FIXME polkitqt1 temp fix
# cp -fv ${srcdir}/FindPolkitQt.cmake ${srcdir}/$_gitname-build/cmake/modules/FindPolkitQt.cmake
# FIXME there is no examples folder
sed -i -e 's%add_subdirectory(examples)% %' ${srcdir}/$_gitname-build/libaqpm/CMakeLists.txt
msg "Starting make..."
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_AQPM_AUR=ON \
-DKDE4_INTEGRATION=ON \
-DCMAKE_BUILD_TYPE=${_build_type} || return 1
make || return 1
make DESTDIR=$pkgdir install
#install aursearcher
mkdir -p $pkgdir/usr/bin
cp -v libaqpmaur/example/aursearcher $pkgdir/usr/bin
}

View File

@ -14,7 +14,7 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=('networkmanagement')
arch=('i686' 'x86_64')
pkgver=1130651
pkgver=1131135
#pkgver=1030904 # stable snapshot
pkgrel=1
@ -45,7 +45,6 @@ cd "$srcdir"
msg "SVN checkout done or server timeout"
mkdir -p $srcdir/build
mkdir -p $srcdir/split
cd $srcdir/build
cmake ../networkmanagement -DCMAKE_INSTALL_PREFIX=${_installprefix} \
@ -58,6 +57,9 @@ cd "$srcdir"
make DESTDIR=${pkgdir} install || return 1
# remove knetworkmanager.desktop files
rm -vR ${pkgdir}/usr/share/applications
# workaround remove plasmoid files
#cd $srcdir/split
#rm -v usr/lib/kde4/plasma_applet_networkmanagement.so

View File

@ -0,0 +1,52 @@
#
# Chakra 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
# original name
_origname=shaman2
pkgname=${_origname}-svn
pkgver=1129707
pkgrel=1
pkgdesc="Pacman frontend based on kdelibs and libaqpm - SVN build"
url="http://chakra-project.org/tools-shaman.html"
license="GPL"
arch=('i686' 'x86_64')
depends=("aqpm2-git>=2010305" "kdelibs>=4.4.1" 'dbus')
makedepends=('subversion' 'cmake')
provides=('shaman2')
conflicts=('shaman' 'kdemod-shaman' 'kdemod-playground-shaman-git' 'kdemod-playground-shaman2-svn')
groups=('kde-uninstall')
source=()
md5sums=()
_svnmod="shaman"
_svntrunk="svn://anonsvn.kde.org/home/kde/trunk/playground/sysadmin/shaman"
build() {
cd $startdir/src
msg "Connecting to the SVN server...."
svn co $_svntrunk $_svnmod -r $pkgver
[ -d ./$_svnmod-build ] && rm -Rf ./$_svnmod-build
cp -r ./$_svnmod ./$_svnmod-build
cd ./$_svnmod-build
msg "SVN checkout done or server timeout"
msg "Starting cmake..."
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSHAMAN_BACKEND=AQPM || return 1
msg "Starting make..."
make || return 1
msg "Make successful, installing..."
make DESTDIR=${pkgdir} install || return 1
}

View File

@ -0,0 +1,67 @@
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
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
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
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 $*