You are not logged in.

#26 2005-12-18 02:04:08

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: OpenOffice2 - the final attemp

Here some info that I can give you from a quick test.
The patches are applied from within the $startdir/src/ooo-build-2.0.0.2/Makefile.  Check the patch.apply target.

As for the recovery-report.diff patch, to apply it:
$ cp $startdir/src/ooo-build-2.0.0.2/patches/src680/recovery-report.diff  $startdir/src/src680-m145
$ cd $startdir/src/src680-m145
$ patch -p0 < recovery-report.diff

However, it doesn't apply cleanly.  You'll probably need to delete it or to see what changes it does to the source and to make a new one based on it.

HTH.

Offline

#27 2005-12-18 22:00:53

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

I´ve added this to the bugreport:

I´m now testing with src680-m146 + daily snapshot. Both files being patched by
the recovery-report.diff are included in revision 1.5!

But the diff was done against version 1.2 and 1.3. I guess the
recovery-report.diff has to be droped or regenerated.

Andreas Radke

I guess the patch could be dropped for now.

There´s a list of patches in relation to the "--with-distro=foo" option. They´re listed in $startdir/src/ooo-build-2.0.0.2/patches/OOO_2_0/apply

Maybe we can comment there out the recovery-report.patch in line 65

# -------- [ Tag [ >= <tag> etc. ], ] patch sets --------

[ TemporaryHacks ]
# De Sun-ify the recovery report dialog - FIXME file up-stream
recovery-report.diff

Can you give me the right sed line for the pkgbuild?

Offline

#28 2005-12-18 22:15:25

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

sed -i -e "s:recovery-report.diff:#recovery-report.diff:g" apply

I´ll test it.

edit: no. that was the wrong place.

Offline

#29 2005-12-18 23:18:37

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

Shit. Did a silly mistake. I works that way. Next patch is the startup-fix.diff I have to look at. Seems to be the same.

Seems that the whole [ TemporaryHacks ] section ist broken.

But now I can go further tongue

Offline

#30 2005-12-18 23:27:47

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: OpenOffice2 - the final attemp

haha, you're very tenacious. Thanks for trying!! I think you will succeeed!!

Dusty

Offline

#31 2005-12-18 23:55:27

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

Yeah. I hope at the end you will have a master pkgbuild you can build up tongue

Offline

#32 2005-12-19 00:18:25

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

I´m nasty. I will do what I should have done straight from the beginning:

Steal parts of the frugalbuild

Their pkgbuild looks quiet equal. Expect they go with last stable build an add the daily build. Maybe this is one mistake I do. As long as we won´t have our own distrotag we need to use another one or we will have to fixe the used patches manually.

Now it should be easy to finish it.

Tomorrow will be another day. Good night for today. tongue

Offline

#33 2005-12-21 19:50:49

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: OpenOffice2 - the final attemp

So how's the progress? I hope that now everything will work out just fine.

BTW. Could you please specify in the PKGBUILD that openoffice should use the system's freetype library? The binaries distributed by OOo.org have freetype statically linked into them and it doesn't use the auto-hinter  (and some fonts look really ugly with it) because of patent issues. AFAIK Arch's default freetype uses the autohinter so linking to it would be great.

I googled a bit, but the only thing I found was :
http://porting.openoffice.org/mac/build_680_X11.html

Instead of using --with-freetype2=... you can also use --with-system-freetype

Offline

#34 2005-12-23 18:31:16

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

Great improvements! Now I think I know the right way. This is the last pgkbuild:

# $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=ooo-daily
pkgver=2.0.1
pkgrel=1
pkgdesc="OpenOffice daily snapshot"
url="http://www.openoffice.org"
depends=('perl' 'gtk2' 'gnome-vfs' 'libxml2' 'libart-lgpl' 'libsndfile' 
 'startup-notification' 'fontconfig' 'libpng' 'imagemagick' 'flex' 'mozilla-firefox' 'neon>=0.24.0' 
 'bison' 'zip' 'unzip' 'expat' 'cups' 'desktop-file-utils' 'perl-archive-zip' 'unixodbc')
 makedepends=('findutils' 'curl' 'intltool' 'tcsh' 'gcc' 'pam' 'qt' 
 'kdelibs' 'evolution-data-server' 'boost' 'icu' 'pam')
#makedepends=('j2sdk libgpcl glitz cairo ccache tcsh')

#depends=('x-server' 'desktop-file-utils')

#conflicts=('openoffice-spell-it')
#install=(openoffice.install)
#replaces=('openoffice-en')

_relver=OOA680
_patchver=OOO680
_oootagver=OOO_2_0_1
#_ooobuildver=2.0.0.2
_build=SRC680
_buildtag=src680-m146
_snap=20051218

source=(http://www.go-ooo.org/packages/$_relver/ooo-build-$pkgver.tar.gz 
    http://www.go-ooo.org/packages/$_relver/$_oootagver-core.tar.bz2 
    http://www.go-ooo.org/packages/$_relver/$_oootagver-lang.tar.bz2 
    http://www.go-ooo.org/packages/$_relver/$_oootagver-system.tar.bz2 
    http://www.go-ooo.org/packages/$_relver/$_oootagver-binfilter.tar.bz2 
    http://www.go-ooo.org/packages/$_relver/$_oootagver-sdk_oo.tar.bz2 
    http://www.go-ooo.org/packages/$_build/extras-2.tar.bz2 
    http://www.go-ooo.org/packages/$_build/ooo_crystal_images-6.tar.bz2 
    http://www.go-ooo.org/packages/$_build/ooo_custom_images-13.tar.bz2 
    http://www.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/cli_types.dll          # only with offline build
    http://go-ooo.org/packages/SRC680/cli_types_bridgetest.dll      # only with offline build
)

md5sums=('')

NOEXTRACT=1

build() {
  # 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 
    --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 
    --disable-post-install-scripts 
    --mandir=/usr/man 
    --without-docdir 
    --without-java 
    --without-hunspell 
    --with-gcc-speedup=ccache 
    --with-distro=NLD 
    --with-system-fonts 
    --with-system-gpc 
  # just to make sure all is at the right place - will be later removed
#  ./download.in || return 1
  # multiprocessing tends to break the build
  make -j1 || return 1
  #make  || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

Now a small error message:

checking which mozilla to use... external
checking whether to use Mozilla or Firefox... Mozilla
checking for mozilla-xpcom ... Package mozilla-xpcom was not found in the pkg-config search path. Perhaps you should add the directory containing `mozilla-xpcom.pc' to the PKG_CONFIG_PATH environment variable No package 'mozilla-xpcom' found
configure: error: Library requirements (mozilla-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] Fehler 1
==> ERROR: Build Failed.  Aborting...

real    4m58.047s
user    2m7.376s
sys     0m43.867s
[andyrtr@workstation openoffice.org]$

[root@workstation andyrtr]# locate mozilla-xpcom
/mnt/arch64/var/abs/extra/devel/gecko-sdk/mozilla-xpcom.pc
/mnt/arch64/var/abs/network/mozilla-thunderbird/src/mozilla/build/unix/mozilla-xpcom.pc.in
/mnt/arch64/home/andyrtr/.mozilla/.mozilla/build/unix/mozilla-xpcom.pc.in
/var/abs/extra/devel/gecko-sdk/mozilla-xpcom.pc
/home/daten/sicherungen/firefox/20050909/.mozilla/build/unix/mozilla-xpcom.pc.in
/home/daten/sicherungen/firefox/20050915/.mozilla/build/unix/mozilla-xpcom.pc.in
/home/daten/sicherungen/firefox/20050916/.mozilla/build/unix/mozilla-xpcom.pc.in
/home/andyrtr/.mozilla/build/unix/mozilla-xpcom.pc.in
[root@workstation andyrtr]#

Hm. Maybe we haven´t included the needed file :?:

I guess I´m not far from having success building the monster tongue

Later the pkgbuild needs some cleanup and checking the depends/makedepend. I´ve taken them from frugalware.

Merry X-mas.

AndyRTR

Offline

#35 2005-12-23 19:12:10

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

OK, that´s fixed using "--with-firefox " smile

Next issue:

checking for firefox-nss ... Package firefox-nss was not found in the pkg-config search path. Perhaps you should add the directory containing `firefox-nss.pc' to the PKG_CONFIG_PATH environment variable No package 'firefox-nss' found
configure: error: Library requirements (firefox-nss ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them

Hm. I´ve found that in the Firefox PKGBUILD :

#We don't provide includefiles for NSS anymore
  #NSPR isn't built anyways, remove pkgconfig files for it
  rm $startdir/pkg/opt/mozilla/lib/pkgconfig/firefox-ns{s,pr}.pc

Trying --without-nss now...

Edit: hm. no success.

Offline

#36 2005-12-23 19:33:30

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

Package "nss" is installed but not recognized.

[root@workstation andyrtr]# env | grep PKG
PKG_CONFIG_PATH=:/opt/gnome/lib/pkgconfig:/opt/kde/lib/pkgconfig:/opt/mozilla/lib/pkgconfig:/opt/qt/lib/pkgconfig:/opt/xfce4/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
[root@workstation andyrtr]#

[root@workstation andyrtr]# locate nss | grep libnss3
/opt/mozilla/lib/thunderbird-1.0.7/libnss3.so
/opt/mozilla/lib/firefox-1.0.7/libnss3.so
/opt/mozilla/lib/nvu-1.0/libnss3.so
/opt/openoffice/program/libnss3.so

How to get OOo the libnns3 recognized :?:

Offline

#37 2005-12-23 20:35:05

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: OpenOffice2 - the final attemp

I guess you need the nspr package (is a dependency of mozilla-firefox)

Name           : nspr
Version        : 4.6-3
Groups         : None
Packager       : Arch Linux (http://www.archlinux.org)
URL            : http://www.mozilla.org/projects/nspr/
License        : MPL GPL
Architecture   : i686
Size           : 1202774
Build Date     : Fri Dec  2 09:13:42 2005 UTC
Install Date   : Sat Dec  3 09:13:22 2005 UTC
Install Script : No
Reason:        : installed as a dependency for another package
Provides       : None
Depends On     : glibc
Required By    : mozilla-firefox mozilla-thunderbird mplayer-plugin
Conflicts With : None
Description    : Netscape Portable Runtime

The files you are looing for are in:

nspr /usr/lib/pkgconfig/mozilla-nspr.pc
nspr /usr/lib/pkgconfig/nspr.pc

Just add /usr/lib/pkgconfig to your PKG_CONFIG_PATH and everything should be fine. Hope that helps.

I don't know why /usr/lib/pkgconfig isn't in the default PKG_CONFIG_PATH. Mine is the default:

[root@wintermute:~] echo $PKG_CONFIG_PATH
:/opt/kde/lib/pkgconfig:/opt/mozilla/lib/pkgconfig:
/opt/qt/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/opt/kde/lib/pkgconfig:
/opt/mozilla/lib/pkgconfig:/opt/qt/lib/pkgconfig:/usr/X11R6/lib/pkgconfig

Perhaps this should be reported as a bug in Arch?

Offline

#38 2005-12-23 20:43:39

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: OpenOffice2 - the final attemp

As for your PKGBUILD, I'd rather trim these dependencies. They are.... HUGE to say the least.

depends=('perl' 'gtk2' 'gnome-vfs' 'libxml2' 'libart-lgpl' 'libsndfile' 
 'startup-notification' 'fontconfig' 'libpng' 'imagemagick' 'flex' 'mozilla-firefox' 'neon>=0.24.0' 
 'bison' 'zip' 'unzip' 'expat' 'cups' 'desktop-file-utils' 'perl-archive-zip' 'unixodbc')
 makedepends=('findutils' 'curl' 'intltool' 'tcsh' 'gcc' 'pam' 'qt' 
 'kdelibs' 'evolution-data-server' 'boost' 'icu' 'pam') 

I guess we need only:
x-server
desktop-file-utils

As they are the dependencies for the stock openoffice build. And why is pam listed twice in makedeps? Or why is it listed at all? I just dont get that.

Still, good luck for you smile I hope some day Arch gets it's own openoffice build.

Offline

#39 2005-12-23 20:47:24

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

Neuro wrote:

I guess you need the nspr package (is a dependency of mozilla-firefox)

Don't mix nspr and nss!

Neuro wrote:

Just add /usr/lib/pkgconfig to your PKG_CONFIG_PATH and everything should be fine. Hope that helps.

Did that with no success. OOo is looking for firefox-nss but there exists only mozilla-nss. I´m going to make a symlink. Hope to have permissions within pkgbuild.

Neuro wrote:

I don't know why /usr/lib/pkgconfig isn't in the default PKG_CONFIG_PATH. Mine is the default:

[root@wintermute:~] echo $PKG_CONFIG_PATH
:/opt/kde/lib/pkgconfig:/opt/mozilla/lib/pkgconfig:
/opt/qt/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/opt/kde/lib/pkgconfig:
/opt/mozilla/lib/pkgconfig:/opt/qt/lib/pkgconfig:/usr/X11R6/lib/pkgconfig

Perhaps this should be reported as a bug in Arch?

Agree. That path should be included by default.

Offline

#40 2005-12-24 07:16:53

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

8) Ho, Ho, Ho - it´s X-Mas time 8)

So here´s my present to all you Archies tongue

Moving package file lists...
sed: can't read hunspell_list.txt: No such file or directory
Cleaning up lists of files...
Checking for DESTDIR inside installed files...
Packaging succeeded
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
find: pkg//lib: Datei oder Verzeichnis nicht gefunden
find: pkg/usr/lib: Datei oder Verzeichnis nicht gefunden
find: pkg/usr/local: Datei oder Verzeichnis nicht gefunden
find: pkg/opt/*: Datei oder Verzeichnis nicht gefunden
==> Stripping symbols from binaries...
find: pkg//bin: Datei oder Verzeichnis nicht gefunden
find: pkg//sbin: Datei oder Verzeichnis nicht gefunden
find: pkg/usr/bin: Datei oder Verzeichnis nicht gefunden
find: pkg/usr/sbin: Datei oder Verzeichnis nicht gefunden
find: pkg/usr/local: Datei oder Verzeichnis nicht gefunden
find: pkg/usr/local: Datei oder Verzeichnis nicht gefunden
find: pkg/opt/*: Datei oder Verzeichnis nicht gefunden
find: pkg/opt/*: Datei oder Verzeichnis nicht gefunden
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
==> Compressing package...
==> Finished making: ooo-daily  (Sa Dez 24 06:42:04 CET 2005)

real    468m35.688s
user    339m35.581s
sys     65m13.073s
[andyrtr@workstation openoffice.org]$

While is was compiling I cleaned up the pkgbuild. This is the pkgbuild I´ve used and you should give a try:

# $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 tcshfindutils 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
}

So now it´s time to test it and improve it. Feel free to build it on your machine. Expect a few minutes your cpu will need to work on it lol

From now on I want our official package maintainers and TURs being more involved with it. Let´s discuss about all features and so on. I´ll keep on helping to improve it. But I´d rather work on porting it and other stuff to Arch64 8)

Some points I would like to discuss:
- how to menage language packs? follow frugal again?
- I´ll try if make -j2 works here too(-j3 breaks it every time); -j1 slows it down a lot on my dualcore baby :cry:
- depends & makedepends
- are all these sources really needed(the 2 dll´s, sdk, ...)
- discuss about gtk, kde, cairo, hunspell, access, mono and so on :!:

Merry, merry X-mas.

Your "Santa"
AndyRTR

Offline

#41 2005-12-24 08:23:46

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: OpenOffice2 - the final attemp

AndyRTR wrote:

8) Ho, Ho, Ho - it´s X-Mas time 8)

So here´s my present to all you Archies tongue

Great job! I'll put it under me tree, if it'll compile before the evening wink

So now it´s time to test it and improve it. Feel free to build it on your machine. Expect a few minutes your cpu will need to work on it lol

Well, I was eager to do so, but now... when I see 470 minutes on a Opteron (since dual proc doesn't count on -j 1) I'm scared to even start on my old AXp Barton 2500+ wink Maybe one day

Some points I would like to discuss:
- how to menage language packs? follow frugal again?
- I´ll try if make -j2 works here too(-j3 breaks it every time); -j1 slows it down a lot on my dualcore baby :cry:
- depends & makedepends
- are all these sources really needed(the 2 dll´s, sdk, ...)
- discuss about gtk, kde, cairo, hunspell, access, mono and so on :!:


I guess that gtk and kde should be made make deps. Theres no point in requiring the user to have them, since OOo can switch between it's UI toolkits on startup.

As for cairo, I'm all for it. Firefox 1.5 already requires it for SVG. I wouldn't like OOo to depend on mono though, it's just too... extensive wink Java... Well, a makedepend for sure, but since OOo can run fine without it (I'm doing so now, to reduce start speeds) I wouldn't put it into normal depends.

Could you please post an ldd of the soffice.bin?

Still, it's not for me to debate. I'm just a normal user who'd like Arch to have it's own OOo build smile Once again: great job Andy.

Merry, merry X-mas.

And the same to you smile

Offline

#42 2005-12-26 21:08:09

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

Looks like nobody else is interested in this package :cry:

Offline

#43 2005-12-26 22:05:24

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: OpenOffice2 - the final attemp

AndyRTR wrote:

Looks like nobody else is interested in this package :cry:

Sadly it's true sad Maybe PM one of the devs or something?

It would be a terrible loss if this wasn't used in Arch...

Offline

#44 2005-12-26 22:10:14

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: OpenOffice2 - the final attemp

I don't think alot of people here run a 64 bit system but I'm sure those who do are greatful. Good work AndyRTR.

Offline

#45 2005-12-26 22:17:22

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

This pkgbuild is for arch32! I build for both systems ;-)

I started that one on arch32 and when it´s stable and ready I´ll port it to arch64. So now all Archies should discuss here!

AndyRTR

Offline

#46 2005-12-29 09:54:14

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: OpenOffice2 - the final attemp

Seems like noones interested except for Andy and me sad

Andy could you please build a package with slightly decreased dependencies (as I know not all of them are run-time ones)? Of course a Arch32 build wink I'd like to test it but I lack the horsepower (or rather patience) to build it myself.

Offline

#47 2005-12-29 10:02:12

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: OpenOffice2 - the final attemp

No, I am interested, 2. i686 optimized OOo? Jummy. But I have to prepare my machine first, remove original OOo first. It would be a good idea to post the PKGBUILD to flyspray as a feature request. I'd prefer a native package against a binary install.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#48 2005-12-29 11:22:00

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

Optimized packages will be much better. But we have to extract the language packs to reduce the download size.

[andyrtr@workstation64 courier-imap]$ ls -l /mnt/arch32/var/abs/local/openoffice.org/ooo-daily-2.0.1-1.pkg.tar.gz
-rw-r--r--  1 andyrtr users 515803273 2005-12-24 06:42 /mnt/arch32/var/abs/local/openoffice.org/ooo-daily-2.0.1-1.pkg.tar.gz

That´s quiet huge. Ok. Lets discuss about all the features. Did anyone rebuild the monster locally and did a test? What´s working and what not? I didn´t install it so far.

I´m currently doing other stuff for arch64. Later I will go back to OOo on both systems.

Offline

#49 2006-01-03 14:04:53

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: OpenOffice2 - the final attemp

I can´t see why my package is so big. The frugalware package is about 195MB + 25 language packages located in their extry repo each around 1MB. Maybe one of the configure options blows it up(java?).

Lets summarize what options are usefull and which are not.

I hope there will be another packager to do some tests for archlinux 32bit. But hurry up. Or arch64 will have it first in its repo tongue

Offline

#50 2006-01-03 15:27:52

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,487

Re: OpenOffice2 - the final attemp

can't we ask them - the frugalware peoples? tongue


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

Board footer

Powered by FluxBB