Compare commits

...

20 Commits

Author SHA1 Message Date
Jaroslav Škarvada 7513cdf248 Disabled bootstrap
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-01-24 20:21:22 +01:00
Jaroslav Škarvada 05e4b1d074 Release bump to handle gs update 2023-01-24 20:01:12 +01:00
Jaroslav Škarvada c2276e33ca Enabled bootstrap (for doxygen rebuild)
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-01-24 19:26:26 +01:00
Jaroslav Škarvada 30971d5a25 Added sources
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2023-01-24 19:08:57 +01:00
Jaroslav Škarvada ff79a90e46 New version
Resolves: rhbz#2162906
2023-01-24 18:49:38 +01:00
Richard W.M. Jones 0ec15827c5 Rebuild OCaml packages for F38 2023-01-24 08:23:52 +00:00
Zdenek Dohnal 71a7ec6ed1 Add %%bcond_with bootstrap to break circular dependency with doxygen if needed 2023-01-23 09:25:13 +01:00
Fedora Release Engineering 595919defd Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 11:29:25 +00:00
Jitka Plesnikova 9a8b223d88 Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 09:38:55 +01:00
Jaroslav Škarvada 519230f9de New version
Resovles: rhbz#2158703
2023-01-12 12:57:28 +01:00
Tomas Popela 8d8d1dd380 Don't build GTK 2 bits on ELN/RHEL 10
GTK 2 won't be part of RHEL 10, see the following announcements:

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/KH2BKEOZTLV4G6WF5FUXU6RYDPC62UEX/
https://github.com/minimization/content-resolver-input/pull/724
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.1_release_notes/deprecated_functionality#deprecated-functionality_desktop
2023-01-06 15:25:22 +01:00
Mamoru TASAKA ca5090298b Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2 2023-01-04 13:10:22 +09:00
Tom Callaway b93a6781b5 update to 7.0.5, patch out distutils usage to build with Python 3.12 2022-12-29 15:22:03 -05:00
Jaroslav Škarvada 5b8ce2dae9 New version
Resolves: rhbz#2150535
2022-12-15 11:24:28 +01:00
Jaroslav Škarvada 44cc3b4ef2 New version
Resolves: rhbz#2148597
2022-12-01 11:56:16 +01:00
Jaroslav Škarvada 2e3acff6b5 Added sources
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2022-11-21 22:43:21 +01:00
Jaroslav Škarvada 7180966e60 New version
Resolves: rhbz#2144128
2022-11-21 22:40:30 +01:00
Jaroslav Škarvada e9d5ffdbef New version
Resolves: rhbz#2141409
2022-11-14 14:31:44 +01:00
Jaroslav Škarvada c68359c5ff Temporally drop PHP support due to graphviz issue #2277
Resolves: rhbz#2137832
2022-11-01 13:19:06 +01:00
Jaroslav Škarvada f139298a72 New version
Resolves: rhbz#2137071
2022-10-24 19:09:21 +02:00
3 changed files with 99 additions and 5 deletions

View File

@ -0,0 +1,13 @@
diff --git a/configure.ac b/configure.ac
index 49e027f..542c23a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1141,7 +1141,7 @@ else
use_python3="No (python-$PYTHON3_VERSION.pc not found)"
fi
fi
- PYTHON3_INSTALL_DIR="`$PYTHON3 -c 'from distutils import sysconfig; print(sysconfig.get_python_lib(1,0))'`"
+ PYTHON3_INSTALL_DIR="`$PYTHON3 -c 'import sysconfig; print(sysconfig.get_path("platlib"))'`"
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $PYTHON3_INCLUDES"
AC_CHECK_HEADER(Python.h,,[

View File

@ -3,11 +3,24 @@
%bcond_with php
%bcond_with guile
%else
%bcond_without php
# temporal drop of PHP support due to https://gitlab.com/graphviz/graphviz/-/issues/2277
%bcond_with php
%bcond_without guile
%endif
%bcond_with python2
# Macro for creating an option which enables bootstraping build without dependencies,
# which cause problems during rebuilds. Currently it is circular dependency of graphviz and
# doxygen - in case a dependency of graphviz/doxygen bumps SONAME and graphviz/doxygen
# has to be rebuilt, we can break the circular dependency by building with --with bootstrap.
%bcond_with bootstrap
%if 0%{?rhel} >= 10
%bcond_with gtk2
%else
%bcond_without gtk2
%endif
# Necessary conditionals
%ifarch %{mono_arches}
%global SHARP 1
@ -80,8 +93,8 @@
Name: graphviz
Summary: Graph Visualization Tools
Version: 6.0.2
Release: 3%{?dist}
Version: 7.1.0
Release: 2%{?dist}
License: EPL-1.0
URL: http://www.graphviz.org/
Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
@ -122,7 +135,9 @@ BuildRequires: cairo-devel >= 1.1.10
BuildRequires: pango-devel
BuildRequires: gmp-devel
BuildRequires: lua-devel
%if %{with gtk2}
BuildRequires: gtk2-devel
%endif
BuildRequires: gd-devel
BuildRequires: perl-devel
BuildRequires: swig >= 1.3.33
@ -168,7 +183,9 @@ BuildRequires: poppler-glib-devel
BuildRequires: freeglut-devel
BuildRequires: libglade2-devel
BuildRequires: gtkglext-devel
%if %{without bootstrap}
BuildRequires: doxygen
%endif
%if %{GOLANG}
BuildRequires: golang
%endif
@ -179,6 +196,8 @@ Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
# rhbz#1838679
Patch0: graphviz-4.0.0-gvpack-neato-static.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2155048
Patch1: graphviz-7.0.6-fix-python-3.12.patch
%if ! %{JAVA}
Obsoletes: graphviz-java < %{version}-%{release}
@ -234,6 +253,7 @@ Graphviz plugin for renderers based on gd. (Unless you absolutely have to use
GIF, you are recommended to use the PNG format instead because of the better
quality anti-aliased lines provided by the cairo+pango based renderer.)
%if %{with gtk2}
%package gtk2
Summary: Graphviz plugin for renderers based on gtk2
Requires: %{name} = %{version}-%{release}
@ -242,6 +262,7 @@ Requires(postun): %{_bindir}/dot /sbin/ldconfig
%description gtk2
Graphviz plugin for renderers based on gtk2.
%endif
%package graphs
Summary: Demo graphs for graphviz
@ -295,7 +316,6 @@ Ocaml extension for graphviz.
%package perl
Summary: Perl extension for graphviz
Requires: %{name} = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description perl
Perl extension for graphviz.
@ -445,7 +465,10 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" \
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}"
%if %{without bootstrap}
make doxygen
%endif
%install
%make_install docdir=%{_docdir}/%{name} \
@ -553,6 +576,7 @@ php --no-php-ini \
%{_bindir}/dot -c 2>/dev/null || :
%{?ldconfig}
%if %{with gtk2}
%post gtk2
%{_bindir}/dot -c 2>/dev/null || :
%{?ldconfig}
@ -560,6 +584,7 @@ php --no-php-ini \
%postun gtk2
%{_bindir}/dot -c 2>/dev/null || :
%{?ldconfig}
%endif
%if %{MING}
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
@ -635,9 +660,11 @@ php --no-php-ini \
%files gd
%{_libdir}/graphviz/libgvplugin_gd.so.*
%if %{with gtk2}
%files gtk2
%{_libdir}/graphviz/libgvplugin_gtk.so.*
%{_libdir}/graphviz/libgvplugin_gdk.so.*
%endif
%files graphs
%dir %{_datadir}/graphviz
@ -727,6 +754,60 @@ php --no-php-ini \
%endif
%changelog
* Tue Jan 24 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.1.0-2
- Release bump to handle gs update
* Tue Jan 24 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.1.0-1
- New version
Resolves: rhbz#2162906
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 7.0.6-4
- Rebuild OCaml packages for F38
* Mon Jan 23 2023 Zdenek Dohnal <zdohnal@redhat.com> - 7.0.6-3
- add %%bcond_with bootstrap to break circular dependency with doxygen if needed
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 12 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.6-1
- New version
Resovles: rhbz#2158703
* Fri Jan 06 2023 Tomas Popela <tpopela@redhat.com> - 7.0.5-3
- Don't build GTK 2 bits on ELN/RHEL 10 as GTK 2 won't be available there
* Wed Jan 04 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 7.0.5-2
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2
* Thu Dec 29 2022 Tom Callaway <spot@fedoraproject.org> - 7.0.5-1
- update to 7.0.5
- patch out distutils usage to build with Python 3.12
* Thu Dec 15 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.4-1
- New version
Resolves: rhbz#2150535
* Thu Dec 1 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.3-1
- New version
Resolves: rhbz#2148597
* Mon Nov 21 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.2-1
- New version
Resolves: rhbz#2144128
* Mon Nov 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.1-1
- New version
Resolves: rhbz#2141409
* Tue Nov 1 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.0-2
- Temporally drop PHP support due to graphviz issue #2277
Resolves: rhbz#2137832
* Mon Oct 24 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.0-1
- New version
Resolves: rhbz#2137071
* Fri Oct 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 6.0.2-3
- More fixes for conditional build of smyrna

View File

@ -1 +1 @@
SHA512 (graphviz-6.0.2.tar.bz2) = bdf4ab637276947851f2b0dbc6f613dfa6983ba39e2f4d18ae48372e67c8c6bddd080bb06177399447d367e5126768082397c9aeb195bf3295c21ea8e031d33a
SHA512 (graphviz-7.1.0.tar.bz2) = 28b3217153cbe96270b25862aa030269128653b011cf9eb6607fe9d061aa9db85f9b2454d9fde70be5af4f98474f8cac61040584ce164723df6ceb372cfb29ad