[packages/OpenSceneGraph] - fix boost detection, rel 5
baggins
baggins at pld-linux.org
Thu Jan 30 22:49:47 CET 2025
commit 76308b63ae40ac0ad6b79b0b2d20bbe24ed8adc1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jan 30 23:47:59 2025 +0100
- fix boost detection, rel 5
OpenSceneGraph.spec | 16 +++++++++-------
boost-detect.patch | 13 +++++++++++++
2 files changed, 22 insertions(+), 7 deletions(-)
---
diff --git a/OpenSceneGraph.spec b/OpenSceneGraph.spec
index 37d4182..2098b2b 100644
--- a/OpenSceneGraph.spec
+++ b/OpenSceneGraph.spec
@@ -8,7 +8,7 @@ Summary: Open Scene Graph - real-time visualization library
Summary(pl.UTF-8): Open Scene Graph - biblioteka do wizualizacji
Name: OpenSceneGraph
Version: 3.6.5
-Release: 4
+Release: 5
License: OpenSceneGraph Public Licence (based on LGPL with exceptions)
Group: X11/Libraries
#Source0Download: https://github.com/openscenegraph/OpenSceneGraph/releases
@@ -20,9 +20,11 @@ Patch1: %{name}-OpenCASCADE.patch
Patch2: %{name}-gta.patch
# https://src.fedoraproject.org/rpms/OpenSceneGraph/blob/rawhide/f/OpenSceneGraph-openexr3.patch
Patch3: %{name}-openexr3.patch
+Patch4: boost-detect.patch
URL: https://www.openscenegraph.org/index.php/33-openscenegraph/4-front-page
BuildRequires: Coin-devel
BuildRequires: EGL-devel
+BuildRequires: EGL-devel
BuildRequires: OpenCASCADE-devel >= 7.8.0
BuildRequires: OpenEXR-devel
BuildRequires: OpenGL-devel >= 2
@@ -30,9 +32,8 @@ BuildRequires: Qt5Core-devel >= 5
BuildRequires: Qt5Gui-devel >= 5
BuildRequires: Qt5OpenGL-devel >= 5
BuildRequires: Qt5Widgets-devel >= 5
-BuildRequires: SoXt-devel
-BuildRequires: EGL-devel
BuildRequires: SDL2-devel >= 2
+BuildRequires: SoXt-devel
BuildRequires: asio-devel >= 1.11
BuildRequires: boost-devel >= 1.37
BuildRequires: cairo-devel
@@ -121,10 +122,11 @@ Przykłady dla biblioteki Open Scene Graph.
%prep
%setup -q -n %{name}-%{name}-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%patch -P 0 -p1
+%patch -P 1 -p1
+%patch -P 2 -p1
+%patch -P 3 -p1
+%patch -P 4 -p1
%build
install -d build
diff --git a/boost-detect.patch b/boost-detect.patch
new file mode 100644
index 0000000..f41c072
--- /dev/null
+++ b/boost-detect.patch
@@ -0,0 +1,13 @@
+--- OpenSceneGraph-OpenSceneGraph-3.6.5/CMakeModules/FindLIBLAS.cmake.orig 2020-01-31 12:03:07.000000000 +0100
++++ OpenSceneGraph-OpenSceneGraph-3.6.5/CMakeModules/FindLIBLAS.cmake 2025-01-30 23:34:10.266665048 +0100
+@@ -97,8 +97,8 @@
+
+ set(LIBLAS_FOUND "NO")
+ if(LIBLAS_LIBRARY AND LIBLAS_INCLUDE_DIR)
+- FIND_PACKAGE(Boost) # used by LIBLAS
+- if(Boost_FOUND)
++ FIND_PACKAGE(boost) # used by LIBLAS
++ if(boost_FOUND)
+ set(LIBLAS_LIBRARIES ${LIBLAS_LIBRARY} )
+ set(LIBLAS_FOUND "YES")
+ if(WIN32)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/OpenSceneGraph.git/commitdiff/76308b63ae40ac0ad6b79b0b2d20bbe24ed8adc1
More information about the pld-cvs-commit
mailing list