Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2026 19:08:16 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2fa6358ccc39 - main - graphics/hugin: permit use of libepoxy instead of glew
Message-ID:  <6a441420.1f9e1.151c03c6@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

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

commit 2fa6358ccc39f9ef705ca209fc9dacf276ef69df
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-06-29 15:57:53 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-06-30 19:06:31 +0000

    graphics/hugin: permit use of libepoxy instead of glew
    
    Some users report problems with hugin coming from graphics/glew not
    being built with EGL support.  Permit using libepoxy instead of
    graphics/glew for OpenGL stuff and make it the default to work around
    this issue.  Building with graphics/glew remains available as an option.
    
    PR:             296330, 296368
    Reported by:    grog
    Tested by:      grog
    MFH:            2026Q2
---
 graphics/hugin/Makefile | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile
index 0a3a6d06f403..e7bc68973eda 100644
--- a/graphics/hugin/Makefile
+++ b/graphics/hugin/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	hugin
 DISTVERSION=	2025.0.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
 
@@ -28,7 +28,7 @@ RUN_DEPENDS=	enblend>=4.1.4:graphics/enblend \
 # compiler:c++17-lang
 USES=		cmake desktop-file-utils gettext gl gnome \
 		pkgconfig shared-mime-info shebangfix sqlite tar:bzip2 xorg
-USE_GL=		gl glew glu glut
+USE_GL=		gl glu glut
 USE_WX=		3.2+
 USE_XORG=	x11
 
@@ -40,16 +40,27 @@ CMAKE_ARGS=	-DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG}
 CFLAGS+=	-I${LOCALBASE}/include/Imath
 
 OPTIONS_DEFINE=		AUTOPANOSIFTC LAPACK PANOMATIC PYTHON
-OPTIONS_DEFAULT=	LAPACK PANOMATIC PYTHON
+OPTIONS_RADIO=		OPENGL
+OPTIONS_RADIO_OPENGL=	EPOXY GLEW
+OPTIONS_DEFAULT=	EPOXY LAPACK PANOMATIC PYTHON
 OPTIONS_SUB=		yes
 
 AUTOPANOSIFTC_DESC=	Install graphics/autopano-sift-c
 AUTOPANOSIFTC_RUN_DEPENDS=	autopano:graphics/autopano-sift-c
 
+EPOXY_DESC=	use graphics/libepoxy
+EPOXY_LIB_DEPENDS=	libepoxy.so:graphics/libepoxy
+EPOXY_CMAKE_BOOL=	BUILD_WITH_EPOXY
+
+GLEW_DESC=	use graphics/glew
+GLEW_USE=	gl=glew
+
 LAPACK_DESC=		Use LAPACK based solver in levmar
 LAPACK_CMAKE_BOOL=	ENABLE_LAPACK
 LAPACK_USES=		blaslapack
 
+OPENGL_DESC=	OpenGL helper library
+
 PANOMATIC_DESC=		Install graphics/panomatic
 PANOMATIC_RUN_DEPENDS=	panomatic:graphics/panomatic
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a441420.1f9e1.151c03c6>