1 |
suka 09/08/05 16:07:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openoffice-3.1.1_beta2.ebuild |
5 |
Removed: openoffice-3.1.1_beta1.ebuild |
6 |
Log: |
7 |
Newer beta release for OOo 3.1.1, some more KDE4 fixes |
8 |
(Portage version: 2.2_rc36/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.475 app-office/openoffice/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice/ChangeLog?rev=1.475&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice/ChangeLog?rev=1.475&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice/ChangeLog?r1=1.474&r2=1.475 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v |
20 |
retrieving revision 1.474 |
21 |
retrieving revision 1.475 |
22 |
diff -u -r1.474 -r1.475 |
23 |
--- ChangeLog 5 Aug 2009 11:28:44 -0000 1.474 |
24 |
+++ ChangeLog 5 Aug 2009 16:07:25 -0000 1.475 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for app-office/openoffice |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.474 2009/08/05 11:28:44 suka Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/ChangeLog,v 1.475 2009/08/05 16:07:25 suka Exp $ |
30 |
+ |
31 |
+*openoffice-3.1.1_beta2 (05 Aug 2009) |
32 |
+ |
33 |
+ 05 Aug 2009; Andreas Proschofsky <suka@g.o> |
34 |
+ -openoffice-3.1.1_beta1.ebuild, +openoffice-3.1.1_beta2.ebuild, |
35 |
+ -files/gentoo-3.1.1_beta1.diff, +files/gentoo-3.1.1_beta2.diff: |
36 |
+ Newer beta release for OOo 3.1.1, some more KDE4 fixes thanks to Tomas |
37 |
+ Chvatal <scarabeus@g.o> |
38 |
|
39 |
05 Aug 2009; Andreas Proschofsky <suka@g.o> |
40 |
openoffice-3.1.1_beta1.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-office/openoffice/openoffice-3.1.1_beta2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice/openoffice-3.1.1_beta2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/openoffice/openoffice-3.1.1_beta2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: openoffice-3.1.1_beta2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-3.1.1_beta2.ebuild,v 1.1 2009/08/05 16:07:25 suka Exp $ |
54 |
|
55 |
WANT_AUTOMAKE="1.9" |
56 |
EAPI="2" |
57 |
KDE_REQUIRED="optional" |
58 |
|
59 |
inherit bash-completion check-reqs db-use eutils fdo-mime flag-o-matic java-pkg-opt-2 kde4-base mono multilib toolchain-funcs |
60 |
|
61 |
IUSE="binfilter cups dbus debug eds gnome gstreamer gtk kde ldap mono nsplugin odk opengl pam templates" |
62 |
|
63 |
MY_PV=3.1.0.99.2 |
64 |
PATCHLEVEL=OOO310 |
65 |
SRC=OOo_${PV}_src |
66 |
MST=ooo310-m17 |
67 |
DEVPATH=http://download.go-oo.org/${PATCHLEVEL}/${MST} |
68 |
S=${WORKDIR}/ooo |
69 |
S_OLD=${WORKDIR}/ooo-build-${MY_PV} |
70 |
CONFFILE=${S}/distro-configs/Gentoo.conf.in |
71 |
BASIS=basis3.1 |
72 |
DESCRIPTION="OpenOffice.org, a full office productivity suite." |
73 |
|
74 |
SRC_URI="${DEVPATH}-artwork.tar.bz2 |
75 |
${DEVPATH}-base.tar.bz2 |
76 |
${DEVPATH}-bootstrap.tar.bz2 |
77 |
${DEVPATH}-calc.tar.bz2 |
78 |
${DEVPATH}-components.tar.bz2 |
79 |
${DEVPATH}-extensions.tar.bz2 |
80 |
${DEVPATH}-extras.tar.bz2 |
81 |
${DEVPATH}-filters.tar.bz2 |
82 |
${DEVPATH}-help.tar.bz2 |
83 |
${DEVPATH}-impress.tar.bz2 |
84 |
${DEVPATH}-libs-core.tar.bz2 |
85 |
${DEVPATH}-libs-extern.tar.bz2 |
86 |
${DEVPATH}-libs-extern-sys.tar.bz2 |
87 |
${DEVPATH}-libs-gui.tar.bz2 |
88 |
${DEVPATH}-postprocess.tar.bz2 |
89 |
${DEVPATH}-sdk.tar.bz2 |
90 |
${DEVPATH}-testing.tar.bz2 |
91 |
${DEVPATH}-ure.tar.bz2 |
92 |
${DEVPATH}-writer.tar.bz2 |
93 |
templates? ( http://extensions.services.openoffice.org/files/273/0/Sun_ODF_Template_Pack_en-US.oxt |
94 |
http://extensions.services.openoffice.org/files/295/1/Sun_ODF_Template_Pack_de.oxt |
95 |
http://extensions.services.openoffice.org/files/299/0/Sun_ODF_Template_Pack_it.oxt |
96 |
http://extensions.services.openoffice.org/files/297/0/Sun_ODF_Template_Pack_fr.oxt |
97 |
http://extensions.services.openoffice.org/files/301/1/Sun_ODF_Template_Pack_es.oxt ) |
98 |
http://download.go-oo.org/${PATCHLEVEL}/ooo-build-${MY_PV}.tar.gz |
99 |
odk? ( java? ( http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll ) ) |
100 |
http://download.go-oo.org/SRC680/extras-3.tar.bz2 |
101 |
http://download.go-oo.org/SRC680/biblio.tar.bz2 |
102 |
http://download.go-oo.org/SRC680/lp_solve_5.5.0.12_source.tar.gz |
103 |
http://download.go-oo.org/DEV300/scsolver.2008-10-30.tar.bz2 |
104 |
http://download.go-oo.org/DEV300/ooo_oxygen_images-2009-06-17.tar.gz |
105 |
http://download.go-oo.org/SRC680/libwps-0.1.2.tar.gz |
106 |
http://download.go-oo.org/SRC680/libwpg-0.1.3.tar.gz" |
107 |
|
108 |
LANGS1="af ar as_IN be_BY bg bn br brx bs ca cs cy da de dgo dz el en en_GB en_ZA eo es et eu fa fi fr ga gl gu he hi_IN hr hu id it ja ka kk km kn_IN ko kok ks ku lt mai mk ml_IN mn mni mr_IN nb ne nl nn nr ns oc or_IN pa_IN pl pt pt_BR ru rw sa_IN sat sd sh sk sl sr ss st sv sw_TZ ta ta_IN te_IN tg th ti_ER tn tr ts uk ur_IN uz ve vi xh zh_CN zh_TW zu" |
109 |
LANGS="${LANGS1} en en_US" |
110 |
|
111 |
for X in ${LANGS} ; do |
112 |
IUSE="${IUSE} linguas_${X}" |
113 |
done |
114 |
|
115 |
HOMEPAGE="http://go-oo.org" |
116 |
|
117 |
LICENSE="LGPL-2" |
118 |
SLOT="0" |
119 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
120 |
|
121 |
COMMON_DEPEND="!app-office/openoffice-bin |
122 |
x11-libs/libXaw |
123 |
x11-libs/libXinerama |
124 |
x11-libs/libXrandr |
125 |
>=dev-lang/perl-5.0 |
126 |
>=dev-libs/glib-2.18 |
127 |
dbus? ( >=dev-libs/dbus-glib-0.71 ) |
128 |
gnome? ( >=x11-libs/gtk+-2.10 |
129 |
>=gnome-base/gconf-2.0 |
130 |
>=x11-libs/cairo-1.0.2 ) |
131 |
gtk? ( >=x11-libs/gtk+-2.10 |
132 |
>=x11-libs/cairo-1.0.2 ) |
133 |
eds? ( >=gnome-extra/evolution-data-server-1.2 ) |
134 |
gstreamer? ( >=media-libs/gstreamer-0.10 |
135 |
>=media-libs/gst-plugins-base-0.10 ) |
136 |
java? ( >=dev-java/bsh-2.0_beta4 |
137 |
>=dev-db/hsqldb-1.8.0.9 |
138 |
dev-java/lucene:2.3 |
139 |
dev-java/lucene-analyzers:2.3 |
140 |
dev-java/rhino:1.5 ) |
141 |
mono? ( || ( >dev-lang/mono-2.4-r1 <dev-lang/mono-2.4 ) ) |
142 |
nsplugin? ( || ( net-libs/xulrunner:1.8 net-libs/xulrunner:1.9 =www-client/seamonkey-1* ) |
143 |
>=dev-libs/nspr-4.6.6 |
144 |
>=dev-libs/nss-3.11-r1 ) |
145 |
opengl? ( virtual/opengl |
146 |
virtual/glu ) |
147 |
>=net-misc/neon-0.24.7 |
148 |
>=dev-libs/openssl-0.9.8g |
149 |
>=media-libs/freetype-2.1.10-r2 |
150 |
>=media-libs/fontconfig-2.3.0 |
151 |
cups? ( net-print/cups ) |
152 |
media-libs/jpeg |
153 |
media-libs/libpng |
154 |
app-arch/zip |
155 |
app-arch/unzip |
156 |
>=app-text/hunspell-1.1.4-r1 |
157 |
dev-libs/expat |
158 |
>=dev-libs/icu-4.0 |
159 |
>=sys-libs/db-4.3 |
160 |
>=app-text/libwpd-0.8.8 |
161 |
>=dev-libs/redland-1.0.8 |
162 |
>=media-libs/vigra-1.4 |
163 |
>=virtual/poppler-0.8.0" |
164 |
|
165 |
RDEPEND="java? ( >=virtual/jre-1.5 ) |
166 |
${COMMON_DEPEND}" |
167 |
|
168 |
DEPEND="${COMMON_DEPEND} |
169 |
x11-libs/libXrender |
170 |
x11-libs/libXtst |
171 |
x11-proto/printproto |
172 |
x11-proto/xextproto |
173 |
x11-proto/xproto |
174 |
x11-proto/xineramaproto |
175 |
>=sys-apps/findutils-4.1.20-r1 |
176 |
dev-perl/Archive-Zip |
177 |
virtual/perl-IO-Compress |
178 |
>=virtual/perl-Compress-Raw-Zlib-2.002 |
179 |
dev-util/pkgconfig |
180 |
dev-util/intltool |
181 |
>=dev-libs/boost-1.33.1 |
182 |
sys-devel/flex |
183 |
sys-devel/bison |
184 |
dev-libs/libxslt |
185 |
>=dev-libs/libxml2-2.0 |
186 |
>=dev-util/gperf-3 |
187 |
>=net-misc/curl-7.12 |
188 |
sys-libs/zlib |
189 |
sys-apps/coreutils |
190 |
pam? ( sys-libs/pam |
191 |
sys-apps/shadow[pam] ) |
192 |
>=dev-lang/python-2.3.4[threads] |
193 |
java? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* ) |
194 |
>=dev-java/ant-core-1.7 ) |
195 |
ldap? ( net-nds/openldap )" |
196 |
|
197 |
PROVIDE="virtual/ooo" |
198 |
|
199 |
pkg_setup() { |
200 |
|
201 |
ewarn |
202 |
ewarn " It is important to note that OpenOffice.org is a very fragile " |
203 |
ewarn " build when it comes to CFLAGS. A number of flags have already " |
204 |
ewarn " been filtered out. If you experience difficulty merging this " |
205 |
ewarn " package and use agressive CFLAGS, lower the CFLAGS and try to " |
206 |
ewarn " merge again. Also note that building OOo takes a lot of time and " |
207 |
ewarn " hardware ressources: 4-6 GB free diskspace and 256 MB RAM are " |
208 |
ewarn " the minimum requirements. If you have less, use openoffice-bin " |
209 |
ewarn " instead. " |
210 |
ewarn |
211 |
ewarn " Also if you experience a build break, please make sure to retry " |
212 |
ewarn " with MAKEOPTS="-j1" before filing a bug. " |
213 |
ewarn |
214 |
|
215 |
# Check if we have enough RAM and free diskspace to build this beast |
216 |
CHECKREQS_MEMORY="512" |
217 |
use debug && CHECKREQS_DISK_BUILD="8192" || CHECKREQS_DISK_BUILD="6144" |
218 |
check_reqs |
219 |
|
220 |
strip-linguas ${LANGS} |
221 |
|
222 |
if [[ -z "${LINGUAS}" ]]; then |
223 |
export LINGUAS_OOO="en-US" |
224 |
ewarn |
225 |
ewarn " To get a localized build, set the according LINGUAS variable(s). " |
226 |
ewarn |
227 |
else |
228 |
export LINGUAS_OOO=$(echo ${LINGUAS} | sed -e 's/\ben\b/en_US/g;s/_/-/g') |
229 |
fi |
230 |
|
231 |
if use !java; then |
232 |
ewarn " You are building with java-support disabled, this results in some " |
233 |
ewarn " of the OpenOffice.org functionality being disabled. " |
234 |
ewarn " If something you need does not work for you, rebuild with " |
235 |
ewarn " java in your USE-flags. " |
236 |
ewarn |
237 |
fi |
238 |
|
239 |
if use !gtk && use !gnome; then |
240 |
ewarn " If you want the OpenOffice.org systray quickstarter to work " |
241 |
ewarn " activate either the 'gtk' or 'gnome' use flags. " |
242 |
ewarn |
243 |
fi |
244 |
|
245 |
if is-flagq -ffast-math ; then |
246 |
eerror " You are using -ffast-math, which is known to cause problems. " |
247 |
eerror " Please remove it from your CFLAGS, using this globally causes " |
248 |
eerror " all sorts of problems. " |
249 |
eerror " After that you will also have to - at least - rebuild python otherwise " |
250 |
eerror " the openoffice build will break. " |
251 |
die |
252 |
fi |
253 |
|
254 |
if use nsplugin; then |
255 |
if pkg-config --exists libxul; then |
256 |
BRWS="libxul" |
257 |
elif pkg-config --exists xulrunner-xpcom; then |
258 |
BRWS="xulrunner" |
259 |
elif pkg-config --exists seamonkey-xpcom; then |
260 |
BRWS="seamonkey" |
261 |
else |
262 |
die "USE flag [nsplugin] set but no installed xulrunner or seamonkey found!" |
263 |
fi |
264 |
fi |
265 |
|
266 |
java-pkg-opt-2_pkg_setup |
267 |
|
268 |
# sys-libs/db version used |
269 |
local db_ver=$(db_findver '>=sys-libs/db-4.3') |
270 |
|
271 |
kde4-base_pkg_setup |
272 |
|
273 |
} |
274 |
|
275 |
src_unpack() { |
276 |
|
277 |
unpack ooo-build-${MY_PV}.tar.gz |
278 |
|
279 |
} |
280 |
|
281 |
src_prepare() { |
282 |
|
283 |
# Hackish workaround for overlong path problem, see bug #130837 |
284 |
mv "${S_OLD}" "${S}" || die |
285 |
|
286 |
#Some fixes for our patchset |
287 |
cd "${S}" |
288 |
epatch "${FILESDIR}/gentoo-${PV}.diff" |
289 |
epatch "${FILESDIR}/ooo-env_log.diff" |
290 |
cp -f "${FILESDIR}/base64.diff" "${S}/patches/hotfixes" || die |
291 |
cp -f "${FILESDIR}/xulrunner-1.9.1.diff" "${S}/patches/hotfixes" || die |
292 |
|
293 |
#Use flag checks |
294 |
if use java ; then |
295 |
echo "--with-ant-home=${ANT_HOME}" >> ${CONFFILE} |
296 |
echo "--with-jdk-home=$(java-config --jdk-home 2>/dev/null)" >> ${CONFFILE} |
297 |
echo "--with-java-target-version=$(java-pkg_get-target)" >> ${CONFFILE} |
298 |
echo "--with-jvm-path=/usr/$(get_libdir)/" >> ${CONFFILE} |
299 |
echo "--with-system-beanshell" >> ${CONFFILE} |
300 |
echo "--with-system-hsqldb" >> ${CONFFILE} |
301 |
echo "--with-system-lucene" >> ${CONFFILE} |
302 |
echo "--with-system-rhino" >> ${CONFFILE} |
303 |
echo "--with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)" >> ${CONFFILE} |
304 |
echo "--with-hsqldb-jar=$(java-pkg_getjar hsqldb hsqldb.jar)" >> ${CONFFILE} |
305 |
echo "--with-lucene-core-jar=$(java-pkg_getjar lucene-2.3 lucene-core.jar)" >> ${CONFFILE} |
306 |
echo "--with-lucene-analyzers-jar=$(java-pkg_getjar lucene-analyzers-2.3 lucene-analyzers.jar)" >> ${CONFFILE} |
307 |
echo "--with-rhino-jar=$(java-pkg_getjar rhino-1.5 js.jar)" >> ${CONFFILE} |
308 |
fi |
309 |
|
310 |
if use nsplugin ; then |
311 |
echo "--enable-mozilla" >> ${CONFFILE} |
312 |
echo "--with-system-mozilla=${BRWS}" >> ${CONFFILE} |
313 |
else |
314 |
echo "--disable-mozilla" >> ${CONFFILE} |
315 |
echo "--without-system-mozilla" >> ${CONFFILE} |
316 |
fi |
317 |
|
318 |
echo $(use_enable binfilter) >> ${CONFFILE} |
319 |
echo $(use_enable cups) >> ${CONFFILE} |
320 |
echo $(use_enable dbus) >> ${CONFFILE} |
321 |
echo $(use_enable eds evolution2) >> ${CONFFILE} |
322 |
echo $(use_enable gnome gconf) >> ${CONFFILE} |
323 |
echo $(use_enable gnome gio) >> ${CONFFILE} |
324 |
echo "--disable-gnome-vfs" >> ${CONFFILE} |
325 |
echo $(use_enable gnome lockdown) >> ${CONFFILE} |
326 |
echo $(use_enable gstreamer) >> ${CONFFILE} |
327 |
echo $(use_enable gtk systray) >> ${CONFFILE} |
328 |
echo $(use_enable ldap) >> ${CONFFILE} |
329 |
echo $(use_enable opengl) >> ${CONFFILE} |
330 |
echo $(use_with ldap openldap) >> ${CONFFILE} |
331 |
echo $(use_enable debug crashdump) >> ${CONFFILE} |
332 |
echo $(use_enable debug strip-solver) >> ${CONFFILE} |
333 |
|
334 |
# Extension stuff |
335 |
echo "--with-extension-integration" >> ${CONFFILE} |
336 |
echo "--enable-minimizer" >> ${CONFFILE} |
337 |
echo "--enable-pdfimport" >> ${CONFFILE} |
338 |
echo "--enable-presenter-console" >> ${CONFFILE} |
339 |
|
340 |
echo "--without-writer2latex" >> ${CONFFILE} |
341 |
|
342 |
# Use splash screen without Sun logo |
343 |
echo "--with-intro-bitmaps=\\\"${S}/build/${MST}/ooo_custom_images/nologo/introabout/intro.bmp\\\"" >> ${CONFFILE} |
344 |
|
345 |
# Upstream this |
346 |
echo "--with-system-redland" >> ${CONFFILE} |
347 |
|
348 |
} |
349 |
|
350 |
src_configure() { |
351 |
|
352 |
# Use multiprocessing by default now, it gets tested by upstream |
353 |
export JOBS=$(echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/") |
354 |
|
355 |
# Compile problems with these ... |
356 |
filter-flags "-funroll-loops" |
357 |
filter-flags "-fprefetch-loop-arrays" |
358 |
filter-flags "-fno-default-inline" |
359 |
filter-flags "-ftracer" |
360 |
filter-flags "-fforce-addr" |
361 |
|
362 |
filter-flags "-O[s2-9]" |
363 |
|
364 |
if [[ $(gcc-major-version) -lt 4 ]]; then |
365 |
filter-flags "-fstack-protector" |
366 |
filter-flags "-fstack-protector-all" |
367 |
replace-flags "-fomit-frame-pointer" "-momit-leaf-frame-pointer" |
368 |
fi |
369 |
|
370 |
# Build with NVidia cards breaks otherwise |
371 |
use opengl && append-flags "-DGL_GLEXT_PROTOTYPES" |
372 |
|
373 |
# Now for our optimization flags ... |
374 |
export ARCH_FLAGS="${CXXFLAGS}" |
375 |
use debug || export LINKFLAGSOPTIMIZE="${LDFLAGS}" |
376 |
|
377 |
# Make sure gnome-users get gtk-support |
378 |
local GTKFLAG="--disable-gtk --disable-cairo --without-system-cairo" |
379 |
{ use gtk || use gnome; } && GTKFLAG="--enable-gtk --enable-cairo --with-system-cairo" |
380 |
|
381 |
cd "${S}" |
382 |
./configure --with-distro="Gentoo" \ |
383 |
--with-arch="${ARCH}" \ |
384 |
--with-srcdir="${DISTDIR}" \ |
385 |
--with-lang="${LINGUAS_OOO}" \ |
386 |
--with-num-cpus="${JOBS}" \ |
387 |
--without-binsuffix \ |
388 |
--with-installed-ooo-dirname="openoffice" \ |
389 |
--with-tag="${MST}" \ |
390 |
--with-drink="True Blood" \ |
391 |
${GTKFLAG} \ |
392 |
$(use_enable mono) \ |
393 |
--disable-kde \ |
394 |
$(use_enable kde kde4) \ |
395 |
$(use_enable !debug strip) \ |
396 |
$(use_enable odk) \ |
397 |
$(use_enable pam) \ |
398 |
$(use_with java) \ |
399 |
$(use_with templates sun-templates) \ |
400 |
--disable-access \ |
401 |
--disable-post-install-scripts \ |
402 |
--enable-extensions \ |
403 |
--with-system-libwpd \ |
404 |
--mandir=/usr/share/man \ |
405 |
--libdir=/usr/$(get_libdir) \ |
406 |
|| die "Configuration failed!" |
407 |
|
408 |
} |
409 |
|
410 |
src_compile() { |
411 |
|
412 |
make || die "Build failed" |
413 |
|
414 |
} |
415 |
|
416 |
src_install() { |
417 |
|
418 |
export PYTHONPATH="" |
419 |
|
420 |
einfo "Preparing Installation" |
421 |
make DESTDIR="${D}" install || die "Installation failed!" |
422 |
|
423 |
# Fix the permissions for security reasons |
424 |
chown -RP root:0 "${D}" |
425 |
|
426 |
# record java libraries |
427 |
if use java; then |
428 |
java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/${BASIS}/program/classes/*.jar |
429 |
java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/ure/share/java/*.jar |
430 |
fi |
431 |
|
432 |
# Upstream places the bash-completion module in /etc. Gentoo places them in |
433 |
# /usr/share/bash-completion. bug 226061 |
434 |
dobashcompletion "${D}"/etc/bash_completion.d/ooffice.sh ooffice |
435 |
rm -rf "${D}"/etc/bash_completion.d/ || die "rm failed" |
436 |
|
437 |
} |
438 |
|
439 |
pkg_postinst() { |
440 |
|
441 |
fdo-mime_desktop_database_update |
442 |
fdo-mime_mime_database_update |
443 |
BASH_COMPLETION_NAME=ooffice && bash-completion_pkg_postinst |
444 |
|
445 |
[[ -x /sbin/chpax ]] && [[ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ]] && chpax -zm /usr/$(get_libdir)/openoffice/program/soffice.bin |
446 |
|
447 |
# Add available & useful jars to openoffice classpath |
448 |
use java && /usr/$(get_libdir)/openoffice/${BASIS}/program/java-set-classpath $(java-config --classpath=jdbc-mysql 2>/dev/null) >/dev/null |
449 |
|
450 |
elog |
451 |
elog " Spell checking is provided through our own myspell-ebuilds, " |
452 |
elog " if you want to use it, please install the correct myspell package " |
453 |
elog " according to your language needs. " |
454 |
elog |
455 |
|
456 |
elog " Some aditional functionality can be installed via Extension Manager: " |
457 |
elog " *) PDF Import " |
458 |
elog " *) Presentation Console " |
459 |
elog " *) Presentation Minimizer " |
460 |
elog |
461 |
elog " Please use the packages provided in " |
462 |
elog " /usr/$(get_libdir)/openoffice/share/extension/install/ " |
463 |
elog " instead of those from the SUN extension site. " |
464 |
elog |
465 |
|
466 |
kde4-base_pkg_postinst |
467 |
|
468 |
} |