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

Bug#975355: libopenni2-0: missing Multi-Arch support



Hi Jochen,

Nov 21, 2020, 07:48 by jspricke@debian.org:

> * Ahzo <ahzo@tutanota.com> [2020-11-20 23:03]:
>
>> --- 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/
>>
>
> Did you check that this works?
> AFAIR these are plugins loaded at runtime, so the path needs to be correctly encoded. I don't have access to the hardware currently, so would be great if you (or someone else) could test this.
>
I haven't tested the runtime functionality, but according to the comment in OpenNI.ini, this should just work, as the driver-loading is based on a relative path by default:
$ cat /etc/openni2/OpenNI.ini | tail -n 5
[Drivers]
; Location of the drivers specified by a relative path based on OpenNI's shared library or an absolute path.
; Path separator "/" can be used to be portable for any platforms.
; Default - OpenNI2/Drivers
;Repository=OpenNI2/Drivers

Regards,
Ahzo


Reply to: