Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openslide for openSUSE:Factory checked in at 2026-09-07 16:24:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openslide (Old) and /work/SRC/openSUSE:Factory/.openslide.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openslide" Mon Sep 7 16:24:16 2026 rev:11 rq:1375834 version:4.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/openslide/openslide.changes 2018-03-19 23:40:40.532380927 +0100 +++ /work/SRC/openSUSE:Factory/.openslide.new.1265/openslide.changes 2026-09-07 16:24:18.554470169 +0200 @@ -1,0 +2,67 @@ +Tue Sep 1 10:42:40 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 4.0.1. Changes in 4.0.0: + * Update soname to `libopenslide.so.1` + * Remove all deprecated functions + * Clear `openslide_read_associated_image()` output buffer on error + * Remove undocumented NULL `dest` support in `openslide_read_associated_image()` + * Change GLib log domain to `OpenSlide` + * Convert build system to Meson + * New format: DICOM WSI + * Add APIs to read ICC color profiles + * Add APIs to configure tile cache size and share caches between slides + * Add properties for associated image metadata + * generic-tiff: Set MPP properties if available + * philips: Set objective power property if available + * Add `slidetool` command-line tool which supports all OpenSlide features + * Combine all command-line tools into the same binary + * Add ICC profile to PNG images written by command-line tools + * Add self-test that doesn't require sample data (run with `meson test`) + * Require libtiff ≥ 4, OpenJPEG ≥ 2.1, GLib ≥ 2.56, SQLite ≥ 3.14 + * Require libdicom ≥ 1.0, with build-time fallback for now + * Remove support for including `openslide.h` in Visual Studio \< 2013 + * Fail `openslide_open()` with a broken pixman 0.38.x + * Avoid extra buffer copy in `openslide_read_region()` + * Replace `goto`-based cleanup with `g_autoptr` + * Stop using deprecated GLib slice allocator + * Use internal wrappers for file I/O + * Documentation improvements + * Use UTF-8 filenames on Windows + * Improve `openslide-write-png` performance for very large regions + * Fix assertions on JPEG decode errors when compiled with Clang + * Portability fixes + * aperio: Set objective power property even if floating point + * hamamatsu: Fix `Restart marker not found` on VMS slides with multiple Z-layers + * hamamatsu: Fix integer overflow in VMS parsing + * mirax: Fix `Expected 1 value` error + * philips: Don't cache missing tiles + * sakura: Fix memory leak reading missing tile + Changes in 4.0.1: + * Fix arbitrary memory write with crafted Ventana BIF file (CVE-2026-48977) + * Fix return of uninitialized pixels with libtiff 4.7.1 (GHSA-f734-jv98-5677) + * New formats: ARGOS AVS, Huron TIFF + * New format: Zeiss CZI, uncompressed or zstd-compressed + * aperio: Support label and macro images on newer slides + * aperio: Add main image ICC profile to thumbnail if indicated by metadata + * dicom: Support levels split into multiple files + * dicom: Support reversible JPEG 2000 compression + * dicom: Fix colors with RGB JPEG and irreversible JPEG 2000 + * dicom: Support files with Image Type `ORIGINAL\PRIMARY\VOLUME\RESAMPLED` + * dicom: Fix swapped X and Y MPP + * generic-tiff: Support TIFFs with missing tiles + * hamamatsu: Fully support NDPI larger than 4 GB + * hamamatsu: Fix errors reading highly downsampled NDPI levels + * hamamatsu: Support NDPI files without `RowsPerStrip` + * hamamatsu: Correctly read NDPI ASCII strings shorter than 4 characters + * mirax: Support missing or variant `OBJECTIVE_MAGNIFICATION` + * mirax: Ignore empty `Slidedat.ini` key names + * Add `openslide.barcode` property + * Support building directly on Windows with GCC or clang-cl + * Add `slidetool test deps` command to run self-tests + * Require Zstandard + * Require Meson ≥ 0.55; libdicom ≥ 1.3; libjpeg-turbo ≥ 1.3 or libjpeg ≥ 9c + * Replace GDK-PixBuf dependency with built-in BMP parser + * Improve I/O performance with DICOM, Hamamatsu, TIFF + * Prevent libtiff ≥ 4.5.0 from logging to stderr + +------------------------------------------------------------------- Old: ---- openslide-3.4.1.tar.xz New: ---- openslide-4.0.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openslide.spec ++++++ --- /var/tmp/diff_new_pack.WAPQLy/_old 2026-09-07 16:24:19.337502992 +0200 +++ /var/tmp/diff_new_pack.WAPQLy/_new 2026-09-07 16:24:19.339503076 +0200 @@ -1,7 +1,7 @@ # # spec file for package openslide # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,109 +12,102 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define soversion 0 -%define libname lib%{name} +%define soversion 1 Name: openslide -Version: 3.4.1 +Version: 4.0.1 Release: 0 Summary: C library for reading virtual slides License: LGPL-2.1-only -Group: System/Libraries -Url: http://openslide.org/ +URL: https://openslide.org/ Source0: https://github.com/openslide/openslide/releases/download/v%{version}/openslide-%{version}.tar.xz -BuildRequires: cairo-devel +BuildRequires: doxygen BuildRequires: fdupes -BuildRequires: gdk-pixbuf-devel -BuildRequires: glib2-devel -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -BuildRequires: libxml2-devel -BuildRequires: openjpeg2-devel -BuildRequires: pkg-config -BuildRequires: sqlite3-devel -BuildRequires: xz -BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(libdicom) +BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(libopenjp2) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(libtiff-4) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libzstd) +BuildRequires: pkgconfig(sqlite3) +BuildRequires: pkgconfig(zlib) %description The OpenSlide library allows programs to access virtual slide files regardless of the underlying image format. -%package -n %{libname}%{soversion} +%package -n libopenslide%{soversion} Summary: C library for reading virtual slides -Group: System/Libraries -%description -n %{libname}%{soversion} +%description -n libopenslide%{soversion} The OpenSlide library allows programs to access virtual slide files regardless of the underlying image format. -%package -n %{libname}-devel -Summary: Development files for %{name} -Group: Development/Libraries/C and C++ -Requires: %{libname}%{soversion} = %{version} -Recommends: %{libname}-doc = %{version} +%package -n libopenslide-devel +Summary: Development files for openslide +Requires: libopenslide%{soversion} = %{version} +Recommends: libopenslide-doc = %{version} -%description -n %{libname}-devel +%description -n libopenslide-devel This package contains libraries and header files for -developing applications that use %{name}. +developing applications that use openslide. %package doc -Summary: Documentation for %{name} -Group: Documentation/Other +Summary: Documentation for openslide BuildArch: noarch %description doc This package contains documentation for developing with openslide library. %package tools -Summary: Command line tools for %{name} -Group: Productivity/Graphics/Other -Requires: %{libname}%{soversion} = %{version} +Summary: Command line tools for openslide +Requires: libopenslide%{soversion} = %{version} %description tools This package contains command line tools for working with virtual slides. %prep -%setup -q +%autosetup -p1 %build -%configure --disable-static -make %{?_smp_mflags} +# Note: Building without '-Dtest=disabled' fails without network access. A test is still executed. +%meson -Dtest=disabled -%install -%make_install -find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print -%fdupes -s doc/html/ +%meson_build -%clean -rm -rf %{buildroot} +%install +%meson_install -%post -n %{libname}%{soversion} -p /sbin/ldconfig +%check +%meson_test -%postun -n %{libname}%{soversion} -p /sbin/ldconfig +%ldconfig_scriptlets -n libopenslide%{soversion} -%files -n %{libname}%{soversion} -%defattr(-,root,root) +%files -n libopenslide%{soversion} +%license COPYING.LESSER +%doc CHANGELOG.md README.md %{_libdir}/*.so.%{soversion}* -%files -n %{libname}-devel -%defattr(-,root,root) -%{_includedir}/%{name}/ +%files -n libopenslide-devel +%{_includedir}/openslide/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files doc -%defattr(-,root,root) -%doc README.txt lgpl-2.1.txt LICENSE.txt CHANGELOG.txt doc/html/ +%doc doc/html/ %files tools -%defattr(-,root,root) -%{_bindir}/* -%{_mandir}/man1/openslide*.1.gz +%{_bindir}/openslide* +%{_bindir}/slidetool +%{_mandir}/man1/openslide*.1%{?ext_man} +%{_mandir}/man1/slidetool.1%{?ext_man} ++++++ openslide-3.4.1.tar.xz -> openslide-4.0.1.tar.xz ++++++ ++++ 89277 lines of diff (skipped)
