From 885d0bcbc5f626de04731a97fe187b111ee0ca220ed878a997b85d5f2dd64cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20V=C3=B6gl?= Date: Wed, 20 Oct 2021 09:46:23 +0000 Subject: [PATCH] Accepting request 925700 from home:dirkmueller:Factory - update to 2.49.1: - the CMake build system installs gzipped man pages if `gzip` is available #1883 - CMake projects using Graphviz as a subproject (`add_subdirectory`) can now link against and use `gvc`. - various problems in the generation of Javascript bindings - 2.48.0: test suite is failing #2112 - Ensure correct file-level dependency for generated file in cmake generated projects #2119 - compile failures with a C++20-compatible toolchain #2122 - compile errors on macOS when using Bison 3.8 #2127 - Make Graphviz buildable as a cmake subproject/subdirectory #1477 - Header not found in Cmake project #2109 - a very basic C++ API for a subset of the functions in lib/cgraph and lib/gvc, allowing a graph to be rendered from DOT source to a specified format. The new API is available through two new libraries: lib/cgraph++ and lib/gvc++. It is experimental, meaning that it might have breaking changes also in upcoming patch or minor releases (towards #2001) - CMake builds now support an `with_expat` option that allows the support for using HTML-like labels through the optional expat library to be explicitly enabled (default) or disabled - CMake builds now support an with_zlib option that allows the support for raster image compression through the optional zlib library to be explicitly enabled (default) or disabled - the CMake build system now enables `-Wextra` when building C++ - some Cgraph functions that take `char*` arguments that they do not modify have been updated to take `const char*` arguments #634 - incorrectly using the `layout` attribute on anything other than a graph now results in a warning about this being invalid #2078 - `edgepaint` accepts more standard `--` prefixed command line arguments and OBS-URL: https://build.opensuse.org/request/show/925700 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=173 --- graphviz-2.48.0.tar.bz2 | 3 -- graphviz-2.49.1.tar.bz2 | 3 ++ graphviz-smyrna-link_against_glu.patch | 8 ++-- graphviz-useless_warnings.patch | 8 ++-- graphviz.changes | 54 ++++++++++++++++++++++++++ graphviz.spec | 10 +++-- 6 files changed, 72 insertions(+), 14 deletions(-) delete mode 100644 graphviz-2.48.0.tar.bz2 create mode 100644 graphviz-2.49.1.tar.bz2 diff --git a/graphviz-2.48.0.tar.bz2 b/graphviz-2.48.0.tar.bz2 deleted file mode 100644 index 763a9c0..0000000 --- a/graphviz-2.48.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ba7b075c3820e7a40fbc8879ad25621f65a6f5fec79e41c7987650ac3f727ae -size 27345187 diff --git a/graphviz-2.49.1.tar.bz2 b/graphviz-2.49.1.tar.bz2 new file mode 100644 index 0000000..27d2a75 --- /dev/null +++ b/graphviz-2.49.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c84e17cee66500aae992ffad05a218f6a9619c59d15198f2a9f26d39cebf2bfc +size 27536711 diff --git a/graphviz-smyrna-link_against_glu.patch b/graphviz-smyrna-link_against_glu.patch index 43fda0d..523fba0 100644 --- a/graphviz-smyrna-link_against_glu.patch +++ b/graphviz-smyrna-link_against_glu.patch @@ -1,6 +1,8 @@ ---- configure.ac.orig 2019-04-02 14:33:44.229152722 +0200 -+++ configure.ac 2019-04-02 14:34:01.573185574 +0200 -@@ -2605,7 +2605,7 @@ +Index: configure.ac +=================================================================== +--- configure.ac.orig ++++ configure.ac +@@ -2395,7 +2395,7 @@ else AC_CHECK_HEADER(GL/glut.h, AC_CHECK_LIB(glut,main, diff --git a/graphviz-useless_warnings.patch b/graphviz-useless_warnings.patch index cdc93ee..cbc5c20 100644 --- a/graphviz-useless_warnings.patch +++ b/graphviz-useless_warnings.patch @@ -4,9 +4,9 @@ Index: tclpkg/gv/Makefile.am =================================================================== ---- tclpkg/gv/Makefile.am.orig 2013-09-05 17:59:52.837755940 +0200 -+++ tclpkg/gv/Makefile.am 2013-09-05 18:00:53.696332434 +0200 -@@ -20,6 +20,8 @@ AM_CPPFLAGS = \ +--- tclpkg/gv/Makefile.am.orig ++++ tclpkg/gv/Makefile.am +@@ -12,6 +12,8 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/lib/cdt \ -I$(top_srcdir)/lib/pathplan @@ -14,4 +14,4 @@ Index: tclpkg/gv/Makefile.am + -Wno-unused-but-set-variable LIBS = -lc - BASESOURCES = gv.cpp gv.i gv_builtins.c + BASESOURCES = gv.cpp gv.i gv_builtins.c gv_channel.h diff --git a/graphviz.changes b/graphviz.changes index 1950052..72b0cb1 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Sat Oct 16 13:16:43 UTC 2021 - Dirk Müller + +- update to 2.49.1: + - the CMake build system installs gzipped man pages if `gzip` is available #1883 + - CMake projects using Graphviz as a subproject (`add_subdirectory`) can now + link against and use `gvc`. + - various problems in the generation of Javascript bindings + - 2.48.0: test suite is failing #2112 + - Ensure correct file-level dependency for generated file in cmake generated + projects #2119 + - compile failures with a C++20-compatible toolchain #2122 + - compile errors on macOS when using Bison 3.8 #2127 + - Make Graphviz buildable as a cmake subproject/subdirectory #1477 + - Header not found in Cmake project #2109 + - a very basic C++ API for a subset of the functions in lib/cgraph and + lib/gvc, allowing a graph to be rendered from DOT source to a + specified format. The new API is available through two new + libraries: lib/cgraph++ and lib/gvc++. It is experimental, meaning + that it might have breaking changes also in upcoming patch or minor + releases (towards #2001) + - CMake builds now support an `with_expat` option that allows the support for + using HTML-like labels through the optional expat library to be explicitly + enabled (default) or disabled + - CMake builds now support an with_zlib option that allows the support for + raster image compression through the optional zlib library to be explicitly + enabled (default) or disabled + - the CMake build system now enables `-Wextra` when building C++ + - some Cgraph functions that take `char*` arguments that they do not modify have + been updated to take `const char*` arguments #634 + - incorrectly using the `layout` attribute on anything other than a graph now + results in a warning about this being invalid #2078 + - `edgepaint` accepts more standard `--` prefixed command line arguments and + rejects invalid options #1971 + - improved detection of Lefty dependencies in the Autotools build system + - libexpr rejects printing the time (`%t`) if no format is provided + - `-DDATE=…` option in the CMake build system has been removed + - the Autotools build system no longer writes the DATE file and the portable + source tarball no longer includes this + - The attached dot file causes a segfault when processed #2095 + - fix typos and update URLs in `edgepaint` usage text and man page + - Fix clang's undefined behavior warning in dotLayout + - gvpr doesn't build on macOS but MKDEFS_EXECUTABLE points to wrong + directory #2101 + - the generated gdefs.h header is no longer installed + - `ccomps` out-of-memory message no longer incorrectly refers to `gc` + - do not abort when `calloc(0, x)` or `calloc(x, 0)` in `gcalloc` return `NULL` + - failed Exshort_t type discrimination #1799 + - dot manpage is in wrong directory on Windows #1936 + - CMake builds fail when when the ltdl library is not available even if the + `enable_ltdl` option is `ON` + - CMake builds fail when when the optional `zlib` library is not available + - fix graph rotation in quartz plugin + ------------------------------------------------------------------- Mon Sep 6 10:59:30 UTC 2021 - Christian Voegl diff --git a/graphviz.spec b/graphviz.spec index 03a2880..a948796 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -1,5 +1,5 @@ # -# spec file for package graphviz +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -53,7 +53,7 @@ %define sle12 0 %endif Name: graphviz%{psuffix} -Version: 2.48.0 +Version: 2.49.1 Release: 0 Summary: Graph Visualization Tools License: EPL-1.0 @@ -134,7 +134,7 @@ BuildRequires: java-devel >= 1.6.0 %if %{with ocaml} BuildRequires: ocaml %endif -%else # if "{flavor}" == "addons" +%else BuildRequires: ghostscript_any %endif @@ -332,8 +332,10 @@ programs that use the graphviz libraries including man3 pages. -#autosetup breaks graphviz-addons + + +#autosetup breaks graphviz-addons %prep %setup -q -n %{mname}-%{version} %patch0