From 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 6 Feb 2012 23:14:50 +0000 Subject: Mon Feb 6 23:14:50 UTC 2012 --- extra/gv/PKGBUILD | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'extra/gv/PKGBUILD') diff --git a/extra/gv/PKGBUILD b/extra/gv/PKGBUILD index 028bacf99..9eb7f80d6 100644 --- a/extra/gv/PKGBUILD +++ b/extra/gv/PKGBUILD @@ -1,25 +1,26 @@ -# $Id: PKGBUILD 122132 2011-05-02 09:38:25Z eric $ +# $Id: PKGBUILD 148658 2012-02-05 11:45:52Z ibiru $ # Maintainer: Eric BĂ©langer pkgname=gv -pkgver=3.7.2 +pkgver=3.7.3 pkgrel=1 pkgdesc="A program to view PostScript and PDF documents" arch=('i686' 'x86_64') url="http://www.gnu.org/software/gv/" license=('GPL') -depends=('xaw3d' 'ghostscript' 'desktop-file-utils') +depends=('xaw3d>=1.6' 'ghostscript' 'desktop-file-utils') install=gv.install -source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png) -md5sums=('eb47d465755b7291870af66431c6f2e1' +source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png + buildfix.diff) +md5sums=('98ae3e9ce338b64ba5ab622389c5960e' 'cf04652952f2d0903bc7578b4826f50c' - 'ab0e3879dbe39e59ad1c923020c28a86') -sha1sums=('d9573e17f5d88d150fccb257ce205dbceab83e8a' - 'c8230fe08ee6d22525678a97832f44941237d174' - '35b9168e526527001b1b5b8ee34a5b69d9369590') + 'ab0e3879dbe39e59ad1c923020c28a86' + '943baf7a6bb61389a09a4ec71083a900') build() { cd "${srcdir}/${pkgname}-${pkgver}" + # https://trac.macports.org/browser/trunk/dports/print/gv/files/patch-src-Scrollbar.c.diff?rev=89338 + patch -Np0 -i ${srcdir}/buildfix.diff sed -i -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" src/Makefile.{am,in} ./configure --prefix=/usr make -- cgit v1.2.3-54-g00ecf