This switch is meant to be used by packages requiring an implementation of the
former libusb (as in devel/libusb). The original implementation can be
chosen by setting LIBUSB_TYPE to "native".
The alternative implementation libusb-compat (as in devel/libusb-compat) wraps
libusb1 (in devel/libusb1). This implementation can be chosen by setting
LIBUSB_TYPE to "compat". On NetBSD, it has the advantage of not requiring root
privileges to locate and use USB devices without a kernel driver.
This second part switches packages using libusb to this framework. It does not
change compilation options or dependencies at this point.
Compile-tested on most packages affected and available on NetBSD/amd64.
Problems found with existing distfiles:
/pub/pkgsrc/distfiles/amp-0.7.6.tgz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.22.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.22.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-16000-1.0.12.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.12.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.12.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-8000-1.0.12.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz
/pub/pkgsrc/distfiles/freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz
/pub/pkgsrc/distfiles/kid3-3.3.0.tar.gz
/pub/pkgsrc/distfiles/libdca-0.0.5.tar.bz2
/pub/pkgsrc/distfiles/mp3to.gz
/pub/pkgsrc/distfiles/squeezeboxserver-7.5.1-noCPAN.tgz
No changes made to these file.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
- Added support for Rio Nitrus.
- Updated mp3 and id3 parsers.
- Removed macosx and usbdevfs drivers. libusb is now the standard driver.
- Several small bugfixes.
pkgsrc patches for DragonFly carried forward. Builds and runs on
OS X but untested (I haven't had a Rio for years). 1.4.7 was broken
in Krister's NetBSD 4.0_BETA2/i386 bulk build; perhaps this will
help.
- Fixed a major bug in id3.c that affected linux users with a file not
found error. Also fixed in main.c. Thanks to Sarah Hitchens for
finding/fixing the bug!
- Cleaned up memory leaks in playlist.c and downloadable.c.
- Fixed typo in filename for song_management.c.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
Jan 20 2004:
- Added create_playlist_rio for newer Rio players in librioutil.
- Added -j option to rioutil.
Jan 13 2004:
- Added support for downloading from S-Series Rios with firmware
version 2.0 or higher.
- Fixed a bug in mp3.c which cause songs to upload short.
Jan 10 2004:
- Fixed bugs in mp3.c and id3.c.
- Added bitrate to -l option
Jan 16 2003:
- Yet more code cleanup. Added a write_cksum_rio internal routine.
- Fixed a major typeo in complete_upload_rio. Uploads should work again.
Jan 13 2003:
- Further code cleanup
- S-Series should no longer bomb out on RIO_PREFR command
Jan 09 2003:
- Code cleanup, removed all compatability for recognizing old hack (sorry)
- (Library) added function for uploading from pipe (needs testing)
- (Frontend) added support for uploading from stdin (needs testing)
Jan 08 2003:
These updates correspond to v1.3.1 (currently in CVS):
- Updated the version to somthing a little easier to follow
- Minor fixes
- Mixed results comming in about using rioutil with the S-Series,
but in general the reports are positive :)
- Eliminated support to recognize old hack (it was causing wierd problems)
Other Changes:
- Updated README
- Release source to rioutil Firmware Updater
Dec 19 2002:
- Completly changed the downloadable song hack:
- Any file can be downloaded (regardless of what sf was used to ul it)
- Any song that is downloaded will be removed as well.
- No more weird numbering!
- General fixes/changes
- added rio900 support. let me know how well it works!
- updated the kernel driver as well with 900 support.
- made compat option fixed on ix86, downloads wont work :(
still works on os10 and linuxppc though :)
- small code cleanup to make adding devices easier.
- merged in a patch with improves mp3 recognision using mp3tech.
- Updated the build_dpkg.sh file.
- libusb is now the default method to connect to the rio
- You can still use the old default driver with the option --without-libusb.
- Small updates to mp3.c to try to improve mp3 recognision.
- Small improvement in my english skills (fixed spelling probs). english
is my only language and i can't spell!
- On a subnote, I updated the README a bit (though not much of it is
spelling).
- Implemented a solution to lost song bug. It needs testing!
- Fixed glaring bugs in driver_macosx.c.
- Fixed my implementaion of basename.
pkgsrc changes:
- use canonical pkgsrc config.guess and config.sub
- we no longer care about pre-1.6 -current systems