[89338] trunk/dports/print/gv

ryandesign at macports.org ryandesign at macports.org
Wed Jan 25 15:57:38 PST 2012


Revision: 89338
          http://trac.macports.org/changeset/89338
Author:   ryandesign at macports.org
Date:     2012-01-25 15:57:37 -0800 (Wed, 25 Jan 2012)
Log Message:
-----------
gv: update to 3.7.3; enable international; fix build with Xaw3d 1.6 (#33016); enable universal variant now that Xaw3d is universal; install documentation files; GPL-3+ license

Modified Paths:
--------------
    trunk/dports/print/gv/Portfile

Added Paths:
-----------
    trunk/dports/print/gv/files/patch-src-Scrollbar.c.diff

Modified: trunk/dports/print/gv/Portfile
===================================================================
--- trunk/dports/print/gv/Portfile	2012-01-25 19:45:00 UTC (rev 89337)
+++ trunk/dports/print/gv/Portfile	2012-01-25 23:57:37 UTC (rev 89338)
@@ -4,11 +4,12 @@
 PortSystem              1.0
 
 name                    gv
-version                 3.7.2
+version                 3.7.3
 categories              print
 maintainers             ryandesign openmaintainer
 homepage                http://www.gnu.org/software/gv/
 platforms               darwin
+license                 GPL-3+
 
 description             PostScript and PDF previewer
 long_description        gv is a X11 PostScript and PDF previewer based on \
@@ -18,11 +19,9 @@
 
 master_sites            gnu
 
-checksums               sha1    d9573e17f5d88d150fccb257ce205dbceab83e8a \
-                        rmd160  89635afe684c3f4795f658f1b8210d53f03568c5
+checksums               rmd160  d3e7f3137f0aff521a667606ea05507c0dfc5784 \
+                        sha256  ee01ba96e3a5c319eb4658357372a118dbb0e231891b360edecbdebd449d1c2b
 
-# Xaw3d is not universal
-universal_variant       no
 use_parallel_build      yes
 
 depends_lib             port:xorg-libXinerama \
@@ -32,7 +31,10 @@
 
 depends_run             path:bin/gs:ghostscript
 
+patchfiles              patch-src-Scrollbar.c.diff
+
 configure.args          --enable-setenv-code \
+                        --enable-international \
                         --x-include=${prefix}/include \
                         --x-lib=${prefix}/lib
 
@@ -52,3 +54,15 @@
 }
 
 destroot.keepdirs       ${destroot}${prefix}/share/gv/safe-gs-workdir
+
+post-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS \
+        COPYING \
+        ChangeLog \
+        NEWS \
+        README \
+        ${docdir}
+}

Added: trunk/dports/print/gv/files/patch-src-Scrollbar.c.diff
===================================================================
--- trunk/dports/print/gv/files/patch-src-Scrollbar.c.diff	                        (rev 0)
+++ trunk/dports/print/gv/files/patch-src-Scrollbar.c.diff	2012-01-25 23:57:37 UTC (rev 89338)
@@ -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)
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120125/d149bd83/attachment-0001.html>


More information about the macports-changes mailing list