From d015f9820776a6af96a649948a89909beb61253b876726a044d0d81a14535e8f Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 22 Apr 2022 06:18:38 +0000 Subject: [PATCH] Accepting request 971019 from home:polslinux:branches:multimedia:libs - Update to version 0.3.1: + Changes: * API: some camera ID have been renamed or value changed. * API: or_rawdata_get_roi() renamed to or_rawdata_get_active_area(). * API: cfa_pattern renamed to mosaicinfo. * API: Added or_ifd_release(), or_ifd_get_name() and or_ifd_get_type(). * API: The ORIfdDirRef returned by or_rawfile_get_ifd() must be released. * API: or_rawfile_get_ifd() support more IFD types. * API: or_ifd_index is replaced by or_ifd_dir_type. OR_IFD_MAKERNOTE is replaced by OR_IFD_MNOTE, OR_IFD_CFA is replaced by OR_IFD_RAW. * API: or_iterator*() to iterate through the metadata tags. * API: Added or_metavalue_get_count(). * Fix getting MakerNotes for Pentax, Panasonic. * Get the Panasonic Exif thumbnail. * Added tool `exifdump`. + Lots of new cameras added and bugs fixed. See the following link for a complete list: https://gitlab.freedesktop.org/libopenraw/libopenraw/-/blob/master/NEWS OBS-URL: https://build.opensuse.org/request/show/971019 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libopenraw?expand=0&rev=34 --- libopenraw-0.1.3.tar.bz2 | 3 --- libopenraw-0.1.3.tar.bz2.asc | 6 ------ libopenraw-0.3.1.tar.bz2 | 3 +++ libopenraw-0.3.1.tar.bz2.asc | 6 ++++++ libopenraw.changes | 22 ++++++++++++++++++++++ libopenraw.spec | 33 +++++++++++++++++++++++++-------- vendor.tar.xz | 3 +++ 7 files changed, 59 insertions(+), 17 deletions(-) delete mode 100644 libopenraw-0.1.3.tar.bz2 delete mode 100644 libopenraw-0.1.3.tar.bz2.asc create mode 100644 libopenraw-0.3.1.tar.bz2 create mode 100644 libopenraw-0.3.1.tar.bz2.asc create mode 100644 vendor.tar.xz diff --git a/libopenraw-0.1.3.tar.bz2 b/libopenraw-0.1.3.tar.bz2 deleted file mode 100644 index 9912c70..0000000 --- a/libopenraw-0.1.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6405634f555849eb01cb028e2a63936e7b841151ea2a1571ac5b5b10431cfab9 -size 565458 diff --git a/libopenraw-0.1.3.tar.bz2.asc b/libopenraw-0.1.3.tar.bz2.asc deleted file mode 100644 index 5967ecc..0000000 --- a/libopenraw-0.1.3.tar.bz2.asc +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iEYEABECAAYFAlrryRQACgkQX+4F5qVuFaOmCgCfQVKNcR19gYzU5y5H+6ms1nNL -dhEAniHMwI17sNn5a3HJJ5mJguhC4Mp4 -=6GSi ------END PGP SIGNATURE----- diff --git a/libopenraw-0.3.1.tar.bz2 b/libopenraw-0.3.1.tar.bz2 new file mode 100644 index 0000000..b178090 --- /dev/null +++ b/libopenraw-0.3.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5069a79cea1385a66fdfecff28f58c06f6ae1a8de6b2e6fa16f7f6b0e4094d7a +size 641867 diff --git a/libopenraw-0.3.1.tar.bz2.asc b/libopenraw-0.3.1.tar.bz2.asc new file mode 100644 index 0000000..f1c7ec6 --- /dev/null +++ b/libopenraw-0.3.1.tar.bz2.asc @@ -0,0 +1,6 @@ +-----BEGIN PGP SIGNATURE----- + +iF0EABECAB0WIQRsRNs+C/Pq9bQzI5pf7gXmpW4VowUCYl3I3AAKCRBf7gXmpW4V +o8VgAJ97CZXrQAH0twMhCqSbHY/88OKdkwCfT/aCiXCiZCSOqcOiWXNQWGuVBmU= +=eeeE +-----END PGP SIGNATURE----- diff --git a/libopenraw.changes b/libopenraw.changes index a76cd9b..e70cb88 100644 --- a/libopenraw.changes +++ b/libopenraw.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed Apr 20 06:42:43 UTC 2022 - Paolo Stivanin + +- Update to version 0.3.1: + + Changes: + * API: some camera ID have been renamed or value changed. + * API: or_rawdata_get_roi() renamed to or_rawdata_get_active_area(). + * API: cfa_pattern renamed to mosaicinfo. + * API: Added or_ifd_release(), or_ifd_get_name() and or_ifd_get_type(). + * API: The ORIfdDirRef returned by or_rawfile_get_ifd() must + be released. + * API: or_rawfile_get_ifd() support more IFD types. + * API: or_ifd_index is replaced by or_ifd_dir_type. OR_IFD_MAKERNOTE is replaced + by OR_IFD_MNOTE, OR_IFD_CFA is replaced by OR_IFD_RAW. + * API: or_iterator*() to iterate through the metadata tags. + * API: Added or_metavalue_get_count(). + * Fix getting MakerNotes for Pentax, Panasonic. + * Get the Panasonic Exif thumbnail. + * Added tool `exifdump`. + + Lots of new cameras added and bugs fixed. See the following link for a complete + list: https://gitlab.freedesktop.org/libopenraw/libopenraw/-/blob/master/NEWS + ------------------------------------------------------------------- Fri May 31 06:34:05 UTC 2019 - Bjørn Lie diff --git a/libopenraw.spec b/libopenraw.spec index 68b0539..c01ec4b 100644 --- a/libopenraw.spec +++ b/libopenraw.spec @@ -1,7 +1,7 @@ # # spec file for package libopenraw # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libopenraw -Version: 0.1.3 +Version: 0.3.1 Release: 0 Summary: A library to decode digital camera RAW files License: LGPL-2.1-or-later @@ -26,19 +26,23 @@ URL: http://libopenraw.freedesktop.org/ Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2 Source1: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2.asc Source2: %{name}.keyring +# cd lib/mp4 && cargo vendor -s Cargo.toml -s mp4parse/Cargo.toml -s mp4parse_capi/Cargo.toml && tar cf vendor.tar.xz vendor +Source3: vendor.tar.xz Source99: baselibs.conf - +BuildRequires: autoconf >= 2.69 +BuildRequires: cargo BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: pkgconfig +BuildRequires: rust BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.21 BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libcurl) -BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0 %if 0%{?suse_version} > 1325 -BuildRequires: libboost_test-devel +BuildRequires: libboost_test-devel >= 1.60.0 %else -BuildRequires: boost-devel >= 1.31.1 +BuildRequires: boost-devel >= 1.60.0 %endif %description @@ -74,6 +78,18 @@ libopenraw is a library that aim at decoding digital camera RAW files. %prep %setup -q +%setup -q -T -D -a3 +mv vendor lib/mp4/ +cd lib/mp4 +sed -i 's/byteorder = "1.2.1"/byteorder = "1.2.2"/' mp4parse/Cargo.toml +mkdir .cargo +cat <> .cargo/config.toml +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" +EOF %build %configure \ @@ -90,6 +106,7 @@ make %{?_smp_mflags} check %post -n libopenraw1 -p /sbin/ldconfig %postun -n libopenraw1 -p /sbin/ldconfig + %post -n gdk-pixbuf-loader-libopenraw %{gdk_pixbuf_loader_post} @@ -106,8 +123,8 @@ make %{?_smp_mflags} check %files -n libopenraw-devel %{_libdir}/*.so -%dir %{_includedir}/libopenraw-0.1 -%{_includedir}/libopenraw-0.1/* +%dir %{_includedir}/libopenraw-0.3 +%{_includedir}/libopenraw-0.3/* %{_libdir}/pkgconfig/*.pc %changelog diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..65d0a82 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:15ec0e4cb92164680a0f21cd938e8f9ce93fc0223ed5fb1050f7281143548d0f +size 159027200