ros-drivers / openni2_tracker

8 stars 16 forks source link

Re-releasing Nite2 as debian package #4

Open bit-pirate opened 11 years ago

bit-pirate commented 11 years ago

The Nite 2 Library is currently not available as a debian package, which is a showstopper for releasing the openni2_tracker.

I have contacted Primesense two times so far, but I didn't get any answer yet.

Will add updates here, once I know more.

bit-pirate commented 11 years ago

PS: After looking at the license it believe re-releasing and hence re-distributing the Nite library as a debian package is not allowed.

See point 2.c here: http://www.openni.org/nite-licensing-and-distribution-terms/

k-okada commented 8 years ago

@bit-pirate I had same trouble on using nite2 since everyone install the library in their way and hard to debug if they fail to run tracker, as I understand that it is hard to release NiTE2 debian package, but I found it's able to create deb package that deb-packaging nite2 library

  1. put NiTE-Linux-x64-2.0.0.tar.bz2.gz under ~/Downloads
  2. download attached deb, gunzip it and dpkg-i to run
  3. run dpkg -i /var/cache/primesense-nite2-nonfree/openni-module-primesense-nite2-nonfree_2.0.0.0-1_amd64.deb+ echo

How do you think?

primesense-nite2-nonfree_2.0.0-3_amd64.deb.gz

Cc: @IshiguroJSK

k-okada commented 8 years ago

Sorry previsou version was not correct, please use this @IshiguroJSK, and also if you have any problem, please add comment HERE primesense-nite2-nonfree_2.0.0-2_amd64.deb.gz

ishiguroJSK commented 8 years ago

@k-okada , it still fails at checking checksum of /tmp/primesense-nite2.tar.bz2.zip ...

$ sudo dpkg -i primesense-nite2-nonfree_2.0.0-2_amd64.deb 
(データベースを読み込んでいます ... 現在 413332 個のファイルとディレクトリがインストールされています。)
primesense-nite2-nonfree_2.0.0-2_amd64.deb を展開する準備をしています ...
+ LIB64=/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
+ LIB64_SHA256SUM=cfc0fefe69fd97b3f874175416cc64ff977710f52b9567421c8735652a038bbd
+ downloadedfilename=primesense-nite2.tar.bz2.zip
+ downloadedfile=/tmp/primesense-nite2.tar.bz2.zip
+ cachedir=/var/cache/primesense-nite2-nonfree
+ cachedfile=/var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
+ set -e
+ [ -e /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 ]
+ basename /usr/sbin/update-primesense-nite2-nonfree
+ basename=update-primesense-nite2-nonfree
+ getopt -o iufvq --long install,uninstall,fast,verbose,quiet -n update-primesense-nite2-nonfree -- --uninstall
+ getopt_temp= --uninstall --
+ eval set --  --uninstall --
+ set -- --uninstall --
+ ACTION=none
+ fast=no
+ verbose=no
+ quiet=no
+ [ true ]
+ ACTION=--uninstall
+ shift
+ [ true ]
+ shift
+ break
+ [ --uninstall != none -a 0 -eq 0 ]
+ [ no != yes ]
+ [ no != yes ]
+ mktemp -d /tmp/primesense-nite2-nonfree.XXXXXXXXXX
+ UNPACKDIR=/tmp/primesense-nite2-nonfree.tE3r1u9kqU
+ echo+  /tmp/primesense-nite2-nonfree.tE3r1u9kqU
grep -q ^/tmp/primesense-nite2-nonfree\.
+ cd /tmp/primesense-nite2-nonfree.tE3r1u9kqU
+ [ no != yes ]
+ [ no != yes ]
+ PKG=openni-modules-primesense-nite2-nonfree
+ test dpkg -l openni-modules-primesense-nite2-nonfree
+ [ no != yes ]
+ do_cleanup
+ [ no != yes ]
+ cd /
+ echo /tmp/primesense-nite2-nonfree.tE3r1u9kqU
+ grep -q ^/tmp/primesense-nite2-nonfree\.
+ rm -rf /tmp/primesense-nite2-nonfree.tE3r1u9kqU
+ [ no != yes ]
primesense-nite2-nonfree (2.0.0-2) で (2.0.0-2 に) 上書き展開しています ...
primesense-nite2-nonfree (2.0.0-2) を設定しています ...
+ LIB64=/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
+ LIB64_SHA256SUM=cfc0fefe69fd97b3f874175416cc64ff977710f52b9567421c8735652a038bbd
+ downloadedfilename=primesense-nite2.tar.bz2.zip
+ downloadedfile=/tmp/primesense-nite2.tar.bz2.zip
+ cachedir=/var/cache/primesense-nite2-nonfree
+ cachedfile=/var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
+ set -e
+ [ -e /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 ]
+ basename /usr/sbin/update-primesense-nite2-nonfree
+ basename=update-primesense-nite2-nonfree
+ getopt -o iufvq --long install,uninstall,fast,verbose,quiet -n update-primesense-nite2-nonfree -- --install --fast
+ getopt_temp= --install --fast --
+ eval set --  --install --fast --
+ set -- --install --fast --
+ ACTION=none
+ fast=no
+ verbose=no
+ quiet=no
+ [ true ]
+ ACTION=--install
+ shift
+ [ true ]
+ fast=yes
+ shift
+ [ true ]
+ shift
+ break
+ [ --install != none -a 0 -eq 0 ]
+ [ no != yes ]
+ [ no != yes ]
+ mktemp -d /tmp/primesense-nite2-nonfree.XXXXXXXXXX
+ UNPACKDIR=/tmp/primesense-nite2-nonfree.9dPTPzPwKg
+ echo /tmp/primesense-nite2-nonfree.9dPTPzPwKg
+ grep -q ^/tmp/primesense-nite2-nonfree\.
+ cd /tmp/primesense-nite2-nonfree.9dPTPzPwKg
+ [ no != yes ]
+ [ no != yes ]
+ dpkg --print-architecture
+ [ amd64 = amd64 ]
+ downloadurl=/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
+ checksum=cfc0fefe69fd97b3f874175416cc64ff977710f52b9567421c8735652a038bbd
+ [ no != yes ]
+ zip /tmp/primesense-nite2.tar.bz2.zip /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
  adding: home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 (deflated 0%)
+ echo Checking integrity of downloaded file using sha256sum ...
Checking integrity of downloaded file using sha256sum ...
+ checksum_file=/tmp/primesense-nite2.tar.bz2.zip.sha256
+ echo cfc0fefe69fd97b3f874175416cc64ff977710f52b9567421c8735652a038bbd  /tmp/primesense-nite2.tar.bz2.zip
+ sha256sum -c /tmp/primesense-nite2.tar.bz2.zip.sha256
/tmp/primesense-nite2.tar.bz2.zip: 失敗
sha256sum: 警告: 1 個の計算したチェックサムが一致しませんでした
+ echo checksum failed! try downloading again...
checksum failed! try downloading again...
+ exit 1
man-db (2.6.7.1-1ubuntu1) のトリガを処理しています ...
k-okada commented 8 years ago

What is the output of

sha256sum /tmp/primesense-nite2.tar.bz2.zip And

sha256sum home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2

◉ Kei Okada

2016/05/28 21:24、Yasuhiro Ishiguro notifications@github.com のメッセージ:

@k-okada , it still fails at checking checksum of /tmp/primesense-nite2.tar.bz2.zip ...

$ sudo dpkg -i primesense-nite2-nonfree_2.0.0-2_amd64.deb (データベースを読み込んでいます ... 現在 413332 個のファイルとディレクトリがインストールされています。) primesense-nite2-nonfree_2.0.0-2_amd64.deb を展開する準備をしています ...

  • LIB64=/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
  • LIB64_SHA256SUM=cfc0fefe69fd97b3f874175416cc64ff977710f52b9567421c8735652a038bbd
  • downloadedfilename=primesense-nite2.tar.bz2.zip
  • downloadedfile=/tmp/primesense-nite2.tar.bz2.zip
  • cachedir=/var/cache/primesense-nite2-nonfree
  • cachedfile=/var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
  • set -e
  • [ -e /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 ]
  • basename /usr/sbin/update-primesense-nite2-nonfree
  • basename=update-primesense-nite2-nonfree
  • getopt -o iufvq --long install,uninstall,fast,verbose,quiet -n update-primesense-nite2-nonfree -- --uninstall
  • getopt_temp= --uninstall --
  • eval set -- --uninstall --
  • set -- --uninstall --
  • ACTION=none
  • fast=no
  • verbose=no
  • quiet=no
  • [ true ]
  • ACTION=--uninstall
  • shift
  • [ true ]
  • shift
  • break
  • [ --uninstall != none -a 0 -eq 0 ]
  • [ no != yes ]
  • [ no != yes ]
  • mktemp -d /tmp/primesense-nite2-nonfree.XXXXXXXXXX
  • UNPACKDIR=/tmp/primesense-nite2-nonfree.tE3r1u9kqU
  • echo+ /tmp/primesense-nite2-nonfree.tE3r1u9kqU grep -q ^/tmp/primesense-nite2-nonfree.
  • cd /tmp/primesense-nite2-nonfree.tE3r1u9kqU
  • [ no != yes ]
  • [ no != yes ]
  • PKG=openni-modules-primesense-nite2-nonfree
  • test dpkg -l openni-modules-primesense-nite2-nonfree
  • [ no != yes ]
  • do_cleanup
  • [ no != yes ]
  • cd /
  • echo /tmp/primesense-nite2-nonfree.tE3r1u9kqU
  • grep -q ^/tmp/primesense-nite2-nonfree.
  • rm -rf /tmp/primesense-nite2-nonfree.tE3r1u9kqU
  • [ no != yes ] primesense-nite2-nonfree (2.0.0-2) で (2.0.0-2 に) 上書き展開しています ... primesense-nite2-nonfree (2.0.0-2) を設定しています ...
  • LIB64=/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
  • LIB64_SHA256SUM=cfc0fefe69fd97b3f874175416cc64ff977710f52b9567421c8735652a038bbd
  • downloadedfilename=primesense-nite2.tar.bz2.zip
  • downloadedfile=/tmp/primesense-nite2.tar.bz2.zip
  • cachedir=/var/cache/primesense-nite2-nonfree
  • cachedfile=/var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
  • set -e
  • [ -e /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 ]
  • basename /usr/sbin/update-primesense-nite2-nonfree
  • basename=update-primesense-nite2-nonfree
  • getopt -o iufvq --long install,uninstall,fast,verbose,quiet -n update-primesense-nite2-nonfree -- --install --fast
  • getopt_temp= --install --fast --
  • eval set -- --install --fast --
  • set -- --install --fast --
  • ACTION=none
  • fast=no
  • verbose=no
  • quiet=no
  • [ true ]
  • ACTION=--install
  • shift
  • [ true ]
  • fast=yes
  • shift
  • [ true ]
  • shift
  • break
  • [ --install != none -a 0 -eq 0 ]
  • [ no != yes ]
  • [ no != yes ]
  • mktemp -d /tmp/primesense-nite2-nonfree.XXXXXXXXXX
  • UNPACKDIR=/tmp/primesense-nite2-nonfree.9dPTPzPwKg
  • echo /tmp/primesense-nite2-nonfree.9dPTPzPwKg
  • grep -q ^/tmp/primesense-nite2-nonfree.
  • cd /tmp/primesense-nite2-nonfree.9dPTPzPwKg
  • [ no != yes ]
  • [ no != yes ]
  • dpkg --print-architecture
  • [ amd64 = amd64 ]
  • downloadurl=/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
  • checksum=cfc0fefe69fd97b3f874175416cc64ff977710f52b9567421c8735652a038bbd
  • [ no != yes ]
  • zip /tmp/primesense-nite2.tar.bz2.zip /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 adding: home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 (deflated 0%)
  • echo Checking integrity of downloaded file using sha256sum ... Checking integrity of downloaded file using sha256sum ...
  • checksum_file=/tmp/primesense-nite2.tar.bz2.zip.sha256
  • echo cfc0fefe69fd97b3f874175416cc64ff977710f52b9567421c8735652a038bbd /tmp/primesense-nite2.tar.bz2.zip
  • sha256sum -c /tmp/primesense-nite2.tar.bz2.zip.sha256 /tmp/primesense-nite2.tar.bz2.zip: 失敗 sha256sum: 警告: 1 個の計算したチェックサムが一致しませんでした
  • echo checksum failed! try downloading again... checksum failed! try downloading again...
  • exit 1 man-db (2.6.7.1-1ubuntu1) のトリガを処理しています ...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

ishiguroJSK commented 8 years ago

The terminal output is here $ sha256sum /tmp/primesense-nite2.tar.bz2.zip f69f6749ddee2620a3c8bfc028af0a88ca52940375314cad424c6e05feda18dc /tmp/primesense-nite2.tar.bz2.zip

k-okada commented 8 years ago

thank you, how about sha256sum /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2

◉ Kei Okada

2016/05/28 21:29、Yasuhiro Ishiguro notifications@github.com のメッセージ:

The terminal output is here $ sha256sum /tmp/primesense-nite2.tar.bz2.zip f69f6749ddee2620a3c8bfc028af0a88ca52940375314cad424c6e05feda18dc /tmp/primesense-nite2.tar.bz2.zip

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

ishiguroJSK commented 8 years ago

like here

$ sha256sum /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
ddd3ffa26f83e3ab2a1c32c007c18a83add03c775867a3a7024b9275c067f130  /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
k-okada commented 8 years ago

can you run https://gist.github.com/k-okada/e19a65aa0442487482ed57911da28ebd files and check output ? sorry for bother you

◉ Kei Okada

On Sat, May 28, 2016 at 9:39 PM, Yasuhiro Ishiguro <notifications@github.com

wrote:

like here

$ sha256sum /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 ddd3ffa26f83e3ab2a1c32c007c18a83add03c775867a3a7024b9275c067f130 /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ros-drivers/openni2_tracker/issues/4#issuecomment-222306492, or mute the thread https://github.com/notifications/unsubscribe/AAeG3DtsMK1zQpiok6pLLT8C-Wp8wv_pks5qGDdqgaJpZM4BCCV1 .

ishiguroJSK commented 8 years ago

like here. Don't worry about me.

++ sha256sum /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
ddd3ffa26f83e3ab2a1c32c007c18a83add03c775867a3a7024b9275c067f130  /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
++ sudo rm -f /tmp/primesense-nite2.tar.bz2.zip
++ zip -v
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
Currently maintained by E. Gordon.  Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
as of above date; see http://www.info-zip.org/ for other sites.

Compiled with gcc 4.8.2 for Unix (Linux ELF) on Oct 21 2013.

Zip special compilation options:
    USE_EF_UT_TIME       (store Universal Time)
    BZIP2_SUPPORT        (bzip2 library version 1.0.6, 6-Sept-2010)
        bzip2 code and library copyright (c) Julian R Seward
        (See the bzip2 license for terms of use)
    SYMLINK_SUPPORT      (symbolic links supported)
    LARGE_FILE_SUPPORT   (can read and write large files on file system)
    ZIP64_SUPPORT        (use Zip64 to store large files in archives)
    UNICODE_SUPPORT      (store and read UTF-8 Unicode paths)
    STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field)
    UIDGID_NOT_16BIT     (old Unix 16-bit UID/GID extra field not used)
    [encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)

Encryption notice:
    The encryption code of this program is not copyrighted and is
    put in the public domain.  It was originally written in Europe
    and, to the best of our knowledge, can be freely distributed
    in both source and object forms from any country, including
    the USA under License Exception TSU of the U.S. Export
    Administration Regulations (section 740.13(e)) of 6 June 2002.

Zip environment options:
             ZIP:  [none]
          ZIPOPT:  [none]
++ zip -v /tmp/primesense-nite2.tar.bz2.zip /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
  adding: home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 .........    (in=98151389) (out=98130282) (deflated 0%)
total bytes=98151389, compressed=98130282 -> 0% savings
++ sha256sum /tmp/primesense-nite2.tar.bz2.zip
f69f6749ddee2620a3c8bfc028af0a88ca52940375314cad424c6e05feda18dc  /tmp/primesense-nite2.tar.bz2.zip
++ zip -v /tmp/primesense-nite2.tar.bz2.zip /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
updating: home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 .........    (in=98151389) (out=98130282) (deflated 0%)
total bytes=98151389, compressed=98130282 -> 0% savings
++ sha256sum /tmp/primesense-nite2.tar.bz2.zip
f69f6749ddee2620a3c8bfc028af0a88ca52940375314cad424c6e05feda18dc  /tmp/primesense-nite2.tar.bz2.zip
k-okada commented 8 years ago

humm, this is very interesting...

+ sha256sum /home/k-okada/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
ddd3ffa26f83e3ab2a1c32c007c18a83add03c775867a3a7024b9275c067f130  /home/k-okada/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
+ sudo rm -f /tmp/primesense-nite2.tar.bz2.zip
+ zip -v
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
This is Zip 3.0 (July 5th 2008), by Info-ZIP.
Currently maintained by E. Gordon.  Please send bug reports to
the authors using the web page at www.info-zip.org; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
as of above date; see http://www.info-zip.org/ for other sites.

Compiled with gcc 4.8.2 for Unix (Linux ELF) on Oct 21 2013.

Zip special compilation options:
    USE_EF_UT_TIME       (store Universal Time)
    BZIP2_SUPPORT        (bzip2 library version 1.0.6, 6-Sept-2010)
        bzip2 code and library copyright (c) Julian R Seward
        (See the bzip2 license for terms of use)
    SYMLINK_SUPPORT      (symbolic links supported)
    LARGE_FILE_SUPPORT   (can read and write large files on file system)
    ZIP64_SUPPORT        (use Zip64 to store large files in archives)
    UNICODE_SUPPORT      (store and read UTF-8 Unicode paths)
    STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field)
    UIDGID_NOT_16BIT     (old Unix 16-bit UID/GID extra field not used)
    [encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3)

Encryption notice:
    The encryption code of this program is not copyrighted and is
    put in the public domain.  It was originally written in Europe
    and, to the best of our knowledge, can be freely distributed
    in both source and object forms from any country, including
    the USA under License Exception TSU of the U.S. Export
    Administration Regulations (section 740.13(e)) of 6 June 2002.

Zip environment options:
             ZIP:  [none]
          ZIPOPT:  [none]
+ zip -v /tmp/primesense-nite2.tar.bz2.zip /home/k-okada/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
  adding: home/k-okada/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 ......... (in=98151389) (out=98130282) (deflated 0%)
total bytes=98151389, compressed=98130282 -> 0% savings
+ sha256sum /tmp/primesense-nite2.tar.bz2.zip

any way please try newer version -> primesense-nite2-nonfree_2.0.0-3_amd64.deb.gz

ishiguroJSK commented 8 years ago

It seems to be successfully completed. And I can run dpkg -i /var/cache/primesense-nite2-nonfree/openni-module-primesense-nite2-nonfree_2.0.0.0-1_amd64.deb with no problem. Thank you.

$ sudo dpkg -i primesense-nite2-nonfree_2.0.0-3_amd64.deb 
(データベースを読み込んでいます ... 現在 413332 個のファイルとディレクトリがインストールされています。)
primesense-nite2-nonfree_2.0.0-3_amd64.deb を展開する準備をしています ...
+ LIB64=/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
+ LIB64_SHA256SUM=cfc0fefe69fd97b3f874175416cc64ff977710f52b9567421c8735652a038bbd
+ downloadedfilename=primesense-nite2.tar.bz2.zip
+ downloadedfile=/tmp/primesense-nite2.tar.bz2.zip
+ cachedir=/var/cache/primesense-nite2-nonfree
+ cachedfile=/var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
+ set -e
+ [ -e /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 ]
+ basename /usr/sbin/update-primesense-nite2-nonfree
+ basename=update-primesense-nite2-nonfree
+ getopt -o iufvq --long install,uninstall,fast,verbose,quiet -n update-primesense-nite2-nonfree -- --uninstall
+ getopt_temp= --uninstall --
+ eval set --  --uninstall --
+ set -- --uninstall --
+ ACTION=none
+ fast=no
+ verbose=no
+ quiet=no
+ [ true ]
+ ACTION=--uninstall
+ shift
+ [ true ]
+ shift
+ break
+ [ --uninstall != none -a 0 -eq 0 ]
+ [ no != yes ]
+ [ no != yes ]
+ mktemp -d /tmp/primesense-nite2-nonfree.XXXXXXXXXX
+ UNPACKDIR=/tmp/primesense-nite2-nonfree.wi2kPAobi3
+ echo /tmp/primesense-nite2-nonfree.wi2kPAobi3+ 
grep -q ^/tmp/primesense-nite2-nonfree\.
+ cd /tmp/primesense-nite2-nonfree.wi2kPAobi3
+ [ no != yes ]
+ [ no != yes ]
+ PKG=openni-modules-primesense-nite2-nonfree
+ test dpkg -l openni-modules-primesense-nite2-nonfree
+ [ no != yes ]
+ do_cleanup
+ [ no != yes ]
+ cd /
+ echo /tmp/primesense-nite2-nonfree.wi2kPAobi3
+ grep -q ^/tmp/primesense-nite2-nonfree\.
+ rm -rf /tmp/primesense-nite2-nonfree.wi2kPAobi3
+ [ no != yes ]
primesense-nite2-nonfree (2.0.0-3) で (2.0.0-2 に) 上書き展開しています ...
primesense-nite2-nonfree (2.0.0-3) を設定しています ...
+ LIB64=/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
+ LIB64_SHA256SUM=ddd3ffa26f83e3ab2a1c32c007c18a83add03c775867a3a7024b9275c067f130
+ downloadedfilename=primesense-nite2.tar.bz2.zip
+ downloadedfile=/tmp/primesense-nite2.tar.bz2.zip
+ cachedir=/var/cache/primesense-nite2-nonfree
+ cachedfile=/var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
+ set -e
+ [ -e /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 ]
+ basename /usr/sbin/update-primesense-nite2-nonfree
+ basename=update-primesense-nite2-nonfree
+ getopt -o iufvq --long install,uninstall,fast,verbose,quiet -n update-primesense-nite2-nonfree -- --install --fast
+ getopt_temp= --install --fast --
+ eval set --  --install --fast --
+ set -- --install --fast --
+ ACTION=none
+ fast=no
+ verbose=no
+ quiet=no
+ [ true ]
+ ACTION=--install
+ shift
+ [ true ]
+ fast=yes
+ shift
+ [ true ]
+ shift
+ break
+ [ --install != none -a 0 -eq 0 ]
+ [ no != yes ]
+ [ no != yes ]
+ mktemp -d /tmp/primesense-nite2-nonfree.XXXXXXXXXX
+ UNPACKDIR=/tmp/primesense-nite2-nonfree.ICFAWN24Sc
+ echo /tmp/primesense-nite2-nonfree.ICFAWN24Sc
+ grep -q ^/tmp/primesense-nite2-nonfree\.
+ cd /tmp/primesense-nite2-nonfree.ICFAWN24Sc
+ [ no != yes ]
+ [ no != yes ]
+ dpkg --print-architecture
+ [ amd64 = amd64 ]
+ downloadurl=/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
+ checksum=ddd3ffa26f83e3ab2a1c32c007c18a83add03c775867a3a7024b9275c067f130
+ [ no != yes ]
+ zip /tmp/primesense-nite2.tar.bz2.zip /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
updating: home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2 (deflated 0%)
+ echo Checking integrity of downloaded file using sha256sum ...
Checking integrity of downloaded file using sha256sum ...
+ checksum_file=/tmp/primesense-nite2.tar.bz2.zip.sha256
+ echo ddd3ffa26f83e3ab2a1c32c007c18a83add03c775867a3a7024b9275c067f130  /home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
+ sha256sum -c /tmp/primesense-nite2.tar.bz2.zip.sha256
/home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2: OK
+ cp /tmp/primesense-nite2.tar.bz2.zip /var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
+ [ no != yes ]
+ /usr/lib/primesense-nite2-nonfree/primesense-nite2-nonfree-make-deb /var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
+ test -n /var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
+ test -f /var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
+ ZIPBALL=/var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
++ unzip -lqq /var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
++ awk '{print $4}'
+ TARBALL=home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
++ unzip -p /var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
++ tar tvj
++ head -1
++ awk '{print $6}'
+ BASE=NiTE-2.0.0/Documentation/
+ ORIG_BASE=openni-modules-primesense-nite2-nonfree.orig
+ DEB_BASE=openni-modules-primesense-nite2-nonfree
+ TMPDIR=/tmp/primesense-nite2.17921
+ CACHEDIR=/var/cache/primesense-nite2-nonfree
++ pwd
+ CURDIR=/tmp/primesense-nite2-nonfree.ICFAWN24Sc
+ mkdir /tmp/primesense-nite2.17921
+ pushd /tmp/primesense-nite2.17921
/tmp/primesense-nite2.17921 /tmp/primesense-nite2-nonfree.ICFAWN24Sc
+ unzip -qq /var/cache/primesense-nite2-nonfree/primesense-nite2.tar.bz2.zip
+ tar xjf home/ishiguro/Downloads/NiTE-Linux-x64-2.0.0.tar.bz2
+ mv NiTE-2.0.0/Documentation/ openni-modules-primesense-nite2-nonfree.orig
+ cp -a openni-modules-primesense-nite2-nonfree.orig openni-modules-primesense-nite2-nonfree
+ cp -a /usr/share/primesense-nite2-nonfree/nite2_debian_dir openni-modules-primesense-nite2-nonfree/debian
+ unset BASE
+ pushd openni-modules-primesense-nite2-nonfree
/tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree /tmp/primesense-nite2.17921 /tmp/primesense-nite2-nonfree.ICFAWN24Sc
+ debuild --no-lintian -uc -us
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package primesense-nite2-nonfree
dpkg-buildpackage: source version 2.0.0.0-1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Cosimo Alfarano <kalfa@debian.org>
 dpkg-source --before-build openni-modules-primesense-nite2-nonfree
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b openni-modules-primesense-nite2-nonfree
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: warning: source directory 'openni-modules-primesense-nite2-nonfree' is not <sourcepackage>-<upstreamversion> 'primesense-nite2-nonfree-2.0.0.0'
dpkg-source: warning: .orig directory name openni-modules-primesense-nite2-nonfree.orig is not <package>-<upstreamversion> (wanted primesense-nite2-nonfree-2.0.0.0.orig)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building primesense-nite2-nonfree in primesense-nite2-nonfree_2.0.0.0.orig.tar.gz
dpkg-source: info: building primesense-nite2-nonfree in primesense-nite2-nonfree_2.0.0.0-1.diff.gz
dpkg-source: warning: executable mode 0755 of 'debian/postinst' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/prerm' will not be represented in diff
dpkg-source: info: building primesense-nite2-nonfree in primesense-nite2-nonfree_2.0.0.0-1.dsc
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
   dh_auto_build
   dh_auto_test
 fakeroot debian/rules binary
dh binary
   dh_testroot
   dh_prep
   debian/rules override_dh_auto_install
make[1]: ディレクトリ `/tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree' に入ります
install -d /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/lib
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Redist/libNiTE2.so\
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/lib
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Redist/NiTE.ini\
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/lib
install -d /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//etc/nite2/NiTE2
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Redist/NiTE2/*.dat \
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//etc/nite2/NiTE2/
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Redist/NiTE2/*.ini \
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//etc/nite2/NiTE2/
install -d /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//etc/nite2/NiTE2/Data
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Redist/NiTE2/Data/* \
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//etc/nite2/NiTE2/Data/
install -d /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/bin
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Samples/Bin/HandViewer \
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/bin/
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Samples/Bin/SimpleHandTracker \
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/bin/
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Samples/Bin/SimpleUserTracker \
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/bin/
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Samples/Bin/UserViewer \
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/bin/
install -d /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/include/nite2
install -p -m0644 /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/../NiTE-2.0.0/Include/* \
        /tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree/debian/openni-module-primesense-nite2-nonfree//usr/include/nite2/
make[1]: ディレクトリ `/tmp/primesense-nite2.17921/openni-modules-primesense-nite2-nonfree' から出ます
   dh_installdocs
   dh_installchangelogs
   dh_pysupport
dh_pysupport: This program is deprecated, you should use dh_python2 instead. Migration guide: http://deb.li/dhs2p
   dh_perl
   dh_link
   dh_compress
   dh_fixperms
   dh_strip
   dh_makeshlibs
   dh_shlibdeps
dpkg-shlibdeps: warning: /usr/lib/libOpenNI2.so has an unexpected SONAME (libOpenNI2.so.0)
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
dpkg-shlibdeps: warning: /usr/lib/libOpenNI2.so has an unexpected SONAME (libOpenNI2.so.0)
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
dpkg-shlibdeps: warning: /usr/lib/libOpenNI2.so has an unexpected SONAME (libOpenNI2.so.0)
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
dpkg-shlibdeps: warning: /usr/lib/libOpenNI2.so has an unexpected SONAME (libOpenNI2.so.0)
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
dpkg-shlibdeps: warning: /usr/lib/libOpenNI2.so has an unexpected SONAME (libOpenNI2.so.0)
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
dpkg-shlibdeps: warning: can't extract name and version from library name 'libOpenNI2.so'
   dh_installdeb
   dh_gencontrol
   dh_md5sums
   dh_builddeb
dpkg-deb: `../openni-module-primesense-nite2-nonfree_2.0.0.0-1_amd64.deb' にパッケージ `openni-module-primesense-nite2-nonfree' を構築しています。
 dpkg-genchanges  >../primesense-nite2-nonfree_2.0.0.0-1_amd64.changes
dpkg-genchanges: warning: missing Section for binary package openni-module-primesense-nite2-nonfree; using '-'
dpkg-genchanges: warning: missing Section for source files
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build openni-modules-primesense-nite2-nonfree
dpkg-buildpackage: full upload (original source is included)
+ echo Copying .deb into /var/cache/primesense-nite2-nonfree.
Copying .deb into /var/cache/primesense-nite2-nonfree.
+ echo you can install the created package, as root with:
you can install the created package, as root with:
+ echo

+ echo -n 'sudo dpkg -i '
sudo dpkg -i + for deb in '../*.deb'
+ cp ../openni-module-primesense-nite2-nonfree_2.0.0.0-1_amd64.deb /var/cache/primesense-nite2-nonfree
++ basename ../openni-module-primesense-nite2-nonfree_2.0.0.0-1_amd64.deb
+ echo -n /var/cache/primesense-nite2-nonfree/openni-module-primesense-nite2-nonfree_2.0.0.0-1_amd64.deb
/var/cache/primesense-nite2-nonfree/openni-module-primesense-nite2-nonfree_2.0.0.0-1_amd64.deb+ echo

+ popd
+ popd
+ '[' '' '!=' no ']'
+ echo 'Package tree can be found at /tmp/primesense-nite2.17921'
Package tree can be found at /tmp/primesense-nite2.17921
+ [ no != yes ]
+ do_cleanup
+ [ no != yes ]
+ cd /
+ echo /tmp/primesense-nite2-nonfree.ICFAWN24Sc
+ grep -q ^/tmp/primesense-nite2-nonfree\.
+ rm -rf /tmp/primesense-nite2-nonfree.ICFAWN24Sc
+ [ no != yes ]
man-db (2.6.7.1-1ubuntu1) のトリガを処理しています ...
bit-pirate commented 8 years ago

It's great to see you guys putting effort in this (e.g. PR #8) and sorry for not responding nor contributing. Since I don't use this tracker myself these days, it's hard to free up some time.

Unfortunately the licensing issue is still a blocker. Technical it's not a big problem, just legally.

One way to work around this would be to require users to download the Nite library themselves, but provide a default way to do this, e.g. script + instructions. The this default would be the basis.

If you have an idea how to do this, I'm all ears!

k-okada commented 8 years ago

@bit-pirate please look at https://github.com/ros-drivers/openni2_tracker/issues/4#issuecomment-222308410 log https://github.com/ros-drivers/openni2_tracker/files/287720/primesense-nite2-nonfree_2.0.0-3_amd64.deb.gz did not contain library, it requires that you already download the Nite Library under ~/Downloads directory, see https://github.com/k-okada/primesense-nite2-nonfree-2.0/blob/master/update-primesense-nite2-nonfree and https://github.com/k-okada/primesense-nite2-nonfree-2.0/blob/master/primesense-nite2-nonfree-make-deb for source code