Re: updating OpenNI Debian packages

2013-10-01 Thread Hans-Christoph Steiner
On 06/18/2013 09:56 PM, Thomas Moulard wrote:
> On Wed, May 22, 2013 at 5:03 AM, Hans-Christoph Steiner  wrote:
>> On 05/20/2013 03:18 PM, Jochen Sprickerhof wrote:
>> I just updated primesense-nite-nonfree to the latest version and updated the
>> packaging.  I'm out of time on this sprint.  It would be great if people
>> could test it and then also contribute any relevant things from the [1]
>> above repo to it.  Its part of pkg-multimedia, so y'all should have commit
>> access to it.
>>
>> http://git.debian.org/?p=pkg-multimedia/primesense-nite-nonfree.git
> Dear Hans-Christoph,
> it just occurred to me than primesense-nite-nonfree is depending on
> libopenni-dev [1]
>
> "Depends: debconf | debconf-2.0, dpkg-dev, devscripts, wget, unzip,
> gnupg, libopenni-dev, openni-utils"
>
> Should someone upload openni too? Is the package ready for inclusion?
>
> [1] http://ftp-master.debian.org/new/primesense-nite-nonfree_0.1.html
>
> Best,

I'm about to upload another attempt, after correcting some things.  Hopefully
it finally gets thru...

.hc



signature.asc
Description: OpenPGP digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: updating OpenNI Debian packages

2013-06-19 Thread Hans-Christoph Steiner
On 06/18/2013 09:56 PM, Thomas Moulard wrote:
> On Wed, May 22, 2013 at 5:03 AM, Hans-Christoph Steiner  wrote:
>> On 05/20/2013 03:18 PM, Jochen Sprickerhof wrote:
>> I just updated primesense-nite-nonfree to the latest version and updated the
>> packaging.  I'm out of time on this sprint.  It would be great if people
>> could test it and then also contribute any relevant things from the [1]
>> above repo to it.  Its part of pkg-multimedia, so y'all should have commit
>> access to it.
>>
>> http://git.debian.org/?p=pkg-multimedia/primesense-nite-nonfree.git
> Dear Hans-Christoph,
> it just occurred to me than primesense-nite-nonfree is depending on
> libopenni-dev [1]
>
> "Depends: debconf | debconf-2.0, dpkg-dev, devscripts, wget, unzip,
> gnupg, libopenni-dev, openni-utils"
>
> Should someone upload openni too? Is the package ready for inclusion?
>
> [1] http://ftp-master.debian.org/new/primesense-nite-nonfree_0.1.html
>
> Best,
The dependencies were uploaded and rejected.  Jochen has fixed the issues, and
I just need to find the time to upload the new versions.

.hc
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: updating OpenNI Debian packages

2013-06-18 Thread Thomas Moulard
On Wed, May 22, 2013 at 5:03 AM, Hans-Christoph Steiner  wrote:
> On 05/20/2013 03:18 PM, Jochen Sprickerhof wrote:
> I just updated primesense-nite-nonfree to the latest version and updated the
> packaging.  I'm out of time on this sprint.  It would be great if people
> could test it and then also contribute any relevant things from the [1]
> above repo to it.  Its part of pkg-multimedia, so y'all should have commit
> access to it.
>
> http://git.debian.org/?p=pkg-multimedia/primesense-nite-nonfree.git

Dear Hans-Christoph,
it just occurred to me than primesense-nite-nonfree is depending on
libopenni-dev [1]

"Depends:   debconf | debconf-2.0, dpkg-dev, devscripts, wget, unzip,
gnupg, libopenni-dev, openni-utils"

Should someone upload openni too? Is the package ready for inclusion?

[1] http://ftp-master.debian.org/new/primesense-nite-nonfree_0.1.html

Best,
-- 
Thomas Moulard

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: updating OpenNI Debian packages

2013-05-21 Thread Hans-Christoph Steiner
On 05/20/2013 03:18 PM, Jochen Sprickerhof wrote:
> * Hans-Christoph Steiner  [2013-05-20 14:44]:
>> Ok, I uploaded openni-sensor-primesense and osceleton to Debian just now. 
> Awesome, thanks!
>
>> What about primesense-nite-nonfree?  Is there an updated version of that? Is
>> that still needed?
> I don't use it, so I haven't looked into packaging it. Still it would be
> great to have as it's used in ROS, for example. The sources to that
> version is at [1], but I guess the version in the Debian git is superior
> already. Would be great if someone could finish it.
>
> Cheers Jochen
>
> [1] http://kforge.ros.org/openni/drivers
I just updated primesense-nite-nonfree to the latest version and updated the
packaging.  I'm out of time on this sprint.  It would be great if people could
test it and then also contribute any relevant things from the [1] above repo
to it.  Its part of pkg-multimedia, so y'all should have commit access to it.

http://git.debian.org/?p=pkg-multimedia/primesense-nite-nonfree.git

.hc


signature.asc
Description: OpenPGP digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: updating OpenNI Debian packages

2013-05-21 Thread Hans-Christoph Steiner
On 05/21/2013 09:13 AM, Jochen Sprickerhof wrote:
> * Hans-Christoph Steiner  [2013-05-20 16:06]:
>> How about openni-sensor-avin2-sensorkinect?  Is that still relevant?
> 
> No, it's all integrated into openni-sensor-primesense, so it's working
> with the original Primesense and the Kinect.
> 
>> Have any of these patches been submitted upstream?  Things like
>> 0013-Add-SONAME-to-libraries.patch should really be included upstream.
> 
> I've send a mail to Ziv Hendel who seems to be responsible for the
> software. Not sure if he will include it, as the last release is a year
> old and there is OpenNI2 on the way. Btw. Hauke Wintjen is working on
> Debian packages of that one [1].

I briefly talked with them in the past, and outlined the SONAME stuff that
they needed to include.  I guess it never happened.  It'd save the packagers a
lot of work if this stuff can be included upstream, so its worth revisiting in
openni2


> I've just seen that I did it wrong with the openni-sensor-primesense.
> 5.1.2.1-2 is still broken, so could you probably move it back to
> 5.1.0.41? I'm really sorry for the trouble.

I've run out of time in this sprint, but don't fret.  We'll wait and see if
this goes thru, and take it from there.

.hc

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: updating OpenNI Debian packages

2013-05-21 Thread Jochen Sprickerhof
* Hans-Christoph Steiner  [2013-05-20 16:06]:
> How about openni-sensor-avin2-sensorkinect?  Is that still relevant?

No, it's all integrated into openni-sensor-primesense, so it's working
with the original Primesense and the Kinect.

> Have any of these patches been submitted upstream?  Things like
> 0013-Add-SONAME-to-libraries.patch should really be included upstream.

I've send a mail to Ziv Hendel who seems to be responsible for the
software. Not sure if he will include it, as the last release is a year
old and there is OpenNI2 on the way. Btw. Hauke Wintjen is working on
Debian packages of that one [1].

I've just seen that I did it wrong with the openni-sensor-primesense.
5.1.2.1-2 is still broken, so could you probably move it back to
5.1.0.41? I'm really sorry for the trouble.

Cheers Jochen

[1] https://github.com/hcw70/OpenNI2

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: updating OpenNI Debian packages

2013-05-20 Thread Hans-Christoph Steiner
On 05/20/2013 03:18 PM, Jochen Sprickerhof wrote:
> * Hans-Christoph Steiner  [2013-05-20 14:44]:
>> Ok, I uploaded openni-sensor-primesense and osceleton to Debian just now. 
> Awesome, thanks!
>
>> What about primesense-nite-nonfree?  Is there an updated version of that? Is
>> that still needed?
> I don't use it, so I haven't looked into packaging it. Still it would be
> great to have as it's used in ROS, for example. The sources to that
> version is at [1], but I guess the version in the Debian git is superior
> already. Would be great if someone could finish it.
>
> Cheers Jochen
>
> [1] http://kforge.ros.org/openni/drivers

How about openni-sensor-avin2-sensorkinect?  Is that still relevant?

Have any of these patches been submitted upstream?  Things like
0013-Add-SONAME-to-libraries.patch should really be included upstream.

.hc
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: updating OpenNI Debian packages

2013-05-20 Thread Jochen Sprickerhof
* Hans-Christoph Steiner  [2013-05-20 14:44]:
> Ok, I uploaded openni-sensor-primesense and osceleton to Debian just now. 

Awesome, thanks!

> What about primesense-nite-nonfree?  Is there an updated version of that? Is
> that still needed?

I don't use it, so I haven't looked into packaging it. Still it would be
great to have as it's used in ROS, for example. The sources to that
version is at [1], but I guess the version in the Debian git is superior
already. Would be great if someone could finish it.

Cheers Jochen

[1] http://kforge.ros.org/openni/drivers

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: updating OpenNI Debian packages

2013-05-20 Thread Hans-Christoph Steiner
On 05/20/2013 12:51 PM, Jochen Sprickerhof wrote:
> * Hans-Christoph Steiner  [2013-05-20 12:49]:
>> I just built openni-sensor-primesense and I got this lintian warning:
>>
>> W: libopenni-sensor-primesense1: package-name-doesnt-match-sonames libXnCore1
>> libXnDDK1 libXnDeviceFile1 libXnDeviceSensorV2-1 libXnFormats1
>>
>> I want to add a lintian override for this, so I want to document the
>> rationale.  Are those libraries basically just serving like plugins to 
>> openni?
> Right, they are registered in libopenni-sensor-primesense0.postinst and
> get loaded through dlopen.

Ok, I uploaded openni-sensor-primesense and osceleton to Debian just now. 
What about primesense-nite-nonfree?  Is there an updated version of that? Is
that still needed?

.hc
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: updating OpenNI Debian packages

2012-07-03 Thread Jochen Sprickerhof
* Hans-Christoph Steiner  [2012-07-02 10:43]:
> 
> On Jul 2, 2012, at 8:37 AM, Jochen Sprickerhof wrote:
> > Great, I've been mailing with Stephen already to get this one into
> > Debian finally. According to [1] there are still some things to sort
> > out:
> > - Did anyone mail upstream regarding the soname already?
> 
> I did email with them on the openni-dev list and they said they'd look into 
> it, but I haven't checked back.  Here's my emails:
> 
> https://groups.google.com/forum/#!msg/openni-dev/GPwUZEueIPA/SoUCATOmVbQJ
> 
> http://openni-discussions.979934.n3.nabble.com/OpenNI-dev-packages-for-Mac-OS-X-Fink-and-Debian-Ubuntu-Mint-td3673546.html

Great, I've created simple patches (attached) to add the soname. As you
are in contact with upstream already, can you ask to include them or at
least get confirmation that they will be included in the next release,
so we can push them for Debian already, maybe?

> > - I really like your way for fink to package both sensor drivers with
> >  proper names. At the moment we have avin2 imported as
> >  primesense-kinect-sensor should we change that?
> 
> Sounds good to me.

Great, thanks for doing it :).

> > Could you import the new upstream versions into the Debian git, so
> > Stephen and me only have to provide small patches?
> > 
> > Cheers Jochen
> 
> Yes, will do.

Thanks as well :).

> .hc

Cheers Jochen
>From 171230d914fe8d5248655af032689ccba0ffdfaf Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof 
Date: Tue, 3 Jul 2012 12:28:21 +0200
Subject: [PATCH] Add SONAME to libs

---
 Platform/Linux/Build/Common/CommonCppMakefile |2 +-
 Platform/Linux/CreateRedist/Redist_OpenNi.py  |1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Platform/Linux/Build/Common/CommonCppMakefile b/Platform/Linux/Build/Common/CommonCppMakefile
index c2c4afc..036239a 100644
--- a/Platform/Linux/Build/Common/CommonCppMakefile
+++ b/Platform/Linux/Build/Common/CommonCppMakefile
@@ -78,7 +78,7 @@ ifneq "$(LIB_NAME)" ""
 	ifneq ("$(OSTYPE)","Darwin")
 		LDFLAGS += -Wl,--no-undefined
 		OUTPUT_NAME = lib$(LIB_NAME).so
-		OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS) -shared
+		OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS) -Wl,-soname,${OUTPUT_NAME}.${VERSION} -shared
 	else
 		LDFLAGS += -undefined error
 		OUTPUT_NAME = lib$(LIB_NAME).dylib
diff --git a/Platform/Linux/CreateRedist/Redist_OpenNi.py b/Platform/Linux/CreateRedist/Redist_OpenNi.py
index 594311b..1b7fcb7 100644
--- a/Platform/Linux/CreateRedist/Redist_OpenNi.py
+++ b/Platform/Linux/CreateRedist/Redist_OpenNi.py
@@ -232,6 +232,7 @@ maintenance = re.search(r"define XN_MAINTENANCE_VERSION (\d+)", version_file).gr
 build = re.search(r"define XN_BUILD_VERSION (\d+)", version_file).groups()[0]
 
 version = major + "." + minor + "." + maintenance + "." + build
+MAKE_ARGS += ' VERSION=' + major + '.' + minor
 print "Version:", version
 
 print "Num of compile jobs:", calc_jobs_number()
-- 
1.7.10

>From 5265bdce2b7ff78945d21555362746f5f68ea837 Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof 
Date: Tue, 3 Jul 2012 14:35:53 +0200
Subject: [PATCH] Add SONAME to libs

---
 Platform/Linux/Build/Common/CommonCppMakefile |2 +-
 Platform/Linux/CreateRedist/RedistMaker   |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Platform/Linux/Build/Common/CommonCppMakefile b/Platform/Linux/Build/Common/CommonCppMakefile
index 5a15c82..e21b0b7 100644
--- a/Platform/Linux/Build/Common/CommonCppMakefile
+++ b/Platform/Linux/Build/Common/CommonCppMakefile
@@ -78,7 +78,7 @@ ifneq "$(LIB_NAME)" ""
 	ifneq ("$(OSTYPE)","Darwin")
 		LDFLAGS += -Wl,--no-undefined
 		OUTPUT_NAME = lib$(LIB_NAME).so
-		OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS) -shared
+		OUTPUT_COMMAND = $(CXX) -o $(OUTPUT_FILE) $(OBJ_FILES) $(LDFLAGS) -Wl,-soname,${OUTPUT_NAME}.${VERSION} -shared
 	else
 		LDFLAGS += -undefined error
 		OUTPUT_NAME = lib$(LIB_NAME).dylib
diff --git a/Platform/Linux/CreateRedist/RedistMaker b/Platform/Linux/CreateRedist/RedistMaker
index f812133..4ba785f 100755
--- a/Platform/Linux/CreateRedist/RedistMaker
+++ b/Platform/Linux/CreateRedist/RedistMaker
@@ -67,7 +67,7 @@ rm -rf ../$REDIST_DIR
 # Build Engine
 echo "Building..."
 make -C ../Build clean > /dev/null
-make -j$(calc_jobs_number) -C ../Build
+make -j$(calc_jobs_number) -C ../Build VERSION="$MAJOR.$MINOR"
 
 # create redist folder structure
 echo "Creating redist folder..."
-- 
1.7.10

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Re: updating OpenNI Debian packages

2012-07-02 Thread Hans-Christoph Steiner
On 07/02/2012 10:43 AM, Hans-Christoph Steiner wrote:
> On Jul 2, 2012, at 8:37 AM, Jochen Sprickerhof wrote:
>
>> * Hans-Christoph Steiner  [2012-06-29 11:58]:
>>> Hey, 
>> Hi Hans-Christoph,
>>
>>> This is great news!  I'm also CCing the others who have contributed to the 
>>> current packages.  I have little time to work on the OpenNI stuff these 
>>> days, but I can support you working on it as much as possible.  And I'm a 
>>> Debian Developer, so I can sponsor and upload it once its ready.
>> Great, I've been mailing with Stephen already to get this one into
>> Debian finally. According to [1] there are still some things to sort
>> out:
>> - Did anyone mail upstream regarding the soname already?
> I did email with them on the openni-dev list and they said they'd look into 
> it, but I haven't checked back.  Here's my emails:
>
> https://groups.google.com/forum/#!msg/openni-dev/GPwUZEueIPA/SoUCATOmVbQJ
>
> http://openni-discussions.979934.n3.nabble.com/OpenNI-dev-packages-for-Mac-OS-X-Fink-and-Debian-Ubuntu-Mint-td3673546.html
>
>> - I really like your way for fink to package both sensor drivers with
>>  proper names. At the moment we have avin2 imported as
>>  primesense-kinect-sensor should we change that?
> Sounds good to me.
>
>
>> [1] 
>> http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2011-June/019178.html
>>
>>> As for getting access to the git, I think the best route for now is if you 
>>> clone those repos and then post your work to sourceforge, github, or 
>>> whatever public git host.  Then I can review the stuff there and include it 
>>> into the official repo.
>> Could you import the new upstream versions into the Debian git, so
>> Stephen and me only have to provide small patches?
>>
>> Cheers Jochen
> Yes, will do.

Ok, I renamed the avin2 package and added the official sensor package:

http://anonscm.debian.org/gitweb/?p=pkg-multimedia/openni-sensor-avin2-sensorkinect.git
http://anonscm.debian.org/gitweb/?p=pkg-multimedia/openni-sensor-primesense.git

I updated the 'pristine-tar' and 'upstream' branches on openni:
http://anonscm.debian.org/gitweb/?p=pkg-multimedia/openni.git

I left primesense-nite-nonfree as is because as far as I know it doesn't
have an 'upstream' branch since it downloads the binary tarball.

Should be ready for people to hack on, let me know if I missed something.

.hc




___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Re: updating OpenNI Debian packages

2012-07-02 Thread Hans-Christoph Steiner

On Jul 2, 2012, at 8:37 AM, Jochen Sprickerhof wrote:

> * Hans-Christoph Steiner  [2012-06-29 11:58]:
>> Hey, 
> 
> Hi Hans-Christoph,
> 
>> This is great news!  I'm also CCing the others who have contributed to the 
>> current packages.  I have little time to work on the OpenNI stuff these 
>> days, but I can support you working on it as much as possible.  And I'm a 
>> Debian Developer, so I can sponsor and upload it once its ready.
> 
> Great, I've been mailing with Stephen already to get this one into
> Debian finally. According to [1] there are still some things to sort
> out:
> - Did anyone mail upstream regarding the soname already?

I did email with them on the openni-dev list and they said they'd look into it, 
but I haven't checked back.  Here's my emails:

https://groups.google.com/forum/#!msg/openni-dev/GPwUZEueIPA/SoUCATOmVbQJ

http://openni-discussions.979934.n3.nabble.com/OpenNI-dev-packages-for-Mac-OS-X-Fink-and-Debian-Ubuntu-Mint-td3673546.html

> - I really like your way for fink to package both sensor drivers with
>  proper names. At the moment we have avin2 imported as
>  primesense-kinect-sensor should we change that?

Sounds good to me.


> [1] 
> http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2011-June/019178.html
> 
>> As for getting access to the git, I think the best route for now is if you 
>> clone those repos and then post your work to sourceforge, github, or 
>> whatever public git host.  Then I can review the stuff there and include it 
>> into the official repo.
> 
> Could you import the new upstream versions into the Debian git, so
> Stephen and me only have to provide small patches?
> 
> Cheers Jochen

Yes, will do.

.hc
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers