Package: libfreenect / 1:0.1.2+dfsg-6

Metadata

Package Version Patches format
libfreenect 1:0.1.2+dfsg-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
cameras memcpy structs into aligned buffer.patch | (download)

src/cameras.c | 132 67 + 65 - 0 !
1 file changed, 67 insertions(+), 65 deletions(-)

 cameras.c memcpy structs into properly aligned buffers
 The new registration structs are not aligned to 4-byte boundaries in the
 buffers that we get back from the Kinect.  This might have been causing
 breakage on ARM, where nonaligned access is prohibited.
build on big endian systems again.patch | (download)

src/cameras.c | 13 9 + 4 - 0 !
src/freenect_internal.h | 8 6 + 2 - 0 !
2 files changed, 15 insertions(+), 6 deletions(-)

 [patch] build on big-endian systems again.

On big endian, fn_le32() is actually a function, not an empty preprocessor
macro, so we can't take the address of its return value when doing the C
equivalent of reinterpret_cast.

Signed-off-by: Drew Fisher <drew.m.fisher@gmail.com>

modify fakenect install.patch | (download)

fakenect/CMakeLists.txt | 7 4 + 3 - 0 !
1 file changed, 4 insertions(+), 3 deletions(-)

 modify how fakenect is installed
 Install fakenect/README into share/doc as README.fakenect,
 Rename record into fakenect-record
use standard libdir.patch | (download)

cmake_modules/FindOS.cmake | 11 0 + 11 - 0 !
cmake_modules/SetupDirectories.cmake | 10 3 + 7 - 0 !
2 files changed, 3 insertions(+), 18 deletions(-)

 use standard libdir folders
 Do not postfix 64 in install libdir, use multiarch triplet
dont install into include subfolder.patch | (download)

cmake_modules/SetupDirectories.cmake | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 install header files into include, not in include/<subfolder>
remove libusb include from exported header.patch | (download)

include/libfreenect.h | 15 8 + 7 - 0 !
src/libfreenect.pc.in | 2 1 + 1 - 0 !
2 files changed, 9 insertions(+), 8 deletions(-)

 remove libusb.h include from exported header
 Instead of declaring freenect_usb_context as libusb_context, declare it as
 void. In the first place, it was not necessary since it is always passed as
 pointer to the API and was already void on Win32. Secondly this fixes the
 problem of discrepancy between the include path of libusb on freebsd and
 the other architectures.
correct libusb search and include.patch | (download)

cmake_modules/Findlibusb-1.0.cmake | 6 3 + 3 - 0 !
src/usb_libusb10.c | 2 1 + 1 - 0 !
src/usb_libusb10.h | 2 1 + 1 - 0 !
3 files changed, 5 insertions(+), 5 deletions(-)

 fix cmake libusb search and fix libusb include
 Adjust cmake test for libusb library so that the compatible libusb for
add missing libs.patch | (download)

CMakeLists.txt | 6 6 + 0 - 0 !
examples/CMakeLists.txt | 5 0 + 5 - 0 !
fakenect/CMakeLists.txt | 3 2 + 1 - 0 !
src/CMakeLists.txt | 5 3 + 2 - 0 !
4 files changed, 11 insertions(+), 8 deletions(-)

 add the missing libraries
 Add missing library to link step of libfreecnect and libfakenect.
 Centralize also the definition of MATH_LIB