pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/graphviz



Module Name:    pkgsrc
Committed By:   micha
Date:           Wed Jun  7 10:09:48 UTC 2023

Modified Files:
        pkgsrc/graphics/graphviz: Makefile PLIST buildlink3.mk distinfo

Log Message:
graphics/graphviz: Update to 8.0.5

## [8.0.5] - 2023-04-30

### Changed

- Support for versions of Pango prior to 1.22.0 has been removed.
- On Windows, the Pango plugin now uses the newer `pango_layout_get_baseline`
  API.
- `dot` no longer installs a signal handler for `SIGINT`. This means typing
  Ctrl+C while `dot` is running will no longer attempt a partial render and exit
  with 0 status. Ctrl+C will have the standard behavior, typically aborting
  `dot`.

### Fixed

- A minor inaccuracy for some cases of clipping an edge to a polygon node
  boundary has been fixed.
- A minor inaccuracy in node width and height for some cases of rendering
  polygon nodes has been fixed.
- A minor inaccuracy for some cases of calculating text height from `fontsize`
  in the GD plugin has been fixed.
- A minor vertical misalignment of text in the GD plugin has been fixed.
- Instead of using the actual font height as given by the font metrics, an
  approximation based on font size was used in the Pango plugin.
- A minor inaccuracy for some cases of calculating text width and height in the
  Pango plugin has been fixed.
- A minor vertical misalignment of text in the Pango plugin has been fixed.
- Ensure `HAVE_PANGOCAIRO` is set when using CMake and the library is available.
- A minor inaccuracy in node width and height for some cases of defining
  polygon-based nodes has been fixed.
- A minor inaccuracy for some cases of calculating margin for record-based nodes
  has been fixed.
- A minor inaccuracy in node width and height for some cases of defining
  record-based nodes has been fixed.
- On all known supported platforms except 32-bit MinGW, graphs involving small
  distance constraints no longer cause a crash during majorization. #1554

## [8.0.3] - 2023-04-16

### Added

- A pre-processor script for resolving external image references
  (`image="http-"`) is now available. This enables graphs to reference images
  from intranet or internet locations. #1664

### Changed

- The accuracy of box overlapping checks during routing has been improved.

### Fixed

- makeCompoundEdge: Assertion `bez->sflag` failed. #1879
- Graphviz.app-s export functionality has been restored. This was a regression
  in Graphviz 5.0.0. #2375

## [8.0.2] - 2023-04-10

### Changed

- The Autotools build system can now detect a MacPorts-installed libANN. #1854
- Support for versions of Cairo prior to 1.10 has been removed.
- Graphs that generate rectangles with areas in the range [2--, 2-- - 1]
  are now supported. Previously areas greater than 2-- - 1 would be
  rejected. #2371

### Fixed

- Head and tail of `digraph` edges with `dir = both` were inverted if
  `splines = ortho` was used. The bug was only exposed on straight edges.
  Edges with at least one corner were unaffected. #144
- `_Gdtclft_Init` link errors when builting libtcldot_builtin using the
  Autotools build system have been resolved. #2365
- Incorrect string construction in the `pov` output formatter has been fixed.

## [8.0.1] - 2023-03-27

### Added

- When specifying a color in HSV format, it is now possible to give an
  additional fourth component for the alpha channel (opacity). #510

### Changed

- Graphviz will now exit when encountering a syntactically invalid HTML label
  instead of attempting to recover and continue. #1311
- **Breaking**: the `url_map_n` field in the `obj_state_t` struct is now a
  `size_t`.
- The limit of 5 unique `samehead` or `sametail` values per node has been
  removed. The maximum number of unique `samehead` or `sametail` values is now
  limited only by available memory. #452
- **Breaking**: The `size` field of the `elist` struct is now a `size_t`.
- **Breaking**: The `size` field of the `nlist` struct is now a `size_t`.
- **Breaking**: The `n_nodes` field of the `Agraphinfo_t` struct is now a
  `size_t`.
- **Breaking**: The `nspans` field of `textlabel_t.u.txt` is now a `size_t`.
- **Breaking**: The `sflag` and `eflag` fields of the `bezier` struct are now
  `uint32_t`s.
- **Breaking**: The `nvertices` field of the `stroke_t` struct is now a
  `size_t`.
- -no hard-coded metrics- warnings are now only printed once per font.
- The Autotools build system now discovers Python paths using `sysconfig`
  instead of `distutils.sysconfig`, making it compatible with Python 3.12. This
  alters the installation path of the Python Graphviz module to something more
  correct. #2332

### Fixed

- The `pic` output renderer uses PIC or troff comments where appropriate, fixing
  a problem that resulted in comments being misinterpreted by `groff` and being
  visible in the final output. #2341
- `gv2gxl` and `gxl2gv` correctly detect their mode (gv-gxl or gxl-gv) on
  Windows when called via an absolute or relative path. #2344
- Using C pre-processor line directives (`^\s*#(line )?\d+`) claiming a line
  number greater than `INT_MAX` no longer causes an integer overflow. #1318
- fdp cluster-cluster edges were correct but now drawn incorrectly. This was a
  regression in Graphviz 7.0.0. #2345
- Failure of arrowhead and arrowtail to respect penwidth #372 \
  Fixed also for the `cylinder`
  [node shape](https://graphviz.org/doc/info/shapes.html#polygon).
- Second periphery of a cylinder shaped node is not correct. #2297
- Graphs with more than 127 layers no longer cause out of bound writes. #2355
- htmltable.c assertions are no longer triggered by using HTML table cells too
  small to fit their content. #1622
- `dot2gxl -d` no longer crashes when receiving a closing `node` tag following a
  closing `graph` tag. #2094
- A buffer overflow in Smyrna when loading GVPR scripts has been corrected.
- A buffer overflow when loading a plugin with a long type string has been
  corrected.
- Graphs that involve more than 2000 stroke points during tapering calculations
  no longer cause out of bounds writes.
- Using `arrowsize=0.0` no longer triggers an assertion failure or crash during
  miter calculations. This was a regression in Graphviz 7.0.0. #2342
- When using the `beautify=true` attribute, beautification no longer confuses
  leaves and dimensions. This previously could have led to skipping calculations
  or infinite loops.
- When using the `beautify=true` attribute, the first and last nodes around a
  circular layout are no longer placed on top of each other. #2283
- Applying `concentrate=true` to duplicate edges no longer results in errors due
  to non-normal edges being found. #2087
- `splines=ortho` and `concentrate=true` when used in combination no longer
  causes crashes during spline construction. #2361
- Externally referenced SVG files with their opening `<svg` tag on the same line
  as their XML declaration are no longer ignored. #2352

### Removed

- The VML output renderer has been removed. This format has been superseded by
  SVG. #799
- Legacy man page references to `dotty` have been removed. `dotty` was removed
  in Graphviz 4.0.0.
- **Breaking**: The definition of the `elist_fastapp` macro has been removed.
- Versions of Librsvg prior to 2.36.0 are no longer supported.
- Versions of GDK prior to 2.0.0 are no longer supported.
- Versions of Glib prior to 2.36.0 are no longer supported.
- **Breaking**: The `Agnodeinfo_t.inleaf` field and its `ND_inleaf` accessor
  have been removed.
- **Breaking**: The `Agnodeinfo_t.outleaf` field and its `ND_outleaf` and
  `GD_outleaf` accessors have been removed.
- **Breaking**: The `Agraphinfo_t.has_sourcerank` field and its
  `GD_has_sourcerank` accessor has been removed.
- **Breaking**: The `Agraphinfo_t.has_sinkrank` field and its
  `GD_has_sinkrank` accessor has been removed.
- Support for the legacy Microsoft Visio VDX format has been removed.
- **Breaking**: The `arrow_at_start` and `arrow_at_end` parameters from the
  `gvrender_engine_t.beziercurve` callback have been removed.
- **Breaking**: The `GVRENDER_DOES_ARROWS` constant has been removed.
- The extra cmpnd.c code is no longer shipped in the Graphviz distribution
  tarball.
- **Breaking**: The `STROKE_CLOSED`, `STROKE_FILLED`, `STROKE_PENDOWN`, and
  `STROKE_VERTICES_ALLOCATED` constants have been removed.
- **Breaking**: The `stoke_t.flags` field has been removed.


To generate a diff of this commit:
cvs rdiff -u -r1.269 -r1.270 pkgsrc/graphics/graphviz/Makefile
cvs rdiff -u -r1.58 -r1.59 pkgsrc/graphics/graphviz/PLIST
cvs rdiff -u -r1.34 -r1.35 pkgsrc/graphics/graphviz/buildlink3.mk
cvs rdiff -u -r1.80 -r1.81 pkgsrc/graphics/graphviz/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/graphviz/Makefile
diff -u pkgsrc/graphics/graphviz/Makefile:1.269 pkgsrc/graphics/graphviz/Makefile:1.270
--- pkgsrc/graphics/graphviz/Makefile:1.269     Mon May 22 11:39:01 2023
+++ pkgsrc/graphics/graphviz/Makefile   Wed Jun  7 10:09:48 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.269 2023/05/22 11:39:01 wiz Exp $
+# $NetBSD: Makefile,v 1.270 2023/06/07 10:09:48 micha Exp $
 
-DISTNAME=      graphviz-7.1.0
-PKGREVISION=   4
+DISTNAME=      graphviz-8.0.5
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITLAB:=api/v4/projects/4207231/packages/generic/graphviz-releases/${PKGVERSION_NOREV}/}
 EXTRACT_SUFX=  .tar.xz
@@ -72,6 +71,7 @@ PKGCONFIG_OVERRIDE+=  lib/edgepaint/libla
 PKGCONFIG_OVERRIDE+=   lib/expr/libexpr.pc.in
 PKGCONFIG_OVERRIDE+=   lib/gvc/libgvc.pc.in
 PKGCONFIG_OVERRIDE+=   lib/gvpr/libgvpr.pc.in
+PKGCONFIG_OVERRIDE+=   lib/pack/libpack.pc.in
 PKGCONFIG_OVERRIDE+=   lib/pathplan/libpathplan.pc.in
 PKGCONFIG_OVERRIDE+=   lib/sfdpgen/libsfdp.pc.in
 PKGCONFIG_OVERRIDE+=   lib/xdot/libxdot.pc.in

Index: pkgsrc/graphics/graphviz/PLIST
diff -u pkgsrc/graphics/graphviz/PLIST:1.58 pkgsrc/graphics/graphviz/PLIST:1.59
--- pkgsrc/graphics/graphviz/PLIST:1.58 Mon Oct 17 09:12:53 2022
+++ pkgsrc/graphics/graphviz/PLIST      Wed Jun  7 10:09:48 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.58 2022/10/17 09:12:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.59 2023/06/07 10:09:48 micha Exp $
 bin/acyclic
 bin/bcomps
 bin/ccomps
@@ -74,7 +74,6 @@ lib/graphviz/libgvplugin_pango.la
 ${PLIST.poppler}lib/graphviz/libgvplugin_poppler.la
 ${PLIST.quartz}lib/graphviz/libgvplugin_quartz.la
 ${PLIST.svg}lib/graphviz/libgvplugin_rsvg.la
-lib/graphviz/libgvplugin_visio.la
 lib/graphviz/libgvplugin_webp.la
 ${PLIST.x11}lib/graphviz/libgvplugin_xlib.la
 ${PLIST.lua}lib/graphviz/lua/libgv_lua.la

Index: pkgsrc/graphics/graphviz/buildlink3.mk
diff -u pkgsrc/graphics/graphviz/buildlink3.mk:1.34 pkgsrc/graphics/graphviz/buildlink3.mk:1.35
--- pkgsrc/graphics/graphviz/buildlink3.mk:1.34 Sun Jan 29 21:14:40 2023
+++ pkgsrc/graphics/graphviz/buildlink3.mk      Wed Jun  7 10:09:48 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.34 2023/01/29 21:14:40 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.35 2023/06/07 10:09:48 micha Exp $
 
 BUILDLINK_TREE+=       graphviz
 
@@ -6,7 +6,7 @@ BUILDLINK_TREE+=        graphviz
 GRAPHVIZ_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.graphviz+=       graphviz>=2.26.3
-BUILDLINK_ABI_DEPENDS.graphviz+=       graphviz>=7.1.0nb1
+BUILDLINK_ABI_DEPENDS.graphviz+=       graphviz>=8.0.5
 BUILDLINK_PKGSRCDIR.graphviz?=         ../../graphics/graphviz
 
 .include "../../converters/libiconv/buildlink3.mk"

Index: pkgsrc/graphics/graphviz/distinfo
diff -u pkgsrc/graphics/graphviz/distinfo:1.80 pkgsrc/graphics/graphviz/distinfo:1.81
--- pkgsrc/graphics/graphviz/distinfo:1.80      Mon Jan 23 13:44:01 2023
+++ pkgsrc/graphics/graphviz/distinfo   Wed Jun  7 10:09:48 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.80 2023/01/23 13:44:01 micha Exp $
+$NetBSD: distinfo,v 1.81 2023/06/07 10:09:48 micha Exp $
 
-BLAKE2s (graphviz-7.1.0.tar.xz) = 860ec5031566314d7508084bcf6580205c8cdc5dd0f53d47715047d90be06c12
-SHA512 (graphviz-7.1.0.tar.xz) = 9ff5facadd923300f47f569c568620371e75b7518661bb0f375ada9b0b82189033cec6c124d5691c875e292cef28c51230c6d6c44365c6e4a9e3dcf5b4dd1ee9
-Size (graphviz-7.1.0.tar.xz) = 21477976 bytes
+BLAKE2s (graphviz-8.0.5.tar.xz) = 1a56e9242aad2712bd5299248839e92e90533ea51b541ba38a529e80f6987d0e
+SHA512 (graphviz-8.0.5.tar.xz) = 1bcde81cd8bb370e6b843b02eecc96459d7567ff982a2fc4a97b50b43dad45ac2d4d5fb5f5f629562585600256878dd81c7b4c51ab1691cb3b6f4dcc054c7443
+Size (graphviz-8.0.5.tar.xz) = 21426200 bytes
 SHA1 (patch-config_config__perl.pl) = 430acb7d7ee3e149de0af9832c5a29602884f83e
 SHA1 (patch-configure.ac) = 80e303d6a9b95c5bb732677a0f1f63d209b39856
 SHA1 (patch-lib_gvc_Makefile.am) = 180b45f810e5bb3948509d50b5be3b159b38a78f



Home | Main Index | Thread Index | Old Index