1 |
scarabeus 11/12/22 10:52:53 |
2 |
|
3 |
Modified: libreoffice-9999-r2.ebuild ChangeLog |
4 |
Added: libreoffice-3.4.99.2.ebuild |
5 |
Removed: libreoffice-3.4.99.1-r1.ebuild |
6 |
Log: |
7 |
Add beta2, punt beta1 (most build fixes will be in beta3 so the same compile failures are present here). |
8 |
|
9 |
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.19 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.19&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild?rev=1.19&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild?r1=1.18&r2=1.19 |
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.18 |
22 |
retrieving revision 1.19 |
23 |
diff -u -r1.18 -r1.19 |
24 |
--- libreoffice-9999-r2.ebuild 15 Dec 2011 13:01:55 -0000 1.18 |
25 |
+++ libreoffice-9999-r2.ebuild 22 Dec 2011 10:52:53 -0000 1.19 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2011 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.18 2011/12/15 13:01:55 scarabeus Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r2.ebuild,v 1.19 2011/12/22 10:52:53 scarabeus Exp $ |
31 |
|
32 |
EAPI=4 |
33 |
|
34 |
@@ -118,7 +118,10 @@ |
35 |
gnome-base/gconf:2 |
36 |
gnome-base/orbit |
37 |
) |
38 |
- gtk? ( >=x11-libs/gtk+-2.24:2 ) |
39 |
+ gtk? ( |
40 |
+ x11-libs/gdk-pixbuf[X] |
41 |
+ >=x11-libs/gtk+-2.24:2 |
42 |
+ ) |
43 |
gtk3? ( >=x11-libs/gtk+-3.2:3 ) |
44 |
graphite? ( media-gfx/graphite2 ) |
45 |
gstreamer? ( |
46 |
|
47 |
|
48 |
|
49 |
1.222 app-office/libreoffice/ChangeLog |
50 |
|
51 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/ChangeLog?rev=1.222&view=markup |
52 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/ChangeLog?rev=1.222&content-type=text/plain |
53 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/ChangeLog?r1=1.221&r2=1.222 |
54 |
|
55 |
Index: ChangeLog |
56 |
=================================================================== |
57 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v |
58 |
retrieving revision 1.221 |
59 |
retrieving revision 1.222 |
60 |
diff -u -r1.221 -r1.222 |
61 |
--- ChangeLog 18 Dec 2011 20:52:15 -0000 1.221 |
62 |
+++ ChangeLog 22 Dec 2011 10:52:53 -0000 1.222 |
63 |
@@ -1,6 +1,14 @@ |
64 |
# ChangeLog for app-office/libreoffice |
65 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
66 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.221 2011/12/18 20:52:15 halcy0n Exp $ |
67 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.222 2011/12/22 10:52:53 scarabeus Exp $ |
68 |
+ |
69 |
+*libreoffice-3.4.99.2 (22 Dec 2011) |
70 |
+ |
71 |
+ 22 Dec 2011; Tomáš Chvátal <scarabeus@g.o> |
72 |
+ -libreoffice-3.4.99.1-r1.ebuild, +libreoffice-3.4.99.2.ebuild, |
73 |
+ libreoffice-9999-r2.ebuild: |
74 |
+ Add beta2, punt beta1 (most build fixes will be in beta3 so the same compile |
75 |
+ failures are present here). |
76 |
|
77 |
18 Dec 2011; Mark Loeser <halcy0n@g.o> libreoffice-3.4.3.2-r1.ebuild: |
78 |
Stable for ppc; bug #387187 |
79 |
|
80 |
|
81 |
|
82 |
1.1 app-office/libreoffice/libreoffice-3.4.99.2.ebuild |
83 |
|
84 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-3.4.99.2.ebuild?rev=1.1&view=markup |
85 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-3.4.99.2.ebuild?rev=1.1&content-type=text/plain |
86 |
|
87 |
Index: libreoffice-3.4.99.2.ebuild |
88 |
=================================================================== |
89 |
# Copyright 1999-2011 Gentoo Foundation |
90 |
# Distributed under the terms of the GNU General Public License v2 |
91 |
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.4.99.2.ebuild,v 1.1 2011/12/22 10:52:53 scarabeus Exp $ |
92 |
|
93 |
EAPI=4 |
94 |
|
95 |
KDE_REQUIRED="optional" |
96 |
KDE_SCM="git" |
97 |
CMAKE_REQUIRED="never" |
98 |
|
99 |
PYTHON_DEPEND="2" |
100 |
PYTHON_USE_WITH="threads,xml" |
101 |
|
102 |
# experimental ; release ; old |
103 |
# Usually the tarballs are moved a lot so this should make |
104 |
# everyone happy. |
105 |
DEV_URI=" |
106 |
http://dev-builds.libreoffice.org/pre-releases/src |
107 |
http://download.documentfoundation.org/libreoffice/src |
108 |
http://download.documentfoundation.org/libreoffice/old/src |
109 |
" |
110 |
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice" |
111 |
ADDONS_URI="http://dev-www.libreoffice.org/src/" |
112 |
|
113 |
BRANDING="${PN}-branding-gentoo-0.3.tar.xz" |
114 |
# PATCHSET="${P}-patchset-01.tar.xz" |
115 |
|
116 |
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2" |
117 |
inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils prefix python multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS} |
118 |
unset SCM_ECLASS |
119 |
|
120 |
DESCRIPTION="LibreOffice, a full office productivity suite." |
121 |
HOMEPAGE="http://www.libreoffice.org" |
122 |
SRC_URI="branding? ( http://dev.gentooexperimental.org/~scarabeus/${BRANDING} )" |
123 |
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}" |
124 |
|
125 |
# Split modules following git/tarballs |
126 |
# Core MUST be first! |
127 |
MODULES="core binfilter" |
128 |
# Only release has the tarballs |
129 |
if [[ ${PV} != *9999* ]]; then |
130 |
for i in ${DEV_URI}; do |
131 |
for mod in ${MODULES}; do |
132 |
if [[ ${mod} == binfilter ]]; then |
133 |
SRC_URI+=" binfilter? ( ${i}/${PN}-${mod}-${PV}.tar.xz )" |
134 |
else |
135 |
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz" |
136 |
fi |
137 |
done |
138 |
unset mod |
139 |
done |
140 |
unset i |
141 |
fi |
142 |
unset DEV_URI |
143 |
|
144 |
# Really required addons |
145 |
# These are bundles that can't be removed for now due to huge patchsets. |
146 |
# If you want them gone, patches are welcome. |
147 |
ADDONS_SRC+=" ${ADDONS_URI}/ea91f2fb4212a21d708aced277e6e85a-vigra1.4.0.tar.gz" |
148 |
ADDONS_SRC+=" xmlsec? ( ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz )" |
149 |
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )" |
150 |
ADDONS_SRC+=" java? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" |
151 |
ADDONS_SRC+=" java? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" |
152 |
ADDONS_SRC+=" java? ( ${ADDONS_URI}/ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip )" |
153 |
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" |
154 |
SRC_URI+=" ${ADDONS_SRC}" |
155 |
|
156 |
unset ADDONS_URI |
157 |
unset EXT_URI |
158 |
unset ADDONS_SRC |
159 |
|
160 |
IUSE="binfilter +branding dbus debug eds gnome +graphite gstreamer +gtk gtk3 |
161 |
+jemalloc kde mysql +nsplugin odk opengl pdfimport postgres svg test +vba |
162 |
+webdav +xmlsec" |
163 |
LICENSE="LGPL-3" |
164 |
SLOT="0" |
165 |
[[ ${PV} == *9999* ]] || KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
166 |
|
167 |
NSS_DEPEND=" |
168 |
>=dev-libs/nspr-4.8.8 |
169 |
>=dev-libs/nss-3.12.9 |
170 |
" |
171 |
|
172 |
COMMON_DEPEND=" |
173 |
app-arch/zip |
174 |
app-arch/unzip |
175 |
>=app-text/hunspell-1.3.2-r3 |
176 |
app-text/mythes |
177 |
>=app-text/libexttextcat-3.2 |
178 |
app-text/libwpd:0.9[tools] |
179 |
app-text/libwpg:0.2 |
180 |
>=app-text/libwps-0.2.2 |
181 |
dev-cpp/libcmis |
182 |
dev-db/unixODBC |
183 |
dev-libs/expat |
184 |
>=dev-libs/glib-2.28 |
185 |
>=dev-libs/hyphen-2.7.1 |
186 |
>=dev-libs/icu-4.8.1-r1 |
187 |
>=dev-lang/perl-5.0 |
188 |
>=dev-libs/openssl-1.0.0d |
189 |
>=dev-libs/redland-1.0.14[ssl] |
190 |
>=media-libs/fontconfig-2.8.0 |
191 |
media-libs/freetype:2 |
192 |
>=media-libs/libpng-1.4 |
193 |
media-libs/libvisio |
194 |
net-print/cups |
195 |
sci-mathematics/lpsolve |
196 |
>=sys-libs/db-4.8 |
197 |
virtual/jpeg |
198 |
>=x11-libs/cairo-1.10.0 |
199 |
x11-libs/libXinerama |
200 |
x11-libs/libXrandr |
201 |
x11-libs/libXrender |
202 |
dbus? ( >=dev-libs/dbus-glib-0.92 ) |
203 |
eds? ( gnome-extra/evolution-data-server ) |
204 |
gnome? ( |
205 |
gnome-base/gconf:2 |
206 |
gnome-base/orbit |
207 |
) |
208 |
gtk? ( >=x11-libs/gtk+-2.24:2 ) |
209 |
gtk3? ( >=x11-libs/gtk+-3.2:3 ) |
210 |
graphite? ( media-gfx/graphite2 ) |
211 |
gstreamer? ( |
212 |
>=media-libs/gstreamer-0.10 |
213 |
>=media-libs/gst-plugins-base-0.10 |
214 |
) |
215 |
java? ( |
216 |
>=dev-java/bsh-2.0_beta4 |
217 |
dev-java/lucene:2.9 |
218 |
dev-java/lucene-analyzers:2.3 |
219 |
) |
220 |
jemalloc? ( dev-libs/jemalloc ) |
221 |
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 ) |
222 |
opengl? ( virtual/opengl ) |
223 |
pdfimport? ( >=app-text/poppler-0.16[xpdf-headers,cxx] ) |
224 |
postgres? ( >=dev-db/postgresql-base-8.4.0 ) |
225 |
svg? ( gnome-base/librsvg ) |
226 |
webdav? ( net-libs/neon ) |
227 |
xmlsec? ( ${NSS_DEPEND} ) |
228 |
" |
229 |
|
230 |
RDEPEND="${COMMON_DEPEND} |
231 |
!app-office/libreoffice-bin |
232 |
!app-office/openoffice-bin |
233 |
!app-office/openoffice |
234 |
media-fonts/libertine-ttf |
235 |
media-fonts/liberation-fonts |
236 |
java? ( >=virtual/jre-1.6 ) |
237 |
" |
238 |
|
239 |
PDEPEND=" |
240 |
>=app-office/libreoffice-l10n-3.5.0 |
241 |
" |
242 |
|
243 |
# FIXME: cppunit should be moved to test conditional |
244 |
# after everything upstream is under gbuild |
245 |
# as dmake execute tests right away |
246 |
DEPEND="${COMMON_DEPEND} |
247 |
>=dev-libs/boost-1.46 |
248 |
>=dev-libs/libxml2-2.7.8 |
249 |
dev-libs/libxslt |
250 |
dev-perl/Archive-Zip |
251 |
dev-util/cppunit |
252 |
>=dev-util/gperf-3 |
253 |
dev-util/intltool |
254 |
dev-util/mdds |
255 |
>=dev-util/pkgconfig-0.26 |
256 |
media-libs/sampleicc |
257 |
>=net-misc/curl-7.21.4 |
258 |
net-misc/npapi-sdk |
259 |
>=sys-apps/findutils-4.4.2 |
260 |
sys-devel/bison |
261 |
sys-apps/coreutils |
262 |
sys-devel/flex |
263 |
sys-devel/gettext |
264 |
>=sys-devel/make-3.82 |
265 |
sys-libs/zlib |
266 |
x11-libs/libXtst |
267 |
x11-proto/randrproto |
268 |
x11-proto/xextproto |
269 |
x11-proto/xineramaproto |
270 |
x11-proto/xproto |
271 |
java? ( |
272 |
=virtual/jdk-1.6* |
273 |
>=dev-java/ant-core-1.7 |
274 |
test? ( dev-java/junit:4 ) |
275 |
) |
276 |
" |
277 |
|
278 |
PATCHES=( |
279 |
) |
280 |
|
281 |
REQUIRED_USE=" |
282 |
nsplugin? ( gtk ) |
283 |
gnome? ( gtk ) |
284 |
eds? ( gnome ) |
285 |
" |
286 |
|
287 |
S="${WORKDIR}/${PN}-core-${PV}" |
288 |
|
289 |
pkg_pretend() { |
290 |
local pgslot |
291 |
|
292 |
if [[ ${MERGE_TYPE} != binary ]]; then |
293 |
CHECKREQS_MEMORY="512M" |
294 |
use debug && CHECKREQS_DISK_BUILD="10G" || CHECKREQS_DISK_BUILD="6G" |
295 |
check-reqs_pkg_pretend |
296 |
|
297 |
if [[ $(gcc-major-version) -lt 4 ]]; then |
298 |
eerror "Compilation with gcc older than 4.0 is not supported" |
299 |
die "Too old gcc found." |
300 |
fi |
301 |
fi |
302 |
|
303 |
# ensure pg version |
304 |
if use postgres; then |
305 |
pgslot=$(postgresql-config show) |
306 |
if [[ ${pgslot//.} < 90 ]] ; then |
307 |
eerror "PostgreSQL slot must be set to 9.0 or higher." |
308 |
eerror " postgresql-config set 9.0" |
309 |
die "PostgreSQL slot is not set to 9.0 or higher." |
310 |
fi |
311 |
fi |
312 |
} |
313 |
|
314 |
pkg_setup() { |
315 |
java-pkg-opt-2_pkg_setup |
316 |
kde4-base_pkg_setup |
317 |
|
318 |
python_set_active_version 2 |
319 |
python_pkg_setup |
320 |
|
321 |
if ! use gtk; then |
322 |
ewarn "If you want the LibreOffice systray quickstarter to work" |
323 |
ewarn "activate the 'gtk' use flag." |
324 |
ewarn |
325 |
fi |
326 |
} |
327 |
|
328 |
src_unpack() { |
329 |
local mod dest tmplfile tmplname mypv |
330 |
|
331 |
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET} |
332 |
if use branding; then |
333 |
unpack "${BRANDING}" |
334 |
fi |
335 |
|
336 |
if [[ ${PV} != *9999* ]]; then |
337 |
for mod in ${MODULES}; do |
338 |
if [[ ${mod} == binfilter ]] && ! use binfilter; then |
339 |
continue |
340 |
fi |
341 |
unpack "${PN}-${mod}-${PV}.tar.xz" |
342 |
if [[ ${mod} != core ]]; then |
343 |
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}" |
344 |
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}" |
345 |
fi |
346 |
done |
347 |
else |
348 |
for mod in ${MODULES}; do |
349 |
if [[ ${mod} == binfilter ]] && ! use binfilter; then |
350 |
continue |
351 |
fi |
352 |
mypv=${PV/.9999} |
353 |
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}" |
354 |
EGIT_PROJECT="${PN}/${mod}" |
355 |
EGIT_SOURCEDIR="${WORKDIR}/${PN}-${mod}-${PV}" |
356 |
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}" |
357 |
EGIT_NOUNPACK="true" |
358 |
git-2_src_unpack |
359 |
if [[ ${mod} != core ]]; then |
360 |
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}" |
361 |
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}" |
362 |
fi |
363 |
done |
364 |
unset EGIT_PROJECT EGIT_SOURCEDIR EGIT_REPO_URI EGIT_BRANCH |
365 |
fi |
366 |
} |
367 |
|
368 |
src_prepare() { |
369 |
# optimization flags |
370 |
export ARCH_FLAGS="${CXXFLAGS}" |
371 |
export LINKFLAGSOPTIMIZE="${LDFLAGS}" |
372 |
|
373 |
# patchset |
374 |
if [[ -n ${PATCHSET} ]]; then |
375 |
EPATCH_FORCE="yes" \ |
376 |
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \ |
377 |
EPATCH_SUFFIX="patch" \ |
378 |
epatch |
379 |
fi |
380 |
|
381 |
base_src_prepare |
382 |
eautoreconf |
383 |
# hack in the autogen.sh |
384 |
touch autogen.lastrun |
385 |
} |
386 |
|
387 |
src_configure() { |
388 |
local java_opts |
389 |
local internal_libs |
390 |
local themes="default" |
391 |
local jbs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}") |
392 |
|
393 |
# recheck that there is some value in jobs |
394 |
[[ -z ${jbs} ]] && jbs="1" |
395 |
|
396 |
# expand themes we are going to build based on DE useflags |
397 |
use gnome && themes+=" tango" |
398 |
use kde && themes+=" oxygen" |
399 |
|
400 |
# sane: just sane.h header that is used for scan in writer, not |
401 |
# linked or anything else, worthless to depend on |
402 |
# vigra: just uses templates from there |
403 |
# it is serious pain in the ass for packaging |
404 |
# should be replaced by boost::gil if someone interested |
405 |
internal_libs+=" |
406 |
--without-system-sane |
407 |
--without-system-vigra |
408 |
" |
409 |
|
410 |
if use java; then |
411 |
# hsqldb: system one is too new |
412 |
# saxon: system one does not work properly |
413 |
java_opts=" |
414 |
--without-system-hsqldb |
415 |
--without-system-saxon |
416 |
--with-ant-home="${ANT_HOME}" |
417 |
--with-jdk-home=$(java-config --jdk-home 2>/dev/null) |
418 |
--with-java-target-version=$(java-pkg_get-target) |
419 |
--with-jvm-path="${EPREFIX}/usr/$(get_libdir)/" |
420 |
--with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) |
421 |
--with-lucene-core-jar=$(java-pkg_getjar lucene-2.9 lucene-core.jar) |
422 |
--with-lucene-analyzers-jar=$(java-pkg_getjar lucene-analyzers-2.3 lucene-analyzers.jar) |
423 |
" |
424 |
if use test; then |
425 |
java_opts+=" --with-junit=$(java-pkg_getjar junit-4 junit.jar)" |
426 |
else |
427 |
java_opts+=" --without-junit" |
428 |
fi |
429 |
fi |
430 |
|
431 |
if use branding; then |
432 |
internal_libs+=" |
433 |
--with-about-bitmap="${WORKDIR}/branding-about.png" |
434 |
--with-intro-bitmap="${WORKDIR}/branding-intro.png" |
435 |
" |
436 |
fi |
437 |
|
438 |
# system headers/libs/...: enforce using system packages |
439 |
# --enable-unix-qstart-libpng: use libpng splashscreen that is faster |
440 |
# --enable-cairo: ensure that cairo is always required |
441 |
# --enable-*-link: link to the library rather than just dlopen on runtime |
442 |
# --enable-release-build: build the libreoffice as release |
443 |
# --disable-fetch-external: prevent dowloading during compile phase |
444 |
# --disable-gnome-vfs: old gnome virtual fs support |
445 |
# --disable-kdeab: kde3 adressbook |
446 |
# --disable-kde: kde3 support |
447 |
# --disable-ldap: ldap requires internal mozilla stuff, same like mozab |
448 |
# --disable-mozilla: disable mozilla build that is used for adresbook, not |
449 |
# affecting the nsplugin that is always ON |
450 |
# --disable-pch: precompiled headers cause build crashes |
451 |
# --disable-rpath: relative runtime path is not desired |
452 |
# --disable-static-gtk: ensure that gtk is linked dynamically |
453 |
# --disable-ugly: disable ugly pieces of code |
454 |
# --disable-zenity: disable build icon |
455 |
# --enable-extension-integration: enable any extension integration support |
456 |
# --with-{max-jobs,num-cpus}: ensuring parallel building |
457 |
# --without-{afms,fonts,myspell-dicts,ppsd}: prevent install of sys pkgs |
458 |
# --without-stlport: disable deprecated extensions framework |
459 |
# --disable-ext-report-builder: too much java packages pulled in |
460 |
econf \ |
461 |
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \ |
462 |
--with-system-headers \ |
463 |
--with-system-libs \ |
464 |
--with-system-jars \ |
465 |
--with-system-dicts \ |
466 |
--enable-cairo-canvas \ |
467 |
--enable-largefile \ |
468 |
--enable-python=system \ |
469 |
--enable-randr \ |
470 |
--enable-randr-link \ |
471 |
--enable-release-build \ |
472 |
--enable-unix-qstart-libpng \ |
473 |
--disable-ccache \ |
474 |
--disable-crashdump \ |
475 |
--disable-dependency-tracking \ |
476 |
--disable-epm \ |
477 |
--disable-fetch-external \ |
478 |
--disable-gnome-vfs \ |
479 |
--disable-ext-report-builder \ |
480 |
--disable-kdeab \ |
481 |
--disable-kde \ |
482 |
--disable-ldap \ |
483 |
--disable-mozilla \ |
484 |
--disable-online-update \ |
485 |
--disable-pch \ |
486 |
--disable-rpath \ |
487 |
--disable-static-gtk \ |
488 |
--disable-strip-solver \ |
489 |
--disable-ugly \ |
490 |
--disable-zenity \ |
491 |
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \ |
492 |
--with-build-version="Gentoo official package" \ |
493 |
--enable-extension-integration \ |
494 |
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \ |
495 |
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \ |
496 |
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \ |
497 |
--with-external-tar="${DISTDIR}" \ |
498 |
--with-lang="" \ |
499 |
--with-max-jobs=${jbs} \ |
500 |
--with-num-cpus=${jbs} \ |
501 |
--with-theme="${themes}" \ |
502 |
--with-unix-wrapper=libreoffice \ |
503 |
--with-vendor="Gentoo Foundation" \ |
504 |
--with-x \ |
505 |
--without-afms \ |
506 |
--without-fonts \ |
507 |
--without-myspell-dicts \ |
508 |
--without-ppds \ |
509 |
--without-stlport \ |
510 |
--without-system-mozilla \ |
511 |
--without-help \ |
512 |
--without-helppack-integration \ |
513 |
--without-sun-templates \ |
514 |
$(use_enable binfilter) \ |
515 |
$(use_enable dbus) \ |
516 |
$(use_enable debug crashdump) \ |
517 |
$(use_enable eds evolution2) \ |
518 |
$(use_enable gnome gconf) \ |
519 |
$(use_enable gnome gio) \ |
520 |
$(use_enable gnome lockdown) \ |
521 |
$(use_enable graphite) \ |
522 |
$(use_enable gstreamer) \ |
523 |
$(use_enable gtk) \ |
524 |
$(use_enable gtk3) \ |
525 |
$(use_enable gtk systray) \ |
526 |
$(use_enable java ext-scripting-beanshell) \ |
527 |
$(use_enable kde kde4) \ |
528 |
$(use_enable mysql ext-mysql-connector) \ |
529 |
$(use_enable nsplugin) \ |
530 |
$(use_enable odk) \ |
531 |
$(use_enable opengl) \ |
532 |
$(use_enable pdfimport ext-pdfimport) \ |
533 |
$(use_enable postgres ext-postgresql-sdbc) \ |
534 |
$(use_enable svg librsvg system) \ |
535 |
$(use_enable test linkoo) \ |
536 |
$(use_enable vba) \ |
537 |
$(use_enable vba activex-component) \ |
538 |
$(use_enable webdav neon) \ |
539 |
$(use_enable xmlsec) \ |
540 |
$(use_with java) \ |
541 |
$(use_with mysql system-mysql-cppconn) \ |
542 |
${internal_libs} \ |
543 |
${java_opts} |
544 |
} |
545 |
|
546 |
src_compile() { |
547 |
# this is not a proper make script and the jobs are passed during configure |
548 |
make build || die |
549 |
} |
550 |
|
551 |
src_test() { |
552 |
make check || die |
553 |
} |
554 |
|
555 |
src_install() { |
556 |
# This is not Makefile so no buildserver |
557 |
make DESTDIR="${D}" distro-pack-install -o build -o check || die |
558 |
|
559 |
# Fix bash completion placement |
560 |
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN} |
561 |
rm -rf "${ED}"/etc/ |
562 |
|
563 |
# symlink the nsplugin to system location |
564 |
if use nsplugin; then |
565 |
inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so |
566 |
fi |
567 |
|
568 |
if use branding; then |
569 |
insinto /usr/$(get_libdir)/${PN}/program |
570 |
newins "${WORKDIR}/branding-sofficerc" sofficerc |
571 |
fi |
572 |
} |
573 |
|
574 |
pkg_preinst() { |
575 |
# Cache updates - all handled by kde eclass for all environments |
576 |
kde4-base_pkg_preinst |
577 |
} |
578 |
|
579 |
pkg_postinst() { |
580 |
kde4-base_pkg_postinst |
581 |
|
582 |
pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/libreoffice/program/soffice.bin |
583 |
} |
584 |
|
585 |
pkg_postrm() { |
586 |
kde4-base_pkg_postrm |
587 |
} |