Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-25 Thread John Paul Adrian Glaubitz
On 07/25/2013 12:08 PM, Guillem Jover wrote: Petr, if you could commit the patch (so that authorship is preserved), I'll do an upload today (otherwise I'll commit myself, although I prefer to have proper attributtions on the VCS). Ok, that would be awesome. I have already set up a kfreebsd

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-25 Thread Guillem Jover
On Thu, 2013-07-25 at 07:29:53 +0200, Petr Salinger wrote: Do we have other options except waiting for a new release of libusb2-dev and removing the outdated kfreebsd packages from testing to make libgphoto2 and sane-backends swiftly migrate to testing? Anyways, what keeps us from just

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-25 Thread Guillem Jover
On Thu, 2013-07-25 at 12:21:37 +0200, Petr Salinger wrote: Petr, if you could commit the patch (so that authorship is preserved), I'll do an upload today (otherwise I'll commit myself, although I prefer to have proper attributtions on the VCS). It just remains to do upload, it is in our

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-25 Thread Guillem Jover
On Thu, 2013-07-25 at 14:16:57 +0200, John Paul Adrian Glaubitz wrote: On 07/25/2013 12:55 PM, Guillem Jover wrote: I'm preparing the upload right now. I'm ready and waiting with an updated libgphoto2 here. Just ping me once you have uploaded freebsd-libs and I'll be pushing libgphoto2

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-25 Thread John Paul Adrian Glaubitz
On 07/25/2013 05:27 PM, Guillem Jover wrote: On Thu, 2013-07-25 at 14:16:57 +0200, John Paul Adrian Glaubitz wrote: On 07/25/2013 12:55 PM, Guillem Jover wrote: I'm preparing the upload right now. I'm ready and waiting with an updated libgphoto2 here. Just ping me once you have uploaded

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-24 Thread John Paul Adrian Glaubitz
On 07/23/2013 06:27 PM, Petr Salinger wrote: It tries to autodetect, but then fails in a later step: checking for libusb-1.0 to use... autodetect checking for LIBUSB1... yes checking libusb.h usability... no checking libusb.h presence... yes The attached patch may help with this. (I

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-24 Thread Steven Chamberlain
On 24/07/13 09:42, John Paul Adrian Glaubitz wrote: On 07/23/2013 06:27 PM, Petr Salinger wrote: Please just fix ENODATA occurence, with updated libusb2-dev it suffices to build libgphoto2. Hmm, Steven claimed it would work with just the patched libusb.h. Sorry if I said/implied that; but

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-24 Thread Petr Salinger
Please just fix ENODATA occurence, with updated libusb2-dev it suffices to build libgphoto2. Hmm, Steven claimed it would work with just the patched libusb.h. Sorry if I said/implied that; but I had applied Markus' ENODATA fix before testing for the other issue. So yes, both libusb2-dev and

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-24 Thread John Paul Adrian Glaubitz
On 07/24/2013 12:51 PM, Petr Salinger wrote: It is possible give-back libgphoto2 when fixed libusb2-dev will be in unstable. When is that going to happen? ;) The ENODATA occurence have to be fixed. Sure, we'll do that. We just want to make sure the package actually builds fine on the

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-24 Thread Markus Koschany
On 24.07.2013 12:51, Petr Salinger wrote: Please just fix ENODATA occurence, with updated libusb2-dev it suffices to build libgphoto2. Hmm, Steven claimed it would work with just the patched libusb.h. Sorry if I said/implied that; but I had applied Markus' ENODATA fix before testing for

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-24 Thread John Paul Adrian Glaubitz
Sorry for the bad formatting, sending from mobile. Anyways, what keeps us from just integrating a patch in the libusb2-dev Debian package and do a quick upload. Be it a normal upload or an NMU. Adrian On Jul 24, 2013, at 11:47 PM, Markus Koschany a...@gambaru.de wrote: On 24.07.2013 12:51,

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-24 Thread Petr Salinger
Hi. Do we have other options except waiting for a new release of libusb2-dev and removing the outdated kfreebsd packages from testing to make libgphoto2 and sane-backends swiftly migrate to testing? Anyways, what keeps us from just integrating a patch in the libusb2-dev Debian package and do

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-23 Thread Steven Chamberlain
Hi Markus! On 23/07/13 16:08, Markus Koschany wrote: [...] on kFreeBSD-amd64 libusb-1.0 is not autodetected and libgphoto2 fails with another error. It tries to autodetect, but then fails in a later step: checking for libusb-1.0 to use... autodetect checking for LIBUSB1... yes checking

Re: libgphoto2 and sane-backends FTBFS with libusb2-dev

2013-07-23 Thread Petr Salinger
It tries to autodetect, but then fails in a later step: checking for libusb-1.0 to use... autodetect checking for LIBUSB1... yes checking libusb.h usability... no checking libusb.h presence... yes The attached patch may help with this. (I applied it directly to my system libusb.h). After