git: b59757f19294 - main - graphics/hugin: update to 2024.0.1

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 25 Nov 2024 10:23:21 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b59757f19294f900006ded002df859825886899b

commit b59757f19294f900006ded002df859825886899b
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-11-16 12:52:14 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-25 10:22:02 +0000

    graphics/hugin: update to 2024.0.1
    
     - remove now obsolete patches
     - switch to wxwidgets 3.2
    
    Changelog: https://groups.google.com/g/hugin-ptx/c/I7AflXWQUVA/m/oX245aY4CwAJ?
    Changelog: https://groups.google.com/g/hugin-ptx/c/QrL2_lj1tHA/m/F2NGzAB5DAAJ
---
 graphics/hugin/Makefile                                  |  7 ++-----
 graphics/hugin/distinfo                                  |  6 +++---
 graphics/hugin/files/patch-CMakeLists.txt                |  4 ++--
 .../patch-src_hugin__base_hugin__utils_filesystem.h      | 16 ----------------
 4 files changed, 7 insertions(+), 26 deletions(-)

diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile
index c0c1653a4a49..1b3434fda6ce 100644
--- a/graphics/hugin/Makefile
+++ b/graphics/hugin/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	hugin
-DISTVERSION=	2023.0.0
-PORTREVISION=	7
+DISTVERSION=	2024.0.1
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
 
@@ -30,11 +29,9 @@ RUN_DEPENDS=	enblend>=4.1.4:graphics/enblend \
 USES=		cmake compiler:c++11-lib desktop-file-utils gettext gl gnome \
 		jpeg pkgconfig shared-mime-info shebangfix sqlite tar:bzip2 xorg
 USE_GL=		gl glew glu glut
-USE_WX=		3.0+
+USE_WX=		3.2+
 USE_XORG=	x11
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}.0
-
 SHEBANG_FILES=	src/hugin_script_interface/hpi.py \
 		src/hugin_script_interface/plugins/*.py \
 		src/hugin_script_interface/plugins-dev/*.py
diff --git a/graphics/hugin/distinfo b/graphics/hugin/distinfo
index c892687f335a..7511924aeb96 100644
--- a/graphics/hugin/distinfo
+++ b/graphics/hugin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1699739909
-SHA256 (hugin-2023.0.0.tar.bz2) = 04a39fccc6017e0544c639bd22309472c574d35b3455cbade1fc3870e631632b
-SIZE (hugin-2023.0.0.tar.bz2) = 10336322
+TIMESTAMP = 1732106851
+SHA256 (hugin-2024.0.1.tar.bz2) = 13ec0cdeeb4eb63149c833768d3e374e7cf5a6a8d8d02d50885ce496f05ba7e4
+SIZE (hugin-2024.0.1.tar.bz2) = 10352250
diff --git a/graphics/hugin/files/patch-CMakeLists.txt b/graphics/hugin/files/patch-CMakeLists.txt
index 8dd103f8290e..e5ace58ebec4 100644
--- a/graphics/hugin/files/patch-CMakeLists.txt
+++ b/graphics/hugin/files/patch-CMakeLists.txt
@@ -1,6 +1,6 @@
---- CMakeLists.txt.orig	2023-10-24 17:35:08 UTC
+--- CMakeLists.txt.orig	2024-11-18 19:37:59 UTC
 +++ CMakeLists.txt
-@@ -552,7 +552,7 @@ IF (NOT MANDIR AND NOT $ENV{MANDIR} STREQUAL "")
+@@ -557,7 +557,7 @@ IF (NOT MANDIR AND NOT $ENV{MANDIR} STREQUAL "")
  
  IF (NOT MANDIR AND NOT $ENV{MANDIR} STREQUAL "")
      SET (MANDIR "$ENV{MANDIR}")
diff --git a/graphics/hugin/files/patch-src_hugin__base_hugin__utils_filesystem.h b/graphics/hugin/files/patch-src_hugin__base_hugin__utils_filesystem.h
deleted file mode 100644
index d658b2546b74..000000000000
--- a/graphics/hugin/files/patch-src_hugin__base_hugin__utils_filesystem.h
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/hugin_base/hugin_utils/filesystem.h.orig	2023-05-08 18:19:14 UTC
-+++ src/hugin_base/hugin_utils/filesystem.h
-@@ -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