[arch-commits] Commit in gv/repos (12 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sat Feb 4 12:54:01 UTC 2012
Date: Saturday, February 4, 2012 @ 07:54:00
Author: andyrtr
Revision: 148612
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
gv/repos/staging-i686/
gv/repos/staging-i686/PKGBUILD
(from rev 148611, gv/trunk/PKGBUILD)
gv/repos/staging-i686/buildfix.diff
(from rev 148611, gv/trunk/buildfix.diff)
gv/repos/staging-i686/gv.desktop
(from rev 148611, gv/trunk/gv.desktop)
gv/repos/staging-i686/gv.install
(from rev 148611, gv/trunk/gv.install)
gv/repos/staging-i686/gv.png
(from rev 148611, gv/trunk/gv.png)
gv/repos/staging-x86_64/
gv/repos/staging-x86_64/PKGBUILD
(from rev 148611, gv/trunk/PKGBUILD)
gv/repos/staging-x86_64/buildfix.diff
(from rev 148611, gv/trunk/buildfix.diff)
gv/repos/staging-x86_64/gv.desktop
(from rev 148611, gv/trunk/gv.desktop)
gv/repos/staging-x86_64/gv.install
(from rev 148611, gv/trunk/gv.install)
gv/repos/staging-x86_64/gv.png
(from rev 148611, gv/trunk/gv.png)
------------------------------+
staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
staging-i686/buildfix.diff | 15 +++++++++++++++
staging-i686/gv.desktop | 11 +++++++++++
staging-i686/gv.install | 18 ++++++++++++++++++
staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
staging-x86_64/buildfix.diff | 15 +++++++++++++++
staging-x86_64/gv.desktop | 11 +++++++++++
staging-x86_64/gv.install | 18 ++++++++++++++++++
8 files changed, 156 insertions(+)
Copied: gv/repos/staging-i686/PKGBUILD (from rev 148611, gv/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-02-04 12:54:00 UTC (rev 148612)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gv
+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>=1.6' 'ghostscript' 'desktop-file-utils')
+install=gv.install
+source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png
+ buildfix.diff)
+md5sums=('98ae3e9ce338b64ba5ab622389c5960e'
+ 'cf04652952f2d0903bc7578b4826f50c'
+ '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
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 ../gv.desktop "${pkgdir}/usr/share/applications/gv.desktop"
+ install -D -m644 ../gv.png "${pkgdir}/usr/share/pixmaps/gv.png"
+}
Copied: gv/repos/staging-i686/buildfix.diff (from rev 148611, gv/trunk/buildfix.diff)
===================================================================
--- staging-i686/buildfix.diff (rev 0)
+++ staging-i686/buildfix.diff 2012-02-04 12:54:00 UTC (rev 148612)
@@ -0,0 +1,15 @@
+This piece of code is from libXaw3d-1.6/src/Scrollbar.c (Line 644)
+
+http://bugs.gentoo.org/399753
+
+--- src/Scrollbar.c
++++ src/Scrollbar.c
+@@ -1006,7 +1006,7 @@
+ TOPLOC = newtop;
+ SHOWNLENGTH = newbot-newtop+1;
+
+- (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
++ (*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE);
+
+ ENDMESSAGE(Redisplay)
+ }
Copied: gv/repos/staging-i686/gv.desktop (from rev 148611, gv/trunk/gv.desktop)
===================================================================
--- staging-i686/gv.desktop (rev 0)
+++ staging-i686/gv.desktop 2012-02-04 12:54:00 UTC (rev 148612)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=GV
+MimeType=application/pdf;application/postscript;image/x-eps;application/illustrator
+GenericName=Postscript Viewer
+Exec=gv
+Icon=gv
+Categories=Application;Graphics;Viewer;Office;
+Type=Application
+Terminal=false
+StartupNotify=true
Copied: gv/repos/staging-i686/gv.install (from rev 148611, gv/trunk/gv.install)
===================================================================
--- staging-i686/gv.install (rev 0)
+++ staging-i686/gv.install 2012-02-04 12:54:00 UTC (rev 148612)
@@ -0,0 +1,18 @@
+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
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ update-desktop-database -q
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}
Copied: gv/repos/staging-i686/gv.png (from rev 148611, gv/trunk/gv.png)
===================================================================
(Binary files differ)
Copied: gv/repos/staging-x86_64/PKGBUILD (from rev 148611, gv/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-02-04 12:54:00 UTC (rev 148612)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=gv
+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>=1.6' 'ghostscript' 'desktop-file-utils')
+install=gv.install
+source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png
+ buildfix.diff)
+md5sums=('98ae3e9ce338b64ba5ab622389c5960e'
+ 'cf04652952f2d0903bc7578b4826f50c'
+ '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
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 ../gv.desktop "${pkgdir}/usr/share/applications/gv.desktop"
+ install -D -m644 ../gv.png "${pkgdir}/usr/share/pixmaps/gv.png"
+}
Copied: gv/repos/staging-x86_64/buildfix.diff (from rev 148611, gv/trunk/buildfix.diff)
===================================================================
--- staging-x86_64/buildfix.diff (rev 0)
+++ staging-x86_64/buildfix.diff 2012-02-04 12:54:00 UTC (rev 148612)
@@ -0,0 +1,15 @@
+This piece of code is from libXaw3d-1.6/src/Scrollbar.c (Line 644)
+
+http://bugs.gentoo.org/399753
+
+--- src/Scrollbar.c
++++ src/Scrollbar.c
+@@ -1006,7 +1006,7 @@
+ TOPLOC = newtop;
+ SHOWNLENGTH = newbot-newtop+1;
+
+- (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
++ (*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE);
+
+ ENDMESSAGE(Redisplay)
+ }
Copied: gv/repos/staging-x86_64/gv.desktop (from rev 148611, gv/trunk/gv.desktop)
===================================================================
--- staging-x86_64/gv.desktop (rev 0)
+++ staging-x86_64/gv.desktop 2012-02-04 12:54:00 UTC (rev 148612)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=GV
+MimeType=application/pdf;application/postscript;image/x-eps;application/illustrator
+GenericName=Postscript Viewer
+Exec=gv
+Icon=gv
+Categories=Application;Graphics;Viewer;Office;
+Type=Application
+Terminal=false
+StartupNotify=true
Copied: gv/repos/staging-x86_64/gv.install (from rev 148611, gv/trunk/gv.install)
===================================================================
--- staging-x86_64/gv.install (rev 0)
+++ staging-x86_64/gv.install 2012-02-04 12:54:00 UTC (rev 148612)
@@ -0,0 +1,18 @@
+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
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ update-desktop-database -q
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}
Copied: gv/repos/staging-x86_64/gv.png (from rev 148611, gv/trunk/gv.png)
===================================================================
(Binary files differ)
More information about the arch-commits
mailing list