darktable: update to 5.4.0.

This commit is contained in:
lemmi
2026-01-06 21:01:04 +01:00
parent 2901c62c4e
commit cf829a5d15
2 changed files with 3 additions and 33 deletions
@@ -1,30 +0,0 @@
From ec6b2d2194963f5f17df136b490b6d21c34cc503 Mon Sep 17 00:00:00 2001
From: Pascal Obry <pascal@obry.net>
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;
+3 -3
View File
@@ -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"