Your message dated Sat, 06 Jun 2015 22:21:39 +0000
with message-id <e1z1mtd-0003hm...@franck.debian.org>
and subject line Bug#787905: fixed in openni 1.5.4.0-12
has caused the Debian Bug report #787905,
regarding openni: FTBFS on arm64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
787905: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787905
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openni
Version: 1.5.4.0-10
Tags: patch

Here's a patch, rather similar to the ppc one.
diff -N -ru openni-1.5.4.0.orig/Include/Linux-AArch64/XnPlatformLinux-AArch64.h openni-1.5.4.0/Include/Linux-AArch64/XnPlatformLinux-AArch64.h
--- openni-1.5.4.0.orig/Include/Linux-AArch64/XnPlatformLinux-AArch64.h	1970-01-01 01:00:00.000000000 +0100
+++ openni-1.5.4.0/Include/Linux-AArch64/XnPlatformLinux-AArch64.h	2015-06-06 00:05:38.000000000 +0100
@@ -0,0 +1,43 @@
+/****************************************************************************
+*                                                                           *
+*  OpenNI 1.x Alpha                                                         *
+*  Copyright (C) 2011 PrimeSense Ltd.                                       *
+*                                                                           *
+*  This file is part of OpenNI.                                             *
+*                                                                           *
+*  OpenNI is free software: you can redistribute it and/or modify           *
+*  it under the terms of the GNU Lesser General Public License as published *
+*  by the Free Software Foundation, either version 3 of the License, or     *
+*  (at your option) any later version.                                      *
+*                                                                           *
+*  OpenNI is distributed in the hope that it will be useful,                *
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of           *
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the             *
+*  GNU Lesser General Public License for more details.                      *
+*                                                                           *
+*  You should have received a copy of the GNU Lesser General Public License *
+*  along with OpenNI. If not, see <http://www.gnu.org/licenses/>.           *
+*                                                                           *
+****************************************************************************/
+#ifndef _XN_PLATFORM_LINUX_AARCH64_H_
+#define _XN_PLATFORM_LINUX_AARCH64_H_
+
+// Start with Linux-x86, and override what's different
+#include "../Linux-x86/XnPlatformLinux-x86.h"
+
+//---------------------------------------------------------------------------
+// Platform Basic Definition
+//---------------------------------------------------------------------------
+#undef XN_PLATFORM
+#undef XN_PLATFORM_STRING
+#undef XN_PLATFORM_ENDIAN_TYPE
+#define XN_PLATFORM XN_PLATFORM_LINUX_AARCH64
+#define XN_PLATFORM_STRING "Linux-AArch64"
+
+#ifdef __AARCH64EB__
+#define XN_PLATFORM_ENDIAN_TYPE XN_PLATFORM_IS_BIG_ENDIAN
+#else
+#define XN_PLATFORM_ENDIAN_TYPE XN_PLATFORM_IS_LITTLE_ENDIAN
+#endif // __AARCH64EB__
+
+#endif //_XN_PLATFORM_LINUX_AARCH64_H_
diff -N -ru openni-1.5.4.0.orig/Include/XnOS.h openni-1.5.4.0/Include/XnOS.h
--- openni-1.5.4.0.orig/Include/XnOS.h	2015-06-06 00:13:43.000000000 +0100
+++ openni-1.5.4.0/Include/XnOS.h	2015-06-06 00:06:31.000000000 +0100
@@ -44,7 +44,7 @@
 //---------------------------------------------------------------------------
 #if (XN_PLATFORM == XN_PLATFORM_WIN32)
 	#include "Win32/XnOSWin32.h"
-#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_MACOSX || XN_PLATFORM == XN_PLATFORM_ANDROID_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC)
+#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_AARCH64 || XN_PLATFORM == XN_PLATFORM_MACOSX || XN_PLATFORM == XN_PLATFORM_ANDROID_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC)
 	#include "Linux-x86/XnOSLinux-x86.h"
 #elif defined(_ARC)
 	#include "ARC/XnOSARC.h"
diff -N -ru openni-1.5.4.0.orig/Include/XnPlatform.h openni-1.5.4.0/Include/XnPlatform.h
--- openni-1.5.4.0.orig/Include/XnPlatform.h	2015-06-06 00:13:43.000000000 +0100
+++ openni-1.5.4.0/Include/XnPlatform.h	2015-06-06 00:07:21.000000000 +0100
@@ -36,6 +36,7 @@
 #define XN_PLATFORM_MACOSX 8
 #define XN_PLATFORM_ANDROID_ARM 9
 #define XN_PLATFORM_LINUX_POWERPC 10
+#define XN_PLATFORM_LINUX_AARCH64 11
 
 #define XN_PLATFORM_IS_LITTLE_ENDIAN 1
 #define XN_PLATFORM_IS_BIG_ENDIAN    2
@@ -67,6 +68,8 @@
 	#include "Linux-x86/XnPlatformLinux-x86.h"
 #elif (__linux__ && __arm__)
 	#include "Linux-Arm/XnPlatformLinux-Arm.h"
+#elif (__linux__ && __aarch64__)
+	#include "Linux-AArch64/XnPlatformLinux-AArch64.h"
 #elif (__linux__ && __powerpc__)
 	#include "Linux-Powerpc/XnPlatformLinux-Powerpc.h"
 #elif _ARC
diff -N -ru openni-1.5.4.0.orig/Include/XnUSBDevice.h openni-1.5.4.0/Include/XnUSBDevice.h
--- openni-1.5.4.0.orig/Include/XnUSBDevice.h	2015-06-06 00:13:43.000000000 +0100
+++ openni-1.5.4.0/Include/XnUSBDevice.h	2015-06-06 00:07:56.000000000 +0100
@@ -48,7 +48,7 @@
 	#define USB_DT_DEVICE_SIZE 0
 	#define USB_DT_DEVICE 0
 
-#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC)
+#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_AARCH64 || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC)
 	#include <linux/usb/ch9.h>
 	typedef struct usb_endpoint_descriptor XnUSBEndpointDescriptor;
 	typedef struct usb_interface_descriptor XnUSBInterfaceDescriptor;
diff -N -ru openni-1.5.4.0.orig/Platform/Linux/Build/Common/CommonDefs.mak openni-1.5.4.0/Platform/Linux/Build/Common/CommonDefs.mak
--- openni-1.5.4.0.orig/Platform/Linux/Build/Common/CommonDefs.mak	2015-06-06 00:13:43.000000000 +0100
+++ openni-1.5.4.0/Platform/Linux/Build/Common/CommonDefs.mak	2015-06-06 00:08:30.000000000 +0100
@@ -18,6 +18,8 @@
 	HOST_PLATFORM = x86
 else ifneq (,$(findstring arm,$(MACHINE)))
 	HOST_PLATFORM = Arm
+else ifneq (,$(findstring aarch64,$(MACHINE)))
+	HOST_PLATFORM = AArch64
 else ifneq (,$(findstring ppc,$(MACHINE)))
 	HOST_PLATFORM = Powerpc
 else
diff -N -ru openni-1.5.4.0.orig/Platform/Linux/Build/Common/Platform.AArch64 openni-1.5.4.0/Platform/Linux/Build/Common/Platform.AArch64
--- openni-1.5.4.0.orig/Platform/Linux/Build/Common/Platform.AArch64	1970-01-01 01:00:00.000000000 +0100
+++ openni-1.5.4.0/Platform/Linux/Build/Common/Platform.AArch64	2015-06-06 00:09:33.000000000 +0100
@@ -0,0 +1,11 @@
+export GLUT_SUPPORTED=1
+
+ifeq "$(CFG)" "Release"
+
+    # Optimization level, minus currently buggy optimizing methods (which break bit-exact)
+    CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing
+
+    # More optimization flags
+    CFLAGS += -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant
+
+endif
diff -N -ru openni-1.5.4.0.orig/Platform/Linux/CreateRedist/Redist_OpenNi.py openni-1.5.4.0/Platform/Linux/CreateRedist/Redist_OpenNi.py
--- openni-1.5.4.0.orig/Platform/Linux/CreateRedist/Redist_OpenNi.py	2015-06-06 00:13:43.000000000 +0100
+++ openni-1.5.4.0/Platform/Linux/CreateRedist/Redist_OpenNi.py	2015-06-06 00:12:07.000000000 +0100
@@ -186,6 +186,8 @@
         PLATFORM = "x86"
     elif machinetype[:3] == "arm":
         PLATFORM = "Arm"
+    elif machinetype == "aarch64":
+        PLATFORM = "AArch64"
     elif machinetype[:3] == "ppc":
         PLATFORM = "Powerpc"
     else:
@@ -335,6 +337,7 @@
 
 shutil.copytree("../../Include/Linux-x86", REDIST_DIR + "/Include/Linux-x86")
 shutil.copytree("../../Include/Linux-Arm", REDIST_DIR + "/Include/Linux-Arm")
+shutil.copytree("../../Include/Linux-AArch64", REDIST_DIR + "/Include/Linux-AArch64")
 shutil.copytree("../../Include/Linux-Powerpc", REDIST_DIR + "/Include/Linux-Powerpc")
 shutil.copytree("../../Include/MacOSX", REDIST_DIR + "/Include/MacOSX")
 shutil.copytree("Build/Common", REDIST_DIR + "/Samples/Build/Common")
diff -N -ru openni-1.5.4.0.orig/Samples/NiViewer/NiViewer.cpp openni-1.5.4.0/Samples/NiViewer/NiViewer.cpp
--- openni-1.5.4.0.orig/Samples/NiViewer/NiViewer.cpp	2015-06-06 00:13:43.000000000 +0100
+++ openni-1.5.4.0/Samples/NiViewer/NiViewer.cpp	2015-06-06 00:12:44.000000000 +0100
@@ -49,7 +49,7 @@
 // --------------------------------
 #include <XnCppWrapper.h>
 
-#if (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC)
+#if (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_AARCH64 || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC)
 	#define UNIX
 	#define GLX_GLXEXT_LEGACY
 #endif
@@ -79,7 +79,7 @@
 #if (XN_PLATFORM == XN_PLATFORM_WIN32)
 	#include <conio.h>
 	#include <direct.h>	
-#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_MACOSX || XN_PLATFORM_LINUX_POWERPC)
+#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_AARCH64 || XN_PLATFORM == XN_PLATFORM_MACOSX || XN_PLATFORM_LINUX_POWERPC)
 	#define _getch() getchar()
 #endif
 
diff -N -ru openni-1.5.4.0.orig/Source/OpenNI/XnOpenNI.cpp openni-1.5.4.0/Source/OpenNI/XnOpenNI.cpp
--- openni-1.5.4.0.orig/Source/OpenNI/XnOpenNI.cpp	2015-06-06 00:13:43.000000000 +0100
+++ openni-1.5.4.0/Source/OpenNI/XnOpenNI.cpp	2015-06-06 00:13:13.000000000 +0100
@@ -7062,7 +7062,7 @@
 	#define XN_OPEN_NI_FILES_LOCATION "\\Data\\"
 #elif (CE4100)
 	#define XN_OPEN_NI_FILES_LOCATION "/usr/etc/ni/"
-#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_MACOSX || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC)
+#elif (XN_PLATFORM == XN_PLATFORM_LINUX_X86 || XN_PLATFORM == XN_PLATFORM_LINUX_ARM || XN_PLATFORM == XN_PLATFORM_LINUX_AARCH64 || XN_PLATFORM == XN_PLATFORM_MACOSX || XN_PLATFORM == XN_PLATFORM_LINUX_POWERPC)
 	#define XN_OPEN_NI_FILES_LOCATION "/var/lib/ni/"
 #elif (XN_PLATFORM == XN_PLATFORM_ANDROID_ARM)
 	#define XN_OPEN_NI_FILES_LOCATION "/data/ni/"

--- End Message ---
--- Begin Message ---
Source: openni
Source-Version: 1.5.4.0-12

We believe that the bug you reported is fixed in the latest version of
openni, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 787...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <deb...@jochen.sprickerhof.de> (supplier of updated openni 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 06 Jun 2015 23:32:22 +0200
Source: openni
Binary: libopenni0 libopenni-java openni-utils libopenni-dev openni-doc
Architecture: source amd64 all
Version: 1.5.4.0-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Jochen Sprickerhof <deb...@jochen.sprickerhof.de>
Description:
 libopenni-dev - headers for OpenNI 'Natural Interaction' frameworks
 libopenni-java - Java framework for sensor-based 'Natural Interaction'
 libopenni0 - framework for sensor-based 'Natural Interaction'
 openni-doc - developer documentation for OpenNI frameworks
 openni-utils - debug and test utilities OpenNI framework
Closes: 787905
Changes:
 openni (1.5.4.0-12) unstable; urgency=medium
 .
   * Add arm64 support (Closes: #787905), thanks Edmund Grimley Evans
Checksums-Sha1:
 05f133e1c35b6348b6c6f2b5caf6ebbaf7148b20 2412 openni_1.5.4.0-12.dsc
 73e70a816d13ec9af2b91fa1b737e8cb3a21f587 646852 openni_1.5.4.0-12.debian.tar.xz
 86709a87fce9d9e873c17912a1fe944dc0eeca92 152500 
libopenni-dev_1.5.4.0-12_amd64.deb
 dca42899e8c266b8253bc059dd0212dcf29e388f 144434 
libopenni-java_1.5.4.0-12_amd64.deb
 e010f10de0398f27556f47efec622fcb4b31397b 286906 libopenni0_1.5.4.0-12_amd64.deb
 0cbacdc3590f8efc63809925341a3b173cadfdeb 4168338 openni-doc_1.5.4.0-12_all.deb
 92ee5bb57860df83b9e1aecceed8b08cfbf7c10a 125810 
openni-utils_1.5.4.0-12_amd64.deb
Checksums-Sha256:
 47dabb9ddb5686fcf5c377a2efd90400e4f606fc10e8bba4403827f067ac1f7c 2412 
openni_1.5.4.0-12.dsc
 0dec0017649845c1d1b073dc1530fc0e4f9763ae069a079bf09d2b592bfda429 646852 
openni_1.5.4.0-12.debian.tar.xz
 d5300fab59a46c34ee21cb04b072a957574da227672e806e711ccbfc27873cb6 152500 
libopenni-dev_1.5.4.0-12_amd64.deb
 40261aaab52f68f23a0db56974763ef12ff55d85726e12d32d5d06c5663e0133 144434 
libopenni-java_1.5.4.0-12_amd64.deb
 e7179b17fe47fb8b4a24be8b2ae6b13e6a31e9159704881d01e18e2440abeecd 286906 
libopenni0_1.5.4.0-12_amd64.deb
 303a5eada693d57c7687deed0dcebfb6d238c40b9bf4854f6a6e506519a4f536 4168338 
openni-doc_1.5.4.0-12_all.deb
 c1fadfeac20e5ff568ca47007d7c786b3ec8c2423906c79a99abd867c15cbc54 125810 
openni-utils_1.5.4.0-12_amd64.deb
Files:
 605201888f902c9b32a30bea0a8518fb 2412 libs optional openni_1.5.4.0-12.dsc
 714d461dbe5235b2fc93502f56c5e12c 646852 libs optional 
openni_1.5.4.0-12.debian.tar.xz
 f14e678696e47ab89e2a01f3854b5ef4 152500 libdevel optional 
libopenni-dev_1.5.4.0-12_amd64.deb
 13d8e56d43e29d3ca3b31d9061706195 144434 java optional 
libopenni-java_1.5.4.0-12_amd64.deb
 146cfcb59c29eb1048a7a9657c14872d 286906 libs optional 
libopenni0_1.5.4.0-12_amd64.deb
 971d3e487eb5594b5fbe45279502eb2b 4168338 doc optional 
openni-doc_1.5.4.0-12_all.deb
 3f198637441292ebf5817f8498d1fd49 125810 utils optional 
openni-utils_1.5.4.0-12_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJVc2pjAAoJEFv/3MJY5pQz/g0QAIsaAaet0fvnjElbiCKWQ7By
FclHS34LJ4eugA+dOOCaKwOemMIW0pyezlxpJbaN9JZEgaIkGPgKVgARSNPjKihS
HkO1NS9Z1OeMSYJhVW9z3q6gIcE6Et996Q3vGz4peAQyAa1kFKwh7XU0Trx72cOj
74IitSpsEWBMY0qO+iNhzH+IddztrS0wLrWkzNE/7RwO0uUnmyCykq9UMk1Lc9HT
zk4qzsOib+fG0IGfPYofqdwhOMbN/IXjjqQQejC9aA0MEa96XfGhCl2gdeGqUj3B
MhJm1tH1nQdJmCegGr+pmw//P4IrOonETtJKTKwv0BJsjcjcjX76tBblzO7Yzl8R
/ftHoe1IewSVwz1tkL0X2lqxI95dkklJU7mpZbLwNUSjjBKpGAUbl8v+t7wEedvF
yA9rZpmBHbqxCwj3m5HkC4QHzS8AFqLHS+n3Ey+lf9jlytNXnhwhPSvrzKCTedGR
sIDQNr2gXe80k2vpajotnI34IsKAI3SgICjC8NfghbSroRgK+oQiKPC5JXtVAg1P
C1sSEAMkRqk5zir0MxTtBWP1m8XX/6r4jP6mKUNCky/K70eWUt3IHC4zcsBy+Uj7
GNvf5WvWy7w5uBRF/zO6UURF+1377BP1NvCwPwyWpgfw0DRZ34eW5wguNxGjNpIH
urPV4Gv0N6Qe8jX5Fzz1
=eZaT
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to