Compare commits

...

34 Commits
master ... f37

Author SHA1 Message Date
Scott Talbert 50195faa6f Rebuild with wxWidgets 3.2 2022-08-04 14:42:27 -04:00
Fedora Release Engineering 2a863f28d9 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 13:49:39 +00:00
Python Maint 6756022b9d Rebuilt for Python 3.11 2022-06-13 20:58:43 +02:00
Thomas Rodgers 409ea2a48d Rebuilt for Boost 1.78 2022-05-04 11:39:18 +02:00
Orion Poplawski bfefca11cc Rebuild for glew 2.2 2022-02-09 20:51:50 -07:00
Fedora Release Engineering f14a032524 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 12:30:59 +00:00
Bruno Postle 58411d418a Upstream stable release 2021-12-30 10:24:22 +00:00
Richard Shaw 36ab678808 Rebuild for OpenEXR/Imath 3.1. 2021-08-20 19:57:38 -05:00
Richard Shaw 69827ac4bd Rebuild for OpenEXR 3. 2021-08-10 17:10:09 -05:00
Jonathan Wakely 88d7c8175a Rebuilt for Boost 1.76 2021-08-07 00:07:56 +01:00
Richard Shaw 4881623b3b Rebuild for OpenEXR/Imath 3. 2021-08-01 22:19:02 -05:00
Bruno Postle eabd61d4dd package openexr2-devel-2.5.5-4.fc35.x86_64 conflicts with openexr-devel provided by OpenEXR-devel-2.3.0-9.fc35.x86_64 2021-07-29 14:56:28 +02:00
Bruno Postle 268dc7611c openexr2 is called openexr2 not OpenEXR2 2021-07-29 14:36:51 +02:00
Bruno Postle 0de7edef8a link with OpenEXR2 as cmake doesn't detect version 3 in rawhide 2021-07-29 14:27:18 +02:00
Fedora Release Engineering 7346af6693 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 07:47:40 +00:00
Python Maint 6eb7503590 Rebuilt for Python 3.10 2021-06-04 20:07:14 +02:00
Fedora Release Engineering b9d126051e - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 13:38:18 +00:00
Jonathan Wakely 1c8bdeb1c5 Rebuilt for Boost 1.75 2021-01-22 20:52:31 +00:00
Mamoru TASAKA a7914dd1c9 rebuild against new OpenEXR actually required vigra rebuild first. So again rebuilding this package with new vigra which was built with new OpenEXR 2021-01-12 13:21:48 +09:00
Richard Shaw fe179af3d9 Rebuild for OpenEXR 2.5.3. 2021-01-01 16:19:17 -06:00
Bruno Postle 57368eda8c update sources file for 2020.0.0 release 2020-12-12 18:08:02 +00:00
Bruno Postle e95ff93cfd Stable 2020.0.0 release.
Remove -DUSE_GDKBACKEND_X11=1 wayland workaround as this is implemented in WX package.
Appdata has moved to metainfo.
2020-12-12 18:03:08 +00:00
Rich Mattes a9675d7e1c Remove macro added to test flann rebuild. 2020-08-08 15:14:30 -04:00
Rich Mattes 5e35e8c169 Rebuild for flann-1.9.1 2020-08-08 15:12:59 -04:00
Fedora Release Engineering ba851fe3ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 01:03:08 +00:00
Bruno Postle 4954aff228 remove VERBOSE=1 flag 2020-07-24 11:07:54 +01:00
Bruno Postle 226e7bb896 rebuild after cmake macro change 2020-07-24 10:58:12 +01:00
Jonathan Wakely 129f74ee58 Rebuilt for Boost 1.73 2020-05-29 20:20:34 +01:00
Miro Hrončok 91d96a34e9 Rebuilt for Python 3.9 2020-05-26 02:48:23 +02:00
Fedora Release Engineering ee0a1aab7c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 04:30:16 +00:00
Bruno Postle be281c8aca new sources 2020-01-05 11:07:33 +00:00
Bruno Postle c52dd3434a Upstream stable release 2020-01-05 11:03:55 +00:00
Miro Hrončok 1f476c24f2 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 13:54:41 +02:00
Miro Hrončok c7e6c84656 Rebuilt for Python 3.8 2019-08-19 10:16:11 +02:00
3 changed files with 161 additions and 53 deletions

53
hugin-openexr3.patch Normal file
View File

@ -0,0 +1,53 @@
Index: hugin-2020.0.0/CMakeLists.txt
===================================================================
--- hugin-2020.0.0.orig/CMakeLists.txt
+++ hugin-2020.0.0/CMakeLists.txt
@@ -214,7 +214,18 @@ ENDIF()
ENDIF()
-FIND_PACKAGE(OpenEXR REQUIRED)
+FIND_PACKAGE(Imath CONFIG)
+IF(TARGET Imath::Imath)
+ FIND_PACKAGE(OpenEXR CONFIG REQUIRED)
+ FIND_PACKAGE(ZLIB REQUIRED)
+ get_target_property(OPENEXR_INCLUDE_DIR OpenEXR::OpenEXRConfig INTERFACE_INCLUDE_DIRECTORIES)
+ get_target_property(IMATH_INCLUDE_DIR Imath::ImathConfig INTERFACE_INCLUDE_DIRECTORIES)
+ list(APPEND OPENEXR_INCLUDE_DIR ${IMATH_INCLUDE_DIR})
+ set(OPENEXR_LIBRARIES OpenEXR::OpenEXR Imath::Imath ${ZLIB_LIBRARIES})
+ set(OPENEXR_FOUND TRUE)
+ELSE()
+ FIND_PACKAGE(OpenEXR REQUIRED)
+ENDIF()
include_directories(${OPENEXR_INCLUDE_DIR})
FIND_PACKAGE(VIGRA 1.9.0 REQUIRED)
Index: hugin-2020.0.0/src/hugin_base/vigra_ext/ReduceOpenEXR.h
===================================================================
--- hugin-2020.0.0.orig/src/hugin_base/vigra_ext/ReduceOpenEXR.h
+++ hugin-2020.0.0/src/hugin_base/vigra_ext/ReduceOpenEXR.h
@@ -25,8 +25,8 @@
#include <vigra_ext/HDRUtils.h>
#include <vigra_ext/FileRAII.h>
-#include <ImfRgbaFile.h>
-#include <ImfArray.h>
+#include <OpenEXR/ImfRgbaFile.h>
+#include <OpenEXR/ImfArray.h>
// hack to read pgm header
Index: hugin-2020.0.0/CMakeModules/FindVIGRA.cmake
===================================================================
--- hugin-2020.0.0.orig/CMakeModules/FindVIGRA.cmake
+++ hugin-2020.0.0/CMakeModules/FindVIGRA.cmake
@@ -75,6 +75,9 @@ IF (VIGRA_FOUND)
)
STRING(TOLOWER "${OUTPUT_LDD_VIGRA}" OUTPUT_LDD_VIGRA_LOWER)
IF(NOT "${OUTPUT_LDD_VIGRA_LOWER}" MATCHES "libilmimf")
+ ELSEIF(NOT "${OUTPUT_LDD_VIGRA_LOWER}" MATCHES "libiopenexr")
+ MESSAGE(STATUS "OpenEXR is version 3 or greter.")
+ ELSE()
MESSAGE(FATAL_ERROR "Libvigraimpex found. But vigraimpex seems to compiled without OpenEXR support. OpenEXR support is required for Hugin.")
ENDIF()
ELSE()

View File

@ -1,17 +1,16 @@
Summary: A panoramic photo stitcher and more
Name: hugin
Version: 2019.0.0
Release: 3%{?dist}
Version: 2021.0.0
Release: 7%{?dist}
License: GPLv2+
Source: http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2
Patch0: hugin-exiv2-0-27-1.patch
Source: https://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2
URL: http://hugin.sourceforge.net/
Requires: shared-mime-info
Requires: webclient
Requires: %{name}-base = %{version}-%{release}
BuildRequires: gcc-c++
BuildRequires: libpano13-devel zlib-devel libtiff-devel libjpeg-devel
BuildRequires: libpng-devel gettext-devel wxGTK3-devel boost-devel freeglut-devel
BuildRequires: libpng-devel gettext-devel wxGTK-devel boost-devel freeglut-devel
BuildRequires: cmake desktop-file-utils OpenEXR-devel exiv2-devel glew-devel
BuildRequires: python3-devel swig flann-devel perl-Image-ExifTool
BuildRequires: mesa-libGLU-devel libXmu-devel sqlite-devel vigra-devel
@ -33,23 +32,18 @@ separately from hugin if you want to batch-process hugin projects on a machine
without a GUI environment.
%prep
%setup -q
%patch0 -p1
sed -i 's^/usr/bin/env python^/usr/bin/python3^' \
%autosetup -p1
sed -i 's^/usr/bin/env python3^/usr/bin/python3^' \
src/hugin_script_interface/plugins-dev/*.py \
src/hugin_script_interface/*.py \
src/hugin_script_interface/plugins/*.py
%build
# hugin now forces build out of tree
[ ! -d "build" ] && mkdir build
cd build
%cmake .. -DBUILD_HSI=1 -DUSE_GDKBACKEND_X11=1
%make_build VERBOSE=1
%cmake -DBUILD_HSI=1
%cmake_build
%install
cd build
%make_install
%cmake_install
desktop-file-install --vendor="" --delete-original \
--dir=%{buildroot}/%{_datadir}/applications \
@ -60,12 +54,11 @@ desktop-file-install --vendor="" --delete-original \
desktop-file-install --vendor="" --delete-original \
--dir=%{buildroot}/%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/pto_gen.desktop
cd ..
%find_lang %{name}
# Merge applications into one software center item
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/calibrate_lens_gui.appdata.xml <<EOF
mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo
cat > $RPM_BUILD_ROOT%{_datadir}/metainfo/calibrate_lens_gui.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<component type="desktop">
@ -89,34 +82,23 @@ EOF
%{_libdir}/%{name}/libhuginbasewx.so*
%{_libdir}/%{name}/libicpfindlib.so*
%{_datadir}/%{name}/xrc
%{_datadir}/%{name}/data
%{_datadir}/applications/%{name}.desktop
%{_datadir}/applications/PTBatcherGUI.desktop
%{_datadir}/applications/calibrate_lens_gui.desktop
%{_datadir}/applications/pto_gen.desktop
%{_datadir}/icons/gnome/*/mimetypes/*
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/icons/hicolor/*/mimetypes/*
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/%{name}/data/default.setting
%{_datadir}/%{name}/data/plugins/README_*.txt
%{_datadir}/%{name}/data/plugins/*.py*
%{_datadir}/%{name}/data/plugins-templates/*.py*
%{_datadir}/%{name}/data/hugin_exiftool_copy.arg
%{_datadir}/%{name}/data/blended_stacks.executor
%{_datadir}/%{name}/data/fused_layers.executor
%{_datadir}/%{name}/data/hdr_pano.executor
%{_datadir}/%{name}/data/normal_enblend.executor
%{_datadir}/%{name}/data/normal_smartblend.executor
%{_datadir}/%{name}/data/zeronoise.executor
%{_datadir}/appdata/PTBatcherGUI.appdata.xml
%{_datadir}/appdata/calibrate_lens_gui.appdata.xml
%{_datadir}/appdata/hugin.appdata.xml
%{_datadir}/metainfo/PTBatcherGUI.appdata.xml
%{_datadir}/metainfo/calibrate_lens_gui.appdata.xml
%{_datadir}/metainfo/hugin.appdata.xml
%{_mandir}/man1/PTBatcherGUI.*
%{_mandir}/man1/calibrate_lens_gui.*
%{_mandir}/man1/hugin.*
%{_mandir}/man1/hugin_stitch_project.*
%{_mandir}/man1/icpfind.*
%{_mandir}/man1/hugin_executor.*
%{_mandir}/man1/hugin_stacker.*
%doc AUTHORS README TODO src/celeste/LICENCE_LIBSVM doc/nona.txt doc/fulla.html doc/executor_file_format.txt src/hugin1/hugin/xrc/data/help_en_EN/LICENCE.manual
%license COPYING.txt
@ -158,19 +140,7 @@ EOF
%{python3_sitearch}/hpi.py*
%{python3_sitearch}/__pycache__/*
%{_datadir}/%{name}/data/celeste.model
%{_datadir}/%{name}/data/hugin_exiftool_copy.arg
%{_datadir}/%{name}/data/hugin_exiftool_final_example.arg
%{_datadir}/%{name}/data/normal_enblend_cubic.executor
%{_datadir}/%{name}/data/normal_layered_tiff.executor
%{_datadir}/%{name}/data/median_stack.executor
%{_datadir}/%{name}/data/expressions.ini
%{_datadir}/%{name}/data/multirow.assistant
%{_datadir}/%{name}/data/normal.assistant
%{_datadir}/%{name}/data/scanned.assistant
%{_datadir}/%{name}/data/scanned2.assistant
%{_datadir}/%{name}/data/duallens.assistant
%{_datadir}/%{name}/data/stacked.assistant
%{_datadir}/%{name}/data
%{_mandir}/man1/align_image_stack.*
%{_mandir}/man1/autooptimiser.*
@ -199,11 +169,96 @@ EOF
%{_mandir}/man1/hugin_lensdb.*
%changelog
* Thu Aug 04 2022 Scott Talbert <swt@techie.net> - 2021.0.0-7
- Rebuild with wxWidgets 3.2
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2021.0.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2021.0.0-5
- Rebuilt for Python 3.11
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 2021.0.0-4
- Rebuilt for Boost 1.78
* Thu Feb 10 2022 Orion Poplawski <orion@nwra.com> - 2021.0.0-3
- Rebuild for glew 2.2
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2021.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Dec 30 2021 Bruno Postle <bruno@postle.net> - 2021.0.0-1
- upstream stable release
* Sat Aug 21 2021 Richard Shaw <hobbes1069@gmail.com> - 2020.0.0-12
- Rebuild for OpenEXR/Imath 3.1.
* Tue Aug 10 2021 Richard Shaw <hobbes1069@gmail.com> - 2020.0.0-11
- Rebuild for OpenEXR 3.
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 2020.0.0-10
- Rebuilt for Boost 1.76
* Mon Aug 02 2021 Richard Shaw <hobbes1069@gmail.com> - 2020.0.0-9
- Rebuild for OpenEXR/Imath 3.
* Thu Jul 29 2021 Bruno Postle <bruno@postle.net> - 2020.0.0-8
- Rebuilt
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.0.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2020.0.0-6
- Rebuilt for Python 3.10
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2020.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 2020.0.0-4
- Rebuilt for Boost 1.75
* Tue Jan 12 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2020.0.0-3
- rebuild against New OpenEXR again
* Fri Jan 01 2021 Richard Shaw <hobbes1069@gmail.com> - 2020.0.0-2
- Rebuild for OpenEXR 2.5.3.
* Sat Dec 12 2020 Bruno Postle <bruno@postle.net> - 2020.0.0-1
- stable release
- remove -DUSE_GDKBACKEND_X11=1 wayland workaround as WX now carries a patch for this directly
* Sat Aug 08 2020 Rich Mattes <richmattes@gmail.com> - 2019.2.0-7
- Rebuild for flann-1.9.1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.2.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 24 2020 Bruno Postle <bruno@postle.net> - 2019.2.0-5
- cmake macros have changed, rebuild
* Fri May 29 2020 Jonathan Wakely <jwakely@redhat.com> - 2019.2.0-4
- Rebuilt for Boost 1.73
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2019.2.0-3
- Rebuilt for Python 3.9
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2019.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Jan 05 2020 Bruno Postle <bruno@postle.net> - 2019.2.0-1
- stable release
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2019.0.0-5
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2019.0.0-4
- Rebuilt for Python 3.8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2019.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed May 14 2019 Bruno Postle <bruno@postle.net> - 2019.0.0-2
* Patch to fix breakage caused by exiv2-0.27.1
* Wed May 15 2019 Bruno Postle <bruno@postle.net> - 2019.0.0-2
- Patch to fix breakage caused by exiv2-0.27.1
* Sat Apr 13 2019 Bruno Postle <bruno@postle.net> - 2019.0.0-1
- Stable release, still built with configure option to force X11 backend on Wayland
@ -467,7 +522,7 @@ EOF
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 2010.0.0-3
- rebuilt against wxGTK-2.8.11-2
* Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 2010.0.0-2
* Mon May 31 2010 Rex Dieter <rdieter@fedoraproject.org> - 2010.0.0-2
- rebuild (exiv2)
* Tue Mar 23 2010 Bruno Postle <bruno@postle.net> 2010.0.0-1
@ -476,7 +531,7 @@ EOF
* Fri Feb 05 2010 Bruno Postle <bruno@postle.net> 2009.4.0-1
- Fixes for push to fedora
* Fri Jan 22 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 2009.2.0-2
- Rebuild for Boost soname bump
@ -502,7 +557,7 @@ EOF
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.7.0-3
* Thu Dec 18 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.7.0-3
- respin (eviv2)
* Thu Dec 18 2008 Petr Machata <pmachata@redhat.com> - 0.7.0-2

View File

@ -1 +1 @@
SHA512 (hugin-2019.0.0.tar.bz2) = 49e945523c290a6bf33f265cd9e29343442a056248fc09aeb15ebb1f4197510c25ff8201b5520a9ed8fcac2342eda8b8fa65b9b82ff3930084546e1fc228d9a5
SHA512 (hugin-2021.0.0.tar.bz2) = fb491af2543dda8c6d3c9d125936a32a04109eec39e3091347ef2856073d4e1f04017686acb8000e50e29a0ac8dcfe463b63613b277f8fb4aec0537f58a6c853