summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-12-06 20:40:10 +0000
committerDan Armak <danarmak@gentoo.org>2001-12-06 20:40:10 +0000
commit235501b1b915d24d8e3913c9e1457387772e853d (patch)
tree0973d07f52a25058d22e2af020e965238af3d3d0 /app-office/openoffice
parentnew stlport version needed for openoffice. (diff)
downloadhistorical-235501b1b915d24d8e3913c9e1457387772e853d.tar.gz
historical-235501b1b915d24d8e3913c9e1457387772e853d.tar.bz2
historical-235501b1b915d24d8e3913c9e1457387772e853d.zip
incomplete openoffice ebuild. it takes 12 hours and 2gb of tmp space to
compile. somone care to finish it?
Diffstat (limited to 'app-office/openoffice')
-rw-r--r--app-office/openoffice/files/641b/script-compile5
-rw-r--r--app-office/openoffice/files/digest-openoffice-641b2
-rw-r--r--app-office/openoffice/openoffice-641b.ebuild78
3 files changed, 85 insertions, 0 deletions
diff --git a/app-office/openoffice/files/641b/script-compile b/app-office/openoffice/files/641b/script-compile
new file mode 100644
index 000000000000..b2b9658d51ff
--- /dev/null
+++ b/app-office/openoffice/files/641b/script-compile
@@ -0,0 +1,5 @@
+#!/bin/tcsh
+source LinuxIntelEnv.Set
+setenv PATH ${PATH}:/usr/X11R6/bin #for xmkmf
+./bootstrap
+dmake/dmake product=full
diff --git a/app-office/openoffice/files/digest-openoffice-641b b/app-office/openoffice/files/digest-openoffice-641b
new file mode 100644
index 000000000000..cc4a014aec2e
--- /dev/null
+++ b/app-office/openoffice/files/digest-openoffice-641b
@@ -0,0 +1,2 @@
+MD5 fdb06fdb5a4670b172f9fb738b717be9 gpc231.tar.Z 28672
+MD5 b3e380ede6b1c4248872ba57ccb1fac0 oo_641_src.tar.bz2 109170688
diff --git a/app-office/openoffice/openoffice-641b.ebuild b/app-office/openoffice/openoffice-641b.ebuild
new file mode 100644
index 000000000000..a73ff0bc0b46
--- /dev/null
+++ b/app-office/openoffice/openoffice-641b.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Dan Armak <danarmak@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-641b.ebuild,v 1.1 2001/12/06 20:40:10 danarmak Exp $
+
+# notes/todo:
+# 0. this is not complete. src_install is missing.
+# 1. sort out g++-2 symlink. configure requires a symlink /usr/include/g++-2 ->
+# /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include. see also the configure
+# parameter --with-gcc-home, which apparently doesn't work.
+# 2. once it builds, research installation methods. can we install it directly,
+# or do we have to generate setup sets?
+# 2. get it to use as many system libs as possible. specifically stlport.
+# the less it builds on its own the better. I've made an STLport-4.0 ebuild
+# which installs into /usr/lib/STLport-4.0 (the current STLport-4.5 ebuild
+# installs into /usr directly, and is uncompatible with 4.0). the configure
+# script won't recognize it though.
+# 3. figure out what to do with multi-language stuff (configure option
+# --with-lang) - do we always build support for all languages?
+# 4. java - blackdown? ask kabau, jdk - see if versions >1.3.1 are ok
+# 5. add download mirrors to SRC_URI. in fact i'm not even sure this one works.
+
+S=${WORKDIR}/oo_641_src
+
+DESCRIPTION="OpenOffice productivity suite"
+
+SRC_URI="http://a2012.g.akamai.net/7/2012/2064/OpenOffice6C/anoncvs.openoffice.org/download/oo_641_src.tar.bz2
+ ftp://ftp.cs.man.ac.uk/pub/toby/gpc/gpc231.tar.Z"
+
+HOMEPAGE="http://www.openoffice.org"
+
+COMMONDEPEND=">=sys-libs/glibc-2.1
+ >=sys-devel/perl-5
+ virtual/x11
+ app-shells/tcsh
+ app-arch/zip
+ >=media-libs/nas-1.4.1
+ >=dev-libs/expat-1.95.1
+ media-libs/jpeg
+ media-gfx/sane-frontends
+ sys-libs/zlib
+ ~dev-libs/STLport-4.0
+ java? ( ~dev-lang/jdk-1.3.1 )"
+
+#DEPEND="$COMMONDEPEND >=sys-devel/gcc-2.95.2"
+#RDEPEND=$COMMONDEPEND
+
+src_unpack() {
+
+ cd ${WORKDIR}
+ unpack ${A}
+ cd ${WORKDIR}/gpc231
+ cp gpc.* ${S}/external/gpc
+
+}
+
+src_compile() {
+
+ local myconf
+ use java && myconf="${myconf} --with-jdk-home=/opt/jdk-1.3.1"
+
+ cd ${S}/config_office
+ ./configure --with-perl-home=/usr \
+ --with-stlport4-home=/usr/libs/STLport-4.0/include \
+ --with-lang=ALL --with-x \
+ ${myconf} || die
+
+ # openoffice must be compiled from csh. So I've written a #!/bin/tcsh
+ # script which we execute here.
+ cd ${S}
+ cp ${FILESDIR}/${PV}/script-compile .
+ chmod o+x ./script-compile
+ export LS_COLORS=""
+ ./script-compile || die
+
+}
+
+