SHA256
1
0
forked from pool/hugin

6 Commits

Author SHA256 Message Date
df276a32e3 Accepting request 1269324 from graphics
* Build with EGL support on Tumbleweed, as wxwidgets is also similarly configured (boo#1235150).
* Build with libepoxy instead of glew for better wayland performance.
* Drop use of deprecated %suse_update_desktop_file macro. (forwarded request 1269276 from badshah400)

OBS-URL: https://build.opensuse.org/request/show/1269324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hugin?expand=0&rev=84
2025-04-15 14:46:01 +00:00
466d6f13c9 * Build with EGL support on Tumbleweed, as wxwidgets is also similarly configured (boo#1235150).
* Build with libepoxy instead of glew for better wayland performance.
* Drop use of deprecated %suse_update_desktop_file macro.

OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=139
2025-04-14 15:46:05 +00:00
e445f8570b Accepting request 1226439 from graphics
- Update to version 2024.0.1:
  * Removed more event tables and replaced with Bind calls
  * Fixes missing include for older wxWidgets version (3.1 series) (forwarded request 1225903 from smolsheep)

OBS-URL: https://build.opensuse.org/request/show/1226439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hugin?expand=0&rev=83
2024-11-26 19:56:09 +00:00
9cc9862e69 - Update to version 2024.0.1:
* Removed more event tables and replaced with Bind calls
  * Fixes missing include for older wxWidgets version (3.1 series)

OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=137
2024-11-26 08:04:04 +00:00
ed9e159b90 Accepting request 1224777 from graphics
- Remove hugin-deprecated-copy_option.patch -- Fixed upstream
- Update to version 2024.0.0:
  * Added browser for project files to Hugin. It can show
    thumbnails or project details of all project files in a
    directory.
  * Create GPano tags also for cylindrical output projection. (forwarded request 1224538 from smolsheep)

OBS-URL: https://build.opensuse.org/request/show/1224777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hugin?expand=0&rev=82
2024-11-18 19:01:43 +00:00
3e30f7e408 Accepting request 1224538 from home:smolsheep:upgrades
- Remove hugin-deprecated-copy_option.patch -- Fixed upstream
- Update to version 2024.0.0:
  * Added browser for project files to Hugin. It can show
    thumbnails or project details of all project files in a
    directory.
  * Create GPano tags also for cylindrical output projection.

OBS-URL: https://build.opensuse.org/request/show/1224538
OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=135
2024-11-18 06:50:45 +00:00
5 changed files with 45 additions and 38 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:04a39fccc6017e0544c639bd22309472c574d35b3455cbade1fc3870e631632b
size 10336322

3
hugin-2024.0.1.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13ec0cdeeb4eb63149c833768d3e374e7cf5a6a8d8d02d50885ce496f05ba7e4
size 10352250

View File

@@ -1,17 +0,0 @@
diff -r 4b55f17c4e72 -r 4d081490b48a src/hugin_base/hugin_utils/filesystem.h
--- a/src/hugin_base/hugin_utils/filesystem.h Tue Mar 12 17:27:29 2024 +0100
+++ b/src/hugin_base/hugin_utils/filesystem.h Tue Mar 12 17:27:57 2024 +0100
@@ -64,6 +64,12 @@
#endif
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;
- #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
+ #if BOOST_VERSION>=107400
+ // in Boost 1.74 and later filesystem::copy_option is deprecated
+ // use filesystem::copy_options instead
+ #define OVERWRITE_EXISTING boost::filesystem::copy_options::overwrite_existing
+ #else
+ #define OVERWRITE_EXISTING boost::filesystem::copy_option::overwrite_if_exists
+ #endif
#endif
#endif // _HUGIN_UTILS_FILESYSTEM_H

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Mon Apr 14 08:39:36 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Build with EGL support on Tumbleweed, as wxwidgets is also
similarly configured (boo#1235150).
- Build with libepoxy instead of glew for better wayland
performance.
- Drop use of deprecated %suse_update_desktop_file macro.
-------------------------------------------------------------------
Fri Nov 22 20:42:25 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
- Update to version 2024.0.1:
* Removed more event tables and replaced with Bind calls
* Fixes missing include for older wxWidgets version (3.1 series)
-------------------------------------------------------------------
Sat Nov 16 03:51:28 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
- Remove hugin-deprecated-copy_option.patch -- Fixed upstream
- Update to version 2024.0.0:
* Added browser for project files to Hugin. It can show
thumbnails or project details of all project files in a
directory.
* Create GPano tags also for cylindrical output projection.
-------------------------------------------------------------------
Thu Apr 25 09:53:30 UTC 2024 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package hugin
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,18 @@
#
%define mversion 2023.0
%define mversion 2024.0
%bcond_with hsi
%bcond_without system_flann
%bcond_without lapack
# Cannot use EGL unless glew bug https://github.com/nigels-com/glew/issues/315 is fixed
# Note: Build with EGL support *only* if wxwidgets supports EGL too
%if 0%{?suse_version} > 1650
%bcond_without egl
%else
%bcond_with egl
%endif
Name: hugin
Version: %{mversion}.0
Version: %{mversion}.1
Release: 0
Summary: Toolchain for Stitching of Images and Creating Panoramas
License: GPL-2.0-or-later
@@ -31,8 +35,6 @@ Group: Productivity/Graphics/Other
URL: http://hugin.sourceforge.net/
Source: https://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{mversion}/%{name}-%{version}.tar.bz2
Patch0: hugin.appdata.patch
# 8684:4d081490b48a
Patch1: hugin-deprecated-copy_option.patch
BuildRequires: Mesa-devel
BuildRequires: OpenEXR-devel
BuildRequires: cmake >= 3.1.0
@@ -41,7 +43,6 @@ BuildRequires: exiftool
BuildRequires: fdupes
BuildRequires: fftw3-devel
BuildRequires: gcc-c++
BuildRequires: glew-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_system-devel
BuildRequires: libexiv2-devel
@@ -52,9 +53,9 @@ BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: pkgconfig
BuildRequires: sqlite3-devel
BuildRequires: update-desktop-files
BuildRequires: vigra-devel
BuildRequires: wxGTK3-devel >= 3.1.5
BuildRequires: pkgconfig(epoxy)
Requires: enblend-enfuse >= 3.2
# needed for photo stiching (bnc#822775)
Requires: make
@@ -84,7 +85,7 @@ chromatic abberation, create HDR images, provide automatic feature
detection and extraction of key points.
%prep
%autosetup -p1
%autosetup -p1 -n %{name}-%{version}
chmod -x AUTHORS authors.txt Changes.txt README COPYING.txt
@@ -98,21 +99,18 @@ mv src/translations/cs_CZ.po src/translations/cs.po
# Doesn't define the ZLIB::ZLIB target needed by OpenEXR 3
rm CMakeModules/FindZLIB.cmake
%cmake \
-DENABLE_LAPACK=%{?with_lapack:ON}%{!?with_lapack:OFF} \
-DBUILD_HSI=%{?with_hsi:ON}%{!?with_hsi:OFF} \
-DCMAKE_SKIP_RPATH:BOOL=OFF \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=OFF \
-DBUILD_WITH_EGL:BOOL=%{?with_egl:ON}%{!?with_egl:OFF} \
-DUSE_GDKBACKEND_X11:BOOL=%{?with_egl:OFF}%{!?with_egl:ON}
-DENABLE_LAPACK=%{?with_lapack:ON}%{!?with_lapack:OFF} \
-DBUILD_HSI=%{?with_hsi:ON}%{!?with_hsi:OFF} \
-DBUILD_WITH_EGL:BOOL=%{?with_egl:ON}%{!?with_egl:OFF} \
-DUSE_GDKBACKEND_X11:BOOL=%{?with_egl:OFF}%{!?with_egl:ON} \
-DBUILD_WITH_EPOXY:BOOL=ON \
%{nil}
%cmake_build
%install
%cmake_install
%suse_update_desktop_file hugin 2DGraphics
%suse_update_desktop_file PTBatcherGUI 2DGraphics
%suse_update_desktop_file calibrate_lens_gui 2DGraphics
# locales
%find_lang %{name}