[MacPorts] #20423: please create libusb-legacy
MacPorts
noreply at macports.org
Thu Aug 6 18:44:08 PDT 2009
#20423: please create libusb-legacy
-------------------------------+--------------------------------------------
Reporter: mlk@… | Owner: macports-tickets@…
Type: request | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: libusb-legacy |
-------------------------------+--------------------------------------------
Comment(by mlk@…):
Thank you for being attentive to this request. That said, I liked the
original version better, when file names weren't changed; I can no longer
use this port -directly- with GNU Radio, instead finding some indirect
means to get GR's configure script to detect the presence of libusb-legacy
(without changing the configure script to look for libusb-legacy.pc). I
understand that there was a conflict between the compat and legacy (as I
mentioned earlier), and hence a need to do -something- quickly.
My preference is keep complete filename and functionality backwards
compatibility of both LIBUSB legacy and compat (NOT at the same time), and
insert a check in the Portfile of each to make sure the other isn't
installed (and error out if so with a brief message about picking one or
the other). Those ports which rely upon one or the other could then look
for the file $prefix/lib/pkgconfig/libusb.pc and be happy if installed (by
either port) -- and it would be the user's choice as to which to install
and use: the faster but just external-API compatible compat, or the slower
but guaranteed to be functional internal and external legacy.
This latter seems like a more robust and functional solution: one which
does not require changes to any projects making use of the older libusb.
--
Ticket URL: <http://trac.macports.org/ticket/20423#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list