diff mbox series

[1/1] package/usbredir: bump to version 0.13.0

Message ID 20221022201052.28903-1-fontaine.fabrice@gmail.com
State Superseded
Headers show
Series [1/1] package/usbredir: bump to version 0.13.0 | expand

Commit Message

Fabrice Fontaine Oct. 22, 2022, 8:10 p.m. UTC
usbredirserver was dropped by
https://gitlab.freedesktop.org/spice/usbredir/-/commit/f4ffdce329305da2803684776f7659083a530819

https://gitlab.freedesktop.org/spice/usbredir/-/blob/usbredir-0.13.0/ChangeLog.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 Config.in.legacy               |  7 +++++++
 package/usbredir/Config.in     | 12 ------------
 package/usbredir/usbredir.hash |  4 ++--
 package/usbredir/usbredir.mk   | 16 +---------------
 4 files changed, 10 insertions(+), 29 deletions(-)

Comments

Peter Seiderer Oct. 22, 2022, 9:15 p.m. UTC | #1
Hello Fabrice,

On Sat, 22 Oct 2022 22:10:52 +0200, Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> usbredirserver was dropped by
> https://gitlab.freedesktop.org/spice/usbredir/-/commit/f4ffdce329305da2803684776f7659083a530819

Time to enable tools/usbredirect as it seems to be the replacement for usbredirserver
(according to [1])?

Regards,
Peter

[1] https://gitlab.freedesktop.org/spice/usbredir/-/merge_requests/2


>
> https://gitlab.freedesktop.org/spice/usbredir/-/blob/usbredir-0.13.0/ChangeLog.md
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  Config.in.legacy               |  7 +++++++
>  package/usbredir/Config.in     | 12 ------------
>  package/usbredir/usbredir.hash |  4 ++--
>  package/usbredir/usbredir.mk   | 16 +---------------
>  4 files changed, 10 insertions(+), 29 deletions(-)
>
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 0e63d59a98..39b00547c8 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -146,6 +146,13 @@ endif
>
>  comment "Legacy options removed in 2022.11"
>
> +config BR2_PACKAGE_USBREDIR_SERVER
> +	bool "usbredirserver removed"
> +	select BR2_LEGACY
> +	help
> +	  usbredirserver has been dropped by upstream since version
> +	  0.13.0
> +
>  config BR2_KERNEL_HEADERS_5_17
>  	bool "kernel headers version 5.17.x are no longer supported"
>  	select BR2_LEGACY
> diff --git a/package/usbredir/Config.in b/package/usbredir/Config.in
> index 8ce180a884..2190cb88ac 100644
> --- a/package/usbredir/Config.in
> +++ b/package/usbredir/Config.in
> @@ -18,15 +18,3 @@ config BR2_PACKAGE_USBREDIR
>  	  'y' below if you want the server too.
>
>  	  http://www.spice-space.org/page/UsbRedir
> -
> -if BR2_PACKAGE_USBREDIR
> -
> -config BR2_PACKAGE_USBREDIR_SERVER
> -	bool "usbredirserver on target"
> -	help
> -	  If you want to serve usbredir requests on your target, say
> -	  'y' here to have the usbredir server on the target.
> -
> -	  Note: the server is not required to use the library.
> -
> -endif
> diff --git a/package/usbredir/usbredir.hash b/package/usbredir/usbredir.hash
> index f738c36690..577e08efba 100644
> --- a/package/usbredir/usbredir.hash
> +++ b/package/usbredir/usbredir.hash
> @@ -1,5 +1,5 @@
> -# https://spice-space.org/download/usbredir/usbredir-0.12.0.tar.xz.sha256sum
> -sha256  fbb44025bf55e1ce8d84afc7596bfa47c8a36cd603c6fa440f9102c1c9761e6d  usbredir-0.12.0.tar.xz
> +# https://spice-space.org/download/usbredir/usbredir-0.13.0.tar.xz.sha256sum
> +sha256  4ba6faa02c0ae6deeb4c53883d66ab54b3a5899bead42ce4ded9568b9a7dc46e  usbredir-0.13.0.tar.xz
>
>  # Hash for license files
>  sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
> diff --git a/package/usbredir/usbredir.mk b/package/usbredir/usbredir.mk
> index 6792a3e758..6d5a80cbf9 100644
> --- a/package/usbredir/usbredir.mk
> +++ b/package/usbredir/usbredir.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>
> -USBREDIR_VERSION = 0.12.0
> +USBREDIR_VERSION = 0.13.0
>  USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.xz
>  USBREDIR_SITE = http://spice-space.org/download/usbredir
>  USBREDIR_LICENSE = LGPL-2.1+ (libraries)
> @@ -17,18 +17,4 @@ USBREDIR_CONF_OPTS = \
>  	-Dtests=disabled \
>  	-Dtools=disabled
>
> -ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y)
> -
> -USBREDIR_LICENSE += , GPL-2.0+ (program)
> -USBREDIR_LICENSE_FILES += COPYING
> -
> -else # BR2_PACKAGE_USBREDIR_SERVER != y
> -
> -define USBREDIR_POST_INSTALL_TARGET_RM_SERVER
> -	rm -f $(TARGET_DIR)/usr/sbin/usbredirserver
> -endef
> -USBREDIR_POST_INSTALL_TARGET_HOOKS += USBREDIR_POST_INSTALL_TARGET_RM_SERVER
> -
> -endif # BR2_PACKAGE_USBREDIR_SERVER
> -
>  $(eval $(meson-package))
Fabrice Fontaine Oct. 22, 2022, 9:24 p.m. UTC | #2
Hello Peter,

Le sam. 22 oct. 2022 à 23:15, Peter Seiderer <ps.report@gmx.net> a écrit :

> Hello Fabrice,
>
> On Sat, 22 Oct 2022 22:10:52 +0200, Fabrice Fontaine <
> fontaine.fabrice@gmail.com> wrote:
>
> > usbredirserver was dropped by
> >
> https://gitlab.freedesktop.org/spice/usbredir/-/commit/f4ffdce329305da2803684776f7659083a530819
>
> Time to enable tools/usbredirect as it seems to be the replacement for
> usbredirserver
> (according to [1])?
>

Indeed, I'll send a v2.


>
> Regards,
> Peter
>
> [1] https://gitlab.freedesktop.org/spice/usbredir/-/merge_requests/2
>
>
> >
> >
> https://gitlab.freedesktop.org/spice/usbredir/-/blob/usbredir-0.13.0/ChangeLog.md
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> > ---
> >  Config.in.legacy               |  7 +++++++
> >  package/usbredir/Config.in     | 12 ------------
> >  package/usbredir/usbredir.hash |  4 ++--
> >  package/usbredir/usbredir.mk   | 16 +---------------
> >  4 files changed, 10 insertions(+), 29 deletions(-)
> >
> > diff --git a/Config.in.legacy b/Config.in.legacy
> > index 0e63d59a98..39b00547c8 100644
> > --- a/Config.in.legacy
> > +++ b/Config.in.legacy
> > @@ -146,6 +146,13 @@ endif
> >
> >  comment "Legacy options removed in 2022.11"
> >
> > +config BR2_PACKAGE_USBREDIR_SERVER
> > +     bool "usbredirserver removed"
> > +     select BR2_LEGACY
> > +     help
> > +       usbredirserver has been dropped by upstream since version
> > +       0.13.0
> > +
> >  config BR2_KERNEL_HEADERS_5_17
> >       bool "kernel headers version 5.17.x are no longer supported"
> >       select BR2_LEGACY
> > diff --git a/package/usbredir/Config.in b/package/usbredir/Config.in
> > index 8ce180a884..2190cb88ac 100644
> > --- a/package/usbredir/Config.in
> > +++ b/package/usbredir/Config.in
> > @@ -18,15 +18,3 @@ config BR2_PACKAGE_USBREDIR
> >         'y' below if you want the server too.
> >
> >         http://www.spice-space.org/page/UsbRedir
> > -
> > -if BR2_PACKAGE_USBREDIR
> > -
> > -config BR2_PACKAGE_USBREDIR_SERVER
> > -     bool "usbredirserver on target"
> > -     help
> > -       If you want to serve usbredir requests on your target, say
> > -       'y' here to have the usbredir server on the target.
> > -
> > -       Note: the server is not required to use the library.
> > -
> > -endif
> > diff --git a/package/usbredir/usbredir.hash
> b/package/usbredir/usbredir.hash
> > index f738c36690..577e08efba 100644
> > --- a/package/usbredir/usbredir.hash
> > +++ b/package/usbredir/usbredir.hash
> > @@ -1,5 +1,5 @@
> > -#
> https://spice-space.org/download/usbredir/usbredir-0.12.0.tar.xz.sha256sum
> > -sha256
> fbb44025bf55e1ce8d84afc7596bfa47c8a36cd603c6fa440f9102c1c9761e6d
> usbredir-0.12.0.tar.xz
> > +#
> https://spice-space.org/download/usbredir/usbredir-0.13.0.tar.xz.sha256sum
> > +sha256
> 4ba6faa02c0ae6deeb4c53883d66ab54b3a5899bead42ce4ded9568b9a7dc46e
> usbredir-0.13.0.tar.xz
> >
> >  # Hash for license files
> >  sha256
> 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
> > diff --git a/package/usbredir/usbredir.mk b/package/usbredir/usbredir.mk
> > index 6792a3e758..6d5a80cbf9 100644
> > --- a/package/usbredir/usbredir.mk
> > +++ b/package/usbredir/usbredir.mk
> > @@ -4,7 +4,7 @@
> >  #
> >
> ################################################################################
> >
> > -USBREDIR_VERSION = 0.12.0
> > +USBREDIR_VERSION = 0.13.0
> >  USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.xz
> >  USBREDIR_SITE = http://spice-space.org/download/usbredir
> >  USBREDIR_LICENSE = LGPL-2.1+ (libraries)
> > @@ -17,18 +17,4 @@ USBREDIR_CONF_OPTS = \
> >       -Dtests=disabled \
> >       -Dtools=disabled
> >
> > -ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y)
> > -
> > -USBREDIR_LICENSE += , GPL-2.0+ (program)
> > -USBREDIR_LICENSE_FILES += COPYING
> > -
> > -else # BR2_PACKAGE_USBREDIR_SERVER != y
> > -
> > -define USBREDIR_POST_INSTALL_TARGET_RM_SERVER
> > -     rm -f $(TARGET_DIR)/usr/sbin/usbredirserver
> > -endef
> > -USBREDIR_POST_INSTALL_TARGET_HOOKS +=
> USBREDIR_POST_INSTALL_TARGET_RM_SERVER
> > -
> > -endif # BR2_PACKAGE_USBREDIR_SERVER
> > -
> >  $(eval $(meson-package))
>
Best Regards,

Fabrice
diff mbox series

Patch

diff --git a/Config.in.legacy b/Config.in.legacy
index 0e63d59a98..39b00547c8 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@  endif
 
 comment "Legacy options removed in 2022.11"
 
+config BR2_PACKAGE_USBREDIR_SERVER
+	bool "usbredirserver removed"
+	select BR2_LEGACY
+	help
+	  usbredirserver has been dropped by upstream since version
+	  0.13.0
+
 config BR2_KERNEL_HEADERS_5_17
 	bool "kernel headers version 5.17.x are no longer supported"
 	select BR2_LEGACY
diff --git a/package/usbredir/Config.in b/package/usbredir/Config.in
index 8ce180a884..2190cb88ac 100644
--- a/package/usbredir/Config.in
+++ b/package/usbredir/Config.in
@@ -18,15 +18,3 @@  config BR2_PACKAGE_USBREDIR
 	  'y' below if you want the server too.
 
 	  http://www.spice-space.org/page/UsbRedir
-
-if BR2_PACKAGE_USBREDIR
-
-config BR2_PACKAGE_USBREDIR_SERVER
-	bool "usbredirserver on target"
-	help
-	  If you want to serve usbredir requests on your target, say
-	  'y' here to have the usbredir server on the target.
-
-	  Note: the server is not required to use the library.
-
-endif
diff --git a/package/usbredir/usbredir.hash b/package/usbredir/usbredir.hash
index f738c36690..577e08efba 100644
--- a/package/usbredir/usbredir.hash
+++ b/package/usbredir/usbredir.hash
@@ -1,5 +1,5 @@ 
-# https://spice-space.org/download/usbredir/usbredir-0.12.0.tar.xz.sha256sum
-sha256  fbb44025bf55e1ce8d84afc7596bfa47c8a36cd603c6fa440f9102c1c9761e6d  usbredir-0.12.0.tar.xz
+# https://spice-space.org/download/usbredir/usbredir-0.13.0.tar.xz.sha256sum
+sha256  4ba6faa02c0ae6deeb4c53883d66ab54b3a5899bead42ce4ded9568b9a7dc46e  usbredir-0.13.0.tar.xz
 
 # Hash for license files
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/usbredir/usbredir.mk b/package/usbredir/usbredir.mk
index 6792a3e758..6d5a80cbf9 100644
--- a/package/usbredir/usbredir.mk
+++ b/package/usbredir/usbredir.mk
@@ -4,7 +4,7 @@ 
 #
 ################################################################################
 
-USBREDIR_VERSION = 0.12.0
+USBREDIR_VERSION = 0.13.0
 USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.xz
 USBREDIR_SITE = http://spice-space.org/download/usbredir
 USBREDIR_LICENSE = LGPL-2.1+ (libraries)
@@ -17,18 +17,4 @@  USBREDIR_CONF_OPTS = \
 	-Dtests=disabled \
 	-Dtools=disabled
 
-ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y)
-
-USBREDIR_LICENSE += , GPL-2.0+ (program)
-USBREDIR_LICENSE_FILES += COPYING
-
-else # BR2_PACKAGE_USBREDIR_SERVER != y
-
-define USBREDIR_POST_INSTALL_TARGET_RM_SERVER
-	rm -f $(TARGET_DIR)/usr/sbin/usbredirserver
-endef
-USBREDIR_POST_INSTALL_TARGET_HOOKS += USBREDIR_POST_INSTALL_TARGET_RM_SERVER
-
-endif # BR2_PACKAGE_USBREDIR_SERVER
-
 $(eval $(meson-package))