From 5de38a4db1c3e4d37f29a667d50f01d690e19393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Tue, 23 Nov 2021 19:03:40 +0100 Subject: [PATCH] Fixed gvpack to run Resolves: rhbz#1838679 --- graphviz-2.49.3-gvpack-neato-static.patch | 15 +++++++++++++++ graphviz.spec | 9 +++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 graphviz-2.49.3-gvpack-neato-static.patch diff --git a/graphviz-2.49.3-gvpack-neato-static.patch b/graphviz-2.49.3-gvpack-neato-static.patch new file mode 100644 index 0000000..857a733 --- /dev/null +++ b/graphviz-2.49.3-gvpack-neato-static.patch @@ -0,0 +1,15 @@ +diff --git a/cmd/tools/Makefile.am b/cmd/tools/Makefile.am +index 4978fea..9fbe2e2 100644 +--- a/cmd/tools/Makefile.am ++++ b/cmd/tools/Makefile.am +@@ -249,7 +249,9 @@ gvpack_LDADD = \ + $(top_builddir)/lib/ingraphs/libingraphs_C.la \ + $(top_builddir)/lib/cgraph/libcgraph.la \ + $(top_builddir)/lib/cdt/libcdt.la \ +- $(top_builddir)/plugin/neato_layout/libgvplugin_neato_layout.la ++ $(top_builddir)/plugin/neato_layout/libgvplugin_neato_layout_C.la \ ++ $(top_builddir)/lib/pathplan/libpathplan_C.la \ ++ $(EXPAT_LIBS) $(Z_LIBS) $(GTS_LIBS) $(SOCKET_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS) + + # add a non-existent C++ source to force the C++ compiler to be used for + # linking, so the C++ standard library is included for our C++ dependencies diff --git a/graphviz.spec b/graphviz.spec index 0633856..4cf1a71 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -68,7 +68,7 @@ Name: graphviz Summary: Graph Visualization Tools Version: 2.49.3 -Release: 2%{?dist} +Release: 3%{?dist} License: EPL-1.0 URL: http://www.graphviz.org/ Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2 @@ -115,11 +115,12 @@ BuildRequires: urw-base35-fonts, perl-ExtUtils-Embed, perl-generators, librsvg2 # for ps2pdf BuildRequires: ghostscript BuildRequires: libgs-devel -BuildRequires: make +BuildRequires: make # ISO8859-1 fonts are required by lefty Requires: urw-base35-fonts, xorg-x11-fonts-ISO8859-1-100dpi Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig +Patch0: graphviz-2.49.3-gvpack-neato-static.patch %description A collection of tools for the manipulation and layout of graphs (as in nodes @@ -594,6 +595,10 @@ php --no-php-ini \ %{_mandir}/man3/*.3tcl* %changelog +* Tue Nov 23 2021 Jaroslav Škarvada - 2.49.3-3 +- Fixed gvpack to run + Resolves: rhbz#1838679 + * Thu Oct 28 2021 Remi Collet - 2.49.3-2 - rebuild for https://fedoraproject.org/wiki/Changes/php81