[arch-commits] Commit in calligra/repos (34 files)

Antonio Rojas arojas at archlinux.org
Fri Jul 3 22:53:09 UTC 2015


    Date: Saturday, July 4, 2015 @ 00:53:09
  Author: arojas
Revision: 241787

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  calligra/repos/staging-i686/
  calligra/repos/staging-i686/PKGBUILD
    (from rev 241786, calligra/trunk/PKGBUILD)
  calligra/repos/staging-i686/calligra-braindump.install
    (from rev 241786, calligra/trunk/calligra-braindump.install)
  calligra/repos/staging-i686/calligra-extras.install
    (from rev 241786, calligra/trunk/calligra-extras.install)
  calligra/repos/staging-i686/calligra-filters.install
    (from rev 241786, calligra/trunk/calligra-filters.install)
  calligra/repos/staging-i686/calligra-flow.install
    (from rev 241786, calligra/trunk/calligra-flow.install)
  calligra/repos/staging-i686/calligra-gemini.install
    (from rev 241786, calligra/trunk/calligra-gemini.install)
  calligra/repos/staging-i686/calligra-karbon.install
    (from rev 241786, calligra/trunk/calligra-karbon.install)
  calligra/repos/staging-i686/calligra-kexi.install
    (from rev 241786, calligra/trunk/calligra-kexi.install)
  calligra/repos/staging-i686/calligra-krita.install
    (from rev 241786, calligra/trunk/calligra-krita.install)
  calligra/repos/staging-i686/calligra-plan.install
    (from rev 241786, calligra/trunk/calligra-plan.install)
  calligra/repos/staging-i686/calligra-plugins.install
    (from rev 241786, calligra/trunk/calligra-plugins.install)
  calligra/repos/staging-i686/calligra-sheets.install
    (from rev 241786, calligra/trunk/calligra-sheets.install)
  calligra/repos/staging-i686/calligra-stage.install
    (from rev 241786, calligra/trunk/calligra-stage.install)
  calligra/repos/staging-i686/calligra-words.install
    (from rev 241786, calligra/trunk/calligra-words.install)
  calligra/repos/staging-i686/calligra.install
    (from rev 241786, calligra/trunk/calligra.install)
  calligra/repos/staging-i686/libwps-0.4.patch
    (from rev 241786, calligra/trunk/libwps-0.4.patch)
  calligra/repos/staging-x86_64/
  calligra/repos/staging-x86_64/PKGBUILD
    (from rev 241786, calligra/trunk/PKGBUILD)
  calligra/repos/staging-x86_64/calligra-braindump.install
    (from rev 241786, calligra/trunk/calligra-braindump.install)
  calligra/repos/staging-x86_64/calligra-extras.install
    (from rev 241786, calligra/trunk/calligra-extras.install)
  calligra/repos/staging-x86_64/calligra-filters.install
    (from rev 241786, calligra/trunk/calligra-filters.install)
  calligra/repos/staging-x86_64/calligra-flow.install
    (from rev 241786, calligra/trunk/calligra-flow.install)
  calligra/repos/staging-x86_64/calligra-gemini.install
    (from rev 241786, calligra/trunk/calligra-gemini.install)
  calligra/repos/staging-x86_64/calligra-karbon.install
    (from rev 241786, calligra/trunk/calligra-karbon.install)
  calligra/repos/staging-x86_64/calligra-kexi.install
    (from rev 241786, calligra/trunk/calligra-kexi.install)
  calligra/repos/staging-x86_64/calligra-krita.install
    (from rev 241786, calligra/trunk/calligra-krita.install)
  calligra/repos/staging-x86_64/calligra-plan.install
    (from rev 241786, calligra/trunk/calligra-plan.install)
  calligra/repos/staging-x86_64/calligra-plugins.install
    (from rev 241786, calligra/trunk/calligra-plugins.install)
  calligra/repos/staging-x86_64/calligra-sheets.install
    (from rev 241786, calligra/trunk/calligra-sheets.install)
  calligra/repos/staging-x86_64/calligra-stage.install
    (from rev 241786, calligra/trunk/calligra-stage.install)
  calligra/repos/staging-x86_64/calligra-words.install
    (from rev 241786, calligra/trunk/calligra-words.install)
  calligra/repos/staging-x86_64/calligra.install
    (from rev 241786, calligra/trunk/calligra.install)
  calligra/repos/staging-x86_64/libwps-0.4.patch
    (from rev 241786, calligra/trunk/libwps-0.4.patch)

-------------------------------------------+
 staging-i686/PKGBUILD                     |  269 ++++++++++++++++++++++++++++
 staging-i686/calligra-braindump.install   |   12 +
 staging-i686/calligra-extras.install      |   11 +
 staging-i686/calligra-filters.install     |   12 +
 staging-i686/calligra-flow.install        |   12 +
 staging-i686/calligra-gemini.install      |   12 +
 staging-i686/calligra-karbon.install      |   12 +
 staging-i686/calligra-kexi.install        |   12 +
 staging-i686/calligra-krita.install       |   13 +
 staging-i686/calligra-plan.install        |   12 +
 staging-i686/calligra-plugins.install     |   11 +
 staging-i686/calligra-sheets.install      |   12 +
 staging-i686/calligra-stage.install       |   12 +
 staging-i686/calligra-words.install       |   12 +
 staging-i686/calligra.install             |   11 +
 staging-i686/libwps-0.4.patch             |   51 +++++
 staging-x86_64/PKGBUILD                   |  269 ++++++++++++++++++++++++++++
 staging-x86_64/calligra-braindump.install |   12 +
 staging-x86_64/calligra-extras.install    |   11 +
 staging-x86_64/calligra-filters.install   |   12 +
 staging-x86_64/calligra-flow.install      |   12 +
 staging-x86_64/calligra-gemini.install    |   12 +
 staging-x86_64/calligra-karbon.install    |   12 +
 staging-x86_64/calligra-kexi.install      |   12 +
 staging-x86_64/calligra-krita.install     |   13 +
 staging-x86_64/calligra-plan.install      |   12 +
 staging-x86_64/calligra-plugins.install   |   11 +
 staging-x86_64/calligra-sheets.install    |   12 +
 staging-x86_64/calligra-stage.install     |   12 +
 staging-x86_64/calligra-words.install     |   12 +
 staging-x86_64/calligra.install           |   11 +
 staging-x86_64/libwps-0.4.patch           |   51 +++++
 32 files changed, 972 insertions(+)

Copied: calligra/repos/staging-i686/PKGBUILD (from rev 241786, calligra/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,269 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+
+pkgbase=calligra
+pkgname=('calligra-braindump'
+         'calligra-devtools'
+         'calligra-extras'
+         'calligra-filters'
+         'calligra-flow'
+         'calligra-gemini'
+         'calligra-handbook'
+         'calligra-karbon'
+         'calligra-kexi'
+         'calligra-krita'
+         'calligra-libs'
+         'calligra-plan'
+         'calligra-plugins'
+         'calligra-sheets'
+         'calligra-stage'
+         'calligra-words')
+pkgver=2.9.5
+pkgrel=3
+arch=('i686' 'x86_64')
+url='http://www.calligra-suite.org/'
+license=('FDL1.2' 'GPL2' 'LGPL')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs' 'eigen' 'kdeedu-marble'
+             'lcms2' 'libmariadbclient' 'freetds' 'xbase' 'libwpg' 'opencolorio'
+             'libwps' 'gsl' 'glew' 'fftw' 'poppler-qt' 'libkdcraw' 'libodfgen'
+             'openjpeg' 'kdegraphics-okular' 'pstoedit' 'vc' 'libvisio'
+             'libetonyek' 'libpqxx' 'libspnav' 'postgresql') # 'libqgit2'
+groups=('calligra')
+source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.xz" 'libwps-0.4.patch')
+md5sums=('9469c373206ec0d98d80efe8d722930d'
+         '6ea15f8b3938838d89ea0aa08921afd1')
+
+prepare() {
+  mkdir -p build
+
+# Fix build against libwps 0.4
+  cd $pkgbase-$pkgver
+  patch -p1 -i "$srcdir"/libwps-0.4.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_active=OFF \
+    -DWITH_Soprano=OFF
+  make
+}
+
+package_calligra-filters() {
+  pkgdesc="Filters for the Calligra office suite"
+  depends=('libodfgen')
+  optdepends=('libwpg: Corel WordPerfect Graphics image importer'
+              'libwps: Microsoft Works file word processor format import'
+              'libvisio: Microsoft Visio import filter'
+              'libetonyek: Apple Keynote import filter')
+  conflicts=('koffice-filters')
+  replaces=('koffice-filters')
+  install=calligra-filters.install
+
+  cd build/filters
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-libs() {
+  pkgdesc="Libraries for the Calligra office suite"
+  depends=('kdepimlibs' 'kactivities' 'libkactivities4')
+  conflicts=('koffice-interfaces' 'koffice-libs' 'koffice-pics'
+             'koffice-servicetypes' 'calligra-interfaces'
+             'calligra-pics' 'calligra-servicetypes')
+  replaces=('koffice-interfaces' 'koffice-libs' 'koffice-pics'
+             'koffice-servicetypes' 'calligra-interfaces'
+             'calligra-pics' 'calligra-servicetypes')
+
+  for d in interfaces libs pics servicetypes; do
+    cd "${srcdir}"/build/${d}
+    make DESTDIR="${pkgdir}" install
+  done
+}
+
+package_calligra-plugins() {
+  pkgdesc="Plugins for the Calligra office suite"
+  depends=('calligra-libs' 'calligra-filters' 'libspnav')
+  optdepends=('kdeedu-marble: map shape for Calligra')
+  conflicts=('koffice-plugins' 'koffice-kchart')
+  replaces=('koffice-plugins' 'koffice-kchart' 'koffice-kformula')
+  install=calligra-plugins.install
+
+  cd build/plugins
+  make DESTDIR="${pkgdir}" install
+
+  cd ../3rdparty/kdchart
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-karbon() {
+  pkgdesc="Create scalable vector drawings"
+  depends=('calligra-libs' 'kdebase-runtime' 'pstoedit')
+  optdepends=('calligra-filters: import/export filters'
+              'calligra-extras: extra calligra tools')
+  conflicts=('koffice-karbon' 'koffice-karbon-doc' 'calligra-karbon-doc')
+  replaces=('koffice-karbon' 'koffice-karbon-doc' 'calligra-karbon-doc')
+  install=calligra-karbon.install
+
+  cd build/karbon
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-kexi() {
+  pkgdesc="Develop desktop database applications"
+  depends=('calligra-libs' 'glew' 'fftw')
+  optdepends=('libmariadbclient: MariaDB driver'
+              'libpqxx: PostgreSQL driver'
+              'freetds: Sybase & MS SQL driver'
+              'xbase: XBase driver'
+              'calligra-sheets: Spreadsheet-to-Kexi-table import plugin'
+              'kdeedu-marble: map form widget'
+              'calligra-plugins: extra calligra plugins')
+  conflicts=('koffice-kexi' 'koffice-kexi-doc' 'calligra-kexi-doc')
+  replaces=('koffice-kexi' 'koffice-kexi-doc' 'calligra-kexi-doc')
+  install=calligra-kexi.install
+
+  cd build/kexi
+  make DESTDIR="${pkgdir}" install
+  cd ../doc/kexi
+  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 build/plan
+  make DESTDIR="${pkgdir}" install
+
+  cd ../3rdparty/kdgantt
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-stage() {
+  pkgdesc="Write presentation documents"
+  depends=('calligra-plugins' 'kdebase-runtime')
+  conflicts=('koffice-kpresenter' 'koffice-kpresenter-doc' 'calligra-stage-doc')
+  replaces=('koffice-kpresenter' 'koffice-kpresenter-doc' 'calligra-stage-doc')
+  install=calligra-stage.install
+
+  cd build/stage
+  make DESTDIR="${pkgdir}" install
+  cd ../doc/stage
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-krita() {
+  pkgdesc="Edit and paint images"
+  depends=('calligra-plugins' 'kdebase-runtime' 'opencolorio' 'libkdcraw'
+           'fftw' 'glew' 'curl' 'gsl')
+  conflicts=('koffice-krita' 'calligra-krita-doc')
+  replaces=('koffice-krita' 'calligra-krita-doc')
+  install=calligra-krita.install
+
+  cd build/krita
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-sheets() {
+  pkgdesc="Write spreadsheet documents"
+  depends=('calligra-libs' 'gsl' 'kdebase-runtime')
+  optdepends=('calligra-filters: import/export filters'
+              'calligra-plugins: extra calligra plugins'
+              'calligra-extras: extra calligra tools')
+  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 build/sheets
+  make DESTDIR="${pkgdir}" install
+  cd ../doc/sheets
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-words() {
+  pkgdesc="Word Processor"
+  depends=('kdebase-runtime' 'calligra-plugins')
+  optdepends=('calligra-extras: extra calligra tools')
+  conflicts=('koffice-kword')
+  replaces=('koffice-kword')
+  install=calligra-words.install
+
+  cd build/words
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-handbook() {
+  pkgdesc="Documentation for Calligra"
+  conflicts=('koffice-handbook')
+  replaces=('koffice-handbook')
+  options=('docs')
+
+  cd build/doc/calligra
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-braindump() {
+  pkgdesc="Notes and idea gathering"
+  depends=('calligra-libs' 'kdebase-runtime')
+  install=calligra-braindump.install
+
+  cd build/braindump
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-flow() {
+  pkgdesc="Flowchart & Diagram Editing"
+  depends=('calligra-words')
+  optdepends=('calligra-karbon: to export the charts in various formats')
+  conflicts=('calligra-flow-doc')
+  replaces=('calligra-flow-doc')
+  install=calligra-flow.install
+
+  cd build/flow
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-extras() {
+  pkgdesc="Calligra suite extras"
+  depends=('calligra-libs')
+  optdepends=('kdegraphics-okular')
+  conflicts=('calligra-tools' 'koffice-templates' 'calligra-templats')
+  replaces=('calligra-tools' 'koffice-templates' 'calligra-templats')
+  install=calligra-extras.install
+
+  cd build/extras
+  make DESTDIR="${pkgdir}" install
+
+  cd ../data
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-devtools() {
+  pkgdesc="Calligra developer tools"
+  depends=('calligra-libs')
+
+  cd build/devtools
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-gemini() {
+  pkgdesc="QML interface for Calligra Words and Stage"
+  depends=('calligra-words' 'calligra-stage')
+#  optdepends=('libqgit2: GIT plugin')
+  install=calligra-gemini.install
+
+  cd build/qtquick
+  make DESTDIR="${pkgdir}" install
+  cd "${srcdir}"/build/gemini
+  make DESTDIR="${pkgdir}" install
+}
+
+

Copied: calligra/repos/staging-i686/calligra-braindump.install (from rev 241786, calligra/trunk/calligra-braindump.install)
===================================================================
--- staging-i686/calligra-braindump.install	                        (rev 0)
+++ staging-i686/calligra-braindump.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra-extras.install (from rev 241786, calligra/trunk/calligra-extras.install)
===================================================================
--- staging-i686/calligra-extras.install	                        (rev 0)
+++ staging-i686/calligra-extras.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,11 @@
+post_install() {
+	update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: calligra/repos/staging-i686/calligra-filters.install (from rev 241786, calligra/trunk/calligra-filters.install)
===================================================================
--- staging-i686/calligra-filters.install	                        (rev 0)
+++ staging-i686/calligra-filters.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,12 @@
+post_install() {
+  update-mime-database usr/share/mime &> /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: calligra/repos/staging-i686/calligra-flow.install (from rev 241786, calligra/trunk/calligra-flow.install)
===================================================================
--- staging-i686/calligra-flow.install	                        (rev 0)
+++ staging-i686/calligra-flow.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra-gemini.install (from rev 241786, calligra/trunk/calligra-gemini.install)
===================================================================
--- staging-i686/calligra-gemini.install	                        (rev 0)
+++ staging-i686/calligra-gemini.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra-karbon.install (from rev 241786, calligra/trunk/calligra-karbon.install)
===================================================================
--- staging-i686/calligra-karbon.install	                        (rev 0)
+++ staging-i686/calligra-karbon.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra-kexi.install (from rev 241786, calligra/trunk/calligra-kexi.install)
===================================================================
--- staging-i686/calligra-kexi.install	                        (rev 0)
+++ staging-i686/calligra-kexi.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,12 @@
+post_install() {
+	update-desktop-database -q
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: calligra/repos/staging-i686/calligra-krita.install (from rev 241786, calligra/trunk/calligra-krita.install)
===================================================================
--- staging-i686/calligra-krita.install	                        (rev 0)
+++ staging-i686/calligra-krita.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra-plan.install (from rev 241786, calligra/trunk/calligra-plan.install)
===================================================================
--- staging-i686/calligra-plan.install	                        (rev 0)
+++ staging-i686/calligra-plan.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra-plugins.install (from rev 241786, calligra/trunk/calligra-plugins.install)
===================================================================
--- staging-i686/calligra-plugins.install	                        (rev 0)
+++ staging-i686/calligra-plugins.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra-sheets.install (from rev 241786, calligra/trunk/calligra-sheets.install)
===================================================================
--- staging-i686/calligra-sheets.install	                        (rev 0)
+++ staging-i686/calligra-sheets.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra-stage.install (from rev 241786, calligra/trunk/calligra-stage.install)
===================================================================
--- staging-i686/calligra-stage.install	                        (rev 0)
+++ staging-i686/calligra-stage.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra-words.install (from rev 241786, calligra/trunk/calligra-words.install)
===================================================================
--- staging-i686/calligra-words.install	                        (rev 0)
+++ staging-i686/calligra-words.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/calligra.install (from rev 241786, calligra/trunk/calligra.install)
===================================================================
--- staging-i686/calligra.install	                        (rev 0)
+++ staging-i686/calligra.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-i686/libwps-0.4.patch (from rev 241786, calligra/trunk/libwps-0.4.patch)
===================================================================
--- staging-i686/libwps-0.4.patch	                        (rev 0)
+++ staging-i686/libwps-0.4.patch	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,51 @@
+From e81fe84405bc635dfa93e54fb8a3c8e6065dbf10 Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon at redhat.com>
+Date: Sat, 6 Jun 2015 18:27:24 +0200
+Subject: [PATCH] adapt to libwps 0.4
+
+---
+ cmake/modules/FindLibWps.cmake           | 6 +++---
+ filters/words/works/import/WPSImport.cpp | 4 +++-
+ 2 files changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/cmake/modules/FindLibWps.cmake b/cmake/modules/FindLibWps.cmake
+index f8c8225..58ef2b5 100644
+--- a/cmake/modules/FindLibWps.cmake
++++ b/cmake/modules/FindLibWps.cmake
+@@ -10,16 +10,16 @@
+ 
+ include(LibFindMacros)
+ libfind_package(LIBWPS LibWpd)
+-libfind_pkg_check_modules(LIBWPS_PKGCONF libwps-0.3)
++libfind_pkg_check_modules(LIBWPS_PKGCONF libwps-0.4)
+ 
+ find_path(LIBWPS_INCLUDE_DIR
+     NAMES libwps/libwps.h
+     HINTS ${LIBWPS_PKGCONF_INCLUDE_DIRS} ${LIBWPS_PKGCONF_INCLUDEDIR}
+-    PATH_SUFFIXES libwps-0.3
++    PATH_SUFFIXES libwps-0.4
+ )
+ 
+ find_library(LIBWPS_LIBRARY
+-    NAMES wps wps-0.3
++    NAMES wps wps-0.4
+     HINTS ${LIBWPS_PKGCONF_LIBRARY_DIRS} ${LIBWPS_PKGCONF_LIBDIR}
+ )
+ 
+diff --git a/filters/words/works/import/WPSImport.cpp b/filters/words/works/import/WPSImport.cpp
+index eea2cc9..94b859d 100644
+--- a/filters/words/works/import/WPSImport.cpp
++++ b/filters/words/works/import/WPSImport.cpp
+@@ -91,7 +91,9 @@ public:
+     bool isSupportedFormat(librevenge::RVNGInputStream &input)
+     {
+         WPSKind kind = WPS_TEXT;
+-        WPSConfidence confidence = WPSDocument::isFileFormatSupported(&input, kind);
++        WPSCreator creator = WPS_MSWORKS;
++        bool needsEncoding = false;
++        WPSConfidence confidence = WPSDocument::isFileFormatSupported(&input, kind, creator, needsEncoding);
+         if (confidence == WPS_CONFIDENCE_NONE || kind != WPS_TEXT)
+             return false;
+         return true;
+-- 
+2.4.2

Copied: calligra/repos/staging-x86_64/PKGBUILD (from rev 241786, calligra/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,269 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+
+pkgbase=calligra
+pkgname=('calligra-braindump'
+         'calligra-devtools'
+         'calligra-extras'
+         'calligra-filters'
+         'calligra-flow'
+         'calligra-gemini'
+         'calligra-handbook'
+         'calligra-karbon'
+         'calligra-kexi'
+         'calligra-krita'
+         'calligra-libs'
+         'calligra-plan'
+         'calligra-plugins'
+         'calligra-sheets'
+         'calligra-stage'
+         'calligra-words')
+pkgver=2.9.5
+pkgrel=3
+arch=('i686' 'x86_64')
+url='http://www.calligra-suite.org/'
+license=('FDL1.2' 'GPL2' 'LGPL')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs' 'eigen' 'kdeedu-marble'
+             'lcms2' 'libmariadbclient' 'freetds' 'xbase' 'libwpg' 'opencolorio'
+             'libwps' 'gsl' 'glew' 'fftw' 'poppler-qt' 'libkdcraw' 'libodfgen'
+             'openjpeg' 'kdegraphics-okular' 'pstoedit' 'vc' 'libvisio'
+             'libetonyek' 'libpqxx' 'libspnav' 'postgresql') # 'libqgit2'
+groups=('calligra')
+source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.xz" 'libwps-0.4.patch')
+md5sums=('9469c373206ec0d98d80efe8d722930d'
+         '6ea15f8b3938838d89ea0aa08921afd1')
+
+prepare() {
+  mkdir -p build
+
+# Fix build against libwps 0.4
+  cd $pkgbase-$pkgver
+  patch -p1 -i "$srcdir"/libwps-0.4.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_active=OFF \
+    -DWITH_Soprano=OFF
+  make
+}
+
+package_calligra-filters() {
+  pkgdesc="Filters for the Calligra office suite"
+  depends=('libodfgen')
+  optdepends=('libwpg: Corel WordPerfect Graphics image importer'
+              'libwps: Microsoft Works file word processor format import'
+              'libvisio: Microsoft Visio import filter'
+              'libetonyek: Apple Keynote import filter')
+  conflicts=('koffice-filters')
+  replaces=('koffice-filters')
+  install=calligra-filters.install
+
+  cd build/filters
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-libs() {
+  pkgdesc="Libraries for the Calligra office suite"
+  depends=('kdepimlibs' 'kactivities' 'libkactivities4')
+  conflicts=('koffice-interfaces' 'koffice-libs' 'koffice-pics'
+             'koffice-servicetypes' 'calligra-interfaces'
+             'calligra-pics' 'calligra-servicetypes')
+  replaces=('koffice-interfaces' 'koffice-libs' 'koffice-pics'
+             'koffice-servicetypes' 'calligra-interfaces'
+             'calligra-pics' 'calligra-servicetypes')
+
+  for d in interfaces libs pics servicetypes; do
+    cd "${srcdir}"/build/${d}
+    make DESTDIR="${pkgdir}" install
+  done
+}
+
+package_calligra-plugins() {
+  pkgdesc="Plugins for the Calligra office suite"
+  depends=('calligra-libs' 'calligra-filters' 'libspnav')
+  optdepends=('kdeedu-marble: map shape for Calligra')
+  conflicts=('koffice-plugins' 'koffice-kchart')
+  replaces=('koffice-plugins' 'koffice-kchart' 'koffice-kformula')
+  install=calligra-plugins.install
+
+  cd build/plugins
+  make DESTDIR="${pkgdir}" install
+
+  cd ../3rdparty/kdchart
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-karbon() {
+  pkgdesc="Create scalable vector drawings"
+  depends=('calligra-libs' 'kdebase-runtime' 'pstoedit')
+  optdepends=('calligra-filters: import/export filters'
+              'calligra-extras: extra calligra tools')
+  conflicts=('koffice-karbon' 'koffice-karbon-doc' 'calligra-karbon-doc')
+  replaces=('koffice-karbon' 'koffice-karbon-doc' 'calligra-karbon-doc')
+  install=calligra-karbon.install
+
+  cd build/karbon
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-kexi() {
+  pkgdesc="Develop desktop database applications"
+  depends=('calligra-libs' 'glew' 'fftw')
+  optdepends=('libmariadbclient: MariaDB driver'
+              'libpqxx: PostgreSQL driver'
+              'freetds: Sybase & MS SQL driver'
+              'xbase: XBase driver'
+              'calligra-sheets: Spreadsheet-to-Kexi-table import plugin'
+              'kdeedu-marble: map form widget'
+              'calligra-plugins: extra calligra plugins')
+  conflicts=('koffice-kexi' 'koffice-kexi-doc' 'calligra-kexi-doc')
+  replaces=('koffice-kexi' 'koffice-kexi-doc' 'calligra-kexi-doc')
+  install=calligra-kexi.install
+
+  cd build/kexi
+  make DESTDIR="${pkgdir}" install
+  cd ../doc/kexi
+  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 build/plan
+  make DESTDIR="${pkgdir}" install
+
+  cd ../3rdparty/kdgantt
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-stage() {
+  pkgdesc="Write presentation documents"
+  depends=('calligra-plugins' 'kdebase-runtime')
+  conflicts=('koffice-kpresenter' 'koffice-kpresenter-doc' 'calligra-stage-doc')
+  replaces=('koffice-kpresenter' 'koffice-kpresenter-doc' 'calligra-stage-doc')
+  install=calligra-stage.install
+
+  cd build/stage
+  make DESTDIR="${pkgdir}" install
+  cd ../doc/stage
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-krita() {
+  pkgdesc="Edit and paint images"
+  depends=('calligra-plugins' 'kdebase-runtime' 'opencolorio' 'libkdcraw'
+           'fftw' 'glew' 'curl' 'gsl')
+  conflicts=('koffice-krita' 'calligra-krita-doc')
+  replaces=('koffice-krita' 'calligra-krita-doc')
+  install=calligra-krita.install
+
+  cd build/krita
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-sheets() {
+  pkgdesc="Write spreadsheet documents"
+  depends=('calligra-libs' 'gsl' 'kdebase-runtime')
+  optdepends=('calligra-filters: import/export filters'
+              'calligra-plugins: extra calligra plugins'
+              'calligra-extras: extra calligra tools')
+  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 build/sheets
+  make DESTDIR="${pkgdir}" install
+  cd ../doc/sheets
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-words() {
+  pkgdesc="Word Processor"
+  depends=('kdebase-runtime' 'calligra-plugins')
+  optdepends=('calligra-extras: extra calligra tools')
+  conflicts=('koffice-kword')
+  replaces=('koffice-kword')
+  install=calligra-words.install
+
+  cd build/words
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-handbook() {
+  pkgdesc="Documentation for Calligra"
+  conflicts=('koffice-handbook')
+  replaces=('koffice-handbook')
+  options=('docs')
+
+  cd build/doc/calligra
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-braindump() {
+  pkgdesc="Notes and idea gathering"
+  depends=('calligra-libs' 'kdebase-runtime')
+  install=calligra-braindump.install
+
+  cd build/braindump
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-flow() {
+  pkgdesc="Flowchart & Diagram Editing"
+  depends=('calligra-words')
+  optdepends=('calligra-karbon: to export the charts in various formats')
+  conflicts=('calligra-flow-doc')
+  replaces=('calligra-flow-doc')
+  install=calligra-flow.install
+
+  cd build/flow
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-extras() {
+  pkgdesc="Calligra suite extras"
+  depends=('calligra-libs')
+  optdepends=('kdegraphics-okular')
+  conflicts=('calligra-tools' 'koffice-templates' 'calligra-templats')
+  replaces=('calligra-tools' 'koffice-templates' 'calligra-templats')
+  install=calligra-extras.install
+
+  cd build/extras
+  make DESTDIR="${pkgdir}" install
+
+  cd ../data
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-devtools() {
+  pkgdesc="Calligra developer tools"
+  depends=('calligra-libs')
+
+  cd build/devtools
+  make DESTDIR="${pkgdir}" install
+}
+
+package_calligra-gemini() {
+  pkgdesc="QML interface for Calligra Words and Stage"
+  depends=('calligra-words' 'calligra-stage')
+#  optdepends=('libqgit2: GIT plugin')
+  install=calligra-gemini.install
+
+  cd build/qtquick
+  make DESTDIR="${pkgdir}" install
+  cd "${srcdir}"/build/gemini
+  make DESTDIR="${pkgdir}" install
+}
+
+

Copied: calligra/repos/staging-x86_64/calligra-braindump.install (from rev 241786, calligra/trunk/calligra-braindump.install)
===================================================================
--- staging-x86_64/calligra-braindump.install	                        (rev 0)
+++ staging-x86_64/calligra-braindump.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra-extras.install (from rev 241786, calligra/trunk/calligra-extras.install)
===================================================================
--- staging-x86_64/calligra-extras.install	                        (rev 0)
+++ staging-x86_64/calligra-extras.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,11 @@
+post_install() {
+	update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: calligra/repos/staging-x86_64/calligra-filters.install (from rev 241786, calligra/trunk/calligra-filters.install)
===================================================================
--- staging-x86_64/calligra-filters.install	                        (rev 0)
+++ staging-x86_64/calligra-filters.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,12 @@
+post_install() {
+  update-mime-database usr/share/mime &> /dev/null
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: calligra/repos/staging-x86_64/calligra-flow.install (from rev 241786, calligra/trunk/calligra-flow.install)
===================================================================
--- staging-x86_64/calligra-flow.install	                        (rev 0)
+++ staging-x86_64/calligra-flow.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra-gemini.install (from rev 241786, calligra/trunk/calligra-gemini.install)
===================================================================
--- staging-x86_64/calligra-gemini.install	                        (rev 0)
+++ staging-x86_64/calligra-gemini.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra-karbon.install (from rev 241786, calligra/trunk/calligra-karbon.install)
===================================================================
--- staging-x86_64/calligra-karbon.install	                        (rev 0)
+++ staging-x86_64/calligra-karbon.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra-kexi.install (from rev 241786, calligra/trunk/calligra-kexi.install)
===================================================================
--- staging-x86_64/calligra-kexi.install	                        (rev 0)
+++ staging-x86_64/calligra-kexi.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,12 @@
+post_install() {
+	update-desktop-database -q
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: calligra/repos/staging-x86_64/calligra-krita.install (from rev 241786, calligra/trunk/calligra-krita.install)
===================================================================
--- staging-x86_64/calligra-krita.install	                        (rev 0)
+++ staging-x86_64/calligra-krita.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra-plan.install (from rev 241786, calligra/trunk/calligra-plan.install)
===================================================================
--- staging-x86_64/calligra-plan.install	                        (rev 0)
+++ staging-x86_64/calligra-plan.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra-plugins.install (from rev 241786, calligra/trunk/calligra-plugins.install)
===================================================================
--- staging-x86_64/calligra-plugins.install	                        (rev 0)
+++ staging-x86_64/calligra-plugins.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra-sheets.install (from rev 241786, calligra/trunk/calligra-sheets.install)
===================================================================
--- staging-x86_64/calligra-sheets.install	                        (rev 0)
+++ staging-x86_64/calligra-sheets.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra-stage.install (from rev 241786, calligra/trunk/calligra-stage.install)
===================================================================
--- staging-x86_64/calligra-stage.install	                        (rev 0)
+++ staging-x86_64/calligra-stage.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra-words.install (from rev 241786, calligra/trunk/calligra-words.install)
===================================================================
--- staging-x86_64/calligra-words.install	                        (rev 0)
+++ staging-x86_64/calligra-words.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/calligra.install (from rev 241786, calligra/trunk/calligra.install)
===================================================================
--- staging-x86_64/calligra.install	                        (rev 0)
+++ staging-x86_64/calligra.install	2015-07-03 22:53:09 UTC (rev 241787)
@@ -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/staging-x86_64/libwps-0.4.patch (from rev 241786, calligra/trunk/libwps-0.4.patch)
===================================================================
--- staging-x86_64/libwps-0.4.patch	                        (rev 0)
+++ staging-x86_64/libwps-0.4.patch	2015-07-03 22:53:09 UTC (rev 241787)
@@ -0,0 +1,51 @@
+From e81fe84405bc635dfa93e54fb8a3c8e6065dbf10 Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon at redhat.com>
+Date: Sat, 6 Jun 2015 18:27:24 +0200
+Subject: [PATCH] adapt to libwps 0.4
+
+---
+ cmake/modules/FindLibWps.cmake           | 6 +++---
+ filters/words/works/import/WPSImport.cpp | 4 +++-
+ 2 files changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/cmake/modules/FindLibWps.cmake b/cmake/modules/FindLibWps.cmake
+index f8c8225..58ef2b5 100644
+--- a/cmake/modules/FindLibWps.cmake
++++ b/cmake/modules/FindLibWps.cmake
+@@ -10,16 +10,16 @@
+ 
+ include(LibFindMacros)
+ libfind_package(LIBWPS LibWpd)
+-libfind_pkg_check_modules(LIBWPS_PKGCONF libwps-0.3)
++libfind_pkg_check_modules(LIBWPS_PKGCONF libwps-0.4)
+ 
+ find_path(LIBWPS_INCLUDE_DIR
+     NAMES libwps/libwps.h
+     HINTS ${LIBWPS_PKGCONF_INCLUDE_DIRS} ${LIBWPS_PKGCONF_INCLUDEDIR}
+-    PATH_SUFFIXES libwps-0.3
++    PATH_SUFFIXES libwps-0.4
+ )
+ 
+ find_library(LIBWPS_LIBRARY
+-    NAMES wps wps-0.3
++    NAMES wps wps-0.4
+     HINTS ${LIBWPS_PKGCONF_LIBRARY_DIRS} ${LIBWPS_PKGCONF_LIBDIR}
+ )
+ 
+diff --git a/filters/words/works/import/WPSImport.cpp b/filters/words/works/import/WPSImport.cpp
+index eea2cc9..94b859d 100644
+--- a/filters/words/works/import/WPSImport.cpp
++++ b/filters/words/works/import/WPSImport.cpp
+@@ -91,7 +91,9 @@ public:
+     bool isSupportedFormat(librevenge::RVNGInputStream &input)
+     {
+         WPSKind kind = WPS_TEXT;
+-        WPSConfidence confidence = WPSDocument::isFileFormatSupported(&input, kind);
++        WPSCreator creator = WPS_MSWORKS;
++        bool needsEncoding = false;
++        WPSConfidence confidence = WPSDocument::isFileFormatSupported(&input, kind, creator, needsEncoding);
+         if (confidence == WPS_CONFIDENCE_NONE || kind != WPS_TEXT)
+             return false;
+         return true;
+-- 
+2.4.2



More information about the arch-commits mailing list