All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1"
@ 2010-11-11 13:37 Michael Smith
  2010-11-11 13:37 ` [PATCH 2/2] usbutils 0.86: delete usb.ids if gzipped version is installed Michael Smith
  2010-11-16 23:33 ` [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1" Khem Raj
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Smith @ 2010-11-11 13:37 UTC (permalink / raw)
  To: openembedded-devel

I think it may be leftover from earlier.  Let 0.86 build by default.
Most distros already prefer it.

Signed-off-by: Michael Smith <msmith@cbnco.com>
---
 recipes/usbutils/usbutils_0.70.bb |    1 -
 recipes/usbutils/usbutils_0.73.bb |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/recipes/usbutils/usbutils_0.70.bb b/recipes/usbutils/usbutils_0.70.bb
index 5ce15bd..d5b1933 100644
--- a/recipes/usbutils/usbutils_0.70.bb
+++ b/recipes/usbutils/usbutils_0.70.bb
@@ -3,7 +3,6 @@ SECTION = "base"
 DEPENDS += "virtual/libusb0"
 LICENSE = "GPLv2"
 PRIORITY = "optional"
-DEFAULT_PREFERENCE = "1"
 
 PR = "r1"
 
diff --git a/recipes/usbutils/usbutils_0.73.bb b/recipes/usbutils/usbutils_0.73.bb
index 271e89f..e90263c 100644
--- a/recipes/usbutils/usbutils_0.73.bb
+++ b/recipes/usbutils/usbutils_0.73.bb
@@ -3,7 +3,6 @@ SECTION = "base"
 DEPENDS += "virtual/libusb0"
 LICENSE = "GPLv2"
 PRIORITY = "optional"
-DEFAULT_PREFERENCE = "1"
 
 PR = "r0"
 
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] usbutils 0.86: delete usb.ids if gzipped version is installed
  2010-11-11 13:37 [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1" Michael Smith
@ 2010-11-11 13:37 ` Michael Smith
  2010-11-16 23:36   ` Khem Raj
  2010-11-16 23:33 ` [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1" Khem Raj
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Smith @ 2010-11-11 13:37 UTC (permalink / raw)
  To: openembedded-devel

Also split update-usbids.sh to a separate package, and allow building
when sbindir != /sbin.

Signed-off-by: Michael Smith <msmith@cbnco.com>
---
 recipes/usbutils/usbutils_0.86.bb |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/recipes/usbutils/usbutils_0.86.bb b/recipes/usbutils/usbutils_0.86.bb
index 905ad53..000fcca 100644
--- a/recipes/usbutils/usbutils_0.86.bb
+++ b/recipes/usbutils/usbutils_0.86.bb
@@ -4,19 +4,32 @@ DEPENDS += "virtual/libusb0"
 LICENSE = "GPLv2"
 PRIORITY = "optional"
 
+PR = "r1"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz \
 	  "
 inherit autotools
 
 EXTRA_OECONF = "--program-prefix="
-sbindir = "/sbin"
-bindir = "/bin"
+sbindir = "${base_sbindir}"
+bindir = "${base_bindir}"
+
+PACKAGES =+ "${PN}-update"
 
 FILES_${PN} += "${datadir}/usb*"
+FILES_${PN}-update = "${sbindir}/update-usbids.sh"
 
 do_configure_prepend() {
 	rm -rf ${S}/libusb
 }
 
+do_install_append() {
+	# The 0.86 Makefile.am installs both usb.ids and usb.ids.gz.
+	if [ -f ${D}${datadir}/usb.ids.gz ]
+	then
+		rm -f ${D}${datadir}/usb.ids
+	fi
+}
+
 SRC_URI[md5sum] = "34979f675d2bcb3e1b45012fa830a53f"
 SRC_URI[sha256sum] = "b3b2bea6d2cd87660c8201a47071bf2a9889d8ed90c7203cc768b597799c12f4"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1"
  2010-11-11 13:37 [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1" Michael Smith
  2010-11-11 13:37 ` [PATCH 2/2] usbutils 0.86: delete usb.ids if gzipped version is installed Michael Smith
@ 2010-11-16 23:33 ` Khem Raj
  2010-11-17 17:32   ` Michael Smith
  1 sibling, 1 reply; 6+ messages in thread
From: Khem Raj @ 2010-11-16 23:33 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Nov 11, 2010 at 5:37 AM, Michael Smith <msmith@cbnco.com> wrote:
> I think it may be leftover from earlier.  Let 0.86 build by default.
> Most distros already prefer it.
>

does it work well with udev 141 ?
some uclibc based distros still use older udev

> Signed-off-by: Michael Smith <msmith@cbnco.com>
> ---
>  recipes/usbutils/usbutils_0.70.bb |    1 -
>  recipes/usbutils/usbutils_0.73.bb |    1 -
>  2 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/usbutils/usbutils_0.70.bb b/recipes/usbutils/usbutils_0.70.bb
> index 5ce15bd..d5b1933 100644
> --- a/recipes/usbutils/usbutils_0.70.bb
> +++ b/recipes/usbutils/usbutils_0.70.bb
> @@ -3,7 +3,6 @@ SECTION = "base"
>  DEPENDS += "virtual/libusb0"
>  LICENSE = "GPLv2"
>  PRIORITY = "optional"
> -DEFAULT_PREFERENCE = "1"
>
>  PR = "r1"
>
> diff --git a/recipes/usbutils/usbutils_0.73.bb b/recipes/usbutils/usbutils_0.73.bb
> index 271e89f..e90263c 100644
> --- a/recipes/usbutils/usbutils_0.73.bb
> +++ b/recipes/usbutils/usbutils_0.73.bb
> @@ -3,7 +3,6 @@ SECTION = "base"
>  DEPENDS += "virtual/libusb0"
>  LICENSE = "GPLv2"
>  PRIORITY = "optional"
> -DEFAULT_PREFERENCE = "1"
>
>  PR = "r0"
>
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] usbutils 0.86: delete usb.ids if gzipped version is installed
  2010-11-11 13:37 ` [PATCH 2/2] usbutils 0.86: delete usb.ids if gzipped version is installed Michael Smith
@ 2010-11-16 23:36   ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2010-11-16 23:36 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Nov 11, 2010 at 5:37 AM, Michael Smith <msmith@cbnco.com> wrote:
> Also split update-usbids.sh to a separate package, and allow building
> when sbindir != /sbin.
>
> Signed-off-by: Michael Smith <msmith@cbnco.com>

Acked-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes/usbutils/usbutils_0.86.bb |   17 +++++++++++++++--
>  1 files changed, 15 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/usbutils/usbutils_0.86.bb b/recipes/usbutils/usbutils_0.86.bb
> index 905ad53..000fcca 100644
> --- a/recipes/usbutils/usbutils_0.86.bb
> +++ b/recipes/usbutils/usbutils_0.86.bb
> @@ -4,19 +4,32 @@ DEPENDS += "virtual/libusb0"
>  LICENSE = "GPLv2"
>  PRIORITY = "optional"
>
> +PR = "r1"
> +
>  SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz \
>          "
>  inherit autotools
>
>  EXTRA_OECONF = "--program-prefix="
> -sbindir = "/sbin"
> -bindir = "/bin"
> +sbindir = "${base_sbindir}"
> +bindir = "${base_bindir}"
> +
> +PACKAGES =+ "${PN}-update"
>
>  FILES_${PN} += "${datadir}/usb*"
> +FILES_${PN}-update = "${sbindir}/update-usbids.sh"
>
>  do_configure_prepend() {
>        rm -rf ${S}/libusb
>  }
>
> +do_install_append() {
> +       # The 0.86 Makefile.am installs both usb.ids and usb.ids.gz.
> +       if [ -f ${D}${datadir}/usb.ids.gz ]
> +       then
> +               rm -f ${D}${datadir}/usb.ids
> +       fi
> +}
> +
>  SRC_URI[md5sum] = "34979f675d2bcb3e1b45012fa830a53f"
>  SRC_URI[sha256sum] = "b3b2bea6d2cd87660c8201a47071bf2a9889d8ed90c7203cc768b597799c12f4"
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1"
  2010-11-16 23:33 ` [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1" Khem Raj
@ 2010-11-17 17:32   ` Michael Smith
  2010-11-17 19:26     ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Smith @ 2010-11-17 17:32 UTC (permalink / raw)
  To: openembedded-devel

Khem Raj wrote:
> On Thu, Nov 11, 2010 at 5:37 AM, Michael Smith <msmith@cbnco.com> wrote:
>> I think it may be leftover from earlier.  Let 0.86 build by default.
>> Most distros already prefer it.
>>
> 
> does it work well with udev 141 ?
> some uclibc based distros still use older udev

I use udev 141, but not uclibc; it seems to work here.

Mike



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1"
  2010-11-17 17:32   ` Michael Smith
@ 2010-11-17 19:26     ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2010-11-17 19:26 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Nov 17, 2010 at 9:32 AM, Michael Smith <msmith@cbnco.com> wrote:
> Khem Raj wrote:
>>
>> On Thu, Nov 11, 2010 at 5:37 AM, Michael Smith <msmith@cbnco.com> wrote:
>>>
>>> I think it may be leftover from earlier.  Let 0.86 build by default.
>>> Most distros already prefer it.
>>>
>>
>> does it work well with udev 141 ?
>> some uclibc based distros still use older udev
>
> I use udev 141, but not uclibc; it seems to work here.
>
ok

> Mike
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-17 19:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11 13:37 [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1" Michael Smith
2010-11-11 13:37 ` [PATCH 2/2] usbutils 0.86: delete usb.ids if gzipped version is installed Michael Smith
2010-11-16 23:36   ` Khem Raj
2010-11-16 23:33 ` [PATCH 1/2] usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1" Khem Raj
2010-11-17 17:32   ` Michael Smith
2010-11-17 19:26     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.