From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4B36B139085 for ; Fri, 6 Jan 2017 22:46:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75BF1E0C74; Fri, 6 Jan 2017 22:46:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C2CFE0C74 for ; Fri, 6 Jan 2017 22:46:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 28CFC34166C for ; Fri, 6 Jan 2017 22:46:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 512ED24C5 for ; Fri, 6 Jan 2017 22:46:01 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1483742740.abbe0501207afd394c8fdfb8c0a2f279893e21a0.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: app-office/calligra/ X-VCS-Repository: proj/kde X-VCS-Files: app-office/calligra/calligra-9999.ebuild app-office/calligra/metadata.xml X-VCS-Directories: app-office/calligra/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: abbe0501207afd394c8fdfb8c0a2f279893e21a0 X-VCS-Branch: master Date: Fri, 6 Jan 2017 22:46:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a84698e8-947b-4489-802a-0712dce67e39 X-Archives-Hash: af08e4b630e9f4833cc4b39b31d05c05 commit: abbe0501207afd394c8fdfb8c0a2f279893e21a0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Jan 6 22:45:40 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Jan 6 22:45:40 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=abbe0501 app-office/calligra: Fix DEPENDs, add USE=jpeg2k,phonon Make USE=lcms do something (enable PLUGIN_COLORENGINES) Make USE=spacenav do sth (enable PLUGIN_SPACENAVIGATOR) Block calligra-l10n:4 Drop unused libpng dependency Move boost,threadweaver RDEPEND -> DEPEND KDE_TEST=forceoptional-recursive to eliminate a truckload of warnings Disable benchmarks as well, nothing is installed Package-Manager: portage-2.3.0 app-office/calligra/calligra-9999.ebuild | 51 ++++++++++++++++++-------------- app-office/calligra/metadata.xml | 2 ++ 2 files changed, 30 insertions(+), 23 deletions(-) diff --git a/app-office/calligra/calligra-9999.ebuild b/app-office/calligra/calligra-9999.ebuild index 916e31e..1b17523 100644 --- a/app-office/calligra/calligra-9999.ebuild +++ b/app-office/calligra/calligra-9999.ebuild @@ -6,20 +6,12 @@ EAPI=6 CHECKREQS_DISK_BUILD="4G" KDE_HANDBOOK="forceoptional" -KDE_TEST="forceoptional" +KDE_TEST="forceoptional-recursive" inherit check-reqs kde5 versionator DESCRIPTION="KDE Office Suite" HOMEPAGE="http://www.calligra.org/" - -case ${PV} in - 3.[0123456789].[789]?) - # beta or rc releases - SRC_URI="mirror://kde/unstable/${P}/${P}.tar.gz" ;; - 3.[0123456789].?) - # stable releases - SRC_URI="mirror://kde/stable/${P}/${P}.tar.gz" -esac +[[ ${KDE_BUILD_TYPE} == release ]] && SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" LICENSE="GPL-2" @@ -29,9 +21,9 @@ KEYWORDS="~amd64 ~x86" CAL_FTS=( karbon plan sheets words ) CAL_EXP_FTS=( braindump stage ) -IUSE="activities +crypt +eigen +fontconfig gsl import-filter +lcms pim marble okular - openexr +pdf spacenav +truetype vc +xml X $(printf 'calligra_features_%s ' ${CAL_FTS[@]}) - $(printf 'calligra_experimental_features_%s ' ${CAL_EXP_FTS[@]})" +IUSE="activities +crypt +eigen +fontconfig gsl import-filter jpeg2k +lcms okular openexr +pdf +phonon pim marble spacenav +truetype vc +xml X $(printf 'calligra_features_%s ' ${CAL_FTS[@]}) +$(printf 'calligra_experimental_features_%s ' ${CAL_EXP_FTS[@]})" REQUIRED_USE="calligra_features_sheets? ( eigen )" @@ -55,20 +47,18 @@ COMMON_DEPEND=" $(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 ktexteditor) $(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_frameworks_dep threadweaver) $(add_qt_dep designer) - $(add_qt_dep qtconcurrent) $(add_qt_dep qtdbus) $(add_qt_dep qtdeclarative) $(add_qt_dep qtgui) @@ -79,8 +69,6 @@ COMMON_DEPEND=" $(add_qt_dep qtwidgets) $(add_qt_dep qtxml) dev-lang/perl - dev-libs/boost - media-libs/libpng:0 sys-libs/zlib virtual/libiconv activities? ( $(add_frameworks_dep kactivities) ) @@ -98,10 +86,14 @@ COMMON_DEPEND=" dev-libs/librevenge media-libs/libvisio ) - lcms? ( media-libs/lcms:2 ) + lcms? ( + media-libs/ilmbase:= + media-libs/lcms:2 + ) marble? ( $(add_kdeapps_dep marble) ) openexr? ( media-libs/openexr ) pdf? ( app-text/poppler:=[qt5] ) + phonon? ( media-libs/phonon[qt5] ) spacenav? ( dev-libs/libspnav ) truetype? ( media-libs/freetype:2 ) X? ( @@ -113,12 +105,13 @@ COMMON_DEPEND=" $(add_qt_dep qtwebkit) okular? ( $(add_kdeapps_dep okular) ) ) + calligra_features_karbon? ( jpeg2k? ( media-libs/openjpeg:= ) ) calligra_features_plan? ( $(add_frameworks_dep khtml) $(add_qt_dep qtcore '' '' '5=') dev-libs/kdiagram:5 - dev-libs/kproperty:5 - dev-libs/kreport:5 + =dev-libs/kproperty-3.0*:5 + =dev-libs/kreport-3.0*:5 pim? ( $(add_kdeapps_dep akonadi) $(add_kdeapps_dep akonadi-contacts) @@ -132,17 +125,20 @@ COMMON_DEPEND=" ) " DEPEND="${COMMON_DEPEND} + dev-libs/boost sys-devel/gettext x11-misc/shared-mime-info + test? ( $(add_frameworks_dep threadweaver) ) vc? ( >=dev-libs/vc-1.1.0 ) " RDEPEND="${COMMON_DEPEND} calligra_features_karbon? ( media-gfx/pstoedit[plotutils] ) !app-office/calligra:4 + !app-office/calligra-l10n:4 " RESTRICT+=" test" -PATCHES=( "${FILESDIR}/${PN}-3.0.0-no-arch-detection.patch" ) +PATCHES=( "${FILESDIR}/${PN}"-3.0.0-no-arch-detection.patch ) pkg_pretend() { check-reqs_pkg_pretend @@ -156,6 +152,11 @@ pkg_setup() { src_prepare() { 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 @@ -195,6 +196,9 @@ src_configure() { fi done + use lcms && myproducts+=( PLUGIN_COLORENGINES ) + use spacenav && myproducts+=( PLUGIN_SPACENAVIGATOR ) + local mycmakeargs=( -DPRODUCTSET="${myproducts[*]}" ) if [[ ${KDE_BUILD_TYPE} == release ]] ; then @@ -219,6 +223,8 @@ src_configure() { -DWITH_LibWpd=$(usex import-filter) -DWITH_LibWpg=$(usex import-filter) -DWITH_LibWps=$(usex import-filter) + $(cmake-utils_use_find_package jpeg2k OpenJPEG) + $(cmake-utils_use_find_package phonon Phonon4Qt5) $(cmake-utils_use_find_package pim KF5Akonadi) $(cmake-utils_use_find_package pim KF5AkonadiContact) $(cmake-utils_use_find_package pim KF5CalendarCore) @@ -228,7 +234,6 @@ src_configure() { -DWITH_Okular5=$(usex okular) -DWITH_OpenEXR=$(usex openexr) -DWITH_Poppler=$(usex pdf) - $(cmake-utils_use_find_package spacenav Spnav) -ENABLE_CSTESTER_TESTING=$(usex test) -DWITH_Freetype=$(usex truetype) -DWITH_Vc=$(usex vc) diff --git a/app-office/calligra/metadata.xml b/app-office/calligra/metadata.xml index 432740f..31b5858 100644 --- a/app-office/calligra/metadata.xml +++ b/app-office/calligra/metadata.xml @@ -14,8 +14,10 @@ Enable dev-cpp/eigen mathematical templates support Enable support for various import filter file formats like WordPerfect, Visio and Apple Keynote Enable support for KDE PIM resources integration + Build colorengine plugins using media-libs/lcms Enable displaying of maps using Marble Enable bindings for kde-apps/okular + Build stage/eventplugins and videoshape plugin using media-libs/phonon Enable support for the 3Dconnexion spacenav input device via dev-libs/libspnav Build with dev-libs/vc, could be a significant speed boost