Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package librealsense for openSUSE:Factory checked in at 2026-10-01 16:43:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librealsense (Old) and /work/SRC/openSUSE:Factory/.librealsense.new.1253 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librealsense" Thu Oct 1 16:43:03 2026 rev:18 rq:1381594 version:2.58.4 Changes: -------- --- /work/SRC/openSUSE:Factory/librealsense/librealsense.changes 2026-08-06 16:24:24.149049692 +0200 +++ /work/SRC/openSUSE:Factory/.librealsense.new.1253/librealsense.changes 2026-10-01 16:44:29.254608752 +0200 @@ -1,0 +2,7 @@ +Fri Sep 4 08:54:46 UTC 2026 - Jiri Slaby <[email protected]> + +- Update to 2.58.4 + * see release notes here: + https://github.com/realsenseai/librealsense/releases/tag/v2.58.4 + +------------------------------------------------------------------- Old: ---- v2.58.3.tar.gz New: ---- v2.58.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librealsense.spec ++++++ --- /var/tmp/diff_new_pack.juzNEH/_old 2026-10-01 16:44:31.364697207 +0200 +++ /var/tmp/diff_new_pack.juzNEH/_new 2026-10-01 16:44:31.370697458 +0200 @@ -20,7 +20,7 @@ %define libver %(echo %version|sed 's@^\\([0-9]*\\)\\.\\([0-9]*\\).*@\\1_\\2@') Name: librealsense -Version: 2.58.3 +Version: 2.58.4 Release: 0 Summary: Library for Intel RealSense depth cameras License: Apache-2.0 @@ -92,7 +92,8 @@ %cmake \ -DOpenGL_GL_PREFERENCE=GLVND \ -DCHECK_FOR_UPDATES=OFF \ - -DIMPORT_DEPTH_CAM_FW=OFF + -DIMPORT_DEPTH_CAM_FW=OFF \ + -DUSE_EXTERNAL_NLOHMANN_JSON=ON %cmake_build %install ++++++ 0001-cmake-add-support-to-build-shared-libraries.patch ++++++ --- /var/tmp/diff_new_pack.juzNEH/_old 2026-10-01 16:44:31.441700435 +0200 +++ /var/tmp/diff_new_pack.juzNEH/_new 2026-10-01 16:44:31.449700770 +0200 @@ -1,4 +1,4 @@ -From 15c513738b62c1ac69303927dc16a667def0e295 Mon Sep 17 00:00:00 2001 +From b462abd77b673eb470c5414358bc3173e59413a1 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <[email protected]> Date: Wed, 9 Jul 2025 14:46:16 +0200 Subject: [PATCH 1/6] cmake: add support to build shared libraries @@ -12,7 +12,7 @@ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 89499a03bb18..24363ab9d1ff 100644 +index 349d07a617a8..6f7c7c91b43f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.10) @@ -38,7 +38,7 @@ ${HEADER_FILES_ROSBAG} ${SOURCE_FILES_ROSBAG} diff --git a/third-party/rsutils/CMakeLists.txt b/third-party/rsutils/CMakeLists.txt -index 7c4e11e719bc..9a277479ee6f 100644 +index a64f7cf376a2..497cd6d512b7 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt @@ -3,7 +3,7 @@ @@ -47,9 +47,9 @@ -add_library( ${PROJECT_NAME} STATIC "" ) +add_library( ${PROJECT_NAME} "" ) - # We cannot directly interface with nlohmann_json (doesn't work on bionic) - #target_link_libraries( ${PROJECT_NAME} PUBLIC nlohmann_json ) # rsutilgpu.cpp uses dlopen on POSIX / LoadLibrary on Windows to probe for CUDA at + # runtime; propagate the dl dependency so consumers of rsutils link it transitively. + # CMAKE_DL_LIBS is empty on Windows (LoadLibrary is in kernel32, linked by default). -- 2.55.0 ++++++ 0002-cmake-Use-the-same-version-for-all-libraries-that-ca.patch ++++++ --- /var/tmp/diff_new_pack.juzNEH/_old 2026-10-01 16:44:31.493702615 +0200 +++ /var/tmp/diff_new_pack.juzNEH/_new 2026-10-01 16:44:31.504703076 +0200 @@ -1,4 +1,4 @@ -From daf58b272a89620c81963c2ad3e29d9be820b720 Mon Sep 17 00:00:00 2001 +From c9198f2838a0f1f4f31b0423f99379c89a280463 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <[email protected]> Date: Wed, 9 Jul 2025 15:10:41 +0200 Subject: [PATCH 2/6] cmake: Use the same version for all libraries that can be @@ -23,11 +23,11 @@ set_target_properties (${REALSENSE_FILE_TARGET} PROPERTIES FOLDER Library) diff --git a/third-party/rsutils/CMakeLists.txt b/third-party/rsutils/CMakeLists.txt -index 9a277479ee6f..e1b8c2000bf6 100644 +index 497cd6d512b7..928eebf7288c 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt -@@ -12,6 +12,7 @@ add_library( ${PROJECT_NAME} "" ) - target_link_libraries( ${PROJECT_NAME} PUBLIC ${CMAKE_DL_LIBS} ) +@@ -14,6 +14,7 @@ if( USE_EXTERNAL_NLOHMANN_JSON ) + endif() target_compile_features( ${PROJECT_NAME} PUBLIC cxx_std_14 ) set_target_properties( ${PROJECT_NAME} PROPERTIES FOLDER Library ) +set_target_properties( ${PROJECT_NAME} PROPERTIES VERSION ${REALSENSE_VERSION_STRING} SOVERSION "${REALSENSE_VERSION_MAJOR}.${REALSENSE_VERSION_MINOR}") ++++++ 0003-Install-presets-to-usr-share.patch ++++++ --- /var/tmp/diff_new_pack.juzNEH/_old 2026-10-01 16:44:31.524703914 +0200 +++ /var/tmp/diff_new_pack.juzNEH/_new 2026-10-01 16:44:31.530704166 +0200 @@ -1,4 +1,4 @@ -From 2b9061cd2947d55be4746acd20c315f631b2860a Mon Sep 17 00:00:00 2001 +From a9b557ec6f770d24c579343689383b9f3437a2f0 Mon Sep 17 00:00:00 2001 From: Jiri Slaby <[email protected]> Date: Wed, 27 May 2026 09:02:18 +0200 Subject: [PATCH 3/6] Install presets to /usr/share ++++++ 0004-disable-pedantic.patch ++++++ --- /var/tmp/diff_new_pack.juzNEH/_old 2026-10-01 16:44:31.566705675 +0200 +++ /var/tmp/diff_new_pack.juzNEH/_new 2026-10-01 16:44:31.573705969 +0200 @@ -1,4 +1,4 @@ -From 0ae3a3edac8581a707d7160853bfb5bb2972b127 Mon Sep 17 00:00:00 2001 +From 1c146b0f06e26b8352df82c1a022c9c60363c515 Mon Sep 17 00:00:00 2001 From: Jiri Slaby <[email protected]> Date: Tue, 30 Jun 2026 09:20:51 +0200 Subject: [PATCH 4/6] disable -pedantic @@ -10,7 +10,7 @@ 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMake/unix_config.cmake b/CMake/unix_config.cmake -index f85c1f5080bd..fc287fd2b3fd 100644 +index 086809b1afdd..a5db7ada768b 100644 --- a/CMake/unix_config.cmake +++ b/CMake/unix_config.cmake @@ -14,8 +14,8 @@ macro(os_set_flags) @@ -23,7 +23,7 @@ + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-missing-field-initializers") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-switch -Wno-multichar -Wsequence-point -Wformat -Wformat-security") - execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpmachine OUTPUT_VARIABLE MACHINE) + # Default -ffp-contract=fast fuses a*b+c*d into an FMA wherever the ISA has one (x86-64-v3 -- 2.55.0 ++++++ 0005-third-party-use-libraries-from-system.patch ++++++ --- /var/tmp/diff_new_pack.juzNEH/_old 2026-10-01 16:44:31.618707855 +0200 +++ /var/tmp/diff_new_pack.juzNEH/_new 2026-10-01 16:44:31.627708232 +0200 @@ -1,26 +1,12 @@ -From ef9df100ef525225efbd99c6cc678a722af0807d Mon Sep 17 00:00:00 2001 +From 0464b2a0558fa545122273f0e44d3b515f7d91e3 Mon Sep 17 00:00:00 2001 From: Jiri Slaby <[email protected]> Date: Mon, 30 Sep 2024 08:42:26 +0200 Subject: [PATCH 5/6] third-party: use libraries from system --- - third-party/CMakeLists.txt | 2 +- third-party/realsense-file/CMakeLists.txt | 16 +++++----------- - 2 files changed, 6 insertions(+), 12 deletions(-) + 1 file changed, 5 insertions(+), 11 deletions(-) -diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt -index e8add9ae4f92..49ae87d75f52 100644 ---- a/third-party/CMakeLists.txt -+++ b/third-party/CMakeLists.txt -@@ -5,7 +5,7 @@ add_subdirectory( "${CMAKE_CURRENT_LIST_DIR}/rsutils" ) - - pop_security_flags() # remove security flags for third party, as we cannot guarantee their security enforcment - --include(CMake/external_json.cmake) -+find_package(nlohmann_json REQUIRED) - add_subdirectory( ${_rel_path}/realsense-file ) - - if(BUILD_EASYLOGGINGPP) diff --git a/third-party/realsense-file/CMakeLists.txt b/third-party/realsense-file/CMakeLists.txt index c44c931d0573..31f9d535b857 100644 --- a/third-party/realsense-file/CMakeLists.txt ++++++ 0006-rsutils-build-as-shared.patch ++++++ --- /var/tmp/diff_new_pack.juzNEH/_old 2026-10-01 16:44:31.673710161 +0200 +++ /var/tmp/diff_new_pack.juzNEH/_new 2026-10-01 16:44:31.682710538 +0200 @@ -1,4 +1,4 @@ -From 90723bcd399b22c1a03f8b5dbf69b8b421a0df7a Mon Sep 17 00:00:00 2001 +From 1a4ca3e7f27c24f8326167f07bea992d09a320e2 Mon Sep 17 00:00:00 2001 From: Alessandro de Oliveira Faria <[email protected]> Date: Tue, 30 Jun 2026 09:20:54 +0200 Subject: [PATCH 6/6] rsutils: build as shared @@ -42,10 +42,10 @@ namespace librealsense { diff --git a/third-party/rsutils/CMakeLists.txt b/third-party/rsutils/CMakeLists.txt -index e1b8c2000bf6..f2e8d9548e10 100644 +index 928eebf7288c..8d77d890416b 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt -@@ -52,7 +52,7 @@ if( BUILD_EASYLOGGINGPP ) +@@ -59,7 +59,7 @@ if( BUILD_EASYLOGGINGPP ) PRIVATE "${REPO_ROOT}/third-party/easyloggingpp/src/easylogging++.cc" ) # We want to disable any default ELPP log-file! target_compile_definitions( ${PROJECT_NAME} ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.juzNEH/_old 2026-10-01 16:44:31.756713640 +0200 +++ /var/tmp/diff_new_pack.juzNEH/_new 2026-10-01 16:44:31.760713808 +0200 @@ -1,4 +1,4 @@ -mtime: 1785913621 -commit: 0210e5d86caf0278a74aa61210fb6509d4c50770042b464c967bf49fb43a70c8 +mtime: 1788512109 +commit: 92a94a4dd683d5d30a0990d89e9a4c65eae82ec12862eb01e28f55624330aec2 url: https://src.opensuse.org/jirislaby/h-librealsense ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-09-04 10:55:09.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ v2.58.3.tar.gz -> v2.58.4.tar.gz ++++++ /work/SRC/openSUSE:Factory/librealsense/v2.58.3.tar.gz /work/SRC/openSUSE:Factory/.librealsense.new.1253/v2.58.4.tar.gz differ: char 89, line 1
