From 7a600dcabb6923ee79d36a4eaab2fc6867bdb807 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 5 May 2013 01:06:44 -0700 Subject: Sun May 5 01:06:40 PDT 2013 --- extra/gnumeric/PKGBUILD | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'extra/gnumeric/PKGBUILD') diff --git a/extra/gnumeric/PKGBUILD b/extra/gnumeric/PKGBUILD index cf6214957..60251ada3 100644 --- a/extra/gnumeric/PKGBUILD +++ b/extra/gnumeric/PKGBUILD @@ -1,16 +1,17 @@ -# $Id: PKGBUILD 179971 2013-03-13 16:25:37Z jgc $ +# $Id: PKGBUILD 184239 2013-05-04 19:38:00Z foutrelis $ # Maintainer: Eric Belanger # Contributor: Kritoke pkgname=gnumeric -pkgver=1.12.1 +pkgver=1.12.2 pkgrel=1 pkgdesc="A GNOME Spreadsheet Program" arch=('i686' 'x86_64') url="http://www.gnome.org/projects/gnumeric/" license=('GPL') depends=('goffice' 'desktop-file-utils' 'hicolor-icon-theme') -makedepends=('intltool' 'psiconv' 'pygobject-devel' 'gnome-doc-utils' 'gobject-introspection') +makedepends=('intltool' 'psiconv' 'pygobject-devel' 'gnome-doc-utils' + 'gobject-introspection' 'optipng') optdepends=('python2-gobject: for python plugin support' 'perl: for perl plugin support' 'psiconv: for Psion 5 file support' @@ -20,12 +21,13 @@ options=('!libtool') source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz gnumeric-1.12.1-automake-1.13.patch revert-warnings.patch) -sha256sums=('0f5a7af3acae7db643eb00e8b4fca6a9e90162259c6a73e4214cfa8c96cc3901' +sha256sums=('d6fda191c1c76be2ede21fe78b8c9f96d39aea82ccfb537775a83bf88d781874' '1eb57b931023d961e9d0f3675fe96b5559270fa38c97401cb06fc7aed9c8e275' 'bcafca016b809000c2a5bf911e2e3dfa4de28f9e541d9964574cac5c7ce09e53') -build() { +prepare() { cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ../gnumeric-1.12.1-automake-1.13.patch patch -Np0 -i ../revert-warnings.patch @@ -33,8 +35,16 @@ build() { sed -i -e 's/zz-application\/zz-winassoc-xls;//' gnumeric.desktop.in autoreconf -fi + + # Fix invalid PNG images to work with libpng 1.6 + # https://bugzilla.gnome.org/show_bug.cgi?id=699683 + find -name '*.png' -exec optipng -quiet -force -fix {} + +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --enable-ssindex --disable-schemas-compile --enable-introspection --enable-compile-warnings=no + --disable-schemas-compile --enable-introspection make } -- cgit v1.2.3-54-g00ecf