From 596e6072fbbd2f5414d2197b8bb5dc63ac74014e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 3 Oct 2024 17:48:51 +0200 Subject: update to 8.15.4 remove libvips-cpp (C++ library) which have no stable ABI --- libvips.xml | 2 +- vips.spec | 20 +++++++++++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/libvips.xml b/libvips.xml index e8bbfac..4be5fb9 100644 --- a/libvips.xml +++ b/libvips.xml @@ -9,7 +9,7 @@ -8.15.3 +8.15.4 diff --git a/vips.spec b/vips.spec index f8d84dd..84b2b39 100644 --- a/vips.spec +++ b/vips.spec @@ -8,13 +8,17 @@ # Please preserve changelog entries # %global vips_version_base 8.15 -%global vips_version %{vips_version_base}.3 +%global vips_version %{vips_version_base}.4 %global vips_soname_major 42 #global vips_prever rc2 %global vips_tagver %{vips_version}%{?vips_prever:-%{vips_prever}} %bcond_without doc +# C++ library have no stable ABI +# see https://github.com/libvips/libvips/commit/13ceb78db12ae2fd48796655d85815d5d637fcd6 +%bcond_with cplusplus + %if 0%{?fedora} || 0%{?rhel} >= 9 %bcond_without highway %else @@ -356,6 +360,11 @@ export CXXFLAGS="%{optflags} -ftree-vectorize" -Ddoxygen=true \ -Dgtk_doc=true \ %endif +%if %{with cplusplus} + -Dcplusplus=true \ +%else + -Dcplusplus=false \ +%endif %if %{with gm} -Dmagick-package=GraphicsMagick \ %endif @@ -388,6 +397,9 @@ export CXXFLAGS="%{optflags} -ftree-vectorize" %{_libdir}/*.so.%{vips_soname_major}* %{_libdir}/girepository-1.0 %dir %{_libdir}/vips-modules-%{vips_version_base} +%if %{with cplusplus} +%{_libdir}/*cpp.so.%{version} +%endif %files devel @@ -405,7 +417,9 @@ export CXXFLAGS="%{optflags} -ftree-vectorize" %if %{with doc} %files doc %{_datadir}/gtk-doc +%if %{with cplusplus} %{_docdir}/vips-doc/html +%endif %license LICENSE %endif @@ -443,6 +457,10 @@ export CXXFLAGS="%{optflags} -ftree-vectorize" %changelog +* Thu Oct 3 2024 Remi Collet - 8.15.4-1 +- update to 8.15.4 +- remove libvips-cpp (C++ library) which have no stable ABI + * Mon Aug 12 2024 Remi Collet - 8.15.3-1 - update to 8.15.3 -- cgit