Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/calligra/files/, app-office/calligra/
Date: Thu, 05 Apr 2018 23:38:42
Message-Id: 1522970697.ed29e62fa20e94e2601da05749127fab941b2050.asturm@gentoo
1 commit: ed29e62fa20e94e2601da05749127fab941b2050
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 5 23:23:28 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 5 23:24:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed29e62f
7
8 app-office/calligra: Drop 3.0.1
9
10 Package-Manager: Portage-2.3.28, Repoman-2.3.9
11
12 app-office/calligra/Manifest | 1 -
13 app-office/calligra/calligra-3.0.1.ebuild | 241 ---------------------
14 .../files/calligra-3.0.0-no-arch-detection.patch | 17 --
15 3 files changed, 259 deletions(-)
16
17 diff --git a/app-office/calligra/Manifest b/app-office/calligra/Manifest
18 index 8cf6fbe018a..f4101fe56ac 100644
19 --- a/app-office/calligra/Manifest
20 +++ b/app-office/calligra/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST calligra-3.0.1.tar.xz 60764344 BLAKE2B e264f1eb5928d2f11fba9c9b71a77d2685230b9128105264d109d3aca51f32a814795dd04f5f8fb980dce4fa4d4365c4073b35c2abb8933c906238bc0b25aef2 SHA512 ec17d007262d598e16045c6c75f8a37dfdf73b980b02ae9bea20282cbd4dd53202f62fc4d8bd84484193a501859c2150079a76d83c1638d8449f41526df57ee0
23 DIST calligra-3.1.0.tar.xz 58037392 BLAKE2B b933012fe0031f4d6eac626054e7fb248f85635e5873224328d30f9aed31dce0a0a49f99cf6eea9c232477400af1d16ffc4dae483cdfd5081720434e95684e50 SHA512 ad1b689a5b36deafcf6985d4a0a1e8148d10e19fb4a0be8343c6e1d24146b9a8ffa0890ab5bbb21816b3134d21150b57f6159db1a30cc54c0fde5bf7bdf4537b
24 DIST calligraplan-3.1.0.tar.xz 3617600 BLAKE2B af45aa28529c18c9fa9fae2b7c03ea1b795d3fec3fd44dbcc4ed056a4b1b843b10cb8a9ad6dab319775a7d7032520721a4719605859dd60100a19eafdcb621ed SHA512 a8ccc6ee2f0381b811926a296122464bdb79aad7c75ff0f7a554e4596165ff7fd7ef62c9af9232ea36542d6b538446c8920fe77cbbe7ffacdf6e6b99a1b68156
25
26 diff --git a/app-office/calligra/calligra-3.0.1.ebuild b/app-office/calligra/calligra-3.0.1.ebuild
27 deleted file mode 100644
28 index 7a2d180f4ec..00000000000
29 --- a/app-office/calligra/calligra-3.0.1.ebuild
30 +++ /dev/null
31 @@ -1,241 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -CHECKREQS_DISK_BUILD="4G"
38 -KDE_HANDBOOK="forceoptional"
39 -KDE_TEST="forceoptional-recursive"
40 -inherit check-reqs kde5 versionator
41 -
42 -DESCRIPTION="KDE Office Suite"
43 -HOMEPAGE="https://www.calligra.org/"
44 -[[ ${KDE_BUILD_TYPE} == release ]] && SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
45 -
46 -LICENSE="GPL-2"
47 -
48 -[[ ${KDE_BUILD_TYPE} == release ]] && \
49 -KEYWORDS="amd64 x86"
50 -
51 -CAL_FTS=( karbon plan sheets words )
52 -CAL_EXP_FTS=( braindump stage )
53 -
54 -IUSE="activities +crypt +fontconfig gsl import-filter jpeg2k +lcms okular openexr +pdf
55 - phonon pim spacenav +truetype X $(printf 'calligra_features_%s ' ${CAL_FTS[@]})
56 - $(printf 'calligra_experimental_features_%s ' ${CAL_EXP_FTS[@]})"
57 -
58 -# TODO: Not packaged: Cauchy (https://bitbucket.org/cyrille/cauchy)
59 -# Required for the matlab/octave formula tool
60 -# drop qtcore subslot operator when QT_MINIMAL >= 5.7.0
61 -# FIXME: Disabled by upstream for good reason
62 -# Crashes plan (https://bugs.kde.org/show_bug.cgi?id=311940)
63 -# $(add_kdeapps_dep akonadi)
64 -# $(add_kdeapps_dep akonadi-contacts)
65 -COMMON_DEPEND="
66 - $(add_frameworks_dep karchive)
67 - $(add_frameworks_dep kcmutils)
68 - $(add_frameworks_dep kcodecs)
69 - $(add_frameworks_dep kcompletion)
70 - $(add_frameworks_dep kconfig)
71 - $(add_frameworks_dep kconfigwidgets)
72 - $(add_frameworks_dep kcoreaddons)
73 - $(add_frameworks_dep kdelibs4support)
74 - $(add_frameworks_dep kemoticons)
75 - $(add_frameworks_dep kglobalaccel)
76 - $(add_frameworks_dep kguiaddons)
77 - $(add_frameworks_dep ki18n)
78 - $(add_frameworks_dep kiconthemes)
79 - $(add_frameworks_dep kio)
80 - $(add_frameworks_dep kitemmodels)
81 - $(add_frameworks_dep kitemviews)
82 - $(add_frameworks_dep kjobwidgets)
83 - $(add_frameworks_dep knotifications)
84 - $(add_frameworks_dep knotifyconfig)
85 - $(add_frameworks_dep kparts)
86 - $(add_frameworks_dep kross)
87 - $(add_frameworks_dep ktextwidgets)
88 - $(add_frameworks_dep kwallet)
89 - $(add_frameworks_dep kwidgetsaddons)
90 - $(add_frameworks_dep kwindowsystem)
91 - $(add_frameworks_dep kxmlgui)
92 - $(add_frameworks_dep sonnet)
93 - $(add_qt_dep designer)
94 - $(add_qt_dep qtdbus)
95 - $(add_qt_dep qtdeclarative)
96 - $(add_qt_dep qtgui)
97 - $(add_qt_dep qtnetwork)
98 - $(add_qt_dep qtprintsupport)
99 - $(add_qt_dep qtscript)
100 - $(add_qt_dep qtsvg)
101 - $(add_qt_dep qtwidgets)
102 - $(add_qt_dep qtxml)
103 - dev-lang/perl
104 - sys-libs/zlib
105 - virtual/libiconv
106 - activities? ( $(add_frameworks_dep kactivities) )
107 - crypt? ( app-crypt/qca:2[qt5] )
108 - fontconfig? ( media-libs/fontconfig )
109 - gsl? ( sci-libs/gsl )
110 - import-filter? (
111 - $(add_frameworks_dep khtml)
112 - app-text/libetonyek
113 - app-text/libodfgen
114 - app-text/libwpd:*
115 - app-text/libwpg:*
116 - >=app-text/libwps-0.4
117 - dev-libs/librevenge
118 - media-libs/libvisio
119 - )
120 - lcms? (
121 - media-libs/ilmbase:=
122 - media-libs/lcms:2
123 - )
124 - openexr? ( media-libs/openexr )
125 - pdf? ( app-text/poppler[qt5] )
126 - phonon? ( media-libs/phonon[qt5(+)] )
127 - spacenav? ( dev-libs/libspnav )
128 - truetype? ( media-libs/freetype:2 )
129 - X? (
130 - $(add_qt_dep qtx11extras)
131 - x11-libs/libX11
132 - )
133 - calligra_experimental_features_braindump? ( $(add_qt_dep qtwebkit) )
134 - calligra_experimental_features_stage? (
135 - $(add_qt_dep qtwebkit)
136 - okular? ( $(add_kdeapps_dep okular) )
137 - )
138 - calligra_features_karbon? ( jpeg2k? ( media-libs/openjpeg:= ) )
139 - calligra_features_plan? (
140 - $(add_frameworks_dep khtml)
141 - $(add_qt_dep qtcore '' '' '5=')
142 - dev-libs/kdiagram:5
143 - =dev-libs/kproperty-3.0*:5
144 - =dev-libs/kreport-3.0*:5
145 - pim? (
146 - $(add_kdeapps_dep kcalcore)
147 - $(add_kdeapps_dep kcontacts)
148 - )
149 - )
150 - calligra_features_sheets? ( dev-cpp/eigen:3 )
151 - calligra_features_words? (
152 - dev-libs/libxslt
153 - okular? ( $(add_kdeapps_dep okular) )
154 - )
155 -"
156 -DEPEND="${COMMON_DEPEND}
157 - dev-libs/boost
158 - sys-devel/gettext
159 - x11-misc/shared-mime-info
160 - test? ( $(add_frameworks_dep threadweaver) )
161 -"
162 -RDEPEND="${COMMON_DEPEND}
163 - calligra_features_karbon? ( media-gfx/pstoedit[plotutils] )
164 - !app-office/calligra:4
165 - !app-office/calligra-l10n:4
166 -"
167 -RESTRICT+=" test"
168 -
169 -PATCHES=( "${FILESDIR}/${PN}"-3.0.0-no-arch-detection.patch )
170 -
171 -pkg_pretend() {
172 - check-reqs_pkg_pretend
173 -}
174 -
175 -pkg_setup() {
176 - kde5_pkg_setup
177 - check-reqs_pkg_setup
178 -}
179 -
180 -src_prepare() {
181 - kde5_src_prepare
182 -
183 - if ! use test; then
184 - sed -e "/add_subdirectory( *benchmarks *)/s/^/#DONT/" \
185 - -i libs/pigment/CMakeLists.txt || die
186 - fi
187 -
188 - # Unconditionally disable deprecated deps (required by QtQuick1)
189 - punt_bogus_dep Qt5 Declarative
190 - punt_bogus_dep Qt5 OpenGL
191 -
192 - if ! use calligra_experimental_features_stage && \
193 - ! use calligra_experimental_features_braindump; then
194 - punt_bogus_dep Qt5 WebKitWidgets
195 - punt_bogus_dep Qt5 WebKit
196 - fi
197 -
198 - # Hack around the excessive use of CMake macros
199 - if use okular && ! use calligra_features_words; then
200 - sed -i -e "/add_subdirectory( *okularodtgenerator *)/ s/^/#DONT/" \
201 - extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODT"
202 - fi
203 -
204 - if use okular && ! use calligra_experimental_features_stage; then
205 - sed -i -e "/add_subdirectory( *okularodpgenerator *)/ s/^/#DONT/" \
206 - extras/CMakeLists.txt || die "Failed to disable OKULAR_GENERATOR_ODP"
207 - fi
208 -}
209 -
210 -src_configure() {
211 - local cal_ft myproducts experimental=OFF
212 -
213 - # applications
214 - for cal_ft in ${CAL_FTS[@]}; do
215 - if use calligra_features_${cal_ft} ; then
216 - myproducts+=( "${cal_ft^^}" )
217 - fi
218 - done
219 - # experimental/unmaintained applications
220 - for cal_ft in ${CAL_EXP_FTS[@]}; do
221 - if use calligra_experimental_features_${cal_ft} ; then
222 - experimental=ON
223 - myproducts+=( "${cal_ft^^}" )
224 - fi
225 - done
226 -
227 - use lcms && myproducts+=( PLUGIN_COLORENGINES )
228 - use spacenav && myproducts+=( PLUGIN_SPACENAVIGATOR )
229 -
230 - local mycmakeargs=( -DPRODUCTSET="${myproducts[*]}" )
231 -
232 - if [[ ${KDE_BUILD_TYPE} == release ]] ; then
233 - mycmakeargs+=(
234 - -DRELEASE_BUILD=ON
235 - -DBUILD_UNMAINTAINED=${experimental}
236 - )
237 - fi
238 -
239 - use calligra_features_karbon && \
240 - mycmakeargs+=( $(cmake-utils_use_find_package jpeg2k OpenJPEG) )
241 -
242 - mycmakeargs+=(
243 - -DPACKAGERS_BUILD=OFF
244 - -DWITH_Iconv=ON
245 - $(cmake-utils_use_find_package activities KF5Activities)
246 - -DWITH_Qca-qt5=$(usex crypt)
247 - -DWITH_Fontconfig=$(usex fontconfig)
248 - -DWITH_GSL=$(usex gsl)
249 - -DWITH_LibEtonyek=$(usex import-filter)
250 - -DWITH_LibOdfGen=$(usex import-filter)
251 - -DWITH_LibRevenge=$(usex import-filter)
252 - -DWITH_LibVisio=$(usex import-filter)
253 - -DWITH_LibWpd=$(usex import-filter)
254 - -DWITH_LibWpg=$(usex import-filter)
255 - -DWITH_LibWps=$(usex import-filter)
256 - $(cmake-utils_use_find_package phonon Phonon4Qt5)
257 - $(cmake-utils_use_find_package pim KF5CalendarCore)
258 - $(cmake-utils_use_find_package pim KF5Contacts)
259 - -DWITH_LCMS2=$(usex lcms)
260 - -DWITH_Okular5=$(usex okular)
261 - -DWITH_OpenEXR=$(usex openexr)
262 - -DWITH_Poppler=$(usex pdf)
263 - -DWITH_Eigen3=$(usex calligra_features_sheets)
264 - -ENABLE_CSTESTER_TESTING=$(usex test)
265 - -DWITH_Freetype=$(usex truetype)
266 - -DWITH_Vc=OFF
267 - -DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON
268 - -DCMAKE_DISABLE_FIND_PACKAGE_Libqgit2=ON
269 - )
270 -
271 - kde5_src_configure
272 -}
273
274 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
275 deleted file mode 100644
276 index 1c544e9277d..00000000000
277 --- a/app-office/calligra/files/calligra-3.0.0-no-arch-detection.patch
278 +++ /dev/null
279 @@ -1,17 +0,0 @@
280 -Avoid automagic CXXFLAG detection courtesy of dev-libs/vc.
281 -
282 -Gentoo-bug: 584118
283 -
284 ---- a/CMakeLists.txt
285 -+++ b/CMakeLists.txt
286 -@@ -617,10 +617,6 @@
287 - endif()
288 - endmacro()
289 -
290 -- if (NOT PACKAGERS_BUILD)
291 -- # Optimize the whole Calligra for current architecture
292 -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Vc_DEFINITIONS}")
293 -- endif ()
294 - endif()
295 - set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH} )
296 -