]> git.pld-linux.org Git - packages/hugin.git/commitdiff
- up to 2019.2.0 auto/th/hugin-2019.2.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 25 Mar 2020 23:01:37 +0000 (00:01 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 25 Mar 2020 23:01:37 +0000 (00:01 +0100)
- python support moved to python3

exiv2-0.27.patch [deleted file]
hugin.spec

diff --git a/exiv2-0.27.patch b/exiv2-0.27.patch
deleted file mode 100644 (file)
index c3a35fa..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
---- hugin-2018.0.0/src/hugin_base/panodata/Exiv2Helper.h~      2015-05-10 08:52:11.000000000 +0200
-+++ hugin-2018.0.0/src/hugin_base/panodata/Exiv2Helper.h       2019-02-13 00:21:38.240804793 +0100
-@@ -30,7 +30,7 @@
- #include <string>
- #include <vector>
--#include <exiv2/exif.hpp>
-+#include <exiv2/exiv2.hpp>
- // these functions are intentionally not exposed to public
- // they are supposed only be used by SrcPanoImage.cpp for internal use
---- hugin-2019.0.0/src/hugin1/hugin/RawImport.cpp~     2019-02-02 11:11:01.000000000 +0100
-+++ hugin-2019.0.0/src/hugin1/hugin/RawImport.cpp      2019-10-12 16:35:33.327500060 +0200
-@@ -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
index dc4cf9d0d6bfdd53a2f6d5163b82e5259b8c4ab3..882bdddde15b31ac6fdd672b6e48cb814c517491 100644 (file)
@@ -1,15 +1,14 @@
 Summary:       Toolchain to create panoramic images
 Summary(pl.UTF-8):     Zestaw narzędzi do tworzenia panoramicznych zdjęć
 Name:          hugin
 Summary:       Toolchain to create panoramic images
 Summary(pl.UTF-8):     Zestaw narzędzi do tworzenia panoramicznych zdjęć
 Name:          hugin
-Version:       2019.0.0
-Release:       6
+Version:       2019.2.0
+Release:       1
 License:       GPL v2+
 Group:         X11/Applications/Graphics
 Source0:       http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2
 License:       GPL v2+
 Group:         X11/Applications/Graphics
 Source0:       http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2
-# Source0-md5: 4ca039f96bfc592c4adcebe27b98fee3
-Patch1:                %{name}-cppflags.patch
-Patch3:                python-install.patch
-Patch4:                exiv2-0.27.patch
+# Source0-md5: 3409c3a84e1881145b5b556df63de73c
+Patch0:                %{name}-cppflags.patch
+Patch1:                python-install.patch
 URL:           http://hugin.sourceforge.net/
 BuildRequires: OpenEXR-devel
 BuildRequires: OpenGL-glut-devel
 URL:           http://hugin.sourceforge.net/
 BuildRequires: OpenEXR-devel
 BuildRequires: OpenGL-glut-devel
@@ -30,7 +29,7 @@ BuildRequires:        libtiff-devel
 BuildRequires: perl-Image-ExifTool
 BuildRequires: perl-tools-pod
 BuildRequires: pkgconfig
 BuildRequires: perl-Image-ExifTool
 BuildRequires: perl-tools-pod
 BuildRequires: pkgconfig
-BuildRequires: python-devel
+BuildRequires: python3-devel
 BuildRequires: rpmbuild(macros) >= 1.471
 BuildRequires: sed >= 4.0
 BuildRequires: swig-python >= 2.0.4
 BuildRequires: rpmbuild(macros) >= 1.471
 BuildRequires: sed >= 4.0
 BuildRequires: swig-python >= 2.0.4
@@ -64,13 +63,12 @@ i ekspozycji, więc warto zainstalować pakiet enblend-enfuse.
 
 %prep
 %setup -q
 
 %prep
 %setup -q
-%patch1 -p0
-%patch3 -p1
-%patch4 -p1
+%patch0 -p0
+%patch1 -p1
 
 mv -f src/translations/{cs_CZ,cs}.po
 
 
 mv -f src/translations/{cs_CZ,cs}.po
 
-%{__sed} -i -e '1s,#! \?/usr/bin/env python,#!/usr/bin/python,' \
+%{__sed} -i -e '1s,#! \?/usr/bin/env python,#!/usr/bin/python3,' \
        src/hugin_script_interface/hpi.py \
        src/hugin_script_interface/plugins/*.py \
        src/hugin_script_interface/plugins-dev/*.py
        src/hugin_script_interface/hpi.py \
        src/hugin_script_interface/plugins/*.py \
        src/hugin_script_interface/plugins-dev/*.py
@@ -153,9 +151,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/hugin/libicpfindlib.so.*.*
 %attr(755,root,root) %{_libdir}/hugin/liblocalfeatures.so.*.*
 %attr(755,root,root) %{_libdir}/hugin/libhugin_python_interface.so.*.*
 %attr(755,root,root) %{_libdir}/hugin/libicpfindlib.so.*.*
 %attr(755,root,root) %{_libdir}/hugin/liblocalfeatures.so.*.*
 %attr(755,root,root) %{_libdir}/hugin/libhugin_python_interface.so.*.*
-%attr(755,root,root) %{py_sitedir}/_hsi.so
-%{py_sitedir}/hpi.py*
-%{py_sitedir}/hsi.py*
+%attr(755,root,root) %{py3_sitedir}/_hsi.so
+%{py3_sitedir}/hpi.py*
+%{py3_sitedir}/hsi.py*
 %{_datadir}/%{name}
 %{_datadir}/appdata/PTBatcherGUI.appdata.xml
 %{_datadir}/appdata/calibrate_lens_gui.appdata.xml
 %{_datadir}/%{name}
 %{_datadir}/appdata/PTBatcherGUI.appdata.xml
 %{_datadir}/appdata/calibrate_lens_gui.appdata.xml
This page took 0.128855 seconds and 4 git commands to generate.