From f49aeb6e1eeebf241d1a8523fd6642b7d8bc5758046bc71eebb334748c2c8767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20V=C3=B6gl?= Date: Mon, 1 Mar 2021 18:01:02 +0000 Subject: [PATCH] Accepting request 876040 from home:cvoegl:branches:graphics - Add graphviz-webp package to for webp image support - Reenable ghostscript, but require just ghostscript-mini OBS-URL: https://build.opensuse.org/request/show/876040 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=155 --- graphviz.changes | 10 ++++++++++ graphviz.spec | 25 ++++++++++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/graphviz.changes b/graphviz.changes index 051007d..585303a 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Mar 1 13:55:28 UTC 2021 - Christian Vögl + +- Add graphviz-webp package to for webp image support + +------------------------------------------------------------------- +Tue Feb 23 16:10:57 UTC 2021 - Christian Vögl + +- Reenable ghostscript, but require just ghostscript-mini + ------------------------------------------------------------------- Thu Feb 18 18:04:09 UTC 2021 - Christian Vögl diff --git a/graphviz.spec b/graphviz.spec index 8df8b3e..1c40bd0 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -81,6 +81,7 @@ BuildRequires: bison BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ +BuildRequires: ghostscript-mini BuildRequires: groff BuildRequires: guile-devel BuildRequires: libstdc++-devel @@ -98,6 +99,7 @@ BuildRequires: freeglut-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel +BuildRequires: libwebp-devel BuildRequires: perl %if 0%{?suse_version} >= 1500 BuildRequires: php7-devel @@ -293,6 +295,18 @@ Requires: tk The graphviz-tcl package contains the various tcl packages (extensions) for the graphviz tools. +%package -n graphviz-webp +Summary: WebP support for graphviz +Group: Productivity/Graphics/Visualization/Graph +Requires: graphviz = %{version} +Requires: graphviz-gnome = %{version} +Requires: libwebp7 + +%description -n graphviz-webp +The graphviz-webp package contains files needed for the support of WebP images + + + %package -n graphviz-doc Summary: Documentation for graphviz Group: Documentation/Howto @@ -383,7 +397,6 @@ export LDFLAGS="-pie" --without-ming \ --disable-io \ --without-visio \ - --without-ghostscript \ %if "%{flavor}" == "addons" %if %{with python2} --enable-python2 \ @@ -549,6 +562,7 @@ fi %{_bindir}/dot -c 2>/dev/null %files -n graphviz-gnome +%{_libdir}/graphviz/libgvplugin_gs* %{_libdir}/graphviz/libgvplugin_rsvg* %{_libdir}/graphviz/libgvplugin_pango* %{_libdir}/graphviz/libgvplugin_gtk* @@ -558,6 +572,12 @@ fi %post -n graphviz-tcl -p /sbin/ldconfig %postun -n graphviz-tcl -p /sbin/ldconfig +%post -n graphviz-webp +%{_bindir}/dot -c + +%postun -n graphviz-webp +%{_bindir}/dot -c 2>/dev/null + %files -n graphviz-guile %{_libdir}/graphviz/guile %{_mandir}/man3/gv.3guile%{ext_man} @@ -632,6 +652,9 @@ fi %{_datadir}/tcl/%{mname}/pkgIndex.tcl %{_mandir}/man3/*.3tcl* +%files -n graphviz-webp +%{_libdir}/graphviz/libgvplugin_webp.so* + %files -n graphviz-doc %docdir %{_defaultdocdir}/%{mname}-doc %{_defaultdocdir}/%{mname}-doc