Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package darktable for openSUSE:Factory 
checked in at 2026-10-23 20:29:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/darktable (Old)
 and      /work/SRC/openSUSE:Factory/.darktable.new.2252680 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "darktable"

Fri Oct 23 20:29:06 2026 rev:126 rq:1387239 version:5.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/darktable/darktable.changes      2026-10-05 
15:21:22.469557925 +0200
+++ /work/SRC/openSUSE:Factory/.darktable.new.2252680/darktable.changes 
2026-10-23 20:30:10.081286435 +0200
@@ -1,0 +2,11 @@
+Thu Oct 22 12:00:00 UTC 2026 - Paolo Stivanin <[email protected]>
+
+- Fix Tumbleweed build: skip LLVM-based OpenCL test-compilation, since
+  LLVM's zstd target clashes with OpenEXR's zstd dependency
+
+-------------------------------------------------------------------
+Wed Oct 14 12:16:24 UTC 2026 - Paolo Stivanin <[email protected]>
+
+- Enable USE_AI on Debian 13+ and Ubuntu 25.10+
+
+-------------------------------------------------------------------
@@ -4 +15 @@
-- Update tp version 5.6.2:
+- Update to version 5.6.2:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ darktable.spec ++++++
--- /var/tmp/diff_new_pack.pdKS3s/_old  2026-10-23 20:30:11.236334905 +0200
+++ /var/tmp/diff_new_pack.pdKS3s/_new  2026-10-23 20:30:11.238334989 +0200
@@ -362,11 +362,16 @@
 
 %if %{with cmake_macros}
 #suse branch
+# Tumbleweed: find_package(LLVM) defines zstd::libzstd_shared, which breaks 
OpenEXR's find_dependency(zstd)
 %cmake \
   -DCLANG_OPENCL_INCLUDE_DIR=${_OPENCL_INCLUDE_DIR} \
   -DDONT_USE_INTERNAL_LUA=%{_dont_use_intree_lua} \
   %ifarch aarch64
   -DTESTBUILD_OPENCL_PROGRAMS=OFF \
+  %else
+  %if 0%{?suse_version} >= 1699
+  -DTESTBUILD_OPENCL_PROGRAMS=OFF \
+  %endif
   %endif
   %{cmake_options} \
 %if "%{optimization_architecture}" == "asan"


++++++ darktable.dsc ++++++
--- /var/tmp/diff_new_pack.pdKS3s/_old  2026-10-23 20:30:11.319338389 +0200
+++ /var/tmp/diff_new_pack.pdKS3s/_new  2026-10-23 20:30:11.322338514 +0200
@@ -14,6 +14,7 @@
                g++-13 | g++-12,
                intltool,
                iso-codes,
+               libarchive-dev,
                libcairo2-dev,
                libcolord-dev,
                libcolord-gtk-dev,
@@ -33,6 +34,7 @@
                liblensfun-dev,
                liblua5.4-dev | liblua5.3-dev,
                libncurses-dev,
+               libonnxruntime-dev | dctrl-tools,
                libopenexr-dev,
                libopenjp2-7-dev,
                libosmgpsmap-1.0-dev,


++++++ debian.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/control new/debian/control
--- old/debian/control  2026-06-24 15:44:38.000000000 +0200
+++ new/debian/control  2026-10-14 14:37:09.100251237 +0200
@@ -4,6 +4,8 @@
 Maintainer: Debian PhotoTools Maintainers 
<[email protected]>
 Uploaders: David Bremner <[email protected]>
 #               libavif-dev (>= 0.9.1),
+# libonnxruntime-dev | dctrl-tools: OBS treats an alternative as satisfied when
+# any branch is already installed, so the fallback must not be in the build 
set.
 Build-Depends: cmake (>= 3.18),
                debhelper (>= 10),
                gcc (>= 12),
@@ -11,6 +13,7 @@
                g++-13 | g++-12,
                intltool,
                iso-codes,
+               libarchive-dev,
                libcairo2-dev,
                libcolord-dev,
                libcolord-gtk-dev,
@@ -30,6 +33,7 @@
                liblensfun-dev,
                liblua5.4-dev | liblua5.3-dev,
                libncurses-dev,
+               libonnxruntime-dev | dctrl-tools,
                libopenexr-dev,
                libopenjp2-7-dev,
                libosmgpsmap-1.0-dev,
@@ -55,7 +59,7 @@
 
 Package: darktable
 Architecture: any-amd64 any-arm64 any-ppc64el
-Depends: ${shlibs:Depends}, ${misc:Depends}, libjs-prototype, 
libjs-scriptaculous, fonts-roboto, iso-codes
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${onnx:Depends}, libjs-prototype, 
libjs-scriptaculous, fonts-roboto, iso-codes
 Replaces: darktable-plugins-legacy (<< 0.9), darktable-plugins-experimental 
(<< 1.0~)
 Breaks: darktable-plugins-legacy (<< 0.9), darktable-plugins-experimental (<< 
1.0~)
 Description: virtual lighttable and darkroom for photographers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/darktable.install new/debian/darktable.install
--- old/debian/darktable.install        2026-06-26 13:26:23.000000000 +0200
+++ new/debian/darktable.install        2026-10-14 14:37:57.280288360 +0200
@@ -28,8 +28,7 @@
 /usr/share/darktable/darktable.bash              
/usr/share/bash-completion/completions/darktable.bash
 /usr/share/darktable/luarc
 /usr/share/darktable/gdb_commands
-/usr/share/darktable/noiseprofiles.json
-/usr/share/darktable/wb_presets.json
+/usr/share/darktable/*.json
 /usr/share/darktable/darktablerc
 /usr/share/darktable/shortcutsrc
 /usr/share/darktable/shortcutsrc.de
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/debian/rules new/debian/rules
--- old/debian/rules    2023-07-29 22:57:15.000000000 +0200
+++ new/debian/rules    2026-10-14 14:13:19.602595599 +0200
@@ -26,9 +26,23 @@
        endif
 endif
 
+# AI needs ONNX Runtime. libonnxruntime-dev is only an optional build
+# dependency (see control), so enable AI only when it got installed.
+ifneq (,$(shell dpkg-query -W -f='$${Status}' libonnxruntime-dev 2>/dev/null | 
grep 'install ok installed'))
+       AI_FLAGS := -DUSE_AI=ON -DONNXRUNTIME_OFFLINE=ON
+       # ORT is dlopen()ed, so shlibs can't see it: depend on the runtime
+       # package that libonnxruntime-dev pulls in (libonnxruntime1.NN).
+       ORT_RUNTIME := $(shell dpkg-query -W -f='$${Depends}' 
libonnxruntime-dev 2>/dev/null | grep -o 'libonnxruntime1\.[0-9]*' | head -n1)
+else
+       AI_FLAGS := -DUSE_AI=OFF
+endif
+
 %:
        dh $@ --parallel
 
+override_dh_gencontrol:
+       dh_gencontrol -- -Vonnx:Depends="$(ORT_RUNTIME)"
+
 override_dh_missing:
        dh_missing --fail-missing
 
@@ -40,7 +54,7 @@
        ln -s /usr/share/doc/darktable 
debian/darktable-tools-noise/usr/share/doc/darktable-tools-noise
 
 override_dh_auto_configure: src/version_gen.c
-       dh_auto_configure -- -DCMAKE_INSTALL_DATAROOTDIR="share" 
-DCMAKE_INSTALL_LIBEXECDIR="lib" -DCMAKE_INSTALL_DOCDIR="share/doc/darktable" 
-DCMAKE_SKIP_RPATH=OFF -DCMAKE_BUILD_TYPE=Release -DBINARY_PACKAGE_BUILD=1 
-DRAWSPEED_ENABLE_LTO=OFF -DUSE_OPENCL=ON -DBUILD_NOISE_TOOLS=ON 
-DBUILD_CURVE_TOOLS=ON -DDONT_USE_INTERNAL_LUA=Off 
-DTESTBUILD_OPENCL_PROGRAMS=OFF
+       dh_auto_configure -- -DCMAKE_INSTALL_DATAROOTDIR="share" 
-DCMAKE_INSTALL_LIBEXECDIR="lib" -DCMAKE_INSTALL_DOCDIR="share/doc/darktable" 
-DCMAKE_SKIP_RPATH=OFF -DCMAKE_BUILD_TYPE=Release -DBINARY_PACKAGE_BUILD=1 
-DRAWSPEED_ENABLE_LTO=OFF -DUSE_OPENCL=ON -DBUILD_NOISE_TOOLS=ON 
-DBUILD_CURVE_TOOLS=ON -DDONT_USE_INTERNAL_LUA=Off 
-DTESTBUILD_OPENCL_PROGRAMS=OFF $(AI_FLAGS)
 
 describe-current-version:
        git describe --tags upstream | sed 's,^release-,,;s,-,+,;s,-,~,;'

Reply via email to