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-06-30 15:14:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librealsense (Old) and /work/SRC/openSUSE:Factory/.librealsense.new.11887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librealsense" Tue Jun 30 15:14:09 2026 rev:16 rq:1362617 version:2.58.1 Changes: -------- --- /work/SRC/openSUSE:Factory/librealsense/librealsense.changes 2025-08-15 21:52:22.356898785 +0200 +++ /work/SRC/openSUSE:Factory/.librealsense.new.11887/librealsense.changes 2026-06-30 15:14:33.466326016 +0200 @@ -1,0 +2,16 @@ +Wed May 27 07:53:10 UTC 2026 - Jiri Slaby <[email protected]> + +- Update to 2.58.1 + * see release notes here: + https://github.com/IntelRealSense/librealsense/releases/tag/v2.58.1 +- Renamed 0001-third-party-use-nlohmann_json-from-system.patch + to 0001-third-party-use-libraries-from-system.patch + +------------------------------------------------------------------- +Mon Mar 30 08:26:02 UTC 2026 - Jiri Slaby <[email protected]> + +- Update to 2.57.7 + * see release notes here: + https://github.com/IntelRealSense/librealsense/releases/tag/v2.57.7 + +------------------------------------------------------------------- Old: ---- 0001-third-party-use-nlohmann_json-from-system.patch v2.56.5.tar.gz New: ---- 0001-third-party-use-libraries-from-system.patch _service fastcdr-1.0.25.tar.xz v2.58.1.tar.gz ----------(Old B)---------- Old: https://github.com/IntelRealSense/librealsense/releases/tag/v2.58.1 - Renamed 0001-third-party-use-nlohmann_json-from-system.patch to 0001-third-party-use-libraries-from-system.patch ----------(Old E)---------- ----------(New B)---------- New:- Renamed 0001-third-party-use-nlohmann_json-from-system.patch to 0001-third-party-use-libraries-from-system.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librealsense.spec ++++++ --- /var/tmp/diff_new_pack.hc0FNS/_old 2026-06-30 15:14:34.554362950 +0200 +++ /var/tmp/diff_new_pack.hc0FNS/_new 2026-06-30 15:14:34.558363086 +0200 @@ -20,19 +20,20 @@ %define libver %(echo %version|sed 's@^\\([0-9]*\\)\\.\\([0-9]*\\).*@\\1_\\2@') Name: librealsense -Version: 2.56.5 +Version: 2.58.1 Release: 0 Summary: Library for Intel RealSense depth cameras License: Apache-2.0 Group: Development/Libraries/C and C++ URL: https://github.com/IntelRealSense/librealsense Source: https://github.com/IntelRealSense/librealsense/archive/v%{version}.tar.gz +Source1: fastcdr-1.0.25.tar.xz # 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-nlohmann_json-from-system.patch +Patch4: 0001-third-party-use-libraries-from-system.patch Patch5: rsutils.patch BuildRequires: cmake BuildRequires: fdupes @@ -42,10 +43,12 @@ BuildRequires: cmake(FreeGLUT) BuildRequires: cmake(glfw3) >= 3.3 BuildRequires: cmake(nlohmann_json) >= 3.11.3 +BuildRequires: cmake(yaml-cpp) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(libglvnd) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(sqlite3) %description The SDK allows depth and color streaming, and provides intrinsic and extrinsic @@ -77,7 +80,9 @@ Examples from the librealsense library. %prep -%autosetup -p1 +%autosetup -p1 -b1 +mkdir -p build/third-party/ +mv ../fastcdr-*/ build/third-party/fastcdr/ %build %define __builder ninja ++++++ 0001-cmake-add-support-to-build-shared-libraries.patch ++++++ --- /var/tmp/diff_new_pack.hc0FNS/_old 2026-06-30 15:14:34.586364036 +0200 +++ /var/tmp/diff_new_pack.hc0FNS/_new 2026-06-30 15:14:34.586364036 +0200 @@ -1,22 +1,21 @@ -From cdd508256dcb0a65b6031ee11f1f91688d19cb64 Mon Sep 17 00:00:00 2001 +From 2ffb267f81f986798eeff68eef349ea94ecc198f 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 +Subject: [PATCH 1/2] cmake: add support to build shared libraries Shared libraries can be build by adding -DCMAKE_SHARED_LIBS=ON to the cmake configure line. --- CMakeLists.txt | 2 ++ - common/fw/CMakeLists.txt | 2 +- third-party/realsense-file/CMakeLists.txt | 2 +- third-party/rsutils/CMakeLists.txt | 2 +- - 4 files changed, 5 insertions(+), 3 deletions(-) + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index ae063e69d84b..5830699faeae 100644 +index 89499a03bb18..24363ab9d1ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 3.8) +@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.10) set( LRS_TARGET realsense2 ) project( ${LRS_TARGET} LANGUAGES CXX C ) @@ -25,38 +24,25 @@ # Allow librealsense2 and all of the nested project to include the main repo folder set(REPO_ROOT ${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${REPO_ROOT}) -diff --git a/common/fw/CMakeLists.txt b/common/fw/CMakeLists.txt -index 735f4d6b34c6..7b83d5d5335f 100644 ---- a/common/fw/CMakeLists.txt -+++ b/common/fw/CMakeLists.txt -@@ -17,7 +17,7 @@ set(D4XX_FW_VERSION ${CMAKE_MATCH_1}) - set(D4XX_FW_SHA1 e7a67224fd0bd823df03dc7f1135a59db93746fd) - set(D4XX_FW_URL "${REALSENSE_FIRMWARE_URL}/Releases/RS4xx/FW") - --add_library(${PROJECT_NAME} STATIC empty.c) -+add_library(${PROJECT_NAME} empty.c) - - # disable link time optimization for fw by adding -fno-lto to disable -flto flag - # jammy debian has build errors without it diff --git a/third-party/realsense-file/CMakeLists.txt b/third-party/realsense-file/CMakeLists.txt -index 9ba89a0d980a..e33f965721fd 100644 +index 6abff374006b..6ecfcd1a5cef 100644 --- a/third-party/realsense-file/CMakeLists.txt +++ b/third-party/realsense-file/CMakeLists.txt -@@ -24,7 +24,7 @@ endif() +@@ -30,7 +30,7 @@ endif() set_property(GLOBAL PROPERTY USE_FOLDERS ON) --add_library(${PROJECT_NAME} STATIC -+add_library(${PROJECT_NAME} +-add_library(${REALSENSE_FILE_TARGET} STATIC ++add_library(${REALSENSE_FILE_TARGET} ${AllSources} ${HEADER_FILES_ROSBAG} ${SOURCE_FILES_ROSBAG} diff --git a/third-party/rsutils/CMakeLists.txt b/third-party/rsutils/CMakeLists.txt -index b0fc310497aa..bb27360b37ec 100644 +index 943dc1766c0b..21fb27a23fdd 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt @@ -3,7 +3,7 @@ - cmake_minimum_required(VERSION 3.8.0) # source_group(TREE) + cmake_minimum_required(VERSION 3.10) # source_group(TREE) project( rsutils ) -add_library( ${PROJECT_NAME} STATIC "" ) @@ -65,6 +51,6 @@ #target_link_libraries( ${PROJECT_NAME} PUBLIC nlohmann_json ) target_compile_features( ${PROJECT_NAME} PUBLIC cxx_std_14 ) -- -2.50.1 +2.54.0 ++++++ 0001-third-party-use-libraries-from-system.patch ++++++ >From 68a3b6cc5cda1c3b8e22a503f007e6b021498a80 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 --- 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(-) 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 +++ b/third-party/realsense-file/CMakeLists.txt @@ -4,8 +4,9 @@ set(REALSENSE_FILE_TARGET realsense-file) set(ROSBAG2_COMPILE_FLAGS) if(BUILD_ROSBAG2) - include(${PROJECT_SOURCE_DIR}/CMake/external_sqlite3.cmake) - include(${PROJECT_SOURCE_DIR}/CMake/external_yaml_cpp.cmake) + find_package(PkgConfig REQUIRED) + pkg_check_modules(SQLITE3 REQUIRED IMPORTED_TARGET sqlite3) + find_package(yaml-cpp REQUIRED) endif() include(${CMAKE_CURRENT_LIST_DIR}/config.cmake) @@ -58,14 +59,10 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") endif() endif() -if(BUILD_ROSBAG2) - add_dependencies(${REALSENSE_FILE_TARGET} sqlite3_lib) - add_dependencies(${REALSENSE_FILE_TARGET} yaml_cpp) -endif() - target_link_libraries(${REALSENSE_FILE_TARGET} PUBLIC rs_lz4) if(BUILD_ROSBAG2) - target_link_libraries(${REALSENSE_FILE_TARGET} PRIVATE sqlite3_lib) + target_link_libraries(${REALSENSE_FILE_TARGET} PRIVATE PkgConfig::SQLITE3) + target_link_libraries(${REALSENSE_FILE_TARGET} PRIVATE yaml-cpp::yaml-cpp) endif() set_target_properties(${LRS_TARGET} PROPERTIES VERSION ${REALSENSE_VERSION_STRING} SOVERSION "${REALSENSE_VERSION_MAJOR}.${REALSENSE_VERSION_MINOR}") @@ -75,9 +72,6 @@ set_target_properties (${REALSENSE_FILE_TARGET} PROPERTIES FOLDER Library) set(CMAKECONFIG_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}/../cmake/realsense2") set(_install_targets ${REALSENSE_FILE_TARGET} rs_lz4) -if(BUILD_ROSBAG2) - list(APPEND _install_targets sqlite3_lib) -endif() 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 ++++++ 0002-cmake-Use-the-same-version-for-all-libraries-that-ca.patch ++++++ --- /var/tmp/diff_new_pack.hc0FNS/_old 2026-06-30 15:14:34.618365122 +0200 +++ /var/tmp/diff_new_pack.hc0FNS/_new 2026-06-30 15:14:34.622365258 +0200 @@ -1,7 +1,7 @@ -From 682b4f8fbd96ea3e4b11e9d365faecfb1b87d6f6 Mon Sep 17 00:00:00 2001 +From bb96f387ea7518a0bd01a4a6743fb7b35671ba79 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 +Subject: [PATCH 2/2] cmake: Use the same version for all libraries that can be created in shared mode --- @@ -10,20 +10,20 @@ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/third-party/realsense-file/CMakeLists.txt b/third-party/realsense-file/CMakeLists.txt -index e33f965721fd..a53f4c37b03b 100644 +index 6ecfcd1a5cef..c44c931d0573 100644 --- a/third-party/realsense-file/CMakeLists.txt +++ b/third-party/realsense-file/CMakeLists.txt -@@ -42,7 +42,7 @@ target_link_libraries(${PROJECT_NAME} PRIVATE - $<$<BOOL:${USE_EXTERNAL_LZ4}>:lz4::lz4> - ) +@@ -68,7 +68,7 @@ if(BUILD_ROSBAG2) + target_link_libraries(${REALSENSE_FILE_TARGET} PRIVATE sqlite3_lib) + endif() --#set_target_properties(${PROJECT_NAME} PROPERTIES VERSION "${LIBVERSION}" SOVERSION "${LIBSOVERSION}") +-#set_target_properties(${REALSENSE_FILE_TARGET} PROPERTIES VERSION "${LIBVERSION}" SOVERSION "${LIBSOVERSION}") +set_target_properties(${LRS_TARGET} PROPERTIES VERSION ${REALSENSE_VERSION_STRING} SOVERSION "${REALSENSE_VERSION_MAJOR}.${REALSENSE_VERSION_MINOR}") - set_target_properties (${PROJECT_NAME} PROPERTIES FOLDER Library) + set_target_properties (${REALSENSE_FILE_TARGET} PROPERTIES FOLDER Library) diff --git a/third-party/rsutils/CMakeLists.txt b/third-party/rsutils/CMakeLists.txt -index bb27360b37ec..15153a1fffac 100644 +index 21fb27a23fdd..86541306fad9 100644 --- a/third-party/rsutils/CMakeLists.txt +++ b/third-party/rsutils/CMakeLists.txt @@ -8,6 +8,7 @@ add_library( ${PROJECT_NAME} "" ) @@ -35,6 +35,6 @@ target_include_directories( ${PROJECT_NAME} PUBLIC -- -2.50.1 +2.54.0 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.hc0FNS/_old 2026-06-30 15:14:34.654366345 +0200 +++ /var/tmp/diff_new_pack.hc0FNS/_new 2026-06-30 15:14:34.658366480 +0200 @@ -1,4 +1,4 @@ -mtime: 1755152033 -commit: d9fe70adeda62d51e0be7151542d5dd3ee3e60e0823aae74e5ab64e5b4a813a8 +mtime: 1779868483 +commit: d8266ec88810506f16ef0cabd1b105e11e064c9c3ea313084a1260e99a7e374f url: https://src.opensuse.org/jirislaby/h-librealsense ++++++ _service ++++++ <services> <service name="tar_scm" mode="manual"> <param name="url">https://github.com/eProsima/Fast-CDR.git</param> <param name="scm">git</param> <param name="revision">refs/tags/v1.0.25</param> <param name="filename">fastcdr</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> </service> <service name="recompress" mode="manual"> <param name="file">fastcdr-*.tar</param> <param name="compression">xz</param> </service> </services> ++++++ 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-05-27 09:54:43.000000000 +0200 @@ -0,0 +1 @@ +.osc ++++++ presets_path.patch ++++++ --- /var/tmp/diff_new_pack.hc0FNS/_old 2026-06-30 15:14:34.866373541 +0200 +++ /var/tmp/diff_new_pack.hc0FNS/_new 2026-06-30 15:14:34.870373677 +0200 @@ -1,15 +1,19 @@ +From 00281110730cfc8b564ec6af8c298b32ba5461d7 Mon Sep 17 00:00:00 2001 From: Jiri Slaby <[email protected]> -Subject: Install presets to /usr/share +Date: Wed, 27 May 2026 09:02:18 +0200 +Subject: [PATCH] Install presets to /usr/share Patch-upstream: no And not to home of a random (abuild) user. --- - tools/realsense-viewer/CMakeLists.txt | 2 +- + 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 2af94aa3f8f3..fee313782bc2 100644 --- a/tools/realsense-viewer/CMakeLists.txt +++ b/tools/realsense-viewer/CMakeLists.txt -@@ -254,7 +254,7 @@ install( +@@ -226,7 +226,7 @@ install( ) #https://cmake.org/cmake/help/latest/command/install.html install(DIRECTORY presets/ @@ -17,5 +21,8 @@ + DESTINATION ${CMAKE_INSTALL_DATADIR}/librealsense2/presets FILES_MATCHING PATTERN "*.preset" ) - endif() + +-- +2.54.0 + ++++++ v2.56.5.tar.gz -> v2.58.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/librealsense/v2.56.5.tar.gz /work/SRC/openSUSE:Factory/.librealsense.new.11887/v2.58.1.tar.gz differ: char 12, line 1
