- Update to 2.56.5
* see release notes here:
https://github.com/IntelRealSense/librealsense/releases/tag/v2.56.5
- Build all installed libraries as shared libraries to fix a problem
when building the monado package
- Add patches:
* 0001-cmake-add-support-to-build-shared-libraries.patch
* 0002-cmake-Use-the-same-version-for-all-libraries-that-ca.patch
- Rebased patches:
* rsutils.patch
- Removed obsolete patches:
* realsense_file.patch
- .spec cleanup
* no need for -DBUILD_SHARED_LIBS=ON, %cmake already does this
- .changes cleanup
* reference new patches
* remove spaces at the ends of lines
- fix shared library patches
* set SOVERSION properly
* what are the patches good for after all? The static libs were
included in .so already, right?
- Update to 2.56.3
* see release notes here:
https://github.com/IntelRealSense/librealsense/releases/tag/v2.56.3
- Update to 2.56.2
* see release notes here:
https://github.com/IntelRealSense/librealsense/releases/tag/v2.56.2
OBS-URL: https://build.opensuse.org/request/show/1299323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librealsense?expand=0&rev=15
48 lines
1.4 KiB
Diff
48 lines
1.4 KiB
Diff
From: Alessandro de Oliveira Faria <cabelo@opensuse.org>
|
|
Subject: rsutils: build as shared
|
|
Patch-mainline: never
|
|
|
|
> 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 | 5 +++--
|
|
3 files changed, 5 insertions(+), 4 deletions(-)
|
|
|
|
--- a/src/gl/rs-gl.cpp
|
|
+++ b/src/gl/rs-gl.cpp
|
|
@@ -270,7 +270,7 @@ HANDLE_EXCEPTIONS_AND_RETURN(nullptr, ap
|
|
|
|
#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;
|
|
--- a/src/log.cpp
|
|
+++ b/src/log.cpp
|
|
@@ -5,7 +5,7 @@
|
|
|
|
|
|
#ifdef BUILD_EASYLOGGINGPP
|
|
-INITIALIZE_EASYLOGGINGPP
|
|
+//INITIALIZE_EASYLOGGINGPP
|
|
|
|
namespace librealsense
|
|
{
|
|
--- a/third-party/rsutils/CMakeLists.txt
|
|
+++ b/third-party/rsutils/CMakeLists.txt
|
|
@@ -47,7 +48,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(
|