diff options
Diffstat (limited to 'libopenni2-dev.spec')
| -rw-r--r-- | libopenni2-dev.spec | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/libopenni2-dev.spec b/libopenni2-dev.spec index ad6f19f..002c513 100644 --- a/libopenni2-dev.spec +++ b/libopenni2-dev.spec @@ -2,16 +2,12 @@ # The upstream platform detection only knows x86 / x86_64 / arm32 and errors # out on aarch64; Patch0 adds the aarch64 (Arm64) platform with neutral, # SSE-free flags so the library and drivers build natively on aarch64. -# Patch0 routes __aarch64__ to the arch-neutral Linux-x86 platform header in -# BOTH platform-detection headers: ThirdParty/.../XnPlatform.h (XnLib -# internal, used by Source/*) and Include/OniPlatform.h (OpenNI public API, -# used by Source/DepthUtils via OniCTypes.h). # # topdir: libopenni2-dev-2.2.0 Name: libopenni2-dev Version: 2.2.0 -Release: 3%{?dist} +Release: 1%{?dist} Summary: OpenNI 2 framework for 3D sensors (development package) License: Apache-2.0 @@ -23,7 +19,6 @@ Patch0: aarch64-support.patch Group: Development/Libraries Packager: openEuler Builder <builder@openeuler.org> -BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: libusbx-devel @@ -98,24 +93,5 @@ install -p -m 0644 Include/*.h %{buildroot}%{_includedir}/openni2/ %{_includedir}/openni2/ %changelog -* Thu Sep 24 2026 openEuler Builder <builder@openeuler.org> - 2.2.0-3 -- Extend aarch64-support.patch: route __aarch64__ in Include/OniPlatform.h - (the OpenNI public API platform header) to the arch-neutral - Linux-x86/OniPlatformLinux-x86.h, mirroring the XnPlatform.h fix from -2. - The previous release fixed XnLib's XnPlatform.h so XnLib built, but - Source/DepthUtils includes OniPlatform.h (via OniCTypes.h) which still hit - '#error Unsupported Platform', cascading into 'uint16_t/uint8_t does not - name a type' and 'expected ) before *' errors. ONI_STDCALL/__stdcall is - only #define'd, never expanded on Linux (verified), so routing aarch64 to - the Linux-x86 header is safe. - -* Thu Sep 24 2026 openEuler Builder <builder@openeuler.org> - 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 <builder@openeuler.org> - 2.2.0-1 - Initial package of OpenNI 2.2.0 for openEuler (aarch64 native build) |
