Hi Eduardo,
> > > > > There is no .pc file on the upstream libusb tarball. The pkg-config
> > > > > support seems to be a feature added by the Ubuntu package.
> > > >
> > > > The libusb however contains a libusb.pc.in file.
> > >
> > > Not on this tarball:
> > > http://prdownloads.sourceforge.net/libusb/libusb-0.1.10a.tar.gz
> >
> > The CVS has it.
>
> So, openobex won't support the libusb version 0.1.10a as released from
> libusb.sf.net?
it supports the libusb-0.1.10a, but you can't use pkgconfig to detect
openobex with this version.
> If openobex will support only the libusb versions that containg a
> libusb.pc, why not using pkg-config to find libusb on configure?
As you stated above it is not upstream at the moment.
> Otherwise, if libusb without libusb.pc is supposed to be supported,
> the generation of a broken openobex.pc in this case seems to need a fix.
No. The libusb needs to be fixed, because it is their bug not to install
a libusb.pc file. The only other option is not to install the openobex
pkgconfig file at all.
> The current case seems a bit inconsistent to me: libusbwithout libusb.pc
> is supported at build time, but it generates an openobex install that
> isn't working completely ('pkg-config --cflags' openobex isn't working).
Maybe from pkgconfig people, but people that detect openobex by themself
and others that use openobex.m4 it would be bad to not include libusb
support only because of a missing libusb.pc file.
And as I said, make the upstream libusb maintainer to release a new
version that includes libusb.pc or tell the package maintainer to fix
their package. It seems the Ubuntu guys did, so no big deal.
Regards
Marcel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users