From d53d78aa62a30a1d51f122fffe70e9512d3c1a6a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 24 Sep 2026 07:15:59 +0000 Subject: automatic import of libopenni2-dev --- libopenni2-dev.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'libopenni2-dev.spec') diff --git a/libopenni2-dev.spec b/libopenni2-dev.spec index 002c513..22b1a30 100644 --- a/libopenni2-dev.spec +++ b/libopenni2-dev.spec @@ -7,7 +7,7 @@ Name: libopenni2-dev Version: 2.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: OpenNI 2 framework for 3D sensors (development package) License: Apache-2.0 @@ -19,6 +19,7 @@ Patch0: aarch64-support.patch Group: Development/Libraries Packager: openEuler Builder +BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: libusbx-devel @@ -93,5 +94,13 @@ install -p -m 0644 Include/*.h %{buildroot}%{_includedir}/openni2/ %{_includedir}/openni2/ %changelog +* Thu Sep 24 2026 openEuler Builder - 2.2.0-2 +- Extend aarch64-support.patch: route __aarch64__ in XnPlatform.h to the + arch-neutral Linux-x86 platform header so the C++ build no longer hits + '#error Unsupported Platform' and the XnChar/XnUInt32/XnUInt64 typedefs + resolve. The original patch only taught the Makefile build system about + aarch64 (CommonDefs.mak + Platform.Arm64); the C++ header still fell + through to the unsupported-platform #error. + * Thu Sep 24 2026 openEuler Builder - 2.2.0-1 - Initial package of OpenNI 2.2.0 for openEuler (aarch64 native build) -- cgit v1.2.3