You are not logged in.

#1 2004-05-31 13:54:50

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

The choices of installing OpenOffice summary

hi
i think the OO package situation isn't really great at the moment
i found 4 possibilities you have to install OO in Arch and wanted to collect them here

1. you can use the english version which is an alpha build by running
pacman -S openoffice

2. you can use JGC package(which is a Ximian build, multilanguage and build from source) you can find at: http://bbs.archlinux.org/viewtopic.php?t=4460

3. for german users have a look at my PKGBUILD at:
http://bbs.archlinux.org/viewtopic.php?t=4316
it's only a way to install official OO binaries and spellchecking with pacman (no source build)

for other languages here is a sample for the english version (i didn't test it  but i think it should work this way)

UPDATE 19.6.2004!

#Contributor: Tobias Powalowski <t.powa@gmx.de>

pkgname=openoffice-binary
pkgver=1.1.2
pkgrel=2
pkgdesc="OpenOffice builded with Binaries from OO.org"
url="http://www.openoffice.org"
depends=('python' 'perl' 'gmp' 'xfree86' 'gcc')
conflicts=('openoffice')
source=('ftp://sunsite.informatik.rwth-aachen.de/pub/mirror/OpenOffice/stable/1.1.2/OOo_1.1.2_LinuxIntel_install.tar.gz')

build() {
  cd $startdir/src/OOo_1.1.2_LinuxIntel_install
  mkdir -p $startdir/pkg/opt/openoffice
  mkdir -p $startdir/pkg/usr/bin
# now start install
  sed -i 's|^oo_home=.*$|oo_home=openoffice|g' install
  ./install --prefix=$startdir/pkg/opt
  cd ..
  cp -rf share ../pkg/opt/openoffice
  cd ..
  cd pkg/usr/bin
  ln -s ../../opt/openoffice/program/soffice soffice
# this is a workaround for a bug with kprinter >= kde 3.2.3 if you use it as print wrapper
# if you experience problems remove the following 2 lines and gcc from depends
cd $startdir/pkg/opt/openoffice/program
mv libgcc_s.so.1 libgcc_s.so.1.old; ln -s /usr/lib/libgcc_s.so.1 libgcc_s.so.1
# 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
}


4. Without pacman using the binaries from http://www.openoffice.org
extract the package and run ./setup -net to have full control over the installation process

Quickstarters for OO can be found in staging repo
one is command-line based called ooqstart
for kde you can also use oooqs which is a nice applet

if you have more ideas or suggestions feel free to post it here

Offline

#2 2004-05-31 17:56:28

shen
Member
Registered: 2003-09-05
Posts: 272
Website

Re: The choices of installing OpenOffice summary

On this line of the english pkgbuild

source=('ftp://ftp.leo.org/pub/openoffice/contrib/rc/1.1.2rc3/OOo_1.1.2rc3_040528_LinuxIntel_install.tar.gz')

take out the _040528 and it should work just fine.

Offline

Board footer

Powered by FluxBB