From 997e463117269cb2f99d11275464644b441d4055 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Jun 2022 10:08:38 +0200 Subject: update to 8.13.0rc1 Enable openjpeg2 usage on RHEL >= 9 Increase minimum required version of libspng to 0.7 for PNG write support Remove libpng in favor of libspng (if possible) Remove dependency on deprecated gthread-2.0 open https://github.com/libvips/libvips/issues/2878 broken build on EL-7 open https://github.com/libvips/libvips/issues/2877 libniftiio detection open https://github.com/libvips/libvips/issues/2876 unusable archive open https://github.com/libvips/libvips/issues/2879 please keep autotools --- .../8.12.2_to_8.13.0-rc1/compat_report.html | 1365 ++++++++++++++++++++ libvips.xml | 2 +- vips.spec | 37 +- 3 files changed, 1391 insertions(+), 13 deletions(-) create mode 100644 compat_reports/8.12.2_to_8.13.0-rc1/compat_report.html diff --git a/compat_reports/8.12.2_to_8.13.0-rc1/compat_report.html b/compat_reports/8.12.2_to_8.13.0-rc1/compat_report.html new file mode 100644 index 0000000..33590ef --- /dev/null +++ b/compat_reports/8.12.2_to_8.13.0-rc1/compat_report.html @@ -0,0 +1,1365 @@ + + + + + + + + + +libvips: 8.12.2 to 8.13.0-rc1 compatibility report + + + +

API compatibility report for the libvips library between 8.12.2 and 8.13.0-rc1 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibvips
Version #18.12.2
Version #28.13.0-rc1
Archx86_64
GCC Version11
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types1110 / 218
Compatibility98.9%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Symbols-9
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium1
Low7
Problems with
Symbols
High0
Medium0
Low2
Problems with
Constants
Low5
Other Changes
in Data Types
-2
+ +

Added Symbols  9 


+connection.h, libvips.so.42.15.0
+vips_source_new_from_target ( VipsTarget* target )
+vips_target_end ( VipsTarget* target )
+vips_target_new_temp ( VipsTarget* target )
+vips_target_read ( VipsTarget* target, void* buffer, size_t length )
+vips_target_seek ( VipsTarget* target, off_t offset, int whence )
+
+foreign.h, libvips.so.42.15.0
+vips_dzsave_target ( VipsImage* in, VipsTarget* target, ... )
+vips_tiffsave_target ( VipsImage* in, VipsTarget* target, ... )
+
+operation.h, libvips.so.42.15.0
+vips_operation_block_set ( char const* name, gboolean state )
+
+vips.h, libvips.so.42.15.0
+vips_block_untrusted_set ( gboolean state )
+
+to the top
+ +

Problems with Data Types, Medium Severity  1 


+connection.h
+ +[+] struct _VipsTarget  1  +
+ + +
+to the top
+ +

Problems with Data Types, Low Severity  7 


+connection.h
+ +[+] struct _VipsTarget  5  +
+ + + +[+] struct _VipsTargetCustom  2  +
+ + +
+to the top
+ +

Problems with Symbols, Low Severity  2 


+conversion.h, libvips.so.42.14.2
+ +[+] vips_composite2 ( VipsImage* base, VipsImage* overlay, VipsImage** out, enum VipsBlendMode mode1, ... )  1  +
+ +
+header.h, libvips.so.42.14.2
+ +[+] vips_image_print_field ( VipsImage const* image, char const* field )  1  +
+ +
+to the top
+ +

Problems with Constants, Low Severity  5 


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

Other Changes in Data Types  2 


+operation.h
+ +[+] enum VipsOperationFlags  2  +
+ + +
+to the top
+

Header Files  1 


+
+vips.h
+
+
to the top
+

Libraries  1 


+
+libvips.so.42.14.2
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibvips
Version #18.12.2
Version #28.13.0-rc1
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types1151 / 218
Compatibility95.2%
+

Problem Summary


+ + + + + + + + + + + + +
SeverityCount
Added Symbols-11
Removed SymbolsHigh31
Problems with
Data Types
High1
Medium1
Low3
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low10
Other Changes
in Data Types
-2
Other Changes
in Symbols
-2
Other Changes
in Constants
-2
+ +

Added Symbols  11 


+connection.h
+vips_source_new_from_target ( VipsTarget* target )
+vips_target_end ( VipsTarget* target )
+vips_target_new_temp ( VipsTarget* target )
+vips_target_read ( VipsTarget* target, void* buffer, size_t length )
+vips_target_seek ( VipsTarget* target, off_t offset, int whence )
+
+dbuf.h
+vips_dbuf_minimum_size ( VipsDbuf* dbuf, size_t size )
+
+foreign.h
+vips_dzsave_buffer ( VipsImage* in, void** buf, size_t* len, ... )
+vips_dzsave_target ( VipsImage* in, VipsTarget* target, ... )
+vips_tiffsave_target ( VipsImage* in, VipsTarget* target, ... )
+
+operation.h
+vips_operation_block_set ( char const* name, gboolean state )
+
+vips.h
+vips_block_untrusted_set ( gboolean state )
+
+to the top
+

Removed Symbols  31 


+format.h
+im_analyze2vips ( char const* filename, VipsImage* out )
+im_bufjpeg2vips ( void* buf, size_t len, VipsImage* out, gboolean header_only )
+im_bufmagick2vips ( void* buf, size_t len, VipsImage* out, gboolean header_only )
+im_csv2vips ( char const* filename, VipsImage* out )
+im_exr2vips ( char const* filename, VipsImage* out )
+im_fits2vips ( char const* filename, VipsImage* out )
+im_jpeg2vips ( char const* filename, VipsImage* out )
+im_magick2vips ( char const* filename, VipsImage* out )
+im_mat2vips ( char const* filename, VipsImage* out )
+im_png2vips ( char const* filename, VipsImage* out )
+im_ppm2vips ( char const* filename, VipsImage* out )
+im_rad2vips ( char const* filename, VipsImage* out )
+im_raw2vips ( char const* filename, VipsImage* out, int width, int height, int bpp, int offset )
+im_tiff2vips ( char const* filename, VipsImage* out )
+im_tile_cache ( VipsImage* in, VipsImage* out, int tile_width, int tile_height, int max_tiles )
+im_vips2bufjpeg ( VipsImage* in, VipsImage* out, int qfac, char** obuf, int* olen )
+im_vips2bufpng ( VipsImage* in, VipsImage* out, int compression, int interlace, char** obuf, size_t* olen )
+im_vips2csv ( VipsImage* in, char const* filename )
+im_vips2dz ( VipsImage* in, char const* filename )
+im_vips2fits ( VipsImage* in, char const* filename )
+im_vips2jpeg ( VipsImage* in, char const* filename )
+im_vips2mimejpeg ( VipsImage* in, int qfac )
+im_vips2png ( VipsImage* in, char const* filename )
+im_vips2ppm ( VipsImage* in, char const* filename )
+im_vips2rad ( VipsImage* in, char const* filename )
+im_vips2raw ( VipsImage* in, int fd )
+im_vips2tiff ( VipsImage* in, char const* filename )
+im_vips2webp ( VipsImage* in, char const* filename )
+im_webp2vips ( char const* filename, VipsImage* out )
+
+private.h
+vips__get_sizeof_vipsobject ( )
+vips__init ( char const* argv0 )
+
+to the top
+ +

Problems with Data Types, High Severity  1 


+connection.h
+ +[+] struct _VipsTarget  1  +
+ + +
+to the top
+ +

Problems with Data Types, Medium Severity  1 


+connection.h
+ +[+] struct _VipsTarget  1  +
+ + +
+to the top
+ +

Problems with Data Types, Low Severity  3 


+connection.h
+ +[+] struct _VipsTarget  3  +
+ + +
+to the top
+ +

Problems with Constants, Low Severity  10 


+soname.h
+ +[+] VIPS_SONAME +
+ + +
+version.h
+ +[+] VIPS_CONFIG +
+ + + +[+] VIPS_EXEEXT +
+ + + +[+] 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 Data Types  2 


+operation.h
+ +[+] enum VipsOperationFlags  2  +
+ + +
+to the top
+ +

Other Changes in Symbols  2 


+conversion.h
+ +[+] vips_composite2 ( VipsImage* base, VipsImage* overlay, VipsImage** out, enum VipsBlendMode mode1, ... )  1  +
+ +
+header.h
+ +[+] vips_image_print_field ( VipsImage const* image, char const* field )  1  +
+ +
+to the top
+ +

Other Changes in Constants  2 


+basic.h
+ +[+] VIPS_API +
+ + + +[+] VIPS_DEPRECATED +
+ + +
+to the top
+

Header Files  1 


+
+vips.h
+
+
to the top
+

Libraries  1 


+
+libvips.so.42.14.2
+
+
to the top
+



+ +
+ + diff --git a/libvips.xml b/libvips.xml index 0a36063..0dfcd9a 100644 --- a/libvips.xml +++ b/libvips.xml @@ -9,7 +9,7 @@ -8.12.2 +8.13.0-rc1 diff --git a/vips.spec b/vips.spec index a63a459..4b0eeb0 100644 --- a/vips.spec +++ b/vips.spec @@ -7,10 +7,10 @@ # # Please preserve changelog entries # -%global vips_version_base 8.12 -%global vips_version %{vips_version_base}.2 +%global vips_version_base 8.13 +%global vips_version %{vips_version_base}.0 %global vips_soname_major 42 -#global vips_prever rc1 +%global vips_prever rc1 %global vips_tarver %{vips_version}%{?vips_prever:-%{vips_prever}} %if 0%{?fedora} || 0%{?rhel} >= 8 @@ -27,7 +27,7 @@ %bcond_with libcgif %endif -%if 0%{?fedora} >= 34 +%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9 %bcond_without openjpeg2 %else # disabled by default @@ -68,14 +68,19 @@ %endif Name: vips -Release: 2%{?dist} +Release: 1%{?dist} Version: %{vips_version}%{?vips_prever:~%{vips_prever}} Summary: C/C++ library for processing large images License: LGPLv2+ URL: https://libvips.github.io/libvips/ -Source0: https://github.com/libvips/libvips/releases/download/v%{vips_version}%{?vips_prever:-%{vips_prever}}/vips-%{vips_tarver}.tar.gz +Source0: https://github.com/libvips/libvips/releases/download/v%{vips_tarver}/vips-%{vips_tarver}.tar.gz +BuildRequires: make +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: gettext BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(fftw3) @@ -93,7 +98,6 @@ BuildRequires: pkgconfig(matio) BuildRequires: pkgconfig(cfitsio) BuildRequires: pkgconfig(pangoft2) BuildRequires: pkgconfig(zlib) -BuildRequires: pkgconfig(libpng) >= 1.2.9 BuildRequires: pkgconfig(libtiff-4) # Ensure we use libwebp7 on EL-7 # upstream requires 0.6 @@ -103,7 +107,9 @@ BuildRequires: pkgconfig(libgsf-1) BuildRequires: pkgconfig(librsvg-2.0) >= 2.40.3 BuildRequires: pkgconfig(libjpeg) %if %{with libspng} -BuildRequires: pkgconfig(spng) >= 0.6 +BuildRequires: pkgconfig(spng) >= 0.7 +%else +BuildRequires: pkgconfig(libpng) >= 1.2.9 %endif %if %{with niftic} BuildRequires: nifticlib-devel @@ -118,10 +124,6 @@ BuildRequires: libimagequant-devel %if %{with libcgif} BuildRequires: pkgconfig(cgif) %endif -BuildRequires: pkgconfig(gthread-2.0) - -BuildRequires: gcc-c++ -BuildRequires: pkgconfig gettext # Not available as system library # and altered by vips upstream @@ -453,6 +455,17 @@ make check %changelog +* Mon Jun 20 2022 Remi Collet - 8.13.0~rc1-1 +- update to 8.13.0rc1 +- Enable openjpeg2 usage on RHEL >= 9 +- Increase minimum required version of libspng to 0.7 for PNG write support +- Remove libpng in favor of libspng (if possible) +- Remove dependency on deprecated gthread-2.0 +- open https://github.com/libvips/libvips/issues/2878 broken build on EL-7 +- open https://github.com/libvips/libvips/issues/2877 libniftiio detection +- open https://github.com/libvips/libvips/issues/2876 unusable archive +- open https://github.com/libvips/libvips/issues/2879 please keep autotools + * Mon Apr 25 2022 Remi Collet - 8.12.2-2 - rebuild using libheif -- cgit