Your message dated Mon, 11 Dec 2023 08:34:10 +0000
with message-id <[email protected]>
and subject line Bug#1057632: fixed in openni-sensor-primesense 5.1.0.41-14
has caused the Debian Bug report #1057632,
regarding openni-sensor-pointclouds: Add support for LoongArch
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 [email protected]
immediately.)
--
1057632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057632
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: openni-sensor-pointclouds
Version: 5.1.0.41.10-1
Severity: normal
Tags: patch loong64 FTBFS
X-Debbugs-Cc: [email protected]
Dear Maintainer,
This Package build failed for loong64 , I add the patch for
LoongArch64.Please help to support loong64 .
Thanks
JiaLing,
---
openni-sensor-pointclouds-5.1.0.41.10.orig/Platform/Linux/Build/Common/CommonDefs.mak
+++
openni-sensor-pointclouds-5.1.0.41.10/Platform/Linux/Build/Common/CommonDefs.mak
@@ -23,6 +23,8 @@ else ifneq (,$(findstring mips,$(MACHINE
HOST_PLATFORM = Mips
else ifneq (,$(findstring riscv64,$(MACHINE)))
HOST_PLATFORM = Riscv64
+else ifneq (,$(findstring loongarch64,$(MACHINE)))
+ HOST_PLATFORM = LoongArch64
else
DUMMY:=$(error Can't determine host platform)
endif
--- /dev/null
+++
openni-sensor-pointclouds-5.1.0.41.10/Platform/Linux/Build/Common/Platform.LoongArch64
@@ -0,0 +1,12 @@
+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
+
---
openni-sensor-pointclouds-5.1.0.41.10.orig/Platform/Linux/CreateRedist/RedistMaker
+++
openni-sensor-pointclouds-5.1.0.41.10/Platform/Linux/CreateRedist/RedistMaker
@@ -39,6 +39,8 @@ else
PLATFORM="Mips" ;;
riscv64)
PLATFORM="Riscv64" ;;
+ loongarch64)
+ PLATFORM="LoongArch64" ;;
*)
echo "Unknown machine type: $MACHINE_TYPE"
exit 1
---
openni-sensor-pointclouds-5.1.0.41.10.orig/Source/Utils/XnSensorServer/SensorServer.cpp
+++
openni-sensor-pointclouds-5.1.0.41.10/Source/Utils/XnSensorServer/SensorServer.cpp
@@ -56,7 +56,7 @@ int main(int argc, char* argv[])
nRetVal = XnSensorServerGetGlobalConfigFile(strConfigDir,
strConfigFile, XN_FILE_MAX_PATH);
XN_CHECK_RC(nRetVal, "Resolving global config file");
-#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 || XN_PLATFORM == XN_PLATFORM_MACOSX
|| XN_PLATFORM == XN_PLATFORM_LINUX_MIPS || XN_PLATFORM ==
XN_PLATFORM_LINUX_RISCV64)
+#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 || XN_PLATFORM == XN_PLATFORM_MACOSX
|| XN_PLATFORM == XN_PLATFORM_LINUX_MIPS || XN_PLATFORM ==
XN_PLATFORM_LINUX_RISCV64 || XN_PLATFORM == XN_PLATFORM_LINUX_LOONGARCH64)
xnLogSetOutputFolder("/var/log/primesense/XnSensorServer/");
#endif
---
openni-sensor-pointclouds-5.1.0.41.10.orig/Source/XnDeviceSensorV2/XnDeviceSensorInit.h
+++
openni-sensor-pointclouds-5.1.0.41.10/Source/XnDeviceSensorV2/XnDeviceSensorInit.h
@@ -57,7 +57,7 @@
#define XN_SENSOR_USB_MISC_BUFFER_SIZE 0x1000
#define XN_SENSOR_USB_MISC_BUFFERS 1
-#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 || XN_PLATFORM == XN_PLATFORM_MACOSX
|| XN_PLATFORM == XN_PLATFORM_ANDROID_ARM || XN_PLATFORM ==
XN_PLATFORM_LINUX_MIPS || XN_PLATFORM == XN_PLATFORM_LINUX_RISCV64)
+#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 || XN_PLATFORM == XN_PLATFORM_MACOSX
|| XN_PLATFORM == XN_PLATFORM_ANDROID_ARM || XN_PLATFORM ==
XN_PLATFORM_LINUX_MIPS || XN_PLATFORM == XN_PLATFORM_LINUX_RISCV64 ||
XN_PLATFORM == XN_PLATFORM_LINUX_LOONGARCH64)
#define XN_SENSOR_USB_IMAGE_BUFFER_SIZE_MULTIPLIER_ISO
32
#define XN_SENSOR_USB_IMAGE_BUFFER_SIZE_MULTIPLIER_BULK
40
#define XN_SENSOR_USB_IMAGE_BUFFER_SIZE_MULTIPLIER_LOWBAND_ISO
16
---
openni-sensor-pointclouds-5.1.0.41.10.orig/Source/XnDeviceSensorV2/XnSensorClient.cpp
+++
openni-sensor-pointclouds-5.1.0.41.10/Source/XnDeviceSensorV2/XnSensorClient.cpp
@@ -882,7 +882,7 @@ XnStatus XnSensorClient::StartServerProc
#if (XN_PLATFORM == XN_PLATFORM_WIN32)
nRetVal = GetModuleDir(strServerDir);
-#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 || XN_PLATFORM == XN_PLATFORM_MACOSX
|| XN_PLATFORM == XN_PLATFORM_LINUX_MIPS || XN_PLATFORM ==
XN_PLATFORM_LINUX_RISCV64)
+#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 || XN_PLATFORM == XN_PLATFORM_MACOSX
|| XN_PLATFORM == XN_PLATFORM_LINUX_MIPS || XN_PLATFORM ==
XN_PLATFORM_LINUX_RISCV64 || XN_PLATFORM == XN_PLATFORM_LINUX_LOONGARCH64)
sprintf(strServerDir, "/usr/lib/libopenni-sensor-primesense0");
#endif
--- End Message ---
--- Begin Message ---
Source: openni-sensor-primesense
Source-Version: 5.1.0.41-14
Done: Jochen Sprickerhof <[email protected]>
We believe that the bug you reported is fixed in the latest version of
openni-sensor-primesense, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jochen Sprickerhof <[email protected]> (supplier of updated
openni-sensor-primesense 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 11 Dec 2023 08:51:46 +0100
Source: openni-sensor-primesense
Architecture: source
Version: 5.1.0.41-14
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <[email protected]>
Changed-By: Jochen Sprickerhof <[email protected]>
Closes: 1057632
Changes:
openni-sensor-primesense (5.1.0.41-14) unstable; urgency=medium
.
* Add support for loongarch64 (Closes: #1057632)
* Bump policy version (no changes)
Checksums-Sha1:
6b19b6a3b02fd03a8904f960e3d6c3686ee90321 2216
openni-sensor-primesense_5.1.0.41-14.dsc
97aa71081e105c28a86fdda9095b1ec79cdbbf54 10856
openni-sensor-primesense_5.1.0.41-14.debian.tar.xz
015493c0768a40d3fa96a922e6a5c56c0c3f6ac2 6441
openni-sensor-primesense_5.1.0.41-14_source.buildinfo
Checksums-Sha256:
cae2dc89413b9fd83037c79d34d5edebe377c1216a9244eac068c258df725a63 2216
openni-sensor-primesense_5.1.0.41-14.dsc
b0b2dbbb7b5bd2b61f9a794edfcbccadb301788952e1d029e88367a8918adfcd 10856
openni-sensor-primesense_5.1.0.41-14.debian.tar.xz
1544c1363b07990a20c7433aa3d73fdf1fc05aa2fadd3af9d689db4cf2f19d4a 6441
openni-sensor-primesense_5.1.0.41-14_source.buildinfo
Files:
26e066780230a7caeda395a84a05d37d 2216 libs optional
openni-sensor-primesense_5.1.0.41-14.dsc
2cef2698e21c8c5aa98f4139f632d916 10856 libs optional
openni-sensor-primesense_5.1.0.41-14.debian.tar.xz
2a74b1273887ef5a3e786e9477cb64cf 6441 libs optional
openni-sensor-primesense_5.1.0.41-14_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmV2v6YACgkQW//cwljm
lDN2HA/8CjuHx5x+HNJZD/VHaPI8tbYaBlIYCQwJdBwI/OOaFEPweE29slaAwB+t
HbGszfa6o+mLqHmHneCWksOHqVN3zxbP9jNtRdQyR0AsHxEBVT/xJZ8XUVf78hz8
I66zxM6zhVXcMkRia/LgM0cNyD4rYq4pMxTEXTdQMAHsIuA6Z+Gn7WzFFXeOs5b1
gPWosq9GAzM8JeOBFQawlsYsfc1KHJ/aVYmsAm3QF1MnOop/3+3E9GEPszX6LTzv
5HF7+O8G32CjKPrmRzbI4OaHUOIEOtLZPd50JtLURtE8TW2JpGd29TgGO/zheYVu
rvALVerkaJw2MN4jMR0PI2sf6Z0SU89npAUuYel36oEsK5uH8LQvoeHgtXiV7bxj
U6ZOHwLaoWsxR9eL/LcRpRpa4/7ijDZqHS1CfH3fduJ2AaYTr6Vdnm5tne6D8HbS
3GvYiJIw4UetvSUEWVwof09xF/s9aCuZPRwwZ2XdfJQPe2/7dTvCDVikmpb0qEZA
44gRv1iRxChSB8sp9rpV4R+I8Kn2b8KtCm7NJTr7WceyQK4GB63B+0HvyiIfsU0l
JbhnYXXQ4vTcIjkQ4farZna6d+dkD4UecMr0mNBQJMtQZnyCF6kdpJbXtAFq/1zg
UnyR0hMj7NMm3XiYjlcSMS1b310zH4bFc/8pIcK4XpKXwCbX8zQ=
=lqYk
-----END PGP SIGNATURE-----
--- End Message ---