summaryrefslogtreecommitdiff
path: root/app-office/calligra
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-22 10:09:44 +0000
commit09351e78166b5e864197c4456ebae3f89dd0bed9 (patch)
tree41a96399f56ed3aa399006871bfce4430db84aa2 /app-office/calligra
parentc8a77dfe4d3d307c1d5dd2650b7297447d8b609d (diff)
gentoo resync : 22.01.2019
Diffstat (limited to 'app-office/calligra')
-rw-r--r--app-office/calligra/Manifest5
-rw-r--r--app-office/calligra/calligra-3.1.0-r2.ebuild239
-rw-r--r--app-office/calligra/calligra-3.1.0-r3.ebuild3
-rw-r--r--app-office/calligra/files/calligra-3.1.0-poppler-0.73.patch35
4 files changed, 39 insertions, 243 deletions
diff --git a/app-office/calligra/Manifest b/app-office/calligra/Manifest
index dc6cc9666e60..f0e7ba263025 100644
--- a/app-office/calligra/Manifest
+++ b/app-office/calligra/Manifest
@@ -5,10 +5,9 @@ AUX calligra-3.1.0-plan-qt-5.11.patch 3818 BLAKE2B 1a1f619a491cbc3440ec8db091a1a
AUX calligra-3.1.0-poppler-0.69.patch 2963 BLAKE2B 8fac1f298d414ac52073dfdb645d00eab1f2c71f876eea08feb8d9057f33b3ff5dbf69abe10984aa15717ef505522b07153341e846ace24a5f80f175dfed4600 SHA512 b408f1333af40c7270a2f14fa5f9069ec16baeceac7e2b91be2e9759d095d6df92a16b33e0b7c6897dbb15f01ae789436f8864cd1dd38ff009c1a77501e32083
AUX calligra-3.1.0-poppler-0.71.patch 6868 BLAKE2B 3787bcc3564598450ec14b9bd4e63559af6ebd3a92f9c80560812f7b9a8f94681987ca6dfa49faee7ed3985d09a7f49d2a2499f9c6acfb5a96a0f8c86d7b8484 SHA512 1376ac7940e6ca0e9615445dc9c16f5ff75db547944dc8a5006520ff30b9d34eced1e5fa679a82535ceb581ae96352d1b6c039b54038290973f456de4d792917
AUX calligra-3.1.0-poppler-0.72.patch 2053 BLAKE2B 1a69315b986aeb2464a57c5fdb63e2d0c33cb256be64c868af666169ab693109c45ad0ed15f35639020e2e1eb707592694b07896dced4f364e0cff817ce3190a SHA512 216eb134eb24f10492581a30dacd7e7b8259cdac3d6f21423cc773b1752a8464eabb15c6263c5bbe4e8e741cf1e02db07e854b4f2113399773ad6c56025fe1b9
+AUX calligra-3.1.0-poppler-0.73.patch 1342 BLAKE2B e36495c1f1f6c546666f30473fea46dfbdf47906ee61c2fed325a27117c14d3899703c6ca4667b3185ab9cacf3a5aa79a0c829777100d3088711f8fa359f5752 SHA512 ef5710d4f7fcc8015ce725b6f2f26ae1a8cd9bfe2e857633662696453104661f154309f0d0cc5e30b15b868bb43549d5ab8f81ee4cde31f0465cf795d453d233
AUX calligra-3.1.0-qt-5.11.patch 3537 BLAKE2B 25aa9f832eb49876e0ee28d3af945658f9e93610fa894cb73dc274083febf5d62c97de427c10277f07aa7ef8054f4e0c811c70d4b0c4068cd018a3475c9a7e80 SHA512 f895ee2b9999ab4ff6dae523e4f4ea6f72bd05a8f8163a33f05401b63c08cc3c987a1207d1008ae808db0564c0036194e3d6ab5806c681b793c5191f9e585a7e
AUX calligra-3.1.0-stage-qt-5.11.patch 656 BLAKE2B 1a4d8f005fd03395617ba0b225302e40b4aaf75c2a838a3009a3b3b6df7e75afdc798f27f08e76b7ad0ea60766612912d06eebe87c209ad9cab45db4bb3ccf54 SHA512 685bfca658404dc9920c805b97832b0a481a0ec0614bf142978c4ae03329e5e93b28d5af09d021b53c6d7a1316404f87612ab316f6a47c3f174572b50c65989b
DIST calligra-3.1.0.tar.xz 58037392 BLAKE2B b933012fe0031f4d6eac626054e7fb248f85635e5873224328d30f9aed31dce0a0a49f99cf6eea9c232477400af1d16ffc4dae483cdfd5081720434e95684e50 SHA512 ad1b689a5b36deafcf6985d4a0a1e8148d10e19fb4a0be8343c6e1d24146b9a8ffa0890ab5bbb21816b3134d21150b57f6159db1a30cc54c0fde5bf7bdf4537b
-DIST calligraplan-3.1.0.tar.xz 3617600 BLAKE2B af45aa28529c18c9fa9fae2b7c03ea1b795d3fec3fd44dbcc4ed056a4b1b843b10cb8a9ad6dab319775a7d7032520721a4719605859dd60100a19eafdcb621ed SHA512 a8ccc6ee2f0381b811926a296122464bdb79aad7c75ff0f7a554e4596165ff7fd7ef62c9af9232ea36542d6b538446c8920fe77cbbe7ffacdf6e6b99a1b68156
-EBUILD calligra-3.1.0-r2.ebuild 6841 BLAKE2B 08d6ba5579bec64f7fe865ecd47678cec0d85829063f4e8578792bf79a5a288943a6bd42fead2a557c8dc594676a8c04afe07f75762b40bc6de12957a9b3072b SHA512 1e0fdf8cc1a2b75320671be47eea2982aefaf108d158fa998d1b1a3a07e1e3332bd671075df281aa0ae34eb22fd2bc8c55f591f49fc7dec3f8b78b58555273f1
-EBUILD calligra-3.1.0-r3.ebuild 5738 BLAKE2B f4d518cd1d7556ea5685681e74da885baf760613a1ceb0f281d61402b3134537ae78938fa5fbb91e27c60404e0ca5f1cadee6d90a98ff69b61df46bfabd08308 SHA512 e3e4bd0fb709f2affe5a0f3433a67c17a606f365c39ae792cd98eb2facf68489ed4b8f53c78e87d500a7b3dce67ab3c6178b639a5d7e4ce839e5f2d927655386
+EBUILD calligra-3.1.0-r3.ebuild 5775 BLAKE2B 50f09e292397a68ccea880521cff3c8521e5da05617b6b465b23289cc7c10c5dfb756dc3cc1c881e24cfbf99885e893c8cdc3760c138539ebaa54fe469b69083 SHA512 73e72d5e9cfadd295113cb3c79bc9f29b8c33a5bc565528f8d3c21384b1ae5b93637a5c6e6dafcb57545660e2a93f218099533da2f8644ab6d11f639541f89d0
MISC metadata.xml 1108 BLAKE2B 266bc6539219906527f6e8692cfac1a4c894164466e01bd3ddc290ed665d19af6419ae1a8939002a4ccc719826def4038264ecdd65fca3aef8627106114c804b SHA512 61655e86072fdb828475b721492c3029b834931126af3cd015b2de87f3e7d56a866707d04b04dc36319f45f77fe5f3b650131c1e82a4e65d094288d8effe1893
diff --git a/app-office/calligra/calligra-3.1.0-r2.ebuild b/app-office/calligra/calligra-3.1.0-r2.ebuild
deleted file mode 100644
index e2a76aa73c6f..000000000000
--- a/app-office/calligra/calligra-3.1.0-r2.ebuild
+++ /dev/null
@@ -1,239 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CHECKREQS_DISK_BUILD="4G"
-KDE_APPS_MINIMAL="17.12.0"
-KDE_DOC_DIR="xxx" # contains no language subdirs
-KDE_HANDBOOK="forceoptional"
-KDE_PO_DIRS="po plan/po"
-KDE_TEST="forceoptional"
-inherit check-reqs kde5 versionator
-
-DESCRIPTION="KDE Office Suite"
-HOMEPAGE="https://www.calligra.org/"
-[[ ${KDE_BUILD_TYPE} == release ]] && \
- SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz
- calligra_features_plan? ( mirror://kde/stable/${PN}/${PV}/${PN}plan-${PV}.tar.xz )"
-
-LICENSE="GPL-2"
-
-[[ ${KDE_BUILD_TYPE} == release ]] && \
-KEYWORDS="amd64 x86"
-
-CAL_FTS=( karbon plan sheets words )
-
-IUSE="activities +crypt +fontconfig gemini gsl import-filter +lcms okular openexr +pdf
- phonon pim spacenav +truetype X $(printf 'calligra_features_%s ' ${CAL_FTS[@]})
- calligra_experimental_features_stage"
-
-# TODO: Not packaged: Cauchy (https://bitbucket.org/cyrille/cauchy)
-# Required for the matlab/octave formula tool
-# FIXME: Disabled by upstream for good reason
-# Crashes plan (https://bugs.kde.org/show_bug.cgi?id=311940)
-# $(add_kdeapps_dep akonadi)
-# $(add_kdeapps_dep akonadi-contacts)
-# Currently upstream-disabled in plan
-# =dev-libs/kproperty-3.0*:5
-# =dev-libs/kreport-3.0*:5
-COMMON_DEPEND="
- $(add_frameworks_dep karchive)
- $(add_frameworks_dep kcmutils)
- $(add_frameworks_dep kcodecs)
- $(add_frameworks_dep kcompletion)
- $(add_frameworks_dep kconfig)
- $(add_frameworks_dep kconfigwidgets)
- $(add_frameworks_dep kcoreaddons)
- $(add_frameworks_dep kdelibs4support)
- $(add_frameworks_dep kemoticons)
- $(add_frameworks_dep kglobalaccel)
- $(add_frameworks_dep kguiaddons)
- $(add_frameworks_dep ki18n)
- $(add_frameworks_dep kiconthemes)
- $(add_frameworks_dep kio)
- $(add_frameworks_dep kitemmodels)
- $(add_frameworks_dep kitemviews)
- $(add_frameworks_dep kjobwidgets)
- $(add_frameworks_dep knotifications)
- $(add_frameworks_dep knotifyconfig)
- $(add_frameworks_dep kparts)
- $(add_frameworks_dep kross)
- $(add_frameworks_dep ktextwidgets)
- $(add_frameworks_dep kwallet)
- $(add_frameworks_dep kwidgetsaddons)
- $(add_frameworks_dep kwindowsystem)
- $(add_frameworks_dep kxmlgui)
- $(add_frameworks_dep sonnet)
- $(add_qt_dep designer)
- $(add_qt_dep qtdbus)
- $(add_qt_dep qtdeclarative)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtnetwork)
- $(add_qt_dep qtprintsupport)
- $(add_qt_dep qtscript)
- $(add_qt_dep qtsvg)
- $(add_qt_dep qtwidgets)
- $(add_qt_dep qtxml)
- dev-lang/perl
- sys-libs/zlib
- virtual/libiconv
- activities? ( $(add_frameworks_dep kactivities) )
- crypt? ( app-crypt/qca:2[qt5(+)] )
- fontconfig? ( media-libs/fontconfig )
- gemini? ( $(add_qt_dep qtdeclarative 'widgets') )
- gsl? ( sci-libs/gsl )
- import-filter? (
- $(add_frameworks_dep khtml)
- app-text/libetonyek
- app-text/libodfgen
- app-text/libwpd:*
- app-text/libwpg:*
- >=app-text/libwps-0.4
- dev-libs/librevenge
- media-libs/libvisio
- )
- lcms? (
- media-libs/ilmbase:=
- media-libs/lcms:2
- )
- openexr? ( media-libs/openexr )
- pdf? ( app-text/poppler[qt5] )
- phonon? ( media-libs/phonon[qt5(+)] )
- spacenav? ( dev-libs/libspnav )
- truetype? ( media-libs/freetype:2 )
- X? (
- $(add_qt_dep qtx11extras)
- x11-libs/libX11
- )
- calligra_experimental_features_stage? (
- $(add_qt_dep qtwebkit)
- okular? ( $(add_kdeapps_dep okular) )
- )
- calligra_features_plan? (
- $(add_frameworks_dep khtml)
- $(add_frameworks_dep kholidays)
- dev-libs/kdiagram:5
- pim? (
- $(add_kdeapps_dep kcalcore)
- $(add_kdeapps_dep kcontacts)
- )
- )
- calligra_features_sheets? ( dev-cpp/eigen:3 )
- calligra_features_words? (
- dev-libs/libxslt
- okular? ( $(add_kdeapps_dep okular) )
- )
-"
-DEPEND="${COMMON_DEPEND}
- dev-libs/boost
- sys-devel/gettext
- x11-misc/shared-mime-info
- test? ( $(add_frameworks_dep threadweaver) )
-"
-RDEPEND="${COMMON_DEPEND}
- calligra_features_karbon? ( media-gfx/pstoedit[plotutils] )
- !app-office/calligra:4
- !app-office/calligra-l10n:4
-"
-RESTRICT+=" test"
-
-PATCHES=(
- "${FILESDIR}"/${P}-no-arch-detection.patch
- "${FILESDIR}"/${P}-doc.patch
- "${FILESDIR}"/${P}-qt-5.11.patch
- "${FILESDIR}"/${P}-stage-qt-5.11.patch
-)
-
-pkg_pretend() {
- check-reqs_pkg_pretend
-}
-
-pkg_setup() {
- kde5_pkg_setup
- check-reqs_pkg_setup
-}
-
-src_prepare() {
- if use calligra_features_plan && [[ ${KDE_BUILD_TYPE} == release ]]; then
- mv ../${PN}plan-${PV} plan || die
- sed -e "/add_subdirectory(plan)/s/#//" \
- -e "/^calligra_disable_product(APP_PLAN/s/^/#/" \
- -i CMakeLists.txt || die
-
- eapply "${FILESDIR}"/${P}-plan-qt-5.11.patch
- fi
- kde5_src_prepare
-
- if ! use test; then
- sed -e "/add_subdirectory( *benchmarks *)/s/^/#DONT/" \
- -i libs/pigment/CMakeLists.txt || die
- fi
-
- # Unconditionally disable deprecated deps (required by QtQuick1)
- punt_bogus_dep Qt5 Declarative
- punt_bogus_dep Qt5 OpenGL
-
- if ! use calligra_experimental_features_stage; then
- punt_bogus_dep Qt5 WebKitWidgets
- punt_bogus_dep Qt5 WebKit
- fi
-
- # Hack around the excessive use of CMake macros
- if use okular && ! use calligra_features_words; then
- sed -i -e "/add_subdirectory( *okularodtgenerator *)/ s/^/#DONT/" \
- extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODT"
- fi
-
- if use okular && ! use calligra_experimental_features_stage; then
- sed -i -e "/add_subdirectory( *okularodpgenerator *)/ s/^/#DONT/" \
- extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODP"
- fi
-}
-
-src_configure() {
- local cal_ft myproducts
-
- # applications
- for cal_ft in ${CAL_FTS[@]}; do
- use calligra_features_${cal_ft} && myproducts+=( "${cal_ft^^}" )
- done
-
- use calligra_experimental_features_stage && myproducts+=( STAGE )
-
- use lcms && myproducts+=( PLUGIN_COLORENGINES )
- use spacenav && myproducts+=( PLUGIN_SPACENAVIGATOR )
-
- local mycmakeargs=(
- -DPACKAGERS_BUILD=OFF
- -DRELEASE_BUILD=ON
- -DWITH_Iconv=ON
- -DPRODUCTSET="${myproducts[*]}"
- $(cmake-utils_use_find_package activities KF5Activities)
- -DWITH_Qca-qt5=$(usex crypt)
- -DWITH_Fontconfig=$(usex fontconfig)
- $(cmake-utils_use_find_package gemini Libgit2)
- $(cmake-utils_use_find_package gemini Qt5QuickWidgets)
- -DWITH_GSL=$(usex gsl)
- -DWITH_LibEtonyek=$(usex import-filter)
- -DWITH_LibOdfGen=$(usex import-filter)
- -DWITH_LibRevenge=$(usex import-filter)
- -DWITH_LibVisio=$(usex import-filter)
- -DWITH_LibWpd=$(usex import-filter)
- -DWITH_LibWpg=$(usex import-filter)
- -DWITH_LibWps=$(usex import-filter)
- $(cmake-utils_use_find_package phonon Phonon4Qt5)
- $(cmake-utils_use_find_package pim KF5CalendarCore)
- $(cmake-utils_use_find_package pim KF5Contacts)
- -DWITH_LCMS2=$(usex lcms)
- -DWITH_Okular5=$(usex okular)
- -DWITH_OpenEXR=$(usex openexr)
- -DWITH_Poppler=$(usex pdf)
- -DWITH_Eigen3=$(usex calligra_features_sheets)
- -DBUILD_UNMAINTAINED=$(usex calligra_experimental_features_stage)
- -ENABLE_CSTESTER_TESTING=$(usex test)
- -DWITH_Freetype=$(usex truetype)
- )
-
- kde5_src_configure
-}
diff --git a/app-office/calligra/calligra-3.1.0-r3.ebuild b/app-office/calligra/calligra-3.1.0-r3.ebuild
index 766e2b2b60aa..24ca06bcb3ab 100644
--- a/app-office/calligra/calligra-3.1.0-r3.ebuild
+++ b/app-office/calligra/calligra-3.1.0-r3.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://www.calligra.org/"
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
CAL_FTS=( karbon sheets stage words )
@@ -121,6 +121,7 @@ PATCHES=(
"${FILESDIR}"/${P}-poppler-0.69.patch
"${FILESDIR}"/${P}-poppler-0.71.patch
"${FILESDIR}"/${P}-poppler-0.72.patch # not upstreamable
+ "${FILESDIR}"/${P}-poppler-0.73.patch
"${FILESDIR}"/${P}-no-webkit.patch
)
diff --git a/app-office/calligra/files/calligra-3.1.0-poppler-0.73.patch b/app-office/calligra/files/calligra-3.1.0-poppler-0.73.patch
new file mode 100644
index 000000000000..727f6edf3f12
--- /dev/null
+++ b/app-office/calligra/files/calligra-3.1.0-poppler-0.73.patch
@@ -0,0 +1,35 @@
+From a1ddd91e6c354e8f0dda40f8a522053c3fa19c39 Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid <aacid@kde.org>
+Date: Tue, 15 Jan 2019 22:24:08 +0100
+Subject: Guchar -> unsigned char
+
+It was just a typdef and it's now gone
+---
+ filters/karbon/pdf/SvgOutputDev.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/filters/karbon/pdf/SvgOutputDev.cpp b/filters/karbon/pdf/SvgOutputDev.cpp
+index 80f01a5..1a5aa30b 100644
+--- a/filters/karbon/pdf/SvgOutputDev.cpp
++++ b/filters/karbon/pdf/SvgOutputDev.cpp
+@@ -496,7 +496,7 @@ void SvgOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
+ if (maskColors) {
+ for (int y = 0; y < height; y++) {
+ dest = (unsigned int *)(buffer + y * 4 * width);
+- Guchar * pix = imgStr->getLine();
++ unsigned char * pix = imgStr->getLine();
+ colorMap->getRGBLine(pix, dest, width);
+
+ for (int x = 0; x < width; x++) {
+@@ -515,7 +515,7 @@ void SvgOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
+ } else {
+ for (int y = 0; y < height; y++) {
+ dest = (unsigned int *)(buffer + y * 4 * width);
+- Guchar * pix = imgStr->getLine();
++ unsigned char * pix = imgStr->getLine();
+ colorMap->getRGBLine(pix, dest, width);
+ }
+
+--
+cgit v1.1
+