1 |
dilfridge 14/12/28 17:12:34 |
2 |
|
3 |
Modified: libreoffice-9999-r2.ebuild ChangeLog |
4 |
libreoffice-4.3.9999.ebuild |
5 |
Added: libreoffice-4.3.5.2.ebuild |
6 |
Log: |
7 |
Version bump by Andreas Sturmlechner, bug 533160 |
8 |
|
9 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 84AD142F) |
10 |
|
11 |
Revision Changes Path |
12 |
1.234 app-office/libreoffice/libreoffice-9999-r2.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild?rev=1.234&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild?rev=1.234&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild?r1=1.233&r2=1.234 |
17 |
|
18 |
Index: libreoffice-9999-r2.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v |
21 |
retrieving revision 1.233 |
22 |
retrieving revision 1.234 |
23 |
diff -u -r1.233 -r1.234 |
24 |
--- libreoffice-9999-r2.ebuild 28 Dec 2014 14:57:43 -0000 1.233 |
25 |
+++ libreoffice-9999-r2.ebuild 28 Dec 2014 17:12:34 -0000 1.234 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2014 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.233 2014/12/28 14:57:43 titanofold Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.234 2014/12/28 17:12:34 dilfridge Exp $ |
31 |
|
32 |
EAPI=5 |
33 |
|
34 |
@@ -74,7 +74,7 @@ |
35 |
unset ADDONS_SRC |
36 |
|
37 |
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer |
38 |
-+gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc" |
39 |
++gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test vlc" |
40 |
|
41 |
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" |
42 |
# Unpackaged separate extensions: |
43 |
@@ -93,6 +93,8 @@ |
44 |
[[ ${PV} == *9999* ]] || \ |
45 |
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" |
46 |
|
47 |
+# FIXME: collada? ( media-libs/opencollada ) |
48 |
+# how to configure system-collada? |
49 |
COMMON_DEPEND=" |
50 |
${PYTHON_DEPS} |
51 |
app-arch/zip |
52 |
@@ -443,6 +445,7 @@ |
53 |
# --enable-extension-integration: enable any extension integration support |
54 |
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs |
55 |
# --disable-report-builder: too much java packages pulled in without pkgs |
56 |
+ # FIXME: $(use_with collada system-opencollada) |
57 |
econf \ |
58 |
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \ |
59 |
--with-system-headers \ |
60 |
@@ -452,6 +455,7 @@ |
61 |
--enable-cairo-canvas \ |
62 |
--enable-graphite \ |
63 |
--enable-largefile \ |
64 |
+ --enable-mergelibs \ |
65 |
--enable-neon \ |
66 |
--enable-python=system \ |
67 |
--enable-randr \ |
68 |
@@ -468,7 +472,6 @@ |
69 |
--disable-report-builder \ |
70 |
--disable-kdeab \ |
71 |
--disable-kde \ |
72 |
- --disable-mergelibs \ |
73 |
--disable-online-update \ |
74 |
--disable-systray \ |
75 |
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \ |
76 |
@@ -509,7 +512,6 @@ |
77 |
$(use_enable opengl) \ |
78 |
$(use_enable postgres postgresql-sdbc) \ |
79 |
$(use_enable telepathy) \ |
80 |
- $(use_enable vba) \ |
81 |
$(use_enable vlc) \ |
82 |
$(use_with coinmp system-coinmp) \ |
83 |
$(use_with gltf system-libgltf) \ |
84 |
|
85 |
|
86 |
|
87 |
1.597 app-office/libreoffice/ChangeLog |
88 |
|
89 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/ChangeLog?rev=1.597&view=markup |
90 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/ChangeLog?rev=1.597&content-type=text/plain |
91 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/ChangeLog?r1=1.596&r2=1.597 |
92 |
|
93 |
Index: ChangeLog |
94 |
=================================================================== |
95 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v |
96 |
retrieving revision 1.596 |
97 |
retrieving revision 1.597 |
98 |
diff -u -r1.596 -r1.597 |
99 |
--- ChangeLog 28 Dec 2014 14:57:43 -0000 1.596 |
100 |
+++ ChangeLog 28 Dec 2014 17:12:34 -0000 1.597 |
101 |
@@ -1,6 +1,16 @@ |
102 |
# ChangeLog for app-office/libreoffice |
103 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
104 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.596 2014/12/28 14:57:43 titanofold Exp $ |
105 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.597 2014/12/28 17:12:34 dilfridge Exp $ |
106 |
+ |
107 |
+*libreoffice-4.3.5.2 (28 Dec 2014) |
108 |
+ |
109 |
+ 28 Dec 2014; Andreas K. Huettel <dilfridge@g.o> |
110 |
+ +libreoffice-4.3.5.2.ebuild, libreoffice-4.3.9999.ebuild, |
111 |
+ libreoffice-9999-r2.ebuild, |
112 |
+ +files/libreoffice-4.3.5.2-detect-KDE5-fallback-to-KDE4UI.patch, |
113 |
+ +files/libreoffice-4.3.5.2-return-IsUserDefined-w-o-negation.patch, |
114 |
+ +files/libreoffice-4.3.5.2-system-opencollada.patch: |
115 |
+ Version bump by Andreas Sturmlechner, bug 533160 |
116 |
|
117 |
28 Dec 2014; Aaron W. Swenson <titanofold@g.o> |
118 |
libreoffice-4.2.6.3.ebuild, libreoffice-4.2.9999.ebuild, |
119 |
|
120 |
|
121 |
|
122 |
1.9 app-office/libreoffice/libreoffice-4.3.9999.ebuild |
123 |
|
124 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-4.3.9999.ebuild?rev=1.9&view=markup |
125 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-4.3.9999.ebuild?rev=1.9&content-type=text/plain |
126 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-4.3.9999.ebuild?r1=1.8&r2=1.9 |
127 |
|
128 |
Index: libreoffice-4.3.9999.ebuild |
129 |
=================================================================== |
130 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.3.9999.ebuild,v |
131 |
retrieving revision 1.8 |
132 |
retrieving revision 1.9 |
133 |
diff -u -r1.8 -r1.9 |
134 |
--- libreoffice-4.3.9999.ebuild 28 Dec 2014 14:57:43 -0000 1.8 |
135 |
+++ libreoffice-4.3.9999.ebuild 28 Dec 2014 17:12:34 -0000 1.9 |
136 |
@@ -1,6 +1,6 @@ |
137 |
# Copyright 1999-2014 Gentoo Foundation |
138 |
# Distributed under the terms of the GNU General Public License v2 |
139 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.3.9999.ebuild,v 1.8 2014/12/28 14:57:43 titanofold Exp $ |
140 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.3.9999.ebuild,v 1.9 2014/12/28 17:12:34 dilfridge Exp $ |
141 |
|
142 |
EAPI=5 |
143 |
|
144 |
@@ -60,6 +60,8 @@ |
145 |
# If you want them gone, patches are welcome. |
146 |
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz" |
147 |
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code |
148 |
+ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )" |
149 |
+ADDONS_SRC+=" collada? ( ${ADDONS_URI}/OpenCOLLADA-master-6509aa13af.tar.bz2 )" |
150 |
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )" |
151 |
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it? |
152 |
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all |
153 |
@@ -72,7 +74,7 @@ |
154 |
unset ADDONS_SRC |
155 |
|
156 |
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer |
157 |
-+gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc" |
158 |
++gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test vlc" |
159 |
|
160 |
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" |
161 |
# Unpackaged separate extensions: |
162 |
@@ -91,6 +93,8 @@ |
163 |
[[ ${PV} == *9999* ]] || \ |
164 |
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" |
165 |
|
166 |
+# FIXME: collada? ( media-libs/opencollada ) |
167 |
+# how to configure system-collada? |
168 |
COMMON_DEPEND=" |
169 |
${PYTHON_DEPS} |
170 |
app-arch/zip |
171 |
@@ -144,7 +148,6 @@ |
172 |
x11-libs/libXrender |
173 |
bluetooth? ( net-wireless/bluez ) |
174 |
coinmp? ( sci-libs/coinor-mp ) |
175 |
- collada? ( media-libs/opencollada ) |
176 |
cups? ( net-print/cups ) |
177 |
dbus? ( >=dev-libs/dbus-glib-0.92 ) |
178 |
eds? ( gnome-extra/evolution-data-server ) |
179 |
@@ -244,9 +247,13 @@ |
180 |
# not upstreamable stuff |
181 |
"${FILESDIR}/${PN}-3.7-system-pyuno.patch" |
182 |
|
183 |
- # from master branch |
184 |
+ # from 4.4 branch |
185 |
"${FILESDIR}/${PN}-4.3.1.2-implement--with-system-coinmp.patch" |
186 |
- "${FILESDIR}/${PN}-4.3.4.1-boost-1.56.0.patch" # bug 522178 |
187 |
+ "${FILESDIR}/${PN}-4.3.4.1-boost-1.56.0.patch" # bug 522178 |
188 |
+ "${FILESDIR}/${PN}-4.3.5.2-system-opencollada.patch" |
189 |
+ "${FILESDIR}/${PN}-4.3.5.2-detect-KDE5-fallback-to-KDE4UI.patch" |
190 |
+ |
191 |
+ # from master branch |
192 |
) |
193 |
|
194 |
REQUIRED_USE=" |
195 |
@@ -446,6 +453,7 @@ |
196 |
# --enable-extension-integration: enable any extension integration support |
197 |
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs |
198 |
# --disable-report-builder: too much java packages pulled in without pkgs |
199 |
+ # FIXME: $(use_with collada system-opencollada) |
200 |
econf \ |
201 |
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \ |
202 |
--with-system-headers \ |
203 |
@@ -512,7 +520,6 @@ |
204 |
$(use_enable opengl) \ |
205 |
$(use_enable postgres postgresql-sdbc) \ |
206 |
$(use_enable telepathy) \ |
207 |
- $(use_enable vba) \ |
208 |
$(use_enable vlc) \ |
209 |
$(use_with coinmp system-coinmp) \ |
210 |
$(use_with gltf system-libgltf) \ |
211 |
@@ -583,6 +590,10 @@ |
212 |
# Remove desktop files for support to old installs that can't parse mime |
213 |
rm -rf "${ED}"/usr/share/mimelnk/ |
214 |
|
215 |
+ # FIXME: Hack add missing file |
216 |
+ insinto /usr/$(get_libdir)/${PN}/program |
217 |
+ doins "${S}"/instdir/program/libsaxlo.so |
218 |
+ |
219 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin |
220 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin |
221 |
} |
222 |
|
223 |
|
224 |
|
225 |
1.1 app-office/libreoffice/libreoffice-4.3.5.2.ebuild |
226 |
|
227 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-4.3.5.2.ebuild?rev=1.1&view=markup |
228 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-4.3.5.2.ebuild?rev=1.1&content-type=text/plain |
229 |
|
230 |
Index: libreoffice-4.3.5.2.ebuild |
231 |
=================================================================== |
232 |
# Copyright 1999-2014 Gentoo Foundation |
233 |
# Distributed under the terms of the GNU General Public License v2 |
234 |
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.3.5.2.ebuild,v 1.1 2014/12/28 17:12:34 dilfridge Exp $ |
235 |
|
236 |
EAPI=5 |
237 |
|
238 |
KDE_REQUIRED="optional" |
239 |
QT_MINIMAL="4.7.4" |
240 |
KDE_SCM="git" |
241 |
CMAKE_REQUIRED="never" |
242 |
|
243 |
PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) |
244 |
PYTHON_REQ_USE="threads,xml" |
245 |
|
246 |
# experimental ; release ; old |
247 |
# Usually the tarballs are moved a lot so this should make |
248 |
# everyone happy. |
249 |
DEV_URI=" |
250 |
http://dev-builds.libreoffice.org/pre-releases/src |
251 |
http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/ |
252 |
http://download.documentfoundation.org/libreoffice/old/${PV}/ |
253 |
" |
254 |
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice" |
255 |
ADDONS_URI="http://dev-www.libreoffice.org/src/" |
256 |
|
257 |
BRANDING="${PN}-branding-gentoo-0.8.tar.xz" |
258 |
# PATCHSET="${P}-patchset-01.tar.xz" |
259 |
|
260 |
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2" |
261 |
inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS} |
262 |
unset SCM_ECLASS |
263 |
|
264 |
DESCRIPTION="LibreOffice, a full office productivity suite" |
265 |
HOMEPAGE="http://www.libreoffice.org" |
266 |
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )" |
267 |
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}" |
268 |
|
269 |
# Split modules following git/tarballs |
270 |
# Core MUST be first! |
271 |
# Help is used for the image generator |
272 |
MODULES="core help" |
273 |
# Only release has the tarballs |
274 |
if [[ ${PV} != *9999* ]]; then |
275 |
for i in ${DEV_URI}; do |
276 |
for mod in ${MODULES}; do |
277 |
if [[ ${mod} == core ]]; then |
278 |
SRC_URI+=" ${i}/${P}.tar.xz" |
279 |
else |
280 |
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz" |
281 |
fi |
282 |
done |
283 |
unset mod |
284 |
done |
285 |
unset i |
286 |
fi |
287 |
unset DEV_URI |
288 |
|
289 |
# Really required addons |
290 |
# These are bundles that can't be removed for now due to huge patchsets. |
291 |
# If you want them gone, patches are welcome. |
292 |
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz" |
293 |
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code |
294 |
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2 )" |
295 |
ADDONS_SRC+=" collada? ( ${ADDONS_URI}/OpenCOLLADA-master-6509aa13af.tar.bz2 )" |
296 |
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )" |
297 |
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it? |
298 |
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all |
299 |
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino |
300 |
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable |
301 |
SRC_URI+=" ${ADDONS_SRC}" |
302 |
|
303 |
unset ADDONS_URI |
304 |
unset EXT_URI |
305 |
unset ADDONS_SRC |
306 |
|
307 |
IUSE="bluetooth +branding coinmp collada +cups dbus debug eds firebird gltf gnome gstreamer |
308 |
+gtk gtk3 jemalloc kde mysql odk opengl postgres telepathy test vlc" |
309 |
|
310 |
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" |
311 |
# Unpackaged separate extensions: |
312 |
# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf? |
313 |
# hunart: only on ooo extensions -> fubared download path somewhere on sf |
314 |
# numbertext, typo, validator, watch-window: ^^ |
315 |
# oooblogger: no homepage or anything |
316 |
# Extensions that need extra work: |
317 |
for lo_xt in ${LO_EXTS}; do |
318 |
IUSE+=" libreoffice_extensions_${lo_xt}" |
319 |
done |
320 |
unset lo_xt |
321 |
|
322 |
LICENSE="|| ( LGPL-3 MPL-1.1 )" |
323 |
SLOT="0" |
324 |
[[ ${PV} == *9999* ]] || \ |
325 |
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
326 |
|
327 |
# FIXME: collada? ( media-libs/opencollada ) |
328 |
# how to configure system-collada? |
329 |
COMMON_DEPEND=" |
330 |
${PYTHON_DEPS} |
331 |
app-arch/zip |
332 |
app-arch/unzip |
333 |
>=app-text/hunspell-1.3.2-r3 |
334 |
app-text/mythes |
335 |
>=app-text/libabw-0.1.0 |
336 |
>=app-text/libexttextcat-3.2 |
337 |
>=app-text/libebook-0.1.1 |
338 |
>=app-text/libetonyek-0.1.1 |
339 |
app-text/liblangtag |
340 |
>=app-text/libmspub-0.1.0 |
341 |
>=app-text/libmwaw-0.3.1 |
342 |
>=app-text/libodfgen-0.1.0 |
343 |
app-text/libwpd:0.10[tools] |
344 |
app-text/libwpg:0.3 |
345 |
>=app-text/libwps-0.3.0 |
346 |
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx] |
347 |
>=dev-cpp/clucene-2.3.3.4-r2 |
348 |
dev-cpp/libcmis:0.4 |
349 |
dev-db/unixODBC |
350 |
>=dev-libs/boost-1.46:= |
351 |
dev-libs/expat |
352 |
>=dev-libs/hyphen-2.7.1 |
353 |
>=dev-libs/icu-4.8.1.1:= |
354 |
>=dev-libs/liborcus-0.7.0 |
355 |
>=dev-libs/librevenge-0.0.1 |
356 |
>=dev-libs/nspr-4.8.8 |
357 |
>=dev-libs/nss-3.12.9 |
358 |
>=dev-lang/perl-5.0 |
359 |
>=dev-libs/openssl-1.0.0d:0 |
360 |
>=dev-libs/redland-1.0.16 |
361 |
media-gfx/graphite2 |
362 |
>=media-libs/fontconfig-2.8.0 |
363 |
media-libs/freetype:2 |
364 |
>=media-libs/glew-1.10 |
365 |
>=media-libs/harfbuzz-0.9.18:=[icu(+)] |
366 |
media-libs/lcms:2 |
367 |
>=media-libs/libpng-1.4 |
368 |
>=media-libs/libcdr-0.1.0 |
369 |
>=media-libs/libfreehand-0.1.0 |
370 |
>=media-libs/libvisio-0.1.0 |
371 |
>=net-misc/curl-7.21.4 |
372 |
net-libs/neon |
373 |
net-nds/openldap |
374 |
sci-mathematics/lpsolve |
375 |
virtual/jpeg:0 |
376 |
>=x11-libs/cairo-1.10.0[X] |
377 |
x11-libs/libXinerama |
378 |
x11-libs/libXrandr |
379 |
x11-libs/libXrender |
380 |
bluetooth? ( net-wireless/bluez ) |
381 |
coinmp? ( sci-libs/coinor-mp ) |
382 |
cups? ( net-print/cups ) |
383 |
dbus? ( >=dev-libs/dbus-glib-0.92 ) |
384 |
eds? ( gnome-extra/evolution-data-server ) |
385 |
firebird? ( >=dev-db/firebird-2.5 ) |
386 |
gltf? ( media-libs/libgltf ) |
387 |
gnome? ( gnome-base/gconf:2 ) |
388 |
gtk? ( |
389 |
x11-libs/gdk-pixbuf[X] |
390 |
>=x11-libs/gtk+-2.24:2 |
391 |
) |
392 |
gtk3? ( >=x11-libs/gtk+-3.2:3 ) |
393 |
gstreamer? ( |
394 |
media-libs/gstreamer:1.0 |
395 |
media-libs/gst-plugins-base:1.0 |
396 |
) |
397 |
jemalloc? ( dev-libs/jemalloc ) |
398 |
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 ) |
399 |
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 ) |
400 |
libreoffice_extensions_wiki-publisher? ( |
401 |
dev-java/commons-codec:0 |
402 |
dev-java/commons-httpclient:3 |
403 |
dev-java/commons-lang:2.1 |
404 |
dev-java/commons-logging:0 |
405 |
dev-java/tomcat-servlet-api:3.0 |
406 |
) |
407 |
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 ) |
408 |
opengl? ( |
409 |
virtual/glu |
410 |
virtual/opengl |
411 |
) |
412 |
postgres? ( >=dev-db/postgresql-9.0[kerberos] ) |
413 |
telepathy? ( |
414 |
dev-libs/glib:2 |
415 |
>=net-libs/telepathy-glib-0.18.0 |
416 |
>=x11-libs/gtk+-2.24:2 |
417 |
) |
418 |
" |
419 |
|
420 |
RDEPEND="${COMMON_DEPEND} |
421 |
!app-office/libreoffice-bin |
422 |
!app-office/libreoffice-bin-debug |
423 |
!<app-office/openoffice-bin-3.4.0-r1 |
424 |
!app-office/openoffice |
425 |
media-fonts/libertine-ttf |
426 |
media-fonts/liberation-fonts |
427 |
media-fonts/urw-fonts |
428 |
java? ( >=virtual/jre-1.6 ) |
429 |
vlc? ( media-video/vlc ) |
430 |
" |
431 |
|
432 |
if [[ ${PV} != *9999* ]]; then |
433 |
PDEPEND="~app-office/libreoffice-l10n-${PV}" |
434 |
else |
435 |
# Translations are not reliable on live ebuilds |
436 |
# rather force people to use english only. |
437 |
PDEPEND="!app-office/libreoffice-l10n" |
438 |
fi |
439 |
|
440 |
# FIXME: cppunit should be moved to test conditional |
441 |
# after everything upstream is under gbuild |
442 |
# as dmake execute tests right away |
443 |
DEPEND="${COMMON_DEPEND} |
444 |
>=dev-libs/libatomic_ops-7.2d |
445 |
>=dev-libs/libxml2-2.7.8 |
446 |
dev-libs/libxslt |
447 |
dev-perl/Archive-Zip |
448 |
dev-util/cppunit |
449 |
>=dev-util/gperf-3 |
450 |
dev-util/intltool |
451 |
>=dev-util/mdds-0.10.3:= |
452 |
media-libs/glm |
453 |
net-misc/npapi-sdk |
454 |
>=sys-apps/findutils-4.4.2 |
455 |
sys-devel/bison |
456 |
sys-apps/coreutils |
457 |
sys-devel/flex |
458 |
sys-devel/gettext |
459 |
>=sys-devel/make-3.82 |
460 |
sys-devel/ucpp |
461 |
sys-libs/zlib |
462 |
virtual/pkgconfig |
463 |
x11-libs/libXt |
464 |
x11-libs/libXtst |
465 |
x11-proto/randrproto |
466 |
x11-proto/xextproto |
467 |
x11-proto/xineramaproto |
468 |
x11-proto/xproto |
469 |
java? ( |
470 |
>=virtual/jdk-1.6 |
471 |
>=dev-java/ant-core-1.7 |
472 |
) |
473 |
odk? ( >=app-doc/doxygen-1.8.4 ) |
474 |
test? ( dev-util/cppunit ) |
475 |
" |
476 |
|
477 |
PATCHES=( |
478 |
# not upstreamable stuff |
479 |
"${FILESDIR}/${PN}-3.7-system-pyuno.patch" |
480 |
|
481 |
# from 4.3 branch |
482 |
"${FILESDIR}/${PN}-4.3.5.2-return-IsUserDefined-w-o-negation.patch" # bug 524770 |
483 |
|
484 |
# from 4.4 branch |
485 |
"${FILESDIR}/${PN}-4.3.1.2-implement--with-system-coinmp.patch" |
486 |
"${FILESDIR}/${PN}-4.3.4.1-boost-1.56.0.patch" # bug 522178 |
487 |
"${FILESDIR}/${PN}-4.3.5.2-system-opencollada.patch" |
488 |
"${FILESDIR}/${PN}-4.3.5.2-detect-KDE5-fallback-to-KDE4UI.patch" |
489 |
|
490 |
# from master branch |
491 |
) |
492 |
|
493 |
REQUIRED_USE=" |
494 |
${PYTHON_REQUIRED_USE} |
495 |
bluetooth? ( dbus ) |
496 |
collada? ( gltf ) |
497 |
gnome? ( gtk ) |
498 |
eds? ( gnome ) |
499 |
telepathy? ( gtk ) |
500 |
libreoffice_extensions_nlpsolver? ( java ) |
501 |
libreoffice_extensions_scripting-beanshell? ( java ) |
502 |
libreoffice_extensions_scripting-javascript? ( java ) |
503 |
libreoffice_extensions_wiki-publisher? ( java ) |
504 |
" |
505 |
|
506 |
CHECKREQS_MEMORY="512M" |
507 |
CHECKREQS_DISK_BUILD="6G" |
508 |
|
509 |
pkg_pretend() { |
510 |
local pgslot |
511 |
|
512 |
if [[ ${MERGE_TYPE} != binary ]]; then |
513 |
check-reqs_pkg_pretend |
514 |
|
515 |
if [[ $(gcc-major-version) -lt 4 ]] || \ |
516 |
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \ |
517 |
; then |
518 |
eerror "Compilation with gcc older than 4.6 is not supported" |
519 |
die "Too old gcc found." |
520 |
fi |
521 |
fi |
522 |
|
523 |
# Ensure pg version but we have to be sure the pg is installed (first |
524 |
# install on clean system) |
525 |
if use postgres && has_version dev-db/postgresql; then |
526 |
pgslot=$(postgresql-config show) |
527 |
if [[ ${pgslot//.} < 90 ]] ; then |
528 |
eerror "PostgreSQL slot must be set to 9.0 or higher." |
529 |
eerror " postgresql-config set 9.0" |
530 |
die "PostgreSQL slot is not set to 9.0 or higher." |
531 |
fi |
532 |
fi |
533 |
} |
534 |
|
535 |
pkg_setup() { |
536 |
java-pkg-opt-2_pkg_setup |
537 |
kde4-base_pkg_setup |
538 |
python-single-r1_pkg_setup |
539 |
|
540 |
[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup |
541 |
} |
542 |
|
543 |
src_unpack() { |
544 |
local mod mod2 dest tmplfile tmplname mypv |
545 |
|
546 |
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET} |
547 |
use branding && unpack "${BRANDING}" |
548 |
|
549 |
if [[ ${PV} != *9999* ]]; then |
550 |
unpack "${P}.tar.xz" |
551 |
for mod in ${MODULES}; do |
552 |
[[ ${mod} == core ]] && continue |
553 |
unpack "${PN}-${mod}-${PV}.tar.xz" |
554 |
done |
555 |
else |
556 |
for mod in ${MODULES}; do |
557 |
mypv=${PV/.9999} |
558 |
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}" |
559 |
EGIT_PROJECT="${PN}/${mod}" |
560 |
EGIT_SOURCEDIR="${WORKDIR}/${P}" |
561 |
[[ ${mod} != core ]] && EGIT_SOURCEDIR="${WORKDIR}/${PN}-${mod}-${PV}" |
562 |
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}" |
563 |
EGIT_NOUNPACK="true" |
564 |
git-2_src_unpack |
565 |
if [[ ${mod} != core ]]; then |
566 |
mod2=${mod} |
567 |
# mapping does not match on help |
568 |
[[ ${mod} == help ]] && mod2="helpcontent2" |
569 |
mkdir -p "${S}/${mod2}/" || die |
570 |
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die |
571 |
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}" |
572 |
fi |
573 |
done |
574 |
unset EGIT_PROJECT EGIT_SOURCEDIR EGIT_REPO_URI EGIT_BRANCH |
575 |
fi |
576 |
} |
577 |
|
578 |
src_prepare() { |
579 |
# optimization flags |
580 |
export GMAKE_OPTIONS="${MAKEOPTS}" |
581 |
# System python 2.7 enablement: |
582 |
export PYTHON_CFLAGS=$(python_get_CFLAGS) |
583 |
export PYTHON_LIBS=$(python_get_LIBS) |
584 |
|
585 |
# patchset |
586 |
if [[ -n ${PATCHSET} ]]; then |
587 |
EPATCH_FORCE="yes" \ |
588 |
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \ |
589 |
EPATCH_SUFFIX="patch" \ |
590 |
epatch |
591 |
fi |
592 |
|
593 |
base_src_prepare |
594 |
|
595 |
AT_M4DIR="m4" eautoreconf |
596 |
# hack in the autogen.sh |
597 |
touch autogen.lastrun |
598 |
|
599 |
# system pyuno mess |
600 |
sed \ |
601 |
-e "s:%eprefix%:${EPREFIX}:g" \ |
602 |
-e "s:%libdir%:$(get_libdir):g" \ |
603 |
-i pyuno/source/module/uno.py \ |
604 |
-i scripting/source/pyprov/officehelper.py || die |
605 |
# sed in the tests |
606 |
sed -i \ |
607 |
-e 's#all : build unitcheck#all : build#g' \ |
608 |
solenv/gbuild/Module.mk || die |
609 |
sed -i \ |
610 |
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \ |
611 |
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \ |
612 |
Makefile.in || die |
613 |
|
614 |
if use branding; then |
615 |
# hack... |
616 |
mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die |
617 |
fi |
618 |
} |
619 |
|
620 |
src_configure() { |
621 |
local java_opts |
622 |
local internal_libs |
623 |
local lo_ext |
624 |
local ext_opts |
625 |
local jbs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}") |
626 |
|
627 |
# recheck that there is some value in jobs |
628 |
[[ -z ${jbs} ]] && jbs="1" |
629 |
|
630 |
# sane: just sane.h header that is used for scan in writer, not |
631 |
# linked or anything else, worthless to depend on |
632 |
# vigra: just uses templates from there |
633 |
# it is serious pain in the ass for packaging |
634 |
# should be replaced by boost::gil if someone interested |
635 |
internal_libs+=" |
636 |
--without-system-sane |
637 |
--without-system-vigra |
638 |
" |
639 |
|
640 |
# libreoffice extensions handling |
641 |
for lo_xt in ${LO_EXTS}; do |
642 |
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then |
643 |
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})" |
644 |
else |
645 |
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})" |
646 |
fi |
647 |
done |
648 |
|
649 |
if use java; then |
650 |
# hsqldb: system one is too new |
651 |
java_opts=" |
652 |
--without-junit |
653 |
--without-system-hsqldb |
654 |
--with-ant-home="${ANT_HOME}" |
655 |
--with-jdk-home=$(java-config --jdk-home 2>/dev/null) |
656 |
--with-jvm-path="${EPREFIX}/usr/lib/" |
657 |
" |
658 |
|
659 |
use libreoffice_extensions_scripting-beanshell && \ |
660 |
java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)" |
661 |
|
662 |
use libreoffice_extensions_scripting-javascript && \ |
663 |
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)" |
664 |
|
665 |
if use libreoffice_extensions_wiki-publisher; then |
666 |
java_opts+=" |
667 |
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar) |
668 |
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar) |
669 |
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar) |
670 |
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar) |
671 |
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar) |
672 |
" |
673 |
fi |
674 |
fi |
675 |
|
676 |
# system headers/libs/...: enforce using system packages |
677 |
# --enable-cairo: ensure that cairo is always required |
678 |
# --enable-graphite: disabling causes build breakages |
679 |
# --enable-*-link: link to the library rather than just dlopen on runtime |
680 |
# --enable-release-build: build the libreoffice as release |
681 |
# --disable-fetch-external: prevent dowloading during compile phase |
682 |
# --disable-gnome-vfs: old gnome virtual fs support |
683 |
# --disable-kdeab: kde3 adressbook |
684 |
# --disable-kde: kde3 support |
685 |
# --disable-systray: quickstarter does not actually work at all so do not |
686 |
# promote it |
687 |
# --enable-extension-integration: enable any extension integration support |
688 |
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs |
689 |
# --disable-report-builder: too much java packages pulled in without pkgs |
690 |
# FIXME: $(use_with collada system-opencollada) |
691 |
econf \ |
692 |
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \ |
693 |
--with-system-headers \ |
694 |
--with-system-libs \ |
695 |
--with-system-jars \ |
696 |
--with-system-dicts \ |
697 |
--enable-cairo-canvas \ |
698 |
--enable-graphite \ |
699 |
--enable-largefile \ |
700 |
--enable-neon \ |
701 |
--enable-python=system \ |
702 |
--enable-randr \ |
703 |
--enable-randr-link \ |
704 |
--enable-release-build \ |
705 |
--disable-hardlink-deliver \ |
706 |
--disable-ccache \ |
707 |
--disable-crashdump \ |
708 |
--disable-dependency-tracking \ |
709 |
--disable-epm \ |
710 |
--disable-fetch-external \ |
711 |
--disable-gnome-vfs \ |
712 |
--disable-gstreamer-0-10 \ |
713 |
--disable-mergelibs \ |
714 |
--disable-report-builder \ |
715 |
--disable-kdeab \ |
716 |
--disable-kde \ |
717 |
--disable-online-update \ |
718 |
--disable-systray \ |
719 |
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \ |
720 |
--with-build-version="Gentoo official package" \ |
721 |
--enable-extension-integration \ |
722 |
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \ |
723 |
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \ |
724 |
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \ |
725 |
--with-external-tar="${DISTDIR}" \ |
726 |
--with-lang="" \ |
727 |
--with-parallelism=${jbs} \ |
728 |
--with-system-ucpp \ |
729 |
--with-vendor="Gentoo Foundation" \ |
730 |
--with-x \ |
731 |
--without-fonts \ |
732 |
--without-myspell-dicts \ |
733 |
--without-help \ |
734 |
--with-helppack-integration \ |
735 |
--without-sun-templates \ |
736 |
$(use_enable bluetooth sdremote-bluetooth) \ |
737 |
$(use_enable coinmp) \ |
738 |
$(use_enable collada) \ |
739 |
$(use_enable cups) \ |
740 |
$(use_enable debug) \ |
741 |
$(use_enable dbus) \ |
742 |
$(use_enable eds evolution2) \ |
743 |
$(use_enable firebird firebird-sdbc) \ |
744 |
$(use_enable gltf) \ |
745 |
$(use_enable gnome gconf) \ |
746 |
$(use_enable gnome gio) \ |
747 |
$(use_enable gnome lockdown) \ |
748 |
$(use_enable gstreamer) \ |
749 |
$(use_enable gtk) \ |
750 |
$(use_enable gtk3) \ |
751 |
$(use_enable kde kde4) \ |
752 |
$(use_enable mysql ext-mariadb-connector) \ |
753 |
$(use_enable odk) \ |
754 |
$(use_enable opengl) \ |
755 |
$(use_enable postgres postgresql-sdbc) \ |
756 |
$(use_enable telepathy) \ |
757 |
$(use_enable vlc) \ |
758 |
$(use_with coinmp system-coinmp) \ |
759 |
$(use_with gltf system-libgltf) \ |
760 |
$(use_with java) \ |
761 |
$(use_with mysql system-mysql-cppconn) \ |
762 |
$(use_with odk doxygen) \ |
763 |
${internal_libs} \ |
764 |
${java_opts} \ |
765 |
${ext_opts} |
766 |
} |
767 |
|
768 |
src_compile() { |
769 |
# hack for offlinehelp, this needs fixing upstream at some point |
770 |
# it is broken because we send --without-help |
771 |
# https://bugs.freedesktop.org/show_bug.cgi?id=46506 |
772 |
( |
773 |
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" |
774 |
source "${T}/config_host.mk" 2&> /dev/null |
775 |
|
776 |
local path="${WORKDIR}/helpcontent2/source/auxiliary/" |
777 |
mkdir -p "${path}" || die |
778 |
|
779 |
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\"" |
780 |
perl "${S}/helpcontent2/helpers/create_ilst.pl" \ |
781 |
-dir=icon-themes/galaxy/res/helpimg \ |
782 |
> "${path}/helpimg.ilst" |
783 |
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug." |
784 |
) |
785 |
|
786 |
local target |
787 |
use test && target="build" || target="build-nocheck" |
788 |
|
789 |
# this is not a proper make script |
790 |
make ${target} || die |
791 |
} |
792 |
|
793 |
src_test() { |
794 |
make unitcheck || die |
795 |
make slowcheck || die |
796 |
} |
797 |
|
798 |
src_install() { |
799 |
# This is not Makefile so no buildserver |
800 |
make DESTDIR="${D}" distro-pack-install -o build -o check || die |
801 |
|
802 |
# Fix bash completion placement |
803 |
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN} |
804 |
bashcomp_alias \ |
805 |
libreoffice \ |
806 |
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice |
807 |
rm -rf "${ED}"/etc/ || die |
808 |
|
809 |
if use branding; then |
810 |
insinto /usr/$(get_libdir)/${PN}/program |
811 |
newins "${WORKDIR}/branding-sofficerc" sofficerc |
812 |
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} |
813 |
fi |
814 |
|
815 |
# symlink the nsplugin to proper location |
816 |
# use gtk && inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so |
817 |
|
818 |
# Hack for offlinehelp, this needs fixing upstream at some point. |
819 |
# It is broken because we send --without-help |
820 |
# https://bugs.freedesktop.org/show_bug.cgi?id=46506 |
821 |
insinto /usr/$(get_libdir)/libreoffice/help |
822 |
doins xmlhelp/util/*.xsl |
823 |
|
824 |
# Remove desktop files for support to old installs that can't parse mime |
825 |
rm -rf "${ED}"/usr/share/mimelnk/ |
826 |
|
827 |
# FIXME: Hack add missing file |
828 |
insinto /usr/$(get_libdir)/${PN}/program |
829 |
doins "${S}"/instdir/program/libsaxlo.so |
830 |
|
831 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin |
832 |
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin |
833 |
} |
834 |
|
835 |
pkg_preinst() { |
836 |
# Cache updates - all handled by kde eclass for all environments |
837 |
kde4-base_pkg_preinst |
838 |
} |
839 |
|
840 |
pkg_postinst() { |
841 |
kde4-base_pkg_postinst |
842 |
|
843 |
use java || \ |
844 |
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.' |
845 |
} |
846 |
|
847 |
pkg_postrm() { |
848 |
kde4-base_pkg_postrm |
849 |
} |