From cf829a5d15b475ab01648711b9df6150c608b6ae Mon Sep 17 00:00:00 2001 From: lemmi Date: Tue, 23 Dec 2025 03:19:16 +0100 Subject: [PATCH] darktable: update to 5.4.0. --- ...2d2194963f5f17df136b490b6d21c34cc503.patch | 30 ------------------- srcpkgs/darktable/template | 6 ++-- 2 files changed, 3 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/darktable/patches/ec6b2d2194963f5f17df136b490b6d21c34cc503.patch diff --git a/srcpkgs/darktable/patches/ec6b2d2194963f5f17df136b490b6d21c34cc503.patch b/srcpkgs/darktable/patches/ec6b2d2194963f5f17df136b490b6d21c34cc503.patch deleted file mode 100644 index 235b0deeb7f..00000000000 --- a/srcpkgs/darktable/patches/ec6b2d2194963f5f17df136b490b6d21c34cc503.patch +++ /dev/null @@ -1,30 +0,0 @@ -From ec6b2d2194963f5f17df136b490b6d21c34cc503 Mon Sep 17 00:00:00 2001 -From: Pascal Obry -Date: Fri, 27 Jun 2025 08:14:30 +0200 -Subject: [PATCH] Fix compilation when OpenMP is disabled. - -Fixes #19006. ---- - src/common/darktable.c | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/src/common/darktable.c b/src/common/darktable.c -index 11f86b0330a8..e5feaf63eddd 100644 ---- a/src/common/darktable.c -+++ b/src/common/darktable.c -@@ -1193,10 +1193,13 @@ int dt_init(int argc, char *argv[], const gboolean init_gui, const gboolean load - if(desired > possible) - dt_print(DT_DEBUG_ALWAYS, - "[dt_init --threads] requested %d ompthreads restricted to %d", -- desired, possible); -+ desired, possible); -+#ifdef _OPENMP - dt_print(DT_DEBUG_ALWAYS, - "[dt_init --threads] using %d threads of %d for openmp parallel sections %s", -- darktable.num_openmp_threads, (int)dt_get_num_procs(), omp_get_dynamic() ? "(dynamic)" : "(static)"); -+ darktable.num_openmp_threads, (int)dt_get_num_procs(), -+ omp_get_dynamic() ? "(dynamic)" : "(static)"); -+#endif - k++; - argv[k-1] = NULL; - argv[k] = NULL; diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template index 9d99719ea2a..51c65172fc1 100644 --- a/srcpkgs/darktable/template +++ b/srcpkgs/darktable/template @@ -1,7 +1,7 @@ # Template file for 'darktable' pkgname=darktable -version=5.2.0 -revision=2 +version=5.4.0 +revision=1 # upstream only supports these archs: archs="x86_64* aarch64* ppc64le*" build_style=cmake @@ -23,7 +23,7 @@ license="GPL-3.0-or-later" homepage="https://www.darktable.org/" changelog="https://github.com/darktable-org/darktable/releases" distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz" -checksum=53a46cd46ef7118485c4abf4ab407c181639bb8634243ec0ed1f7c1e8299bec6 +checksum=2bf0baea78d27945cf09c33d8804f179e03a83ee19d2e927fd660ea46aca3b16 build_options="avif gmic sdl2" build_options_default="avif sdl2"