File project.diff of Package graphviz
--- graphviz-smyrna-link_against_glu.patch.orig
+++ graphviz-smyrna-link_against_glu.patch
@@ -1,15 +1,26 @@
+From 5bca434c221b43ceee510948a522a42975f81978 Mon Sep 17 00:00:00 2001
+From: Philipp Thomas <pth@suse.de>
+Date: Thu, 24 Oct 2013 11:16:01 +0200
+Subject: [PATCH] smyrna: Add libGLU and libGL as libraries to link to which
+ was missing
+
---
- configure.ac | 2 +-
+ configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
+diff --git a/configure.ac b/configure.ac
+index 0fda040e3..0575bda72 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -1897,7 +1897,7 @@
+@@ -1860,7 +1860,7 @@ else
AC_CHECK_HEADER(GL/glut.h,
AC_CHECK_LIB(glut,main,
- [GLUT_LIBS="$GLUT_LIBS -lglut"
+ [GLUT_LIBS="$GLUT_LIBS -lglut $(pkg-config --libs glu)"
use_glut="Yes"
- AC_DEFINE_UNQUOTED(HAVE_GLUT,1,[Define if you have the GLUT library])],
+ AC_DEFINE(HAVE_GLUT,1,[Define if you have the GLUT library])],
use_glut="No (missing libglut)"
+--
+2.51.0
+
--- graphviz.changes.orig
+++ graphviz.changes
@@ -1,4 +1,40 @@
-------------------------------------------------------------------
+Tue Feb 10 18:02:31 UTC 2026 - Michal Suchanek <msuchanek@suse.de>
+
+- Update to 14.1.2
+ * The `colorscheme` attribute when applied to edge labels works once again.
+- Update to 14.1.1
+ * When seeding random number generators with `time(NULL)`, the result of
+ `getpid()` is no longer also mixed in. Previously this was the case on
+ non-Windows platforms, impeding reproducibility and portability
+- Update to 14.1.0
+ * Added option `neato -n3` for fit ends of edges to nodes' borders when edge
+ trajectory is set.
+ * Orthogonal edges now support rounded corners via the `radius` edge attribute.
+- Update to 14.0.5
+ * When filtering attribute lists, Smyrna no longer accesses out of bounds memory
+ * osage should now handle clusters that become empty when nodes are incorrectly
+ assigned to sibling clusters.
+- Update to 14.0.4
+ * Internal timing operations now use `clock()` on all platforms
+ * `diffimg` now notices failures when calling Ghostscript
+ * `dtstat` no longer reads/writes out of bounds memory
+ * A null pointer dereference in edge pair analysis within the circo algorithm
+ has been fixed.
+- Update to 14.0.2
+ * Memory corruption when using the Java bindings to render to a string has been
+ corrected
+- Update to 14.0.1
+ * Points generated as curves by the dot layout algorithm are once again placed
+ correctly.
+- Refresh graphviz-smyrna-link_against_glu.patch
+
+-------------------------------------------------------------------
+Tue Feb 10 16:12:50 UTC 2026 - Michal Suchanek <msuchanek@suse.de>
+
+- On SLE 15 build with GCC 13 and python 3.11
+
+-------------------------------------------------------------------
Wed Oct 29 08:03:39 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop graphviz-2.20.2-interpreter_names.patch: do not set the
@@ -19,7 +55,6 @@ D graphviz-useless_warnings.patch
D swig-4.1.0.patch
- Remove old, unneeded condition: if 0%{?suse_version} == 1315
-
-------------------------------------------------------------------
Fri May 30 10:49:41 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
--- graphviz.spec.orig
+++ graphviz.spec
@@ -1,7 +1,7 @@
#
# spec file for package graphviz
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,19 @@
%define mname graphviz
# name of the plugin config file that dot creates
%define config_file config6
+%if 0%{?suse_version} <= 1500
+%define gcc_pkg gcc13
+%define gcc gcc-13
+%define gxx g++-13
+%define pyversion 3.11
+%define pyversion_nodot 311
+%else
+%define gcc_pkg gcc
+%define gcc gcc
+%define gxx g++
+%define pyversion 3
+%define pyversion_nodot 3
+%endif
%if "%{flavor}" == "addons"
%define phpconf_dir %{_sysconfdir}/php%{php_version}/conf.d
%define phpext_dir %(%{__php_config} --extension-dir)
@@ -50,7 +63,7 @@
%bcond_with java
%bcond_with ocaml
Name: graphviz%{psuffix}
-Version: 14.0.0
+Version: 14.1.2
Release: 0
Summary: Graph Visualization Tools
License: EPL-1.0
@@ -58,21 +71,21 @@ Group: Productivity/Graphics/Vi
URL: https://www.graphviz.org/
Source0: https://gitlab.com/graphviz/graphviz/-/archive/%version/graphviz-%{version}.tar.bz2
Source1: graphviz-rpmlintrc
-#PATCH-FIX-UPSTREAM add flags to also link against libGLU and libGL
Patch0: graphviz-smyrna-link_against_glu.patch
Patch1: graphviz-fix-pkgIndex.patch
+Patch2: Fix-build-with-non-standard-python-binary.patch
+BuildRequires: %{gcc_pkg}-c++
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: fdupes
BuildRequires: flex
-BuildRequires: gcc-c++
BuildRequires: groff
BuildRequires: guile-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: pkgconfig
-BuildRequires: python3-base >= 3.9
+BuildRequires: python%pyversion_nodot-base >= 3.9
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(gts)
BuildRequires: pkgconfig(zlib)
@@ -86,7 +99,8 @@ BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libwebp-devel
BuildRequires: perl
-BuildRequires: python3-setuptools
+BuildRequires: python%pyversion_nodot-devel
+BuildRequires: python%pyversion_nodot-setuptools
BuildRequires: ruby-devel
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(fontconfig)
@@ -102,7 +116,6 @@ BuildRequires: pkgconfig(libglade-2.0)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(lua)
BuildRequires: pkgconfig(pango)
-BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(tcl)
BuildRequires: pkgconfig(x11)
@@ -368,10 +381,8 @@ The graphviz-devel package contains all
programs that use the graphviz libraries including man3 pages.
%prep
-#autosetup breaks graphviz-addons
-%setup -q -n %{mname}-%{version}
-%patch -P 0 -p1
-%patch -P 1 -p1
+%autosetup -p1 -n %{mname}-%{version}
+[ -f README ] || ln -s README.md README
# pkg-config returns 0 (TRUE) when guile-2.2 is present
if pkg-config --atleast-version=2.2 guile-2.2; then
@@ -391,6 +402,7 @@ sed -i \
sed -i -e 's@LANGUAGE php7@LANGUAGE php8@' tclpkg/gv/CMakeLists.txt
%build
+sed -i -e 's/python3 /python%pyversion /g' autogen.sh
./autogen.sh RUBY_VER=%{?ruby_version}
CFLAGS="%{optflags} -ffast-math -fno-strict-aliasing -fno-strict-overflow -fPIC"
@@ -402,9 +414,12 @@ CFLAGS="$CFLAGS -I/usr/include/ruby-%{ru
%endif
+export CC="%gcc"
+export CXX="%gxx"
export CFLAGS="$CFLAGS"
export CPPFLAGS="$CFLAGS"
export LDFLAGS="-pie"
+export PYTHON3="python%pyversion"
%configure \
--disable-static \
--without-included-ltdl \
@@ -620,8 +635,8 @@ if test -x %{_bindir}/dot; then rm -f %{
%config(noreplace) %{phpconf_dir}/gv.ini
%files -n python3-gv
-%{python3_sitearch}/_gv.so
-%{python3_sitearch}/gv.py
+%{lua: print(rpm.expand('%python' .. rpm.expand('%pyversion_nodot') .. '_sitearch'))}/_gv.so
+%{lua: print(rpm.expand('%python' .. rpm.expand('%pyversion_nodot') .. '_sitearch'))}/gv.py
%{_mandir}/man3/gv.3python%{ext_man}
%files -n graphviz-ruby
@@ -659,7 +674,7 @@ if test -x %{_bindir}/dot; then %{_bindi
%if "%{flavor}" == ""
%files
-%doc doc/FAQ.html AUTHORS README NEWS CHANGELOG.md
+%doc doc/FAQ.html AUTHORS README.md NEWS CHANGELOG.md
%license epl-v10.txt
%{_bindir}/acyclic
%{_bindir}/bcomps