Skip to content

Commit 9467e11

Browse files
Bug 58271905: Enable pdf support in graphviz (#14544)
1 parent fe7570c commit 9467e11

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

SPECS/graphviz/graphviz.spec

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
Summary: Graph Visualization Tools
4646
Name: graphviz
4747
Version: 2.42.4
48-
Release: 12%{?dist}
48+
Release: 13%{?dist}
4949
License: EPL-1.0
5050
Vendor: Microsoft Corporation
5151
Distribution: Azure Linux
@@ -87,9 +87,12 @@ BuildRequires: sed
8787
BuildRequires: swig >= 1.3.33
8888
BuildRequires: tcl-devel >= 8.3
8989
BuildRequires: zlib-devel
90+
BuildRequires: cairo-devel
9091
BuildRequires: pkgconfig(cairo) >= 1.1.10
9192
Requires(post): /sbin/ldconfig
9293
Requires(postun): /sbin/ldconfig
94+
Requires: cairo
95+
9396
%if %{PHP}
9497
BuildRequires: php-devel
9598
%endif
@@ -269,6 +272,7 @@ sed -i 's|_MY_JAVA_INCLUDES_|-I%{java_home}/include/ -I%{java_home}/include/linu
269272
--without-mylibgd --with-ipsepcola --with-pangocairo \
270273
--without-gdk-pixbuf --with-visio --disable-silent-rules \
271274
--without-ruby --without-python2 \
275+
--with-cairo --with-expat \
272276
--with-freetypeincludedir=%{_includedir}/freetype2 --with-freetypelibdir=%{_libdir}/lib \
273277
%if ! %{LASI}
274278
--without-lasi \
@@ -338,7 +342,6 @@ find %{buildroot}%{_docdir}/%{name}/demo -type f -name "*.py" -exec mv {} {}.dem
338342
rm -f %{buildroot}%{_bindir}/dot_builtins
339343

340344
# These are part of gnome subpkg
341-
rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_pango*
342345
rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_xlib*
343346
# This is part of the x11 subpkg only
344347
rm -rf %{buildroot}%{_datadir}/graphviz/lefty
@@ -520,6 +523,9 @@ php --no-php-ini \
520523
%{_mandir}/man3/*.3tcl*
521524

522525
%changelog
526+
* Mon Aug 18 2025 Durga Jagadeesh Palli <[email protected]> - 2.42.4-13
527+
- add pdf support for the graphviz
528+
523529
* Mon Apr 21 2025 Kanishk Bansal <[email protected]> - 2.42.4-12
524530
- Patch CVE-2023-46045 using an upstream patch
525531

0 commit comments

Comments
 (0)