git: 80c4d9abe1dd - main - graphics/darktable: update to 3.8.1

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Fri, 18 Mar 2022 23:05:08 UTC
The branch main has been updated by mandree:

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

commit 80c4d9abe1dd41acce04b39641138912f66cb374
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2022-02-28 03:06:50 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2022-03-18 23:04:50 +0000

    graphics/darktable: update to 3.8.1
    
    After having matured this code in graphics/darktable38 for two months,
    showtime. Let's upgrade graphics/darktable to 3.8.1.
    
    Note: LTO on RawSpeed still does not work, ninja re-enabled.
    
    Rename option from LIBAVIF to AVIF.
    
    Convert all <opt>_CMAKE_OFF to <opt>_CMAKE_BOOL
    for tighter control of options.
    
    ChangeLog:
    + https://github.com/darktable-org/darktable/releases/tag/release-3.8.0
    + https://github.com/darktable-org/darktable/releases/tag/release-3.8.1
    
    PR:             260674
    
    Approved by:    dumbbell@ (maintainer timeout, 14 d)
    dumbbell@ was positive to committing a previous version of this, earlier
---
 MOVED                                              |   1 +
 graphics/Makefile                                  |   1 -
 graphics/darktable/Makefile                        |  49 ++-
 graphics/darktable/distinfo                        |   6 +-
 .../patch-src_external_OpenCL_CL_cl__platform.h    |  13 -
 graphics/darktable/pkg-plist                       |  16 +-
 graphics/darktable38/Makefile                      | 172 ---------
 graphics/darktable38/distinfo                      |   3 -
 .../files/patch-cmake_modules_FindOpenEXR.cmake    |  12 -
 .../darktable38/files/patch-src_CMakeLists.txt     |  11 -
 ...external_rawspeed_cmake_Modules_CheckZLIB.cmake |  11 -
 .../files/patch-src_is__supported__platform.h      |  11 -
 graphics/darktable38/pkg-descr                     |  21 -
 graphics/darktable38/pkg-plist                     | 423 ---------------------
 14 files changed, 43 insertions(+), 707 deletions(-)

diff --git a/MOVED b/MOVED
index 5eb1078e60ac..e4dc7a39e339 100644
--- a/MOVED
+++ b/MOVED
@@ -16962,3 +16962,4 @@ deskutils/nautilus-actions||2022-03-15|Abandonware
 textproc/rarian||2022-03-15|Abandonware
 devel/ORBit2||2022-02-14|Gnome2 library unused anymore
 games/pushover|games/domino-chain|2022-03-17|Chase upstream rename
+graphics/darktable38|graphics/darktable|2022-03-19|Darktable was upgraded to 3.8, separate port no longer needed
diff --git a/graphics/Makefile b/graphics/Makefile
index f46e54a25746..237e4e37088a 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -119,7 +119,6 @@
     SUBDIR += curtail
     SUBDIR += cuttlefish
     SUBDIR += darktable
-    SUBDIR += darktable38
     SUBDIR += dataplot
     SUBDIR += dbow2
     SUBDIR += dc20pack
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index 4efd69a2af02..556c842b8926 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -1,8 +1,8 @@
 # Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 
 PORTNAME=	darktable
-PORTVERSION=	3.6.1
-PORTREVISION=	2
+PORTVERSION=	3.8.1
+PORTREVISION=	0
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
 
@@ -24,7 +24,9 @@ LIB_DEPENDS=	libcolord-gtk.so:graphics/colord-gtk \
 		libcurl.so:ftp/curl \
 		libexiv2.so:graphics/exiv2 \
 		libharfbuzz.so:print/harfbuzz \
+		libheif.so:graphics/libheif \
 		libicui18n.so:devel/icu \
+		libjasper.so:graphics/jasper \
 		libjson-glib-1.0.so:devel/json-glib \
 		liblcms2.so:graphics/lcms2 \
 		liblensfun.so:graphics/lensfun \
@@ -38,14 +40,16 @@ LIB_DEPENDS=	libcolord-gtk.so:graphics/colord-gtk \
 # appending an invalid "-Wl,--no-as-needed" to the linker arguments for static
 # libraries.  Once this regression has been fixed upstream, this can be
 # switched back to USES=cmake, and LTO can be re-enabled.
-USES=		cmake:noninja compiler:c++14-lang desktop-file-utils gl gnome jpeg \
-		perl5 pkgconfig shebangfix sqlite tar:xz xorg
+USES=		cmake compiler:c++14-lang desktop-file-utils gl gnome jpeg \
+		perl5 pkgconfig sdl shebangfix sqlite tar:xz xorg
 OPTIONS_EXCLUDE=LTO
-USE_GL=		glu
+USE_GL=		gl
 USE_GNOME=	cairo gtk30 intltool librsvg2 libxml2
 USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
+USE_SDL=	sdl2
 USE_XORG=	ice sm x11 xext xrandr
 
+CONFLICTS_BUILD=	darktable38
 CONFLICTS_INSTALL=	darktable38
 
 SHEBANG_FILES=	tools/*.sh
@@ -59,9 +63,9 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/}
 
-OPTIONS_DEFINE=		DOCS GEO GPHOTO GMIC GRAPHMAGICK AVIF LIBSECRET LTO \
+OPTIONS_DEFINE=		AVIF DOCS GEO GPHOTO GMIC GRAPHMAGICK HEIF LIBSECRET LTO \
 			LUA NLS OPENEXR OPENJPEG PRINT TOOLS WEBP
-OPTIONS_DEFAULT=	GEO GPHOTO LUA OPENEXR OPENJPEG PRINT WEBP
+OPTIONS_DEFAULT=	AVIF GEO GPHOTO HEIF LUA OPENEXR OPENJPEG PRINT WEBP
 OPTIONS_SUB=		yes
 
 GEO_DESC=		Support geotagging
@@ -69,52 +73,52 @@ GMIC_DESC=		Support G'Mic-compressed LUT in lut3d
 LIBSECRET_DESC=		Support libsecret as password backend
 
 GEO_LIB_DEPENDS=	libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map
-GEO_CMAKE_OFF=		-DUSE_MAP:BOOL=OFF
+GEO_CMAKE_BOOL=		USE_MAP
 
 GMIC_LIB_DEPENDS=	libgmic.so:graphics/gmic
-GMIC_CMAKE_OFF=		-DUSE_GMIC:BOOL=OFF
+GMIC_CMAKE_BOOL=	USE_GMIC
 
 GPHOTO_LIB_DEPENDS=	libgphoto2.so:graphics/libgphoto2
-GPHOTO_CMAKE_OFF=	-DUSE_CAMERA_SUPPORT:BOOL=OFF
+GPHOTO_CMAKE_BOOL=	USE_CAMERA_SUPPORT
 
 GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick
-GRAPHMAGICK_CMAKE_OFF=	-DUSE_GRAPHICSMAGICK:BOOL=OFF
+GRAPHMAGICK_CMAKE_BOOL=	USE_GRAPHICSMAGICK
 
 AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
-AVIF_CMAKE_OFF=		-DUSE_LIBAVIF:BOOL=OFF
+AVIF_CMAKE_BOOL=	USE_AVIF
 
 LIBSECRET_LIB_DEPENDS=	libsecret-1.so:security/libsecret
-LIBSECRET_CMAKE_OFF=	-DUSE_LIBSECRET:BOOL=OFF
+LIBSECRET_CMAKE_BOOL=	USE_LIBSECRET
 
 LTO_CMAKE_BOOL=		RAWSPEED_ENABLE_LTO
 
-LUA_USES=		lua:53
-LUA_CMAKE_OFF=		-DUSE_LUA:BOOL=OFF
+LUA_USES=		lua:54
+LUA_CMAKE_BOOL=		USE_LUA
 
 # FIXME: Even with NLS turned off, darktable(1) is still linked to
 # libintl.so.
 NLS_USES=		gettext
 NLS_USES_OFF=		gettext-runtime
-NLS_CMAKE_OFF=		-DUSE_NLS:BOOL=OFF
+NLS_CMAKE_BOOL=		USE_NLS
 NLS_LDFLAGS=		-L${LOCALBASE}/lib -lintl
 
 OPENEXR_LIB_DEPENDS=	libOpenEXR.so:graphics/openexr \
 			libImath.so:math/Imath
 OPENEXR_CFLAGS=		-I${LOCALBASE}/include/Imath
-OPENEXR_CMAKE_OFF=	-DUSE_OPENEXR:BOOL=OFF
+OPENEXR_CMAKE_BOOL=	USE_OPENEXR
 
 OPENJPEG_LIB_DEPENDS=	libopenjp2.so:graphics/openjpeg
-OPENJPEG_CMAKE_OFF=	-DUSE_OPENJPEG:BOOL=OFF
+OPENJPEG_CMAKE_BOOL=	USE_OPENJPEG
 
 PRINT_LIB_DEPENDS=	libcups.so:print/cups
-PRINT_CMAKE_OFF=	-DBUILD_PRINT:BOOL=OFF
+PRINT_CMAKE_BOOL=	BUILD_PRINT
 
 TOOLS_DESC=		Install additional scripts
 TOOLS_BUILD_DEPENDS=	exiftool:graphics/p5-Image-ExifTool
 TOOLS_RUN_DEPENDS=	exiftool:graphics/p5-Image-ExifTool
 
 WEBP_LIB_DEPENDS=	libwebp.so:graphics/webp
-WEBP_CMAKE_OFF=		-DUSE_WEBP:BOOL=OFF
+WEBP_CMAKE_BOOL=	USE_WEBP
 
 .include <bsd.port.options.mk>
 
@@ -129,11 +133,14 @@ PLIST_SUB+=	NO_OPENCL=""
 .include <bsd.port.pre.mk>
 
 .if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD || ${ARCH} == "i386"
-LLVM_DEFAULT=	12
+LLVM_DEFAULT=	13
 BUILD_DEPENDS+=	clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
 CC=		${LOCALBASE}/bin/clang${LLVM_DEFAULT}
 CPP=		${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT}
 CXX=		${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
+LD=		${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT}
+BINARY_ALIAS+=	ld.lld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT}
+BINARY_ALIAS+=	llvm-objcopy=${LOCALBASE}/bin/llvm-objcopy${LLVM_DEFAULT}
 .endif
 
 # work around CMAKE/CCACHE flaw (cmake stomps over ccache)
diff --git a/graphics/darktable/distinfo b/graphics/darktable/distinfo
index 6130eb2f0fe7..d0c7bda99a74 100644
--- a/graphics/darktable/distinfo
+++ b/graphics/darktable/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632203430
-SHA256 (darktable-3.6.1.tar.xz) = a2bfc7c103b824945457a9bfed9e52f007fa1d030f9dbcb3ff0327851be42d14
-SIZE (darktable-3.6.1.tar.xz) = 4685928
+TIMESTAMP = 1644861000
+SHA256 (darktable-3.8.1.tar.xz) = 81ee069054dbde580749b2d3a81cda01b7d169a82ba48731823f3ea560b2bef6
+SIZE (darktable-3.8.1.tar.xz) = 5514756
diff --git a/graphics/darktable/files/patch-src_external_OpenCL_CL_cl__platform.h b/graphics/darktable/files/patch-src_external_OpenCL_CL_cl__platform.h
deleted file mode 100644
index 1a918830fb24..000000000000
--- a/graphics/darktable/files/patch-src_external_OpenCL_CL_cl__platform.h
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/external/OpenCL/CL/cl_platform.h.orig	2020-11-17 15:04:41 UTC
-+++ src/external/OpenCL/CL/cl_platform.h
-@@ -355,7 +355,9 @@ typedef unsigned int cl_GLenum;
- 
- /* Define basic vector types */
- #if defined( __VEC__ )
--   #include <altivec.h>   /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */
-+   #if !defined(__clang__)
-+      #include <altivec.h>   /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */
-+   #endif
-    typedef __vector unsigned char     __cl_uchar16;
-    typedef __vector signed char       __cl_char16;
-    typedef __vector unsigned short    __cl_ushort8;
diff --git a/graphics/darktable/pkg-plist b/graphics/darktable/pkg-plist
index 404ad1791577..e3a160b754f5 100644
--- a/graphics/darktable/pkg-plist
+++ b/graphics/darktable/pkg-plist
@@ -6,8 +6,8 @@ bin/darktable-cmstest
 bin/darktable-generate-cache
 bin/darktable-rs-identify
 lib/darktable/libdarktable.so
-lib/darktable/plugins/imageio/format/libcopy.so
 %%AVIF%%lib/darktable/plugins/imageio/format/libavif.so
+lib/darktable/plugins/imageio/format/libcopy.so
 %%OPENEXR%%lib/darktable/plugins/imageio/format/libexr.so
 %%OPENJPEG%%lib/darktable/plugins/imageio/format/libj2k.so
 lib/darktable/plugins/imageio/format/libjpeg.so
@@ -30,6 +30,7 @@ lib/darktable/plugins/libbasicadj.so
 lib/darktable/plugins/libbilat.so
 lib/darktable/plugins/libbilateral.so
 lib/darktable/plugins/libbloom.so
+lib/darktable/plugins/libblurs.so
 lib/darktable/plugins/libborders.so
 lib/darktable/plugins/libcacorrect.so
 lib/darktable/plugins/libcacorrectrgb.so
@@ -55,6 +56,7 @@ lib/darktable/plugins/libcrop.so
 lib/darktable/plugins/libdefringe.so
 lib/darktable/plugins/libdemosaic.so
 lib/darktable/plugins/libdenoiseprofile.so
+lib/darktable/plugins/libdiffuse.so
 lib/darktable/plugins/libdither.so
 lib/darktable/plugins/libequalizer.so
 lib/darktable/plugins/libexposure.so
@@ -117,6 +119,7 @@ lib/darktable/plugins/lighttable/libduplicate.so
 lib/darktable/plugins/lighttable/libexport.so
 lib/darktable/plugins/lighttable/libfilmstrip.so
 lib/darktable/plugins/lighttable/libfilter.so
+lib/darktable/plugins/lighttable/libgamepad.so
 %%GEO%%lib/darktable/plugins/lighttable/libgeotagging.so
 lib/darktable/plugins/lighttable/libglobal_toolbox.so
 lib/darktable/plugins/lighttable/libhinter.so
@@ -186,11 +189,12 @@ share/applications/darktable.desktop
 %%NO_OPENCL%%%%DATADIR%%/kernels/bilateral.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/blendop.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/bloom.cl
+%%NO_OPENCL%%%%DATADIR%%/kernels/blurs.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/channelmixer.cl
+%%NO_OPENCL%%%%DATADIR%%/kernels/color_conversion.h
 %%NO_OPENCL%%%%DATADIR%%/kernels/colorreconstruction.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/colorspace.h
 %%NO_OPENCL%%%%DATADIR%%/kernels/colorspaces.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/color_conversion.h
 %%NO_OPENCL%%%%DATADIR%%/kernels/common.h
 %%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_markesteijn.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_other.cl
@@ -198,6 +202,7 @@ share/applications/darktable.desktop
 %%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_rcd.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_vng.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/denoiseprofile.cl
+%%NO_OPENCL%%%%DATADIR%%/kernels/diffuse.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/dwt.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/extended.cl
 %%NO_OPENCL%%%%DATADIR%%/kernels/filmic.cl
@@ -389,7 +394,6 @@ share/applications/darktable.desktop
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTDOCS%%%%DOCSDIR%%/TRANSLATORS.md
-%%PORTDOCS%%%%DOCSDIR%%/darktablerc.html
 share/icons/hicolor/16x16/apps/darktable.png
 share/icons/hicolor/22x22/apps/darktable.png
 share/icons/hicolor/24x24/apps/darktable.png
@@ -401,17 +405,19 @@ share/icons/hicolor/scalable/apps/darktable-1.svg
 share/icons/hicolor/scalable/apps/darktable-2.svg
 share/icons/hicolor/scalable/apps/darktable-3.svg
 share/icons/hicolor/scalable/apps/darktable.svg
-%%NLS%%share/locale/af/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/de/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/eo/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/es/LC_MESSAGES/darktable.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/he/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/hu/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/it/LC_MESSAGES/darktable.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/nl/LC_MESSAGES/darktable.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/darktable.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/sl/LC_MESSAGES/darktable.mo
 %%NLS%%share/locale/uk/LC_MESSAGES/darktable.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/darktable.mo
 share/metainfo/darktable.appdata.xml
diff --git a/graphics/darktable38/Makefile b/graphics/darktable38/Makefile
deleted file mode 100644
index d9385c9647f9..000000000000
--- a/graphics/darktable38/Makefile
+++ /dev/null
@@ -1,172 +0,0 @@
-# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
-
-PORTNAME=	darktable
-PORTVERSION=	3.8.1
-PORTREVISION=	1
-CATEGORIES=	graphics
-MASTER_SITES=	https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
-PKGNAMESUFFIX=	38
-
-DEPRECATED=	to be folded back to graphics/darktable within 2022Q1
-EXPIRATION_DATE=2022-03-31
-
-MAINTAINER=	mandree@FreeBSD.org
-# lwhsu and dumbbell hereby receive blanket approval to deal with this port
-# as though they were maintainers. Courtesy Cc: by e-mail of important changes appreciated. --mandree
-COMMENT=	Virtual lighttable and darkroom for photographers v3.8
-
-LICENSE=	GPLv3
-
-ONLY_FOR_ARCHS=		aarch64 amd64 powerpc64le
-ONLY_FOR_ARCHS_REASON=	uses 64-bit address space
-
-BUILD_DEPENDS=	iso-codes>=0:misc/iso-codes \
-		${P5_POD_PARSER} \
-		po4a-translate:textproc/po4a \
-		xsltproc:textproc/libxslt \
-		bash:shells/bash
-LIB_DEPENDS=	libcolord-gtk.so:graphics/colord-gtk \
-		libcolord.so:graphics/colord \
-		libcurl.so:ftp/curl \
-		libexiv2.so:graphics/exiv2 \
-		libharfbuzz.so:print/harfbuzz \
-		libheif.so:graphics/libheif \
-		libicui18n.so:devel/icu \
-		libjasper.so:graphics/jasper \
-		libjson-glib-1.0.so:devel/json-glib \
-		liblcms2.so:graphics/lcms2 \
-		liblensfun.so:graphics/lensfun \
-		libpng.so:graphics/png \
-		libpugixml.so:textproc/pugixml \
-		libsoup-2.4.so:devel/libsoup \
-		libtiff.so:graphics/tiff
-
-# Fix build against cmake-3.21: the ninja generator in 3.21 suffers a
-# regression (see https://gitlab.kitware.com/cmake/cmake/-/issues/22487)
-# appending an invalid "-Wl,--no-as-needed" to the linker arguments for static
-# libraries.  Once this regression has been fixed upstream, this can be
-# switched back to USES=cmake, and LTO can be re-enabled.
-USES=		cmake compiler:c++14-lang desktop-file-utils gl gnome jpeg \
-		perl5 pkgconfig sdl shebangfix sqlite tar:xz xorg
-OPTIONS_EXCLUDE=LTO
-USE_GL=		gl
-USE_GNOME=	cairo gtk30 intltool librsvg2 libxml2
-USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
-USE_SDL=	sdl2
-USE_XORG=	ice sm x11 xext xrandr
-
-CONFLICTS_INSTALL=	darktable
-
-SHEBANG_FILES=	tools/*.sh
-
-CMAKE_ARGS+=	-DBINARY_PACKAGE_BUILD=1 \
-		-DBUILD_CMSTEST:BOOL=ON \
-		-DUSE_KWALLET:BOOL=ON
-
-CFLAGS+=	-fopenmp
-LDFLAGS+=	-L${LOCALBASE}/lib
-
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/}
-
-OPTIONS_DEFINE=		DOCS GEO GPHOTO GMIC GRAPHMAGICK AVIF LIBSECRET LTO \
-			LUA NLS OPENEXR OPENJPEG PRINT TOOLS WEBP
-OPTIONS_DEFAULT=	AVIF GEO GPHOTO HEIF LUA OPENEXR OPENJPEG PRINT WEBP
-OPTIONS_SUB=		yes
-
-GEO_DESC=		Support geotagging
-GMIC_DESC=		Support G'Mic-compressed LUT in lut3d
-LIBSECRET_DESC=		Support libsecret as password backend
-
-GEO_LIB_DEPENDS=	libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map
-GEO_CMAKE_BOOL=		USE_MAP
-
-GMIC_LIB_DEPENDS=	libgmic.so:graphics/gmic
-GMIC_CMAKE_BOOL=	USE_GMIC
-
-GPHOTO_LIB_DEPENDS=	libgphoto2.so:graphics/libgphoto2
-GPHOTO_CMAKE_BOOL=	USE_CAMERA_SUPPORT
-
-GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick
-GRAPHMAGICK_CMAKE_BOOL=	USE_GRAPHICSMAGICK
-
-AVIF_LIB_DEPENDS=	libavif.so:graphics/libavif
-AVIF_CMAKE_BOOL=	USE_AVIF
-
-LIBSECRET_LIB_DEPENDS=	libsecret-1.so:security/libsecret
-LIBSECRET_CMAKE_BOOL=	USE_LIBSECRET
-
-LTO_CMAKE_BOOL=		RAWSPEED_ENABLE_LTO
-
-LUA_USES=		lua:54
-LUA_CMAKE_BOOL=		USE_LUA
-
-# FIXME: Even with NLS turned off, darktable(1) is still linked to
-# libintl.so.
-NLS_USES=		gettext
-NLS_USES_OFF=		gettext-runtime
-NLS_CMAKE_BOOL=		USE_NLS
-NLS_LDFLAGS=		-L${LOCALBASE}/lib -lintl
-
-OPENEXR_LIB_DEPENDS=	libOpenEXR.so:graphics/openexr \
-			libImath.so:math/Imath
-OPENEXR_CFLAGS=		-I${LOCALBASE}/include/Imath
-OPENEXR_CMAKE_BOOL=	USE_OPENEXR
-
-OPENJPEG_LIB_DEPENDS=	libopenjp2.so:graphics/openjpeg
-OPENJPEG_CMAKE_BOOL=	USE_OPENJPEG
-
-PRINT_LIB_DEPENDS=	libcups.so:print/cups
-PRINT_CMAKE_BOOL=	BUILD_PRINT
-
-TOOLS_DESC=		Install additional scripts
-TOOLS_BUILD_DEPENDS=	exiftool:graphics/p5-Image-ExifTool
-TOOLS_RUN_DEPENDS=	exiftool:graphics/p5-Image-ExifTool
-
-WEBP_LIB_DEPENDS=	libwebp.so:graphics/webp
-WEBP_CMAKE_BOOL=	USE_WEBP
-
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == aarch64 || ${ARCH} == powerpc64le
-CMAKE_ARGS+=	-DUSE_OPENCL:BOOL=OFF
-CXXFLAGS+=	-DGDK_DISABLE_DEPRECATED
-PLIST_SUB+=	NO_OPENCL="@comment "
-.else
-PLIST_SUB+=	NO_OPENCL=""
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD || ${ARCH} == "i386"
-LLVM_DEFAULT=	13
-BUILD_DEPENDS+=	clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
-CC=		${LOCALBASE}/bin/clang${LLVM_DEFAULT}
-CPP=		${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT}
-CXX=		${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
-LD=		${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT}
-BINARY_ALIAS+=	ld.lld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT}
-BINARY_ALIAS+=	llvm-objcopy=${LOCALBASE}/bin/llvm-objcopy${LLVM_DEFAULT}
-.endif
-
-# work around CMAKE/CCACHE flaw (cmake stomps over ccache)
-.if "${WITH_CCACHE_BUILD}" == "yes" && !defined(NO_CCACHE)
-CMAKE_ARGS+=	-DCMAKE_C_COMPILER_LAUNCHER=${CCACHE_BIN} \
-		-DCMAKE_CXX_COMPILER_LAUNCHER=${CCACHE_BIN}
-.endif
-
-.if defined(WITH_DEBUG)
-CMAKE_BUILD_TYPE=	RelWithDebInfo
-STRIP=
-.endif
-
-# darktable defines the __XOPEN_SOURCE preprocessor macro, which
-# restricts symbol visibility on FreeBSD and causes compilation failures
-# on, for instance, the cups_print module, because u_char remains
-# undefined. Remove _XOPEN_SOURCE maro definitions.
-post-patch:
-	${REINPLACE_CMD} '/add_definitions."-D_XOPEN_SOURCE=.*"/d' ${WRKSRC}/CMakeLists.txt
-
-post-install-TOOLS-off:
-	@${RM} -f ${STAGEDIR}${DATADIR}/tools/extract_wb_from_images.sh
-
-.include <bsd.port.post.mk>
diff --git a/graphics/darktable38/distinfo b/graphics/darktable38/distinfo
deleted file mode 100644
index d0c7bda99a74..000000000000
--- a/graphics/darktable38/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1644861000
-SHA256 (darktable-3.8.1.tar.xz) = 81ee069054dbde580749b2d3a81cda01b7d169a82ba48731823f3ea560b2bef6
-SIZE (darktable-3.8.1.tar.xz) = 5514756
diff --git a/graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake b/graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake
deleted file mode 100644
index 15b262b00c30..000000000000
--- a/graphics/darktable38/files/patch-cmake_modules_FindOpenEXR.cmake
+++ /dev/null
@@ -1,12 +0,0 @@
---- cmake/modules/FindOpenEXR.cmake.orig	2021-02-03 13:36:49 UTC
-+++ cmake/modules/FindOpenEXR.cmake
-@@ -24,9 +24,6 @@ find_path(_OPENEXR_LIB_DIR OpenEXR
- set(OpenEXR_LIB_DIR ${_OPENEXR_LIB_DIR})
- mark_as_advanced(OpenEXR_LIB_DIR)
- 
--find_library(_OPENEXR_LIBRARY_IMIMF IlmImf
--  HINTS ENV OPENEXR_LIB_DIR)
--set(OpenEXR_LIBRARY ${OpenEXR_LIBRARY} ${_OPENEXR_LIBRARY_IMIMF})
- find_library(_OPENEXR_LIBRARY_IMATH Imath
-   HINTS ENV OPENEXR_LIB_DIR)
- set(OpenEXR_LIBRARY ${OpenEXR_LIBRARY} ${_OPENEXR_LIBRARY_IMATH})
diff --git a/graphics/darktable38/files/patch-src_CMakeLists.txt b/graphics/darktable38/files/patch-src_CMakeLists.txt
deleted file mode 100644
index 11a76410ad01..000000000000
--- a/graphics/darktable38/files/patch-src_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/CMakeLists.txt.orig	2021-04-29 21:04:27 UTC
-+++ src/CMakeLists.txt
-@@ -388,7 +393,7 @@ if(USE_OPENJPEG)
-     add_definitions("-DHAVE_OPENJPEG")
-     list(APPEND SOURCES "common/imageio_j2k.c")
- 
--    include_directories(SYSTEM ${OpenJPEG_INCLUDE_DIRS})
-+    include_directories(BEFORE SYSTEM ${OpenJPEG_INCLUDE_DIRS})
-     list(APPEND LIBS ${OpenJPEG_LIBRARIES})
-   endif(OpenJPEG_FOUND)
- endif(USE_OPENJPEG)
diff --git a/graphics/darktable38/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake b/graphics/darktable38/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake
deleted file mode 100644
index b0328cf3b878..000000000000
--- a/graphics/darktable38/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/external/rawspeed/cmake/Modules/CheckZLIB.cmake.orig	2020-04-03 21:02:54 UTC
-+++ src/external/rawspeed/cmake/Modules/CheckZLIB.cmake
-@@ -40,7 +40,7 @@ endif()
- CHECK_PROTOTYPE_DEFINITION(zError
-  "const char* zError(int zErrorCode)"
-  "NULL"
-- "zlib.h"
-+ "stddef.h;zlib.h"
-  HAVE_ZLIB_ZERROR_PROTOTYPE)
- if(NOT HAVE_ZLIB_ZERROR_PROTOTYPE)
-   message(SEND_ERROR "Found unexpected prototype for zError() in <zlib.h>")
diff --git a/graphics/darktable38/files/patch-src_is__supported__platform.h b/graphics/darktable38/files/patch-src_is__supported__platform.h
deleted file mode 100644
index 25c546371dea..000000000000
--- a/graphics/darktable38/files/patch-src_is__supported__platform.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/is_supported_platform.h.orig	2021-11-14 08:33:27 UTC
-+++ src/is_supported_platform.h
-@@ -30,7 +30,7 @@
- #define DT_SUPPORTED_X86 0
- #endif
- 
--#if defined(__aarch64__) && (defined(__ARM_64BIT_STATE) && defined(__ARM_ARCH) && defined(__ARM_ARCH_8A) || defined(__APPLE__))
-+#if defined(__aarch64__) && (defined(__ARM_64BIT_STATE) && defined(__ARM_ARCH) && defined(__ARM_ARCH_8A) || defined(__APPLE__) || defined(__FreeBSD__))
- #define DT_SUPPORTED_ARMv8A 1
- #else
- #define DT_SUPPORTED_ARMv8A 0
diff --git a/graphics/darktable38/pkg-descr b/graphics/darktable38/pkg-descr
deleted file mode 100644
index cacdc1978618..000000000000
--- a/graphics/darktable38/pkg-descr
+++ /dev/null
@@ -1,21 +0,0 @@
-Darktable is a virtual lighttable and darkroom for photographers: an open
-source photography workflow application and raw image developer.  It manages
-digital negatives in a database and lets one view them through a zoomable
-lighttable.  It also enables one to develop raw images and enhance them.
-
-Darktable tries to fill the gap between many excellent existing free raw
-converters and image management tools (such as UFRaw or F-Spot).  The user
-interface is built around efficient caching of image metadata and mipmaps,
-all stored in a database.  The user will always be able to interact, even
-if the full resolution image is not yet loaded.
-
-All editing is fully non-destructive and only operates on cached image
-buffers for display.  The full image is only converted during export.  The
-frontend is written in Gtk+/Cairo, the database uses SQLite3, raw image
-loading is done using libraw and rawspeed, high-dynamic range and standard
-image formats such as JPEG are also supported.  The core operates completely
-on floating point values, so darktable can not only be used for photography
-but also for scientifically acquired images or output of renderers (high
-dynamic range).
-
-WWW: https://www.darktable.org/
diff --git a/graphics/darktable38/pkg-plist b/graphics/darktable38/pkg-plist
deleted file mode 100644
index e3a160b754f5..000000000000
--- a/graphics/darktable38/pkg-plist
+++ /dev/null
@@ -1,423 +0,0 @@
-bin/darktable
-bin/darktable-chart
-bin/darktable-cli
-%%NO_OPENCL%%bin/darktable-cltest
-bin/darktable-cmstest
-bin/darktable-generate-cache
-bin/darktable-rs-identify
-lib/darktable/libdarktable.so
-%%AVIF%%lib/darktable/plugins/imageio/format/libavif.so
-lib/darktable/plugins/imageio/format/libcopy.so
-%%OPENEXR%%lib/darktable/plugins/imageio/format/libexr.so
-%%OPENJPEG%%lib/darktable/plugins/imageio/format/libj2k.so
-lib/darktable/plugins/imageio/format/libjpeg.so
-lib/darktable/plugins/imageio/format/libpdf.so
-lib/darktable/plugins/imageio/format/libpfm.so
-lib/darktable/plugins/imageio/format/libpng.so
-lib/darktable/plugins/imageio/format/libppm.so
-lib/darktable/plugins/imageio/format/libtiff.so
-%%WEBP%%lib/darktable/plugins/imageio/format/libwebp.so
-%%LUA%%lib/darktable/plugins/imageio/format/libxcf.so
-lib/darktable/plugins/imageio/storage/libdisk.so
-lib/darktable/plugins/imageio/storage/libemail.so
-lib/darktable/plugins/imageio/storage/libgallery.so
-lib/darktable/plugins/imageio/storage/liblatex.so
-lib/darktable/plugins/imageio/storage/libpiwigo.so
-lib/darktable/plugins/libashift.so
-lib/darktable/plugins/libatrous.so
-lib/darktable/plugins/libbasecurve.so
-lib/darktable/plugins/libbasicadj.so
-lib/darktable/plugins/libbilat.so
-lib/darktable/plugins/libbilateral.so
-lib/darktable/plugins/libbloom.so
-lib/darktable/plugins/libblurs.so
-lib/darktable/plugins/libborders.so
-lib/darktable/plugins/libcacorrect.so
-lib/darktable/plugins/libcacorrectrgb.so
-lib/darktable/plugins/libcensorize.so
-lib/darktable/plugins/libchannelmixer.so
-lib/darktable/plugins/libchannelmixerrgb.so
-lib/darktable/plugins/libclahe.so
-lib/darktable/plugins/libclipping.so
-lib/darktable/plugins/libcolisa.so
-lib/darktable/plugins/libcolorbalance.so
-lib/darktable/plugins/libcolorbalancergb.so
-lib/darktable/plugins/libcolorchecker.so
-lib/darktable/plugins/libcolorcontrast.so
-lib/darktable/plugins/libcolorcorrection.so
-lib/darktable/plugins/libcolorin.so
-lib/darktable/plugins/libcolorize.so
-lib/darktable/plugins/libcolormapping.so
-lib/darktable/plugins/libcolorout.so
-lib/darktable/plugins/libcolorreconstruct.so
-lib/darktable/plugins/libcolortransfer.so
-lib/darktable/plugins/libcolorzones.so
-lib/darktable/plugins/libcrop.so
-lib/darktable/plugins/libdefringe.so
-lib/darktable/plugins/libdemosaic.so
-lib/darktable/plugins/libdenoiseprofile.so
-lib/darktable/plugins/libdiffuse.so
-lib/darktable/plugins/libdither.so
-lib/darktable/plugins/libequalizer.so
-lib/darktable/plugins/libexposure.so
-lib/darktable/plugins/libfilmic.so
-lib/darktable/plugins/libfilmicrgb.so
-lib/darktable/plugins/libfinalscale.so
-lib/darktable/plugins/libflip.so
-lib/darktable/plugins/libgamma.so
-lib/darktable/plugins/libglobaltonemap.so
-lib/darktable/plugins/libgraduatednd.so
-lib/darktable/plugins/libgrain.so
-lib/darktable/plugins/libhazeremoval.so
-lib/darktable/plugins/libhighlights.so
-lib/darktable/plugins/libhighpass.so
-lib/darktable/plugins/libhotpixels.so
-lib/darktable/plugins/libinvert.so
-lib/darktable/plugins/liblens.so
-lib/darktable/plugins/liblevels.so
-lib/darktable/plugins/libliquify.so
-lib/darktable/plugins/liblowlight.so
-lib/darktable/plugins/liblowpass.so
-lib/darktable/plugins/liblut3d.so
-lib/darktable/plugins/libmask_manager.so
-lib/darktable/plugins/libmonochrome.so
-%%LUA%%lib/darktable/plugins/libnegadoctor.so
-lib/darktable/plugins/libnlmeans.so
-lib/darktable/plugins/liboverexposed.so
-lib/darktable/plugins/libprofile_gamma.so
-lib/darktable/plugins/librawdenoise.so
-lib/darktable/plugins/librawoverexposed.so
-lib/darktable/plugins/librawprepare.so
-lib/darktable/plugins/librelight.so
-lib/darktable/plugins/libretouch.so
-lib/darktable/plugins/librgbcurve.so
-lib/darktable/plugins/librgblevels.so
-lib/darktable/plugins/librotatepixels.so
-lib/darktable/plugins/libscalepixels.so
-lib/darktable/plugins/libshadhi.so
-lib/darktable/plugins/libsharpen.so
-lib/darktable/plugins/libsoften.so
-lib/darktable/plugins/libsplittoning.so
-lib/darktable/plugins/libspots.so
-lib/darktable/plugins/libtemperature.so
-lib/darktable/plugins/libtonecurve.so
-lib/darktable/plugins/libtoneequal.so
-lib/darktable/plugins/libtonemap.so
-lib/darktable/plugins/libvelvia.so
-lib/darktable/plugins/libvibrance.so
-lib/darktable/plugins/libvignette.so
-lib/darktable/plugins/libwatermark.so
-lib/darktable/plugins/libzonesystem.so
-lib/darktable/plugins/lighttable/libbackgroundjobs.so
-%%GPHOTO%%lib/darktable/plugins/lighttable/libcamera.so
-lib/darktable/plugins/lighttable/libcollect.so
-lib/darktable/plugins/lighttable/libcolorlabels.so
-lib/darktable/plugins/lighttable/libcolorpicker.so
-lib/darktable/plugins/lighttable/libcopy_history.so
-lib/darktable/plugins/lighttable/libdarktable_label.so
-lib/darktable/plugins/lighttable/libduplicate.so
-lib/darktable/plugins/lighttable/libexport.so
-lib/darktable/plugins/lighttable/libfilmstrip.so
-lib/darktable/plugins/lighttable/libfilter.so
-lib/darktable/plugins/lighttable/libgamepad.so
-%%GEO%%lib/darktable/plugins/lighttable/libgeotagging.so
-lib/darktable/plugins/lighttable/libglobal_toolbox.so
-lib/darktable/plugins/lighttable/libhinter.so
-lib/darktable/plugins/lighttable/libhistogram.so
-lib/darktable/plugins/lighttable/libhistory.so
-lib/darktable/plugins/lighttable/libimage.so
-lib/darktable/plugins/lighttable/libimage_infos.so
-lib/darktable/plugins/lighttable/libimport.so
-%%LUA%%lib/darktable/plugins/lighttable/libioporder.so
-lib/darktable/plugins/lighttable/liblighttable_mode.so
-%%GPHOTO%%lib/darktable/plugins/lighttable/liblive_view.so
-%%GEO%%lib/darktable/plugins/lighttable/liblocation.so
-%%GEO%%lib/darktable/plugins/lighttable/libmap_locations.so
-%%GEO%%lib/darktable/plugins/lighttable/libmap_settings.so
-lib/darktable/plugins/lighttable/libmasks.so
-lib/darktable/plugins/lighttable/libmetadata.so
-lib/darktable/plugins/lighttable/libmetadata_view.so
-lib/darktable/plugins/lighttable/libmodule_toolbox.so
-lib/darktable/plugins/lighttable/libmodulegroups.so
-lib/darktable/plugins/lighttable/libnavigation.so
-%%PRINT%%lib/darktable/plugins/lighttable/libprint_settings.so
-lib/darktable/plugins/lighttable/libratings.so
-lib/darktable/plugins/lighttable/librecentcollect.so
-lib/darktable/plugins/lighttable/libselect.so
-lib/darktable/plugins/lighttable/libsession.so
-lib/darktable/plugins/lighttable/libsnapshots.so
-lib/darktable/plugins/lighttable/libstyles.so
-lib/darktable/plugins/lighttable/libtagging.so
-lib/darktable/plugins/lighttable/libtimeline.so
-lib/darktable/plugins/lighttable/libview_toolbox.so
-lib/darktable/plugins/lighttable/libviewswitcher.so
-lib/darktable/views/libdarkroom.so
-lib/darktable/views/libknight.so
-lib/darktable/views/liblighttable.so
-%%GEO%%lib/darktable/views/libmap.so
-%%PRINT%%lib/darktable/views/libprint.so
-lib/darktable/views/libslideshow.so
-%%GPHOTO%%lib/darktable/views/libtethering.so
-man/man1/darktable-cli.1.gz
-man/man1/darktable-cltest.1.gz
-man/man1/darktable-cmstest.1.gz
-man/man1/darktable-generate-cache.1.gz
-man/man1/darktable.1.gz
-%%NLS%%man/de/man1/darktable-cli.1.gz
-%%NLS%%man/de/man1/darktable-cltest.1.gz
-%%NLS%%man/de/man1/darktable-cmstest.1.gz
-%%NLS%%man/de/man1/darktable-generate-cache.1.gz
-%%NLS%%man/de/man1/darktable.1.gz
-%%NLS%%man/es/man1/darktable-cli.1.gz
-%%NLS%%man/es/man1/darktable-cltest.1.gz
-%%NLS%%man/es/man1/darktable-cmstest.1.gz
-%%NLS%%man/es/man1/darktable-generate-cache.1.gz
-%%NLS%%man/es/man1/darktable.1.gz
-%%NLS%%man/fr/man1/darktable-cli.1.gz
-%%NLS%%man/fr/man1/darktable-cltest.1.gz
-%%NLS%%man/fr/man1/darktable-cmstest.1.gz
-%%NLS%%man/fr/man1/darktable-generate-cache.1.gz
-%%NLS%%man/fr/man1/darktable.1.gz
-share/applications/darktable.desktop
-%%DATADIR%%/darktable.bash
-%%DATADIR%%/darktablerc
-%%DATADIR%%/gdb_commands
-%%NO_OPENCL%%%%DATADIR%%/kernels/atrous.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/basecurve.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/basic.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/basicadj.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/bilateral.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/blendop.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/bloom.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/blurs.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/channelmixer.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/color_conversion.h
-%%NO_OPENCL%%%%DATADIR%%/kernels/colorreconstruction.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/colorspace.h
-%%NO_OPENCL%%%%DATADIR%%/kernels/colorspaces.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/common.h
-%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_markesteijn.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_other.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_ppg.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_rcd.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/demosaic_vng.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/denoiseprofile.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/diffuse.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/dwt.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/extended.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/filmic.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/gaussian.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/guided_filter.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/hazeremoval.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/highpass.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/liquify.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/locallaplacian.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/lut3d.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/negadoctor.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/nlmeans.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/noise_generator.h
-%%NO_OPENCL%%%%DATADIR%%/kernels/programs.conf
-%%NO_OPENCL%%%%DATADIR%%/kernels/retouch.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/rgb_norms.h
-%%NO_OPENCL%%%%DATADIR%%/kernels/rgbcurve.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/rgblevels.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/sharpen.cl
-%%NO_OPENCL%%%%DATADIR%%/kernels/soften.cl
-%%DATADIR%%/latex/photobook.cls
-%%LUA%%%%DATADIR%%/lua/darktable/debug.lua
-%%LUA%%%%DATADIR%%/luarc
-%%DATADIR%%/noiseprofiles.json
-%%DATADIR%%/pixmaps/dt_logo_128x128.png
-%%DATADIR%%/pixmaps/dt_text.svg
-%%DATADIR%%/pixmaps/idbutton-1.png
-%%DATADIR%%/pixmaps/idbutton-1.svg
-%%DATADIR%%/pixmaps/idbutton-2.png
-%%DATADIR%%/pixmaps/idbutton-2.svg
-%%DATADIR%%/pixmaps/idbutton-3.png
-%%DATADIR%%/pixmaps/idbutton-3.svg
-%%DATADIR%%/pixmaps/idbutton.png
-%%DATADIR%%/pixmaps/idbutton.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/ashift.png
-%%DATADIR%%/pixmaps/plugins/darkroom/ashift.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/atrous.png
-%%DATADIR%%/pixmaps/plugins/darkroom/atrous.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/basecurve.png
-%%DATADIR%%/pixmaps/plugins/darkroom/basecurve.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/bilateral.png
-%%DATADIR%%/pixmaps/plugins/darkroom/bilateral.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/bloom.png
-%%DATADIR%%/pixmaps/plugins/darkroom/bloom.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/borders.png
-%%DATADIR%%/pixmaps/plugins/darkroom/borders.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/cacorrect.png
-%%DATADIR%%/pixmaps/plugins/darkroom/cacorrect.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/channelmixer.png
-%%DATADIR%%/pixmaps/plugins/darkroom/channelmixer.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/clahe.png
-%%DATADIR%%/pixmaps/plugins/darkroom/clahe.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/clipping.png
-%%DATADIR%%/pixmaps/plugins/darkroom/clipping.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/colisa.png
-%%DATADIR%%/pixmaps/plugins/darkroom/colisa.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/colorcorrection.png
-%%DATADIR%%/pixmaps/plugins/darkroom/colorcorrection.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/colorin.png
-%%DATADIR%%/pixmaps/plugins/darkroom/colorin.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/colormapping.png
-%%DATADIR%%/pixmaps/plugins/darkroom/colormapping.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/colorout.png
-%%DATADIR%%/pixmaps/plugins/darkroom/colorout.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/colorreconstruct.png
-%%DATADIR%%/pixmaps/plugins/darkroom/colorreconstruct.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/colortransfer.png
-%%DATADIR%%/pixmaps/plugins/darkroom/colortransfer.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/colorzones.png
-%%DATADIR%%/pixmaps/plugins/darkroom/colorzones.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/default.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/demosaic.png
-%%DATADIR%%/pixmaps/plugins/darkroom/demosaic.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/dither.png
-%%DATADIR%%/pixmaps/plugins/darkroom/dither.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/exposure.png
-%%DATADIR%%/pixmaps/plugins/darkroom/exposure.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/flip.png
-%%DATADIR%%/pixmaps/plugins/darkroom/flip.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/graduatednd.png
-%%DATADIR%%/pixmaps/plugins/darkroom/graduatednd.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/grain.png
-%%DATADIR%%/pixmaps/plugins/darkroom/grain.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/hazeremoval.png
-%%DATADIR%%/pixmaps/plugins/darkroom/hazeremoval.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/highlights.png
-%%DATADIR%%/pixmaps/plugins/darkroom/highlights.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/highpass.png
-%%DATADIR%%/pixmaps/plugins/darkroom/highpass.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/hotpixels.png
-%%DATADIR%%/pixmaps/plugins/darkroom/hotpixels.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/invert.png
-%%DATADIR%%/pixmaps/plugins/darkroom/invert.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/lens.png
-%%DATADIR%%/pixmaps/plugins/darkroom/lens.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/levels.png
-%%DATADIR%%/pixmaps/plugins/darkroom/levels.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/liquify.png
-%%DATADIR%%/pixmaps/plugins/darkroom/liquify.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/lowlight.png
-%%DATADIR%%/pixmaps/plugins/darkroom/lowlight.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/lowpass.png
-%%DATADIR%%/pixmaps/plugins/darkroom/lowpass.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/monochrome.png
-%%DATADIR%%/pixmaps/plugins/darkroom/monochrome.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/nlmeans.png
-%%DATADIR%%/pixmaps/plugins/darkroom/nlmeans.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/overexposed.png
-%%DATADIR%%/pixmaps/plugins/darkroom/overexposed.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/profile_gamma.png
-%%DATADIR%%/pixmaps/plugins/darkroom/profile_gamma.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/rawdenoise.png
-%%DATADIR%%/pixmaps/plugins/darkroom/rawdenoise.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/rawimport.png
-%%DATADIR%%/pixmaps/plugins/darkroom/rawimport.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/rawprepare.png
-%%DATADIR%%/pixmaps/plugins/darkroom/rawprepare.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/relight.png
-%%DATADIR%%/pixmaps/plugins/darkroom/relight.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/shadhi.png
-%%DATADIR%%/pixmaps/plugins/darkroom/shadhi.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/sharpen.png
-%%DATADIR%%/pixmaps/plugins/darkroom/sharpen.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/soften.png
-%%DATADIR%%/pixmaps/plugins/darkroom/soften.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/splittoning.png
-%%DATADIR%%/pixmaps/plugins/darkroom/splittoning.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/spots.png
-%%DATADIR%%/pixmaps/plugins/darkroom/spots.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/temperature.png
-%%DATADIR%%/pixmaps/plugins/darkroom/temperature.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/template.png
-%%DATADIR%%/pixmaps/plugins/darkroom/template.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/tonecurve.png
-%%DATADIR%%/pixmaps/plugins/darkroom/tonecurve.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/tonemap.png
-%%DATADIR%%/pixmaps/plugins/darkroom/tonemap.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/velvia.png
-%%DATADIR%%/pixmaps/plugins/darkroom/velvia.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/vignette.png
-%%DATADIR%%/pixmaps/plugins/darkroom/vignette.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/watermark.png
-%%DATADIR%%/pixmaps/plugins/darkroom/watermark.svg
-%%DATADIR%%/pixmaps/plugins/darkroom/zonesystem.png
-%%DATADIR%%/pixmaps/plugins/darkroom/zonesystem.svg
-%%DATADIR%%/pswp/LICENSE
-%%DATADIR%%/pswp/default-skin/default-skin.css
-%%DATADIR%%/pswp/default-skin/default-skin.png
-%%DATADIR%%/pswp/default-skin/default-skin.svg
-%%DATADIR%%/pswp/default-skin/preloader.gif
-%%DATADIR%%/pswp/photoswipe-ui-default.js
-%%DATADIR%%/pswp/photoswipe-ui-default.min.js
-%%DATADIR%%/pswp/photoswipe.css
-%%DATADIR%%/pswp/photoswipe.js
-%%DATADIR%%/pswp/photoswipe.min.js
-%%DATADIR%%/rawspeed/cameras.xml
-%%DATADIR%%/rawspeed/showcameras.xsl
-%%DATADIR%%/style/bullet.gif
-%%DATADIR%%/style/close.gif
-%%DATADIR%%/style/closelabel.gif
-%%DATADIR%%/style/donate-button.gif
-%%DATADIR%%/style/download-icon.gif
-%%DATADIR%%/style/favicon.ico
-%%DATADIR%%/style/image-1.jpg
-%%DATADIR%%/style/lightbox.css
-%%DATADIR%%/style/loading.gif
*** 52 LINES SKIPPED ***