[arch-commits] Commit in gv/trunk (PKGBUILD aplinedel.patch gv.install)
Eric Bélanger
eric at archlinux.org
Mon May 2 09:38:26 UTC 2011
Date: Monday, May 2, 2011 @ 05:38:25
Author: eric
Revision: 122132
upgpkg: gv 3.7.2-1
Upstream update, Added desktop-file-utils depends, Removed old patch
Modified:
gv/trunk/PKGBUILD
gv/trunk/gv.install
Deleted:
gv/trunk/aplinedel.patch
-----------------+
PKGBUILD | 21 +++++++++++----------
aplinedel.patch | 11 -----------
gv.install | 4 +++-
3 files changed, 14 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-05-02 09:21:35 UTC (rev 122131)
+++ PKGBUILD 2011-05-02 09:38:25 UTC (rev 122132)
@@ -1,24 +1,25 @@
# $Id$
-# Maintainer: Eric Belanger <eric at archlinux.org>
+# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=gv
-pkgver=3.7.1
-pkgrel=2
+pkgver=3.7.2
+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')
+depends=('xaw3d' 'ghostscript' 'desktop-file-utils')
install=gv.install
-source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png aplinedel.patch)
-md5sums=('bf4823d00d8e431f97dbcb7dd87c46ac' 'cf04652952f2d0903bc7578b4826f50c'\
- 'ab0e3879dbe39e59ad1c923020c28a86' '8a57a5d50a0d68dc1d98108e9665bd2d')
-sha1sums=('05fcf76f29de77e67379bae7e9ca1c8a26bbf6e1' 'c8230fe08ee6d22525678a97832f44941237d174'\
- '35b9168e526527001b1b5b8ee34a5b69d9369590' 'e6358e74ec2641730b44443a49df36322df2bdd8')
+source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png)
+md5sums=('eb47d465755b7291870af66431c6f2e1'
+ 'cf04652952f2d0903bc7578b4826f50c'
+ 'ab0e3879dbe39e59ad1c923020c28a86')
+sha1sums=('d9573e17f5d88d150fccb257ce205dbceab83e8a'
+ 'c8230fe08ee6d22525678a97832f44941237d174'
+ '35b9168e526527001b1b5b8ee34a5b69d9369590')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 < ../aplinedel.patch
sed -i -e "s:-dGraphicsAlphaBits=2:\0 -dAlignToPixels=0:" src/Makefile.{am,in}
./configure --prefix=/usr
make
Deleted: aplinedel.patch
===================================================================
--- aplinedel.patch 2011-05-02 09:21:35 UTC (rev 122131)
+++ aplinedel.patch 2011-05-02 09:38:25 UTC (rev 122132)
@@ -1,11 +0,0 @@
-diff -ur a/src/gv_misc_res.dat b/src/gv_misc_res.dat
---- a/src/gv_misc_res.dat 2010-10-15 09:21:36.000000000 +0200
-+++ b/src/gv_misc_res.dat 2010-10-15 09:21:48.000000000 +0200
-@@ -476,7 +476,6 @@
- <Key>BackSpace: GV_Page(up,left-bottom,!page-1,bottom-rightedge)\n\
- <Key>Insert: GV_Page(page-5) \n\
- <Key>Delete: GV_Page(page+5) \n\
-- <Key>apLineDel: GV_Page(page+5) \n\
- <Key>Home: GV_Page(page=0) \n\
- <Key>End: GV_Page(page=99999) \n\
- <Key>Prior: GV_Page(page-1) \n\
Modified: gv.install
===================================================================
--- gv.install 2011-05-02 09:21:35 UTC (rev 122131)
+++ gv.install 2011-05-02 09:38:25 UTC (rev 122132)
@@ -1,7 +1,8 @@
-infodir=/usr/share/info
+infodir=usr/share/info
file=gv.info.gz
post_install() {
+ update-desktop-database -q
[ -x usr/bin/install-info ] || return 0
install-info $infodir/$file $infodir/dir 2> /dev/null
}
@@ -11,6 +12,7 @@
}
pre_remove() {
+ update-desktop-database -q
[ -x usr/bin/install-info ] || return 0
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
}
More information about the arch-commits
mailing list