[108831] trunk/dports/graphics/graphviz
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 2 15:38:39 PDT 2013
Revision: 108831
https://trac.macports.org/changeset/108831
Author: ryandesign at macports.org
Date: 2013-08-02 15:38:39 -0700 (Fri, 02 Aug 2013)
Log Message:
-----------
graphviz: update to 2.32.0
Modified Paths:
--------------
trunk/dports/graphics/graphviz/Portfile
Added Paths:
-----------
trunk/dports/graphics/graphviz/files/patch-plugin-core-gvrender_core_dot.c.diff
Removed Paths:
-------------
trunk/dports/graphics/graphviz/files/patch-lib-gvc-libgvc.pc.in.diff
Modified: trunk/dports/graphics/graphviz/Portfile
===================================================================
--- trunk/dports/graphics/graphviz/Portfile 2013-08-02 22:11:18 UTC (rev 108830)
+++ trunk/dports/graphics/graphviz/Portfile 2013-08-02 22:38:39 UTC (rev 108831)
@@ -9,7 +9,7 @@
name graphviz
set my_name graphviz
-version 2.30.1
+version 2.32.0
set thisbranch [strsed ${name} "g/^${my_name}//"]
set otherbranch [expr {${thisbranch} eq {} ? {-devel} : {}}]
categories graphics
@@ -32,16 +32,14 @@
simple text language, and produce output in a \
variety of visual and text formats.
-checksums rmd160 7de6e5e60458208a74ce6033b1a063a04f9dfc48 \
- sha256 775fb996987032d2eca2f1502c6f913e0b02fe640c124723e45db11daf46aec8
+checksums rmd160 b0a63b7466d88b1dc4cfccc19d632ca2c5440407 \
+ sha256 d853b2313e08a1dd0cce20d9ff8051acfa9ec418b5ba2dc65c8f4ddb07a7a77a
# graphviz needs Xcode 3.1+ to avoid the libGL error when building the smyrna variant
# graphviz-gui needs Xcode 3.1.2+; see #18811
minimum_xcodeversions {9 3.1.2}
if {${name} eq ${subport}} {
-revision 1
-
conflicts graphviz${otherbranch}
depends_build port:pkgconfig
@@ -60,7 +58,7 @@
depends_run port:urw-fonts
-patchfiles patch-lib-gvc-libgvc.pc.in.diff
+patchfiles patch-plugin-core-gvrender_core_dot.c.diff
# nawk: illegal jump type 339
conflicts_build nawk
@@ -302,9 +300,7 @@
post-destroot {
if {![variant_isset smyrna]} {
- foreach f "${prefix}/share/graphviz/doc/pdf/smyrna.1.pdf ${prefix}/share/graphviz/doc/pdf/smyrna.pdf ${prefix}/share/man/man1/smyrna.1" {
- delete ${destroot}${f}
- }
+ delete ${destroot}${prefix}/share/graphviz/doc/pdf/smyrna.pdf
}
# Make the configuration file that makes the plugins work.
Deleted: trunk/dports/graphics/graphviz/files/patch-lib-gvc-libgvc.pc.in.diff
===================================================================
--- trunk/dports/graphics/graphviz/files/patch-lib-gvc-libgvc.pc.in.diff 2013-08-02 22:11:18 UTC (rev 108830)
+++ trunk/dports/graphics/graphviz/files/patch-lib-gvc-libgvc.pc.in.diff 2013-08-02 22:38:39 UTC (rev 108831)
@@ -1,18 +0,0 @@
-http://hg.research.att.com/graphviz/rev/6047616c89d8
---- lib/gvc/libgvc.pc.in.orig Fri Feb 22 16:47:58 2013 -0500
-+++ lib/gvc/libgvc.pc.in Wed Feb 27 13:21:06 2013 -0500
-@@ -3,10 +3,13 @@
- libdir=@libdir@
- includedir=@includedir@/@PACKAGE@
- plugins=@GVPLUGIN_VERSION@
-+ at WITH_CGRAPH_FALSE@GRAPH = graph
-+ at WITH_CGRAPH_TRUE@GRAPH = cgraph
-+
-
- Name: libgvc
- Description: The GraphVizContext library
- Version: @VERSION@
--Libs: -L${libdir} -lgvc -lgraph -lcdt
-+Libs: -L${libdir} -lgvc -l${GRAPH} -lcdt
- Cflags: -I${includedir}
-
Added: trunk/dports/graphics/graphviz/files/patch-plugin-core-gvrender_core_dot.c.diff
===================================================================
--- trunk/dports/graphics/graphviz/files/patch-plugin-core-gvrender_core_dot.c.diff (rev 0)
+++ trunk/dports/graphics/graphviz/files/patch-plugin-core-gvrender_core_dot.c.diff 2013-08-02 22:38:39 UTC (rev 108831)
@@ -0,0 +1,12 @@
+Fix setlinewidth() in xdot output
+http://www.graphviz.org/mantisbt/view.php?id=2320
+--- plugin/core/gvrender_core_dot.c.orig
++++ plugin/core/gvrender_core_dot.c
+@@ -210,6 +210,7 @@ static void xdot_style (GVJ_t *job)
+ agxbput (&xbuf, "setlinewidth(");
+ sprintf (buf, "%.3f", job->obj->penwidth);
+ xdot_trim_zeros (buf, 0);
++ agxbput(&xbuf, buf);
+ agxbputc (&xbuf, ')');
+ xdot_str (job, "S ", agxbuse(&xbuf));
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130802/b5c94f6d/attachment-0001.html>
More information about the macports-changes
mailing list