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-08-06 16:23:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librealsense (Old) and /work/SRC/openSUSE:Factory/.librealsense.new.16738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librealsense" Thu Aug 6 16:23:00 2026 rev:17 rq:1369670 version:2.58.3 Changes: -------- --- /work/SRC/openSUSE:Factory/librealsense/librealsense.changes 2026-06-30 15:14:33.466326016 +0200 +++ /work/SRC/openSUSE:Factory/.librealsense.new.16738/librealsense.changes 2026-08-06 16:24:24.149049692 +0200 @@ -1,0 +2,20 @@ +Wed Aug 5 07:04:00 UTC 2026 - Jiri Slaby <[email protected]> + +- Update to 2.58.3 + * see release notes here: + https://github.com/realsenseai/librealsense/releases/tag/v2.58.3 + +------------------------------------------------------------------- +Tue Jun 30 07:25:23 UTC 2026 - Jiri Slaby <[email protected]> + +- Update to 2.58.2 + * see release notes here: + https://github.com/IntelRealSense/librealsense/releases/tag/v2.58.2 +- Renamed: + * presets_path.patch -> 0003-Install-presets-to-usr-share.patch + * disable-pedantic.patch -> 0004-disable-pedantic.patch + * 0001-third-party-use-libraries-from-system.patch -> + 0005-third-party-use-libraries-from-system.patch + * rsutils.patch -> 0006-rsutils-build-as-shared.patch + +------------------------------------------------------------------- Old: ---- 0001-third-party-use-libraries-from-system.patch disable-pedantic.patch presets_path.patch rsutils.patch v2.58.1.tar.gz New: ---- 0003-Install-presets-to-usr-share.patch 0004-disable-pedantic.patch 0005-third-party-use-libraries-from-system.patch 0006-rsutils-build-as-shared.patch v2.58.3.tar.gz ----------(Old B)---------- Old: * disable-pedantic.patch -> 0004-disable-pedantic.patch * 0001-third-party-use-libraries-from-system.patch -> 0005-third-party-use-libraries-from-system.patch Old: * presets_path.patch -> 0003-Install-presets-to-usr-share.patch * disable-pedantic.patch -> 0004-disable-pedantic.patch * 0001-third-party-use-libraries-from-system.patch -> Old:- Renamed: * presets_path.patch -> 0003-Install-presets-to-usr-share.patch * disable-pedantic.patch -> 0004-disable-pedantic.patch Old: 0005-third-party-use-libraries-from-system.patch * rsutils.patch -> 0006-rsutils-build-as-shared.patch ----------(Old E)---------- ----------(New B)---------- New:- Renamed: * presets_path.patch -> 0003-Install-presets-to-usr-share.patch * disable-pedantic.patch -> 0004-disable-pedantic.patch New: * presets_path.patch -> 0003-Install-presets-to-usr-share.patch * disable-pedantic.patch -> 0004-disable-pedantic.patch * 0001-third-party-use-libraries-from-system.patch -> New: * 0001-third-party-use-libraries-from-system.patch -> 0005-third-party-use-libraries-from-system.patch * rsutils.patch -> 0006-rsutils-build-as-shared.patch New: 0005-third-party-use-libraries-from-system.patch * rsutils.patch -> 0006-rsutils-build-as-shared.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librealsense.spec ++++++ --- /var/tmp/diff_new_pack.4uiqS9/_old 2026-08-06 16:24:27.113153210 +0200 +++ /var/tmp/diff_new_pack.4uiqS9/_new 2026-08-06 16:24:27.113153210 +0200 @@ -20,7 +20,7 @@ %define libver %(echo %version|sed 's@^\\([0-9]*\\)\\.\\([0-9]*\\).*@\\1_\\2@') Name: librealsense -Version: 2.58.1 +Version: 2.58.3 Release: 0 Summary: Library for Intel RealSense depth cameras License: Apache-2.0 @@ -31,10 +31,10 @@ # see https://github.com/IntelRealSense/librealsense/pull/14125 Patch0: 0001-cmake-add-support-to-build-shared-libraries.patch Patch1: 0002-cmake-Use-the-same-version-for-all-libraries-that-ca.patch -Patch2: presets_path.patch -Patch3: disable-pedantic.patch -Patch4: 0001-third-party-use-libraries-from-system.patch -Patch5: rsutils.patch +Patch2: 0003-Install-presets-to-usr-share.patch +Patch3: 0004-disable-pedantic.patch +Patch4: 0005-third-party-use-libraries-from-system.patch +Patch5: 0006-rsutils-build-as-shared.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ ++++++ 0001-cmake-add-support-to-build-shared-libraries.patch ++++++ --- /var/tmp/diff_new_pack.4uiqS9/_old 2026-08-06 16:24:27.137154048 +0200 +++ /var/tmp/diff_new_pack.4uiqS9/_new 2026-08-06 16:24:27.141154188 +0200 @@ -1,7 +1,7 @@ -From 2ffb267f81f986798eeff68eef349ea94ecc198f Mon Sep 17 00:00:00 2001 +From 15c513738b62c1ac69303927dc16a667def0e295 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <[email protected]> Date: Wed, 9 Jul 2025 14:46:16 +0200 -Subject: [PATCH 1/2] cmake: add support to build shared libraries +Subject: [PATCH 1/6] cmake: add support to build shared libraries Shared libraries can be build by adding -DCMAKE_SHARED_LIBS=ON to the cmake configure line. @@ -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 943dc1766c0b..21fb27a23fdd 100644 +index 7c4e11e719bc..9a277479ee6f 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt @@ -3,7 +3,7 @@ @@ -49,8 +49,8 @@ +add_library( ${PROJECT_NAME} "" ) # We cannot directly interface with nlohmann_json (doesn't work on bionic) #target_link_libraries( ${PROJECT_NAME} PUBLIC nlohmann_json ) - target_compile_features( ${PROJECT_NAME} PUBLIC cxx_std_14 ) + # rsutilgpu.cpp uses dlopen on POSIX / LoadLibrary on Windows to probe for CUDA at -- -2.54.0 +2.55.0 ++++++ 0002-cmake-Use-the-same-version-for-all-libraries-that-ca.patch ++++++ --- /var/tmp/diff_new_pack.4uiqS9/_old 2026-08-06 16:24:27.157154747 +0200 +++ /var/tmp/diff_new_pack.4uiqS9/_new 2026-08-06 16:24:27.165155026 +0200 @@ -1,7 +1,7 @@ -From bb96f387ea7518a0bd01a4a6743fb7b35671ba79 Mon Sep 17 00:00:00 2001 +From daf58b272a89620c81963c2ad3e29d9be820b720 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <[email protected]> Date: Wed, 9 Jul 2025 15:10:41 +0200 -Subject: [PATCH 2/2] cmake: Use the same version for all libraries that can be +Subject: [PATCH 2/6] cmake: Use the same version for all libraries that can be created in shared mode --- @@ -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 21fb27a23fdd..86541306fad9 100644 +index 9a277479ee6f..e1b8c2000bf6 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt -@@ -8,6 +8,7 @@ add_library( ${PROJECT_NAME} "" ) - #target_link_libraries( ${PROJECT_NAME} PUBLIC nlohmann_json ) +@@ -12,6 +12,7 @@ add_library( ${PROJECT_NAME} "" ) + target_link_libraries( ${PROJECT_NAME} PUBLIC ${CMAKE_DL_LIBS} ) 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}") @@ -35,6 +35,6 @@ target_include_directories( ${PROJECT_NAME} PUBLIC -- -2.54.0 +2.55.0 ++++++ 0003-Install-presets-to-usr-share.patch ++++++ >From 2b9061cd2947d55be4746acd20c315f631b2860a 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 And not to home of a random (abuild) user. --- tools/realsense-viewer/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/realsense-viewer/CMakeLists.txt b/tools/realsense-viewer/CMakeLists.txt index 58eaa27f5d4a..ac280bc0869a 100644 --- a/tools/realsense-viewer/CMakeLists.txt +++ b/tools/realsense-viewer/CMakeLists.txt @@ -260,7 +260,7 @@ install( ) #https://cmake.org/cmake/help/latest/command/install.html install(DIRECTORY presets/ - DESTINATION $ENV{HOME}/Documents/librealsense2/presets + DESTINATION ${CMAKE_INSTALL_DATADIR}/librealsense2/presets FILES_MATCHING PATTERN "*.preset" ) -- 2.55.0 ++++++ 0004-disable-pedantic.patch ++++++ >From 0ae3a3edac8581a707d7160853bfb5bb2972b127 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 -pedantic generates 3623 warnings at the moment. Disable it for now, so that we can see more important warnings. --- CMake/unix_config.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMake/unix_config.cmake b/CMake/unix_config.cmake index f85c1f5080bd..fc287fd2b3fd 100644 --- a/CMake/unix_config.cmake +++ b/CMake/unix_config.cmake @@ -14,8 +14,8 @@ macro(os_set_flags) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}) set(CMAKE_POSITION_INDEPENDENT_CODE ON) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -D_DEFAULT_SOURCE") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wno-missing-field-initializers") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_DEFAULT_SOURCE") + 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) -- 2.55.0 ++++++ 0001-third-party-use-libraries-from-system.patch -> 0005-third-party-use-libraries-from-system.patch ++++++ --- /work/SRC/openSUSE:Factory/librealsense/0001-third-party-use-libraries-from-system.patch 2026-06-30 15:14:33.046311758 +0200 +++ /work/SRC/openSUSE:Factory/.librealsense.new.16738/0005-third-party-use-libraries-from-system.patch 2026-08-06 16:24:23.961043126 +0200 @@ -1,13 +1,12 @@ -From 68a3b6cc5cda1c3b8e22a503f007e6b021498a80 Mon Sep 17 00:00:00 2001 +From ef9df100ef525225efbd99c6cc678a722af0807d Mon Sep 17 00:00:00 2001 From: Jiri Slaby <[email protected]> Date: Mon, 30 Sep 2024 08:42:26 +0200 -Subject: [PATCH] third-party: use libraries from system +Subject: [PATCH 5/6] third-party: use libraries from system --- - third-party/CMakeLists.txt | 2 +- - third-party/realsense-file/CMakeLists.txt | 16 +++++----------- - .../cmake/check_c_compiler_uses_glibc.cmake | 2 +- - 3 files changed, 7 insertions(+), 13 deletions(-) + third-party/CMakeLists.txt | 2 +- + third-party/realsense-file/CMakeLists.txt | 16 +++++----------- + 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt index e8add9ae4f92..49ae87d75f52 100644 @@ -65,19 +64,6 @@ install(TARGETS ${_install_targets} EXPORT realsense2Targets RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -diff --git a/third-party/realsense-file/rosbag2/rcutils/cmake/check_c_compiler_uses_glibc.cmake b/third-party/realsense-file/rosbag2/rcutils/cmake/check_c_compiler_uses_glibc.cmake -index 9958f9e74d82..6e518ec9f16e 100644 ---- a/third-party/realsense-file/rosbag2/rcutils/cmake/check_c_compiler_uses_glibc.cmake -+++ b/third-party/realsense-file/rosbag2/rcutils/cmake/check_c_compiler_uses_glibc.cmake -@@ -26,7 +26,7 @@ function(check_c_compiler_uses_glibc result_variable) - int main() { - void * buffer[1]; - int size = sizeof(buffer) / sizeof(void *); -- backtrace(&buffer, size); -+ backtrace(buffer, size); - return 0; - } - ]====]) -- -2.54.0 +2.55.0 ++++++ 0006-rsutils-build-as-shared.patch ++++++ >From 90723bcd399b22c1a03f8b5dbf69b8b421a0df7a 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > I added two patches which fix the issue with the installation of > static .a libs by forcing their build as shared library > Thanks David Lanzendörfer (leviathanch) --- src/gl/rs-gl.cpp | 2 +- src/log.cpp | 2 +- third-party/rsutils/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gl/rs-gl.cpp b/src/gl/rs-gl.cpp index 2a0d97495dda..6ffbc70bc378 100644 --- a/src/gl/rs-gl.cpp +++ b/src/gl/rs-gl.cpp @@ -298,7 +298,7 @@ HANDLE_EXCEPTIONS_AND_RETURN(nullptr, api_version) #ifdef BUILD_EASYLOGGINGPP #ifdef SHARED_LIBS -INITIALIZE_EASYLOGGINGPP +//INITIALIZE_EASYLOGGINGPP #endif char log_gl_name[] = LIBREALSENSE_ELPP_ID; static logger_type<log_gl_name> logger_gl; diff --git a/src/log.cpp b/src/log.cpp index 1bc02d6a001a..91f508a50b37 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -5,7 +5,7 @@ #ifdef BUILD_EASYLOGGINGPP -INITIALIZE_EASYLOGGINGPP +//INITIALIZE_EASYLOGGINGPP namespace librealsense { diff --git a/third-party/rsutils/CMakeLists.txt b/third-party/rsutils/CMakeLists.txt index e1b8c2000bf6..f2e8d9548e10 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt @@ -52,7 +52,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} - PUBLIC ELPP_NO_DEFAULT_LOG_FILE ) + PUBLIC ELPP_NO_DEFAULT_LOG_FILE AUTO_INITIALIZE_EASYLOGGINGPP ) endif() target_sources( ${PROJECT_NAME} PRIVATE ${UTILITIES_SOURCE_FILES} ) source_group( -- 2.55.0 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.4uiqS9/_old 2026-08-06 16:24:27.257158239 +0200 +++ /var/tmp/diff_new_pack.4uiqS9/_new 2026-08-06 16:24:27.265158519 +0200 @@ -1,4 +1,4 @@ -mtime: 1779868483 -commit: d8266ec88810506f16ef0cabd1b105e11e064c9c3ea313084a1260e99a7e374f +mtime: 1785913621 +commit: 0210e5d86caf0278a74aa61210fb6509d4c50770042b464c967bf49fb43a70c8 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-08-05 09:07:01.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ v2.58.1.tar.gz -> v2.58.3.tar.gz ++++++ /work/SRC/openSUSE:Factory/librealsense/v2.58.1.tar.gz /work/SRC/openSUSE:Factory/.librealsense.new.16738/v2.58.3.tar.gz differ: char 13, line 1
