--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libopenni2-0: missing Multi-Arch support
- From: Ahzo <ahzo@tutanota.com>
- Date: Fri, 20 Nov 2020 23:03:46 +0100 (CET)
- Message-id: <MMbfoWi--3-2@tutanota.com>
Package: libopenni2-0
Version: 2.2.0.33+dfsg-13
Severity: normal
Tags: patch
Affects: gstreamer1.0-plugins-bad
Dear Maintainer,
recently gstreamer1.0-plugins-bad started depending on libopenni2-0. Since then that package is no longer multi-arch co-installable, because libopenni2-0 is not 'Multi-Arch: same'.
The first attached patch multi-archifies openni2 to fix this.
The second, optional, patch fixes parallel-build support for openni2 to improve build-time.
Please include at least the first patch in your next upload, to make gstreamer1.0-plugins-bad again multi-arch co-installable.
Thanks in advance,
Ahzo
>From e82c6d4aca383258c829700ac45782a24ba080bd Mon Sep 17 00:00:00 2001
From: Ahzo <Ahzo@tutanota.com>
Date: Fri, 20 Nov 2020 22:14:05 +0100
Subject: [PATCH 1/2] multi-archify the library
Switch to debhelper-compat 13 for support of DEB_HOST_MULTIARCH in the
install files.
---
debian/control | 5 ++++-
debian/libopenni2-0.install | 4 ++--
debian/libopenni2-dev.install | 4 ++--
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index a0c8157..7aa47a5 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Section: libs
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Uploaders: Nobuhiro Iwamatsu <iwamatsu@debian.org>,
Jochen Sprickerhof <jspricke@debian.org>
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
freeglut3-dev,
libusb-1.0-0-dev,
python3,
@@ -21,6 +21,7 @@ Vcs-Browser: https://salsa.debian.org/multimedia-team/openni2
Package: libopenni2-0
Architecture: any
+Multi-Arch: same
Depends: ${shlibs:Depends},
${misc:Depends}
Description: framework for sensor-based 'Natural Interaction'
@@ -34,6 +35,7 @@ Description: framework for sensor-based 'Natural Interaction'
Package: openni2-utils
Section: utils
Architecture: any
+Multi-Arch: foreign
Depends: ${shlibs:Depends},
${misc:Depends}
Description: debug and test utilities OpenNI2 framework
@@ -50,6 +52,7 @@ Description: debug and test utilities OpenNI2 framework
Package: libopenni2-dev
Section: libdevel
Architecture: any
+Multi-Arch: same
Depends: ${misc:Depends},
libopenni2-0 (= ${binary:Version})
Suggests: openni2-doc
diff --git a/debian/libopenni2-0.install b/debian/libopenni2-0.install
index 7258244..89fcb95 100644
--- a/debian/libopenni2-0.install
+++ b/debian/libopenni2-0.install
@@ -1,3 +1,3 @@
-Bin/*-Release/libOpenNI2.so.* usr/lib/
-Bin/*-Release/OpenNI2/Drivers/lib*.so.* usr/lib/OpenNI2/Drivers/
+Bin/*-Release/libOpenNI2.so.* usr/lib/${DEB_HOST_MULTIARCH}
+Bin/*-Release/OpenNI2/Drivers/lib*.so.* usr/lib/${DEB_HOST_MULTIARCH}/OpenNI2/Drivers/
Config/*.ini etc/openni2/
diff --git a/debian/libopenni2-dev.install b/debian/libopenni2-dev.install
index 43f895c..aad904e 100644
--- a/debian/libopenni2-dev.install
+++ b/debian/libopenni2-dev.install
@@ -1,4 +1,4 @@
Include/* usr/include/openni2/
debian/libopenni2.pc usr/share/pkgconfig
-Bin/*-Release/libOpenNI2.so usr/lib/
-Bin/*-Release/OpenNI2/Drivers/lib*.so usr/lib/OpenNI2/Drivers/
+Bin/*-Release/libOpenNI2.so usr/lib/${DEB_HOST_MULTIARCH}
+Bin/*-Release/OpenNI2/Drivers/lib*.so usr/lib/${DEB_HOST_MULTIARCH}/OpenNI2/Drivers/
--
2.29.2
>From d07e71e869150026834b138c00f2043d3be7dfd9 Mon Sep 17 00:00:00 2001
From: Ahzo <Ahzo@tutanota.com>
Date: Fri, 20 Nov 2020 22:14:46 +0100
Subject: [PATCH 2/2] use dh_auto_build to properly support parallel builds
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 57ccdd3..194df62 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
dh $@ --buildsystem=makefile
override_dh_auto_build:
- make ALLOW_WARNINGS=1
+ dh_auto_build -- ALLOW_WARNINGS=1
cd Source/Documentation && python3 ./Runme.py
cd Bin/*-Release/ && mv NiViewer NiViewer2
--
2.29.2
--- End Message ---
--- Begin Message ---
Source: openni2
Source-Version: 2.2.0.33+dfsg-14
Done: Jochen Sprickerhof <jspricke@debian.org>
We believe that the bug you reported is fixed in the latest version of
openni2, 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 975355@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 openni2 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: Thu, 03 Dec 2020 19:23:37 +0100
Source: openni2
Architecture: source
Version: 2.2.0.33+dfsg-14
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Jochen Sprickerhof <jspricke@debian.org>
Closes: 975355
Changes:
openni2 (2.2.0.33+dfsg-14) unstable; urgency=medium
.
[ Debian Janitor ]
* debian/copyright: use spaces rather than tabs to start continuation lines.
* Move source package lintian overrides to debian/source.
* Set upstream metadata fields: Bug-Database, Bug-Submit.
* Fix day-of-week for changelog entry 2.1.0.4-1.
* Update standards version to 4.5.0, no changes needed.
.
[ Ahzo ]
* multi-archify the library (Closes: #975355)
* use dh_auto_build to properly support parallel builds
.
[ Jochen Sprickerhof ]
* Drop hard coded drivers patch patch
* Drop old lintian-overrides
* [lintian] Remove tabs from d/copyright
* bump policy version (no changes)
Checksums-Sha1:
764419666d581988402dba82b8870f701d0d8f6a 2300 openni2_2.2.0.33+dfsg-14.dsc
e3c3af059b9c440eb50a8014bf2db6527db6c3b1 17532 openni2_2.2.0.33+dfsg-14.debian.tar.xz
02ea39627b70b8d9d5f594b9a7c4fa5d2bb5dbc4 6497 openni2_2.2.0.33+dfsg-14_source.buildinfo
Checksums-Sha256:
06b261dd092f168b1ef1984fb9fdf6db31baee45b9521f33468ddfed9e89725f 2300 openni2_2.2.0.33+dfsg-14.dsc
a9bdd22f9f44c62502e76ed4d4a928b66a30d39761e816c9b6b35af34429e3bc 17532 openni2_2.2.0.33+dfsg-14.debian.tar.xz
baaec6a40ea99592db638ec940a9888d615d063232f41b4a0b8f8864de67c5b9 6497 openni2_2.2.0.33+dfsg-14_source.buildinfo
Files:
2541d5a50471227c4899ab54d88e4cde 2300 libs optional openni2_2.2.0.33+dfsg-14.dsc
5e7da28f9c9e6391c91ec1a586046be5 17532 libs optional openni2_2.2.0.33+dfsg-14.debian.tar.xz
ba49e51fc43a0740daad73185533073c 6497 libs optional openni2_2.2.0.33+dfsg-14_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAl/JL1IACgkQW//cwljm
lDO2VRAAgmOoa7+vHTeHNNLjjfu1pniYxq1cDmVD8FyO4nl6B0SoSih88/5gR3BP
1J3azpMuQilKUN9nah15AfC/yNpmKZPLCohS5t7g3XhlApS/Ex2UiHyqBh+NQJUf
EnVDjUU1p5qQDeBGBz3muIBTvDyroEchHzxbKBa9PSQQ5cEOJjGfB9Qtw0c/4YB1
vVaS1iw+CrO0V2tZS1HWWp3u1DZWumVCxpulfbAaHAkvs23j4+j3UfV1UdNCRthI
3s+kK2aZS0RwgfZmT35SG2MJt3SLyj+eyDq0bz3t5DYuhuaCzZ8E5XsE2Togola2
m2UbVlwrlE8ZTm8zc5zpK8s6V9D2+3tpvu8Wni23fRQMIkzKgyksz2huGO1RuDZw
69NzoudFssu7P4tdXmxNi63ZfQfCEPm7R9usRDxX3OMOk4nbIerbIyOy6tOzLojD
IOUX92blLROGtlTizynsRxd2W4z1RLlYE3gDWPZ3Q2AGRSvEyjcMhFXuQLYhDFbI
ReqkBmNaLNZ16z9GMLqBfP2wkgi+yVG7pH3ttCgG9S9v2N/XQ3qPdqQI8MbhTW1F
0kkm63E476M+D4WkRKzqj2zcWwKH0kVg0eL+RsfLT4kyrB0/67RWfARCtjff7fB0
ydHGXHQDPs5wF4hwk4FUH0TY+KtYFCtocZMtYBnOJTs3qoSRUPs=
=zSNu
-----END PGP SIGNATURE-----
--- End Message ---