Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/calligra: calligra-2.7.5.ebuild ChangeLog
Date: Sat, 30 Nov 2013 23:43:24
Message-Id: 20131130234320.BC33C2004B@flycatcher.gentoo.org
1 johu 13/11/30 23:43:20
2
3 Modified: ChangeLog
4 Added: calligra-2.7.5.ebuild
5 Log:
6 Version bump wrt bug #492726.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
9
10 Revision Changes Path
11 1.100 app-office/calligra/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/ChangeLog?rev=1.100&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/ChangeLog?rev=1.100&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/ChangeLog?r1=1.99&r2=1.100
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v
20 retrieving revision 1.99
21 retrieving revision 1.100
22 diff -u -r1.99 -r1.100
23 --- ChangeLog 19 Oct 2013 17:54:57 -0000 1.99
24 +++ ChangeLog 30 Nov 2013 23:43:20 -0000 1.100
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-office/calligra
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.99 2013/10/19 17:54:57 johu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.100 2013/11/30 23:43:20 johu Exp $
30 +
31 +*calligra-2.7.5 (30 Nov 2013)
32 +
33 + 30 Nov 2013; Johannes Huber <johu@g.o> +calligra-2.7.5.ebuild:
34 + Version bump wrt bug #492726.
35
36 19 Oct 2013; Johannes Huber <johu@g.o> metadata.xml:
37 Fix typo reported by buscher on irc.
38
39
40
41 1.1 app-office/calligra/calligra-2.7.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/calligra-2.7.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/calligra/calligra-2.7.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: calligra-2.7.5.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-2.7.5.ebuild,v 1.1 2013/11/30 23:43:20 johu Exp $
51
52 # note: files that need to be checked for dependencies etc:
53 # CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt
54 # krita/CMakeLists.txt
55
56 EAPI=5
57
58 KDE_MINIMAL=4.6.4
59 QT_MINIMAL=4.8.1
60 OPENGL_REQUIRED=optional
61
62 KDE_HANDBOOK=optional
63
64 KDE_LINGUAS_LIVE_OVERRIDE=true
65 inherit kde4-base versionator
66
67 DESCRIPTION="KDE Office Suite"
68 HOMEPAGE="http://www.calligra.org/"
69
70 case ${PV} in
71 2.[456789].[789]?)
72 # beta or rc releases
73 SRC_URI="mirror://kde/unstable/${P}/${P}.tar.xz" ;;
74 2.[456789].?)
75 # stable releases
76 SRC_URI="mirror://kde/stable/${P}/${P}.tar.xz" ;;
77 2.[456789].9999)
78 # stable branch live ebuild
79 SRC_URI="" ;;
80 9999)
81 # master branch live ebuild
82 SRC_URI="" ;;
83 esac
84
85 LICENSE="GPL-2"
86 SLOT="4"
87
88 # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
89 [[ ${PV} == *9999 ]] || \
90 KEYWORDS="~amd64 ~x86"
91
92 IUSE="attica +crypt +eigen +exif fftw +fontconfig freetds +gif glew +glib +gsf
93 gsl +jpeg jpeg2k +kdcraw kde kdepim +lcms marble mysql +okular opengtl openexr
94 +pdf postgres semantic-desktop spacenav +ssl sybase test tiff +threads
95 +truetype vc word-perfect xbase +xml +xslt"
96
97 # please do not sort here, order is same as in CMakeLists.txt
98 CAL_FTS="author kexi words flow plan stage sheets krita karbon braindump"
99 for cal_ft in ${CAL_FTS}; do
100 IUSE+=" calligra_features_${cal_ft}"
101 done
102 unset cal_ft
103
104 REQUIRED_USE="
105 calligra_features_author? ( calligra_features_words )
106 calligra_features_kexi? ( calligra_features_sheets )
107 calligra_features_words? ( calligra_features_sheets )
108 calligra_features_krita? ( eigen exif lcms )
109 calligra_features_plan? ( kdepim )
110 calligra_features_sheets? ( eigen )
111 kdepim? ( semantic-desktop )
112 vc? ( calligra_features_krita )
113 test? ( calligra_features_karbon )
114 "
115
116 RDEPEND="
117 !app-office/karbon
118 !app-office/kexi
119 !app-office/koffice-data
120 !app-office/koffice-l10n
121 !app-office/koffice-libs
122 !app-office/koffice-meta
123 !app-office/kplato
124 !app-office/kpresenter
125 !app-office/krita
126 !app-office/kspread
127 !app-office/kword
128 $(add_kdebase_dep kdelibs 'semantic-desktop?')
129 dev-lang/perl
130 dev-libs/boost
131 dev-libs/libxml2
132 $(add_kdebase_dep knewstuff)
133 media-libs/libpng
134 sys-libs/zlib
135 >=dev-qt/qtgui-4.8.1-r1:4
136 virtual/libiconv
137 attica? ( dev-libs/libattica )
138 crypt? ( app-crypt/qca:2 )
139 eigen? ( dev-cpp/eigen:2 )
140 exif? ( media-gfx/exiv2 )
141 fftw? ( sci-libs/fftw:3.0 )
142 fontconfig? ( media-libs/fontconfig )
143 freetds? ( dev-db/freetds )
144 gif? ( media-libs/giflib )
145 glew? ( media-libs/glew )
146 glib? ( dev-libs/glib:2 )
147 gsf? ( gnome-extra/libgsf )
148 gsl? ( sci-libs/gsl )
149 jpeg? ( virtual/jpeg:0 )
150 jpeg2k? ( media-libs/openjpeg:0 )
151 kdcraw? ( $(add_kdebase_dep libkdcraw) )
152 kde? ( $(add_kdebase_dep kactivities) )
153 kdepim? ( $(add_kdebase_dep kdepimlibs) )
154 lcms? ( media-libs/lcms:2 )
155 marble? ( $(add_kdebase_dep marble) )
156 mysql? ( virtual/mysql )
157 okular? ( $(add_kdebase_dep okular) )
158 opengl? ( virtual/glu )
159 opengtl? ( >=media-libs/opengtl-0.9.15 )
160 openexr? ( media-libs/openexr )
161 pdf? (
162 app-text/poppler:=
163 media-gfx/pstoedit
164 )
165 postgres? (
166 dev-db/postgresql-base
167 dev-libs/libpqxx
168 )
169 semantic-desktop? (
170 dev-libs/soprano
171 )
172 spacenav? ( dev-libs/libspnav )
173 ssl? ( dev-libs/openssl )
174 sybase? ( dev-db/freetds )
175 tiff? ( media-libs/tiff )
176 truetype? ( media-libs/freetype:2 )
177 vc? ( dev-libs/vc )
178 word-perfect? (
179 app-text/libwpd
180 app-text/libwps
181 app-text/libwpg
182 )
183 xbase? ( dev-db/xbase )
184 xslt? ( dev-libs/libxslt )
185 calligra_features_kexi? (
186 >=dev-db/sqlite-3.7.9:3[extensions(+)]
187 dev-libs/icu:=
188 )
189 "
190 DEPEND="${RDEPEND}"
191
192 [[ ${PV} == 9999 ]] && LANGVERSION="2.4" || LANGVERSION="$(get_version_component_range 1-2)"
193 PDEPEND=">=app-office/calligra-l10n-${LANGVERSION}"
194
195 RESTRICT=test
196 # bug 394273
197
198 src_configure() {
199 local cal_ft
200
201 # first write out things we want to hard-enable
202 local mycmakeargs=(
203 "-DIHAVEPATCHEDQT=ON"
204 "-DWITH_Boost=ON"
205 "-DWITH_LibXml2=ON"
206 "-DWITH_PNG=ON"
207 "-DWITH_ZLIB=ON"
208 "-DGHNS=ON"
209 "-DWITH_X11=ON"
210 "-DWITH_Qt4=ON"
211 "-DBUILD_libmsooxml=ON" # only internal code, no deps
212 "-DWITH_Iconv=ON" # available on all supported arches and many more
213 )
214
215 # default disablers
216 mycmakeargs+=(
217 "-DBUILD_mobile=OFF" # we dont support mobile gui, maybe arm could
218 "-DBUILD_active=OFF" # we dont support active gui, maybe arm could
219 "-DWITH_LCMS=OFF" # we use lcms:2
220 "-DCREATIVEONLY=OFF"
221 "-DPACKAGERS_BUILD=OFF"
222 "-DWITH_TINY=OFF"
223 "-DWITH_CreateResources=OFF" # NOT PACKAGED: http://create.freedesktop.org/
224 "-DWITH_DCMTK=OFF" # NOT PACKAGED: http://www.dcmtk.org/dcmtk.php.en
225 "-DQT3SUPPORT=OFF" # Qt5 is on the way!
226 )
227
228 # regular options
229 mycmakeargs+=(
230 $(cmake-utils_use_with attica LibAttica)
231 $(cmake-utils_use_with crypt QCA2)
232 $(cmake-utils_use_with eigen Eigen2)
233 $(cmake-utils_use_with exif Exiv2)
234 $(cmake-utils_use_with fftw FFTW3)
235 $(cmake-utils_use_with fontconfig Fontconfig)
236 $(cmake-utils_use_with freetds FreeTDS)
237 $(cmake-utils_use_with gif GIF2)
238 $(cmake-utils_use_with glew GLEW)
239 $(cmake-utils_use_with glib GLIB2)
240 $(cmake-utils_use_with glib GObject)
241 $(cmake-utils_use_with gsf LIBGSF)
242 $(cmake-utils_use_with gsl GSL)
243 $(cmake-utils_use_with jpeg JPEG)
244 $(cmake-utils_use_with jpeg2k OpenJPEG)
245 $(cmake-utils_use_with kdcraw Kdcraw)
246 $(cmake-utils_use_with kde KActivities)
247 $(cmake-utils_use_with kdepim KdepimLibs)
248 $(cmake-utils_use_with lcms LCMS2)
249 $(cmake-utils_use_with marble Marble)
250 $(cmake-utils_use_with mysql MySQL)
251 $(cmake-utils_use_build mysql mySQL)
252 $(cmake-utils_use_with okular Okular)
253 $(cmake-utils_use_with opengtl OpenCTL)
254 $(cmake-utils_use_with openexr OpenEXR)
255 $(cmake-utils_use_with opengl OpenGL)
256 $(cmake-utils_use_with pdf Poppler)
257 $(cmake-utils_use_with pdf Pstoedit)
258 $(cmake-utils_use_with postgres PostgreSQL)
259 $(cmake-utils_use_build postgres pqxx)
260 $(cmake-utils_use semantic-desktop NEPOMUK)
261 $(cmake-utils_use_with semantic-desktop Soprano)
262 $(cmake-utils_use_with spacenav Spnav)
263 $(cmake-utils_use_with ssl OpenSSL)
264 $(cmake-utils_use_with sybase FreeTDS)
265 $(cmake-utils_use_build sybase sybase)
266 $(cmake-utils_use_with tiff TIFF)
267 $(cmake-utils_use_with threads Threads)
268 $(cmake-utils_use_with truetype Freetype)
269 $(cmake-utils_use_with vc Vc)
270 $(cmake-utils_use_with word-perfect WPD)
271 $(cmake-utils_use_with word-perfect WPG)
272 $(cmake-utils_use_with xbase XBase)
273 $(cmake-utils_use_build xbase xbase)
274 $(cmake-utils_use_with xslt LibXslt)
275 )
276
277 # applications
278 for cal_ft in ${CAL_FTS}; do
279 mycmakeargs+=( $(cmake-utils_use_build calligra_features_${cal_ft} ${cal_ft}) )
280 done
281 mycmakeargs+=( $(cmake-utils_use_build test cstester) )
282
283 # filters
284
285 kde4-base_src_configure
286 }