[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1057632: marked as done (openni-sensor-pointclouds: Add support for LoongArch)



Your message dated Mon, 11 Dec 2023 07:49:07 +0000
with message-id <E1rCb2J-00EriA-8Z@fasolo.debian.org>
and subject line Bug#1057632: fixed in openni-sensor-pointclouds 5.1.0.41.11-1
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 owner@bugs.debian.org
immediately.)


-- 
1057632: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057632
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: openni-sensor-pointclouds
Version: 5.1.0.41.10-1
Severity: normal
Tags: patch loong64 FTBFS
X-Debbugs-Cc: zhangjialing@loongson.cn

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-pointclouds
Source-Version: 5.1.0.41.11-1
Done: Jochen Sprickerhof <jspricke@debian.org>

We believe that the bug you reported is fixed in the latest version of
openni-sensor-pointclouds, 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 1057632@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jochen Sprickerhof <jspricke@debian.org> (supplier of updated openni-sensor-pointclouds 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 11 Dec 2023 08:38:17 +0100
Source: openni-sensor-pointclouds
Architecture: source
Version: 5.1.0.41.11-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Jochen Sprickerhof <jspricke@debian.org>
Closes: 1057632
Changes:
 openni-sensor-pointclouds (5.1.0.41.11-1) unstable; urgency=medium
 .
   * New upstream version 5.1.0.41.11
     - Add support for LoongArch (Closes: #1057632)
   * Bump policy version (no changes)
Checksums-Sha1:
 71ab2bf5dbb25a365544b66df4bc04f8add686e0 2243 openni-sensor-pointclouds_5.1.0.41.11-1.dsc
 45bbb41309c6c744877f1f048aad179bb0bb9718 642684 openni-sensor-pointclouds_5.1.0.41.11.orig.tar.gz
 6a349ba7a9dc6ad6f56e2ccc026af1f8c16fdf0f 5928 openni-sensor-pointclouds_5.1.0.41.11-1.debian.tar.xz
 f1980f621964954733fb046a6488e8234cd2bf32 6453 openni-sensor-pointclouds_5.1.0.41.11-1_source.buildinfo
Checksums-Sha256:
 a0224c8c941f7c3b214618de1284cee0b96e3630640665bd75879a096a9db559 2243 openni-sensor-pointclouds_5.1.0.41.11-1.dsc
 d69fff7842964db7af9afb17b352f399684e75f260d20ac91d6557018dab560d 642684 openni-sensor-pointclouds_5.1.0.41.11.orig.tar.gz
 c8484f7926d403f62ff855679f1e85db7089581b694bd11c9305fdb7903c0f18 5928 openni-sensor-pointclouds_5.1.0.41.11-1.debian.tar.xz
 dc6599f8b013a03f1931f8b4aa1d5e921ce454b43908912a85aa14a5d325b7df 6453 openni-sensor-pointclouds_5.1.0.41.11-1_source.buildinfo
Files:
 7762da8f3fdf91c2bfb301e741a18bc3 2243 libs optional openni-sensor-pointclouds_5.1.0.41.11-1.dsc
 52fbae0f35d5efea90eb08f469f41517 642684 libs optional openni-sensor-pointclouds_5.1.0.41.11.orig.tar.gz
 d8e43089b8ec5f477cd01c044a310c71 5928 libs optional openni-sensor-pointclouds_5.1.0.41.11-1.debian.tar.xz
 2b7d5901953ee6bb2007f3f7a5a0d59f 6453 libs optional openni-sensor-pointclouds_5.1.0.41.11-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmV2vK4ACgkQW//cwljm
lDNpOg/+P3j2yX3j6eqScY/xacrK47z7ZlsdUGr9qBzLmvF343W2H+Phgi0W7Eec
2BtMMpjnNrAxP0gcH7qBaORK2HA2NKXVU64ye2ktk0Z6y09SYYqOYJHP57Z2EsQf
+5uzHD+CWDhcCwn3QoCk8zfPaTyNBD6eEtLVfzz8UMnlGOzYDerrq3I5p/kE3Bh+
zCNItbNJhlnkgOM3JCy1W+vuxpacXt+jQ/yxu8JHBDkdrB3YSX3D6KfZ680A2B+B
d+EClFm13qDzhD+/mDX798zrzrv6N/4eDA9BoBRY2a2OFM/VOISDhWWYP27b/z/u
ofUIda7CRIneqsXMnJceiFBr0pbqdXku7RnN03oNRRoWE2Y+KkLKKqJFa/KWQKaU
y2BOjJ2HkhkLxfybjehnFoxTaNCsdu0skt8LRXaldTVZtli4dfXJKVfGG/We8w/N
yz0yFtL7eP1CgI8On7zOufeThtPLnQOVt8jZdbAt1xvUw54ilc7XNCpeNM6bjVcY
0jyLoZDGQ+1O1Li5lvj0OFhCX1tTxv+YcQL7/b/l919IMG9GfgaTKuz1+uCZSZLQ
wegM2q9rIQ2uTpzw7DhZ5da3r7akhERs5LaW5UeAMLu7MU8Q/yJhaBuFk5uNTVBY
N2y3HWnNQRyUQP91YLl+yr/di7/0XWAmdQ919k0cdzk5RZ7kVUQ=
=x58C
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: