Commit f483ecce authored by Daniel Engberg's avatar Daniel Engberg
Browse files

graphics/luminance-qt5: Remove port

Marked BROKEN over a year ago, outdated and depends on legacy QT 5
Upstream is now located at https://github.com/LuminanceHDR/LuminanceHDR
parent d4d175a4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5171,3 +5171,4 @@ java/openjdk20||2026-03-15|Has expired: No longer supported by upstream
textproc/en-core-web-sm|textproc/py-en-core-web-sm|2026-03-17|Add py- prefix to match Python package name
sysutils/beats9|sysutils/beats93|2026-03-20|Use Beats port with preferred major.minor number instead
science/kst2|science/kst|2026-03-25|Rename to match upstream naming
graphics/luminance-qt5||2026-03-29|Broken for more than a year
+0 −1
Original line number Diff line number Diff line
@@ -577,7 +577,6 @@
    SUBDIR += linux-rl9-wayland
    SUBDIR += lua-gd
    SUBDIR += lua-qrencode
    SUBDIR += luminance-qt5
    SUBDIR += lunasvg
    SUBDIR += lux
    SUBDIR += lximage-qt

graphics/luminance-qt5/Makefile

deleted100644 → 0
+0 −72
Original line number Diff line number Diff line
PORTNAME=	luminance-hdr
DISTVERSION=	2.6.1.1
PORTREVISION=	35
CATEGORIES=	graphics
MASTER_SITES=	SF/qtpfsgui/luminance/${DISTVERSION}

MAINTAINER=	h2+fbsdports@fsfe.org
COMMENT=	Complete open source solution for HDR photography
WWW=		https://qtpfsgui.sourceforge.net/

LICENSE=	GPLv2

BROKEN=		fails to build with Boost>=1.87

BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:math/fftw3
LIB_DEPENDS=	libImath.so:math/Imath \
		libtiff.so:graphics/tiff \
		libraw_r.so:graphics/libraw \
		libfftw3f.so:math/fftw3-float \
		libgsl.so:math/gsl \
		libexiv2.so:graphics/exiv2 \
		liblcms2.so:graphics/lcms2 \
		libpng.so:graphics/png \
		libOpenEXR.so:graphics/openexr \
		libboost_date_time.so:devel/boost-libs

CFLAGS+=	-I${LOCALBASE}/include/Imath

USES=		cmake desktop-file-utils eigen:3 jpeg pkgconfig qt:5 tar:bzip2
USE_QT=		concurrent core declarative gui location network \
		printsupport sql svg widgets xml \
		buildtools:build linguisttools:build qmake:build

USE_CXXSTD=	c++14

OPTIONS_DEFINE=		CFITSIO DOCS HELPBROWSER
OPTIONS_DEFAULT=	CFITSIO
OPTIONS_DEFAULT_aarch64=	HELPBROWSER
OPTIONS_DEFAULT_amd64=	HELPBROWSER
OPTIONS_DEFAULT_i386=	HELPBROWSER

CFITSIO_LIB_DEPENDS=	libcfitsio.so:astro/cfitsio

HELPBROWSER_DESC=	Build help browser (requires QtWebEngine)
HELPBROWSER_USE=	QT=webchannel,webengine
HELPBROWSER_CMAKE_BOOL=	WITH_HELPBROWSER

.if !exists(/usr/include/omp.h)
USES+=	compiler:gcc-c++11-lib
.else
USES+=	compiler:c++14-lang
.endif

.include <bsd.port.options.mk>

post-patch:
# Do not install yet another copy of GPL (we use license framework instead)
# and fix installation path for docs (but not for internal help files)
	@${REINPLACE_CMD} -e '/LICENSE/d ; \
		/#info files/s,share/luminance-hdr/doc,${DOCSDIR_REL},' \
			${WRKSRC}/CMakeLists.txt
# Point to the right location for program where to look for GPL text
	@${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \
		s,share/luminance-hdr/doc,share/licenses/${PKGNAME},' \
			${WRKSRC}/src/UI/UMessageBox.cpp

post-patch-HELPBROWSER-off:
	@${REINPLACE_CMD} -e 's,name="documentationAction">,& \
		<property name="enabled"><bool>false</bool></property>,' \
			${WRKSRC}/src/MainWindow/MainWindow.ui

.include <bsd.port.mk>

graphics/luminance-qt5/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1610361253
SHA256 (luminance-hdr-2.6.1.1.tar.bz2) = 0c8b6bc162eeb2f88555880d128c2e37504362c48c4f3337f5fca7dbde5330a2
SIZE (luminance-hdr-2.6.1.1.tar.bz2) = 11569153
+0 −46
Original line number Diff line number Diff line
--- CMakeLists.txt.orig	2021-01-11 09:41:28 UTC
+++ CMakeLists.txt
@@ -64,6 +64,7 @@ find_package(Qt5Gui              REQUIRED)
 find_package(Qt5Concurrent       REQUIRED)
 find_package(Qt5Widgets          REQUIRED)
 find_package(Qt5Gui              REQUIRED)
+if (WITH_HELPBROWSER)
 # QtWebEngine is preferred web engine because QtWebKit is deprecated since Qt 5.5:
 # https://wiki.qt.io/New-Features-in-Qt-5.5#Deprecated_Functionality. Unfortunately,
 # some Qt distributions still provide QtWebKit instead of QtWebEngine. So first we
@@ -76,6 +77,8 @@ endif()
     find_package(Qt5WebKitWidgets    REQUIRED)
     add_definitions(-DUSE_DEPRECATED_QTWEBKIT)
 endif()
+    add_definitions(-DWITH_HELPBROWSER)
+endif()
 find_package(Qt5Xml              REQUIRED)
 find_package(Qt5Sql              REQUIRED)
 find_package(Qt5Svg              REQUIRED)
@@ -345,7 +348,6 @@ IF(APPLE)
     FILE(COPY
          ${CMAKE_SOURCE_DIR}/AUTHORS
          ${CMAKE_SOURCE_DIR}/README.md
-         ${CMAKE_SOURCE_DIR}/LICENSE
          ${CMAKE_SOURCE_DIR}/Changelog
          DESTINATION ${LHDR_OSX_EXECUTABLE_NAME}.app/Contents
     )
@@ -416,9 +418,8 @@ ELSEIF(UNIX)
     INSTALL(FILES
     ${CMAKE_SOURCE_DIR}/AUTHORS
     ${CMAKE_SOURCE_DIR}/README.md
-    ${CMAKE_SOURCE_DIR}/LICENSE
     ${CMAKE_SOURCE_DIR}/Changelog
-    DESTINATION share/luminance-hdr/doc) #info files
+    DESTINATION share/doc/luminance-hdr) #info files
     INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/help DESTINATION share/luminance-hdr) # help directory
     INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/hdrhtml DESTINATION share/luminance-hdr) # hdrhtml directory
 # Microsoft Windows
@@ -508,7 +509,6 @@ ELSEIF(WIN32)
         INSTALL(FILES ${CMAKE_SOURCE_DIR}/program-icons/luminance-hdr.png DESTINATION ./icons/hicolor/48x48/apps) # icon
         INSTALL(FILES ${CMAKE_SOURCE_DIR}/AUTHORS
                       ${CMAKE_SOURCE_DIR}/README.md
-                      ${CMAKE_SOURCE_DIR}/LICENSE
                       ${CMAKE_SOURCE_DIR}/Changelog
                       DESTINATION ./) #info files
         INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/icons DESTINATION ./) # icons directory
Loading