Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f69cb7539 | ||
|
|
42509b7498 |
2 changed files with 63 additions and 11 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
Name: libfreenect
|
Name: libfreenect
|
||||||
Version: 0.7.5
|
Version: 0.7.5
|
||||||
Release: 2%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Device driver for the Kinect
|
Summary: Device driver for the Kinect
|
||||||
# Core libfreenect is available as Apache-2.0 OR GPL-2.0-only
|
# Core libfreenect is available as Apache-2.0 OR GPL-2.0-only
|
||||||
# OpenNI driver is available as Apache-2.0
|
# OpenNI driver is available as Apache-2.0
|
||||||
|
|
@ -201,6 +201,12 @@ mv %{buildroot}%{_libdir}/OpenNI2-FreenectDriver %{buildroot}%{_libdir}/openni2/
|
||||||
%{_libdir}/openni2
|
%{_libdir}/openni2
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 02 2026 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.7.5-4
|
||||||
|
- Add OpenNI2 driver on riscv64
|
||||||
|
|
||||||
|
* Wed Dec 10 2025 Nicolas Chauvet <kwizart@gmail.com> - 0.7.5-3
|
||||||
|
- Rebuilt for OpenCV-4.12
|
||||||
|
|
||||||
* Mon Nov 24 2025 Dominik Mierzejewski <dominik@greysector.net> - 0.7.5-2
|
* Mon Nov 24 2025 Dominik Mierzejewski <dominik@greysector.net> - 0.7.5-2
|
||||||
- fixed duplicate files warning
|
- fixed duplicate files warning
|
||||||
- made file lists more explicit
|
- made file lists more explicit
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
diff -urN libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h
|
Index: libfreenect-0.7.5/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h
|
||||||
--- libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h 1970-01-01 01:00:00.000000000 +0100
|
===================================================================
|
||||||
+++ libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h 2014-09-18 11:54:01.405363509 +0200
|
--- /dev/null
|
||||||
|
+++ libfreenect-0.7.5/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h
|
||||||
@@ -0,0 +1,41 @@
|
@@ -0,0 +1,41 @@
|
||||||
+/*****************************************************************************
|
+/*****************************************************************************
|
||||||
+* *
|
+* *
|
||||||
|
|
@ -43,9 +44,10 @@ diff -urN libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/In
|
||||||
+
|
+
|
||||||
+#endif //_ONI_PLATFORM_LINUX_PPC_H_
|
+#endif //_ONI_PLATFORM_LINUX_PPC_H_
|
||||||
+
|
+
|
||||||
diff -urN libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h
|
Index: libfreenect-0.7.5/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h
|
||||||
--- libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h 1970-01-01 01:00:00.000000000 +0100
|
===================================================================
|
||||||
+++ libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h 2014-09-18 11:55:06.169556389 +0200
|
--- /dev/null
|
||||||
|
+++ libfreenect-0.7.5/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h
|
||||||
@@ -0,0 +1,42 @@
|
@@ -0,0 +1,42 @@
|
||||||
+/*****************************************************************************
|
+/*****************************************************************************
|
||||||
+* *
|
+* *
|
||||||
|
|
@ -89,9 +91,10 @@ diff -urN libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/In
|
||||||
+
|
+
|
||||||
+#endif //_ONI_PLATFORM_LINUX_s390_H_
|
+#endif //_ONI_PLATFORM_LINUX_s390_H_
|
||||||
+
|
+
|
||||||
diff -urN libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h
|
Index: libfreenect-0.7.5/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h
|
||||||
--- libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h 2014-09-18 11:51:35.428923550 +0200
|
===================================================================
|
||||||
+++ libfreenect.new/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h 2014-09-18 11:52:50.242149667 +0200
|
--- libfreenect-0.7.5.orig/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h
|
||||||
|
+++ libfreenect-0.7.5/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h
|
||||||
@@ -27,6 +27,8 @@
|
@@ -27,6 +27,8 @@
|
||||||
#define ONI_PLATFORM_LINUX_ARM 3
|
#define ONI_PLATFORM_LINUX_ARM 3
|
||||||
#define ONI_PLATFORM_MACOSX 4
|
#define ONI_PLATFORM_MACOSX 4
|
||||||
|
|
@ -101,14 +104,57 @@ diff -urN libfreenect/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/In
|
||||||
|
|
||||||
#if (defined _WIN32)
|
#if (defined _WIN32)
|
||||||
# ifndef RC_INVOKED
|
# ifndef RC_INVOKED
|
||||||
@@ -41,6 +43,10 @@
|
@@ -41,6 +43,12 @@
|
||||||
# include "Linux-x86/OniPlatformLinux-x86.h"
|
# include "Linux-x86/OniPlatformLinux-x86.h"
|
||||||
#elif (__linux__ && (__arm__ || __aarch64__))
|
#elif (__linux__ && (__arm__ || __aarch64__))
|
||||||
# include "Linux-Arm/OniPlatformLinux-Arm.h"
|
# include "Linux-Arm/OniPlatformLinux-Arm.h"
|
||||||
+#elif (__linux__ && (__powerpc__ || __powerpc64__))
|
+#elif (__linux__ && (__powerpc__ || __powerpc64__))
|
||||||
+# include "Linux-ppc/OniPlatformLinux-PPC.h"
|
+# include "Linux-ppc/OniPlatformLinux-PPC.h"
|
||||||
|
+#elif (__linux__ && (__riscv))
|
||||||
|
+# include "Linux-riscv/OniPlatformLinux-RISCV.h"
|
||||||
+#elif (__linux__ && (__s390__ || __s390x__ ))
|
+#elif (__linux__ && (__s390__ || __s390x__ ))
|
||||||
+# include "Linux-s390/OniPlatformLinux-s390.h"
|
+# include "Linux-s390/OniPlatformLinux-s390.h"
|
||||||
#elif _ARC
|
#elif _ARC
|
||||||
# include "ARC/OniPlaformARC.h"
|
# include "ARC/OniPlaformARC.h"
|
||||||
#elif (__APPLE__)
|
#elif (__APPLE__)
|
||||||
|
Index: libfreenect-0.7.5/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-riscv/OniPlatformLinux-RISCV.h
|
||||||
|
===================================================================
|
||||||
|
--- /dev/null
|
||||||
|
+++ libfreenect-0.7.5/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-riscv/OniPlatformLinux-RISCV.h
|
||||||
|
@@ -0,0 +1,36 @@
|
||||||
|
+/*****************************************************************************
|
||||||
|
+* *
|
||||||
|
+* OpenNI 2.x Alpha *
|
||||||
|
+* Copyright (C) 2012 PrimeSense Ltd. *
|
||||||
|
+* *
|
||||||
|
+* This file is part of OpenNI. *
|
||||||
|
+* *
|
||||||
|
+* Licensed under the Apache License, Version 2.0 (the "License"); *
|
||||||
|
+* you may not use this file except in compliance with the License. *
|
||||||
|
+* You may obtain a copy of the License at *
|
||||||
|
+* *
|
||||||
|
+* http://www.apache.org/licenses/LICENSE-2.0 *
|
||||||
|
+* *
|
||||||
|
+* Unless required by applicable law or agreed to in writing, software *
|
||||||
|
+* distributed under the License is distributed on an "AS IS" BASIS, *
|
||||||
|
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
|
||||||
|
+* See the License for the specific language governing permissions and *
|
||||||
|
+* limitations under the License. *
|
||||||
|
+* *
|
||||||
|
+*****************************************************************************/
|
||||||
|
+#ifndef _ONI_PLATFORM_LINUX_RISCV_H_
|
||||||
|
+#define _ONI_PLATFORM_LINUX_RISCV_H_
|
||||||
|
+
|
||||||
|
+// Start with Linux-x86, and override what's different
|
||||||
|
+#include "../Linux-x86/OniPlatformLinux-x86.h"
|
||||||
|
+
|
||||||
|
+//---------------------------------------------------------------------------
|
||||||
|
+// Platform Basic Definition
|
||||||
|
+//---------------------------------------------------------------------------
|
||||||
|
+#undef ONI_PLATFORM
|
||||||
|
+#undef ONI_PLATFORM_STRING
|
||||||
|
+#define ONI_PLATFORM ONI_PLATFORM_LINUX_RISCV
|
||||||
|
+#define ONI_PLATFORM_STRING "Linux-RISCV"
|
||||||
|
+
|
||||||
|
+#endif //_ONI_PLATFORM_LINUX_RISCV_H_
|
||||||
|
+
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue