You are not logged in.

#1 2007-09-29 16:21:49

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

gnumeric build and its libs

Hello,

I build a new version of gnumeric using a slightly changed PKGBUILD from ABS. I hat to rebuild three libraries for that reason: goffice, libgda and libgnomedbdb with recent Versions.

Everything went well, but now a pacman -Suy trys to force me to install the old versions libgda-1.2.4-1  libgnomedb-1.2.2-6 .

I have libgda 3.1.1-1 libgnomedb 3.1.1-1. Why does pacman think, these are older than  libgda-1.2.4-1  libgnomedb-1.2.2-6 ?

My PKGBUILD for gnumeric:

# $Id: PKGBUILD,v 1.26 2007/08/12 05:06:10 aaron Exp $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Kritoke <typeolinux@yahoo.com>

pkgname=gnumeric
pkgver=1.7.12
pkgrel=1
pkgdesc="A GNOME Spreadsheet Program"
url="http://www.gnome.org/projects/gnumeric/"
arch=(i686 x86_64)
license=('GPL')
depends=('goffice>=0.4.2')
makedepends=('perlxml' 'pygtk' 'psiconv' 'pkgconfig')
install=gnumeric.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/1.7/${pkgname}-${pkgver}.tar.bz2)
md5sums=('d00a63bac78e29920e5ea2fce8cfa25e')
options=('libtool')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  find . -name Makefile.in -exec sed -i -e 's/-scrollkeeper-update.*//' {} \;
  if [ -f omf.make ]; then
    sed -i -e 's/-scrollkeeper-update.*//' omf.make
  fi
  find plugins -name 'plugin.xml.in' -exec sed -i -e 's/\.la/.so/g' {} \;
  rm -f GNOME_Gnumeric.server.in

  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --disable-static \
          --with-guile --without-bonobo --enable-ssindex
  make || return 1
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install

  mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
  gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
  rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas
}

Offline

#2 2007-10-01 20:37:46

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: gnumeric build and its libs

Tracking development versions of programs can be troublesome sometimes. Maybe Aaron Griffin should have stayed with gnumeric 1.6.x and waited for 1.8 instead of updating to 1.7.11

Offline

#3 2007-10-02 08:32:40

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: gnumeric build and its libs

Well, my built of gnumeric 1.7.12 works. My question was merely in pacman's direction. Why does pacman think, 3.1.1.1 is older than 1.2.4 or 1.2.2.6?

But I learned yesterday from another thread somewhere that pacman.conf has a command IgnorePkg, so I put libgda and libgnomedb there, so I don't have a problem.

Offline

Board footer

Powered by FluxBB