You are not logged in.
*bump*
Any luck? Any news when/if custom-built OOo will make it into Arch? any comments from the devs?
Offline
Yes. It would be great if the devs and some users would test this latest pkgbuild:
# $Id: PKGBUILD,v 1.13 2005/11/05 09:17:54 tpowa Exp $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
pkgname=openoffice.org
pkgver=2.0.1
pkgrel=1
pkgdesc="OpenOffice.org - a free office suite"
url="http://www.openoffice.org"
depends=('perl gtk2 gnome-vfs libxml2 libart-lgpl libsndfile startup-notification fontconfig libpng imagemagick flex mozilla-firefox nss neon>=0.24.0 bison zip unzip expat cups desktop-file-utils perl-archive-zip unixodbc x-server desktop-file-utils')
makedepends=('j2sdk apache-ant libgpcl glitz cairo ccache tcsh findutils curl intltool tcsh gcc pam qt kdelibs evolution-data-server boost icu pam')
conflicts=('openoffice-spell-it')
#install=(openoffice.install)
replaces=('openoffice-en')
_relver=OOA680
_oootagver=OOO_2_0_1
_build=SRC680
source=(http://go-ooo.org/packages/$_relver/ooo-build-$pkgver.tar.gz
http://go-ooo.org/packages/$_relver/$_oootagver-core.tar.bz2
http://go-ooo.org/packages/$_relver/$_oootagver-lang.tar.bz2
http://go-ooo.org/packages/$_relver/$_oootagver-system.tar.bz2
http://go-ooo.org/packages/$_relver/$_oootagver-binfilter.tar.bz2
http://go-ooo.org/packages/$_relver/$_oootagver-sdk_oo.tar.bz2
http://go-ooo.org/packages/$_build/extras-2.tar.bz2
http://go-ooo.org/packages/$_build/ooo_crystal_images-6.tar.bz2
http://go-ooo.org/packages/$_build/ooo_custom_images-13.tar.bz2
http://go-ooo.org/packages/libwpd/libwpd-0.8.3.tar.gz
http://go-ooo.org/packages/SRC680/cairo-1.0.2.tar.gz
http://go-ooo.org/packages/SRC680/glitz-0.4.3.tar.gz
http://go-ooo.org/packages/SRC680/mdbtools-0.6pre1.tar.gz
http://go-ooo.org/packages/SRC680/hunspell-1.0.8.tar.gz
http://go-ooo.org/packages/SRC680/hunspell_UNO_1.1.tar.gz
http://go-ooo.org/packages/SRC680/cli_types.dll # only with offline build
http://go-ooo.org/packages/SRC680/cli_types_bridgetest.dll # only with offline build
)
md5sums=('efa2962487704143767bab8fa08b9477' 'fc0a44c3344c2274b4ea2ee1a8501df5'
'694a196fbcc4f9eb0bdd84656b6b6b2d' '642eaffe89f652358de8261618b3d016'
'4e50fd0fb02155edc410e9fea01e5c59' 'a3e8fd82a8404e05e09f0f5cd36f9050'
'733051ebeffae5232a2eb760162da020' '586d0f26b3f79d89bbb5b25b874e3df6'
'2480af7f890c8175c7f9e183a1b39ed2' 'f34404f8dc6123aca156d203c37e3e5d'
'd0b7111a14f90ec3afa777ec40c44984' '100c4272ad181dcd3b53f602cee3f189'
'246e8f38b2a1af1bcff60ee0da59300b' '1a3d9746f169c2c535bb69f9f838f28b'
'4cc68d37ed3a3191bb78a14630e14c64' '2aa6bb72a257abcd896014b08fa4e6f0'
'f06322e5157495c22ba77f310fa4a89b')
NOEXTRACT=1
build() {
# fix for nss
ln -s /usr/lib/pkgconfig/mozilla-nss.pc $startdir/src/firefox-nss.pc
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$startdir/src
# Untar the ooo-build stuff
tar -xvzf ooo-build-$pkgver.tar.gz || return 1
# Copy downloaded tarballs to the correct location. With this
# ooo-build won't download the tarballs again.
cp $_oootagver-core.tar.bz2 ooo-build-$pkgver/src || return 1
cp $_oootagver-system.tar.bz2 ooo-build-$pkgver/src || return 1
cp $_oootagver-lang.tar.bz2 ooo-build-$pkgver/src || return 1
cp $_oootagver-binfilter.tar.bz2 ooo-build-$pkgver/src || return 1
cp $_oootagver-sdk_oo.tar.bz2 ooo-build-$pkgver/src || return 1
cp ooo_crystal_images-6.tar.bz2 ooo-build-$pkgver/src || return 1
cp ooo_custom_images-13.tar.bz2 ooo-build-$pkgver/src || return 1
cp extras-2.tar.bz2 ooo-build-$pkgver/src || return 1
cp cairo-1.0.2.tar.gz ooo-build-$pkgver/src || return 1
cp glitz-0.4.3.tar.gz ooo-build-$pkgver/src || return 1
cp mdbtools-0.6pre1.tar.gz ooo-build-$pkgver/src || return 1
cp libwpd-0.8.3.tar.gz ooo-build-$pkgver/src || return 1
cp cli_types.dll ooo-build-$pkgver/src || return 1
cp cli_types_bridgetest.dll ooo-build-$pkgver/src || return 1
cd $startdir/src/ooo-build-$pkgver
./configure --prefix=/opt/openoffice
--with-arch="x86"
--with-srcdir=$startdir/src
--with-lang="en-US af ar ca cs cy da de el en-GB es et eu fi fr he hi hu it ja ko nb nl nn pl pt pt-BR ru sk sl sv ta tr zh-TW zh-CN zu"
--with-binsuffix=2
--enable-gtk
--enable-kde
--disable-access
--disable-mono
--disable-cairo
--without-firefox-nss
--with-mozilla-nss
--with-firefox
--disable-post-install-scripts
--mandir=/usr/man
--without-docdir
--with-java
--with-jdk-home=/opt/java
--with-ant-home=/usr
--with-hunspell
--with-gcc-speedup=ccache
--with-distro=NLD
--with-system-fonts
--with-system-gpc
# multiprocessing tends to break the build
make -j1 || return 1
make DESTDIR=$startdir/pkg install || return 1
# Create i18n tarballs.
mkdir $startdir/openoffice.org-i18n
cd $startdir/pkg/opt/openoffice/lib/ooo-2.0/program/resource
for lang in `ls *.res|sed 's/.*680(.*).res/1/'|sort|uniq`
do
if [ "$lang" != "en-US" ]; then
tar cvjf openoffice.org-i18n-$lang-$pkgver.tar.bz2 `ls *680$lang.res`
mv openoffice.org-i18n-$lang-$pkgver.tar.bz2 startdir/openoffice.org-i18n/
rm *680$lang.res
fi
done
}
It should build fine with all language packs.
Sorry that I don't have time for archlinux at the moment. But porting the whole distro to arch64 eats nearly all my time.
Offline
==> Entering fakeroot environment
==> Making package: openoffice.org 2.0.1-1 (Sa Jan 14 20:02:35 CET 2006)
==> Checking Runtime Dependencies...
==> Missing Dependencies:
==>
requires: neon>=0.24.0
requires: perl-archive-zip
==>
[ingo@lemone ooffice]$ sudo pacman -S neon perl-archive-zip
Password:
perl-archive-zip: not found in sync db
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
That's in AUR!
Offline
dusty:~ $ aurbuild -S perl-archive-zip
Name: perl-archive-zip 1.16-2
Description: Archive::Zip - Provide an interface to ZIP archive files
Location: unsupported/lib
Maintainer: Wolfman
Votes: 2
Safe: Yes
Offline
aurbuild ... I missed something ...
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Sorry.... thought everybody knew about aurbuild by now :-D
http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
it allows you to search the aur and build packages from it. The -S is a search, the package you are looking for is:
http://aur.archlinux.org/packages.php?d … s=0&SeB=nd
ftr, you could build it with aurbuild -s perl-archive-zip
Dusty
Offline
... it compiles for ages ...
Offline
Yes. And pray that it won't break in the last minutes collecting the files ;-)
Watch my compiling time above! I have an Opteron 165@175 (=2205MHz each core). It's sad that it cannot use multithreaded compiling :cry:
Offline
Compressing package...
==> Finished making: openoffice.org (So Jan 15 18:24:48 CET 2006)
[ingo@lemone ooffice]$ ls
OOO_2_0_1-binfilter.tar.bz2 cairo-1.0.2.tar.gz hunspell-1.0.8.tar.gz ooo_custom_images-13.tar.bz2
OOO_2_0_1-core.tar.bz2 cli_types.dll hunspell_UNO_1.1.tar.gz openoffice.org-2.0.1-1.pkg.tar.gz
OOO_2_0_1-lang.tar.bz2 cli_types_bridgetest.dll libwpd-0.8.3.tar.gz openoffice.org-i18n
OOO_2_0_1-sdk_oo.tar.bz2 extras-2.tar.bz2 mdbtools-0.6pre1.tar.gz pkg
OOO_2_0_1-system.tar.bz2 filelist ooo-build-2.0.1.tar.gz src
PKGBUILD glitz-0.4.3.tar.gz ooo_crystal_images-6.tar.bz2
[ingo@lemone ooffice]$ sudo pacman -Af openoffice.org-2.0.1-1.pkg.tar.gz
Password:
loading package data... done.
error: unsatisfied dependencies:
openoffice.org: requires perl gtk2 gnome-vfs libxml2 libart-lgpl libsndfile startup-notification fontconfig libpng imagemagick flex mozilla-firefox nss neon>=0.24.0 bison zip unzip expat cups desktop-file-utils perl-archiv
Offline
As I've mentioned above I've taken all dependencies from frugalware. We have to correct them. Just start with "namcap openoffice.org-2.0.1-1.pkg.tar.gz".
But I guess you will have to solve most of them with our packages. For testing you should remove or uncomment all deps in the pkgbuild to get it installing.
And please show us:
ls -l openoffice.org-2.0.1-1.pkg.tar.gz
and
ls -l openoffice.org-i18n :!:
Offline
Just a little typo at the end of the pkgbuild:
...
# Create i18n tarballs.
mkdir $startdir/openoffice.org-i18n
cd $startdir/pkg/opt/openoffice/lib/ooo-2.0/program/resource
for lang in `ls *.res|sed 's/.*680(.*).res/1/'|sort|uniq`
do
if [ "$lang" != "en-US" ]; then
tar cvjf openoffice.org-i18n-$lang-$pkgver.tar.bz2 `ls *680$lang.res`
mv openoffice.org-i18n-$lang-$pkgver.tar.bz2 $startdir/openoffice.org-i18n/
rm *680$lang.res
fi
done
}
Offline
nah ... I shall compile the beast again? ... cry ... ok...
Offline
unfortunately aurbuild does not support proxy ... nah
Offline
Annette & me are rebuilding OOo right now. Let's see what happens.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Good luck. I guess all will be perfect
I'm already going with OOo2.0.1 for Arch64 where I run into several compiling problems :? But the devel release (src680-m150) is even harder to get build
Offline
Funny:
Looking for OOO_2_0_1-core.tar.bz2 ... ok
Unpacking OO.o build tree - [ go make some tea ] ...
It tooks minutes to kame a cup of tea. They'd better advice you to
- populate an uninhabited island and raise a brand new culture
- found a new religion and spread it
- conquer the world
- learn assembler
- plant a apple tree and sell the first harvest at the stock-market
Offline
checking for xmkmf... no
configure: error: install xmkmf to run this script, include openwin in path
make: *** [stamp/build] Fehler 1
==> ERROR: Build Failed. Aborting...
Offline
checking for xmkmf... no
configure: error: install xmkmf to run this script, include openwin in path
make: *** [stamp/build] Fehler 1
==> ERROR: Build Failed. Aborting...
Have you done any change to my pkgbuild? Haven't you had already success to get it compiled?
Maybe there're some more informations above this error message.
What do the lines
Code:
--enable-gtk
--enable-kdeactually do? Would that mean we could have native GTK and KDE open/save dialogs? Or at least native menu? Or is it only the same we have now, looking nearly (but not totally) native?
I hope we will see it soon.
Next, what about
Code:
--with-lang="en-US af ar ca cs cy da de el en-GB es et eu fi fr he hi hu it ja ko nb nl nn pl pt pt-BR ru sk sl sv ta tr zh-TW zh-CN zu"Will it contain all the localizations so no more need for openoffice-xx for installing language we want? Am I understanding it right? Just interesting.
No!
When we put all languages into the main package it's size will be about 500MB :shock:
That's why the last part from the pkgbuild(taken from frugalware) separates all langpacks into their own packages. I hope to reduce the size of the main pkg down to about 200MB like the one from frugalware.
Offline
Hi, AndyRTR. We tried on a machine with xorg from testing. To be honest, the whole machine was using testing stuff. I downgraded it to current & extra, and now the compilation started.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
checking for xmkmf... no
configure: error: install xmkmf to run this script, include openwin in path
make: *** [stamp/build] Fehler 1
==> ERROR: Build Failed. Aborting...
If you're using the xorg in testing, install the imake package.
Offline
Anybody with success? Maybe someone is already testing the beast.
Offline
We still compile .... someone (me) forgot a vmware scheduled job, that stopped the linux guest at night. Such a $%§$%. It started this morning, at 9:30, and still compiles.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
Hi,
I've got this error :
checking for firefox-xpcom ... Package firefox-xpcom was not found in the pkg-config search path. Perhaps you should add the directory containing `firefox-xpcom.pc' to the PKG_CONFIG_PATH environment variable No package 'firefox-xpcom' found
configure: error: Library requirements (firefox-xpcom ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** [stamp/build] Erreur 1
==> ERROR: Build Failed. Aborting...
Firefox is installed with the last package from current.
Any idea ?
Offline
I fix it by change the line
ln -s /usr/lib/pkgconfig/mozilla-nss.pc $startdir/src/firefox-nss.pc
by
ln -s /usr/lib/pkgconfig/mozilla-nss.pc $startdir/src/firefox-xpcom.pc
Now I've got this error :
checking for gnome-vfs-2.0 >= 2.6.0 ... Package gnome-vfs-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gnome-vfs-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gnome-vfs-2.0' found
configure: error: Library requirements (gnome-vfs-2.0 >= 2.6.0 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** [stamp/build] Erreur 1
==> ERROR: Build Failed. Aborting...
Offline