Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] usb-modeswitch: Upgrade to latest version
Date: Wed, 9 Jul 2014 18:19:15 +0200	[thread overview]
Message-ID: <20140709161915.GA2116@jama> (raw)
In-Reply-To: <1404914122-27275-1-git-send-email-jukka.rissanen@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 5681 bytes --]

On Wed, Jul 09, 2014 at 04:55:22PM +0300, Jukka Rissanen wrote:
> Use the latest version of usb-modeswitch (2.2.0) and
> usb-modeswitch-data (20140529). The data package depends
> on new usb-modeswitch version so upgrade both of them at
> the same time.
> 
> Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
> ---
>  .../usb-modeswitch/usb-modeswitch-data_20130807.bb    | 17 -----------------
>  .../usb-modeswitch/usb-modeswitch-data_20140529.bb    | 17 +++++++++++++++++
>  .../usb-modeswitch/usb-modeswitch_2.0.1.bb            | 19 -------------------
>  .../usb-modeswitch/usb-modeswitch_2.2.0.bb            | 19 +++++++++++++++++++
>  4 files changed, 36 insertions(+), 36 deletions(-)
>  delete mode 100644 meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20130807.bb
>  create mode 100644 meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20140529.bb
>  delete mode 100644 meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb
>  create mode 100644 meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.2.0.bb
> 
> diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20130807.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20130807.bb
> deleted file mode 100644
> index e33f296..0000000
> --- a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20130807.bb
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -SUMMARY = "Data files for usbmodeswitch"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> -
> -inherit allarch
> -
> -SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${PV}.tar.bz2"

It would be even better if you resend it with -M as README says.

If you're going to do that, then please chagne usb-modeswitch-data-${PV}
to ${BP} and "usb-modeswitch-${PV}" as well.

Thanks!

> -SRC_URI[md5sum] = "91feff51deba6e48e78506b8f4db2274"
> -SRC_URI[sha256sum] = "a3114e2c1f38eed3ad0067df30e53a96313908a9539a8ea5d94a4d35651699eb"
> -
> -do_install() {
> -    oe_runmake install DESTDIR=${D}
> -}
> -
> -RDEPENDS_${PN} = "usb-modeswitch"
> -FILES_${PN} += "${base_libdir}/udev/rules.d/ \
> -                ${datadir}/usb_modeswitch"
> diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20140529.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20140529.bb
> new file mode 100644
> index 0000000..258f740
> --- /dev/null
> +++ b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20140529.bb
> @@ -0,0 +1,17 @@
> +SUMMARY = "Data files for usbmodeswitch"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +inherit allarch
> +
> +SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${PV}.tar.bz2"
> +SRC_URI[md5sum] = "dff94177781298aaf0b3c2a3c3dea6b2"
> +SRC_URI[sha256sum] = "53889157937109e04dafe897c098ec94f3f44f9c0c83fc6ec8417aa9a587e536"
> +
> +do_install() {
> +    oe_runmake install DESTDIR=${D}
> +}
> +
> +RDEPENDS_${PN} = "usb-modeswitch (>= 2.2.0)"
> +FILES_${PN} += "${base_libdir}/udev/rules.d/ \
> +                ${datadir}/usb_modeswitch"
> diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb
> deleted file mode 100644
> index 761617c..0000000
> --- a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.0.1.bb
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -SUMMARY = "A mode switching tool for controlling 'flip flop' (multiple device) USB gear"
> -LICENSE = "GPLv2"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> -
> -DEPENDS = "libusb1"
> -
> -SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2"
> -SRC_URI[md5sum] = "e48d4419d0574d342bb183f7465556d0"
> -SRC_URI[sha256sum] = "4706c9cfe825263e189f55730ea3d1d8634aeb15645a1098532e946e770f7f95"
> -
> -EXTRA_OEMAKE = "TCL=${bindir}/tclsh"
> -
> -FILES_${PN} = "${bindir} ${sysconfdir} ${base_libdir}/udev/usb_modeswitch ${sbindir} ${localstatedir}/lib/usb_modeswitch"
> -RDEPENDS_${PN} = "tcl"
> -RRECOMMENDS_${PN} = "usb-modeswitch-data"
> -
> -do_install_append() {
> -	oe_runmake DESTDIR=${D} install
> -}
> diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.2.0.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.2.0.bb
> new file mode 100644
> index 0000000..cdab38c
> --- /dev/null
> +++ b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.2.0.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "A mode switching tool for controlling 'flip flop' (multiple device) USB gear"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +DEPENDS = "libusb1"
> +
> +SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2"
> +SRC_URI[md5sum] = "f323fe700edd6ea404c40934ddf32b22"
> +SRC_URI[sha256sum] = "2752103de171ed5f6c8d6a6e3e73e16c9ee3e8e394dd39c5991f7680eb908a3a"
> +
> +EXTRA_OEMAKE = "TCL=${bindir}/tclsh"
> +
> +FILES_${PN} = "${bindir} ${sysconfdir} ${base_libdir}/udev/usb_modeswitch ${sbindir} ${localstatedir}/lib/usb_modeswitch"
> +RDEPENDS_${PN} = "tcl"
> +RRECOMMENDS_${PN} = "usb-modeswitch-data"
> +
> +do_install_append() {
> +	oe_runmake DESTDIR=${D} install
> +}
> -- 
> 1.8.3.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2014-07-09 16:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 13:55 [meta-oe][PATCH] usb-modeswitch: Upgrade to latest version Jukka Rissanen
2014-07-09 16:19 ` Martin Jansa [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-07 13:19 Dmitri Vorobiev
2017-12-07 19:22 ` Khem Raj
2017-12-07 19:30   ` Dmitri Vorobiev
2018-05-18  1:17     ` Khem Raj
2018-05-21 14:53       ` Dmitri Vorobiev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140709161915.GA2116@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox