[arch-commits] Commit in gv/trunk (PKGBUILD buildfix.diff)

Eric Bélanger eric at archlinux.org
Fri Mar 30 21:31:56 EDT 2012


    Date: Friday, March 30, 2012 @ 21:31:56
  Author: eric
Revision: 154830

upgpkg: gv 3.7.3.90-1

Upstream update to fix issues with libxaw 1.6 (close FS#28516), Update license, Remove old patch

Modified:
  gv/trunk/PKGBUILD
Deleted:
  gv/trunk/buildfix.diff

---------------+
 PKGBUILD      |   15 ++++++---------
 buildfix.diff |   15 ---------------
 2 files changed, 6 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-30 22:42:03 UTC (rev 154829)
+++ PKGBUILD	2012-03-31 01:31:56 UTC (rev 154830)
@@ -2,25 +2,22 @@
 # Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=gv
-pkgver=3.7.3
+pkgver=3.7.3.90
 pkgrel=1
 pkgdesc="A program to view PostScript and PDF documents"
 arch=('i686' 'x86_64')
 url="http://www.gnu.org/software/gv/"
-license=('GPL')
+license=('GPL3')
 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'
+#source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png)
+source=(ftp://alpha.gnu.org/gnu/gv/${pkgname}-${pkgver}.tar.gz gv.desktop gv.png)
+md5sums=('3eba9b449ccae2537e7d14ce85ca9e66'
          'cf04652952f2d0903bc7578b4826f50c'
-         'ab0e3879dbe39e59ad1c923020c28a86'
-         '943baf7a6bb61389a09a4ec71083a900')
+         'ab0e3879dbe39e59ad1c923020c28a86')
 
 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

Deleted: buildfix.diff
===================================================================
--- buildfix.diff	2012-03-30 22:42:03 UTC (rev 154829)
+++ buildfix.diff	2012-03-31 01:31:56 UTC (rev 154830)
@@ -1,15 +0,0 @@
-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)
- }



More information about the arch-commits mailing list