Hello community, here is the log from the commit of package exiv2 for openSUSE:Factory checked in at 2019-09-05 12:08:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/exiv2 (Old) and /work/SRC/openSUSE:Factory/.exiv2.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "exiv2" Thu Sep 5 12:08:27 2019 rev:55 rq:721092 version:0.27.2 Changes: -------- --- /work/SRC/openSUSE:Factory/exiv2/exiv2.changes 2019-06-22 11:05:07.123908273 +0200 +++ /work/SRC/openSUSE:Factory/.exiv2.new.7948/exiv2.changes 2019-09-05 12:08:32.943872507 +0200 @@ -1,0 +2,30 @@ +Fri Aug 2 06:59:05 UTC 2019 - Martin Liška <[email protected]> + +- Use FAT LTO objects in order to provide proper static library. + +------------------------------------------------------------------- +Mon Jul 29 09:49:08 UTC 2019 - Andreas Schneider <[email protected]> + +- Update to 0.27.2 + * Bug and security fixes + * Support for Nikon/AutoFocus and Sony/FocusPosition Metadata + * Documentation and man page revisions + * Updated Catalan Localisation + * Using mergify to sync select PRs between 0.27-maintenance and 0.28 + * Monitoring API changes for v0.27 dot releases + * Prelinary Dutch Localisation + * Prelinary Support for Unix (FreeBSD and NetBSD) + * Better Build Bundle Dependency handling + +------------------------------------------------------------------- +Wed Jul 3 07:35:25 UTC 2019 - Dan Čermák <[email protected]> + +- Update exiv2-build-date.patch to new source tarball +- Enable testsuite run in %check on x86_64 for Leap >= 15.0, SLE >= 15 and + Tumbleweed +- Use libcurl for HTTP +- Enable webready (webp image support) +- Add licenses to %license & add BSD 3 clause license (used for some CMake + scripts) + +------------------------------------------------------------------- Old: ---- exiv2-0.27.1-Source.tar.gz New: ---- exiv2-0.27.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ exiv2.spec ++++++ --- /var/tmp/diff_new_pack.Vblcg1/_old 2019-09-05 12:08:34.543872207 +0200 +++ /var/tmp/diff_new_pack.Vblcg1/_new 2019-09-05 12:08:34.543872207 +0200 @@ -16,14 +16,28 @@ # +# the tests don't work on Leap 42.x & SLE <= 12 because gmock & gtest are +# missing +%if 0%{?suse_version} <= 1315 +%{bcond_with tests} +%else +# there is a test failure on ARM & PPC +# upstream issue: https://github.com/Exiv2/exiv2/issues/933 +%ifarch x86_64 +%{bcond_without tests} +%else +%{bcond_with tests} +%endif +%endif + Name: exiv2 -Version: 0.27.1 +Version: 0.27.2 Release: 0 Summary: Tool to access image Exif metadata -License: GPL-2.0-or-later +License: GPL-2.0-or-later AND BSD-3-Clause Group: Productivity/Graphics/Other URL: http://www.exiv2.org/ -Source0: http://www.exiv2.org/builds/%{name}-%{version}-Source.tar.gz +Source0: https://github.com/Exiv2/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: baselibs.conf Patch0: exiv2-build-date.patch BuildRequires: cmake @@ -33,10 +47,19 @@ BuildRequires: gettext-devel # doxygen likes to have this BuildRequires: graphviz +BuildRequires: libcurl-devel BuildRequires: libexpat-devel BuildRequires: libxslt BuildRequires: python3-base BuildRequires: zlib-devel +%if %{with tests} +# testsuite: +BuildRequires: dos2unix +BuildRequires: gmock +BuildRequires: gtest +BuildRequires: libxml2-tools +BuildRequires: which +%endif Recommends: %{name}-lang = %{version} %description @@ -83,22 +106,79 @@ %lang_package %prep -%setup -q -n %{name}-%{version}-Source -%patch0 -p1 +%autosetup -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CXXFLAGS="%{optflags} $(getconf LFS_CFLAGS)" +export CFLAGS="%{optflags} $(getconf LFS_CFLAGS)" %cmake \ -DCMAKE_INSTALL_DOCDIR="%{_docdir}/libexiv2" \ +%if %{with tests} + -DEXIV2_BUILD_SAMPLES=ON \ + -DEXIV2_BUILD_UNIT_TESTS=ON \ +%else -DEXIV2_BUILD_SAMPLES=OFF \ + -DEXIV2_BUILD_UNIT_TESTS=OFF \ +%endif -DEXIV2_BUILD_PO=ON \ - -DEXIV2_BUILD_DOC=ON + -DEXIV2_BUILD_DOC=ON \ + -DEXIV2_ENABLE_CURL=ON \ + -DEXIV2_ENABLE_WEBREADY=ON \ + -DEXIV2_ENABLE_NLS=ON \ + -DCMAKE_SKIP_RPATH=OFF make %{?_smp_mflags} make %{?_smp_mflags} doc %install %cmake_install +%if %{with tests} +%check +pushd build +make tests +popd + +for t in \ + addmoddel \ + convert-test \ + easyaccess-test \ + exifcomment \ + exifdata \ + exifdata-test \ + exifprint \ + exifvalue \ + exiv2json \ + geotag \ + ini-test \ + iotest \ + iptceasy \ + iptcprint \ + iptctest \ + key-test \ + largeiptc-test \ + metacopy \ + mmap-test \ + mrwthumb \ + path-test \ + prevtest \ + stringto-test \ + taglist \ + tiff-test \ + werror-test \ + write-test \ + write2-test \ + xmpdump \ + xmpparse \ + xmpparser-test \ + xmpprint \ + xmpsample \ + ; do + rm -f %{buildroot}%{_bindir}/${t} + rm -f %{buildroot}/usr/lib/debug%{_bindir}/${t}* +done +%endif + %find_lang exiv2 %fdupes -s %{buildroot}%{_docdir}/libexiv2 @@ -109,6 +189,7 @@ %files %doc doc/ChangeLog doc/cmd.txt +%license COPYING COPYING-CMAKE-SCRIPTS %{_bindir}/exiv2 %{_mandir}/man1/* @@ -123,11 +204,11 @@ %{_libdir}/libexiv2.so # needed by exiv2Config.cmake %{_libdir}/pkgconfig/exiv2.pc -%dir %{_libdir}/exiv2 -%dir %{_libdir}/exiv2/cmake -%{_libdir}/exiv2/cmake/exiv2Config-relwithdebinfo.cmake -%{_libdir}/exiv2/cmake/exiv2Config.cmake -%{_libdir}/exiv2/cmake/exiv2ConfigVersion.cmake +%dir %{_libdir}/cmake +%dir %{_libdir}/cmake/exiv2 +%{_libdir}/cmake/exiv2/exiv2Config-relwithdebinfo.cmake +%{_libdir}/cmake/exiv2/exiv2Config.cmake +%{_libdir}/cmake/exiv2/exiv2ConfigVersion.cmake %files -n libexiv2-doc %{_docdir}/libexiv2 ++++++ exiv2-0.27.1-Source.tar.gz -> exiv2-0.27.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/exiv2/exiv2-0.27.1-Source.tar.gz /work/SRC/openSUSE:Factory/.exiv2.new.7948/exiv2-0.27.2.tar.gz differ: char 5, line 1 ++++++ exiv2-build-date.patch ++++++ --- /var/tmp/diff_new_pack.Vblcg1/_old 2019-09-05 12:08:34.587872199 +0200 +++ /var/tmp/diff_new_pack.Vblcg1/_new 2019-09-05 12:08:34.587872199 +0200 @@ -1,6 +1,6 @@ -diff -ur exiv2-0.27.1-Source/samples/geotag.cpp exiv2-0.27.1-Source_fix/samples/geotag.cpp ---- exiv2-0.27.1-Source/samples/geotag.cpp 2019-04-26 11:31:16.000000000 +0200 -+++ exiv2-0.27.1-Source_fix/samples/geotag.cpp 2019-06-06 08:55:15.756143641 +0200 +diff -ur exiv2-0.27.1/samples/geotag.cpp exiv2-0.27.1_fix/samples/geotag.cpp +--- exiv2-0.27.1/samples/geotag.cpp 2019-04-26 11:31:16.000000000 +0200 ++++ exiv2-0.27.1_fix/samples/geotag.cpp 2019-06-06 08:55:15.756143641 +0200 @@ -698,7 +698,7 @@ int version(const char* program) @@ -10,9 +10,9 @@ return 0; } -diff -ur exiv2-0.27.1-Source/src/version.cpp exiv2-0.27.1-Source_fix/src/version.cpp ---- exiv2-0.27.1-Source/src/version.cpp 2019-04-26 11:31:16.000000000 +0200 -+++ exiv2-0.27.1-Source_fix/src/version.cpp 2019-06-06 08:55:15.780142862 +0200 +diff -ur exiv2-0.27.1/src/version.cpp exiv2-0.27.1_fix/src/version.cpp +--- exiv2-0.27.1/src/version.cpp 2019-04-26 11:31:16.000000000 +0200 ++++ exiv2-0.27.1_fix/src/version.cpp 2019-06-06 08:55:15.780142862 +0200 @@ -472,8 +472,6 @@ output(os,keys,"debug" , debug ); output(os,keys,"cplusplus" , __cplusplus); @@ -22,9 +22,9 @@ output(os,keys,"processpath" , Exiv2::getProcessPath()); #ifdef EXV_ENABLE_NLS output(os,keys,"localedir" , EXV_LOCALEDIR); -diff -ur exiv2-0.27.1-Source/cmake/Doxyfile.in exiv2-0.27.1-Source_fix/cmake/Doxyfile.in ---- exiv2-0.27.1-Source/cmake/Doxyfile.in 2019-04-26 11:31:16.000000000 +0200 -+++ exiv2-0.27.1-Source_fix/cmake/Doxyfile.in 2019-06-06 08:55:15.780142862 +0200 +diff -ur exiv2-0.27.1/cmake/Doxyfile.in exiv2-0.27.1_fix/cmake/Doxyfile.in +--- exiv2-0.27.1/cmake/Doxyfile.in 2019-04-26 11:31:16.000000000 +0200 ++++ exiv2-0.27.1_fix/cmake/Doxyfile.in 2019-06-06 08:55:15.780142862 +0200 @@ -1202,7 +1202,7 @@ # The default value is: NO. # This tag requires that the tag GENERATE_HTML is set to YES.
