From 10faad3700e5e6c5af04536fea1a7ed9c7517305dbb6fc70d4c117440c32c41d Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 18 Jan 2021 13:28:23 +0000 Subject: [PATCH 1/2] Accepting request 863192 from home:andythe_great:branches:multimedia:libs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove --disable-static because it cause build to fail. - Update to version 2.5.2. * Bug #18: Remove an unnecessary message to stdout in the exempi tool. https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/18 * Bug #20: Test file formats. This also change the GIF sample to GIF89a. https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/20 * Bug #17: `make check` should build more reliably now. https://gitlab.freedesktop.org/libopenraw/exempi/issues/17 * MR !1: Remove deprecated C++ to compile with C++17. https://gitlab.freedesktop.org/libopenraw/exempi/merge_requests/1 * MR !2: Fix a build failure with C++17. https://gitlab.freedesktop.org/libopenraw/exempi/merge_requests/2 - Updates for version 2.5.1. * Bug #9: [CVE-2018-12648] Fix null-pointer-dereference in WEBP. https://gitlab.freedesktop.org/libopenraw/exempi/issues/9 * Bug #12: Invalid WEBP cause a memory overflow. https://gitlab.freedesktop.org/libopenraw/exempi/issues/12 * Bug #13: Fix a buffer a overflow in ID3 support on invalid MP3. https://gitlab.freedesktop.org/libopenraw/exempi/issues/13 * Bug #14: Invalid MP3 cause a memory overflow. https://gitlab.freedesktop.org/libopenraw/exempi/issues/14 - Updates for version 2.5.0. * Upgrade XMPCore to Adobe XMP SDK CC 2016.07 * Support for iOS in XMPFiles * New DOM based API’s are added in XMP Core to access metadata tree hierarchy. (not exposed yet in Exempi) * Added support XMP/metadata in utf-8 encoded uncompressed SVG files in XMPFiles. * Added support of GIF handler in XMPFiles. * Added support for reconciliation of iXML’s TRACK_LIST and its components to get microphone data. * Added support for IFDs of type 13 in TIFF. * Added support for MPEG4 videos shot from Google Nexus 5 camera. * Restructured the implementation of XDCAM Handler to support File Access Mode (FAM) and Simple Access Mode (SAM) * Added built-in support for iXML namespace in XMPCore. * Modified the alias tiff:ImageDescription for dc:description as language alternative array instead of simple property. * Lot of bug fixes in XMPFiles and XMPCore. * Removed Exempi provided support for GIF in favour of Adobe's. Only GIF89a is supported. * New: API NS_XML constant * Bug #5: Restrict the exported symbols. Only the symbols marked with API_EXPORT are exported by the shared library as to not allow another library to import the XMP SDK symbols. https://gitlab.freedesktop.org/libopenraw/exempi/issues/5 * Bug #105580: Access memory aligned on ARM. https://bugs.freedesktop.org/show_bug.cgi?id=105580 * Added tests for Adobe SDK. * Fixed warnings and other issues and Adobe SDK. * Compile with much more warnings enabled. OBS-URL: https://build.opensuse.org/request/show/863192 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/exempi?expand=0&rev=29 --- exempi-2.4.5.tar.bz2 | 3 --- exempi-2.4.5.tar.bz2.asc | 6 ----- exempi-2.5.2.tar.bz2 | 3 +++ exempi-2.5.2.tar.bz2.asc | 6 +++++ exempi.changes | 55 ++++++++++++++++++++++++++++++++++++++++ exempi.spec | 54 +++++++++++++++++++-------------------- 6 files changed, 90 insertions(+), 37 deletions(-) delete mode 100644 exempi-2.4.5.tar.bz2 delete mode 100644 exempi-2.4.5.tar.bz2.asc create mode 100644 exempi-2.5.2.tar.bz2 create mode 100644 exempi-2.5.2.tar.bz2.asc diff --git a/exempi-2.4.5.tar.bz2 b/exempi-2.4.5.tar.bz2 deleted file mode 100644 index 8ff5bee..0000000 --- a/exempi-2.4.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:406185feb88e84ea1d4b4251370be2991205790d7113a7e28e192ff46a4f221e -size 3615134 diff --git a/exempi-2.4.5.tar.bz2.asc b/exempi-2.4.5.tar.bz2.asc deleted file mode 100644 index e418182..0000000 --- a/exempi-2.4.5.tar.bz2.asc +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iEYEABECAAYFAlqgq08ACgkQX+4F5qVuFaNeLwCgz4MWXwc+jl2vMPf0zbeOgFg2 -qf4AnAw1DJC4jNhc9xXaCkQfDYYG3R1m -=4wPW ------END PGP SIGNATURE----- diff --git a/exempi-2.5.2.tar.bz2 b/exempi-2.5.2.tar.bz2 new file mode 100644 index 0000000..41ed91e --- /dev/null +++ b/exempi-2.5.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52f54314aefd45945d47a6ecf4bd21f362e6467fa5d0538b0d45a06bc6eaaed5 +size 3658606 diff --git a/exempi-2.5.2.tar.bz2.asc b/exempi-2.5.2.tar.bz2.asc new file mode 100644 index 0000000..307b91e --- /dev/null +++ b/exempi-2.5.2.tar.bz2.asc @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRsRNs+C/Pq9bQzI5pf7gXmpW4VowUCXvLOTQAKCRBf7gXmpW4V +o+a/AKDpcVii0+UyiATkLFqlLtB9oV8YnACffUBRw1wN4TlW4A5W/NZZzKS+cOs= +=WoPW +-----END PGP SIGNATURE----- diff --git a/exempi.changes b/exempi.changes index a619f9e..79aeb71 100644 --- a/exempi.changes +++ b/exempi.changes @@ -1,3 +1,58 @@ +------------------------------------------------------------------- +Thu Jan 14 16:53:59 UTC 2021 - andy great + +- Remove --disable-static because it cause build to fail. +- Update to version 2.5.2. + * Bug #18: Remove an unnecessary message to stdout in the exempi tool. + https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/18 + * Bug #20: Test file formats. This also change the GIF sample to GIF89a. + https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/20 + * Bug #17: `make check` should build more reliably now. + https://gitlab.freedesktop.org/libopenraw/exempi/issues/17 + * MR !1: Remove deprecated C++ to compile with C++17. + https://gitlab.freedesktop.org/libopenraw/exempi/merge_requests/1 + * MR !2: Fix a build failure with C++17. + https://gitlab.freedesktop.org/libopenraw/exempi/merge_requests/2 +- Updates for version 2.5.1. + * Bug #9: [CVE-2018-12648] Fix null-pointer-dereference in WEBP. + https://gitlab.freedesktop.org/libopenraw/exempi/issues/9 + * Bug #12: Invalid WEBP cause a memory overflow. + https://gitlab.freedesktop.org/libopenraw/exempi/issues/12 + * Bug #13: Fix a buffer a overflow in ID3 support on invalid MP3. + https://gitlab.freedesktop.org/libopenraw/exempi/issues/13 + * Bug #14: Invalid MP3 cause a memory overflow. + https://gitlab.freedesktop.org/libopenraw/exempi/issues/14 +- Updates for version 2.5.0. + * Upgrade XMPCore to Adobe XMP SDK CC 2016.07 + * Support for iOS in XMPFiles + * New DOM based API’s are added in XMP Core to access metadata tree + hierarchy. (not exposed yet in Exempi) + * Added support XMP/metadata in utf-8 encoded uncompressed SVG + files in XMPFiles. + * Added support of GIF handler in XMPFiles. + * Added support for reconciliation of iXML’s TRACK_LIST and its + components to get microphone data. + * Added support for IFDs of type 13 in TIFF. + * Added support for MPEG4 videos shot from Google Nexus 5 camera. + * Restructured the implementation of XDCAM Handler to support + File Access Mode (FAM) and Simple Access Mode (SAM) + * Added built-in support for iXML namespace in XMPCore. + * Modified the alias tiff:ImageDescription for dc:description as + language alternative array instead of simple property. + * Lot of bug fixes in XMPFiles and XMPCore. + * Removed Exempi provided support for GIF in favour of Adobe's. + Only GIF89a is supported. + * New: API NS_XML constant + * Bug #5: Restrict the exported symbols. Only the symbols marked + with API_EXPORT are exported by the shared library as to not + allow another library to import the XMP SDK symbols. + https://gitlab.freedesktop.org/libopenraw/exempi/issues/5 + * Bug #105580: Access memory aligned on ARM. + https://bugs.freedesktop.org/show_bug.cgi?id=105580 + * Added tests for Adobe SDK. + * Fixed warnings and other issues and Adobe SDK. + * Compile with much more warnings enabled. + ------------------------------------------------------------------- Wed Mar 14 14:56:58 UTC 2018 - jengelh@inai.de diff --git a/exempi.spec b/exempi.spec index 61568df..f4bf095 100644 --- a/exempi.spec +++ b/exempi.spec @@ -1,7 +1,7 @@ # # spec file for package exempi # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,42 +12,41 @@ # 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 debug_package_requires libexempi3 = %{version} +%define sonum 8 Name: exempi -Version: 2.4.5 +Version: 2.5.2 Release: 0 Summary: XMP support library License: BSD-3-Clause Group: Development/Libraries/C and C++ -Url: http://libopenraw.freedesktop.org/wiki/Exempi +URL: https://libopenraw.freedesktop.org/wiki/Exempi Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 Source1: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2.asc Source2: %{name}.keyring Source3: baselibs.conf +BuildRequires: gcc-c++ +BuildRequires: libexpat-devel +BuildRequires: pkg-config +BuildRequires: zlib-devel %if 0%{?suse_version} > 1325 BuildRequires: libboost_test-devel %else BuildRequires: boost-devel >= 1.33.0 %endif -BuildRequires: gcc-c++ -BuildRequires: libexpat-devel -BuildRequires: pkg-config -BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Exempi is a library for XMP parsing and I/O. XMP is a kind of metadata for images and PDF. -%package -n libexempi3 +%package -n libexempi%{sonum} Summary: XMP support library Group: System/Libraries -%description -n libexempi3 +%description -n libexempi%{sonum} Exempi is a library for XMP parsing and I/O. XMP (Extensible Metadata Platform) facilitates embedding metadata in files using a subset of RDF. Most notably, XMP supports embedding metadata in PDF and many @@ -67,7 +66,7 @@ This subpackage contains utilities from the Exempi project. Summary: Development files for the Exempi XMP support library Group: Development/Libraries/C and C++ Requires: glibc-devel -Requires: libexempi3 = %{version} +Requires: libexempi%{sonum} = %{version} %description -n libexempi-devel Exempi is a library for XMP metadata parsing and doing I/O with it. @@ -80,37 +79,36 @@ with Exempi. %build export CXXFLAGS="%{optflags} -fno-strict-aliasing" -%configure \ - --disable-static -make %{?_smp_mflags} V=1 +%configure +%make_build %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install find %{buildroot} -type f -name "*.la" -delete -print +find %{buildroot} -type f -name "*.a" -delete -print %check %if ! 0%{?qemu_user_space_build} -make %{?_smp_mflags} check +%make_build check %endif -%post -n libexempi3 -p /sbin/ldconfig +%post -n libexempi%{sonum} -p /sbin/ldconfig +%postun -n libexempi%{sonum} -p /sbin/ldconfig -%postun -n libexempi3 -p /sbin/ldconfig - -%files -n libexempi3 -%defattr(-,root,root) -%doc README COPYING ChangeLog +%files -n libexempi%{sonum} +%license COPYING +%doc README ChangeLog %{_libdir}/lib*.so.* %files tools -%defattr(-,root,root) -%doc README COPYING ChangeLog +%license COPYING +%doc README ChangeLog %{_bindir}/exempi %{_mandir}/man1/exempi.1%{?ext_man} %files -n libexempi-devel -%defattr(-,root,root) -%doc README COPYING ChangeLog +%license COPYING +%doc README ChangeLog %{_libdir}/lib*.so %{_includedir}/exempi-2.0 %{_libdir}/pkgconfig/*.pc From edd43258bc66e7b8eb61388f5bf64d9b9bbd10443877911d7eaa3af1b2f4e03f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 31 Mar 2021 12:46:12 +0000 Subject: [PATCH 2/2] Accepting request 880139 from home:mgorse:branches:multimedia:libs - Update baselibs.conf to reflect new sonum. OBS-URL: https://build.opensuse.org/request/show/880139 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/exempi?expand=0&rev=30 --- baselibs.conf | 2 +- exempi.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/baselibs.conf b/baselibs.conf index 2d216f0..d1e41fd 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libexempi3 +libexempi8 diff --git a/exempi.changes b/exempi.changes index 79aeb71..b89eb96 100644 --- a/exempi.changes +++ b/exempi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 19 15:29:58 UTC 2021 - Michael Gorse + +- Update baselibs.conf to reflect new sonum. + ------------------------------------------------------------------- Thu Jan 14 16:53:59 UTC 2021 - andy great