Hello community, here is the log from the commit of package hugin for openSUSE:Factory checked in at 2019-07-17 13:19:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hugin (Old) and /work/SRC/openSUSE:Factory/.hugin.new.1887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hugin" Wed Jul 17 13:19:40 2019 rev:63 rq:715491 version:2019.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/hugin/hugin.changes 2019-03-14 08:21:50.469307757 +0100 +++ /work/SRC/openSUSE:Factory/.hugin.new.1887/hugin.changes 2019-07-17 13:19:42.655660366 +0200 @@ -1,0 +2,30 @@ +Sun Jul 14 16:12:38 UTC 2019 - Stefan BrĂ¼ns <stefan.bru...@rwth-aachen.de> + +- update to version 2019.0.0 + * Added raw import: It converts the RAW images to TIFF using a + raw converter. This can be done by dcraw (requires additional + exiftool), RawTherapee or darktable. These programs needs to be + installed externally. + * Fixes for align_image_stack with EXR images. + * Added option for range compression. Can be helpful for LDR + panoramas to brighten the shadows before merging, because at this + stage the blender has some more information which can be helpful. + * New hotkeys for mask editor (change zoom level with 0, 1 and 2). + * Expression parser (pto_var and "manipulate image variables" in + GUI) can now read also all image variables. + * line_find: Ignore lines with low distance to each other to get + better coverage. Also use only central part of the panorama for + searching for line control points (ignoring zenit/nadir near areas). + * pano_modify: Added new switch --projection-parameter to set + projection parameters. + * Store program settings according to XDG base dir specification + (Linux only, needs to compile with wxWidgets 3.1.1 or later). +- Enable parallel build, use memory-constraints +- Replace hugin-exiv2-0.27.patch with upstream patch, + 0001-Unified-inclusion-of-exiv2-library-1828925.patch +- Cleanup spec file: + * Drop obsolete SDL and freeglut BuildRequires + * Remove obsolete references to SVN (hugin uses mercurial) + * Minor cleanups, remove obsolete comments etc. + +------------------------------------------------------------------- Old: ---- hugin-2018.0.0.tar.bz2 hugin-exiv2-0.27.patch hugin-svn-dummy New: ---- 0001-Unified-inclusion-of-exiv2-library-1828925.patch hugin-2019.0.0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hugin.spec ++++++ --- /var/tmp/diff_new_pack.bPNY1r/_old 2019-07-17 13:19:43.319659965 +0200 +++ /var/tmp/diff_new_pack.bPNY1r/_new 2019-07-17 13:19:43.323659963 +0200 @@ -17,12 +17,13 @@ %bcond_with hsi +%bcond_with system_flann +%bcond_without lapack Name: hugin BuildRequires: Mesa-devel BuildRequires: OpenEXR-devel -BuildRequires: SDL-devel -%if 0%{?suse_version} > 1325 +%if 0%{?suse_version} > 1325 || 0%{?sle_version} >= 150000 BuildRequires: libboost_filesystem-devel BuildRequires: libboost_system-devel %else @@ -33,42 +34,43 @@ BuildRequires: exiftool BuildRequires: fdupes BuildRequires: fftw3-devel -BuildRequires: freeglut-devel +%if %{with system_flann} +BuildRequires: flann-devel +%endif BuildRequires: gcc-c++ BuildRequires: glew-devel -BuildRequires: lapack +%if %{with lapack} +BuildRequires: lapack-devel +%endif BuildRequires: libexiv2-devel BuildRequires: libjpeg-devel -BuildRequires: liblapack3 BuildRequires: liblcms2-devel BuildRequires: libpano-devel >= 2.9.19 +BuildRequires: libpng-devel BuildRequires: libtiff-devel -BuildRequires: libxml2 +BuildRequires: memory-constraints %if %{with hsi} BuildRequires: python-wxWidgets >= 3 +BuildRequires: swig %endif +BuildRequires: pkg-config BuildRequires: sqlite3-devel -BuildRequires: swig BuildRequires: update-desktop-files BuildRequires: vigra-devel BuildRequires: wxWidgets-devel >= 3 -BuildRequires: zip -%define mversion 2018.0 -Version: 2018.0.0 +%define mversion 2019.0 +Version: 2019.0.0 Release: 0 Summary: Toolchain for Stitching of Images and Creating Panoramas License: GPL-2.0-or-later Group: Productivity/Graphics/Other Url: http://hugin.sourceforge.net/ Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{mversion}/%{name}-%{version}.tar.bz2 -# For SVN snapshot: -# svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin -#Source: %%{name}-svn2008xxxx.tar.bz2 -Source1: %{name}-svn-dummy # This script is a combined appdata.prov and desktop-file.prov to enable hugin to provide appdata.xml and desktop files see boo#952324 -Source2: find-hugin-provides.prov +Source1: find-hugin-provides.prov Patch0: hugin.appdata.patch -Patch1: hugin-exiv2-0.27.patch +# PATCH-FIX-UPSTREAM https://sourceforge.net/p/hugin/hugin/ci/01e87b730bb3d2fba65e5738e4e20c25900d7ab0/ +Patch1: 0001-Unified-inclusion-of-exiv2-library-1828925.patch Requires: enblend-enfuse >= 3.2 # needed for photo stiching (bnc#822775) Requires: make @@ -76,7 +78,7 @@ Recommends: exiftool BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define __find_provides %{SOURCE2} +%define __find_provides %{SOURCE1} #%%debug_package %description @@ -95,34 +97,22 @@ chmod -x AUTHORS authors.txt Changes.txt README TODO COPYING.txt -# For SVN snapshot: -#setup -q -n %%{name} -# Rename Catalan in Spain to Catalan (translation removed in version 2014.0.0). -#mv src/translations/ca_ES.po src/translations/ca.po # Rename Czech in Czech Republic to Czech. mv src/translations/cs_CZ.po src/translations/cs.po #sed -i "s/ca_ES/ca/;s/cs_CZ/cs/" src/hugin/po/LINGUAS -# For SVN snapshot: -#mkdir bin -#cp %%{SOURCE1} bin/svn -#chmod +x bin/svn -chmod 0755 %{SOURCE2} +chmod 0755 %{SOURCE1} %build echo -n be8da0221960 > rev.txt -export PATH=$PWD/bin:$PATH -export CFLAGS="%{optflags}" -export CXXFLAGS="$CFLAGS" -# FIXME: This is an ugly hack. Build system should be fixed instead! Remove as soon as upstream fixes it (bnc#846944). -export LDFLAGS="-Wl,-rpath -Wl,%{_libdir}/hugin" %cmake \ - -DENABLE_LAPACK=ON \ + -DENABLE_LAPACK=%{?with_lapack:ON}%{!?with_lapack:OFF} \ -DBUILD_HSI=%{?with_hsi:ON}%{!?with_hsi:OFF} \ -DCMAKE_SKIP_RPATH:BOOL=OFF \ .. -# parallel make kills our workers -make VERBOSE=1 %{?_smp_mflags} -j1 + +%limit_build +%cmake_build %install pushd . @@ -134,8 +124,12 @@ %suse_update_desktop_file calibrate_lens_gui 2DGraphics # locales %{find_lang} %{name} -# Use better place for MIME icons. -mv -f %{buildroot}%{_datadir}/icons/gnome %{buildroot}%{_datadir}/icons/hicolor + +# Use better place for MIME icon. +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes +mv -f %{buildroot}%{_datadir}/icons/{gnome/48x48/mimetypes/gnome-mime-,hicolor/48x48/mimetypes/}application-x-ptoptimizer-script.png +rmdir -p --ignore-fail-on-non-empty %{buildroot}%{_datadir}/icons/gnome/48x48/mimetypes + # Install manually so it can be dedup'ed with the one in the program resources install -m644 -D -t %{buildroot}%{_licensedir}/hugin/ COPYING.txt %fdupes %{buildroot} @@ -157,8 +151,9 @@ %{_datadir}/hugin %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/48x48/mimetypes/*.png +%{_datadir}/icons/hicolor/*/apps/*.png +%{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/mime/packages/*.xml -%{_datadir}/pixmaps/*.png %dir %{_datadir}/appdata %{_datadir}/appdata/*xml %dir %{_libdir}/hugin ++++++ 0001-Unified-inclusion-of-exiv2-library-1828925.patch ++++++ >From 20020250a02e3e6c5813a24012bb7454a6195f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bru...@rwth-aachen.de> Date: Sun, 14 Jul 2019 19:00:49 +0200 Subject: [PATCH] Unified inclusion of exiv2 library [1828925] Before only the needed include files were used. This is depreacated. Exiv2 wants only to include the main <exiv2/exiv2.hpp> file --- src/hugin1/hugin/AboutDialog.cpp | 2 +- src/hugin1/hugin/PanoOperation.cpp | 3 +-- src/hugin1/hugin/RawImport.cpp | 5 +---- src/hugin1/hugin/TextureManager.cpp | 3 +-- src/hugin1/ptbatcher/FindPanoDialog.cpp | 3 +-- src/hugin_base/panodata/Exiv2Helper.cpp | 5 ++--- src/hugin_base/panodata/SrcPanoImage.cpp | 4 +--- 7 files changed, 8 insertions(+), 17 deletions(-) diff --git a/src/hugin1/hugin/AboutDialog.cpp b/src/hugin1/hugin/AboutDialog.cpp index 5603957..d1291aa 100755 --- a/src/hugin1/hugin/AboutDialog.cpp +++ b/src/hugin1/hugin/AboutDialog.cpp @@ -42,7 +42,7 @@ extern "C" // workaround for a conflict between exiv2 and wxWidgets/CMake built #define HAVE_PID_T 1 #endif -#include "exiv2/exiv2.hpp" +#include <exiv2/exiv2.hpp> #include "lensdb/LensDB.h" #include "sqlite3.h" #include <lcms2.h> diff --git a/src/hugin1/hugin/PanoOperation.cpp b/src/hugin1/hugin/PanoOperation.cpp index cf7a6c3..7a3f0d7 100755 --- a/src/hugin1/hugin/PanoOperation.cpp +++ b/src/hugin1/hugin/PanoOperation.cpp @@ -36,8 +36,7 @@ // workaround for a conflict between exiv2 and wxWidgets/CMake built #define HAVE_PID_T 1 #endif -#include <exiv2/exif.hpp> -#include <exiv2/image.hpp> +#include <exiv2/exiv2.hpp> #include "base_wx/LensTools.h" #include "base_wx/wxLensDB.h" #include "hugin/ResetDialog.h" diff --git a/src/hugin1/hugin/RawImport.cpp b/src/hugin1/hugin/RawImport.cpp index 2dd4eb9..73bb143 100755 --- a/src/hugin1/hugin/RawImport.cpp +++ b/src/hugin1/hugin/RawImport.cpp @@ -35,10 +35,7 @@ // workaround for a conflict between exiv2 and wxWidgets/CMake built #define HAVE_PID_T 1 #endif -#include <exiv2/exif.hpp> -#include <exiv2/image.hpp> -#include <exiv2/easyaccess.hpp> -#include <exiv2/xmpsidecar.hpp> +#include <exiv2/exiv2.hpp> #ifdef __WXMSW__ #include <wx/msw/registry.h> #endif diff --git a/src/hugin1/hugin/TextureManager.cpp b/src/hugin1/hugin/TextureManager.cpp index 0d2f5da..9a0822a 100755 --- a/src/hugin1/hugin/TextureManager.cpp +++ b/src/hugin1/hugin/TextureManager.cpp @@ -65,8 +65,7 @@ // workaround for a conflict between exiv2 and wxWidgets/CMake built #define HAVE_PID_T 1 #endif -#include "exiv2/exiv2.hpp" -#include "exiv2/preview.hpp" +#include <exiv2/exiv2.hpp> TextureManager::TextureManager(HuginBase::Panorama *pano, ViewState *view_state_in) { diff --git a/src/hugin1/ptbatcher/FindPanoDialog.cpp b/src/hugin1/ptbatcher/FindPanoDialog.cpp index 64774fb..96cd762 100755 --- a/src/hugin1/ptbatcher/FindPanoDialog.cpp +++ b/src/hugin1/ptbatcher/FindPanoDialog.cpp @@ -36,8 +36,7 @@ // workaround for a conflict between exiv2 and wxWidgets/CMake built #define HAVE_PID_T 1 #endif -#include "exiv2/exiv2.hpp" -#include "exiv2/preview.hpp" +#include <exiv2/exiv2.hpp> #ifdef _WIN32 #include <commctrl.h> #endif diff --git a/src/hugin_base/panodata/Exiv2Helper.cpp b/src/hugin_base/panodata/Exiv2Helper.cpp index bc4c12a..5f8bcea 100755 --- a/src/hugin_base/panodata/Exiv2Helper.cpp +++ b/src/hugin_base/panodata/Exiv2Helper.cpp @@ -28,8 +28,7 @@ #include "Exiv2Helper.h" #include "hugin_math/hugin_math.h" #include "hugin_utils/utils.h" -#include "exiv2/easyaccess.hpp" -#include "exiv2/version.hpp" +#include <exiv2/exiv2.hpp> namespace HuginBase { @@ -601,4 +600,4 @@ namespace HuginBase }; }; //namespace Exiv2Helper -}; //namespace HuginBase \ No newline at end of file +}; //namespace HuginBase diff --git a/src/hugin_base/panodata/SrcPanoImage.cpp b/src/hugin_base/panodata/SrcPanoImage.cpp index cc6a565..8484dd9 100755 --- a/src/hugin_base/panodata/SrcPanoImage.cpp +++ b/src/hugin_base/panodata/SrcPanoImage.cpp @@ -40,9 +40,7 @@ #include <vigra/diff2d.hxx> #include <vigra/imageinfo.hxx> #include <hugin_utils/utils.h> -#include <exiv2/exif.hpp> -#include <exiv2/image.hpp> -#include <exiv2/easyaccess.hpp> +#include <exiv2/exiv2.hpp> #include <lensdb/LensDB.h> #include "Exiv2Helper.h" -- 2.22.0 ++++++ hugin-2018.0.0.tar.bz2 -> hugin-2019.0.0.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/hugin/hugin-2018.0.0.tar.bz2 /work/SRC/openSUSE:Factory/.hugin.new.1887/hugin-2019.0.0.tar.bz2 differ: char 11, line 1