You are not logged in.

#1 2007-03-28 22:00:35

nadavvin
Member
Registered: 2006-11-29
Posts: 105

[solved] Why does Open Office not upgrade?

I have OO 2.0.3 but in the repo there is 2.0.4.|

extra/openoffice-base 2.0.4-1              |
    OpenOffice base package

|
Why does it not upgrade with pacman -Syu?   |
_____________________________________ |_________________

It's not a problem, it still upgrade but since the translation not upgrade, it only show the previous version

Last edited by nadavvin (2007-03-28 22:07:21)

Offline

#2 2007-03-29 00:27:46

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [solved] Why does Open Office not upgrade?

What? OOo-base should be different than the translation. You should have two different packages that upgrade separately.

Offline

#3 2007-03-29 07:44:34

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: [solved] Why does Open Office not upgrade?

Not if the translation is package that I did, although it use the same version source as the other translation.

Offline

#4 2007-03-29 08:06:22

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: [solved] Why does Open Office not upgrade?

as a quick fix, here's the pkgbuild I use for OOo 2.1 (based on the current abs one).
template.desktop and libfreetype are found in abs. and I had to download the OOo tar.gz manually.

# $Id: PKGBUILD,v 1.24 2006/10/21 13:38:21 ganja_guru Exp $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>

pkgname=openoffice-base
pkgver=2.1.0
pkgrel=1
pkgdesc="OpenOffice base package"
url="http://www.openoffice.org"
arch=('i686')
license=('LGPL')
makedepends=('rpmextract')
depends=('desktop-file-utils')
source=( ftp://ftp.leo.org/mirrors/openoffice/stable/${pkgver}/OOo_${pkgver}_LinuxIntel_install_en-US.tar.gz \
        template.desktop libfreetype.so.6.bz2 )
conflicts=('openoffice-spell-it')
install=(openoffice.install)
replaces=('openoffice-en')
build() {
  cd $startdir/src/OOE680_m6_native_packed-1_en-US.9095/RPMS
  # change rpms to tar.gz
  for i in *.rpm
  do
  rpmextract.sh $i
  done
  
  # install openoffice files
  cd $startdir/src/OOE680_m6_native_packed-1_en-US.9095/RPMS/opt
  mkdir -p $startdir/pkg/opt
  mv openoffice.org2.1 $startdir/pkg/opt/openoffice
  chown root -R $startdir/pkg/opt/openoffice
  chgrp root -R $startdir/pkg/opt/openoffice
  
  # install desktop stuff
  cd $startdir/src/OOE680_m6_native_packed-1_en-US.9095/RPMS/desktop-integration
  rpmextract.sh *freedesktop*.rpm
  cp -r usr/ $startdir/pkg/
  cd $startdir/pkg/usr/share
# rm -r applnk-redhat
  rm applications/*
  cp $startdir/pkg/opt/openoffice/share/xdg/*  $startdir/pkg/usr/share/applications
  cd $startdir/pkg/usr
  rm -r bin/
  
  # fix the .desktop files and gnome registry
 # cd $startdir/pkg/usr/share/application-registry
 # sed -i -e 's|command=openoffice.org-2.1|command=/opt/openoffice/program/soffice|g' *.applications
  cd $startdir/pkg/usr/share/applications
  sed -i -e 's|Exec=openoffice.org-2.1|Exec=/opt/openoffice/program/soffice|g' *.desktop
  # fix printeradmin desktop file
  sed -i -e 's|Exec=/opt/openoffice/program/soffice-printeradmin|Exec=/opt/openoffice/program/spadmin|g' printeradmin.desktop
  # fix permissions of files
  chmod +rX -R $startdir/pkg/usr
# make symlink to /usr/bin
  mkdir -p $startdir/pkg/usr/bin
  cd $startdir/pkg/usr/bin
  ln -s ../../opt/openoffice/program/soffice soffice
  ln -s ../../opt/openoffice/program/spadmin spadmin
# add template desktop file
  install -D -m644 $startdir/src/template.desktop $startdir/pkg/usr/share/applications/template.desktop
# fix freetype hinting bug, fixed in 2.1
 install -m644 $startdir/src/libfreetype.so.6 $startdir/pkg/opt/openoffice/program/libfreetype.so.6
}
#md5sums=('736a546f2a2518e49c94f6c7995dc055' '41da27b9a6ce761de5d30e51fd0fe799'\
#         '0e11044d6b2ada49819ea4077a9ce14e')

To know recursion, you must first know recursion.

Offline

#5 2007-03-29 08:13:51

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: [solved] Why does Open Office not upgrade?

What you change?

The problem is not in the shortcuts but in the help->about dialog.

Offline

#6 2007-03-29 08:24:08

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: [solved] Why does Open Office not upgrade?

what I changed, is that it builds a package for OOo 2.1, which is the latest stable version, not present yet in the pacman repositories. I thought it would be useful to you (or others) anyway.

whatever, I don't think the version number itself is a hardcoded translated string (or is it?) so if the about box says 2.0.3, then it's that 2.0.3 has been computed as a version number...

Last edited by lloeki (2007-03-29 08:27:09)


To know recursion, you must first know recursion.

Offline

#7 2007-03-29 08:38:04

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: [solved] Why does Open Office not upgrade?

"whatever, I don't think the version number itself is a hardcoded translated string (or is it?) so if the about box says 2.0.3, then it's that 2.0.3 has been computed as a version number..."

but when I change to English interface, the box show 2.0.4

Offline

#8 2007-03-29 09:29:16

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: [solved] Why does Open Office not upgrade?

well, then it's hardcoded in the translation. surprising.


To know recursion, you must first know recursion.

Offline

#9 2007-03-29 10:42:05

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: [solved] Why does Open Office not upgrade?

lloeki wrote:

what I changed, is that it builds a package for OOo 2.1, which is the latest stable version, not present yet in the pacman repositories. I thought it would be useful to you (or others) anyway.

you do know that 2.2.0 has been released?! wink

Offline

#10 2007-03-29 10:45:23

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

Re: [solved] Why does Open Office not upgrade?

[andyrtr@workstation64 ~]$ pacman -Q openoffice-base
openoffice-base 2.2.0-3

compiled from source wink

(i686 will soon have it too)

Offline

#11 2007-03-30 12:50:10

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: [solved] Why does Open Office not upgrade?

you do know that 2.2.0 has been released?!

wow, things sure fly fast... I checked what, maybe a week ago?

(i686 will soon have it too)

nice to hear that, esp. as it plugs shut some potential security holes.


To know recursion, you must first know recursion.

Offline

#12 2007-03-30 15:13:06

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: [solved] Why does Open Office not upgrade?

OO 2.2 Maybe released, but is not in the repo yet sad

Offline

#13 2007-03-30 15:40:46

nadavvin
Member
Registered: 2006-11-29
Posts: 105

Re: [solved] Why does Open Office not upgrade?

AndyRTR wrote:

[andyrtr@workstation64 ~]$ pacman -Q openoffice-base
openoffice-base 2.2.0-3

compiled from source wink

(i686 will soon have it too)

$ pacman -Q openoffice-base
openoffice-base 2.0.4-1

How is it?

did you mean that there is only in the x86-64 repo?

Offline

#14 2007-03-30 22:00:51

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: [solved] Why does Open Office not upgrade?

nadavvin wrote:

did you mean that there is only in the x86-64 repo?

Yep. The Arch64 devs created the source-build PKGBUILDs for OpenOffice.org but they don't build on 32-bit Arch yet. Work is under way to give all Arch users access to a custom build of OO.o with all the optimized Arch goodness.

Offline

Board footer

Powered by FluxBB