graphviz: updated to 6.0.2 6.0.2 Fixed - Using `aspect` with a custom value in the `packmode` attribute is no longer misparsed. - Smyrna bounding box computation has been corrected. There was a regression in 4.0.0 that resulted in a degenerate bounding box being computed for any input graph. - Smyrna warnings about the `on_attrRB0_clicked` and `on_attrSearchBtn_clicked` handlers being not found have been fixed and the buttons to which they are wired should be functional again. This was a regression in 2.50.0 - Smyrna warnings about the `mAttributesSlot` handler being not found have been fixed and the button to which it is wired should be functional again. This was a regression in 2.49.2 - Graphviz no longer fails to load private Ghostscript symbols ("Could not load `libgvplugin_gs.so.6`) - trailing commas issue with fdp layout - Missing `-S` in `sccmap` man page usage summary. - In `sccmap`, a `-v` option following a `-S` option now re-enables strongly connected component output that the man page implied.diff -r1.256 -r1.257 pkgsrc/graphics/graphviz/Makefile
(adam)
@@ -1,18 +1,19 @@ | @@ -1,18 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.256 2022/09/30 16:08:52 micha Exp $ | 1 | # $NetBSD: Makefile,v 1.257 2022/10/17 09:12:53 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= graphviz-6.0.1 | 3 | DISTNAME= graphviz-6.0.2 | |
4 | CATEGORIES= graphics | 4 | CATEGORIES= graphics | |
5 | MASTER_SITES= ${MASTER_SITE_GITLAB:=api/v4/projects/4207231/packages/generic/graphviz-releases/${PKGVERSION_NOREV}/} | 5 | MASTER_SITES= ${MASTER_SITE_GITLAB:=api/v4/projects/4207231/packages/generic/graphviz-releases/${PKGVERSION_NOREV}/} | |
6 | EXTRACT_SUFX= .tar.xz | |||
6 | 7 | |||
7 | MAINTAINER= micha@NetBSD.org | 8 | MAINTAINER= micha@NetBSD.org | |
8 | HOMEPAGE= https://www.graphviz.org/ | 9 | HOMEPAGE= https://www.graphviz.org/ | |
9 | COMMENT= Graph Drawing Programs from AT&T Research and Lucent Bell Labs | 10 | COMMENT= Graph Drawing Programs from AT&T Research and Lucent Bell Labs | |
10 | LICENSE= epl-v1.0 | 11 | LICENSE= epl-v1.0 | |
11 | 12 | |||
12 | CHECK_FILES_SKIP+= ${PREFIX}/lib/graphviz/config6 | 13 | CHECK_FILES_SKIP+= ${PREFIX}/lib/graphviz/config6 | |
13 | CHECK_PORTABILITY_SKIP+= windows/* | 14 | CHECK_PORTABILITY_SKIP+= windows/* | |
14 | 15 | |||
15 | USE_LANGUAGES= c99 c++11 | 16 | USE_LANGUAGES= c99 c++11 | |
16 | USE_TOOLS+= automake autoreconf makeinfo bison flex gmake groff pkg-config | 17 | USE_TOOLS+= automake autoreconf makeinfo bison flex gmake groff pkg-config | |
17 | USE_LIBTOOL= yes | 18 | USE_LIBTOOL= yes | |
18 | GNU_CONFIGURE= yes | 19 | GNU_CONFIGURE= yes |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.57 2022/07/27 12:29:08 micha Exp $ | 1 | @comment $NetBSD: PLIST,v 1.58 2022/10/17 09:12:53 adam Exp $ | |
2 | bin/acyclic | 2 | bin/acyclic | |
3 | bin/bcomps | 3 | bin/bcomps | |
4 | bin/ccomps | 4 | bin/ccomps | |
5 | bin/circo | 5 | bin/circo | |
6 | bin/cluster | 6 | bin/cluster | |
7 | ${PLIST.gd}bin/diffimg | 7 | ${PLIST.gd}bin/diffimg | |
8 | bin/dijkstra | 8 | bin/dijkstra | |
9 | bin/dot | 9 | bin/dot | |
10 | bin/dot2gxl | 10 | bin/dot2gxl | |
11 | bin/dot_builtins | 11 | bin/dot_builtins | |
12 | bin/edgepaint | 12 | bin/edgepaint | |
13 | bin/fdp | 13 | bin/fdp | |
14 | bin/gc | 14 | bin/gc | |
@@ -158,32 +158,30 @@ man/man3/gvc.3 | @@ -158,32 +158,30 @@ man/man3/gvc.3 | |||
158 | man/man3/gvpr.3 | 158 | man/man3/gvpr.3 | |
159 | man/man3/pack.3 | 159 | man/man3/pack.3 | |
160 | man/man3/pathplan.3 | 160 | man/man3/pathplan.3 | |
161 | ${PLIST.tcl}man/man3/tcldot.3tcl | 161 | ${PLIST.tcl}man/man3/tcldot.3tcl | |
162 | man/man3/xdot.3 | 162 | man/man3/xdot.3 | |
163 | man/man7/graphviz.7 | 163 | man/man7/graphviz.7 | |
164 | share/doc/graphviz/AUTHORS | 164 | share/doc/graphviz/AUTHORS | |
165 | share/doc/graphviz/Agraph.pdf | 165 | share/doc/graphviz/Agraph.pdf | |
166 | share/doc/graphviz/CHANGELOG.md | 166 | share/doc/graphviz/CHANGELOG.md | |
167 | share/doc/graphviz/COPYING | 167 | share/doc/graphviz/COPYING | |
168 | share/doc/graphviz/Dot.ref | 168 | share/doc/graphviz/Dot.ref | |
169 | share/doc/graphviz/FAQ.html | 169 | share/doc/graphviz/FAQ.html | |
170 | share/doc/graphviz/NEWS | 170 | share/doc/graphviz/NEWS | |
171 | share/doc/graphviz/addingLayout.txt | |||
172 | share/doc/graphviz/build.html | 171 | share/doc/graphviz/build.html | |
173 | share/doc/graphviz/char.html | 172 | share/doc/graphviz/char.html | |
174 | share/doc/graphviz/cpl1.0.txt | 173 | share/doc/graphviz/cpl1.0.txt | |
175 | share/doc/graphviz/dotguide.pdf | 174 | share/doc/graphviz/dotguide.pdf | |
176 | share/doc/graphviz/fontfaq.txt | |||
177 | share/doc/graphviz/gdtclft.entities.example.png | 175 | share/doc/graphviz/gdtclft.entities.example.png | |
178 | share/doc/graphviz/index.html | 176 | share/doc/graphviz/index.html | |
179 | share/doc/graphviz/info/arrows.html | 177 | share/doc/graphviz/info/arrows.html | |
180 | share/doc/graphviz/info/attrs.html | 178 | share/doc/graphviz/info/attrs.html | |
181 | share/doc/graphviz/info/colors.html | 179 | share/doc/graphviz/info/colors.html | |
182 | share/doc/graphviz/info/command.html | 180 | share/doc/graphviz/info/command.html | |
183 | share/doc/graphviz/info/index.html | 181 | share/doc/graphviz/info/index.html | |
184 | share/doc/graphviz/info/lang.html | 182 | share/doc/graphviz/info/lang.html | |
185 | share/doc/graphviz/info/output.html | 183 | share/doc/graphviz/info/output.html | |
186 | share/doc/graphviz/info/shapes.html | 184 | share/doc/graphviz/info/shapes.html | |
187 | share/doc/graphviz/internal_todo.html | 185 | share/doc/graphviz/internal_todo.html | |
188 | share/doc/graphviz/latex_suggestions.txt | 186 | share/doc/graphviz/latex_suggestions.txt | |
189 | share/doc/graphviz/libguide.pdf | 187 | share/doc/graphviz/libguide.pdf |
@@ -1,10 +1,10 @@ | @@ -1,10 +1,10 @@ | |||
1 | $NetBSD: distinfo,v 1.73 2022/09/30 16:08:52 micha Exp $ | 1 | $NetBSD: distinfo,v 1.74 2022/10/17 09:12:53 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (graphviz-6.0.1.tar.gz) = c6e9a24e3652ac5e4f533b7ed0e6616655b806ebc496c2e8de24c8896370dedc | 3 | BLAKE2s (graphviz-6.0.2.tar.xz) = 2c294dc4846f92a0b59b11ac5f7743c3cef5865fb3276a5b045347a518b9c6e8 | |
4 | SHA512 (graphviz-6.0.1.tar.gz) = 5d48eab092097f892c62e006e25041b6ab9ddf08d380488d0a8a0b69dd78f5111ad5e52c843b25ce6a46165c3840e6b87175af58aab87dfbc1425195e7a4e045 | 4 | SHA512 (graphviz-6.0.2.tar.xz) = 447c4cb957a48a3e682998010cf7661e5da346bb4fcaa7ab78869173f31ae144c34d829a1999e1e7bc5329024792705ac6fd0fd63fa359134351a994aa4ea6ec | |
5 | Size (graphviz-6.0.1.tar.gz) = 27587111 bytes | 5 | Size (graphviz-6.0.2.tar.xz) = 21485596 bytes | |
6 | SHA1 (patch-config_config__perl.pl) = 430acb7d7ee3e149de0af9832c5a29602884f83e | 6 | SHA1 (patch-config_config__perl.pl) = 430acb7d7ee3e149de0af9832c5a29602884f83e | |
7 | SHA1 (patch-configure.ac) = 1c39f0b25cfc995de10a07492656c2f12a24686f | 7 | SHA1 (patch-configure.ac) = 1c39f0b25cfc995de10a07492656c2f12a24686f | |
8 | SHA1 (patch-lib_gvc_Makefile.am) = b5d793ec0a676c5d4b257c6fec1eb182ee93718b | 8 | SHA1 (patch-lib_gvc_Makefile.am) = b5d793ec0a676c5d4b257c6fec1eb182ee93718b | |
9 | SHA1 (patch-plugin_gs_gvloadimage__gs.c) = d777c822ef11b15eff992f36a9f4073c02cd4ca6 | 9 | SHA1 (patch-plugin_gs_gvloadimage__gs.c) = 982ac1db252e3224633069db956c5dc803cd5ea9 | |
10 | SHA1 (patch-plugin_xlib_gvdevice__xlib.c) = 05d1549db3b9221f5bcb947173034775b0df7c6c | 10 | SHA1 (patch-plugin_xlib_gvdevice__xlib.c) = 05d1549db3b9221f5bcb947173034775b0df7c6c |
@@ -1,33 +1,33 @@ | @@ -1,33 +1,33 @@ | |||
1 | $NetBSD: patch-plugin_gs_gvloadimage__gs.c,v 1.3 2022/07/22 12:04:46 micha Exp $ | 1 | $NetBSD: patch-plugin_gs_gvloadimage__gs.c,v 1.4 2022/10/17 09:12:53 adam Exp $ | |
2 | 2 | |||
3 | ghostscript-agpl enforces using gserrors.h which is not included | 3 | ghostscript-agpl enforces using gserrors.h which is not included | |
4 | by default in ghostscript-gpl, so conditionalise based upon which | 4 | by default in ghostscript-gpl, so conditionalise based upon which | |
5 | one is being used. | 5 | one is being used. | |
6 | 6 | |||
7 | --- plugin/gs/gvloadimage_gs.c.orig 2021-10-16 16:39:12.000000000 +0000 | 7 | --- plugin/gs/gvloadimage_gs.c.orig 2022-10-11 18:31:29.000000000 +0000 | |
8 | +++ plugin/gs/gvloadimage_gs.c | 8 | +++ plugin/gs/gvloadimage_gs.c | |
9 | @@ -77,6 +77,16 @@ static void gs_error(GVJ_t * job, const | 9 | @@ -77,6 +77,16 @@ static void gs_error(GVJ_t * job, const | |
10 | 10 | |||
11 | assert (err < 0); | 11 | assert (err < 0); | |
12 | 12 | |||
13 | +#ifdef gserrors_INCLUDED /* ghostscript-agpl uses gserrors.h */ | 13 | +#ifdef gserrors_INCLUDED /* ghostscript-agpl uses gserrors.h */ | |
14 | + if (err >= gs_error_VMerror) | 14 | + if (err >= gs_error_VMerror) | |
15 | + errsrc = "PostScript Level 1"; | 15 | + errsrc = "PostScript Level 1"; | |
16 | + else if (err >= gs_error_unregistered) | 16 | + else if (err >= gs_error_unregistered) | |
17 | + errsrc = "PostScript Level 2"; | 17 | + errsrc = "PostScript Level 2"; | |
18 | + else if (err >= gs_error_invalidid) | 18 | + else if (err >= gs_error_invalidid) | |
19 | + errsrc = "DPS error"; | 19 | + errsrc = "DPS error"; | |
20 | + else | 20 | + else | |
21 | + errsrc = "Ghostscript internal error"; | 21 | + errsrc = "Ghostscript internal error"; | |
22 | +#else | 22 | +#else | |
23 | if (err >= e_VMerror) | 23 | if (err >= e_VMerror) | |
24 | errsrc = "PostScript Level 1"; | 24 | errsrc = "PostScript Level 1"; | |
25 | else if (err >= e_unregistered) | 25 | else if (err >= e_unregistered) | |
26 | @@ -85,6 +95,7 @@ static void gs_error(GVJ_t * job, const | 26 | @@ -85,6 +95,7 @@ static void gs_error(GVJ_t * job, const | |
27 | errsrc = "DPS error"; | 27 | errsrc = "DPS error"; | |
28 | else | 28 | else | |
29 | errsrc = "Ghostscript internal error"; | 29 | errsrc = "Ghostscript internal error"; | |
30 | +#endif | 30 | +#endif | |
31 | 31 | |||
32 | job->common->errorfn("%s: %s() returned: %d \"%s\" (%s)\n", | 32 | job->common->errorfn("%s: %s() returned: %d (%s)\n", | |
33 | name, funstr, err, gs_error_names[-err - 1], errsrc); | 33 | name, funstr, err, errsrc); |