Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: app-office/calligra/, app-office/calligra/files/
Date: Thu, 29 Sep 2016 10:20:15
Message-Id: 1475139944.9b2cfc053be5063b0f9ef283eae287beadb1ba71.kensington@gentoo
1 commit: 9b2cfc053be5063b0f9ef283eae287beadb1ba71
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Sat Sep 3 21:58:07 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 09:05:44 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=9b2cfc05
7
8 app-office/calligra: Drop author, avoid automagic CXXFLAG detection
9
10 Remove obsolete comment.
11
12 Package-Manager: portage-2.2.28
13
14 app-office/calligra/calligra-9999.ebuild | 6 +++---
15 app-office/calligra/files/calligra-vc-cxxflags.patch | 17 +++++++++++++++++
16 2 files changed, 20 insertions(+), 3 deletions(-)
17
18 diff --git a/app-office/calligra/calligra-9999.ebuild b/app-office/calligra/calligra-9999.ebuild
19 index fa80431..d3f88fc 100644
20 --- a/app-office/calligra/calligra-9999.ebuild
21 +++ b/app-office/calligra/calligra-9999.ebuild
22 @@ -29,15 +29,13 @@ KEYWORDS="~amd64 ~x86"
23 IUSE="activities +crypt +eigen +fontconfig gsl import-filter +lcms kdepim
24 marble okular openexr +pdf spacenav +truetype vc +webkit +xml X"
25
26 -# Don't use Active, it's broken on desktops.
27 -CAL_FTS="author braindump karbon plan sheets stage words"
28 +CAL_FTS="braindump karbon plan sheets stage words"
29 for cal_ft in ${CAL_FTS}; do
30 IUSE+=" calligra_features_${cal_ft}"
31 done
32 unset cal_ft
33
34 REQUIRED_USE="
35 - calligra_features_author? ( calligra_features_words )
36 calligra_features_sheets? ( eigen )
37 calligra_features_stage? ( webkit )
38 test? ( calligra_features_karbon )
39 @@ -150,6 +148,8 @@ RDEPEND="${COMMON_DEPEND}
40 #[[ ${PV} == 9999 ]] && LANGVERSION="3.0" || LANGVERSION="$(get_version_component_range 1-2)"
41 #PDEPEND=">=app-office/calligra-l10n-${LANGVERSION}"
42
43 +PATCHES=( "${FILESDIR}/${PN}-vc-cxxflags.patch" )
44 +
45 pkg_pretend() {
46 check-reqs_pkg_pretend
47 }
48
49 diff --git a/app-office/calligra/files/calligra-vc-cxxflags.patch b/app-office/calligra/files/calligra-vc-cxxflags.patch
50 new file mode 100644
51 index 0000000..1c544e9
52 --- /dev/null
53 +++ b/app-office/calligra/files/calligra-vc-cxxflags.patch
54 @@ -0,0 +1,17 @@
55 +Avoid automagic CXXFLAG detection courtesy of dev-libs/vc.
56 +
57 +Gentoo-bug: 584118
58 +
59 +--- a/CMakeLists.txt
60 ++++ b/CMakeLists.txt
61 +@@ -617,10 +617,6 @@
62 + endif()
63 + endmacro()
64 +
65 +- if (NOT PACKAGERS_BUILD)
66 +- # Optimize the whole Calligra for current architecture
67 +- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
68 +- endif ()
69 + endif()
70 + set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH} )
71 +