calligra: update to 3.1.0.

calligra-braindump: removed since unmaintained
calligra-flow: removed since not ported to qt5
[ci skip]
This commit is contained in:
John 2018-03-06 21:23:31 +01:00 committed by Enno Boland
parent 9bc9ca56f4
commit 601b5b9dee
8 changed files with 79 additions and 176 deletions

View file

@ -2212,50 +2212,37 @@ libcollectdclient.so.1 libcollectdclient-5.5.0_1
libpinktrace_0.9.so.9 pinktrace-0.9.1_1 libpinktrace_0.9.so.9 pinktrace-0.9.1_1
libsyd_1.0.so.0 sydbox-1.0.2_1 libsyd_1.0.so.0 sydbox-1.0.2_1
libcsync.so.0 csync-0.50.0_1 libcsync.so.0 csync-0.50.0_1
libcalligrasheetsodf.so.14 calligra-sheets-2.9.7_1 libcalligrasheetsodf.so.16 calligra-sheets-3.1.0_1
libkotext.so.14 calligra-libs-2.9.7_1 libkotext.so.16 calligra-libs-3.1.0_1
libkoodf.so.14 calligra-libs-2.9.7_1 libkoodf.so.16 calligra-libs-3.1.0_1
libkarbonui.so.14 calligra-karbon-2.9.7_1 libkarbonui.so.16 calligra-karbon-3.1.0_1
libkomain.so.14 calligra-libs-2.9.7_1 libkomain.so.16 calligra-libs-3.1.0_1
libkowidgets.so.14 calligra-libs-2.9.7_1 libkowidgets.so.16 calligra-libs-3.1.0_1
libflake.so.14 calligra-libs-2.9.7_1 libflake.so.16 calligra-libs-3.1.0_1
libcalligrasheetscommon.so.14 calligra-sheets-2.9.7_1 libcalligrasheetscommon.so.16 calligra-sheets-3.1.0_1
libkovectorimage.so.14 calligra-libs-2.9.7_1 libkovectorimage.so.16 calligra-libs-3.1.0_1
libwordsprivate.so.14 calligra-words-2.9.7_1 libwordsprivate.so.16 calligra-words-3.1.0_1
libkotextlayout.so.14 calligra-libs-2.9.7_1 libkotextlayout.so.16 calligra-libs-3.1.0_1
libkowidgetutils.so.14 calligra-libs-2.9.7_1 libkowidgetutils.so.16 calligra-libs-3.1.0_1
libkundo2.so.14 calligra-libs-2.9.7_1 libkundo2.so.16 calligra-libs-3.1.0_1
libkeximigrate.so.14 calligra-kexi-2.9.7_1 libpigmentcms.so.16 calligra-libs-3.1.0_1
libkexiutils.so.14 calligra-kexi-2.9.7_1 libbasicflakes.so.16 calligra-libs-3.1.0_1
libcalligradb.so.14 calligra-libs-2.9.7_1
libkoreport.so.14 calligra-libs-2.9.7_1
libpigmentcms.so.14 calligra-libs-2.9.7_1
libkoproperty.so.14 calligra-libs-2.9.7_1
libbasicflakes.so.14 calligra-libs-2.9.7_1
libarpack.so.2 arpack-ng-3.3.0_2 libarpack.so.2 arpack-ng-3.3.0_2
libkoplugin.so.14 calligra-libs-2.9.7_1 libkoplugin.so.16 calligra-libs-3.1.0_1
libkoversion.so.14 calligra-libs-2.9.7_1 libkoversion.so.16 calligra-libs-3.1.0_1
libkopageapp.so.14 calligra-libs-2.9.7_1 libkopageapp.so.16 calligra-libs-3.1.0_1
libkokross.so.14 calligra-libs-2.9.7_1 libkostore.so.16 calligra-libs-3.1.0_1
libkomsooxml.so.14 calligra-filters-2.9.7_1 libkomsooxml.so.16 calligra-filters-3.1.0_1
libkoodf2.so.14 calligra-filters-2.9.7_1 libkoodf2.so.16 calligra-filters-3.1.0_1
libkowv2.so.9 calligra-filters-2.9.7_1 libkowv2.so.9 calligra-filters-2.9.7_1
libRtfReader.so.14 calligra-filters-2.9.7_1 libRtfReader.so.16 calligra-filters-3.1.0_1
libkoodfreader.so.14 calligra-filters-2.9.7_1 libkoodfreader.so.16 calligra-filters-3.1.0_1
libkformula.so.14 calligra-plugins-2.9.7_1 libkoformula.so.16 calligra-plugins-3.1.0_1
libcalligrakdchart.so.14 calligra-plugins-2.9.7_1 libkarboncommon.so.16 calligra-karbon-3.1.0_1
libkarboncommon.so.14 calligra-karbon-2.9.7_1 libcalligrastageprivate.so.16 calligra-stage-3.1.0_1
libkformdesigner.so.14 calligra-kexi-2.9.7_1 libkookularGenerator_odt.so.16 calligra-extras-3.1.0_1
libkexiguiutils.so.14 calligra-kexi-2.9.7_1 libkookularGenerator_odp.so.16 calligra-extras-3.1.0_1
libkexidatatable.so.14 calligra-kexi-2.9.7_1 libgemini.so.16 calligra-gemini-3.1.0_1
libkexidataviewcommon.so.14 calligra-kexi-2.9.7_1
libkexiformutils.so.14 calligra-kexi-2.9.7_1
libkexidb.so.14 calligra-kexi-2.9.7_1
libkexirelationsview.so.14 calligra-kexi-2.9.7_1
libkexiextendedwidgets.so.14 calligra-kexi-2.9.7_1
libkexicore.so.14 calligra-kexi-2.9.7_1
libkeximain.so.14 calligra-kexi-2.9.7_1
libcalligrastageprivate.so.14 calligra-stage-2.9.7_1
libfts.so.0 musl-fts-1.2_2 libfts.so.0 musl-fts-1.2_2
libgavl.so.1 gavl-1.40_1 libgavl.so.1 gavl-1.40_1
libmxml.so.1 mxml-2.9_1 libmxml.so.1 mxml-2.9_1

View file

@ -1 +0,0 @@
calligra

View file

@ -1 +0,0 @@
calligra

View file

@ -1 +0,0 @@
calligra

View file

@ -1,52 +0,0 @@
From e81fe84405bc635dfa93e54fb8a3c8e6065dbf10 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@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 cmake/modules/FindLibWps.cmake cmake/modules/FindLibWps.cmake
index f8c8225..58ef2b5 100644
--- cmake/modules/FindLibWps.cmake
+++ 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 filters/words/works/import/WPSImport.cpp filters/words/works/import/WPSImport.cpp
index eea2cc9..94b859d 100644
--- filters/words/works/import/WPSImport.cpp
+++ 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

View file

@ -1,11 +0,0 @@
--- gemini/desktopviewproxy.cpp.orig 2016-02-02 19:53:13.000000000 +0000
+++ gemini/desktopviewproxy.cpp 2017-09-24 23:12:38.399797914 +0000
@@ -31,7 +31,7 @@
#include <krecentfilesaction.h>
#include <kactioncollection.h>
-#include <boost/config/posix_features.hpp>
+#include <boost/config.hpp>
#include <KConfigGroup>
#include <KoMainWindow.h>

View file

@ -1,34 +1,44 @@
# Template file for 'calligra' # Template file for 'calligra'
pkgname=calligra pkgname=calligra
version=2.9.11 version=3.1.0
revision=17 revision=1
build_style=cmake build_style=cmake
configure_args="-Wno-dev -DBUILD_active=OFF -DWITH_Soprano=OFF -DBUILD_krita=OFF" configure_args="-Wno-dev -DCALLIGRA_SHOULD_BUILD_UNMAINTAINED=ON"
hostmakedepends="automoc4 perl pkg-config eigen3.2" hostmakedepends="automoc4 perl pkg-config extra-cmake-modules"
short_desc="Illustration application" short_desc="Illustration application"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
makedepends="phonon-devel libpng-devel sqlite-devel boost-devel exiv2-devel makedepends="akonadi-contacts-devel akonadi5-devel ecm-devel eigen3.2
qt-webkit-devel kdelibs-devel libressl-devel lcms2-devel libwpd-devel exiv2-devel kactivities5-devel gsl-devel
libwpg-devel libwps-devel libodfgen-devel libvisio-devel libetonyek-devel kcmutils-devel kcontacts-devel kdelibs4support-devel kdiagram-devel
fontconfig-devel poppler-qt4-devel glew-devel fftw-devel libspnav-devel kholidays-devel khtml-devel knotifyconfig-devel kross-devel lcms2-devel
gsl-devel libokular-devel qca-devel kactivities-devel kdepimlibs-devel libetonyek-devel libgit2-devel libodfgen-devel libokular-devel
marble-devel libmysqlclient-devel postgresql-libs-devel freetds-devel" libopenexr-devel libspnav-devel libvisio-devel libwpg-devel libwps-devel
license="GPL-2" poppler-qt5-devel qca-qt5-devel threadweaver-devel marble5-devel"
license="GPL-2.0-or-later LGPL-2.0-or-later GFDL-1.2-or-later"
homepage="http://www.calligra-suite.org/" homepage="http://www.calligra-suite.org/"
distfiles="https://download.kde.org/Attic/calligra-2.9.11/calligra-2.9.11.tar.xz" distfiles="http://download.kde.org/stable/calligra/${version}/calligra-${version}.tar.xz"
checksum=b18d2d0f87bc92753ec8b1eb780a596770a49141e3e60d811da51e752e54ea09 checksum=6818cd6e64136321be217eb57cc7d6ac7c7035191fdb1ee336ebe60bc114e870
replaces="calligra-braindump>=0 calligra-flow>=0"
subpackages="calligra-filters calligra-libs calligra-plugins calligra-karbon subpackages="calligra-filters calligra-libs calligra-plugins calligra-karbon
calligra-kexi calligra-plan calligra-stage calligra-krita calligra-sheets calligra-kexi calligra-stage calligra-krita calligra-sheets calligra-extras
calligra-words calligra-handbook calligra-braindump calligra-flow calligra-words calligra-handbook calligra-gemini calligra-devtools"
calligra-extras calligra-devtools calligra-gemini" depends="${subpackages/calligra-devtools/} calligra-plan"
depends="${subpackages}"
CXXFLAGS="-D_DEFAULT_SOURCE" CXXFLAGS="-DKDE_NO_DEBUG_OUTPUT"
nocross=yes
case "$XBPS_TARGET_MACHINE" in # cmake doesn't detect the functions correctly
x86_64-musl) broken="not yet supported";; pre_build() {
esac case $XBPS_TARGET_MACHINE in
*-musl) cat >> build/filters/words/msword-odf/wv2/src/config.h <<_EOF
#define HAVE_FUNC_ISNAN 1
#define HAVE_FUNC_ISINF 1
#define HAVE_FUNC_ISFINITE 1
_EOF
;;
esac
}
do_install() { do_install() {
vdoc README vdoc README
@ -36,6 +46,7 @@ do_install() {
calligra-filters_package() { calligra-filters_package() {
short_desc+=" - filters" short_desc+=" - filters"
depends="pstoedit"
pkg_install() { pkg_install() {
cd ${wrksrc}/build/filters cd ${wrksrc}/build/filters
make DESTDIR=$PKGDESTDIR install make DESTDIR=$PKGDESTDIR install
@ -55,8 +66,6 @@ calligra-plugins_package() {
pkg_install() { pkg_install() {
cd ${wrksrc}/build/plugins cd ${wrksrc}/build/plugins
make DESTDIR=$PKGDESTDIR install make DESTDIR=$PKGDESTDIR install
cd ../3rdparty/kdchart
make DESTDIR=$PKGDESTDIR install
} }
} }
calligra-karbon_package() { calligra-karbon_package() {
@ -67,31 +76,17 @@ calligra-karbon_package() {
} }
} }
calligra-kexi_package() { calligra-kexi_package() {
short_desc+=" - Develop desktop db apps" build_style=meta
pkg_install() { depends="kexi>=${version}_${revision}"
cd ${wrksrc}/build/kexi short_desc+=" - Develop desktop db apps (transitional dummy package)"
make DESTDIR=$PKGDESTDIR install
cd ../doc/kexi
make DESTDIR=$PKGDESTDIR install
}
}
calligra-plan_package() {
short_desc+=" - Project Management Component"
depends="calligra-words-${version}_${revision}"
pkg_install() {
cd ${wrksrc}/build/plan
make DESTDIR=$PKGDESTDIR install
cd ../3rdparty/kdgantt
make DESTDIR=$PKGDESTDIR install
}
} }
calligra-stage_package() { calligra-stage_package() {
short_desc+=" - Write presentation documents" short_desc+=" - Write presentation documents"
pkg_install() { pkg_install() {
cd ${wrksrc}/build/stage cd ${wrksrc}/build/stage
make DESTDIR=$PKGDESTDIR install make DESTDIR=$PKGDESTDIR install
cd ../doc/stage #cd ../doc/stage
make DESTDIR=$PKGDESTDIR install #make DESTDIR=$PKGDESTDIR install
} }
} }
calligra-krita_package() { calligra-krita_package() {
@ -104,8 +99,8 @@ calligra-sheets_package() {
pkg_install() { pkg_install() {
cd ${wrksrc}/build/sheets cd ${wrksrc}/build/sheets
make DESTDIR=$PKGDESTDIR install make DESTDIR=$PKGDESTDIR install
cd ../doc/sheets #cd ../doc/sheets
make DESTDIR=$PKGDESTDIR install #make DESTDIR=$PKGDESTDIR install
} }
} }
calligra-words_package() { calligra-words_package() {
@ -116,34 +111,20 @@ calligra-words_package() {
} }
} }
calligra-handbook_package() { calligra-handbook_package() {
build_style=meta
noarch=yes noarch=yes
short_desc+=" - Documentation" short_desc+=" - Documentation (removed temporarily)"
pkg_install() { #pkg_install() {
cd ${wrksrc}/build/doc/calligra # cd ${wrksrc}/build/doc/calligra
make DESTDIR=$PKGDESTDIR install # make DESTDIR=$PKGDESTDIR install
} #}
}
calligra-braindump_package() {
short_desc+=" - Notes & idea gathering"
pkg_install() {
cd ${wrksrc}/build/braindump
make DESTDIR=$PKGDESTDIR install
}
}
calligra-flow_package() {
depends="calligra-plugins"
short_desc+=" - Flowchart & Diagram Editing"
pkg_install() {
cd ${wrksrc}/build/flow
make DESTDIR=$PKGDESTDIR install
}
} }
calligra-extras_package() { calligra-extras_package() {
short_desc+=" - Extras" short_desc+=" - Extras"
pkg_install() { pkg_install() {
cd ${wrksrc}/build/extras cd ${wrksrc}/build/extras
make DESTDIR=$PKGDESTDIR install make DESTDIR=$PKGDESTDIR install
cd ../data cd ${wrksrc}/build/data
make DESTDIR=$PKGDESTDIR install make DESTDIR=$PKGDESTDIR install
} }
} }
@ -156,8 +137,9 @@ calligra-devtools_package() {
} }
calligra-gemini_package() { calligra-gemini_package() {
short_desc+=" - QML interface for Calligra Words and Stage" short_desc+=" - QML interface for Calligra Words and Stage"
depends="qt5-quickcontrols kirigami2 qt5-webengine"
pkg_install() { pkg_install() {
cd ${wrksrc}/build/qtquick cd ${wrksrc}/build/components
make DESTDIR=$PKGDESTDIR install make DESTDIR=$PKGDESTDIR install
cd ${wrksrc}/build/gemini cd ${wrksrc}/build/gemini
make DESTDIR=$PKGDESTDIR install make DESTDIR=$PKGDESTDIR install

View file

@ -1 +1 @@
site="https://download.kde.org/stable/calligra-latest/" site="https://download.kde.org/stable/calligra/"