Peschmä
]]>I finished OOO 1.1.1 with german support and german helpcontent this morning. I haven't a fully working PKGBUILD, but this method worked ( at least for me ).
1. type: abs
2. go to /var/abs/extra/office/openoffice
3. replace the PKGBUILD there with the one I attached after this text.
4. Download the german helpcontent file:
wget -c http://ftp.services.openoffice.org/pub/ … 9_unix.tgz
5. make sure, the following packages are installed: j2sdk tcsh zip unzip pkgconfig
if not type:
pacman -Sy j2sdk tcsh zip unzip pkgconfig
6. type:
makepkg PKGBUILD
This will download the source and will build Openoffice WITHOUT german helpcontent. This took about 6 hours on my AMD Duron 1400 with 1024MB RAM
7. Now there should be a file named: openoffice-de_DE-1.1.1-1.pkg.tar.gz
If you don't need the helpcontent you can install the package with:
pacman -A openoffice-de_DE-1.1.1-1.pkg.tar.gz
If you want the german helpcontent = 8.
8. type:
rm openoffice-de_DE-1.1.1-1.pkg.tar.gz
9. type:
rm -r /var/abs/extra/office/openoffice/src/oo_1.1.1_src/instsetoo/unxlngi4.pro
10. copy the helpcontent file into the right folder:
cp /var/abs/extra/office/openoffice/helpcontent_49_unix.tgz /var/abs/extra/office/openoffice/src/oo_1.1.1_src/solver/645/unxlngi4.pro/pck/
11. remove the helpxsl.zip:
rm /var/abs/extra/office/openoffice/src/oo_1.1.1_src/solver/645/unxlngi4.pro/pck/helpxsl.zip
12. untar the helpcontent file with:
tar xpvfz /var/abs/extra/office/openoffice/src/oo_1.1.1_src/solver/645/unxlngi4.pro/pck/helpcontent_49_unix.tgz
13. Be sure to stay in /var/abs/extra/office/openoffice and type again:
makepkg PKGBUILD
This will take about an hour and it will built an openoffice-de_DE-1.1.1-1.pkg.tar.gz file with german helpcontent.
14. To install type:
pacman -A openoffice-de_DE-1.1.1-1.pkg.tar.gz
15. Enjoy OOO 1.1.1
THANKS to Sarah who helped me to get this thing working
THE PKGBUILD content:
# $Id: PKGBUILD,v 1.1.13 2004/03/31 12:56:51 arjan Exp $
# Maintainer: Arjan Timmerman <arjan@soulfly.nl>
# Contributor: Sarah Hay <sarah@archlinux.org>
## Modified by Kin
pkgname=openoffice-de_DE
pkgver=1.1.1
pkgrel=1
pkgdesc="A full featured office suite - German release"
url="http://www.openoffice.org/"j2sdk
depends=('gcc' 'xfree86' 'pam' 'gtk2' 'libart-lgpl')
makedepends=(j2sdk tcsh zip unzip pkgconfig)
install=openoffice.install
source=(ftp://ftp.tu-chemnitz.de/pub/openoffice/stable/1.1.1/OOo_1.1.1_source.tar.gz openoffice.applications)
##md5sums=('44a01e6ff4c1ccefeb162b2075ba3d14' '6719b9d3f47aa6d2dff6ef52a448d881')
# A NOTE BEFORE BUILDING
#
# this package won't build against the kernel 2.6.0
# please use the 2.4 kernel releases
## it really doesn build against the 2.6.* kernel
#
# Bison and gcc3 fight a bit during this build. To fix it, you'll have to
# patch your /usr/share/bison/yacc.c like so:
## I didn't have to do this change
# [snip]
#--- yacc.c.orig 2003-06-08 16:57:11.000000000 -0700
#+++ yacc.c 2003-06-08 16:57:29.000000000 -0700
#@@ -1113,12 +1113,12 @@
#
# /* Suppress GCC warning that yyerrlab1 is unused when no action
# invokes YYERROR. */
#-#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
#+/*#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
# __attribute__ ((__unused__))
# #endif
#
# ]b4_location_if([ yylerrsp = yylsp;
#- *++yylerrsp = yyloc;])[
#+ *++yylerrsp = yyloc;])[*/
# goto yyerrlab2;
# [/snip]
#
build() {
cd $startdir/src/oo_1.1.1_src
sed -i -e 's/--only-mod-libs//g' $startdir/src/oo_1.1.1_src/crashrep/source/unx/makefile.mk
sed -i -e 's/pkg-config/pkgconfig/g' $startdir/src/oo_1.1.1_src/crashrep/source/unx/makefile.mk
sed -i -e 's/WizardDescriptor$Panel/WizardDescriptor.Panel/g' $startdir/src/oo_1.1.1_src/odk/source/OOSupport/org/netbeans/modules/openoffice/wizard/OOAddInCreateIterator.java
sed -i -e 's/WizardDescriptor$Panel/WizardDescriptor.Panel/g' $startdir/src/oo_1.1.1_src/odk/source/OOSupport/org/netbeans/modules/openoffice/wizard/OOIDLWizardIterator.java
sed -i -e 's/WizardDescriptor$Panel/WizardDescriptor.Panel/g' $startdir/src/oo_1.1.1_src/odk/source/OOSupport/org/netbeans/modules/openoffice/wizard/OOServiceCreateIterator.java
cd config_office
./configure --with-lang=GER --enable-gcc3 --with-x --with-jdk-home=/opt/j2sdk --enable-libart --enable-crashdump=no --disable-crashdump
cd $startdir/src/oo_1.1.1_src
# the build process doesn't look very hard for these libraries, so let's
# make it real easy.
mkdir -p $startdir/src/oo_1.1.1_src/solver/645/unxlngi4.pro/lib/
cp -a /usr/lib/libgcc* $startdir/src/oo_1.1.1_src/solver/645/unxlngi4.pro/lib/
cp -a /usr/lib/libstdc++* $startdir/src/oo_1.1.1_src/solver/645/unxlngi4.pro/lib/
ln -s libstdc++.so $startdir/src/oo_1.1.1_src/solver/645/unxlngi4.pro/lib/libstdc++.so.3
cp /var/abs/extra/office/openoffice/helpcontent_49_unix.tgz /var/abs/extra/office/openoffice/src/oo_1.1.1_src/solver/645/unxlngi4.pro/pck/
rm /var/abs/extra/office/openoffice/src/oo_1.1.1_src/solver/645/unxlngi4.pro/pck/helpxsl.zip
tar xpvfz /var/abs/extra/office/openoffice/src/oo_1.1.1_src/solver/645/unxlngi4.pro/pck/helpcontent_49_unix.tgz
source LinuxIntelEnv.Set.sh
./bootstrap
# this build takes a good long time (6+ hrs)
dmake || return 1
mkdir -p $startdir/pkg/opt
cd $startdir/src/oo_1.1.1_src/instsetoo/unxlngi4.pro/49/normal
## The installer tries to connect to an X server for some stupid reason.
## If you get a "Cannot connect to DISPLAY" error, try installing the
##beast
## from an xterm.
sed -i 's|^oo_home=.*$|oo_home=openoffice|g' install
./install --prefix=$startdir/pkg/opt
## and now to fix all the KDE/Gnome links...
cd $startdir/pkg/opt/openoffice/share/kde/net
sed -i 's|^Exec=.*openoffice/program/(.*)$|Exec="/opt/openoffice/program/1|g' *.desktop
cd $startdir/pkg/opt/openoffice/share/gnome/net
sed -i 's|^Exec=.*openoffice/program/(.*)$|Exec=/opt/openoffice/program/1|g' *.desktop
sed -i 's|^Icon=.*share/icons/(.*)$|Icon=/opt/openoffice/share/icons/1|g' *.desktop
cp $startdir/openoffice.applications $startdir/pkg/opt/openoffice/share/gnome/net
}