Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

calligra :: 2.4.0-1

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
  • Loading branch information...
commit 13c65886e1cde9f74d854b4d8e24f533b58e8797 1 parent fbd1520
Ike Devolder BlackIkeEagle authored
281 testing/calligra/PKGBUILD
View
@@ -0,0 +1,281 @@
+# $Id: PKGBUILD 154086 2012-03-22 22:09:51Z andrea $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Maintainer: Andrea Scarpino <andrea@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"
+ 'calligra-2.4.0-rdf.patch'
+ 'calligra-2.3.87-gcc47.patch')
+md5sums=('a45b9141c6bb750569e8f6554197dd50'
+ '1848bb9c7a0cde9e866a2573bc07b22e'
+ 'f44756a8cdfe5e0021aa6d16c5039896')
+
+build() {
+ cd "$pkgbase-$pkgver"
+ patch -Np1 -i "$srcdir/calligra-2.4.0-rdf.patch"
+ patch -Np1 -i "$srcdir/calligra-2.3.87-gcc47.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 \
+ -DIHAVEPATCHEDQT=ON \
+ -DWITH_Marble=OFF
+ 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 #####
12 testing/calligra/calligra-2.3.87-gcc47.patch
View
@@ -0,0 +1,12 @@
+diff -up calligra-2.3.87/filters/words/hancomword/pole.cpp.gcc47 calligra-2.3.87/filters/words/hancomword/pole.cpp
+--- calligra-2.3.87/filters/words/hancomword/pole.cpp.gcc47 2012-01-28 01:04:47.000000000 -0600
++++ calligra-2.3.87/filters/words/hancomword/pole.cpp 2012-01-29 17:04:11.520633241 -0600
+@@ -866,7 +866,7 @@ void StorageIO::load()
+ unsigned char* buffer2 = new unsigned char[ bbat->blockSize ];
+ unsigned k = 109;
+ unsigned mblock = header->mbat_start;
+- for (unsigned r = 0; r < header->num_mbat; r++) {
++ for (unsigned rr = 0; rr < header->num_mbat; rr++) {
+ unsigned long r = loadBigBlock(mblock, buffer2, bbat->blockSize);
+ if (r != bbat->blockSize) {
+ delete[] buffer2;
181 testing/calligra/calligra-2.4.0-rdf.patch
View
@@ -0,0 +1,181 @@
+From c34af29f458a35b6cf0fbec8574425516be62859 Mon Sep 17 00:00:00 2001
+From: Boudewijn Rempt <boud@valdyas.org>
+Date: Sun, 8 Apr 2012 12:21:50 +0200
+Subject: [PATCH] Hide rdf in more places
+
+We shouldn't use KoDocumentRdf unless hedged with SHOULD_BUILD_RDF
+
+Ok to backport?
+---
+ libs/main/KoDocument.cpp | 2 +-
+ libs/main/KoDocument.h | 2 +-
+ libs/main/KoDocumentInfoDlg.cpp | 8 +++++---
+ libs/main/KoDocumentInfoDlg.h | 4 ++--
+ words/part/KWOdfLoader.cpp | 3 ++-
+ words/part/KWView.cpp | 6 +++---
+ words/part/dockers/KWRdfDocker.cpp | 6 +++---
+ 7 files changed, 17 insertions(+), 14 deletions(-)
+
+diff --git a/libs/main/KoDocument.cpp b/libs/main/KoDocument.cpp
+index 2fedde7..775c2c6 100644
+--- a/libs/main/KoDocument.cpp
++++ b/libs/main/KoDocument.cpp
+@@ -812,7 +812,7 @@ KoDocumentInfo *KoDocument::documentInfo() const
+ return d->docInfo;
+ }
+
+-KoDocumentRdf *KoDocument::documentRdf() const
++KoDocumentRdfBase *KoDocument::documentRdf() const
+ {
+ #ifdef SHOULD_BUILD_RDF
+ if (d->docRdf && d->docRdf->model()) {
+diff --git a/libs/main/KoDocument.h b/libs/main/KoDocument.h
+index d69e15c..7cc8cd5 100644
+--- a/libs/main/KoDocument.h
++++ b/libs/main/KoDocument.h
+@@ -595,7 +595,7 @@ public:
+ * the RDF system and needs full access to the KoDocumentRdf object.
+ * @see KoDocumentRdf
+ */
+- KoDocumentRdf *documentRdf() const;
++ KoDocumentRdfBase *documentRdf() const;
+
+ /**
+ * Replace the current rdf document with the given rdf document. The existing RDF document
+diff --git a/libs/main/KoDocumentInfoDlg.cpp b/libs/main/KoDocumentInfoDlg.cpp
+index 23ae08e..1781e34 100644
+--- a/libs/main/KoDocumentInfoDlg.cpp
++++ b/libs/main/KoDocumentInfoDlg.cpp
+@@ -26,8 +26,10 @@
+ #include "KoDocumentInfo.h"
+ #include "KoDocument.h"
+ #include "KoMainWindow.h"
++
+ #include "rdf/KoDocumentRdfEditWidgetBase.h"
+ #ifdef SHOULD_BUILD_RDF
++#include "rdf/KoDocumentRdf.h"
+ #include "rdf/KoDocumentRdfEditWidget.h"
+ #endif
+
+@@ -68,7 +70,7 @@ public:
+ QList<KPageWidgetItem*> m_pages;
+ Ui::KoDocumentInfoAboutWidget* m_aboutUi;
+ Ui::KoDocumentInfoAuthorWidget* m_authorUi;
+- KoDocumentRdf* m_rdf;
++ KoDocumentRdfBase* m_rdf;
+ #ifdef SHOULD_BUILD_RDF
+ KoDocumentRdfEditWidget* m_rdfEditWidget;
+ #else
+@@ -80,7 +82,7 @@ public:
+ };
+
+
+-KoDocumentInfoDlg::KoDocumentInfoDlg(QWidget* parent, KoDocumentInfo* docInfo, KoDocumentRdf* docRdf)
++KoDocumentInfoDlg::KoDocumentInfoDlg(QWidget* parent, KoDocumentInfo* docInfo, KoDocumentRdfBase* docRdf)
+ : KPageDialog(parent)
+ , d(new KoDocumentInfoDlgPrivate)
+ {
+@@ -136,7 +138,7 @@ KoDocumentInfoDlg::KoDocumentInfoDlg(QWidget* parent, KoDocumentInfo* docInfo, K
+ d->m_rdfEditWidget = 0;
+
+ #ifdef SHOULD_BUILD_RDF
+- d->m_rdfEditWidget = new KoDocumentRdfEditWidget(this, d->m_rdf);
++ d->m_rdfEditWidget = new KoDocumentRdfEditWidget(this, (KoDocumentRdf*)d->m_rdf);
+ page = new KPageWidgetItem(d->m_rdfEditWidget->widget(), i18n("Rdf"));
+ page->setHeader(i18n("Rdf"));
+ page->setIcon(KIcon("text-rdf"));
+diff --git a/libs/main/KoDocumentInfoDlg.h b/libs/main/KoDocumentInfoDlg.h
+index 9d3e6eb..733f126 100644
+--- a/libs/main/KoDocumentInfoDlg.h
++++ b/libs/main/KoDocumentInfoDlg.h
+@@ -24,7 +24,7 @@
+ #include <kpagedialog.h>
+
+ class KoDocumentInfo;
+-class KoDocumentRdf;
++class KoDocumentRdfBase;
+ class KPageWidgetItem;
+
+ /**
+@@ -55,7 +55,7 @@ public:
+ * @param parent a pointer to the parent widget
+ * @param docInfo a pointer to the shown KoDocumentInfo
+ */
+- KoDocumentInfoDlg(QWidget *parent, KoDocumentInfo* docInfo, KoDocumentRdf* docRdf = 0);
++ KoDocumentInfoDlg(QWidget *parent, KoDocumentInfo* docInfo, KoDocumentRdfBase* docRdf = 0);
+
+ /** The destructor */
+ virtual ~KoDocumentInfoDlg();
+diff --git a/words/part/KWOdfLoader.cpp b/words/part/KWOdfLoader.cpp
+index 9900102..238c7fe 100644
+--- a/words/part/KWOdfLoader.cpp
++++ b/words/part/KWOdfLoader.cpp
+@@ -46,8 +46,9 @@
+ #include <KoProgressUpdater.h>
+ #include <KoVariableManager.h>
+ #include <KoInlineTextObjectManager.h>
++#ifdef SHOULD_BUILD_RDF
+ #include <KoDocumentRdf.h>
+-
++#endif
+ // KDE + Qt includes
+ #include <QTextCursor>
+ #include <KDebug>
+diff --git a/words/part/KWView.cpp b/words/part/KWView.cpp
+index 0ac5285..53f7da5 100644
+--- a/words/part/KWView.cpp
++++ b/words/part/KWView.cpp
+@@ -163,7 +163,7 @@ KWView::KWView(const QString &viewMode, KWDocument *document, QWidget *parent)
+ connect(m_zoomController, SIGNAL(zoomChanged(KoZoomMode::Mode, qreal)), this, SLOT(zoomChanged(KoZoomMode::Mode, qreal)));
+
+ #ifdef SHOULD_BUILD_RDF
+- if (KoDocumentRdf *rdf = m_document->documentRdf()) {
++ if (KoDocumentRdf *rdf = dynamic_cast<KoDocumentRdf*>(m_document->documentRdf())) {
+ connect(rdf, SIGNAL(semanticObjectViewSiteUpdated(KoRdfSemanticItem*, const QString&)),
+ this, SLOT(semanticObjectViewSiteUpdated(KoRdfSemanticItem*, const QString&)));
+ }
+@@ -303,7 +303,7 @@ void KWView::setupActions()
+ action->setWhatsThis(i18n("Stylesheets are used to format contact, event, and location information which is stored in Rdf"));
+ connect(action, SIGNAL(triggered()), this, SLOT(editSemanticStylesheets()));
+
+- if (KoDocumentRdf* rdf = m_document->documentRdf()) {
++ if (KoDocumentRdf* rdf = dynamic_cast<KoDocumentRdf*>(m_document->documentRdf())) {
+ KAction* createRef = rdf->createInsertSemanticObjectReferenceAction(canvasBase());
+ actionCollection()->addAction("insert_semanticobject_ref", createRef);
+ KActionMenu *subMenu = new KActionMenu(i18n("Create"), this);
+@@ -708,7 +708,7 @@ void KWView::pageSettingsDialogFinished()
+ void KWView::editSemanticStylesheets()
+ {
+ #ifdef SHOULD_BUILD_RDF
+- if (KoDocumentRdf *rdf = m_document->documentRdf()) {
++ if (KoDocumentRdf *rdf = dynamic_cast<KoDocumentRdf*>(m_document->documentRdf())) {
+ KoSemanticStylesheetsEditor *dia = new KoSemanticStylesheetsEditor(this, rdf);
+ dia->show();
+ // TODO this leaks memory
+diff --git a/words/part/dockers/KWRdfDocker.cpp b/words/part/dockers/KWRdfDocker.cpp
+index 0fbf85b..969977b 100644
+--- a/words/part/dockers/KWRdfDocker.cpp
++++ b/words/part/dockers/KWRdfDocker.cpp
+@@ -93,8 +93,8 @@ void KWRdfDocker::setCanvas(KoCanvasBase *canvas)
+ }
+
+ m_document = newDoc;
+- widgetDocker.semanticView->setDocumentRdf(m_document->documentRdf());
+- connect(m_document->documentRdf(), SIGNAL(semanticObjectAdded(KoRdfSemanticItem*)),
++ widgetDocker.semanticView->setDocumentRdf(static_cast<KoDocumentRdf*>(m_document->documentRdf()));
++ connect(static_cast<KoDocumentRdf*>(m_document->documentRdf()), SIGNAL(semanticObjectAdded(KoRdfSemanticItem*)),
+ this, SLOT(semanticObjectAdded(KoRdfSemanticItem*)));
+ connect(m_document->documentRdf(), SIGNAL(semanticObjectUpdated(KoRdfSemanticItem*)),
+ this, SLOT(semanticObjectUpdated(KoRdfSemanticItem*)));
+@@ -168,7 +168,7 @@ void KWRdfDocker::updateData()
+
+ // TODO try to get rid of 'editor' here by remembering the position in the resourceChanged()
+ KoTextEditor *editor = KoTextEditor::getTextEditorFromCanvas(m_canvas);
+- KoDocumentRdf *rdf = m_document->documentRdf();
++ KoDocumentRdf *rdf = dynamic_cast<KoDocumentRdf*>(m_document->documentRdf());
+ if (editor && rdf)
+ {
+ //kDebug(30015) << "m_lastCursorPosition:" << m_lastCursorPosition;
+--
+1.7.9.2
+
12 testing/calligra/calligra-braindump.install
View
@@ -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
+}
11 testing/calligra/calligra-filters.install
View
@@ -0,0 +1,11 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
12 testing/calligra/calligra-flow.install
View
@@ -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
+}
12 testing/calligra/calligra-karbon.install
View
@@ -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
+}
11 testing/calligra/calligra-kexi.install
View
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
13 testing/calligra/calligra-krita.install
View
@@ -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
+}
12 testing/calligra/calligra-plan.install
View
@@ -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
+}
12 testing/calligra/calligra-sheets.install
View
@@ -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
+}
12 testing/calligra/calligra-stage.install
View
@@ -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
+}
12 testing/calligra/calligra-tools.install
View
@@ -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
+}
12 testing/calligra/calligra-words.install
View
@@ -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
+}
11 testing/calligra/calligra.install
View
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Please sign in to comment.
Something went wrong with that request. Please try again.