From b8e8059ae09998294ca709ec0c2fe29abec59ad1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 5 Jun 2021 08:40:12 +0200 Subject: update to 8.11.0rc1 split modules in sub-packages --- .../8.10.6_to_8.11.0rc1/compat_report.html | 817 +++++++++++++++++++++ libvips.xml | 2 +- vips.spec | 189 +++-- 3 files changed, 947 insertions(+), 61 deletions(-) create mode 100644 compat_reports/8.10.6_to_8.11.0rc1/compat_report.html diff --git a/compat_reports/8.10.6_to_8.11.0rc1/compat_report.html b/compat_reports/8.10.6_to_8.11.0rc1/compat_report.html new file mode 100644 index 0000000..ea5f6aa --- /dev/null +++ b/compat_reports/8.10.6_to_8.11.0rc1/compat_report.html @@ -0,0 +1,817 @@ + + + + + + + + + +libvips: 8.10.6 to 8.11.0rc1 compatibility report + + + +

API compatibility report for the libvips library between 8.10.6 and 8.11.0rc1 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibvips
Version #18.10.6
Version #28.11.0rc1
Archx86_64
GCC Version10
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types1098 / 209
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-20
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low3
+ +

Added Symbols  20 


+connection.h, libvips.so.42.13.0
+vips_source_g_input_stream_new ( GInputStream* stream )
+
+enumtypes.h, libvips.so.42.13.0
+vips_foreign_subsample_get_type ( )
+
+foreign.h, libvips.so.42.13.0
+vips_jp2kload ( char const* filename, VipsImage** out, ... )
+vips_jp2kload_buffer ( void* buf, size_t len, VipsImage** out, ... )
+vips_jp2kload_source ( VipsSource* source, VipsImage** out, ... )
+vips_jp2ksave ( VipsImage* in, char const* filename, ... )
+vips_jp2ksave_buffer ( VipsImage* in, void** buf, size_t* len, ... )
+vips_jp2ksave_target ( VipsImage* in, VipsTarget* target, ... )
+vips_jpegload_source ( VipsSource* source, VipsImage** out, ... )
+vips_jxlload ( char const* filename, VipsImage** out, ... )
+vips_jxlload_buffer ( void* buf, size_t len, VipsImage** out, ... )
+vips_jxlload_source ( VipsSource* source, VipsImage** out, ... )
+vips_niftiload_source ( VipsSource* source, VipsImage** out, ... )
+vips_openslideload_source ( VipsSource* source, VipsImage** out, ... )
+vips_vipsload_source ( VipsSource* source, VipsImage** out, ... )
+vips_vipssave_target ( VipsImage* in, VipsTarget* target, ... )
+
+header.h, libvips.so.42.13.0
+vips_image_get_array_double ( VipsImage* image, char const* name, double** out, int* n )
+vips_image_set_array_double ( VipsImage* image, char const* name, double const* array, int n )
+
+image.h, libvips.so.42.13.0
+vips_image_free_buffer ( VipsImage* image, void* buffer )
+
+vips.h, libvips.so.42.13.0
+vips_get_prgname ( )
+
+to the top
+ +

Problems with Constants, Low Severity  3 


+version.h
+ +[+] VIPS_CONFIG +
+ + + +[+] VIPS_LIBRARY_AGE +
+ + + +[+] VIPS_LIBRARY_CURRENT +
+ + +
+to the top
+

Header Files  1 


+
+vips.h
+
+
to the top
+

Libraries  1 


+
+libvips.so.42.12.7
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibvips
Version #18.10.6
Version #28.11.0rc1
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types1111 / 209
Compatibility99.7%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Symbols-21
Removed SymbolsHigh3
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low8
Other Changes
in Constants
-2
+ +

Added Symbols  21 


+connection.h
+vips_source_g_input_stream_new ( GInputStream* stream )
+
+enumtypes.h
+vips_foreign_subsample_get_type ( )
+
+foreign.h
+vips_jp2kload ( char const* filename, VipsImage** out, ... )
+vips_jp2kload_buffer ( void* buf, size_t len, VipsImage** out, ... )
+vips_jp2kload_source ( VipsSource* source, VipsImage** out, ... )
+vips_jp2ksave ( VipsImage* in, char const* filename, ... )
+vips_jp2ksave_buffer ( VipsImage* in, void** buf, size_t* len, ... )
+vips_jp2ksave_target ( VipsImage* in, VipsTarget* target, ... )
+vips_jpegload_source ( VipsSource* source, VipsImage** out, ... )
+vips_jxlload ( char const* filename, VipsImage** out, ... )
+vips_jxlload_buffer ( void* buf, size_t len, VipsImage** out, ... )
+vips_jxlload_source ( VipsSource* source, VipsImage** out, ... )
+vips_niftiload_source ( VipsSource* source, VipsImage** out, ... )
+vips_openslideload_source ( VipsSource* source, VipsImage** out, ... )
+vips_svgload_source ( VipsSource* source, VipsImage** out, ... )
+vips_vipsload_source ( VipsSource* source, VipsImage** out, ... )
+vips_vipssave_target ( VipsImage* in, VipsTarget* target, ... )
+
+header.h
+vips_image_get_array_double ( VipsImage* image, char const* name, double** out, int* n )
+vips_image_set_array_double ( VipsImage* image, char const* name, double const* array, int n )
+
+image.h
+vips_image_free_buffer ( VipsImage* image, void* buffer )
+
+vips.h
+vips_get_prgname ( )
+
+to the top
+

Removed Symbols  3 


+cimg_funcs.h
+vips_gmic ( VipsImage** in, VipsImage** out, int n, int padding, double x_scale, double y_scale, char const* command, ... )
+
+thread.h
+vips_g_thread_join ( GThread* thread )
+vips_g_thread_new ( char const* p1, GThreadFunc p2, gpointer p3 )
+
+to the top
+ +

Problems with Constants, Low Severity  8 


+version.h
+ +[+] VIPS_CONFIG +
+ + + +[+] VIPS_LIBRARY_AGE +
+ + + +[+] VIPS_LIBRARY_CURRENT +
+ + + +[+] VIPS_LIBRARY_REVISION +
+ + + +[+] VIPS_MICRO_VERSION +
+ + + +[+] VIPS_MINOR_VERSION +
+ + + +[+] VIPS_VERSION +
+ + + +[+] VIPS_VERSION_STRING +
+ + +
+to the top
+ +

Other Changes in Constants  2 


+connection.h
+ +[+] VIPS_TYPE_SOURCE_G_INPUT_STREAM +
+ + +
+enumtypes.h
+ +[+] VIPS_TYPE_FOREIGN_SUBSAMPLE +
+ + +
+to the top
+

Header Files  1 


+
+vips.h
+
+
to the top
+

Libraries  1 


+
+libvips.so.42.12.7
+
+
to the top
+



+ +
+ + diff --git a/libvips.xml b/libvips.xml index e52c20c..9201ab6 100644 --- a/libvips.xml +++ b/libvips.xml @@ -9,7 +9,7 @@ -8.10.6 +8.11.0rc1 diff --git a/vips.spec b/vips.spec index 781dd2f..e502873 100644 --- a/vips.spec +++ b/vips.spec @@ -7,12 +7,11 @@ # # Please preserve changelog entries # -%global vips_version_base 8.10 -%global vips_version %{vips_version_base}.6 +%global vips_version_base 8.11 +%global vips_version %{vips_version_base}.0 %global vips_soname_major 42 -#global vips_prever beta2 -#global vips_tarver %%{vips_version}%%{?vips_prever:-%%{vips_prever}} -%global vips_tarver %{vips_version} +%global vips_prever rc1 +%global vips_tarver %{vips_version}%{?vips_prever:-%{vips_prever}} %if 0%{?fedora} || 0%{?rhel} >= 8 %bcond_without doc @@ -43,14 +42,8 @@ %bcond_with libheif %endif -%if %{with libheif} -Name: vips-full -# Keep vips-full release > vips release -Release: 4%{?dist} -%else Name: vips -Release: 3%{?dist} -%endif +Release: 1%{?dist} Version: %{vips_version}%{?vips_prever:~%{vips_prever}} Summary: C/C++ library for processing large images @@ -61,20 +54,6 @@ Source0: https://github.com/libvips/libvips/releases/download/v%{vips_version}%{ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(fftw3) -%if %{with im6} -%if 0%{?fedora} >= 99 || 0%{?rhel} >= 99 -BuildRequires: ImageMagick-devel -%else -# Ensure we use version 6 (same as imagick ext). -BuildRequires: ImageMagick6-devel -%endif -%endif -%if %{with im7} -BuildRequires: ImageMagick7-devel -%endif -%if %{with gm} -BuildRequires: GraphicsMagick-devel -%endif BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(orc-0.4) BuildRequires: pkgconfig(lcms2) @@ -89,17 +68,12 @@ BuildRequires: pkgconfig(libtiff-4) # upstream requires 0.6 BuildRequires: pkgconfig(libwebp) > 1 BuildRequires: pkgconfig(libexif) -BuildRequires: pkgconfig(openslide) >= 3.3.0 BuildRequires: pkgconfig(libgsf-1) BuildRequires: pkgconfig(librsvg-2.0) >= 2.40.3 -BuildRequires: pkgconfig(poppler-glib) BuildRequires: pkgconfig(libjpeg) %if %{with libspng} BuildRequires: pkgconfig(spng) >= 0.6 %endif -%if %{with libheif} -BuildRequires: pkgconfig(libheif) >= 1.3 -%endif %if %{with libimagequant} #BuildRequires: pkgconfig(imagequant) TODO only in 2.12+ BuildRequires: libimagequant-devel @@ -110,10 +84,14 @@ BuildRequires: pkgconfig(gthread-2.0) BuildRequires: gcc-c++ BuildRequires: pkgconfig gettext -%if %{with libheif} -Conflicts: vips < %{version}-%{release} -Provides: vips = %{version}-%{release} -Provides: vips%{?_isa} = %{version}-%{release} +%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 +Suggests: %{name}-heif +Suggests: %{name}-magick +Recommends: %{name}-openslide +Recommends: %{name}-poppler +%else +Requires: %{name}-openslide +Requires: %{name}-poppler %endif @@ -125,29 +103,21 @@ with color. This package should be installed if you want to use a program compiled against VIPS. +Additional image formats are supported in additional optional packages: +* %{name}-heif +* %{name}-openslide +* %{name}-poppler +* %{name}-magick-im6 using ImageMagick version 6 +* %{name}-magick-im7 using ImageMagick version 7 +* %{name}-magick-gm using GraphicsMagick + + %package devel Summary: Development files for %{name} Requires: libjpeg-devel%{?_isa} libtiff-devel%{?_isa} zlib-devel%{?_isa} Requires: %{name}%{?_isa} = %{version}-%{release} -%if %{with libheif} -Conflicts: vips-devel < %{version}-%{release} -%endif -# for consistency, same version at buildtime and runtime -%if %{with im6} -%if 0%{?fedora} >= 99 || 0%{?rhel} >= 99 -Requires: ImageMagick-devel -%else -# Ensure we use version 6 (same as imagick ext). -Requires: ImageMagick6-devel -%endif -%endif -%if %{with im7} -Requires: ImageMagick7-devel -%endif -%if %{with gm} -Requires: GraphicsMagick-devel -%endif +Obsoletes: vips-full-devel < 8.11 %description devel The %{name}-devel package contains the header files and @@ -158,9 +128,7 @@ contains a C++ API and development documentation. %package tools Summary: Command-line tools for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} -%if %{with libheif} -Conflicts: vips-tools < %{version}-%{release} -%endif +Obsoletes: vips-full-tools < 8.11 %description tools The %{name}-tools package contains command-line tools for working with VIPS. @@ -171,15 +139,84 @@ The %{name}-tools package contains command-line tools for working with VIPS. Summary: Documentation for %{name} BuildRequires: swig gtk-doc Conflicts: %{name} < %{version}-%{release}, %{name} > %{version}-%{release} -%if %{with libheif} -Conflicts: vips-doc < %{version}-%{release} -%endif +Obsoletes: vips-full-doc < 8.11 %description doc The %{name}-doc package contains extensive documentation about VIPS in both HTML and PDF formats. %endif +%if %{with libheif} +%package heif +Summary: heif support for %{name} +BuildRequires: pkgconfig(libheif) >= 1.3 +Requires: %{name} = %{version}-%{release} +Obsoletes: vips-full < 8.11 + +%description heif +The %{name}-heif package contains the heif module. +%endif + +%package openslide +Summary: openslide support for %{name} +BuildRequires: pkgconfig(openslide) >= 3.3.0 +Requires: %{name} = %{version}-%{release} + +%description openslide +The %{name}-openslide package contains the openslide module. + +%package poppler +Summary: poppler support for %{name} +BuildRequires: pkgconfig(poppler-glib) +Requires: %{name} = %{version}-%{release} + +%description poppler +The %{name}-poppler package contains the poppler module. + +%if %{with im6} +%package magick-im6 +Summary: magick support for %{name} using ImageMagick6 +%if 0%{?fedora} >= 99 || 0%{?rhel} >= 99 +BuildRequires: ImageMagick-devel +%else +# Ensure we use version 6 (same as imagick ext). +BuildRequires: ImageMagick6-devel +%endif +Requires: %{name} = %{version}-%{release} +Provides: %{name}-magick = %{version}-%{release} +Conflicts: %{name}-magick-im7 +Conflicts: %{name}-magick-gm + +%description magick-im6 +The %{name}-magick-im6 package contains the magick module using ImageMagick6. +%endif + +%if %{with im7} +%package magick-im7 +Summary: magick support for %{name} using ImageMagick7 +BuildRequires: ImageMagick7-devel +Requires: %{name} = %{version}-%{release} +Provides: %{name}-magick = %{version}-%{release} +Conflicts: %{name}-magick-im6 +Conflicts: %{name}-magick-gm + +%description magick-im7 +The %{name}-magick-im7 package contains the magick module using ImageMagick7. +%endif + +%if %{with gm} +%package magick-gm +Summary: magick support for %{name} using ImageMagick7 +BuildRequires: GraphicsMagick-devel +Requires: %{name} = %{version}-%{release} +Provides: %{name}-magick = %{version}-%{release} +Conflicts: %{name}-magick-im6 +Conflicts: %{name}-magick-im7 + +%description magick-gm +The %{name}-magick-gm contains the magick module using GraphicsMagick. +%endif + %prep %setup -q -n vips-%{vips_version} @@ -202,7 +239,7 @@ export CFLAGS="%{optflags} -ftree-vectorize" export CXXFLAGS="%{optflags} -ftree-vectorize" %configure \ %if %{with libheif} - --with-heif \ + --with-heif=module \ %else --without-heif \ %endif @@ -252,6 +289,7 @@ sed -e 's:/usr/bin/python:%{_bindir}/python3:' -i %{buildroot}/%{_bindir}/vipspr %license COPYING %{_libdir}/*.so.%{vips_soname_major}* %{_libdir}/girepository-1.0 +%dir %{_libdir}/vips-modules-%{vips_version_base} %files devel @@ -274,7 +312,38 @@ sed -e 's:/usr/bin/python:%{_bindir}/python3:' -i %{buildroot}/%{_bindir}/vipspr %endif +%files openslide +%{_libdir}/vips-modules-%{vips_version_base}/vips-openslide.so + +%files poppler +%{_libdir}/vips-modules-%{vips_version_base}/vips-poppler.so + +%if %{with libheif} +%files heif +%{_libdir}/vips-modules-%{vips_version_base}/vips-heif.so +%endif + +%if %{with im6} +%files magick-im6 +%{_libdir}/vips-modules-%{vips_version_base}/vips-magick.so +%endif + +%if %{with im7} +%files magick-im7 +%{_libdir}/vips-modules-%{vips_version_base}/vips-magick.so +%endif + +%if %{with gm} +%files magick-gm +%{_libdir}/vips-modules-%{vips_version_base}/vips-magick.so +%endif + + %changelog +* Sat Jun 5 2021 Remi Collet - 8.11.0~rc1-1 +- update to 8.11.0rc1 +- split modules in sub-packages + * Tue Apr 6 2021 Remi Collet - 8.10.6-3 - rebuild for new matio (Fedora 32 to 34) -- cgit