]> git.openpandora.org Git - openembedded.git/commitdiff
many files: Introduction of virtual/libusb0 provided by libusb or libusb-compat:
authorStanislav Brabec <utx@penguin.cz>
Fri, 26 Jun 2009 19:18:12 +0000 (19:18 +0000)
committerutx@penguin.cz <utx@penguin.cz>
Fri, 26 Jun 2009 19:18:12 +0000 (19:18 +0000)
* for more see http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-June/012217.html

63 files changed:
conf/distro/angstrom-2008.1.conf
conf/distro/include/preferred-slugos-versions.inc
conf/distro/include/slugos.inc
recipes/0xFFFF/0xffff-native_0.1.bb
recipes/0xFFFF/0xffff-native_0.2.bb
recipes/bluez/bluez-utils.inc
recipes/bluez/bluez-utils3.inc
recipes/bluez/bluez.inc
recipes/bluez/bluez4.inc
recipes/bluez/bluez4_4.31.bb
recipes/bluez/bluez4_4.35.bb
recipes/bluez/bluez4_4.37.bb
recipes/ccid/ccid_1.3.8.bb
recipes/dfu-util/dfu-util-native_svn.bb
recipes/dfu-util/dfu-util_svn.bb
recipes/emul/emul_1.0.5.bb
recipes/ezx/ezx-boot-usb-native_svn.bb
recipes/gnuradio/gnuradio.inc
recipes/gphoto2/libgphoto2_2.1.4.bb
recipes/gphoto2/libgphoto2_2.1.5.bb
recipes/gphoto2/libgphoto2_2.1.6.bb
recipes/gphoto2/libgphoto2_2.4.2.bb
recipes/gphoto2/libgphoto2_2.4.4.bb
recipes/gpsbabel/gpsbabel_1.2.5.bb
recipes/gpsbabel/gpsbabel_1.3.6.bb
recipes/hal/hal.inc
recipes/hal/hal_0.5.9.1.bb
recipes/hal/hal_git.bb
recipes/lcd4linux/lcd4linux_0.10.0.bb
recipes/lcd4linux/lcd4linux_0.11.0-SVN.bb
recipes/lcdproc/lcdproc5.inc
recipes/libftdi/libftdi-native_0.13.bb
recipes/libftdi/libftdi-native_0.9.bb
recipes/libftdi/libftdi_0.13.bb
recipes/libftdi/libftdi_0.9.bb
recipes/libg15/libg15_1.2.1.bb
recipes/libgphoto2/libgphoto2_2.4.0.bb
recipes/librfid/librfid_svn.bb
recipes/libusb/libusb-compat_0.0.9+0.1.0-beta2.bb
recipes/libusb/libusb-compat_0.1.0.bb
recipes/libusb/libusb-native_0.1.10a.bb
recipes/libusb/libusb-native_0.1.12.bb
recipes/libusb/libusb_0.0.0.bb [deleted file]
recipes/libusb/libusb_0.1.10a.bb
recipes/libusb/libusb_0.1.12.bb
recipes/nut/nut_2.2.1.bb
recipes/obexftp/obexftp_0.22.bb
recipes/obexftp/obexftp_0.23.bb
recipes/openobex/openobex_1.2.bb
recipes/openobex/openobex_1.3.bb
recipes/openobex/openobex_1.5.bb
recipes/owfs/owfs_2.7p21.bb
recipes/python/python-pyusb_0.4.1.bb
recipes/samsung-soc-utils/s3c2410-boot-usb-native_svn.bb
recipes/sane/sane-backends_1.0.19.bb
recipes/sdr/hamlib_1.2.9.bb
recipes/usbpath/usbpath-native_svn.bb
recipes/usbpath/usbpath_svn.bb
recipes/usbutils/usbutils_0.70.bb
recipes/usbutils/usbutils_0.73.bb
recipes/usbutils/usbutils_0.82.bb
recipes/usbutils/usbutils_cvs.bb
recipes/usrp/usrp_0.12.bb

index f0b8a040eab141b84e5bc335ed890b6bef50a11a..470c31a7882ed591d3001ad65953f5be50d6cfc3 100644 (file)
@@ -88,6 +88,8 @@ PREFERRED_VERSION_uclibc-initial      ?= "0.9.30"
 PREFERRED_PROVIDER_virtual/psplash               ?= "psplash-angstrom"
 
 PREFERRED_PROVIDER_avahi = "avahi"
+PREFERRED_PROVIDER_virtual/libusb0 ?= "libusb-compat"
+PREFERRED_PROVIDER_virtual/gail    ?= "gtk+"
 
 #powerpc needs additional patches to gcc
 ANGSTROM_GCC_VERSION_ppc405            ?= "4.1.1"
index 992235a4b9e462fe00122abb7999774580d20307..0eae85b686d1c30caea6bdc9a3cb5c3d6882b1eb 100644 (file)
@@ -63,11 +63,5 @@ PREFERRED_VERSION_udev                               ?= "118"
 
 ##################### Stuff with special notes, and broken stuff:
 
-# Hack alert - selecting this version of libusb effectively selects
-# the use of libusb1 and libusb-compat in the case that something
-# still depends on libusb. This is required because otherwise
-# libusb will overwrite libusb-compat in staging.
-PREFERRED_VERSION_libusb                       ?= "0.0.0"
-
 # boost 1.36 won't build
 PREFERRED_VERSION_boost                                ?= "1.33.1"
index b1b89b98701be4c5326275ef8f8619463a3aa0d5..fb036c10e8872a24c1b7e9fe5c79e7330662f707 100644 (file)
@@ -159,6 +159,7 @@ PREFERRED_PROVIDER_gdk-pixbuf-loader-xpm    ?= "gtk+"
 
 PREFERRED_PROVIDER_avahi                       ?= "avahi"
 PREFERRED_PROVIDER_gconf                       ?= "gconf"
+PREFERRED_PROVIDER_virtual/libusb0             ?= "libusb-compat"
 
 # Include any package preferred versions and srcrevs:
 
index 2530388d068a32915e9924b80e173783be9f73ae..3e694eb883d610e68d51135439e4d814e675a034 100644 (file)
@@ -1,6 +1,6 @@
 require 0xffff.inc
 
-DEPENDS = "libusb-native"
+DEPENDS = "virtual/libusb0-native"
 
 inherit native
 
index eb82cb468a8b223ee2c8b51214d49a83ef15c6fb..be15c8e900c6046965f0f53bac0066879b2ad567 100644 (file)
@@ -1,6 +1,6 @@
 require 0xffff.inc
 
-DEPENDS = "libusb-native"
+DEPENDS = "virtual/libusb0-native"
 
 inherit native
 
index 298650a080001189cfbc61328d3dbf46ff30b893..7c84f4e1d57bd0492d32f150591b0a42fb030cca 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Linux Bluetooth Stack Userland Utilities."
 SECTION = "console"
 PRIORITY = "optional"
-DEPENDS = "gstreamer gst-plugins-base bluez-libs-${PV} libusb-compat dbus cups"
+DEPENDS = "gstreamer gst-plugins-base bluez-libs-${PV} virtual/libusb0 dbus cups"
 PROVIDES = "bluez-utils-dbus"
 RPROVIDES_${PN} = "bluez-pan bluez-sdp bluez-utils-dbus"
 RREPLACES = "bluez-utils-dbus"
index 5fab6e72c6a75f85060afb1a836a2e4fddad63c4..df071b76d9801f5849e0789f1f1a97141a3314c1 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Linux Bluetooth Stack Userland Utilities."
 SECTION = "console"
 PRIORITY = "optional"
-DEPENDS = "gstreamer gst-plugins-base bluez-libs-${PV} libusb-compat dbus glib-2.0"
+DEPENDS = "gstreamer gst-plugins-base bluez-libs-${PV} virtual/libusb0 dbus glib-2.0"
 PROVIDES = "bluez-utils-dbus"
 RPROVIDES_${PN} = "bluez-pan bluez-sdp bluez-utils-dbus"
 RREPLACES = "bluez-utils-dbus"
index 711ac383be744a4dac493b7c7a470c2140506c3e..e4202f3bd5971453143d4dcf790f55dd029c8371 100644 (file)
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.bluez.org"
 LICENSE = "GPL"
 PR = "r0"
 
-DEPENDS = "gstreamer gst-plugins-base libusb1 dbus glib-2.0"
+DEPENDS = "gstreamer gst-plugins-base dbus glib-2.0"
 PROVIDES = "bluez-utils-dbus"
 RPROVIDES_${PN} = "bluez-pan bluez-sdp bluez-utils-dbus"
 RREPLACES = "bluez-utils-dbus"
index f9a72a5345af44af47fadd474295bca389637bcd..4c3bfb8e8c3cef0c90f67d491fca452c259a50b0 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Linux Bluetooth Stack Userland V4"
 SECTION = "libs"
 PRIORITY = "optional"
-DEPENDS = "gst-plugins-base alsa-lib libusb-compat dbus-glib"
+DEPENDS = "gst-plugins-base alsa-lib virtual/libusb0 dbus-glib"
 HOMEPAGE = "http://www.bluez.org"
 LICENSE = "GPL"
 INC_PR = "r1"
index 8c2f6562ebbe16cbcd99892df36bf3fb2a73ec0f..ef35f1b9d526038a26b623f1362c5e12e1ec1e19 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Linux Bluetooth Stack Userland V4"
 SECTION = "libs"
 PRIORITY = "optional"
-DEPENDS = "gst-plugins-base alsa-lib libusb-compat dbus-glib"
+DEPENDS = "gst-plugins-base alsa-lib virtual/libusb0 dbus-glib"
 HOMEPAGE = "http://www.bluez.org"
 LICENSE = "GPL"
 PR = "r6"
index ce9c5a36ea2b05eeef432b0c6b9bdedc2972b44b..1049e8dbed5fcbedb0159f805666cd82c5b37a39 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Linux Bluetooth Stack Userland V4"
 SECTION = "libs"
 PRIORITY = "optional"
-DEPENDS = "gst-plugins-base alsa-lib libusb-compat dbus-glib"
+DEPENDS = "gst-plugins-base alsa-lib virtual/libusb0 dbus-glib"
 HOMEPAGE = "http://www.bluez.org"
 LICENSE = "GPL"
 
index c28f260761de47d72a06f9abf7140771f32ae92b..f860b805864d99036ea5f77a5ac9517817690bda 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Linux Bluetooth Stack Userland V4"
 SECTION = "libs"
 PRIORITY = "optional"
-DEPENDS = "gst-plugins-base alsa-lib libusb-compat dbus-glib"
+DEPENDS = "gst-plugins-base alsa-lib virtual/libusb0 dbus-glib"
 HOMEPAGE = "http://www.bluez.org"
 LICENSE = "GPL"
 
index c2ade3119ae9771c360410f7db65937ea788f6d3..af0303b427a121ad965e0c2d7e0ce6f55dcf2c80 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://pcsclite.alioth.debian.org/ccid.html"
 LICENSE = "GPL"
 PR = "r0"
 
-DEPENDS = "libusb pcsc-lite"
+DEPENDS = "virtual/libusb0 pcsc-lite"
 RDEPENDS = "pcsc-lite"
 
 SRC_URI = "http://alioth.debian.org/download.php/2482/ccid-${PV}.tar.bz2"
index ad0bece8fac7ea3c996b6ee2d75b655b75e18a3e..6b1cf915ce2469ebaf8fc7bf91e6023e87a5c129 100644 (file)
@@ -2,7 +2,7 @@ require dfu-util_${PV}.bb
 
 inherit native
 
-DEPENDS = "libusb-native usbpath-native"
+DEPENDS = "virtual/libusb0-native usbpath-native"
 
 do_stage() {
        install -d ${STAGING_BINDIR_NATIVE}
index 5cb95cbac837036c8b9e5f91ecf50f1394603ad4..17329b3cd4a424bca495f20610a53b93cf33e953 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "GPL"
 PV = "0.1+svnr${SRCREV}"
 PR = "r2"
 
-DEPENDS = "libusb usbpath"
+DEPENDS = "virtual/libusb0 usbpath"
 
 SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=dfu-util;proto=http"
 S = "${WORKDIR}/dfu-util"
index 261c604b91f681663d3f9a1186b2fb42b741611a..6e1bf99616ea425def1aa97751a6530c8514a83f 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "EarthMate Userland Library"
 SECTION = "libs/network"
 PRIORITY = "optional"
 LICENSE = "GPL"
-DEPENDS = "libusb ncurses"
+DEPENDS = "virtual/libusb0 ncurses"
 PR = "r1"
 
 SRC_URI = "http://download.berlios.de/emul/emul-${PV}.tar.gz"
index 426ad4a55522422ee12f5625bd58db0b485f644f..0615686c263d9ff56262c813015dc7f3091c5316 100644 (file)
@@ -1,5 +1,5 @@
 DESCRIPTION = "Boot a Motorola EZX device with a user supplied kernel"
-DEPENDS = "libusb-native virtual/kernel"
+DEPENDS = "virtual/libusb0-native virtual/kernel"
 SECTION = "devel"
 AUTHOR = "Team OpenEZX <openezx-devel@lists.openezx.org>"
 LICENSE = "GPL"
index 80536e7f8631eb4c45e02269ffaa04490f5f5691..8a0ca547268063ab76f702b9a731fa42bb18a68d 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "GNU Radio"
 SECTION =  "apps"
 PRIORITY = "optional"
 LICENSE = "GPLv3"
-DEPENDS = "libusb guile-native fftwf python virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native python-numpy"
+DEPENDS = "virtual/libusb0 guile-native fftwf python virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native python-numpy"
 INC_PR = "r7"
 
 inherit distutils-base autotools autotools_stage pkgconfig
index fed7c41e40bdbbf4acd47de531492cd43885cc02..8b1d2f2af43f27d46a939c1e451ec4c526986e27 100644 (file)
@@ -1,5 +1,5 @@
 SECTION = "libs"
-DEPENDS = "jpeg libusb libexif"
+DEPENDS = "jpeg virtual/libusb0 libexif"
 DESCRIPTION = "libgphoto2 allows you to access digital cameras"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2"
index 67efc3878509526390317289201b047b5ec41b53..040703928221d1963c0cee481a1a94ed79e8847c 100644 (file)
@@ -1,6 +1,5 @@
 SECTION = "libs"
-DEPENDS = "jpeg libusb libexif"
-RPEDENDS = "libusb"
+DEPENDS = "jpeg virtual/libusb0 libexif"
 DESCRIPTION = "libgphoto2 allows you to access digital cameras"
 PR = "r3"
 
index ad57ba8cf1aebbb1a31299f78afd82117c800eef..e7df7499404e9439e17e0ebeaad87767582108e1 100644 (file)
@@ -1,6 +1,5 @@
 SECTION = "libs"
-DEPENDS = "jpeg libusb libexif"
-RPEDENDS = "libusb"
+DEPENDS = "jpeg virtual/libusb0 libexif"
 DESCRIPTION = "libgphoto2 allows you to access digital cameras"
 PR = "r6"
 
index 991f3ec7592c46e43d8ce443517e28b9ab8fd0b2..c5e54f5a5bd0f4de378c13fe3f22a3bb7b52c096 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "libgphoto2 allows you to access digital cameras"
 
 SECTION = "libs"
 LICENSE = "GPL"
-DEPENDS = "libtool jpeg libusb libexif"
+DEPENDS = "libtool jpeg virtual/libusb0 libexif"
 
 PR = "r0"
 
index d5eb039cac842e8bd0eaf4d4ce52b1540e2be52e..7c93d52a12e3238ce3e2b442f68e8902e3e63b21 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "libgphoto2 allows you to access digital cameras"
 SECTION = "libs"
 LICENSE = "GPL"
-DEPENDS = "libtool jpeg libusb libexif"
+DEPENDS = "libtool jpeg virtual/libusb0 libexif"
 
 PR = "r0"
 
index 987b000f104c7814c4fce411fb8e8ce7f1aba37e..625ecc608cd3e29f565abd8237179fcfde70a923 100644 (file)
@@ -1,6 +1,6 @@
 SECTION = "console/utils"
 DESCRIPTION = "GPS data converter"
-DEPENDS = "expat libusb"
+DEPENDS = "expat virtual/libusb0"
 HOMEPAGE = "http://gpsbabel.sf.net"
 LICENSE = "GPL"
 
index e0888b59930d2a67293a363180a92c953cfa44b9..dd4e768dc5aba63e4eea9d5c16e04b7237924533 100644 (file)
@@ -1,6 +1,6 @@
 SECTION = "console/utils"
 DESCRIPTION = "GPS data converter"
-DEPENDS = "expat libusb-compat"
+DEPENDS = "expat virtual/libusb0"
 HOMEPAGE = "http://www.gpsbabel.org/"
 LICENSE = "GPL"
 
index da24afe25a343c1c6313e450410face189a2e1b5..72df07f8bd6984a0166917e364fea7742a5e64bd 100644 (file)
@@ -9,7 +9,7 @@ S = "${WORKDIR}/hal-${PV}"
 
 inherit autotools pkgconfig
 
-DEPENDS = "virtual/kernel util-linux-ng dbus-glib udev intltool intltool-native expat libusb gperf-native"
+DEPENDS = "virtual/kernel util-linux-ng dbus-glib udev intltool intltool-native expat virtual/libusb0 gperf-native"
 RDEPENDS += "hal-info udev-utils"
 RRECOMMENDS += "eject"
 
index ecc98e10bc524b8371caa73395a2df017745c283..b666446cc2dc4a27e1d5d465b0fae64b6c3f96f1 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://freedesktop.org/Software/hal"
 SECTION = "unknown"
 LICENSE = "GPL LGPL AFL"
 
-DEPENDS = "virtual/kernel dbus-glib udev intltool-native expat libusb-compat"
+DEPENDS = "virtual/kernel dbus-glib udev intltool-native expat virtual/libusb0"
 RDEPENDS_${PN} += "udev-utils hal-info"
 
 PR = "r9"
index 5fcd7433ed955587c1e7f399b3b73c076426737c..8bd82856130ed28477dc3e7ca8c2705300003936 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "GPL LGPL AFL"
 
 DEFAULT_PREFERENCE = "-1"
 
-DEPENDS = "virtual/kernel dbus-glib udev intltool-native expat libusb-compat"
+DEPENDS = "virtual/kernel dbus-glib udev intltool-native expat virtual/libusb0"
 RDEPENDS_${PN} += "udev-utils hal-info"
 
 SRC_URI = "git://anongit.freedesktop.org/hal/;protocol=git \
index fe73954fe5c887257bb8a0c6e24a87253f5eacb1..7764f2b98b4b54fc3fb2faf72fa8f1e5f704a3ab 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "LCD4Linux is a small program that grabs information from the kernel and some subsystems and displays it on an external liquid crystal display."
 LICENSE = "GPLv2"
 
-DEPENDS = "libusb-compat ncurses readline virtual/libx11"
+DEPENDS = "virtual/libusb0 ncurses readline virtual/libx11"
 
 PV = "0.10.0+0.10.1-RC2"
 PR = "r4"
index 01471bdfc1daddcf38a911fdcabdc0f5066489cd..b105aea8c7ab0bb3699e9f57e64ded0d8578b1e5 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "LCD4Linux is a small program that grabs information from the kernel and some subsystems and displays it on an external liquid crystal display."
 LICENSE = "GPLv2"
 
-DEPENDS = "libusb-compat ncurses readline virtual/libx11"
+DEPENDS = "virtual/libusb0 ncurses readline virtual/libx11"
 
 PV = "0.11.0-SVN"
 PR = "r0"
index de704bcad0f158120e1a4504d68e1aa1793f96f3..8aeba901c61ee11025948638cba03b5c195ab5f4 100644 (file)
@@ -4,7 +4,7 @@ HOMEPAGE = "http://lcdproc.org"
 SECTION = "utils"
 PRIORITY = "optional"
 LICENSE = "GPL"
-DEPENDS = "libusb ncurses"
+DEPENDS = "virtual/libusb0 ncurses"
 RRECOMMENDS_lcdproc = "lcdd"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/lcdproc/${P}.tar.gz"
index 24f82778e5e70ae18eafd642fa83484000f82c17..e69e3202e5958e82619c11fda21166b5fb264893 100644 (file)
@@ -2,4 +2,4 @@ require libftdi_${PV}.bb
 
 inherit native
 
-DEPENDS = "libusb-native"
+DEPENDS = "virtual/libusb0-native"
index 24f82778e5e70ae18eafd642fa83484000f82c17..e69e3202e5958e82619c11fda21166b5fb264893 100644 (file)
@@ -2,4 +2,4 @@ require libftdi_${PV}.bb
 
 inherit native
 
-DEPENDS = "libusb-native"
+DEPENDS = "virtual/libusb0-native"
index 3e787ca5125bcd0d76d53cd235f8b8bb23c7df4e..b336454ef180e0da830e912fa2f0451d4765d305 100644 (file)
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.intra2net.com/de/produkte/opensource/ftdi/"
 LICENSE = "LGPL"
 SECTION = "libs"
 
-DEPENDS = "libusb"
+DEPENDS = "virtual/libusb0"
 
 SRC_URI = "http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/libftdi-${PV}.tar.gz \
           file://autotools.patch;patch=1 \
index f7426ceb1ad2854668533eca7654f742ce24a864..a8cab451ab58a3bd753d154548e42cfe046e4b72 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "libftdi is a library (using libusb) to talk to FTDI's \
 FT232BM, FT245BM and FT2232C type chips including the popular bitbang mode."
 HOMEPAGE = "http://www.intra2net.com/de/produkte/opensource/ftdi"
 LICENSE = "GPL"
-DEPENDS = "libusb"
+DEPENDS = "virtual/libusb0"
 
 SRC_URI = "http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/libftdi-${PV}.tar.gz \
            file://doxygen-configure.patch;patch=1"
index 930cfe864006853536e87e486c46160330bda194..85b02a3f9b2e6a4563e5d73f6dd7ca4b7ad9b49d 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://g15tools.sourceforge.net"
 LICENSE = "GPLv2"
 SECTION = "libs"
 PRIORITY = "optional"
-DEPENDS = "libusb"
+DEPENDS = "virtual/libusb0"
 PR = "r3"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/g15tools/libg15-${PV}.tar.bz2"
index c6f63374ccccc6d3c2f846ef151b86c4445c1ce4..ca51f98e64ed83e2d0bcce891834c3f23e832378 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "libgphoto2 allows you to access digital cameras"
 
 SECTION = "libs"
 LICENSE = "GPL"
-DEPENDS = "libtool jpeg libusb libexif"
+DEPENDS = "libtool jpeg virtual/libusb0 libexif"
 
 PR = "r0"
 
index 78800de3eb70c32296a32891982b62d6b3f35858..f687985c79cacc1d00389c86a789bfaed800162c 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "RFID library"
 SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "GPL"
-DEPENDS = "libusb"
+DEPENDS = "virtual/libusb0"
 SRCNAME = "librfid"
 
 PV = "0.2.0+svnr${SRCREV}"
index 34cc1ac50df014fc9b364b657eec6fb0afbfa209..aa6442826d48e1ab4ad20551090a17dd02e0f39d 100644 (file)
@@ -3,6 +3,7 @@ access to USB devices."
 HOMEPAGE = "http://libusb.sf.net"
 SECTION = "libs"
 LICENSE = "LGPL"
+PROVIDES = "virtual/libusb0"
 
 PE = "1"
 PR = "r0"
index 48694403e507bf359104df85781a61f151d8d413..9fcff0de3936b2c7b079acd962d2686adbc251a0 100644 (file)
@@ -3,6 +3,7 @@ access to USB devices."
 HOMEPAGE = "http://libusb.sf.net"
 SECTION = "libs"
 LICENSE = "LGPL"
+PROVIDES = "virtual/libusb0"
 
 PE = "1"
 PR = "r0"
index a76768c3b682c9ea988e9580d4a89f4fae129633..a2eb0613379dd325c885be598ba41657b90a0f80 100644 (file)
@@ -1,4 +1,5 @@
 require libusb_${PV}.bb
 inherit native
+PROVIDES = "virtual/libusb0-native"
 
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libusb-0.1.10a"
index 637ded28e4aa3ceb3376e1c12f6e5f274fda99cc..2efe2eee89d022d39ed1001ff838da321b68d7bb 100644 (file)
@@ -1,3 +1,3 @@
 require libusb_${PV}.bb
 inherit native
-
+PROVIDES = "virtual/libusb0-native"
diff --git a/recipes/libusb/libusb_0.0.0.bb b/recipes/libusb/libusb_0.0.0.bb
deleted file mode 100644 (file)
index fe45956..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-DESCRIPTION = "libusb is a library to provide userspace access to USB \
-devices.  This version is a metapackage that pulls in libusb-compat, \
-the replacement for libusb."
-
-# This version of libusb will never be pulled in automagically.  The
-# intention is that a distro wishing to use libusb1 and libusb-compat
-# will place the following in the appropriate conf file:
-#
-# PREFERRED_VERSION_libusb = "0.0.0"
-#
-# This essentially results in the replacement of libusb by libusb-compat,
-# and resolves the issues of some packages depending on libusb, while
-# other (newer) ones depend on libusb-compat.
-#
-# Note that using this version of libusb will break certain packages
-# that cannot work with libusb-compat (gnuradio is said to be such a
-# packages, as is dfu-util).  Unfortunately other packages (such as bluez)
-# require libusb-compat -- there's no good solution for this conflict
-# at this time.  The fundamental problem is that both libusb and
-# libusb-compat stage to the same libs (/usr/lib/libusb.a, for example),
-# so if you have built both, the last one staged wins.
-#
-# This "hack" seems to be the most flexible and least intrusive workaround.
-
-DEFAULT_PREFERENCE = "-1"
-
-DEPENDS = "libusb-compat"
index 8648f96571cda21a876131fb2bd857f9a86a47e5..038a1dd09068ff203e830c9774acc5de364a43f2 100644 (file)
@@ -1,7 +1,7 @@
-DESCRIPTION = "libusb is a library to provide userspace \
-access to USB devices."
+DESCRIPTION = "libusb is a library to provide userspace access to USB devices."
 SECTION = "libs"
 LICENSE = "LGPL"
+PROVIDES = "virtual/libusb0"
 PR = "r7"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \
index 3d6a213b456ce1a57f2a5fae0ba758f9bcf6a81c..ccf4a5850e8dba1188e82925aca1374dd4074b33 100644 (file)
@@ -1,8 +1,8 @@
-DESCRIPTION = "libusb is a library to provide userspace \
-access to USB devices."
+DESCRIPTION = "libusb is a library to provide userspace access to USB devices."
 HOMEPAGE = "http://libusb.sf.net"
 SECTION = "libs"
 LICENSE = "LGPL"
+PROVIDES = "virtual/libusb0"
 PR = "r3"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.gz \
index db3367435d794ce42945a8af13bf55aa3fc78a3a..2e35bd22107b4d8312d80029d0213899c92eb035 100644 (file)
@@ -1,6 +1,6 @@
 DESCRIPTION = "Network UPS Tools"
 LICENSE = "GPL"
-DEPENDS = "libusb"
+DEPENDS = "virtual/libusb0"
 PR = "r1"
 
 inherit autotools
index 89e10a72afbb08a849a2e9d8cac5e3cd37aa40ae..b9c6ad33e81197d63da748a6afd49598e44d1bc5 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "OBEX Ftp Client based on openobex."
 SECTION = "console/network"
 HOMEPAGE = "http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp"
 LICENSE = "GPL"
-DEPENDS = "openobex bluez-libs libusb virtual/libiconv"
+DEPENDS = "openobex bluez-libs virtual/libusb0 virtual/libiconv"
 PR = "r0"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/obexftp-${PV}.tar.bz2 \
index 037fbbfa670cc97c4a12cf4986b97eb5b0d69d2f..c37be4bf6223d549284f9e04008dc690ba4fc5d4 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "OBEX Ftp Client based on openobex."
 SECTION = "console/network"
 HOMEPAGE = "http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp"
 LICENSE = "GPL"
-DEPENDS = "openobex bluez-libs libusb-compat virtual/libiconv"
+DEPENDS = "openobex bluez-libs virtual/libusb0 virtual/libiconv"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/openobex/obexftp-${PV}.tar.bz2 \
          "
index 41648ca412cec7bef6ba1651925273c83e6f95ce..9ddb7a3af169b8abcef245d2a755c59a1e9e950c 100644 (file)
@@ -3,7 +3,7 @@ Object Exchange (OBEX) protocol."
 HOMEPAGE = "http://openobex.triq.net"
 SECTION = "libs"
 PROVIDES = "openobex-apps"
-DEPENDS = "libusb bluez-libs"
+DEPENDS = "virtual/libusb0 bluez-libs"
 LICENSE = "GPL"
 PR = "r5"
 
index 65e98e4ab1acffea653a876e8f4043fe19e8da6e..f1c31246b61e41763c0317b0c1893231b7900dc1 100644 (file)
@@ -3,7 +3,7 @@ Object Exchange (OBEX) protocol."
 HOMEPAGE = "http://openobex.triq.net"
 SECTION = "libs"
 PROVIDES = "openobex-apps"
-DEPENDS = "libusb bluez-libs"
+DEPENDS = "virtual/libusb0 bluez-libs"
 LICENSE = "GPL"
 PR = "r0"
 
index e692d4c0a47e74498e7e5d2bac73b6627c3d3328..61c3708da112fc3993a00d443dc23da842d8b85b 100644 (file)
@@ -3,7 +3,7 @@ Object Exchange (OBEX) protocol."
 HOMEPAGE = "http://openobex.triq.net"
 SECTION = "libs"
 PROVIDES = "openobex-apps"
-DEPENDS = "libusb-compat bluez-libs"
+DEPENDS = "virtual/libusb0 bluez-libs"
 LICENSE = "GPL"
 PR = "r1"
 
index b1950547376c53af6099f7ace0f3f0dc96a2fce0..44fc878d7b0c358c01965f47444535e0457ca13d 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.owfs.org/"
 SECTION = "console/network"
 PRIORITY = "optional"
 LICENSE = "GPLv2"
-DEPENDS += "fuse libusb"
+DEPENDS += "fuse virtual/libusb0"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/owfs/owfs-${PV}.tar.gz \
            file://owhttpd \
index 9ed3955c2e13d2a297cb8c8d2e697420f3322675..5f70182e46050882366b115f2ae9a9186ca8fdf3 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "libusb Python Bindings"
 SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "BSD"
-DEPENDS = "libusb"
+DEPENDS = "virtual/libusb0"
 SRCNAME = "pyusb"
 PR = "r1"
 
index 675d07c910fe549f1ce2d167446d7ab067532419..d839bb81e729a825b996088a65dbeea06ddc918c 100644 (file)
@@ -1,5 +1,5 @@
 DESCRIPTION = "Boots a S3C2410 device with a user supplied kernel zImage"
-DEPENDS = "libusb-native"
+DEPENDS = "virtual/libusb0-native"
 SECTION = "devel"
 AUTHOR = "Harald Welte <laforge@openmoko.org>"
 LICENSE = "GPL"
index 95ce49ede0ffc1cac6eb40c6f14a6f789b3be116..935541f25a33dbbd86381a95c1311805d9c853de 100644 (file)
@@ -1,5 +1,5 @@
 DESCRIPTION = "Scanner drivers for SANE"
-DEPENDS = "hal gphoto2 jpeg libusb"
+DEPENDS = "hal gphoto2 jpeg virtual/libusb0"
 LICENSE = "LGPL"
 
 SRC_URI = "http://alioth.debian.org/frs/download.php/2318/sane-backends-${PV}.tar.gz \
index 8815c622e6363544b80a6d6bb04d3075cab76541..b959cee3a0413e13dc68bd2a357bd9b5210add04 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "The Ham Radio Control Libraries, Hamlib for short, is a development effort to provide a consistent interface for programmers wanting to incorporate radio control in their programs"
 LICENSE = "GPLv2"
 
-DEPENDS = "swig-native perl python libusb-compat tcl gnuradio"
+DEPENDS = "swig-native perl python virtual/libusb0 tcl gnuradio"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/hamlib/hamlib-${PV}.tar.gz"
 
index 3b5ef7bdcd052e259e85f923f32fff933e895f33..866e8777f27a8e2f6842bbc6666f7772d012aba2 100644 (file)
@@ -1,6 +1,6 @@
 require usbpath_svn.bb
 inherit native
-DEPENDS = "libusb-native"
+DEPENDS = "virtual/libusb0-native"
 
 do_stage () {
        autotools_stage_all
index 01ef3434975dfa7e6efda9250eaf0848a02931c9..d21d320a7dd3a74d10edb6a1eb77a36224b6de98 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Convert the physical locations of a USB device to/from its number
 AUTHOR = "Werner Almesberger <werner@openmoko.org>"
 SECTION = "console/utils"
 LICENSE = "GPL"
-DEPENDS = "libusb-compat"
+DEPENDS = "virtual/libusb0"
 
 PV = "0.0+svnr${SRCREV}"
 
index 891d66f381c3f0f42937a2b72904a161f99469e8..7ec23278fa8d2a218bd238e1a9e99b224f21e303 100644 (file)
@@ -1,6 +1,6 @@
 DESCRIPTION = "Host side USB console utilities."
 SECTION = "base"
-DEPENDS += "libusb-compat"
+DEPENDS += "virtual/libusb0"
 LICENSE = "GPL"
 PRIORITY = "optional"
 DEFAULT_PREFERENCE = "1"
index 3ec4ade1074e99e7d3f42d2925b7d14d725bd9c3..ebbc3060076a96301ceb94ce8d60c8860626d3bc 100644 (file)
@@ -1,6 +1,6 @@
 DESCRIPTION = "Host side USB console utilities."
 SECTION = "base"
-DEPENDS += "libusb-compat"
+DEPENDS += "virtual/libusb0"
 LICENSE = "GPL"
 PRIORITY = "optional"
 DEFAULT_PREFERENCE = "1"
index c921a4a75e55116c64cb481e81abef22ad2878b0..436331dd5aa4085bfdba6cee1ed5d9c5ce69a5d0 100644 (file)
@@ -1,6 +1,6 @@
 DESCRIPTION = "Host side USB console utilities."
 SECTION = "base"
-DEPENDS += "libusb-compat"
+DEPENDS += "virtual/libusb0"
 LICENSE = "GPL"
 PRIORITY = "optional"
 
index 5de33bbca3a8cd96df0718e908bebba933fe4aeb..9ef25c49844e0e555d07c1d6593de5ad5bbed624 100644 (file)
@@ -1,6 +1,6 @@
 DESCRIPTION = "Host side USB console utilities."
 SECTION = "base"
-DEPENDS += "libusb-compat"
+DEPENDS += "virtual/libusb0"
 LICENSE = "GPL"
 PRIORITY = "optional"
 PV = "0.71+cvs${SRCDATE}"
index 55ca84857a0ef37c9b195eb501b4932791fc6ec4..630208036891491856debf6e882ff0575bfce874 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Support software for the Universal Software Radio Peripheral (USR
 LICENSE = "GPL"
 HOMEPAGE = "http://comsec.com/wiki?UniversalSoftwareRadioPeripheral"
 SECTION = "devel"
-DEPENDS = "swig-native sdcc-native libusb-compat python boost"
+DEPENDS = "swig-native sdcc-native virtual/libusb0 python boost"
 RDEPENDS = "python-core"
 PR = "r1"