Date: Saturday, April 14, 2012 @ 08:49:49 Author: andrea Revision: 156147
archrelease: copy trunk to testing-i686, testing-x86_64 Added: calligra/repos/testing-i686/ calligra/repos/testing-i686/PKGBUILD (from rev 156146, calligra/trunk/PKGBUILD) calligra/repos/testing-i686/calligra-braindump.install (from rev 156146, calligra/trunk/calligra-braindump.install) calligra/repos/testing-i686/calligra-filters.install (from rev 156146, calligra/trunk/calligra-filters.install) calligra/repos/testing-i686/calligra-flow.install (from rev 156146, calligra/trunk/calligra-flow.install) calligra/repos/testing-i686/calligra-karbon.install (from rev 156146, calligra/trunk/calligra-karbon.install) calligra/repos/testing-i686/calligra-kexi.install (from rev 156146, calligra/trunk/calligra-kexi.install) calligra/repos/testing-i686/calligra-krita.install (from rev 156146, calligra/trunk/calligra-krita.install) calligra/repos/testing-i686/calligra-plan.install (from rev 156146, calligra/trunk/calligra-plan.install) calligra/repos/testing-i686/calligra-sheets.install (from rev 156146, calligra/trunk/calligra-sheets.install) calligra/repos/testing-i686/calligra-stage.install (from rev 156146, calligra/trunk/calligra-stage.install) calligra/repos/testing-i686/calligra-tools.install (from rev 156146, calligra/trunk/calligra-tools.install) calligra/repos/testing-i686/calligra-words.install (from rev 156146, calligra/trunk/calligra-words.install) calligra/repos/testing-i686/calligra.install (from rev 156146, calligra/trunk/calligra.install) calligra/repos/testing-i686/do-not-build-hancomword.patch (from rev 156146, calligra/trunk/do-not-build-hancomword.patch) calligra/repos/testing-x86_64/ calligra/repos/testing-x86_64/PKGBUILD (from rev 156146, calligra/trunk/PKGBUILD) calligra/repos/testing-x86_64/calligra-braindump.install (from rev 156146, calligra/trunk/calligra-braindump.install) calligra/repos/testing-x86_64/calligra-filters.install (from rev 156146, calligra/trunk/calligra-filters.install) calligra/repos/testing-x86_64/calligra-flow.install (from rev 156146, calligra/trunk/calligra-flow.install) calligra/repos/testing-x86_64/calligra-karbon.install (from rev 156146, calligra/trunk/calligra-karbon.install) calligra/repos/testing-x86_64/calligra-kexi.install (from rev 156146, calligra/trunk/calligra-kexi.install) calligra/repos/testing-x86_64/calligra-krita.install (from rev 156146, calligra/trunk/calligra-krita.install) calligra/repos/testing-x86_64/calligra-plan.install (from rev 156146, calligra/trunk/calligra-plan.install) calligra/repos/testing-x86_64/calligra-sheets.install (from rev 156146, calligra/trunk/calligra-sheets.install) calligra/repos/testing-x86_64/calligra-stage.install (from rev 156146, calligra/trunk/calligra-stage.install) calligra/repos/testing-x86_64/calligra-tools.install (from rev 156146, calligra/trunk/calligra-tools.install) calligra/repos/testing-x86_64/calligra-words.install (from rev 156146, calligra/trunk/calligra-words.install) calligra/repos/testing-x86_64/calligra.install (from rev 156146, calligra/trunk/calligra.install) calligra/repos/testing-x86_64/do-not-build-hancomword.patch (from rev 156146, calligra/trunk/do-not-build-hancomword.patch) ----------------------------------------------+ testing-i686/PKGBUILD | 279 +++++++++++++++++++++++++ testing-i686/calligra-braindump.install | 12 + testing-i686/calligra-filters.install | 11 testing-i686/calligra-flow.install | 12 + testing-i686/calligra-karbon.install | 12 + testing-i686/calligra-kexi.install | 11 testing-i686/calligra-krita.install | 13 + testing-i686/calligra-plan.install | 12 + testing-i686/calligra-sheets.install | 12 + testing-i686/calligra-stage.install | 12 + testing-i686/calligra-tools.install | 12 + testing-i686/calligra-words.install | 12 + testing-i686/calligra.install | 11 testing-i686/do-not-build-hancomword.patch | 11 testing-x86_64/PKGBUILD | 279 +++++++++++++++++++++++++ testing-x86_64/calligra-braindump.install | 12 + testing-x86_64/calligra-filters.install | 11 testing-x86_64/calligra-flow.install | 12 + testing-x86_64/calligra-karbon.install | 12 + testing-x86_64/calligra-kexi.install | 11 testing-x86_64/calligra-krita.install | 13 + testing-x86_64/calligra-plan.install | 12 + testing-x86_64/calligra-sheets.install | 12 + testing-x86_64/calligra-stage.install | 12 + testing-x86_64/calligra-tools.install | 12 + testing-x86_64/calligra-words.install | 12 + testing-x86_64/calligra.install | 11 testing-x86_64/do-not-build-hancomword.patch | 11 28 files changed, 864 insertions(+) Copied: calligra/repos/testing-i686/PKGBUILD (from rev 156146, calligra/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,279 @@ +# $Id$ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgbase=calligra +pkgname=('calligra-filters' + 'calligra-interfaces' + 'calligra-libs' + 'calligra-plugins' + 'calligra-pics' + 'calligra-servicetypes' + 'calligra-templates' + 'calligra-tools' + 'calligra-karbon' + 'calligra-kexi' + 'calligra-kounavail' + 'calligra-plan' + 'calligra-stage' + 'calligra-krita' + 'calligra-sheets' + 'calligra-words' + 'calligra-handbook' + 'calligra-thesaurus-doc' + 'calligra-braindump' + 'calligra-flow') +pkgver=2.4.0 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.calligra-suite.org' +license=('FDL1.2' 'GPL2' 'LGPL') +makedepends=('kdepimlibs' 'eigen2' 'freetds' 'kdegraphics-okular' 'libgsf' + 'libwpd' 'libwpg' 'pstoedit' 'glew' 'gsl' 'cmake' 'automoc4' + 'boost' 'libkdcraw' 'libpqxx' 'fftw' 'opengtl' 'lcms2') +groups=('calligra') +source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2" + 'do-not-build-hancomword.patch') +md5sums=('a45b9141c6bb750569e8f6554197dd50' + 'cc1a5fba43426003909751035d093362') + +build() { + cd "${srcdir}"/${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/do-not-build-hancomword.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_active=OFF \ + -DBUILD_mobile=OFF \ + -DBUILD_mysql=OFF \ + -DKDCRAW_LOCAL_FOUND=/usr/lib/libkdcraw.so \ + -DWITH_Marble=OFF \ + -DIHAVEPATCHEDQT=1 + make +} + +package_calligra-filters() { + pkgdesc="Filters for the Calligra office suite" + optdepends=('libgsf: Microsoft Word document importer' + 'libwpd: WordPerfect document importer' + 'libwpg: Corel WordPerfect Graphics image importer' + 'pstoedit: Karbon EPS import filter' + 'libkdcraw: support for raw images') + conflicts=('koffice-filters') + replaces=('koffice-filters') + install=calligra-filters.install + + cd "${srcdir}"/build/filters + make DESTDIR="${pkgdir}" install +} + +package_calligra-interfaces() { + pkgdesc="Interfaces for the Calligra office suite" + depends=('calligra-libs') + conflicts=('koffice-interfaces') + replaces=('koffice-interfaces') + + cd "${srcdir}"/build/interfaces + make DESTDIR="${pkgdir}" install +} + +package_calligra-libs() { + pkgdesc="Libraries for the Calligra office suite" + depends=('kdepimlibs' 'lcms2' 'calligra-servicetypes') + conflicts=('koffice-libs') + replaces=('koffice-libs') + + cd "${srcdir}"/build/libs + make DESTDIR="${pkgdir}" install +} + +package_calligra-plugins() { + pkgdesc="Plugins for the Calligra office suite" + depends=('calligra-libs') + conflicts=('koffice-plugins' 'koffice-kchart') + replaces=('koffice-plugins' 'koffice-kchart') + + cd "${srcdir}"/build/plugins + make DESTDIR="${pkgdir}" install +} + +package_calligra-pics() { + pkgdesc="Icons for the Calligra office suite" + depends=('calligra-libs') + conflicts=('koffice-pics') + replaces=('koffice-pics') + install=calligra.install + + cd "${srcdir}"/build/pics + make DESTDIR="${pkgdir}" install +} + +package_calligra-servicetypes() { + pkgdesc="Servicetypes for the Calligra office suite" + conflicts=('koffice-servicetypes') + replaces=('koffice-servicetypes') + install=calligra.install + + cd "${srcdir}"/build/servicetypes + make DESTDIR="${pkgdir}" install +} + +package_calligra-templates() { + pkgdesc="Templates for the Calligra office suite" + conflicts=('koffice-templates') + replaces=('koffice-templates') + + cd "${srcdir}"/build/templates + make DESTDIR="${pkgdir}" install +} + +package_calligra-tools() { + pkgdesc="Tools for the Calligra office suite" + depends=('calligra-libs') + conflicts=('koffice-tools') + replaces=('koffice-tools') + install=calligra-tools.install + + cd "${srcdir}"/build/tools + make DESTDIR="${pkgdir}" install +} + +#### package common files done ##### + +#### package apps and their docs ##### + +package_calligra-karbon() { + pkgdesc="Create scalable vector drawings" + depends=('calligra-libs' 'calligra-templates') + conflicts=('koffice-karbon' 'koffice-karbon-doc' 'calligra-karbon-doc') + replaces=('koffice-karbon' 'koffice-karbon-doc' 'calligra-karbon-doc') + install=calligra-karbon.install + + cd "${srcdir}"/build/karbon + make DESTDIR="${pkgdir}" install +} + +package_calligra-kexi() { + pkgdesc="Develop desktop database applications" + depends=('calligra-libs' 'calligra-templates') + conflicts=('koffice-kexi' 'koffice-kexi-doc' 'calligra-kexi-doc') + replaces=('koffice-kexi' 'koffice-kexi-doc' 'calligra-kexi-doc') + install=calligra-kexi.install + + cd "${srcdir}"/build/kexi + make DESTDIR="${pkgdir}" install +} + +package_calligra-kounavail() { + pkgdesc="Unavailable Calligra Document" + depends=('calligra-libs') + conflicts=('koffice-kounavail') + replaces=('koffice-kounavail') + + cd "${srcdir}"/build/kounavail + make DESTDIR="${pkgdir}" install +} + +package_calligra-plan() { + pkgdesc="Calligra Project Management Component" + depends=('calligra-words') + conflicts=('koffice-kplato' 'calligra-kplato') + replaces=('koffice-kplato' 'calligra-kplato') + install=calligra-plan.install + + cd "${srcdir}"/build/plan + make DESTDIR="${pkgdir}" install +} + +package_calligra-stage() { + pkgdesc="Write presentation documents" + depends=('calligra-libs' 'calligra-templates') + optdepends=('calligra-filters: import/export filters') + conflicts=('koffice-kpresenter' 'koffice-kpresenter-doc' 'calligra-stage-doc') + replaces=('koffice-kpresenter' 'koffice-kpresenter-doc' 'calligra-stage-doc') + install=calligra-stage.install + + cd "${srcdir}"/build/stage + make DESTDIR="${pkgdir}" install +} + +package_calligra-krita() { + pkgdesc="Edit and paint images" + depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'glew' + 'qimageblitz' 'poppler-qt' 'openexr' 'opengtl') + optdepends=('calligra-filters: import/export filters') + conflicts=('koffice-krita' 'calligra-krita-doc') + replaces=('koffice-krita' 'calligra-krita-doc') + install=calligra-krita.install + + cd "${srcdir}"/build/krita + make DESTDIR="${pkgdir}" install +} + +package_calligra-sheets() { + pkgdesc="Write spreadsheet documents" + depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'gsl') + optdepends=('calligra-filters: import/export filters') + conflicts=('koffice-kspread' 'koffice-kspread-doc' 'calligra-tables-doc' 'calligra-tables') + replaces=('koffice-kspread' 'koffice-kspread-doc' 'calligra-tables-doc' 'calligra-tables') + install=calligra-sheets.install + + cd "${srcdir}"/build/sheets + make DESTDIR="${pkgdir}" install +} + +package_calligra-words() { + pkgdesc="Word Processor" + depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'calligra-pics' + 'calligra-kounavail' 'kdegraphics-okular') + optdepends=('calligra-filters: import/export filters') + conflicts=('koffice-kword') + replaces=('koffice-kword') + install=calligra-words.install + + cd "${srcdir}"/build/words + make DESTDIR="${pkgdir}" install +} + +package_calligra-handbook() { + pkgdesc="Documentation for Calligra" + conflicts=('koffice-handbook') + replaces=('koffice-handbook') + + cd "${srcdir}"/build/doc/calligra + make DESTDIR="${pkgdir}" install +} + +package_calligra-thesaurus-doc() { + pkgdesc="Documentation for Thesaurus" + conflicts=('koffice-thesaurus-doc') + replaces=('koffice-thesaurus-doc') + + cd "${srcdir}"/build/doc/thesaurus + make DESTDIR="${pkgdir}" install +} + +package_calligra-braindump() { + pkgdesc="Notes and idea gathering" + install=calligra-braindump.install + + cd "${srcdir}"/build/braindump + make DESTDIR="${pkgdir}" install +} + +package_calligra-flow() { + pkgdesc="Flowchart & Diagram Editing" + install=calligra-flow.install + conflicts=('calligra-flow-doc') + replaces=('calligra-flow-doc') + + cd "${srcdir}"/build/flow + make DESTDIR="${pkgdir}" install +} + +##### package apps done ##### Copied: calligra/repos/testing-i686/calligra-braindump.install (from rev 156146, calligra/trunk/calligra-braindump.install) =================================================================== --- testing-i686/calligra-braindump.install (rev 0) +++ testing-i686/calligra-braindump.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} \ No newline at end of file Copied: calligra/repos/testing-i686/calligra-filters.install (from rev 156146, calligra/trunk/calligra-filters.install) =================================================================== --- testing-i686/calligra-filters.install (rev 0) +++ testing-i686/calligra-filters.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,11 @@ +post_install() { + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: calligra/repos/testing-i686/calligra-flow.install (from rev 156146, calligra/trunk/calligra-flow.install) =================================================================== --- testing-i686/calligra-flow.install (rev 0) +++ testing-i686/calligra-flow.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-i686/calligra-karbon.install (from rev 156146, calligra/trunk/calligra-karbon.install) =================================================================== --- testing-i686/calligra-karbon.install (rev 0) +++ testing-i686/calligra-karbon.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} \ No newline at end of file Copied: calligra/repos/testing-i686/calligra-kexi.install (from rev 156146, calligra/trunk/calligra-kexi.install) =================================================================== --- testing-i686/calligra-kexi.install (rev 0) +++ testing-i686/calligra-kexi.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: calligra/repos/testing-i686/calligra-krita.install (from rev 156146, calligra/trunk/calligra-krita.install) =================================================================== --- testing-i686/calligra-krita.install (rev 0) +++ testing-i686/calligra-krita.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} \ No newline at end of file Copied: calligra/repos/testing-i686/calligra-plan.install (from rev 156146, calligra/trunk/calligra-plan.install) =================================================================== --- testing-i686/calligra-plan.install (rev 0) +++ testing-i686/calligra-plan.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} \ No newline at end of file Copied: calligra/repos/testing-i686/calligra-sheets.install (from rev 156146, calligra/trunk/calligra-sheets.install) =================================================================== --- testing-i686/calligra-sheets.install (rev 0) +++ testing-i686/calligra-sheets.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-i686/calligra-stage.install (from rev 156146, calligra/trunk/calligra-stage.install) =================================================================== --- testing-i686/calligra-stage.install (rev 0) +++ testing-i686/calligra-stage.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-i686/calligra-tools.install (from rev 156146, calligra/trunk/calligra-tools.install) =================================================================== --- testing-i686/calligra-tools.install (rev 0) +++ testing-i686/calligra-tools.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-i686/calligra-words.install (from rev 156146, calligra/trunk/calligra-words.install) =================================================================== --- testing-i686/calligra-words.install (rev 0) +++ testing-i686/calligra-words.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-i686/calligra.install (from rev 156146, calligra/trunk/calligra.install) =================================================================== --- testing-i686/calligra.install (rev 0) +++ testing-i686/calligra.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: calligra/repos/testing-i686/do-not-build-hancomword.patch (from rev 156146, calligra/trunk/do-not-build-hancomword.patch) =================================================================== --- testing-i686/do-not-build-hancomword.patch (rev 0) +++ testing-i686/do-not-build-hancomword.patch 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,11 @@ +--- a/filters/words/CMakeLists.txt ++++ b/filters/words/CMakeLists.txt +@@ -75,7 +75,6 @@ IF( NOT TINY ) + add_subdirectory( docbook ) + # add_subdirectory( html ) + add_subdirectory( kword1.3 ) +- add_subdirectory( hancomword ) + add_subdirectory( oowriter ) + add_subdirectory( palmdoc ) + add_subdirectory( wml ) + Copied: calligra/repos/testing-x86_64/PKGBUILD (from rev 156146, calligra/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,279 @@ +# $Id$ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgbase=calligra +pkgname=('calligra-filters' + 'calligra-interfaces' + 'calligra-libs' + 'calligra-plugins' + 'calligra-pics' + 'calligra-servicetypes' + 'calligra-templates' + 'calligra-tools' + 'calligra-karbon' + 'calligra-kexi' + 'calligra-kounavail' + 'calligra-plan' + 'calligra-stage' + 'calligra-krita' + 'calligra-sheets' + 'calligra-words' + 'calligra-handbook' + 'calligra-thesaurus-doc' + 'calligra-braindump' + 'calligra-flow') +pkgver=2.4.0 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.calligra-suite.org' +license=('FDL1.2' 'GPL2' 'LGPL') +makedepends=('kdepimlibs' 'eigen2' 'freetds' 'kdegraphics-okular' 'libgsf' + 'libwpd' 'libwpg' 'pstoedit' 'glew' 'gsl' 'cmake' 'automoc4' + 'boost' 'libkdcraw' 'libpqxx' 'fftw' 'opengtl' 'lcms2') +groups=('calligra') +source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2" + 'do-not-build-hancomword.patch') +md5sums=('a45b9141c6bb750569e8f6554197dd50' + 'cc1a5fba43426003909751035d093362') + +build() { + cd "${srcdir}"/${pkgbase}-${pkgver} + patch -p1 -i "${srcdir}"/do-not-build-hancomword.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_active=OFF \ + -DBUILD_mobile=OFF \ + -DBUILD_mysql=OFF \ + -DKDCRAW_LOCAL_FOUND=/usr/lib/libkdcraw.so \ + -DWITH_Marble=OFF \ + -DIHAVEPATCHEDQT=1 + make +} + +package_calligra-filters() { + pkgdesc="Filters for the Calligra office suite" + optdepends=('libgsf: Microsoft Word document importer' + 'libwpd: WordPerfect document importer' + 'libwpg: Corel WordPerfect Graphics image importer' + 'pstoedit: Karbon EPS import filter' + 'libkdcraw: support for raw images') + conflicts=('koffice-filters') + replaces=('koffice-filters') + install=calligra-filters.install + + cd "${srcdir}"/build/filters + make DESTDIR="${pkgdir}" install +} + +package_calligra-interfaces() { + pkgdesc="Interfaces for the Calligra office suite" + depends=('calligra-libs') + conflicts=('koffice-interfaces') + replaces=('koffice-interfaces') + + cd "${srcdir}"/build/interfaces + make DESTDIR="${pkgdir}" install +} + +package_calligra-libs() { + pkgdesc="Libraries for the Calligra office suite" + depends=('kdepimlibs' 'lcms2' 'calligra-servicetypes') + conflicts=('koffice-libs') + replaces=('koffice-libs') + + cd "${srcdir}"/build/libs + make DESTDIR="${pkgdir}" install +} + +package_calligra-plugins() { + pkgdesc="Plugins for the Calligra office suite" + depends=('calligra-libs') + conflicts=('koffice-plugins' 'koffice-kchart') + replaces=('koffice-plugins' 'koffice-kchart') + + cd "${srcdir}"/build/plugins + make DESTDIR="${pkgdir}" install +} + +package_calligra-pics() { + pkgdesc="Icons for the Calligra office suite" + depends=('calligra-libs') + conflicts=('koffice-pics') + replaces=('koffice-pics') + install=calligra.install + + cd "${srcdir}"/build/pics + make DESTDIR="${pkgdir}" install +} + +package_calligra-servicetypes() { + pkgdesc="Servicetypes for the Calligra office suite" + conflicts=('koffice-servicetypes') + replaces=('koffice-servicetypes') + install=calligra.install + + cd "${srcdir}"/build/servicetypes + make DESTDIR="${pkgdir}" install +} + +package_calligra-templates() { + pkgdesc="Templates for the Calligra office suite" + conflicts=('koffice-templates') + replaces=('koffice-templates') + + cd "${srcdir}"/build/templates + make DESTDIR="${pkgdir}" install +} + +package_calligra-tools() { + pkgdesc="Tools for the Calligra office suite" + depends=('calligra-libs') + conflicts=('koffice-tools') + replaces=('koffice-tools') + install=calligra-tools.install + + cd "${srcdir}"/build/tools + make DESTDIR="${pkgdir}" install +} + +#### package common files done ##### + +#### package apps and their docs ##### + +package_calligra-karbon() { + pkgdesc="Create scalable vector drawings" + depends=('calligra-libs' 'calligra-templates') + conflicts=('koffice-karbon' 'koffice-karbon-doc' 'calligra-karbon-doc') + replaces=('koffice-karbon' 'koffice-karbon-doc' 'calligra-karbon-doc') + install=calligra-karbon.install + + cd "${srcdir}"/build/karbon + make DESTDIR="${pkgdir}" install +} + +package_calligra-kexi() { + pkgdesc="Develop desktop database applications" + depends=('calligra-libs' 'calligra-templates') + conflicts=('koffice-kexi' 'koffice-kexi-doc' 'calligra-kexi-doc') + replaces=('koffice-kexi' 'koffice-kexi-doc' 'calligra-kexi-doc') + install=calligra-kexi.install + + cd "${srcdir}"/build/kexi + make DESTDIR="${pkgdir}" install +} + +package_calligra-kounavail() { + pkgdesc="Unavailable Calligra Document" + depends=('calligra-libs') + conflicts=('koffice-kounavail') + replaces=('koffice-kounavail') + + cd "${srcdir}"/build/kounavail + make DESTDIR="${pkgdir}" install +} + +package_calligra-plan() { + pkgdesc="Calligra Project Management Component" + depends=('calligra-words') + conflicts=('koffice-kplato' 'calligra-kplato') + replaces=('koffice-kplato' 'calligra-kplato') + install=calligra-plan.install + + cd "${srcdir}"/build/plan + make DESTDIR="${pkgdir}" install +} + +package_calligra-stage() { + pkgdesc="Write presentation documents" + depends=('calligra-libs' 'calligra-templates') + optdepends=('calligra-filters: import/export filters') + conflicts=('koffice-kpresenter' 'koffice-kpresenter-doc' 'calligra-stage-doc') + replaces=('koffice-kpresenter' 'koffice-kpresenter-doc' 'calligra-stage-doc') + install=calligra-stage.install + + cd "${srcdir}"/build/stage + make DESTDIR="${pkgdir}" install +} + +package_calligra-krita() { + pkgdesc="Edit and paint images" + depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'glew' + 'qimageblitz' 'poppler-qt' 'openexr' 'opengtl') + optdepends=('calligra-filters: import/export filters') + conflicts=('koffice-krita' 'calligra-krita-doc') + replaces=('koffice-krita' 'calligra-krita-doc') + install=calligra-krita.install + + cd "${srcdir}"/build/krita + make DESTDIR="${pkgdir}" install +} + +package_calligra-sheets() { + pkgdesc="Write spreadsheet documents" + depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'gsl') + optdepends=('calligra-filters: import/export filters') + conflicts=('koffice-kspread' 'koffice-kspread-doc' 'calligra-tables-doc' 'calligra-tables') + replaces=('koffice-kspread' 'koffice-kspread-doc' 'calligra-tables-doc' 'calligra-tables') + install=calligra-sheets.install + + cd "${srcdir}"/build/sheets + make DESTDIR="${pkgdir}" install +} + +package_calligra-words() { + pkgdesc="Word Processor" + depends=('calligra-libs' 'calligra-templates' 'calligra-plugins' 'calligra-pics' + 'calligra-kounavail' 'kdegraphics-okular') + optdepends=('calligra-filters: import/export filters') + conflicts=('koffice-kword') + replaces=('koffice-kword') + install=calligra-words.install + + cd "${srcdir}"/build/words + make DESTDIR="${pkgdir}" install +} + +package_calligra-handbook() { + pkgdesc="Documentation for Calligra" + conflicts=('koffice-handbook') + replaces=('koffice-handbook') + + cd "${srcdir}"/build/doc/calligra + make DESTDIR="${pkgdir}" install +} + +package_calligra-thesaurus-doc() { + pkgdesc="Documentation for Thesaurus" + conflicts=('koffice-thesaurus-doc') + replaces=('koffice-thesaurus-doc') + + cd "${srcdir}"/build/doc/thesaurus + make DESTDIR="${pkgdir}" install +} + +package_calligra-braindump() { + pkgdesc="Notes and idea gathering" + install=calligra-braindump.install + + cd "${srcdir}"/build/braindump + make DESTDIR="${pkgdir}" install +} + +package_calligra-flow() { + pkgdesc="Flowchart & Diagram Editing" + install=calligra-flow.install + conflicts=('calligra-flow-doc') + replaces=('calligra-flow-doc') + + cd "${srcdir}"/build/flow + make DESTDIR="${pkgdir}" install +} + +##### package apps done ##### Copied: calligra/repos/testing-x86_64/calligra-braindump.install (from rev 156146, calligra/trunk/calligra-braindump.install) =================================================================== --- testing-x86_64/calligra-braindump.install (rev 0) +++ testing-x86_64/calligra-braindump.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} \ No newline at end of file Copied: calligra/repos/testing-x86_64/calligra-filters.install (from rev 156146, calligra/trunk/calligra-filters.install) =================================================================== --- testing-x86_64/calligra-filters.install (rev 0) +++ testing-x86_64/calligra-filters.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,11 @@ +post_install() { + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: calligra/repos/testing-x86_64/calligra-flow.install (from rev 156146, calligra/trunk/calligra-flow.install) =================================================================== --- testing-x86_64/calligra-flow.install (rev 0) +++ testing-x86_64/calligra-flow.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-x86_64/calligra-karbon.install (from rev 156146, calligra/trunk/calligra-karbon.install) =================================================================== --- testing-x86_64/calligra-karbon.install (rev 0) +++ testing-x86_64/calligra-karbon.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} \ No newline at end of file Copied: calligra/repos/testing-x86_64/calligra-kexi.install (from rev 156146, calligra/trunk/calligra-kexi.install) =================================================================== --- testing-x86_64/calligra-kexi.install (rev 0) +++ testing-x86_64/calligra-kexi.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: calligra/repos/testing-x86_64/calligra-krita.install (from rev 156146, calligra/trunk/calligra-krita.install) =================================================================== --- testing-x86_64/calligra-krita.install (rev 0) +++ testing-x86_64/calligra-krita.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} \ No newline at end of file Copied: calligra/repos/testing-x86_64/calligra-plan.install (from rev 156146, calligra/trunk/calligra-plan.install) =================================================================== --- testing-x86_64/calligra-plan.install (rev 0) +++ testing-x86_64/calligra-plan.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} \ No newline at end of file Copied: calligra/repos/testing-x86_64/calligra-sheets.install (from rev 156146, calligra/trunk/calligra-sheets.install) =================================================================== --- testing-x86_64/calligra-sheets.install (rev 0) +++ testing-x86_64/calligra-sheets.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-x86_64/calligra-stage.install (from rev 156146, calligra/trunk/calligra-stage.install) =================================================================== --- testing-x86_64/calligra-stage.install (rev 0) +++ testing-x86_64/calligra-stage.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-x86_64/calligra-tools.install (from rev 156146, calligra/trunk/calligra-tools.install) =================================================================== --- testing-x86_64/calligra-tools.install (rev 0) +++ testing-x86_64/calligra-tools.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-x86_64/calligra-words.install (from rev 156146, calligra/trunk/calligra-words.install) =================================================================== --- testing-x86_64/calligra-words.install (rev 0) +++ testing-x86_64/calligra-words.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -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 +} Copied: calligra/repos/testing-x86_64/calligra.install (from rev 156146, calligra/trunk/calligra.install) =================================================================== --- testing-x86_64/calligra.install (rev 0) +++ testing-x86_64/calligra.install 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: calligra/repos/testing-x86_64/do-not-build-hancomword.patch (from rev 156146, calligra/trunk/do-not-build-hancomword.patch) =================================================================== --- testing-x86_64/do-not-build-hancomword.patch (rev 0) +++ testing-x86_64/do-not-build-hancomword.patch 2012-04-14 12:49:49 UTC (rev 156147) @@ -0,0 +1,11 @@ +--- a/filters/words/CMakeLists.txt ++++ b/filters/words/CMakeLists.txt +@@ -75,7 +75,6 @@ IF( NOT TINY ) + add_subdirectory( docbook ) + # add_subdirectory( html ) + add_subdirectory( kword1.3 ) +- add_subdirectory( hancomword ) + add_subdirectory( oowriter ) + add_subdirectory( palmdoc ) + add_subdirectory( wml ) +