Compare commits

..

86 commits

Author SHA1 Message Date
Marcin Juszkiewicz
1f69cb7539 Add OpenNI2 driver on riscv64
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
2026-01-02 15:27:24 +01:00
Nicolas Chauvet
42509b7498 Rebuilt for OpenCV-4.12 2025-12-10 16:14:57 +01:00
Dominik 'Rathann' Mierzejewski
ee4496ce03 address review findings
- fixed duplicate files warning
- made file lists more explicit
- corrected License tag
- added missing Provides: for bundled parson
- added executable bit to fwfetcher.py script and fixed shebang
- avoid timestamps in generated docs for reproducibility
2025-11-26 18:58:53 +01:00
Dominik 'Rathann' Mierzejewski
afa6666ec3 drop unused patches 2025-11-26 18:58:47 +01:00
Dominik 'Rathann' Mierzejewski
efd58e5baa Updated to 0.7.5
- Dropped obsolete patches
- Updated URL
2025-11-26 18:58:37 +01:00
Fedora Release Engineering
126791156c Unretirement request: libfreenect on rawhide, f43, f42
Releng issue: https://pagure.io/releng/issue/13075

This reverts commit 44bf89d545.

Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2025-11-11 16:24:00 +00:00
Orphaned Packages Process
44bf89d545 Orphaned for 6+ weeks 2025-09-28 15:46:48 -05:00
Fedora Release Engineering
dcf7f68d15 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 19:40:11 +00:00
Python Maint
82cdb292a3 Rebuilt for Python 3.14 2025-06-04 08:17:06 +02:00
Sérgio M. Basto
6475407250 Rebuild for opencv-4.11.0 2025-02-04 02:44:23 +00:00
Fedora Release Engineering
2c0e95bf9e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 11:15:43 +00:00
Orion Poplawski
80f39ba0f4 Rebuild with numpy 2.x (rhbz#2333776) 2024-12-24 13:37:23 -07:00
Sérgio M. Basto
f12a983f14 Rebuild for opencv 4.10.0 2024-07-25 23:43:23 +01:00
Fedora Release Engineering
1dd8ebc2f8 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 13:53:22 +00:00
Python Maint
d4f1291e35 Rebuilt for Python 3.13 2024-06-09 12:52:47 +02:00
Sérgio M. Basto
40010c080a Rebuild for opencv 4.9.0 2024-02-05 22:40:27 +00:00
Fedora Release Engineering
0584e9ef13 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 02:11:52 +00:00
Fedora Release Engineering
2ed534fa00 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 04:06:57 +00:00
Florian Weimer
f55eb6d562 Fix C compatibility issue in Cython wrapper
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2024-01-04 12:09:13 +01:00
Rich Mattes
1ef45bc200 Fix build error with cython 3 2023-08-07 20:58:31 -04:00
Sérgio M. Basto
8d93c5893e Rebuild for opencv 4.8.0 2023-08-07 03:58:22 +01:00
Fedora Release Engineering
68d7a67de3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 10:53:21 +00:00
Rich Mattes
c24c1822bd Updates for Python 3.12 compatibility
Resolves: rhbz#2220025
2023-07-13 22:00:22 -04:00
Python Maint
bc489b16d6 Rebuilt for Python 3.12 2023-06-17 07:19:27 +02:00
Phil Wyett
ec86d1cb9f Update license comments. 2023-05-23 10:36:05 +01:00
Phil Wyett
1fb2d065b1 Convert license tags to SPDX. 2023-05-23 10:34:50 +01:00
Nicolas Chauvet
e746e2a26d Update to 0.7.0 2023-05-04 15:08:59 +02:00
Fedora Release Engineering
f0320677ae Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 16:21:45 +00:00
Sérgio M. Basto
1354f136ab Rebuild for opencv 4.7.0 2023-01-16 01:45:19 +00:00
Phil Wyett
2f8a148d04 New upstream 0.6.4 2022-09-24 06:38:30 +01:00
Fedora Release Engineering
bec9c63ac9 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 17:50:21 +00:00
Sérgio M. Basto
729a4614a3 Rebuilt for opencv 4.6.0 2022-06-21 12:35:52 +01:00
Python Maint
ab039342ef Rebuilt for Python 3.11 2022-06-13 18:56:35 +02:00
Phil Wyett
676ea2c2bd Fix FTBFS in f36 mass rebuild. 2022-01-26 22:08:31 +00:00
Fedora Release Engineering
5a0ca9b77a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 16:14:54 +00:00
Phil Wyett
2c735ac688 Update spec 2021-09-01 12:01:38 +01:00
Nicolas Chauvet
716e67bb82 Drop Cython rhbz#1984287 2021-08-17 14:29:56 +02:00
Fedora Release Engineering
0f42c525fb - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 11:24:25 +00:00
Python Maint
a9c7d0d194 Rebuilt for Python 3.10 2021-06-04 20:09:08 +02:00
Nicolas Chauvet
8e0c7dae40 Update patch for 0.6.2 2021-03-04 14:37:37 +01:00
Nicolas Chauvet
12998f86ce Rename file 2021-03-04 14:37:07 +01:00
Nicolas Chauvet
6b2da630a0 Update patch 2021-03-04 14:36:48 +01:00
Nicolas Chauvet
ac80ab0ef9 Update to 0.6.2 2021-03-04 14:28:02 +01:00
Fedora Release Engineering
8f326d8a5a - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 17:05:44 +00:00
Nicolas Chauvet
33fee85f5a Rebuilt for OpenCV 2020-10-22 13:29:21 +02:00
Leigh Scott
b3565306f1 Fix unversioned python 2020-08-03 14:10:02 +01:00
Fedora Release Engineering
5962de8b5f - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 03:56:24 +00:00
Fedora Release Engineering
0598ac7385 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 04:40:33 +00:00
Nicolas Chauvet
7c0e8957a5 Rebuilt 2020-06-04 17:48:06 +02:00
Miro Hrončok
43a7f2117e Rebuilt for Python 3.9 2020-05-26 02:50:22 +02:00
Nicolas Chauvet
9206aba454 Update to 0.6.1 2020-05-25 11:25:20 +02:00
Nicolas Chauvet
8796352194 Rebuilt for new ABI 2020-03-03 08:31:15 +01:00
Nicolas Chauvet
caed0572c9 Revert "Hack to keep the previous ABI instead of forging a new one"
This reverts commit 8bd4c1d9bc.
2020-03-03 08:26:48 +01:00
Nicolas Chauvet
85f387205c Update changelog 2020-02-28 15:16:41 +01:00
Nicolas Chauvet
8bd4c1d9bc Hack to keep the previous ABI instead of forging a new one 2020-02-28 15:09:22 +01:00
Nicolas Chauvet
1747099b34 Drop Drop Minor in APIVER 2020-02-28 14:57:48 +01:00
Nicolas Chauvet
7381e30c28 Use modern provides filter 2020-02-28 12:59:16 +01:00
Nicolas Chauvet
cab3ac090b Update to 0.6.0 2020-02-28 12:53:29 +01:00
Leigh Scott
9586e4d6ea Rebuilt for OpenCV 4.2 2020-02-19 22:10:16 +00:00
Fedora Release Engineering
8964dbf515 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 09:09:39 +00:00
Nicolas Chauvet
77a793b697 Rebuilt 2020-01-28 10:45:11 +01:00
Nicolas Chauvet
f53d62f564 Fix for OpenCV4 2020-01-27 13:33:42 +01:00
kwizart
db21e1e034 Rebuilt again 2019-12-29 20:40:51 +01:00
kwizart
7c5177f01a Rebuilt for opencv4 2019-12-29 11:21:42 +01:00
Gwyn Ciesla
33882aca71 Rebuild for new freeglut. 2019-10-04 07:38:07 -05:00
Miro Hrončok
2e56980d4b Rebuilt for Python 3.8 2019-08-19 10:17:43 +02:00
Fedora Release Engineering
cabca34d2d - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 13:17:42 +00:00
Fedora Release Engineering
3f26cae9d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 07:09:54 +00:00
Rich Mattes
6933729ad4 Remove Python 2 support (#1634715) 2019-01-20 12:36:19 -05:00
Fedora Release Engineering
122525edac - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:07:15 +00:00
Igor Gnatenko
062db16a70 add BuildRequires: gcc-c++
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:47 +02:00
Miro Hrončok
fc12df6499 Rebuilt for Python 3.7 2018-06-19 10:45:56 +02:00
Rich Mattes
e30667c48d Add videogroup patch 2018-05-26 17:10:47 -04:00
Rich Mattes
937f2cc1d5 Re-enable OpenCV bindings (rhbz#1551748)
Fix bogus obsoletes (rhbz#1537213)
Update udev rule to allow device access to "video" group
2018-05-26 17:08:04 -04:00
Adam Williamson
72c484a9dc Update source to 0.5.7 2018-03-05 14:04:38 -08:00
Adam Williamson
1bee53d925 Bump to 0.5.7, disable OpenCV for now (#1551748) 2018-03-05 13:55:56 -08:00
Adam Williamson
cf0b818fa8 Rebuild for opencv soname bump 2018-03-05 11:59:51 -08:00
Fedora Release Engineering
f058c02c6b - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 21:39:40 +00:00
Fedora Release Engineering
77f59d2dc9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 01:28:46 +00:00
Fedora Release Engineering
56b966f464 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 18:52:05 +00:00
Igor Gnatenko
fe0b27038c Rebuild due to bug in RPM (RHBZ #1468476)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-07-07 12:19:50 +02:00
Rich Mattes
5ab6bcecb6 Update to release 0.5.5 2017-03-08 19:07:17 -05:00
Fedora Release Engineering
ada102047d - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 18:40:37 +00:00
Fedora Release Engineering
9b7109e20d - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 07:38:54 +00:00
Rich Mattes
5815ddc108 Rebuild for opencv-3.1 changes 2016-05-14 12:52:50 -04:00
Ralf Corsépius
ed16f5bd37 Rebuild for opencv-3.1.0. 2016-05-02 15:38:00 +02:00
13 changed files with 466 additions and 227 deletions

8
.gitignore vendored
View file

@ -1,7 +1 @@
/libfreenect-v0.1.2.tar.bz2 libfreenect-*.tar.*
/libfreenect-de79349de52e0458da38f3eaa721f2ca4b45ff29.tar.gz
/libfreenect-a35642fefd533c6b21864cd3bab7fefb9f0e2f00.tar.gz
/libfreenect-9b671cd7210d16d330a88c7f4e80ce48f42d013e.tar.gz
/libfreenect-8d957924f8a82a235aaa44d8c455113f10c0373f.tar.bz2
/libfreenect-b2043d02b66c9c59899bbf09cb1a13206e8fa10d.tar.gz
/libfreenect-baec1501c703c731f32eac2bf97c28c77b51fdd8.tar.gz

View file

@ -1,12 +0,0 @@
diff -up ./OpenNI2-FreenectDriver/CMakeLists.txt.openni2 ./OpenNI2-FreenectDriver/CMakeLists.txt
--- ./OpenNI2-FreenectDriver/CMakeLists.txt.openni2 2014-05-02 19:44:28.783577819 -0400
+++ ./OpenNI2-FreenectDriver/CMakeLists.txt 2014-05-02 19:44:31.992726677 -0400
@@ -10,8 +10,6 @@ set(CMAKE_CXX_FLAGS "-Wno-gnu-static-flo
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib/OpenNI2-FreenectDriver)
set_target_properties(FreenectDriver PROPERTIES
- VERSION ${PROJECT_VER}
- SOVERSION ${PROJECT_APIVER}
OUTPUT_NAME FreenectDriver)
add_definitions(-DPROJECT_VER="${PROJECT_VER}")

View file

@ -1,12 +0,0 @@
diff -up ./OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h.aarch64 ./OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h
--- ./OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h.aarch64 2014-05-05 18:15:56.817039757 -0400
+++ ./OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h 2014-05-05 18:16:43.015509240 -0400
@@ -39,7 +39,7 @@
# include "Android-Arm/OniPlatformAndroid-Arm.h"
#elif (__linux__ && (__i386__ || __x86_64__))
# include "Linux-x86/OniPlatformLinux-x86.h"
-#elif (__linux__ && __arm__)
+#elif (__linux__ && (__arm__ || __aarch64__))
# include "Linux-Arm/OniPlatformLinux-Arm.h"
#elif _ARC
# include "ARC/OniPlaformARC.h"

View file

@ -1,43 +0,0 @@
diff -up ./wrappers/python/CMakeLists.txt.cmake30 ./wrappers/python/CMakeLists.txt
--- ./wrappers/python/CMakeLists.txt.cmake30 2015-01-26 22:01:37.000000000 -0500
+++ ./wrappers/python/CMakeLists.txt 2016-02-21 11:19:40.995391145 -0500
@@ -2,19 +2,18 @@
# Python extension builder
######################################################################################
-include(FindPythonInterp)
-include(FindPythonLibs)
-
+include(FindPkgConfig)
+pkg_check_modules(PYTHON python2)
find_program(CYTHON_EXECUTABLE cython)
# Figure out installation path
execute_process(COMMAND
- ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(prefix='${CMAKE_INSTALL_PREFIX}')"
+ ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))"
OUTPUT_VARIABLE PYTHON_SITE_PACKAGES OUTPUT_STRIP_TRAILING_WHITESPACE)
# Figure out numpy include path
execute_process(COMMAND
- ${PYTHON_EXECUTABLE} -c "import numpy; print numpy.get_include()"
+ ${PYTHON_EXECUTABLE} -c "import numpy; print (numpy.get_include())"
OUTPUT_VARIABLE NUMPY_INCLUDE_PATH OUTPUT_STRIP_TRAILING_WHITESPACE)
# How to Cython the .pyx file
@@ -29,11 +28,13 @@ set_target_properties(cython_freenect PR
OUTPUT_NAME "freenect"
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(cython_freenect freenect_sync ${PYTHON_LIBRARIES})
-include_directories(${PYTHON_INCLUDE_PATH} ../c_sync/ ${NUMPY_INCLUDE_PATH})
+include_directories(${PYTHON_INCLUDE_DIRS} ../c_sync/ ${NUMPY_INCLUDE_PATH})
# Install the extension
install(TARGETS cython_freenect
- DESTINATION ${PYTHON_SITE_PACKAGES})
+ ARCHIVE DESTINATION ${PYTHON_SITE_PACKAGES}
+ LIBRARY DESTINATION ${PYTHON_SITE_PACKAGES}
+ COMPONENT library)
# TODO: decide on what to do with demo_ scripts and were to install
# them

View file

@ -1,43 +0,0 @@
diff -up ./OpenNI2-FreenectDriver/src/ColorStream.hpp.cpp11 ./OpenNI2-FreenectDriver/src/ColorStream.hpp
--- ./OpenNI2-FreenectDriver/src/ColorStream.hpp.cpp11 2016-02-21 12:18:01.412029788 -0500
+++ ./OpenNI2-FreenectDriver/src/ColorStream.hpp 2016-02-21 12:18:21.272807345 -0500
@@ -13,9 +13,9 @@ namespace FreenectDriver
{
public:
// from NUI library & converted to radians
- static const float DIAGONAL_FOV = 73.9 * (M_PI / 180);
- static const float HORIZONTAL_FOV = 62 * (M_PI / 180);
- static const float VERTICAL_FOV = 48.6 * (M_PI / 180);
+ static constexpr float DIAGONAL_FOV = 73.9 * (M_PI / 180);
+ static constexpr float HORIZONTAL_FOV = 62 * (M_PI / 180);
+ static constexpr float VERTICAL_FOV = 48.6 * (M_PI / 180);
private:
typedef std::map< OniVideoMode, std::pair<freenect_video_format, freenect_resolution> > FreenectVideoModeMap;
diff -up ./OpenNI2-FreenectDriver/src/DepthStream.hpp.cpp11 ./OpenNI2-FreenectDriver/src/DepthStream.hpp
--- ./OpenNI2-FreenectDriver/src/DepthStream.hpp.cpp11 2016-02-21 12:22:59.048682374 -0500
+++ ./OpenNI2-FreenectDriver/src/DepthStream.hpp 2016-02-21 12:23:27.387791861 -0500
@@ -17,9 +17,9 @@ namespace FreenectDriver
{
public:
// from NUI library and converted to radians
- static const float DIAGONAL_FOV = 70 * (M_PI / 180);
- static const float HORIZONTAL_FOV = 58.5 * (M_PI / 180);
- static const float VERTICAL_FOV = 45.6 * (M_PI / 180);
+ static constexpr float DIAGONAL_FOV = 70 * (M_PI / 180);
+ static constexpr float HORIZONTAL_FOV = 58.5 * (M_PI / 180);
+ static constexpr float VERTICAL_FOV = 45.6 * (M_PI / 180);
// from DepthKinectStream.cpp
static const int MAX_VALUE = 10000;
static const unsigned long long GAIN_VAL = 42;
@@ -28,8 +28,8 @@ namespace FreenectDriver
static const unsigned long long PARAM_COEFF_VAL = 4;
static const unsigned long long SHIFT_SCALE_VAL = 10;
static const unsigned long long ZERO_PLANE_DISTANCE_VAL = 120;
- static const double ZERO_PLANE_PIXEL_SIZE_VAL = 0.10520000010728836;
- static const double EMITTER_DCMOS_DISTANCE_VAL = 7.5;
+ static constexpr double ZERO_PLANE_PIXEL_SIZE_VAL = 0.10520000010728836;
+ static constexpr double EMITTER_DCMOS_DISTANCE_VAL = 7.5;
private:
typedef std::map< OniVideoMode, std::pair<freenect_depth_format, freenect_resolution> > FreenectDepthModeMap;

View file

@ -1,18 +0,0 @@
diff -up ./wrappers/cpp/cppview.cpp.noabort ./wrappers/cpp/cppview.cpp
--- ./wrappers/cpp/cppview.cpp.noabort 2016-02-21 11:03:00.653334752 -0500
+++ ./wrappers/cpp/cppview.cpp 2016-02-21 11:04:51.022655752 -0500
@@ -348,7 +348,13 @@ void *gl_threadfunc(void *arg)
}
int main(int argc, char **argv) {
- device = &freenect.createDevice<MyFreenectDevice>(0);
+ try {
+ device = &freenect.createDevice<MyFreenectDevice>(0);
+ }
+ catch (std::exception &e) {
+ std::cerr << std::endl << "Exception starting Freenect device : " << e.what() << std::endl;
+ exit(1);
+ }
device->startVideo();
device->startDepth();
gl_threadfunc(NULL);

View file

@ -0,0 +1,21 @@
diff -up ./platform/linux/udev/51-kinect.rules.videogroup ./platform/linux/udev/51-kinect.rules
--- ./platform/linux/udev/51-kinect.rules.videogroup 2018-05-26 15:56:37.668319068 -0400
+++ ./platform/linux/udev/51-kinect.rules 2018-05-26 15:57:31.192438926 -0400
@@ -1,11 +1,11 @@
# ATTR{product}=="Xbox NUI Motor"
-SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02b0", MODE="0666"
+SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02b0", MODE="0660" GROUP="video"
# ATTR{product}=="Xbox NUI Audio"
-SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ad", MODE="0666"
+SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ad", MODE="0660" GROUP="video"
# ATTR{product}=="Xbox NUI Camera"
-SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ae", MODE="0666"
+SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02ae", MODE="0660" GROUP="video"
# Kinect for Windows
-SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02c2", MODE="0666"
-SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02be", MODE="0666"
-SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02bf", MODE="0666"
+SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02c2", MODE="0660" GROUP="video"
+SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02be", MODE="0660" GROUP="video"
+SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02bf", MODE="0660" GROUP="video"

View file

@ -0,0 +1,12 @@
diff -up libfreenect-0.7.5/doc/Doxyfile.tstamp libfreenect-0.7.5/doc/Doxyfile
--- libfreenect-0.7.5/doc/Doxyfile.tstamp 2024-01-06 17:57:12.000000000 +0100
+++ libfreenect-0.7.5/doc/Doxyfile 2025-11-24 23:51:39.844958326 +0100
@@ -875,7 +875,7 @@ HTML_COLORSTYLE_GAMMA = 80
# page will contain the date and time when the page was generated. Setting
# this to NO can help when comparing the output of multiple runs.
-HTML_TIMESTAMP = YES
+HTML_TIMESTAMP = NO
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
# files or namespaces will be aligned in HTML using tables. If set to

View file

@ -0,0 +1,61 @@
diff -up libfreenect-0.7.5/src/fwfetcher.py.py3 libfreenect-0.7.5/src/fwfetcher.py
--- libfreenect-0.7.5/src/fwfetcher.py.py3 2024-01-06 17:57:12.000000000 +0100
+++ libfreenect-0.7.5/src/fwfetcher.py 2025-11-25 00:20:24.085725755 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
from __future__ import absolute_import, division, print_function
@@ -10,10 +10,10 @@ import sys
import time
import zipfile
-try:
+if sys.version_info[0] > 2:
# Python 3
from urllib.request import Request, URLError, urlopen
-except ImportError:
+else:
# Python 2
from urllib2 import Request, URLError, urlopen
diff -up libfreenect-0.7.5/wrappers/python/CMakeLists.txt.py3 libfreenect-0.7.5/wrappers/python/CMakeLists.txt
--- libfreenect-0.7.5/wrappers/python/CMakeLists.txt.py3 2024-01-06 17:57:12.000000000 +0100
+++ libfreenect-0.7.5/wrappers/python/CMakeLists.txt 2025-11-11 09:48:50.045686564 +0100
@@ -19,10 +19,7 @@ find_program(CYTHON_EXECUTABLE cython)
# Figure out installation path
# CMake populates this var automatically but we need to specify prefix
-execute_process(COMMAND
- ${Python${Python_BUILD_VERSION}_EXECUTABLE}
- -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(plat_specific=False, standard_lib=False, prefix='${CMAKE_INSTALL_PREFIX}'))"
- OUTPUT_VARIABLE Python${Python_BUILD_VERSION}_SITELIB OUTPUT_STRIP_TRAILING_WHITESPACE)
+set(Python${Python_BUILD_VERSION}_SITELIB "${Python${Python_BUILD_VERSION}_SITEARCH}")
# Figure out numpy include path
# todo: CMake >= 3.14 populates this var automatically when using COMPONENTS NumPy
@@ -73,7 +70,10 @@ target_include_directories(cython${Pytho
# Install the extension
install(TARGETS cython${Python_BUILD_VERSION}_freenect
- DESTINATION ${Python${Python_BUILD_VERSION}_SITELIB})
+ DESTINATION ${Python${Python_BUILD_VERSION}_SITELIB}
+ ARCHIVE DESTINATION ${PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES}
+ LIBRARY DESTINATION ${PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES}
+ )
# TODO: decide on what to do with demo_ scripts and were to install
# them
diff -up libfreenect-0.7.5/wrappers/python/setup.py.py3 libfreenect-0.7.5/wrappers/python/setup.py
--- libfreenect-0.7.5/wrappers/python/setup.py.py3 2024-01-06 17:57:12.000000000 +0100
+++ libfreenect-0.7.5/wrappers/python/setup.py 2025-11-11 09:48:50.045794539 +0100
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-from distutils.core import setup
-from distutils.extension import Extension
+from setuptools import setup
+from setuptools import Extension
import re
import numpy as np

12
libfreenect-openni2.patch Normal file
View file

@ -0,0 +1,12 @@
diff -up libfreenect-0.6.1/OpenNI2-FreenectDriver/CMakeLists.txt.openni2 libfreenect-0.6.1/OpenNI2-FreenectDriver/CMakeLists.txt
--- libfreenect-0.6.1/OpenNI2-FreenectDriver/CMakeLists.txt.openni2 2020-05-25 11:14:11.573900769 +0200
+++ libfreenect-0.6.1/OpenNI2-FreenectDriver/CMakeLists.txt 2020-05-25 11:22:13.057933733 +0200
@@ -12,8 +12,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib/OpenNI2-FreenectDriver)
set_target_properties(FreenectDriver PROPERTIES
- VERSION ${PROJECT_VER}
- SOVERSION ${PROJECT_APIVER}
OUTPUT_NAME FreenectDriver)
add_definitions(-DPROJECT_VER="${PROJECT_VER}")

View file

@ -1,45 +1,43 @@
%global commit baec1501c703c731f32eac2bf97c28c77b51fdd8
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%{?filter_setup:
%filter_provides_in %{python_sitearch}/.*\.so$
%filter_setup
}
Name: libfreenect Name: libfreenect
Version: 0.5.3 Version: 0.7.5
Release: 1%{?dist} Release: 4%{?dist}
Summary: Device driver for the Kinect Summary: Device driver for the Kinect
License: GPLv2+ or ASL 2.0 # Core libfreenect is available as Apache-2.0 OR GPL-2.0-only
URL: http://www.openkinect.org/ # OpenNI driver is available as Apache-2.0
# fakenect/parson.{c,h} is MIT
# fwfetcher.py is BSD-2-Clause
License: Apache-2.0 AND (GPL-2.0-only OR Apache-2.0) AND MIT AND BSD-2-Clause
URL: https://github.com/OpenKinect/
Source0: https://github.com/OpenKinect/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz Source0: https://github.com/OpenKinect/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
# Fix python installation path discovery # Edit udev rule to only allow access to the device from the video group
Patch0: %{name}-0.5.2-cmake30.patch Patch0: %{name}-0.5.7-videogroup.patch
# Freenect openni driver is a plugin lib, and doesn't need soversion symlinks # Freenect openni driver is a plugin lib, and doesn't need soversion symlinks
Patch1: %{name}-0.4.1-openni2.patch Patch1: %{name}-openni2.patch
# Detect aarch64
Patch2: %{name}-0.4.2-aarch64.patch
# Allow for proper libdir # Allow for proper libdir
Patch3: %{name}-0.4.2-libdir.patch Patch3: %{name}-0.4.2-libdir.patch
# BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1143912 # BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1143912
Patch4: secarch.patch Patch4: secarch.patch
# Catch exception in freenect-cppview when a freenect device is not presenet # Fix the installation path for python libs
Patch5: %{name}-0.5.3-noabort.patch Patch5: %{name}-0.7.5-py3.patch
# Fix const/constexpr usage for c++11 # Avoid timestamps in generated docs
Patch6: %{name}-0.5.3-cpp11.patch Patch6: %{name}-0.7.5-notimestamp.patch
BuildRequires: cmake # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
BuildRequires: Cython ExcludeArch: %{ix86}
BuildRequires: gcc-c++
BuildRequires: cmake3
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: freeglut-devel BuildRequires: freeglut-devel
BuildRequires: libusb1-devel BuildRequires: libusb1-devel
BuildRequires: libGL-devel BuildRequires: libGL-devel
BuildRequires: libXi-devel BuildRequires: libXi-devel
BuildRequires: libXmu-devel BuildRequires: libXmu-devel
BuildRequires: numpy
BuildRequires: opencv-devel BuildRequires: opencv-devel
BuildRequires: python-devel BuildRequires: python3-Cython
BuildRequires: python3-devel
BuildRequires: python3-numpy
Requires: udev Requires: udev
@ -48,7 +46,6 @@ libfreenect is a free and open source library that provides access to the
Kinect device. Currently, the library supports the RGB webcam, the depth Kinect device. Currently, the library supports the RGB webcam, the depth
image, the LED, and the tilt motor. image, the LED, and the tilt motor.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
@ -68,6 +65,8 @@ developing applications that use %{name}.
%package fakenect %package fakenect
Summary: Library to play back recorded data for %{name} Summary: Library to play back recorded data for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
# upstream commit f1bb6e7fbe347754fbfc4613bf43000ef0b0c2b2
Provides: bundled(parson)
%description fakenect %description fakenect
Fakenect consists of a "record" program to save dumps from the kinect sensor Fakenect consists of a "record" program to save dumps from the kinect sensor
@ -83,13 +82,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-opencv package contains the libfreenect binding The %{name}-opencv package contains the libfreenect binding
library for OpenCV development. library for OpenCV development.
%package python %package -n python3-%{name}
Summary: Python bindings for %{name} Summary: Python 3 bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: numpy Requires: python3-numpy
%description python %description -n python3-%{name}
The %{name}-python package contains python bindings for %{name} The %{name}-python package contains python 3 bindings for %{name}
%package openni %package openni
Summary: OpenNI2 driver for the Kinect Summary: OpenNI2 driver for the Kinect
@ -100,106 +99,328 @@ OpenNI2 driver. It allows OpenNI2 to use Kinect hardware on Linux and OSX.
It was originally a separate project but is now distributed with libfreenect. It was originally a separate project but is now distributed with libfreenect.
%prep %prep
%setup -qn %{name}-%{commit} %setup -q
rm -rf platform/windows rm -rv platform/windows
%patch0 -p0 -b .cmake30
%patch1 -p0 -b .openni2 %patch -P 0 -p0 -b .videogroup
%patch2 -p0 -b .aarch64 %patch -P 1 -p1 -b .openni2
%patch3 -p0 -b .libdir %patch -P 3 -p0 -b .libdir
%patch4 -p1 -b .secarch %patch -P 4 -p1 -b .secarch
%patch5 -p0 -b .noabort %patch -P 5 -p1 -b .py3
%if 0%{fedora} > 23 %patch -P 6 -p1 -b .tstamp
%patch6 -p0 -b .cpp11
%endif
%build %build
mkdir build %cmake \
pushd build
%cmake .. \
-DBUILD_AUDIO=ON \ -DBUILD_AUDIO=ON \
-DBUILD_C_SYNC=ON \ -DBUILD_C_SYNC=ON \
-DBUILD_CV=ON \ -DBUILD_CV=ON \
-DBUILD_REDIST_PACKAGE=ON \ -DBUILD_REDIST_PACKAGE=ON \
-DBUILD_EXAMPLES=ON \ -DBUILD_EXAMPLES=ON \
-DBUILD_FAKENECT=ON \ -DBUILD_FAKENECT=ON \
-DBUILD_PYTHON=ON \ -DBUILD_PYTHON=OFF \
-DBUILD_OPENNI2_DRIVER=ON -DBUILD_PYTHON2=OFF \
-DBUILD_PYTHON3=ON \
-DBUILD_OPENNI2_DRIVER=ON
make %{?_smp_mflags} VERBOSE=1 %cmake_build
popd
pushd doc pushd doc
doxygen Doxyfile doxygen Doxyfile
popd popd
%install %install
rm -rf %{buildroot} %cmake_install
make -C build install DESTDIR=%{buildroot}
# Install the kinect udev rule # Install the kinect udev rule
mkdir -p %{buildroot}/lib/udev/rules.d mkdir -p %{buildroot}%{_udevrulesdir}
mkdir -p %{buildroot}%{_libdir}/openni2 mkdir -p %{buildroot}%{_libdir}/openni2
install -p -m 0644 platform/linux/udev/51-kinect.rules %{buildroot}/lib/udev/rules.d install -p -m 0644 platform/linux/udev/51-kinect.rules %{buildroot}%{_udevrulesdir}
# Delete libtool archives # Delete libtool archives
find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name '*.la' -exec rm -f {} ';'
# Move the fwfetcher script to the correct datadir # Move the fwfetcher script to the correct datadir
mkdir -p %{buildroot}%{_datadir}/%{name} mkdir -p %{buildroot}%{_datadir}/%{name}
mv %{buildroot}%{_datadir}/fwfetcher.py %{buildroot}%{_datadir}/%{name} mv %{buildroot}%{_datadir}/fwfetcher.py %{buildroot}%{_datadir}/%{name}
# Get rid of the hashbang in the fwfetcher song chmod +x %{buildroot}%{_datadir}/%{name}/fwfetcher.py
sed -i "s|#!/usr/bin/env python||" %{buildroot}%{_datadir}/%{name}/fwfetcher.py
# Move openni plugin: rhbz#1094787 # Move openni plugin: rhbz#1094787
mv %{buildroot}%{_libdir}/OpenNI2-FreenectDriver %{buildroot}%{_libdir}/openni2/Drivers mv %{buildroot}%{_libdir}/OpenNI2-FreenectDriver %{buildroot}%{_libdir}/openni2/Drivers
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post opencv -p /sbin/ldconfig
%postun opencv -p /sbin/ldconfig
%files %files
%doc APACHE20 GPL2 README.md CONTRIB %license APACHE20 GPL2
/lib/udev/rules.d/* %doc README.md CONTRIB
%{_libdir}/libfreenect.so.* %{_udevrulesdir}/51-kinect.rules
%{_libdir}/libfreenect_sync.so.* %{_libdir}/libfreenect.so.0{,.*}
%exclude %{_bindir}/freenect-cvdemo %{_libdir}/libfreenect_sync.so.0{,.*}
%exclude %{_bindir}/fakenect %{_bindir}/freenect-camtest
%{_bindir}/freenect-* %{_bindir}/freenect-chunkview
%{_bindir}/freenect-cpp_pcview
%{_bindir}/freenect-cppview
%{_bindir}/freenect-glpclview
%{_bindir}/freenect-glview
%{_bindir}/freenect-hiview
%{_bindir}/freenect-micview
%{_bindir}/freenect-regtest
%{_bindir}/freenect-regview
%{_bindir}/freenect-tiltdemo
%{_bindir}/freenect-wavrecord
%{_datadir}/%{name} %{_datadir}/%{name}
%files opencv %files opencv
%{_bindir}/freenect-cvdemo %{_bindir}/freenect-cvdemo
%{_libdir}/libfreenect_cv.so.* %{_libdir}/libfreenect_cv.so.0{,.*}
%files devel %files devel
%doc doc/html %doc doc/html
%doc examples/*.c wrappers/cpp/cppview.cpp %doc examples/*.c wrappers/cpp/cppview.cpp
%{_includedir}/libfreenect %{_includedir}/libfreenect
%{_libdir}/*.so %{_libdir}/libfreenect.so
%{_libdir}/pkgconfig/* %{_libdir}/libfreenect_cv.so
%{_libdir}/fakenect/*.so %{_libdir}/libfreenect_sync.so
%{_libdir}/pkgconfig/libfreenect.pc
%{_libdir}/fakenect/libfakenect.so
%files static %files static
%{_libdir}/*.a %{_libdir}/libfreenect.a
%{_libdir}/libfreenect_sync.a
%files python %files -n python3-%{name}
%{python_sitearch}/*.so %{python3_sitearch}/freenect.so
%files fakenect %files fakenect
%dir %{_libdir}/fakenect %dir %{_libdir}/fakenect
%{_bindir}/fakenect-record %{_bindir}/fakenect-record
%{_libdir}/fakenect/*.so.* %{_libdir}/fakenect/libfakenect.so.0{,.*}
%{_bindir}/fakenect %{_bindir}/fakenect
%{_mandir}/man1/fakenect*1.* %{_mandir}/man1/fakenect-record.1.*
%{_mandir}/man1/fakenect.1.*
%files openni %files openni
%license APACHE20 GPL2
%{_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
- fixed duplicate files warning
- made file lists more explicit
- corrected License tag
- added missing Provides: for bundled parson
- added executable bit to fwfetcher.py script and fixed shebang
- avoid timestamps in generated docs for reproducibility
* Tue Nov 11 2025 Dominik Mierzejewski <dominik@greysector.net> - 0.7.5-1
- Updated to 0.7.5
- Dropped obsolete patches
- Updated URL
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Wed Jun 04 2025 Python Maint <python-maint@redhat.com> - 0.7.0-15
- Rebuilt for Python 3.14
* Tue Feb 04 2025 Sérgio Basto <sergio@serjux.com> - 0.7.0-14
- Rebuild for opencv-4.11.0
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Tue Dec 24 2024 Orion Poplawski <orion@nwra.com> - 0.7.0-12
- Rebuild with numpy 2.x (rhbz#2333776)
* Thu Jul 25 2024 Sérgio Basto <sergio@serjux.com> - 0.7.0-11
- Rebuild for opencv 4.10.0
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sun Jun 09 2024 Python Maint <python-maint@redhat.com> - 0.7.0-9
- Rebuilt for Python 3.13
* Mon Feb 05 2024 Sérgio Basto <sergio@serjux.com> - 0.7.0-8
- Rebuild for opencv 4.9.0
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 04 2024 Florian Weimer <fweimer@redhat.com> - 0.7.0-5
- Fix C compatibility issue in Cython wrapper
* Mon Aug 07 2023 Rich Mattes <richmattes@gmail.com> - 0.7.0-4
- Fix build error with cython 3
* Mon Aug 07 2023 Sérgio Basto <sergio@serjux.com> - 0.7.0-4
- Rebuild for opencv 4.8.0
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jul 13 2023 Rich Mattes <richmattes@gmail.com> - 0.7.0-2
- Updates for Python 3.12 compatibility
- Resolves: rhbz#2220025
* Sat Jun 17 2023 Python Maint <python-maint@redhat.com> - 0.7.0-2
- Rebuilt for Python 3.12
* Thu May 04 2023 Nicolas Chauvet <kwizart@gmail.com> - 0.7.0-1
- Update to 0.7.0
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Jan 16 2023 Sérgio Basto <sergio@serjux.com> - 0.6.4-2
- Rebuild for opencv 4.7.0
* Sat Sep 24 2022 Phil Wyett <philip.wyett@kathenas.org> - 0.6.4-1
- New upstream version 0.6.4
- Remove old globals
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 21 2022 Sérgio Basto <sergio@serjux.com> - 0.6.2-8
- Rebuilt for opencv 4.6.0
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.6.2-7
- Rebuilt for Python 3.11
* Wed Jan 26 2022 Phil Wyett <philip.wyett@kathenas.org> - 0.6.2-6
- Fix FTBFS. Update cmake related OpenGL GLVND and GLUT.
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Sep 01 2021 Phil Wyett <philip.wyett@kathenas.org> - 0.6.2-4
- Drop not needed Cython BuildRequires
- Resolves: #1984287
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.6.2-2
- Rebuilt for Python 3.10
* Thu Mar 04 2021 Nicolas Chauvet <kwizart@gmail.com> - 0.6.2-1
- Update to 0.6.2
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Oct 22 2020 Nicolas Chauvet <kwizart@gmail.com> - 0.6.1-7
- Rebuilt for OpenCV
* Mon Aug 03 2020 Leigh Scott <leigh123linux@gmail.com> - 0.6.1-6
- Fix unversioned python
- Switch to new cmake macros
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jun 04 2020 Nicolas Chauvet <kwizart@gmail.com> - 0.6.1-3
- Rebuilt for OpenCV 4.3
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-2
- Rebuilt for Python 3.9
* Mon May 25 2020 Nicolas Chauvet <kwizart@gmail.com> - 0.6.1-1
- Update to 0.6.1
* Tue Mar 03 2020 Nicolas Chauvet <kwizart@gmail.com> - 0.6.0-3
- Update to new ABI
* Fri Feb 28 2020 Nicolas Chauvet <kwizart@gmail.com> - 0.6.0-2
- Rebuilt to keep previous ABI
* Fri Feb 28 2020 Nicolas Chauvet <kwizart@gmail.com> - 0.6.0-1
- Update to 0.6.0
- Drop Minor in APIVER (SONAME change)
* Wed Feb 19 2020 Leigh Scott <leigh123linux@gmail.com> - 0.5.7-15
- Rebuilt for OpenCV 4.2
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.7-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Jan 28 2020 Nicolas Chauvet <kwizart@gmail.com> - 0.5.7-13
- Rebuilt for OpenCV 4.2
* Mon Jan 27 2020 Nicolas Chauvet <kwizart@gmail.com> - 0.5.7-12
- Fix for OpenCV4
* Sun Dec 29 2019 Nicolas Chauvet <kwizart@gmail.com> - 0.5.7-11
- Rebuilt for opencv4
* Tue Sep 17 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.5.7-9
- Rebuilt for new freeglut
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.7-8
- Rebuilt for Python 3.8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Jan 20 2019 Rich Mattes <richmattes@gmail.com> - 0.5.7-5
- Remove Python 2 support (#1634715)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.7-3
- Rebuilt for Python 3.7
* Sat May 26 2018 Rich Mattes <richmattes@gmail.com> - 0.5.7-2
- Re-enable OpenCV bindings (rhbz#1551748)
- Fix bogus obsoletes (rhbz#1537213)
- Update udev rule to allow device access to "video" group
* Mon Mar 05 2018 Adam Williamson <awilliam@redhat.com> - 0.5.7-1
- Bump to 0.5.7 (bug fixes)
- Disable openCV support for now (see #1551748)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Jul 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.5.5-2
- Rebuild due to bug in RPM (RHBZ #1468476)
* Wed Mar 08 2017 Rich Mattes <richmattes@gmail.com> - 0.5.5-1
- Update to release 0.5.5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Sat May 14 2016 Rich Mattes <richmattes@gmail.com> - 0.5.3-3
- Rebuild for opencv-3.1 changes
* Mon May 02 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.5.3-2
- Rebuild for opencv-3.1.0.
* Sun Feb 21 2016 Rich Mattes <richmattes@gmail.com> - 0.5.3-1 * Sun Feb 21 2016 Rich Mattes <richmattes@gmail.com> - 0.5.3-1
- Update to release 0.5.3 (rhbz#1272803) - Update to release 0.5.3 (rhbz#1272803)
- Fix rawhide FTBFS (rhbz#1307722) - Fix rawhide FTBFS (rhbz#1307722)

View file

@ -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_
+

View file

@ -1 +1 @@
eccbee8ff4e4d3c0487705d201774053 libfreenect-baec1501c703c731f32eac2bf97c28c77b51fdd8.tar.gz SHA512 (libfreenect-0.7.5.tar.gz) = 6ba9ba632d9021b84a8c137837226fadc6e0e091cf89bf092e8ee805610c227c31da95b50c05d5882357cb80d7e4275693d13d1511eb2eb45f15ffffc2d549bf