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
This commit is contained in:
Takashi Iwai 2022-04-22 06:18:38 +00:00 committed by Git OBS Bridge
parent 5d893de3d2
commit d015f98207
7 changed files with 59 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6405634f555849eb01cb028e2a63936e7b841151ea2a1571ac5b5b10431cfab9
size 565458

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iEYEABECAAYFAlrryRQACgkQX+4F5qVuFaOmCgCfQVKNcR19gYzU5y5H+6ms1nNL
dhEAniHMwI17sNn5a3HJJ5mJguhC4Mp4
=6GSi
-----END PGP SIGNATURE-----

3
libopenraw-0.3.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5069a79cea1385a66fdfecff28f58c06f6ae1a8de6b2e6fa16f7f6b0e4094d7a
size 641867

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRsRNs+C/Pq9bQzI5pf7gXmpW4VowUCYl3I3AAKCRBf7gXmpW4V
o8VgAJ97CZXrQAH0twMhCqSbHY/88OKdkwCfT/aCiXCiZCSOqcOiWXNQWGuVBmU=
=eeeE
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Wed Apr 20 06:42:43 UTC 2022 - Paolo Stivanin <info@paolostivanin.com>
- 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 <bjorn.lie@gmail.com> Fri May 31 06:34:05 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libopenraw # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: libopenraw Name: libopenraw
Version: 0.1.3 Version: 0.3.1
Release: 0 Release: 0
Summary: A library to decode digital camera RAW files Summary: A library to decode digital camera RAW files
License: LGPL-2.1-or-later 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 Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
Source1: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2.asc Source1: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2.asc
Source2: %{name}.keyring 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 Source99: baselibs.conf
BuildRequires: autoconf >= 2.69
BuildRequires: cargo
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: rust
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.21 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.21
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0) >= 2.5.0
%if 0%{?suse_version} > 1325 %if 0%{?suse_version} > 1325
BuildRequires: libboost_test-devel BuildRequires: libboost_test-devel >= 1.60.0
%else %else
BuildRequires: boost-devel >= 1.31.1 BuildRequires: boost-devel >= 1.60.0
%endif %endif
%description %description
@ -74,6 +78,18 @@ libopenraw is a library that aim at decoding digital camera RAW files.
%prep %prep
%setup -q %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 <<EOF >> .cargo/config.toml
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF
%build %build
%configure \ %configure \
@ -90,6 +106,7 @@ make %{?_smp_mflags} check
%post -n libopenraw1 -p /sbin/ldconfig %post -n libopenraw1 -p /sbin/ldconfig
%postun -n libopenraw1 -p /sbin/ldconfig %postun -n libopenraw1 -p /sbin/ldconfig
%post -n gdk-pixbuf-loader-libopenraw %post -n gdk-pixbuf-loader-libopenraw
%{gdk_pixbuf_loader_post} %{gdk_pixbuf_loader_post}
@ -106,8 +123,8 @@ make %{?_smp_mflags} check
%files -n libopenraw-devel %files -n libopenraw-devel
%{_libdir}/*.so %{_libdir}/*.so
%dir %{_includedir}/libopenraw-0.1 %dir %{_includedir}/libopenraw-0.3
%{_includedir}/libopenraw-0.1/* %{_includedir}/libopenraw-0.3/*
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog

3
vendor.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15ec0e4cb92164680a0f21cd938e8f9ce93fc0223ed5fb1050f7281143548d0f
size 159027200