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 7E32A138206 for ; Sun, 31 Dec 2017 21:23:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38639E08F3; Sun, 31 Dec 2017 21:23:38 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D43A2E08F3 for ; Sun, 31 Dec 2017 21:23:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A37A335C0B for ; Sun, 31 Dec 2017 21:23:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AABA6126 for ; Sun, 31 Dec 2017 21:23:31 +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: <1514750663.40297c8d3eaea4cb4b5893a0d648dd91a70cac93.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: app-office/calligra/files/, app-office/calligra/ X-VCS-Repository: proj/kde X-VCS-Files: app-office/calligra/calligra-9999.ebuild app-office/calligra/files/calligra-3.0.0-no-arch-detection.patch app-office/calligra/files/calligra-3.0.90-no-arch-detection.patch app-office/calligra/metadata.xml X-VCS-Directories: app-office/calligra/ app-office/calligra/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 40297c8d3eaea4cb4b5893a0d648dd91a70cac93 X-VCS-Branch: master Date: Sun, 31 Dec 2017 21:23:31 +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: db9de7a1-300d-4627-8c96-e9fa977f02eb X-Archives-Hash: dff08a61499ff821bc2b236f50e8de7d commit: 40297c8d3eaea4cb4b5893a0d648dd91a70cac93 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 31 19:02:13 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 31 20:04:23 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=40297c8d app-office/calligra: Fix patch new DEPENDs, add USE=gemini Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-office/calligra/calligra-9999.ebuild | 45 +++++++++------------- .../files/calligra-3.0.0-no-arch-detection.patch | 17 -------- .../files/calligra-3.0.90-no-arch-detection.patch | 17 ++++++++ app-office/calligra/metadata.xml | 2 +- 4 files changed, 36 insertions(+), 45 deletions(-) diff --git a/app-office/calligra/calligra-9999.ebuild b/app-office/calligra/calligra-9999.ebuild index db53b6af33..8c55ddf184 100644 --- a/app-office/calligra/calligra-9999.ebuild +++ b/app-office/calligra/calligra-9999.ebuild @@ -18,11 +18,10 @@ LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" CAL_FTS=( karbon plan sheets words ) -CAL_EXP_FTS=( braindump stage ) -IUSE="activities +crypt +fontconfig gsl import-filter jpeg2k +lcms okular openexr +pdf - phonon pim spacenav +truetype vc X $(printf 'calligra_features_%s ' ${CAL_FTS[@]}) - $(printf 'calligra_experimental_features_%s ' ${CAL_EXP_FTS[@]})" +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 @@ -30,6 +29,9 @@ IUSE="activities +crypt +fontconfig gsl import-filter jpeg2k +lcms okular openex # 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) @@ -74,6 +76,7 @@ COMMON_DEPEND=" 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) @@ -98,17 +101,14 @@ COMMON_DEPEND=" $(add_qt_dep qtx11extras) x11-libs/libX11 ) - calligra_experimental_features_braindump? ( $(add_qt_dep qtwebkit) ) calligra_experimental_features_stage? ( $(add_qt_dep qtwebkit) okular? ( $(add_kdeapps_dep okular) ) ) - calligra_features_karbon? ( jpeg2k? ( media-libs/openjpeg:= ) ) calligra_features_plan? ( $(add_frameworks_dep khtml) + $(add_kdeapps_dep kholidays) dev-libs/kdiagram:5 - =dev-libs/kproperty-3.0*:5 - =dev-libs/kreport-3.0*:5 pim? ( $(add_kdeapps_dep kcalcore) $(add_kdeapps_dep kcontacts) @@ -125,7 +125,6 @@ DEPEND="${COMMON_DEPEND} 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] ) @@ -134,7 +133,7 @@ RDEPEND="${COMMON_DEPEND} " RESTRICT+=" test" -PATCHES=( "${FILESDIR}/${PN}"-3.0.0-no-arch-detection.patch ) +PATCHES=( "${FILESDIR}/${PN}"-3.0.90-no-arch-detection.patch ) pkg_pretend() { check-reqs_pkg_pretend @@ -157,8 +156,7 @@ src_prepare() { punt_bogus_dep Qt5 Declarative punt_bogus_dep Qt5 OpenGL - if ! use calligra_experimental_features_stage && \ - ! use calligra_experimental_features_braindump; then + if ! use calligra_experimental_features_stage; then punt_bogus_dep Qt5 WebKitWidgets punt_bogus_dep Qt5 WebKit fi @@ -176,7 +174,7 @@ src_prepare() { } src_configure() { - local cal_ft myproducts experimental=OFF + local cal_ft myproducts # applications for cal_ft in ${CAL_FTS[@]}; do @@ -184,13 +182,10 @@ src_configure() { myproducts+=( "${cal_ft^^}" ) fi done - # experimental/unmaintained applications - for cal_ft in ${CAL_EXP_FTS[@]}; do - if use calligra_experimental_features_${cal_ft} ; then - experimental=ON - myproducts+=( "${cal_ft^^}" ) - fi - done + + [[ ${KDE_BUILD_TYPE} == release ]] && \ + use calligra_experimental_features_stage && \ + myproducts+=( CALLIGRA_FEATURES_STAGE ) use lcms && myproducts+=( PLUGIN_COLORENGINES ) use spacenav && myproducts+=( PLUGIN_SPACENAVIGATOR ) @@ -200,19 +195,18 @@ src_configure() { if [[ ${KDE_BUILD_TYPE} == release ]] ; then mycmakeargs+=( -DRELEASE_BUILD=ON - -DBUILD_UNMAINTAINED=${experimental} + -DBUILD_UNMAINTAINED=$(usex calligra_experimental_features_stage) ) fi - use calligra_features_karbon && \ - mycmakeargs+=( $(cmake-utils_use_find_package jpeg2k OpenJPEG) ) - mycmakeargs+=( -DPACKAGERS_BUILD=OFF -DWITH_Iconv=ON $(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) @@ -231,9 +225,6 @@ src_configure() { -DWITH_Eigen3=$(usex calligra_features_sheets) -ENABLE_CSTESTER_TESTING=$(usex test) -DWITH_Freetype=$(usex truetype) - -DWITH_Vc=$(usex vc) - -DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON - -DCMAKE_DISABLE_FIND_PACKAGE_Libqgit2=ON ) kde5_src_configure diff --git a/app-office/calligra/files/calligra-3.0.0-no-arch-detection.patch b/app-office/calligra/files/calligra-3.0.0-no-arch-detection.patch deleted file mode 100644 index 1c544e9277..0000000000 --- a/app-office/calligra/files/calligra-3.0.0-no-arch-detection.patch +++ /dev/null @@ -1,17 +0,0 @@ -Avoid automagic CXXFLAG detection courtesy of dev-libs/vc. - -Gentoo-bug: 584118 - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -617,10 +617,6 @@ - endif() - endmacro() - -- if (NOT PACKAGERS_BUILD) -- # Optimize the whole Calligra for current architecture -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}") -- endif () - endif() - set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH} ) - diff --git a/app-office/calligra/files/calligra-3.0.90-no-arch-detection.patch b/app-office/calligra/files/calligra-3.0.90-no-arch-detection.patch new file mode 100644 index 0000000000..aa83ba1a30 --- /dev/null +++ b/app-office/calligra/files/calligra-3.0.90-no-arch-detection.patch @@ -0,0 +1,17 @@ +Avoid automagic CXXFLAG detection courtesy of dev-libs/vc. + +Gentoo-bug: 584118 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -617,10 +617,6 @@ + endif() + endmacro() + +- if (NOT PACKAGERS_BUILD) +- # Optimize the whole Calligra for current architecture +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}") +- endif () + endif() + set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH} ) + diff --git a/app-office/calligra/metadata.xml b/app-office/calligra/metadata.xml index 5558990fe6..d7ebffccf0 100644 --- a/app-office/calligra/metadata.xml +++ b/app-office/calligra/metadata.xml @@ -11,12 +11,12 @@ Enable kactivities support + Enable tablet and 2:1 devices 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 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