Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package librealsense for openSUSE:Factory 
checked in at 2022-04-28 23:07:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librealsense (Old)
 and      /work/SRC/openSUSE:Factory/.librealsense.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "librealsense"

Thu Apr 28 23:07:58 2022 rev:8 rq:973447 version:2.50.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/librealsense/librealsense.changes        
2021-06-01 10:35:47.400642277 +0200
+++ /work/SRC/openSUSE:Factory/.librealsense.new.1538/librealsense.changes      
2022-04-28 23:08:02.688692518 +0200
@@ -1,0 +2,17 @@
+Thu Apr 28 05:40:43 UTC 2022 - Jiri Slaby <jsl...@suse.cz>
+
+- Update to 2.50.0
+  * see release notes here:
+    https://github.com/IntelRealSense/librealsense/releases/tag/v2.50.0
+- add
+  * disable-pedantic.patch
+  * presets_path.patch
+
+-------------------------------------------------------------------
+Wed Apr 27 12:38:39 UTC 2022 - Jan Engelhardt <jeng...@inai.de>
+
+- Resolve rpmlint report "librealsense2.x86_64: E:
+  shlib-policy-name-error SONAME: librealsense2-gl.so.2.44,
+  expected package suffix: 2_44"
+
+-------------------------------------------------------------------

Old:
----
  librealsense-rpmlintrc
  v2.44.0.tar.gz

New:
----
  disable-pedantic.patch
  presets_path.patch
  v2.50.0.tar.gz

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

Other differences:
------------------
++++++ librealsense.spec ++++++
--- /var/tmp/diff_new_pack.f3yZXb/_old  2022-04-28 23:08:04.700694711 +0200
+++ /var/tmp/diff_new_pack.f3yZXb/_new  2022-04-28 23:08:04.708694720 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librealsense
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,17 @@
 #
 
 
-%define libver 2
+%define libver 2_50
 Name:           librealsense
-Version:        2.44.0
+Version:        2.50.0
 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:        %{name}-rpmlintrc
+Patch0:         presets_path.patch
+Patch1:         disable-pedantic.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  freeglut-devel
@@ -45,8 +46,9 @@
 playback of streaming sessions.
 
 %package -n %{name}%{libver}
-Summary:        Library for librealsense
-Group:          Development/Libraries/C and C++
+Summary:        Library for Intel RealSense depth cameras
+Group:          System/Libraries
+Obsoletes:      librealsense2 < %{version}-%{release}
 
 %description -n %{name}%{libver}
 Library for librealsense applications.
@@ -54,7 +56,7 @@
 %package devel
 Summary:        Headers and library for librealsense
 Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Requires:       %{name}%{libver} = %{version}-%{release}
 
 %description devel
 Headers and cmake project files for developing librealsense applications.
@@ -72,8 +74,11 @@
 
 %build
 %define __builder ninja
+# there is a *lot* of those warnings
+export CXXFLAGS='%optflags -Wno-reorder -Wno-unused-variable -Wno-sign-compare 
-Wno-unknown-pragmas'
 %cmake \
-       -DOpenGL_GL_PREFERENCE=GLVND
+       -DOpenGL_GL_PREFERENCE=GLVND \
+       -DCHECK_FOR_UPDATES=OFF
 %cmake_build
 
 %install
@@ -92,6 +97,9 @@
 %files
 %doc readme.md CONTRIBUTING.md code-of-conduct.md NOTICE
 %{_bindir}/realsense-viewer
+%dir %{_datadir}/librealsense2/
+%dir %{_datadir}/librealsense2/presets/
+%{_datadir}/librealsense2/presets/*.preset
 %{_udevrulesdir}/99-realsense-libusb.rules
 
 %files -n %{name}%{libver}

++++++ disable-pedantic.patch ++++++
From: Jiri Slaby <jsl...@suse.cz>
Subject: disable -pedantic
Patch-mainline: no

-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(-)

--- a/CMake/unix_config.cmake
+++ b/CMake/unix_config.cmake
@@ -2,8 +2,8 @@ message(STATUS "Setting Unix configurati
 
 macro(os_set_flags)
     set(CMAKE_POSITION_INDEPENDENT_CODE ON)
-    set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS}   -pedantic -g -D_DEFAULT_SOURCE")
-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -g 
-Wno-missing-field-initializers")
+    set(CMAKE_C_FLAGS   "${CMAKE_C_FLAGS}   -g -D_DEFAULT_SOURCE")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g 
-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)

++++++ presets_path.patch ++++++
From: Jiri Slaby <jsl...@suse.cz>
Subject: Install presets to /usr/share
Patch-upstream: no

And not to home of a random (abuild) user.
---
 tools/realsense-viewer/CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/tools/realsense-viewer/CMakeLists.txt
+++ b/tools/realsense-viewer/CMakeLists.txt
@@ -262,7 +262,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"
 )
 endif()

++++++ v2.44.0.tar.gz -> v2.50.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/librealsense/v2.44.0.tar.gz 
/work/SRC/openSUSE:Factory/.librealsense.new.1538/v2.50.0.tar.gz differ: char 
12, line 1

Reply via email to