delete openoffice

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1254 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-05-21 15:15:10 +00:00
parent 1d3b586e17
commit d21f80ab54
7 changed files with 0 additions and 543 deletions

View File

@ -1,39 +0,0 @@
AUX base64.diff 770 RMD160 acea95d2f4ac09ef6252eb9a0e22405858574d51 SHA1 4097bc9406ba568ef2dfe7d8a8bfd43ed153d44d SHA256 fd298c97fd28e765138a18d570a99613df3fa25076fa5d6243e86f9cbb750a03
AUX buildfix-gcc44.diff 729 RMD160 87f7b5eead24039d1f08addca630c98f23f76156 SHA1 dac122c9dd3f40001797d81137a63294ee0133c1 SHA256 3336441534b2bf5080f0d0529882b4c82344b216eaa86df4fb16875051bc163c
AUX gentoo-3.1.0.diff 173 RMD160 dacec2c40bd4bd8e2c07fb849afb6f3fe3643371 SHA1 1430513326652f7b09eb04ee8f420532ac60b5c2 SHA256 de9316222af0f197a11041ba1105bfd070ba31cbcc1a2a212641d911b728ed5a
AUX ooo-env_log.diff 617 RMD160 480edf4962e8d55f82a4103297c3cc10a1bd4f3e SHA1 b655566079c408e72f1046262fe269ba8bf66040 SHA256 efb99da32fcc2029418b4c4c080ccc97cb622fcc24a6a6dd69d8cc5508c54bf1
AUX openoffice-3.1.0-buildfix-gcc44.diff 611 RMD160 31e7c33977941458b1472d92c645ed2b2ef64a82 SHA1 ed17195077f5212bfc6f546004f5e6f429b03c14 SHA256 dd66bbe257c9a88c757037d65f48ea4976d7cee8a38e96b6282611c1b70cecff
DIST Sun_ODF_Template_Pack_de.oxt 4953135 RMD160 2d7ef049b2ac625ce9d952d097ed09baab0cc510 SHA1 9ae5905490a662c25cd3014023eec271c0b0d46e SHA256 7b63da46eb4f168a3406b38643ad2c29559f63882112037eea958819b380a32a
DIST Sun_ODF_Template_Pack_en-US.oxt 4997184 RMD160 f7040f83aeb60355d80c42434e60d236a8875753 SHA1 58c98de9c629aae878a58c2775b8546aa78fb04c SHA256 ba443e3dc988d64e239865a0a7e11b62125212a1049b7a5d866955b235d7f195
DIST Sun_ODF_Template_Pack_es.oxt 4972619 RMD160 3b8bf592b34256969421472b6ca492479d10d145 SHA1 2b33b91d536c39dba2ec5504f68d72c001712782 SHA256 0a00c795f4af10919d981e7409895198c9f09d2ab05f9e578a1e8428071f5bc3
DIST Sun_ODF_Template_Pack_fr.oxt 4970438 RMD160 44de71cb028dde89836bfd1167b084dea54922e5 SHA1 3908eee06c17154c2cff6c9f175a7a8dad258e47 SHA256 4c8b739255122c989f00b3b706d99b93fa1c4cf428d61fd550994093aaca8fb5
DIST Sun_ODF_Template_Pack_it.oxt 4960369 RMD160 9d8881f645f409599b7a5e14cb4b6842e5883383 SHA1 85c7670e182d5ed5aeb2d9bfe20d161c4ac824c8 SHA256 6e87462d76954698ffcbcf4145fd13ab9c41520026160363fd6e97f7cad3ae05
DIST biblio.tar.bz2 6000 RMD160 d6d74ed50fd12ab1b7363e1611aa5bae5a8b19d6 SHA1 5a12014afa75ecb51b9688497450115d64f1c167 SHA256 c0410a80028c8c0a6c28f4727e89b632875a128c9fccc17102f18773f0ea620b
DIST extras-3.tar.bz2 130640 RMD160 c6b6efb20cbec79b48bd21046f93959367fe1bd4 SHA1 fb7d85a9827cd1280766db2641fb1896bd5d1c7b SHA256 6cf85181c21dadda4fa4d8fbc227012d63a2558642195a46b0ae2ab144facce8
DIST libwpg-0.1.3.tar.gz 410799 RMD160 6e9e0545215af2ee05780887ad57ca1ae7ef78f5 SHA1 6d350eb0ad57b97499ef8335506f172b0c21375a SHA256 19a52f4eede1da890ac6a5dfa5f0d9a63a73a6dfc3f17cb3423563c53cc665e3
DIST libwps-0.1.2.tar.gz 413360 RMD160 a3f60fed70ab0c4f34091c10f4eb4a421cb87d44 SHA1 3da402f74a6296425e88d0ab1cf197a5927288d6 SHA256 e8f03fc83f7ddd3976adb61f693eaeebefee852655875816e5f945e0efabb2b1
DIST lp_solve_5.5.0.12_source.tar.gz 787446 RMD160 8cd5299543e07d2bf1819297fe0a18400b18d12b SHA1 ffa7e52c18ffacef7ed3dfe535f4221e853068df SHA256 bc26d07fe39ae50264e15ee54dbbcf4cb1fe6ecd2fef10142be5bdd38947f193
DIST ooo-build-3.1.0.1.tar.gz 13163508 RMD160 0e5841f718f880904532a5c88652614cf92ee683 SHA1 ff1676098814d5a1f737c1fdb21c4b827683325c SHA256 ba4dc0307f44e46cb45b1b683965069c3f03db33bb5d884275cc482b0e3285d1
DIST ooo310-m11-artwork.tar.bz2 9699172 RMD160 879132806579fdec881e7ed4e32191414c52cc0e SHA1 2dd68a74d1ce40f0bf6270c0e414876396958350 SHA256 c3af24301c85235afe0e3e86ceee56c36fae9318fdaa366f55cbe256dbc7737e
DIST ooo310-m11-base.tar.bz2 3310363 RMD160 66e79afe97dcc7d82c76f682ea799e495bd10942 SHA1 e7c5fb4ced44f329769181d943d4284f8212b2a3 SHA256 2443026c719a55715788bcf67192cf39410b112a830998709e70fe6f2b5946d0
DIST ooo310-m11-bootstrap.tar.bz2 7245734 RMD160 800f4828f33b4617cbe266fdb19cf93e80f32de3 SHA1 786975ce10b4ab38a6f9a0bb3cba005b83713242 SHA256 c97ee7594b769c765ec8b94205d3d76289d3d4b1a5b808e259f7d00588ab6961
DIST ooo310-m11-calc.tar.bz2 9663046 RMD160 481c389dffb6e4a04cc190b468f7d613a0953fe7 SHA1 4efb32be8f66118b929bf9136378f72590747314 SHA256 c1b9c2a11f2ebad5901d89306311fdc7cb12c262b4637c5a5aff9d2c93404a69
DIST ooo310-m11-components.tar.bz2 5990791 RMD160 a1e112509abda28638670dc31772d96e63eae795 SHA1 e54a788a70a5cd8f05d47a3d9bc8991d11ff544c SHA256 00cf6945073ec8385e027915b1374e206ec56a59eea5edbacc84fae5133083ee
DIST ooo310-m11-extensions.tar.bz2 14789775 RMD160 afed9c3526fb09a156820369628c337e61f304e3 SHA1 cdad9be5b11434540c4c4135ea9fda2662f6825c SHA256 53b01101669381dbf61f5f49aced011a42a03ce50425fa4ddf6e84fe197024fc
DIST ooo310-m11-extras.tar.bz2 46074505 RMD160 055dc9111e92fff3da418f1574ed5466b1414f4a SHA1 27b9a608fc1e64a0207152b9e64e6232160103a9 SHA256 d5d6bfcc5b434a5fa6765283420cde0dc74413ff48a5c85d884ca9e065a874b0
DIST ooo310-m11-filters.tar.bz2 10795436 RMD160 a2a0d9e95b9e44237eb886cbb20ff2c5cf372dc3 SHA1 facd5f84b43e970ecb58337954e83ef76fd6f536 SHA256 99897ae4cfbc5b058b65ee57a97d7acd38a40fdc7032a67ef24739b0ce7f1f1c
DIST ooo310-m11-help.tar.bz2 44865466 RMD160 845e83d4ceabc237350aaddd70140396e6d000a8 SHA1 7d0be276609566784384d561f9157e52950a88c3 SHA256 cf5b7f7d4e13142b6627f657326716486928178b8df1e3fb23406816498520f8
DIST ooo310-m11-impress.tar.bz2 3548810 RMD160 64704d0abdcf532ea591dde8f162a18c0544bbde SHA1 9679e1822170524d26ccee95db3cb504c26c501e SHA256 a4b594abbef1c076f3a43fd88b6d87e0dcd0aeb20b43a618b66a96d497dadf9b
DIST ooo310-m11-libs-core.tar.bz2 27371624 RMD160 a230690df75a7d0caf6583680e7ab538afb9efcb SHA1 aaba2f9e3310c73c05cbbaeb470ed9fe9b9fcd2f SHA256 ae4d67bb7f2e045958bd1c0dd8b2403a7b8322187393daaf3d2482ea262aa76c
DIST ooo310-m11-libs-extern-sys.tar.bz2 105280413 RMD160 ef4549b1814087dfb571a3748cf031014f4f9c29 SHA1 d0ff64470f7a31855e745e2f92439f2ca84939b2 SHA256 b66b34fb191d8535315a0e47528c63b8731856c3311bf18782e6b77c8e1cb24e
DIST ooo310-m11-libs-extern.tar.bz2 39916079 RMD160 2f40e139262e015af458ce97bef880e7825ec054 SHA1 db8fba930d97406e305ad9b3705898173a72424d SHA256 2a7a56f0046a05b285c66aacaf658257652a7faa3bc7e2c18feca72542282494
DIST ooo310-m11-libs-gui.tar.bz2 11446021 RMD160 5ed350c573a4754fc8de1b8a755d3433f3dbf2ac SHA1 d97d90602fa3ea1d57cb5c9e9bd74ab656034442 SHA256 03fd40f491c034bd64a912ad39aa9fb9e0530f20d32dd5b2640a0431cd5635ba
DIST ooo310-m11-postprocess.tar.bz2 19533 RMD160 01b019d0444b749f1d5833a8c1b82c5d0b5105d6 SHA1 9010bf249265c69c4d15355fed9a5f88b9fcb5cd SHA256 060c1d2632852a55b524d3a9f8ccd86fc573566dc7332a68a7f8058219284b9c
DIST ooo310-m11-sdk.tar.bz2 1554459 RMD160 df4a743275155c4de0936ccbaa33532dd0d9c0ed SHA1 f60810d6163949364d43f2a40f4fd5f42e7b214a SHA256 770baee93184e2075c24c94070a7058df7b3fccb6c9840347fd167dd3bb2f493
DIST ooo310-m11-testing.tar.bz2 51287333 RMD160 d729a23c1ee76feeb8d01898bed7630ff3b71da2 SHA1 c6ddcf7121ab5c2dbad88131bf926366ab57c2e8 SHA256 50342959f2eef3d6f3869816312ae2b966cf6fc02478d60ec80f473d1792e725
DIST ooo310-m11-ure.tar.bz2 5160732 RMD160 fd419b3a6a77dac2d95bc55afba5591bed093093 SHA1 2412c683d0274c16a2b8b5263d60059a7080ce65 SHA256 c329eaf2cc7a46912fbd1fe685e91d941842c74f082419a03d88e75fae051db5
DIST ooo310-m11-writer.tar.bz2 8955758 RMD160 876e1ecbd0bf8e6dbf9eaa95155868e44c33823f SHA1 fc37627f0a8aab578a64818f713ac87a838c4709 SHA256 093f42b6f102f3f9c7f934bdc071680fa50487628b8107aa335f623f8a770694
DIST scsolver.2008-10-30.tar.bz2 230572 RMD160 2176fd8207cce2e2db56c888849e766eedfb1a63 SHA1 7ad9c3396c3b1b9ac63274eb53818ba2d0a9f70c SHA256 865ac491bfbc7d4cc66b51fff78f3962a0a91efba1a8b5cc0bf5cf36be60e193
DIST unowinreg.dll 6144 RMD160 9e2a2789a96842a2aec747a62dee3db3e8370761 SHA1 712720da502d36175cd7aa05cb1862ee0330638c SHA256 f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c
EBUILD openoffice-3.1.0.ebuild 12794 RMD160 12789c6c90c8e07f503c8bc255713a6aed28a5d3 SHA1 dd359c1ca8d01eb6ae1f2fa3cae989d8bad5246f SHA256 8e6b4444a2c17b881617f4bd0be886445bfcbde3be2c2141e16cf48ee0267891
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -1,16 +0,0 @@
--- filter/source/xsltfilter/makefile.mk 2009-03-27 10:14:39.000000000 +0300
+++ filter/source/xsltfilter/makefile.mk 2009-03-27 18:14:56.000000000 +0300
@@ -72,11 +72,11 @@
CUSTOMMANIFESTFILE = Manifest
JARCOMPRESS = TRUE
-JARCLASSDIRS = XSLTransformer*.class XSLTFilterOLEExtracter*.class
+JARCLASSDIRS = XSLTransformer*.class XSLTFilterOLEExtracter*.class Base64*.class
JARTARGET = $(TARGET).jar
# --- Files --------------------------------------------------------
-JAVACLASSFILES=$(CLASSDIR)$/XSLTransformer.class $(CLASSDIR)$/XSLTFilterOLEExtracter.class
+JAVACLASSFILES=$(CLASSDIR)$/XSLTransformer.class $(CLASSDIR)$/XSLTFilterOLEExtracter.class $(CLASSDIR)$/Base64.class
.ENDIF
# --- Targets ------------------------------------------------------

View File

@ -1,22 +0,0 @@
diff -aur sw/source/core/doc/docbm.cxx sw/source/core/doc/docbm.cxx
--- sw/source/core/doc/docbm.cxx 2009-04-26 03:05:02.000000000 +0800
+++ sw/source/core/doc/docbm.cxx 2009-04-28 11:43:39.684101752 +0800
@@ -63,6 +63,7 @@
// --> OD 2007-10-23 #i81002#
#include <ndtxt.hxx>
// <--
+#include <stdio.h>
SV_IMPL_OP_PTRARR_SORT(SwBookmarks, SwBookmarkPtr)
diff -aur sw/source/filter/ww8/WW8TableInfo.cxx sw/source/filter/ww8/WW8TableInfo.cxx
--- sw/source/filter/ww8/WW8TableInfo.cxx 2009-04-26 03:04:38.000000000 +0800
+++ sw/source/filter/ww8/WW8TableInfo.cxx 2009-04-28 11:46:24.967120225 +0800
@@ -37,6 +37,7 @@
#include "pam.hxx"
#include "ndtxt.hxx"
#include "dbgoutsw.hxx"
+#include <stdio.h>
namespace ww8
{

View File

@ -1,11 +0,0 @@
--- bin/package-ooo
+++ bin/package-ooo
@@ -33,6 +33,7 @@
{
cat <<EOT >$1
#!/bin/sh
+unset PYTHONPATH
$OOINSTBASE/program/soffice $2 "\$@"
EOT
chmod 755 $1

View File

@ -1,25 +0,0 @@
--- bin/build-ooo.orig 2007-04-18 18:32:06.000000000 +0200
+++ bin/build-ooo 2007-04-18 18:32:45.000000000 +0200
@@ -21,9 +21,8 @@
echo "configuring ...";
autoconf || exit 1;
-echo "Env for configure:"
-set
-echo "Env for configure ends"
+echo "Log Env for configure to `pwd`/env.log"
+set > env.log
eval ./configure "$CONFIGURE_OPTIONS" "$PROPAGATED_ARGS" || exit 1;
@@ -88,8 +88,8 @@
# similar that gives child nmake's pain.
unset MAKEFLAGS
-echo "Env:"
-set
+echo "Log Env to `pwd`/env.log"
+set > env.log
# What extra localizations are avilable as $SRCDIR/GSI_*.sdf and are not
# already merged?

View File

@ -1,34 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@ -1,396 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-3.1.0.ebuild,v 1.1 2009/05/17 07:53:04 suka Exp $
WANT_AUTOMAKE="1.9"
EAPI="2"
inherit bash-completion check-reqs db-use eutils fdo-mime flag-o-matic java-pkg-opt-2 kde-functions mono multilib toolchain-funcs
IUSE="binfilter cups dbus debug eds gnome gstreamer gtk kde ldap mono nsplugin odk opengl pam templates"
MY_PV=3.1.0.1
PATCHLEVEL=OOO310
SRC=OOo_${PV}_src
MST=ooo310-m11
DEVPATH=http://download.go-oo.org/${PATCHLEVEL}/${MST}
S=${WORKDIR}/ooo
S_OLD=${WORKDIR}/ooo-build-${MY_PV}
CONFFILE=${S}/distro-configs/Gentoo.conf.in
BASIS=basis3.1
DESCRIPTION="OpenOffice.org, a full office productivity suite."
SRC_URI="${DEVPATH}-artwork.tar.bz2
${DEVPATH}-base.tar.bz2
${DEVPATH}-bootstrap.tar.bz2
${DEVPATH}-calc.tar.bz2
${DEVPATH}-components.tar.bz2
${DEVPATH}-extensions.tar.bz2
${DEVPATH}-extras.tar.bz2
${DEVPATH}-filters.tar.bz2
${DEVPATH}-help.tar.bz2
${DEVPATH}-impress.tar.bz2
${DEVPATH}-libs-core.tar.bz2
${DEVPATH}-libs-extern.tar.bz2
${DEVPATH}-libs-extern-sys.tar.bz2
${DEVPATH}-libs-gui.tar.bz2
${DEVPATH}-postprocess.tar.bz2
${DEVPATH}-sdk.tar.bz2
${DEVPATH}-testing.tar.bz2
${DEVPATH}-ure.tar.bz2
${DEVPATH}-writer.tar.bz2
templates? ( http://extensions.services.openoffice.org/files/273/0/Sun_ODF_Template_Pack_en-US.oxt
http://extensions.services.openoffice.org/files/295/1/Sun_ODF_Template_Pack_de.oxt
http://extensions.services.openoffice.org/files/299/0/Sun_ODF_Template_Pack_it.oxt
http://extensions.services.openoffice.org/files/297/0/Sun_ODF_Template_Pack_fr.oxt
http://extensions.services.openoffice.org/files/301/1/Sun_ODF_Template_Pack_es.oxt )
http://download.go-oo.org/${PATCHLEVEL}/ooo-build-${MY_PV}.tar.gz
odk? ( java? ( http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll ) )
http://download.go-oo.org/SRC680/extras-3.tar.bz2
http://download.go-oo.org/SRC680/biblio.tar.bz2
http://download.go-oo.org/SRC680/lp_solve_5.5.0.12_source.tar.gz
http://download.go-oo.org/DEV300/scsolver.2008-10-30.tar.bz2
http://download.go-oo.org/SRC680/libwps-0.1.2.tar.gz
http://download.go-oo.org/SRC680/libwpg-0.1.3.tar.gz"
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 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"
LANGS="${LANGS1} en en_US"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
HOMEPAGE="http://go-oo.org"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
COMMON_DEPEND="!app-office/openoffice-bin
x11-libs/libXaw
x11-libs/libXinerama
x11-libs/libXrandr
>=dev-lang/perl-5.0
dbus? ( >=dev-libs/dbus-glib-0.71 )
gnome? ( >=x11-libs/gtk+-2.10
>=gnome-base/gnome-vfs-2.6
>=gnome-base/gconf-2.0
>=x11-libs/cairo-1.0.2 )
gtk? ( >=x11-libs/gtk+-2.10
>=x11-libs/cairo-1.0.2 )
eds? ( >=gnome-extra/evolution-data-server-1.2 )
gstreamer? ( >=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10 )
kde? ( kde-base/kdelibs:3.5 )
java? ( >=dev-java/bsh-2.0_beta4
>=dev-db/hsqldb-1.8.0.9 )
mono? ( || ( >dev-lang/mono-2.4-r1 <dev-lang/mono-2.4 ) )
nsplugin? ( || ( net-libs/xulrunner:1.8 net-libs/xulrunner:1.9 =www-client/seamonkey-1* )
>=dev-libs/nspr-4.6.6
>=dev-libs/nss-3.11-r1 )
opengl? ( virtual/opengl
virtual/glu )
>=net-misc/neon-0.24.7
>=dev-libs/openssl-0.9.8g
>=media-libs/freetype-2.1.10-r2
>=media-libs/fontconfig-2.3.0
cups? ( net-print/cups )
media-libs/jpeg
media-libs/libpng
app-arch/zip
app-arch/unzip
>=app-text/hunspell-1.1.4-r1
dev-libs/expat
>=dev-libs/icu-4.0
>=sys-libs/db-4.3
>=app-text/libwpd-0.8.8
>=media-libs/vigra-1.4
>=virtual/poppler-0.8.0"
RDEPEND="java? ( >=virtual/jre-1.5 )
${COMMON_DEPEND}"
DEPEND="${COMMON_DEPEND}
x11-libs/libXrender
x11-libs/libXtst
x11-proto/printproto
x11-proto/xextproto
x11-proto/xproto
x11-proto/xineramaproto
>=sys-apps/findutils-4.1.20-r1
dev-perl/Archive-Zip
virtual/perl-Compress-Zlib
>=virtual/perl-Compress-Raw-Zlib-2.002
virtual/perl-IO-Compress-Base
dev-util/pkgconfig
dev-util/intltool
>=dev-libs/boost-1.33.1
sys-devel/flex
sys-devel/bison
dev-libs/libxslt
>=dev-libs/libxml2-2.0
>=dev-util/gperf-3
>=net-misc/curl-7.12
sys-libs/zlib
sys-apps/coreutils
pam? ( sys-libs/pam
sys-apps/shadow[pam] )
>=dev-lang/python-2.3.4[threads]
java? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* )
>=dev-java/ant-core-1.7 )
ldap? ( net-nds/openldap )"
PROVIDE="virtual/ooo"
pkg_setup() {
ewarn
ewarn " It is important to note that OpenOffice.org is a very fragile "
ewarn " build when it comes to CFLAGS. A number of flags have already "
ewarn " been filtered out. If you experience difficulty merging this "
ewarn " package and use agressive CFLAGS, lower the CFLAGS and try to "
ewarn " merge again. Also note that building OOo takes a lot of time and "
ewarn " hardware ressources: 4-6 GB free diskspace and 256 MB RAM are "
ewarn " the minimum requirements. If you have less, use openoffice-bin "
ewarn " instead. "
ewarn
ewarn " Also if you experience a build break, please make sure to retry "
ewarn " with MAKEOPTS="-j1" before filing a bug. "
ewarn
# Check if we have enough RAM and free diskspace to build this beast
CHECKREQS_MEMORY="512"
use debug && CHECKREQS_DISK_BUILD="8192" || CHECKREQS_DISK_BUILD="6144"
check_reqs
strip-linguas ${LANGS}
if [[ -z "${LINGUAS}" ]]; then
export LINGUAS_OOO="en-US"
ewarn
ewarn " To get a localized build, set the according LINGUAS variable(s). "
ewarn
else
export LINGUAS_OOO=$(echo ${LINGUAS} | sed -e 's/\ben\b/en_US/g;s/_/-/g')
fi
if use !java; then
ewarn " You are building with java-support disabled, this results in some "
ewarn " of the OpenOffice.org functionality being disabled. "
ewarn " If something you need does not work for you, rebuild with "
ewarn " java in your USE-flags. "
ewarn
fi
if use !gtk && use !gnome; then
ewarn " If you want the OpenOffice.org systray quickstarter to work "
ewarn " activate either the 'gtk' or 'gnome' use flags. "
ewarn
fi
if is-flagq -ffast-math ; then
eerror " You are using -ffast-math, which is known to cause problems. "
eerror " Please remove it from your CFLAGS, using this globally causes "
eerror " all sorts of problems. "
eerror " After that you will also have to - at least - rebuild python otherwise "
eerror " the openoffice build will break. "
die
fi
if use nsplugin; then
if pkg-config --exists libxul; then
BRWS="libxul"
elif pkg-config --exists xulrunner-xpcom; then
BRWS="xulrunner"
elif pkg-config --exists seamonkey-xpcom; then
BRWS="seamonkey"
else
die "USE flag [nsplugin] set but no installed xulrunner or seamonkey found!"
fi
fi
java-pkg-opt-2_pkg_setup
# sys-libs/db version used
local db_ver=$(db_findver '>=sys-libs/db-4.3')
}
src_unpack() {
unpack ooo-build-${MY_PV}.tar.gz
# Hackish workaround for overlong path problem, see bug #130837
mv "${S_OLD}" "${S}" || die
#Some fixes for our patchset
cd "${S}"
epatch "${FILESDIR}/gentoo-${PV}.diff"
epatch "${FILESDIR}/ooo-env_log.diff"
cp -f "${FILESDIR}/base64.diff" "${S}/patches/hotfixes" || die
cp -f "${FILESDIR}/openoffice-3.1.0-buildfix-gcc44.diff" "${S}/patches/hotfixes" || die
#Use flag checks
if use java ; then
echo "--with-ant-home=${ANT_HOME}" >> ${CONFFILE}
echo "--with-jdk-home=$(java-config --jdk-home 2>/dev/null)" >> ${CONFFILE}
echo "--with-java-target-version=$(java-pkg_get-target)" >> ${CONFFILE}
echo "--with-jvm-path=/usr/$(get_libdir)/" >> ${CONFFILE}
echo "--with-system-beanshell" >> ${CONFFILE}
echo "--with-system-hsqldb" >> ${CONFFILE}
echo "--with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)" >> ${CONFFILE}
echo "--with-hsqldb-jar=$(java-pkg_getjar hsqldb hsqldb.jar)" >> ${CONFFILE}
fi
if use nsplugin ; then
echo "--enable-mozilla" >> ${CONFFILE}
echo "--with-system-mozilla=${BRWS}" >> ${CONFFILE}
else
echo "--disable-mozilla" >> ${CONFFILE}
echo "--without-system-mozilla" >> ${CONFFILE}
fi
echo $(use_enable binfilter) >> ${CONFFILE}
echo $(use_enable cups) >> ${CONFFILE}
echo $(use_enable dbus) >> ${CONFFILE}
echo $(use_enable eds evolution2) >> ${CONFFILE}
echo $(use_enable gnome gconf) >> ${CONFFILE}
echo $(use_enable gnome gnome-vfs) >> ${CONFFILE}
echo $(use_enable gnome lockdown) >> ${CONFFILE}
echo $(use_enable gstreamer) >> ${CONFFILE}
echo $(use_enable gtk systray) >> ${CONFFILE}
echo $(use_enable ldap) >> ${CONFFILE}
echo $(use_enable opengl) >> ${CONFFILE}
echo $(use_with ldap openldap) >> ${CONFFILE}
echo $(use_enable debug crashdump) >> ${CONFFILE}
echo $(use_enable debug strip-solver) >> ${CONFFILE}
# Extension stuff
echo "--with-extension-integration" >> ${CONFFILE}
echo "--enable-minimizer" >> ${CONFFILE}
echo "--enable-pdfimport" >> ${CONFFILE}
echo "--enable-presenter-console" >> ${CONFFILE}
echo "--without-writer2latex" >> ${CONFFILE}
# Use splash screen without Sun logo
echo "--with-intro-bitmaps=\\\"${S}/build/${MST}/ooo_custom_images/nologo/introabout/intro.bmp\\\"" >> ${CONFFILE}
}
src_configure() {
# Use multiprocessing by default now, it gets tested by upstream
export JOBS=$(echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/")
# Compile problems with these ...
filter-flags "-funroll-loops"
filter-flags "-fprefetch-loop-arrays"
filter-flags "-fno-default-inline"
filter-flags "-fstack-protector"
filter-flags "-fstack-protector-all"
filter-flags "-ftracer"
filter-flags "-fforce-addr"
filter-flags "-O[s2-9]"
if [[ $(gcc-major-version) -lt 4 ]]; then
replace-flags "-fomit-frame-pointer" "-momit-leaf-frame-pointer"
fi
# Build with NVidia cards breaks otherwise
use opengl && append-flags "-DGL_GLEXT_PROTOTYPES"
# Now for our optimization flags ...
export ARCH_FLAGS="${CXXFLAGS}"
use debug || export LINKFLAGSOPTIMIZE="${LDFLAGS}"
# Make sure gnome-users get gtk-support
local GTKFLAG="--disable-gtk --disable-cairo --without-system-cairo"
{ use gtk || use gnome; } && GTKFLAG="--enable-gtk --enable-cairo --with-system-cairo"
cd "${S}"
./configure --with-distro="Gentoo" \
--with-arch="${ARCH}" \
--with-srcdir="${DISTDIR}" \
--with-lang="${LINGUAS_OOO}" \
--with-num-cpus="${JOBS}" \
--without-binsuffix \
--with-installed-ooo-dirname="openoffice" \
--with-tag="${MST}" \
${GTKFLAG} \
$(use_enable mono) \
$(use_enable kde) \
$(use_enable !debug strip) \
$(use_enable odk) \
$(use_enable pam) \
$(use_with java) \
$(use_with templates sun-templates) \
--disable-access \
--disable-post-install-scripts \
--enable-extensions \
--with-system-libwpd \
--mandir=/usr/share/man \
--libdir=/usr/$(get_libdir) \
|| die "Configuration failed!"
}
src_compile() {
use kde && set-kdedir 3
make || die "Build failed"
}
src_install() {
export PYTHONPATH=""
einfo "Preparing Installation"
make DESTDIR="${D}" install || die "Installation failed!"
# Fix the permissions for security reasons
# chown -RP root:0 "${D}"
# record java libraries
if use java; then
java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/${BASIS}/program/classes/*.jar
java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/ure/share/java/*.jar
fi
# Upstream places the bash-completion module in /etc. Gentoo places them in
# /usr/share/bash-completion. bug 226061
dobashcompletion "${D}"/etc/bash_completion.d/ooffice.sh ooffice
rm -rf "${D}"/etc/bash_completion.d/ || die "rm failed"
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
bash-completion_pkg_postinst
[[ -x /sbin/chpax ]] && [[ -e /usr/$(get_libdir)/openoffice/program/soffice.bin ]] && chpax -zm /usr/$(get_libdir)/openoffice/program/soffice.bin
# Add available & useful jars to openoffice classpath
use java && /usr/$(get_libdir)/openoffice/${BASIS}/program/java-set-classpath $(java-config --classpath=jdbc-mysql 2>/dev/null) >/dev/null
elog
elog " Spell checking is provided through our own myspell-ebuilds, "
elog " if you want to use it, please install the correct myspell package "
elog " according to your language needs. "
elog
elog " Some aditional functionality can be installed via Extension Manager: "
elog " *) PDF Import "
elog " *) Presentation Console "
elog " *) Presentation Minimizer "
elog
elog " Please use the packages provided in "
elog " /usr/$(get_libdir)/openoffice/share/extension/install/ "
elog " instead of those from the SUN extension site. "
elog
}