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

Re: libmtp-dev dependency issue on kfreebsd



On Sun, Nov 17, 2013 at 06:27:54PM +0200, Modestas Vainius wrote:
> Control: reassign -1 libmtp-dev 1.1.6-20-g1b9f164-1
> 
> Hello,
> 
> Ketvirtadienis 14 Lapkritis 2013 03:12:20 rašė:
> > Package: libgphoto2-2-dev
> > Version: 2.4.14-2.3
> > Severity: serious
> > Tags: patch
> > User: debian-bsd@lists.debian.org
> > Usertags: kfreebsd
> > Control: block 725951 by -1
> > 
> > Hi,
> > 
> > The recent change to the libusb dependency of libgphoto2-2-dev created
> > an odd problem on kfreebsd when trying to build gvfs:
> > 
> > https://buildd.debian.org/status/package.php?p=gvfs
> > 
> > > gvfs build-depends on:
> > > - libgphoto2-2-dev (>= 2.4.0)
> > > libgphoto2-2-dev depends on:
> > > - libusb-1.0-0-dev | --virtual-libusb-1.0-0-dev
> > > gvfs build-depends on:
> > > - libmtp-dev (>= 1.1.0)
> > > libmtp-dev depends on:
> > > - libusb-dev
> > > libusb2-dev conflicts with:
> > > - libusb-dev
> > 
> > kfreebsd has its own libusb-dev different from the implementations
> > available on linux. 
> 
> I wouldn't be so sure that libgphoto2 is the one which needs to be fixed. In 
> my opinion, here libmtp-dev does the wrong thing. libusb-1.0 home page[1] 
> says:
> 
> -----------------------------------------------------------------------------
> FreeBSD 8 and above include a FreeBSD-specific reimplementation of the 
> libusb-1.0 API, so your applications will probably work there too. The source 
> code for this library can be found ​here. 
> -----------------------------------------------------------------------------
> 
> Having in mind that libusb-0.1 is deprecated, it seems that the whole libusb* 
> packaging structure (i.e. libusb-1.0-0-dev virtual package on kFreeBSD) in 
> Debian is meant to establish that libusbx should be used on Linux while 
> libusb2 from freebsd-libs should be used on kFreeBSD. I might be wrong so I'm 
> also CC'ing libusbx and kFreeBSD maintainers. I will reassign the bug back to 
> libgphoto2-2-dev if that's the case.

This is exactly what I suggested in bug #729249.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: