From owner-freebsd-ports Sun Aug 13 23:10:27 2000 Delivered-To: freebsd-ports@freebsd.org Received: from slarti.muc.de (slarti.muc.de [193.149.48.10]) by hub.freebsd.org (Postfix) with SMTP id BA72537B60D for ; Sun, 13 Aug 2000 23:10:18 -0700 (PDT) (envelope-from rse@en1.engelschall.com) Received: (qmail 23203 invoked by uid 66); 14 Aug 2000 06:18:32 -0000 Received: from en by slarti with UUCP; Mon Aug 14 06:18:32 2000 -0000 Received: by en1.engelschall.com (Sendmail 8.11.0+) for freebsd-ports@freebsd.org id e7E65uf19267; Mon, 14 Aug 2000 08:05:56 +0200 (CEST) Date: Mon, 14 Aug 2000 08:05:56 +0200 From: "Ralf S. Engelschall" To: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: staroffice-5.1a Message-ID: <20000814080556.A19251@engelschall.com> Reply-To: rse@engelschall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Engelschall, Germany. X-Web-Homepage: http://www.engelschall.com/ X-PGP-Public-Key: https://www.engelschall.com/ho/rse/pgprse.asc X-PGP-Fingerprint: 00 C9 21 8E D1 AB 70 37 DD 67 A2 3A 0A 6F 8D A5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article <20000813163452.C516@luna.osd.bsdi.com> you wrote: > On Sun, 13 Aug 2000 at 12:15:17 -0400, Barella, Scott wrote: >> Any chance there will soon be a Staroffice 5.2 port. I'm a newbie >> trying to install ports for my 4.1 BSD Box. > > Not unless someone submits a diff or the maintainer has some extra time > on his hands to make it work under FreeBSD. I've heard a few reports > that 5.2 was a major PITA to get working. > [...] The trouble with 5.2 might exists on older FreeBSD 3.x or 4.0 or with an out-dated linux_base, but with a fresh 4.1-STABLE and a fresh linux_base, I was able to successfully install StarOffice 5.2 twice on different boxes with the appended script. Feel free to turn this script into a new port for StarOffice 5.2. Ralf S. Engelschall rse@engelschall.com www.engelschall.com #!/bin/sh echo "1. Creating run-time environment in /compat/linux/tmp/office52" rm -rf /compat/linux/tmp/office52 mkdir -p /compat/linux/tmp/office52 unzip -d /compat/linux/tmp/office52 -X -x so-5_2-ga-bin-linux-en.bin rm -rf /compat/linux/tmp/soffice.tmp rm -rf /compat/linux/tmp/sv001.tmp chmod a+x so-5_2-ga-bin-linux-en.bin echo "2. Installing StarOffice 5.2 into /usr/local/lib/office52" mkdir -p /usr/local/lib/office52 (LD_LIBRARY_PATH="/lib:/usr/lib:/usr/i486-linux-libc5/lib:/usr/X11R6/lib:/tmp/office52" export LD_LIBRARY_PATH HOME=/usr/local/lib; export HOME /compat/linux/bin/sh -c './so-5_2-ga-bin-linux-en.bin /net') echo "3. Creating wrapper script /usr/local/bin/soffice" cat >/usr/local/bin/soffice <