On Thu, Jun 11, 2015 at 02:59:49PM +0100, Stuart Henderson wrote: > On 2015/06/11 15:45, Martin Pieuchot wrote: > > Various ports in our tree support USB devices through the libusbhid. > > This library, only available on BSD systems, depends on the original > > model of 1 kernel driver per reportID. > > > > Nowadays it is common to plug mouses, keyboards or joysticks that show > > up as multiples uhid(4) devices. Because of that you might have to bump > > the number of /dev/uhid* nodes to be able to use your joystick with SDL. > > > > Last year with the import of upd(4) we started moving away from the > > model of 1 driver per reportID. To ease this transition it would be > > nice to reduce the number of ports depending on libusbhid and instead > > make them depend on devel/libusb1 or devel/libusb-compat. > > > > So if you maintain a port that currently depends on libusbhid, please > > try to use the libusb instead and let me know if something does not > > work. > > Here's a list:
There're probably only a handful of ports (like SDL, liblavplay, libdv...) -- the rest are depenedencies of those and only link to libusbhid because of pkgconfig or libtool dot.la files. So it shouldn't be to hard... famous last words. > $ sqlite3 /usr/local/share/sqlports > SQLite version 3.8.9 OpenBSD > Enter ".help" for usage hints. > sqlite> select fullpkgpath from wantlib where value='usbhid'; > devel/codeblocks > devel/flatzebra > devel/guilib > devel/rapidsvn > devel/sdl > devel/sdl-gfx > devel/sdl-image > devel/sdl-mixer > devel/sdl-net > devel/sdl-pango > devel/sdl-sound > devel/sdl-ttf > devel/sdl2 > devel/sdl2-gfx > devel/sdl2-image > devel/sdl2-mixer > devel/sdl2-net > devel/sdl2-ttf > devel/sdlmm > devel/smpeg > devel/smpeg2 > emulators/bochs > emulators/bochs,debug > emulators/fuse > emulators/mednafen > emulators/pcsxr > games/abuse > games/amph > games/burgerspace > games/bzflag > games/cosmosmash > games/falconseye > games/fire > games/freedroid > games/gemdropx > games/glutton > games/icebreaker > games/ivan > games/late > games/lgeneral > games/love > games/mirrormagic > games/moonlander > games/moonlander,no_sound > games/newvox > games/pushover > games/quadrupleback > games/quake,-libs > games/quake,-main > games/quake2 > games/sdlzombies > games/toppler > games/tutris > games/vectoroids > geo/spatialite/gis > geo/spatialite/gui > geo/spatialite/librewms > graphics/DevIL > graphics/agg > graphics/freeglut > graphics/smpeg-xmms > multimedia/gstreamer-0.10/plugins-bad,-main > multimedia/lives > multimedia/mjpegtools > multimedia/mjpegtools,quicktime > multimedia/transcode > multimedia/transcode,lzo,mjpegtools > multimedia/xine-lib > net/filezilla > telephony/iaxclient,-iaxcomm > x11/kde/addons3 > x11/nx/opennx > x11/vlc,-main > x11/wxSVG > -- Antoine