Package: openoffice.org Version: 1:3.2.0-6 Severity: important Tags: patch X-Debbugs-CC: debian-bsd@lists.debian.org User: debian-bsd@lists.debian.org Usertags: kfreebsd Hello, bellow is the recipe, how to build openoffice.org on GNU/kFreeBSD. The built packages are available at http://io.debian.net/~salinger/openoffice.org/ Please test them. Petr -------------- Enable all extension in debian/rules as on (linux-)i386/(linux-)amd64 for both kfreebsd-i386 and kfreebsd-amd64 OOO_OGLTRANS_ARCHS= i386 powerpc s390 kfreebsd-i386 kfreebsd-amd64 OOO_ARCHS= i386 m68k mips mipsel powerpc s390 kfreebsd-i386 kfreebsd-amd64 OOO_JAVA_ARCHS = i386 mips mipsel powerpc s390 kfreebsd-i386 kfreebsd-amd64 OOO_GCJ_JDK_ARCHS := hppa ia64 kfreebsd-i386 kfreebsd-amd64 mips mipsel OOO_MONO_ARCHS = i386 kfreebsd-i386 kfreebsd-amd64 OOO_MOZILLA_ARCHS=i386 mips mipsel powerpc s390 kfreebsd-i386 kfreebsd-amd64 optionally reduce building time by setting in debian/rules BUILD_ONLY_EN_US=y regenerate control by debian/rules control Start build until it passes touch stamp/prebuild and ends with configure: error: operating system is not suitable to build OpenOffice.org! Now apply: build.diff - recognize as LINUX platform osl-unx.diff - tweaks needed as only user environment is same as on LINUX, but kernel is still FREEBSD stream-unx.diff - ditto "debian/rules build" until it does not recognize GNU/kFreeBSD due to outdated config.guess in libtextcat apply libtextcat.diff - update config.sub/config.guess and outdated libtool fixes "debian/rules build" until it does not recognize GNU/kFreeBSD due to outdated config.guess in xmlsec apply xmlsec.diff - update config.sub/config.guess "debian/rules build" It finishes fine. apply install.diff and "fakeroot debian/rules binary" it fails with debian/ure/usr/lib/openoffice/ure/bin/regcomp -revoke ... debian/ure/usr/lib/openoffice/ure/bin/javaldx: error while loading shared libraries: libuno_sal.so.3: cannot open shared object file: No such file ordirectory debian/ure/usr/lib/openoffice/ure/bin/regcomp.bin: error while loading shared libraries: libuno_sal.so.3: cannot open shared object file: No such file or directory export LD_LIBRARY_PATH=debian/ure/usr/lib/openoffice/ure/lib/ "fakeroot debian/rules binary" Got it.
Attachment:
oo-kf.tgz
Description: GNU Unix tar archive