[meta-oe] hidapi: upgrade 0.11.2 -> 0.12.0

Message ID 1653990320-31470-2-git-send-email-wangmy@fujitsu.com
State Under Review
Headers show
Series [meta-oe] hidapi: upgrade 0.11.2 -> 0.12.0 | expand

Commit Message

Mingyu Wang (Fujitsu) May 31, 2022, 9:45 a.m. UTC
Changelog:
==========
  Windows: migrate from SetupApi to CfgMgr32 (#362) - as per recommendation from Microsoft;
  Windows: add hid_winapi_get_container_id WinAPI-specific function (#379);
  Windows: improved error messages (#388);
  Windows: fixed out-of-boundary memory access for some of the function (#418);
  windows: Add .rc (#415);
  macOS: add hid_darwin_get_location_id macOS-specific function (#378);
  macOS: add macOS-specific function(s) to open device(s) in non-exclusive mode (#397);
  libusb: improved CMake dependency on Iconv (#405) - as a result, better support for NetBSD;
  general: documentation improvements;
  general: small code cleanups/improvements;

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 meta-oe/recipes-support/hidapi/hidapi_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Khem Raj May 31, 2022, 3:45 p.m. UTC | #1
On Tue, May 31, 2022 at 2:45 AM wangmy <wangmy@fujitsu.com> wrote:
>
> Changelog:
> ==========
>   Windows: migrate from SetupApi to CfgMgr32 (#362) - as per recommendation from Microsoft;
>   Windows: add hid_winapi_get_container_id WinAPI-specific function (#379);
>   Windows: improved error messages (#388);
>   Windows: fixed out-of-boundary memory access for some of the function (#418);
>   windows: Add .rc (#415);
>   macOS: add hid_darwin_get_location_id macOS-specific function (#378);
>   macOS: add macOS-specific function(s) to open device(s) in non-exclusive mode (#397);
>   libusb: improved CMake dependency on Iconv (#405) - as a result, better support for NetBSD;
>   general: documentation improvements;
>   general: small code cleanups/improvements;
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  meta-oe/recipes-support/hidapi/hidapi_git.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-oe/recipes-support/hidapi/hidapi_git.bb b/meta-oe/recipes-support/hidapi/hidapi_git.bb
> index 1c57a1d83..4aa58ec7f 100644
> --- a/meta-oe/recipes-support/hidapi/hidapi_git.bb
> +++ b/meta-oe/recipes-support/hidapi/hidapi_git.bb
> @@ -12,6 +12,6 @@ RDEPENDS:${PN}:append:libc-glibc = " glibc-gconv-utf-16"
>  inherit autotools pkgconfig
>
>  SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https;branch=master"
> -PV = "0.11.2"
> -SRCREV = "31bde69a1f08c880ef1622f2586eea0daf3b0857"
> +PV = "0.12.0"

if its bumping from version to version, then perhaps its better to
rename the recipe to hidapi_0.12.0.bb and drop setting PV inside the
recipe
it's easy to manage bbappends that way

> +SRCREV = "76108294092c023a4ece99eb3219559cea0d5066"
>  S = "${WORKDIR}/git"
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#97345): https://lists.openembedded.org/g/openembedded-devel/message/97345
> Mute This Topic: https://lists.openembedded.org/mt/91447919/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/meta-oe/recipes-support/hidapi/hidapi_git.bb b/meta-oe/recipes-support/hidapi/hidapi_git.bb
index 1c57a1d83..4aa58ec7f 100644
--- a/meta-oe/recipes-support/hidapi/hidapi_git.bb
+++ b/meta-oe/recipes-support/hidapi/hidapi_git.bb
@@ -12,6 +12,6 @@  RDEPENDS:${PN}:append:libc-glibc = " glibc-gconv-utf-16"
 inherit autotools pkgconfig
 
 SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https;branch=master"
-PV = "0.11.2"
-SRCREV = "31bde69a1f08c880ef1622f2586eea0daf3b0857"
+PV = "0.12.0"
+SRCREV = "76108294092c023a4ece99eb3219559cea0d5066"
 S = "${WORKDIR}/git"