Gentoo Archives: gentoo-commits

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