[Pkg-running-devel] Bug#810414: Bug#810414: Bug#810414: garmin-forerunner-tools: please switch to libusb 1.0

Olaf Meeuwissen paddy-hack at member.fsf.org
Sat Feb 13 14:20:37 UTC 2016

Hi Christian,

Christian PERRIER writes:

> Quoting Aurelien Jarno (aurel32 at debian.org):
>> Package: garmin-forerunner-tools
>> Version: 0.10repacked-5
>> Severity: wishlist
>> Dear Maintainer,
>> garmin-forerunner-tools has a build-depends on libusb-dev. A few years ago upstream
>> has released a new major version libusb 1.0 with a different API which
>> aims to fix design deficiencies with USB 2.0 and 3.0 in mind.
>> The old libusb 0.1 package is not supported upstream anymore and should
>> be considered deprecated.
>> If garmin-forerunner-tools supports the new libusb 1.0 library, please consider
>> switching the build-depends from libusb-dev to libusb-1.0-0-dev. If not
>> please inform upstream that porting the software to the new API is
>> recommended.
> As one would expect, switching the build dependency was not enough:
> checking for libusb-config... no
> configure: error: cannot build garmintools without libusb
> debian/rules:19: recipe for target 'config.status' failed
> make: *** [config.status] Error 1
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> E: Failed autobuilding of package

I had a look at this as well and produced the patch attached.  I believe
it is fine but, for lack of a Garmin, I have no way to check it actually

The code compiles fine on jessie.

Hope this helps anyway,
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libusb-1.0.patch
Type: text/x-diff
Size: 12163 bytes
Desc: Switch garmin-forerunner-tools to libusb-1.0
URL: <http://lists.alioth.debian.org/pipermail/pkg-running-devel/attachments/20160213/c7dc5c1c/attachment.patch>

More information about the Pkg-running-devel mailing list