[arch-commits] Commit in fontforge/trunk (PKGBUILD)
Gaetan Bisson
bisson at nymeria.archlinux.org
Mon Jul 29 18:17:22 UTC 2013
Date: Monday, July 29, 2013 @ 20:17:22
Author: bisson
Revision: 191725
rebuild against giflib-5.0.4
Modified:
fontforge/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-29 18:15:18 UTC (rev 191724)
+++ PKGBUILD 2013-07-29 18:17:22 UTC (rev 191725)
@@ -5,14 +5,13 @@
pkgname=fontforge
pkgver=20120731_b
-pkgrel=5
+pkgrel=6
pkgdesc='Outline and bitmap font editor'
+url='http://fontforge.sourceforge.net/'
arch=('i686' 'x86_64')
-url='http://fontforge.sourceforge.net/'
license=('BSD')
depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libtiff' 'python2' 'libspiro'
'desktop-file-utils' 'gtk-update-icon-cache' 'hicolor-icon-theme')
-options=('!libtool' '!makeflags')
source=("http://downloads.sourceforge.net/project/fontforge/fontforge-source/fontforge_full-${pkgver//_/-}.tar.bz2"
'http://fontforge.org/cidmaps.tgz')
sha1sums=('b520f532b48e557c177dffa29120225066cc4e84'
@@ -21,11 +20,16 @@
# git clone git://fontforge.git.sourceforge.net/gitroot/fontforge/fontforge; cd fontforge; git archive --prefix=${pkgname}-${pkgver}/ master | xz > ../${pkgname}-${pkgver}.tar.xz
# source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz")
+options=('!libtool' '!makeflags')
install=install
prepare() {
cd "${srcdir}/${pkgname}-${pkgver//_/-}"
sed 's/python /python2 /g' -i Makefile.dynamic.in
+ sed \
+ -e'/^#include <gif_lib.h>/i #include <stddef.h>' \
+ -e 's/\(DGifOpenFileName([^)]*\))/\1,NULL)/g' \
+ -i configure gutils/gimagereadgif.c
}
build() {
More information about the arch-commits
mailing list