kathenas pushed to rpms/libfreenect (epel9). "Update spec"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-10-22 13:58:52 UTC
From 2c735ac688cce1a2905b413278319d6c407c2226 Mon Sep 17 00:00:00 2001
From: Phil Wyett <philip.wyett(a)kathenas.org>
Date: Sep 01 2021 11:01:38 +0000
Subject: Update spec
---
diff --git a/libfreenect.spec b/libfreenect.spec
index 7f6d510..de8b3d0 100644
--- a/libfreenect.spec
+++ b/libfreenect.spec
@@ -5,7 +5,7 @@
Name: libfreenect
Version: 0.6.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Device driver for the Kinect
# Core libfreenect is available as ASL 2.0 OR GPLv2
# OpenNI driver is available as ASL 2.0
@@ -184,6 +184,10 @@ mv %{buildroot}%{_libdir}/OpenNI2-FreenectDriver %{buildroot}%{_libdir}/openni2/
%{_libdir}/openni2
%changelog
+* Wed Sep 01 2021 Phil Wyett <philip.wyett(a)kathenas.org> - 0.6.2-4
+- Drop not needed Cython BuildRequires
+- Resolves: #1984287
+
* Thu Jul 22 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
https://src.fedoraproject.org/rpms/libfreenect/c/2c735ac688cce1a2905b4132...
1Â year, 7Â months
kathenas pushed to rpms/libfreenect (epel9). "Rebuilt for Python 3.10"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-10-22 13:58:52 UTC
From a9c7d0d194f782c9bebf3ad5b3f3693b0ea028a3 Mon Sep 17 00:00:00 2001
From: Python Maint <python-maint(a)redhat.com>
Date: Jun 04 2021 18:09:08 +0000
Subject: Rebuilt for Python 3.10
---
diff --git a/libfreenect.spec b/libfreenect.spec
index abef09e..baaa5b2 100644
--- a/libfreenect.spec
+++ b/libfreenect.spec
@@ -5,7 +5,7 @@
Name: libfreenect
Version: 0.6.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Device driver for the Kinect
# Core libfreenect is available as ASL 2.0 OR GPLv2
# OpenNI driver is available as ASL 2.0
@@ -185,6 +185,9 @@ mv %{buildroot}%{_libdir}/OpenNI2-FreenectDriver %{buildroot}%{_libdir}/openni2/
%{_libdir}/openni2
%changelog
+* Fri Jun 04 2021 Python Maint <python-maint(a)redhat.com> - 0.6.2-2
+- Rebuilt for Python 3.10
+
* Thu Mar 04 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 0.6.2-1
- Update to 0.6.2
https://src.fedoraproject.org/rpms/libfreenect/c/a9c7d0d194f782c9bebf3ad5...
1Â year, 7Â months
kathenas pushed to rpms/libfreenect (epel9). "Update patch for 0.6.2"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-10-22 13:58:52 UTC
From 8e0c7dae406e575739b027fb5179cf772872533b Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mar 04 2021 13:37:37 +0000
Subject: Update patch for 0.6.2
---
diff --git a/libfreenect-0.6.2-py3.patch b/libfreenect-0.6.2-py3.patch
index b9140f3..11ea5f5 100644
--- a/libfreenect-0.6.2-py3.patch
+++ b/libfreenect-0.6.2-py3.patch
@@ -1,6 +1,6 @@
-diff -up ./src/fwfetcher.py.py3 ./src/fwfetcher.py
---- ./src/fwfetcher.py.py3 2016-08-28 09:54:21.000000000 -0400
-+++ ./src/fwfetcher.py 2016-12-29 16:52:00.569437210 -0500
+diff -up libfreenect-0.6.2/src/fwfetcher.py.py3 libfreenect-0.6.2/src/fwfetcher.py
+--- libfreenect-0.6.2/src/fwfetcher.py.py3 2021-02-12 00:51:27.000000000 +0100
++++ libfreenect-0.6.2/src/fwfetcher.py 2021-03-04 14:35:02.568905434 +0100
@@ -1,5 +1,3 @@
-#!/usr/bin/env python2
-
@@ -20,24 +20,24 @@ diff -up ./src/fwfetcher.py.py3 ./src/fwfetcher.py
# Python 2
from urllib2 import Request, URLError, urlopen
-diff -up ./wrappers/python/CMakeLists.txt.py3 ./wrappers/python/CMakeLists.txt
---- ./wrappers/python/CMakeLists.txt.py3 2016-08-28 09:54:21.000000000 -0400
-+++ ./wrappers/python/CMakeLists.txt 2016-12-29 16:49:58.970814941 -0500
-@@ -50,7 +50,7 @@ endif()
- # Figure out installation path
+diff -up libfreenect-0.6.2/wrappers/python/CMakeLists.txt.py3 libfreenect-0.6.2/wrappers/python/CMakeLists.txt
+--- libfreenect-0.6.2/wrappers/python/CMakeLists.txt.py3 2021-02-12 00:51:27.000000000 +0100
++++ libfreenect-0.6.2/wrappers/python/CMakeLists.txt 2021-03-04 14:32:52.382237690 +0100
+@@ -21,7 +21,7 @@ find_program(CYTHON_EXECUTABLE cython)
+ # 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(prefix='${CMAKE_INSTALL_PREFIX}'))"
+ ${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}'))"
+ -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))"
- OUTPUT_VARIABLE PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES OUTPUT_STRIP_TRAILING_WHITESPACE)
+ OUTPUT_VARIABLE Python${Python_BUILD_VERSION}_SITELIB OUTPUT_STRIP_TRAILING_WHITESPACE)
# Figure out numpy include path
-@@ -84,7 +84,10 @@ target_include_directories(cython${Pytho
+@@ -56,7 +56,10 @@ target_include_directories(cython${Pytho
# Install the extension
install(TARGETS cython${Python_BUILD_VERSION}_freenect
-- DESTINATION ${PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES})
-+ DESTINATION ${PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES}
+- 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}
+ )
https://src.fedoraproject.org/rpms/libfreenect/c/8e0c7dae406e575739b027fb...
1Â year, 7Â months
kathenas pushed to rpms/libfreenect (epel9). "Update patch"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-10-22 13:58:51 UTC
From 6b2da630a02a3b2c4d1830b310e88d308b7ddbaa Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mar 04 2021 13:36:48 +0000
Subject: Update patch
---
diff --git a/libfreenect.spec b/libfreenect.spec
index 5585916..abef09e 100644
--- a/libfreenect.spec
+++ b/libfreenect.spec
@@ -22,7 +22,7 @@ Patch3: %{name}-0.4.2-libdir.patch
# BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1143912
Patch4: secarch.patch
# Fix the installation path for python libs
-Patch7: %{name}-0.5.5-py3.patch
+Patch5: %{name}-0.6.2-py3.patch
BuildRequires: gcc-c++
BuildRequires: cmake3
@@ -105,7 +105,7 @@ rm -rf platform/windows
%patch1 -p1 -b .openni2
%patch3 -p0 -b .libdir
%patch4 -p1 -b .secarch
-%patch7 -p1 -b .py3
+%patch5 -p1 -b .py3
%build
https://src.fedoraproject.org/rpms/libfreenect/c/6b2da630a02a3b2c4d1830b3...
1Â year, 7Â months
kathenas pushed to rpms/libfreenect (epel9). "Update to 0.6.2"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-10-22 13:58:51 UTC
From ac80ab0ef9624949895505e41679e94a24dd29c2 Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mar 04 2021 13:28:02 +0000
Subject: Update to 0.6.2
---
diff --git a/libfreenect.spec b/libfreenect.spec
index 4acd96f..5585916 100644
--- a/libfreenect.spec
+++ b/libfreenect.spec
@@ -4,8 +4,8 @@
%global __provides_exclude %{python3_sitearch}/.*\.so$
Name: libfreenect
-Version: 0.6.1
-Release: 8%{?dist}
+Version: 0.6.2
+Release: 1%{?dist}
Summary: Device driver for the Kinect
# Core libfreenect is available as ASL 2.0 OR GPLv2
# OpenNI driver is available as ASL 2.0
@@ -185,6 +185,9 @@ mv %{buildroot}%{_libdir}/OpenNI2-FreenectDriver %{buildroot}%{_libdir}/openni2/
%{_libdir}/openni2
%changelog
+* Thu Mar 04 2021 Nicolas Chauvet <kwizart(a)gmail.com> - 0.6.2-1
+- Update to 0.6.2
+
* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
diff --git a/sources b/sources
index 553e172..8a4caff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libfreenect-0.6.1.tar.gz) = 832cf6f184b71f1a447068c3a7b745471a81ffa5e026ef9cfab9c479e26f4dcd49cb60ffde5238ba18e132c7bb4dd6b812a5b0e443bd0dbb99ea748e359a0e16
+SHA512 (libfreenect-0.6.2.tar.gz) = e232487fe62a81161e6e74d34a625d6e86ca56befc1692590ecf863ce6b96b9094b3042557e8a4801a7a1fb3eade4cb02d647cc57dd6b043e7b891d48ff1cba1
https://src.fedoraproject.org/rpms/libfreenect/c/ac80ab0ef9624949895505e4...
1Â year, 7Â months
kathenas pushed to rpms/libfreenect (epel9). "Rename file"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-10-22 13:58:52 UTC
From 12998f86ce95ab8534e35f310deb0544c4b896a0 Mon Sep 17 00:00:00 2001
From: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mar 04 2021 13:37:07 +0000
Subject: Rename file
---
diff --git a/libfreenect-0.5.5-py3.patch b/libfreenect-0.5.5-py3.patch
deleted file mode 100644
index b9140f3..0000000
--- a/libfreenect-0.5.5-py3.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -up ./src/fwfetcher.py.py3 ./src/fwfetcher.py
---- ./src/fwfetcher.py.py3 2016-08-28 09:54:21.000000000 -0400
-+++ ./src/fwfetcher.py 2016-12-29 16:52:00.569437210 -0500
-@@ -1,5 +1,3 @@
--#!/usr/bin/env python2
--
- from __future__ import absolute_import, division, print_function
-
- import hashlib
-@@ -10,10 +8,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 ./wrappers/python/CMakeLists.txt.py3 ./wrappers/python/CMakeLists.txt
---- ./wrappers/python/CMakeLists.txt.py3 2016-08-28 09:54:21.000000000 -0400
-+++ ./wrappers/python/CMakeLists.txt 2016-12-29 16:49:58.970814941 -0500
-@@ -50,7 +50,7 @@ endif()
- # Figure out installation path
- execute_process(COMMAND
- ${PYTHON${Python_BUILD_VERSION}_EXECUTABLE}
-- -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(prefix='${CMAKE_INSTALL_PREFIX}'))"
-+ -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))"
- OUTPUT_VARIABLE PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES OUTPUT_STRIP_TRAILING_WHITESPACE)
-
- # Figure out numpy include path
-@@ -84,7 +84,10 @@ target_include_directories(cython${Pytho
-
- # Install the extension
- install(TARGETS cython${Python_BUILD_VERSION}_freenect
-- DESTINATION ${PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES})
-+ DESTINATION ${PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES}
-+ 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 --git a/libfreenect-0.6.2-py3.patch b/libfreenect-0.6.2-py3.patch
new file mode 100644
index 0000000..b9140f3
--- /dev/null
+++ b/libfreenect-0.6.2-py3.patch
@@ -0,0 +1,46 @@
+diff -up ./src/fwfetcher.py.py3 ./src/fwfetcher.py
+--- ./src/fwfetcher.py.py3 2016-08-28 09:54:21.000000000 -0400
++++ ./src/fwfetcher.py 2016-12-29 16:52:00.569437210 -0500
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env python2
+-
+ from __future__ import absolute_import, division, print_function
+
+ import hashlib
+@@ -10,10 +8,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 ./wrappers/python/CMakeLists.txt.py3 ./wrappers/python/CMakeLists.txt
+--- ./wrappers/python/CMakeLists.txt.py3 2016-08-28 09:54:21.000000000 -0400
++++ ./wrappers/python/CMakeLists.txt 2016-12-29 16:49:58.970814941 -0500
+@@ -50,7 +50,7 @@ endif()
+ # Figure out installation path
+ execute_process(COMMAND
+ ${PYTHON${Python_BUILD_VERSION}_EXECUTABLE}
+- -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(prefix='${CMAKE_INSTALL_PREFIX}'))"
++ -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))"
+ OUTPUT_VARIABLE PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES OUTPUT_STRIP_TRAILING_WHITESPACE)
+
+ # Figure out numpy include path
+@@ -84,7 +84,10 @@ target_include_directories(cython${Pytho
+
+ # Install the extension
+ install(TARGETS cython${Python_BUILD_VERSION}_freenect
+- DESTINATION ${PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES})
++ DESTINATION ${PYTHON${Python_BUILD_VERSION}_SITE_PACKAGES}
++ 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
https://src.fedoraproject.org/rpms/libfreenect/c/12998f86ce95ab8534e35f31...
1Â year, 7Â months
kathenas pushed to rpms/libfreenect (epel9). "Fix unversioned python"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-10-22 13:58:51 UTC
From b3565306f106970bd17de9fcd6a86cfe1b2dd6bd Mon Sep 17 00:00:00 2001
From: Leigh Scott <leigh123linux(a)gmail.com>
Date: Aug 03 2020 13:10:02 +0000
Subject: Fix unversioned python
---
diff --git a/libfreenect.spec b/libfreenect.spec
index c80f45c..6a923b9 100644
--- a/libfreenect.spec
+++ b/libfreenect.spec
@@ -1,11 +1,11 @@
%global commit 48a5c66d98505dd187e6352c2b9aca88985486c0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
-%global __provides_exclude %{python_sitearch}/.*\.so$
+%global __provides_exclude %{python3_sitearch}/.*\.so$
Name: libfreenect
Version: 0.6.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Device driver for the Kinect
# Core libfreenect is available as ASL 2.0 OR GPLv2
# OpenNI driver is available as ASL 2.0
@@ -25,7 +25,7 @@ Patch4: secarch.patch
Patch7: %{name}-0.5.5-py3.patch
BuildRequires: gcc-c++
-BuildRequires: cmake
+BuildRequires: cmake3
BuildRequires: Cython
BuildRequires: doxygen
BuildRequires: freeglut-devel
@@ -109,9 +109,7 @@ rm -rf platform/windows
%build
-mkdir build
-pushd build
-%cmake .. \
+%cmake3 \
-DBUILD_AUDIO=ON \
-DBUILD_C_SYNC=ON \
-DBUILD_CV=ON \
@@ -123,15 +121,14 @@ pushd build
-DBUILD_PYTHON3=ON \
-DBUILD_OPENNI2_DRIVER=ON
-%make_build VERBOSE=1
-popd
+%cmake3_build
pushd doc
doxygen Doxyfile
popd
%install
-%make_install -C build
+%cmake3_install
# Install the kinect udev rule
mkdir -p %{buildroot}/lib/udev/rules.d
@@ -188,6 +185,10 @@ mv %{buildroot}%{_libdir}/OpenNI2-FreenectDriver %{buildroot}%{_libdir}/openni2/
%{_libdir}/openni2
%changelog
+* Mon Aug 03 2020 Leigh Scott <leigh123linux(a)gmail.com> - 0.6.1-6
+- Fix unversioned python
+- Switch to new cmake macros
+
* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.6.1-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
https://src.fedoraproject.org/rpms/libfreenect/c/b3565306f106970bd17de9fc...
1Â year, 7Â months