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 Oct  9 15:51:32 UTC 2024

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

Log Message:
graphics/graphviz: Update to 12.1.2

Option "tcl" removed (too much work to maintain).
This option was disabled by default.

## [12.1.2] – 2024-09-28

### Changed

- In the Autotools build system, the rsvg plugin is no longer built when
  pangocairo is missing. Previously, when librsvg was found but pangocairo was
  not, this plugin would be enabled and built but offer no functionality.
- The RSVG plugin now requires librsvg ≥ 2.42.7.
- The RSVG plugin uses newer librsvg APIs where available. #2206

### Fixed

- In the Autotools build system, fallback discovery of libANN when `pkg-config`
  support is unavailable has been corrected to properly enable use of libANN.
  This primarily affects `mingle` users on Debian-based operating systems or
  macOS.
- The RSVG plugin no longer dereferences a null pointer when failing to create
  new RSVG handles.
- The Pango plugin no longer assumes a little endian environment when loading PS
  images.

## [12.1.1] – 2024-09-09

### Added

- Support for building the SWIG-generated Guile language bindings has been
  integrated into the CMake build system. This is controllable by the
  `-DENABLE_GUILE={AUTO|ON|OFF}` option.
- Support for building the SWIG-generated Java language bindings has been
  integrated into the CMake build system. This is controllable by the
  `-DENABLE_JAVA={AUTO|ON|OFF}` option.
- Support for building the SWIG-generated Lua language bindings has been
  integrated into the CMake build system. This is controllable by the
  `-DENABLE_LUA={AUTO|ON|OFF}` option.
- Support for building the SWIG-generated Perl language bindings has been
  integrated into the CMake build system. This is controllable by the
  `-DENABLE_PERL={AUTO|ON|OFF}` option.

### Changed

- Comparison against a plugin’s `knowncolors` array is now case-insensitive,
  rather than requiring all entries of the array to be lower-cased. The
  requirement that the `knowncolors` array is lexically ordered remains.
- The Smyrna “Color Theme”, “Edge Attr. For Color”, and “Node Alpha” settings
  have been removed. The values of these settings had no effect.
- Graphviz libraries set close-on-exec on job output files being written and
  user shape files being read. This should only affect applications using
  Graphviz libraries that rely on a fork-and-exec-ed child subprocess being able
  to access these open files. Applications with this requirement can regain the
  old behavior by unsetting the close-on-exec flag immediately after creating
  these objects. Graphviz libraries themselves are not affected by whether or
  not this flag is set.
- The Autotools build system no longer detects or uses the `-perl` option to
  SWIG to build Perl language bindings. Only `-perl5` is used.

### Fixed

- A reference to the non-existent `colxlate` function in an error message has
  been corrected to `colorxlate`.
- `gvgen` no longer crashes sometimes when running random graph generation. This
  was a regression in Graphviz 12.0.0. #2588
- Dashed and dotted pen styles in VRML images loaded by the GD plugin have been
  corrected.
- `mm2gv` no longer crashes when reading various types of malformed Matrix
  Market files.
- The `edgepaint` `--color_scheme` command-line option is once again functional.
  This was a regression in Graphviz 2.49.0. #2591
- An incorrect deallocation call during OpenGL texture construction failure has
  been corrected. This could previously have caused crashes or heap corruption.
  This was a regression in Graphviz 2.26.0.
- The CMake build on Windows no longer fails if TCL is detected. This was
  technically a regression in 12.0.0 since building the Graphviz TCL bindings
  was integrated into the CMake build system in that release. #2581
- When its output file cannot be opened, `edgepaint` no longer dereferences a
  null pointer when printing its error message.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/graphviz/DESCR
cvs rdiff -u -r1.289 -r1.290 pkgsrc/graphics/graphviz/Makefile
cvs rdiff -u -r1.63 -r1.64 pkgsrc/graphics/graphviz/PLIST
cvs rdiff -u -r1.86 -r1.87 pkgsrc/graphics/graphviz/distinfo
cvs rdiff -u -r1.40 -r1.41 pkgsrc/graphics/graphviz/options.mk

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/DESCR
diff -u pkgsrc/graphics/graphviz/DESCR:1.3 pkgsrc/graphics/graphviz/DESCR:1.4
--- pkgsrc/graphics/graphviz/DESCR:1.3  Fri Jul 22 12:04:46 2022
+++ pkgsrc/graphics/graphviz/DESCR      Wed Oct  9 15:51:32 2024
@@ -4,7 +4,5 @@ Laboratories.
 It includes:
 - dot: makes hierarchical layouts of directed graphs
 - neato: makes "spring" model layouts of undirected graphs
-- tcldot: a customizable graphical interface written in TCL
-  (part of "tcl" option)
 - libcgraph: the base library for graph tools
 - various associated utilities

Index: pkgsrc/graphics/graphviz/Makefile
diff -u pkgsrc/graphics/graphviz/Makefile:1.289 pkgsrc/graphics/graphviz/Makefile:1.290
--- pkgsrc/graphics/graphviz/Makefile:1.289     Fri Aug 16 11:50:39 2024
+++ pkgsrc/graphics/graphviz/Makefile   Wed Oct  9 15:51:32 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.289 2024/08/16 11:50:39 micha Exp $
+# $NetBSD: Makefile,v 1.290 2024/10/09 15:51:32 micha Exp $
 
-DISTNAME=      graphviz-12.1.0
+DISTNAME=      graphviz-12.1.2
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITLAB:=api/v4/projects/4207231/packages/generic/graphviz-releases/${PKGVERSION_NOREV}/}
 #EXTRACT_SUFX= .tar.xz
@@ -62,6 +62,7 @@ CONFIGURE_ARGS+=      --with-ipsepcola
 CONFIGURE_ARGS+=       --with-ortho
 CONFIGURE_ARGS+=       --with-pangocairo
 CONFIGURE_ARGS+=       --with-sfdp
+CONFIGURE_ARGS+=       --disable-tcl
 CONFIGURE_ARGS+=       --with-visio
 CONFIGURE_ARGS+=       --with-webp
 # build fails when PHP and/or Ruby are also installed
@@ -86,15 +87,7 @@ PKGCONFIG_OVERRIDE+= lib/xdot/libxdot.pc
 # it's serious or not, or what causes it.
 LUA_VERSIONS_INCOMPATIBLE=     51
 
-REPLACE_LUA+=          tclpkg/gv/demo/modgraph.lua
-
-REPLACE_INTERPRETER+=  tclsh
-REPLACE.tclsh.old=     .*tclsh
-REPLACE.tclsh.new=     ${PREFIX}/bin/tclsh
-REPLACE_FILES.tclsh=   tclpkg/gv/demo/modgraph.tcl
-
-REPLACE_PERL+=         tclpkg/gv/demo/modgraph.pl contrib/dotmcl.pl \
-                       contrib/dirgraph/dirgraph.pl
+REPLACE_PERL+=         contrib/dotmcl.pl contrib/dirgraph/dirgraph.pl
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -129,7 +122,6 @@ post-install:
 .include "options.mk"
 
 DEPENDS+=      urw-fonts-[0-9]*:../../fonts/urw-fonts
-
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libltdl/buildlink3.mk"

Index: pkgsrc/graphics/graphviz/PLIST
diff -u pkgsrc/graphics/graphviz/PLIST:1.63 pkgsrc/graphics/graphviz/PLIST:1.64
--- pkgsrc/graphics/graphviz/PLIST:1.63 Fri Aug 16 11:50:39 2024
+++ pkgsrc/graphics/graphviz/PLIST      Wed Oct  9 15:51:32 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.63 2024/08/16 11:50:39 micha Exp $
+@comment $NetBSD: PLIST,v 1.64 2024/10/09 15:51:32 micha Exp $
 bin/acyclic
 bin/bcomps
 bin/ccomps
@@ -75,12 +75,6 @@ lib/graphviz/libgvplugin_vt.la
 lib/graphviz/libgvplugin_webp.la
 ${PLIST.x11}lib/graphviz/libgvplugin_xlib.la
 ${PLIST.lua}lib/graphviz/lua/libgv_lua.la
-${PLIST.tcl}${PLIST.x11}lib/graphviz/tcl/libgdtclft.la
-${PLIST.tcl}lib/graphviz/tcl/libgv_tcl.la
-${PLIST.tcl}lib/graphviz/tcl/libtcldot.la
-${PLIST.tcl}lib/graphviz/tcl/libtcldot_builtin.la
-${PLIST.tcl}lib/graphviz/tcl/libtclplan.la
-${PLIST.tcl}lib/graphviz/tcl/pkgIndex.tcl
 lib/libcdt.la
 lib/libcgraph.la
 lib/libgvc.la
@@ -94,12 +88,6 @@ lib/pkgconfig/libgvc.pc
 lib/pkgconfig/libgvpr.pc
 lib/pkgconfig/libpathplan.pc
 lib/pkgconfig/libxdot.pc
-${PLIST.tcl}${PLIST.x11}lib/tcl${TCL_BASEVER}/graphviz/libgdtclft.la
-${PLIST.tcl}lib/tcl${TCL_BASEVER}/graphviz/libgv_tcl.la
-${PLIST.tcl}lib/tcl${TCL_BASEVER}/graphviz/libtcldot.la
-${PLIST.tcl}lib/tcl${TCL_BASEVER}/graphviz/libtcldot_builtin.la
-${PLIST.tcl}lib/tcl${TCL_BASEVER}/graphviz/libtclplan.la
-${PLIST.tcl}lib/tcl${TCL_BASEVER}/graphviz/pkgIndex.tcl
 man/man1/acyclic.1
 man/man1/bcomps.1
 man/man1/ccomps.1
@@ -139,15 +127,12 @@ ${PLIST.x11}man/man1/vimdot.1
 man/man3/cdt.3
 man/man3/cgraph.3
 man/man3/expr.3
-${PLIST.tcl}${PLIST.gd}man/man3/gdtclft.3tcl
 ${PLIST.lua}man/man3/gv.3lua
 ${PLIST.swig}man/man3/gv.3python
-${PLIST.tcl}man/man3/gv.3tcl
 man/man3/gvc.3
 man/man3/gvpr.3
 man/man3/pack.3
 man/man3/pathplan.3
-${PLIST.tcl}man/man3/tcldot.3tcl
 man/man3/xdot.3
 man/man7/graphviz.7
 share/doc/graphviz/AUTHORS
@@ -179,32 +164,9 @@ share/doc/graphviz/pspdf.png
 share/doc/graphviz/schema/arguments.xml
 share/doc/graphviz/schema/attributes.xml
 share/doc/graphviz/schema/attributes.xslt
-${PLIST.tcl}share/doc/graphviz/tcldot.html
 share/doc/graphviz/todo.html
 share/doc/graphviz/winbuild.html
-${PLIST.tcl}share/graphviz/demo/doted.tcl
-${PLIST.tcl}share/graphviz/demo/doted.tcl.README
-${PLIST.tcl}share/graphviz/demo/entities.html
-${PLIST.tcl}share/graphviz/demo/entities.tcl
-${PLIST.tcl}share/graphviz/demo/entities.tcl.README
-${PLIST.tcl}share/graphviz/demo/gcat.tcl
-${PLIST.tcl}share/graphviz/demo/gcat.tcl.README
 ${PLIST.lua}share/graphviz/demo/modgraph.lua
-${PLIST.tcl}share/graphviz/demo/modgraph.tcl
-${PLIST.tcl}share/graphviz/demo/pathplan.tcl
-${PLIST.tcl}share/graphviz/demo/pathplan.tcl.README
-${PLIST.tcl}share/graphviz/demo/pathplan_data/boxes.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/dpd.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/funny.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/maze.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/nested.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/northo.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/obs.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/other.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/paths.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/rotor.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/u.dat
-${PLIST.tcl}share/graphviz/demo/pathplan_data/unknown.dat
 share/graphviz/graphs/directed/KW91.gv
 share/graphviz/graphs/directed/Latin1.gv
 share/graphviz/graphs/directed/NaN.gv

Index: pkgsrc/graphics/graphviz/distinfo
diff -u pkgsrc/graphics/graphviz/distinfo:1.86 pkgsrc/graphics/graphviz/distinfo:1.87
--- pkgsrc/graphics/graphviz/distinfo:1.86      Fri Aug 16 11:50:39 2024
+++ pkgsrc/graphics/graphviz/distinfo   Wed Oct  9 15:51:32 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.86 2024/08/16 11:50:39 micha Exp $
+$NetBSD: distinfo,v 1.87 2024/10/09 15:51:32 micha Exp $
 
-BLAKE2s (graphviz-12.1.0.tar.gz) = d999f9b145812bba1e41e6e53a80106e7a3fa1c9ccf02b92ed278882b01988a2
-SHA512 (graphviz-12.1.0.tar.gz) = 8f13b4bf272b35603e2c090dd13a6c43d92dbef8919f10071c8adc0dc8cb347b6d7b8261d886ed60b9b95098c4c3cc9ef67fab0533dfed96e6ec26792fc88137
-Size (graphviz-12.1.0.tar.gz) = 26818242 bytes
+BLAKE2s (graphviz-12.1.2.tar.gz) = be70f83e3f805740df8db7cb4307cba7dfea915ff4f020b5c14f09e85cea1f5e
+SHA512 (graphviz-12.1.2.tar.gz) = 0a43a55434c2cb329596b030c24b08f3b26737fbe0bdbcc6ca4f1b1884b166e8884141e71d4ef9979a20496f5affff6369671c31f5b966eb08feaf45f96b672c
+Size (graphviz-12.1.2.tar.gz) = 26817959 bytes
 SHA1 (patch-config_config__perl.pl) = 430acb7d7ee3e149de0af9832c5a29602884f83e
 SHA1 (patch-configure.ac) = dcb9fd2822d3eb5dddcda5a55746d51114f92d06
 SHA1 (patch-lib_gvc_Makefile.am) = 8a25c16a31923fc42138773f308f3b3fc5ee662b

Index: pkgsrc/graphics/graphviz/options.mk
diff -u pkgsrc/graphics/graphviz/options.mk:1.40 pkgsrc/graphics/graphviz/options.mk:1.41
--- pkgsrc/graphics/graphviz/options.mk:1.40    Fri Aug 16 11:50:39 2024
+++ pkgsrc/graphics/graphviz/options.mk Wed Oct  9 15:51:32 2024
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.40 2024/08/16 11:50:39 micha Exp $
+# $NetBSD: options.mk,v 1.41 2024/10/09 15:51:32 micha Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.graphviz
-PKG_SUPPORTED_OPTIONS= gd ghostscript lua poppler svg tcl x11
+PKG_SUPPORTED_OPTIONS= gd ghostscript lua poppler svg x11
 PKG_SUGGESTED_OPTIONS= gd
 .if exists(/System/Library/Frameworks/Quartz.framework)
 PKG_SUPPORTED_OPTIONS+=        quartz
@@ -12,7 +12,7 @@ PKG_SUGGESTED_OPTIONS+=       x11
 
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=           gd ghostscript lua poppler quartz svg swig tcl x11
+PLIST_VARS+=           gd ghostscript lua poppler quartz svg swig x11
 
 # Basic graphic format support, especially GIF
 .if !empty(PKG_OPTIONS:Mgd)
@@ -87,24 +87,6 @@ CONFIGURE_ARGS+=     --enable-lua
 CONFIGURE_ARGS+=       --disable-lua
 .endif
 
-# Extension language support
-.if !empty(PKG_OPTIONS:Mtcl)
-.  if empty(PKG_OPTIONS:Mx11)
-PKG_FAIL_REASON=       "tcl option requires x11 option"
-.  endif
-USING_SWIG=    yes
-.  include "../../lang/tcl/Makefile.version"
-.  include "../../x11/tk/buildlink3.mk"
-PLIST.tcl=             yes
-PLIST_SUBST+=          TCL_BASEVER=${TCL_BASEVER}
-CONFIGURE_ENV+=                TCLCONFIG=${TCLCONFIG_SH:Q}
-CONFIGURE_ENV+=                TKCONFIG=${TKCONFIG_SH:Q}
-CONFIGURE_ARGS+=       --with-tclsh=${TCLSH:Q}
-CONFIGURE_ARGS+=       --enable-tcl
-.else
-CONFIGURE_ARGS+=       --disable-tcl
-.endif
-
 # Required by some of the other options
 .if !empty(USING_SWIG:Myes)
 PLIST.swig=            yes



Home | Main Index | Thread Index | Old Index