aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2023-12-27 12:03:18 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2023-12-27 12:05:04 +0000
commit3bc242b59f7beddc048b020545135d1f26da079f (patch)
treee2f9d8d97c2f7b33dd29483f33608349626c905c
parent2cf0c64964d5e6652b338062ad9366d5f1d48a05 (diff)
downloadports-3bc242b59f7beddc048b020545135d1f26da079f.tar.gz
ports-3bc242b59f7beddc048b020545135d1f26da079f.zip
graphics/darktable: Update to 4.6.0
-rw-r--r--graphics/darktable/Makefile3
-rw-r--r--graphics/darktable/distinfo6
-rw-r--r--graphics/darktable/files/patch-src_CMakeLists.txt13
-rw-r--r--graphics/darktable/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake4
-rw-r--r--graphics/darktable/files/patch-src_iop_lens.cc10
-rw-r--r--graphics/darktable/pkg-plist6
6 files changed, 17 insertions, 25 deletions
diff --git a/graphics/darktable/Makefile b/graphics/darktable/Makefile
index 594dc2485cc4..2660fae03d6d 100644
--- a/graphics/darktable/Makefile
+++ b/graphics/darktable/Makefile
@@ -1,6 +1,5 @@
PORTNAME= darktable
-PORTVERSION= 4.4.2
-PORTREVISION= 7
+PORTVERSION= 4.6.0
CATEGORIES= graphics
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
diff --git a/graphics/darktable/distinfo b/graphics/darktable/distinfo
index d9dd41e1fbfb..634652c53e49 100644
--- a/graphics/darktable/distinfo
+++ b/graphics/darktable/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1690278794
-SHA256 (darktable-4.4.2.tar.xz) = c11d28434fdf2e9ce572b9b1f9bc4e64dcebf6148e25080b4c32eb51916cfa98
-SIZE (darktable-4.4.2.tar.xz) = 6033932
+TIMESTAMP = 1703677622
+SHA256 (darktable-4.6.0.tar.xz) = 724b27e3204d1822de6dc53ea090a6b1ce55f7c32226d34642689775c68aacc2
+SIZE (darktable-4.6.0.tar.xz) = 6129572
diff --git a/graphics/darktable/files/patch-src_CMakeLists.txt b/graphics/darktable/files/patch-src_CMakeLists.txt
index a56917fac5fb..f18807197ee4 100644
--- a/graphics/darktable/files/patch-src_CMakeLists.txt
+++ b/graphics/darktable/files/patch-src_CMakeLists.txt
@@ -1,15 +1,6 @@
---- src/CMakeLists.txt.orig 2023-06-30 06:13:18 UTC
+--- src/CMakeLists.txt.orig 2023-12-14 19:44:41 UTC
+++ src/CMakeLists.txt
-@@ -353,7 +353,7 @@ if (USE_AVIF)
- endif(USE_WEBP)
-
- if (USE_AVIF)
-- find_package(libavif 0.8.2 CONFIG)
-+ find_package(libavif CONFIG)
- if (TARGET avif)
- list(APPEND LIBS avif)
- add_definitions(-DHAVE_LIBAVIF=1)
-@@ -465,7 +465,7 @@ if(USE_OPENJPEG)
+@@ -475,7 +475,7 @@ if(USE_OPENJPEG)
add_definitions("-DHAVE_OPENJPEG")
list(APPEND SOURCES "imageio/imageio_j2k.c")
diff --git a/graphics/darktable/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake b/graphics/darktable/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake
index 87a338e088cc..fc9628d19599 100644
--- a/graphics/darktable/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake
+++ b/graphics/darktable/files/patch-src_external_rawspeed_cmake_Modules_CheckZLIB.cmake
@@ -1,6 +1,6 @@
---- src/external/rawspeed/cmake/Modules/CheckZLIB.cmake.orig 2023-06-12 21:39:40 UTC
+--- src/external/rawspeed/cmake/Modules/CheckZLIB.cmake.orig 2023-12-10 23:28:08 UTC
+++ src/external/rawspeed/cmake/Modules/CheckZLIB.cmake
-@@ -44,7 +44,7 @@ CHECK_PROTOTYPE_DEFINITION(zError
+@@ -45,7 +45,7 @@ CHECK_PROTOTYPE_DEFINITION(zError
CHECK_PROTOTYPE_DEFINITION(zError
"const char* zError(int zErrorCode)"
"NULL"
diff --git a/graphics/darktable/files/patch-src_iop_lens.cc b/graphics/darktable/files/patch-src_iop_lens.cc
index b38942bc9e25..2c5707cc613a 100644
--- a/graphics/darktable/files/patch-src_iop_lens.cc
+++ b/graphics/darktable/files/patch-src_iop_lens.cc
@@ -1,11 +1,11 @@
---- src/iop/lens.cc.orig 2022-12-14 15:18:18 UTC
+--- src/iop/lens.cc.orig 2023-12-14 19:44:41 UTC
+++ src/iop/lens.cc
-@@ -59,7 +59,7 @@ extern "C" {
+@@ -64,7 +64,7 @@ extern "C" {
#if LF_VERSION == ((0 << 24) | (3 << 16) | (95 << 8) | 0)
#define LF_0395
--#error lensfun 0.3.95 is not supported since its API is not backward compatible with lensfun stable release.
-+#pragma message("lensfun 0.3.95 is not supported since its API is not backward compatible with lensfun stable release.")
+-#error Lensfun 0.3.95 is not supported since its API is not backward compatible with Lensfun stable release.
++#pragma message("Lensfun 0.3.95 is not supported since its API is not backward compatible with Lensfun stable release.")
#endif
- DT_MODULE_INTROSPECTION(6, dt_iop_lens_params_t)
+ DT_MODULE_INTROSPECTION(10, dt_iop_lens_params_t)
diff --git a/graphics/darktable/pkg-plist b/graphics/darktable/pkg-plist
index f2eb17459f34..0e02b696c9ef 100644
--- a/graphics/darktable/pkg-plist
+++ b/graphics/darktable/pkg-plist
@@ -85,6 +85,7 @@ lib/darktable/plugins/libmonochrome.so
lib/darktable/plugins/libnegadoctor.so
lib/darktable/plugins/libnlmeans.so
lib/darktable/plugins/liboverexposed.so
+lib/darktable/plugins/libprimaries.so
lib/darktable/plugins/libprofile_gamma.so
lib/darktable/plugins/librawdenoise.so
lib/darktable/plugins/librawoverexposed.so
@@ -414,20 +415,21 @@ 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/cs/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/de/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/en@truecase/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/sq/LC_MESSAGES/darktable.mo
-%%NLS%%share/locale/tr/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/uk/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/darktable.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/darktable.mo