Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2026 11:03:48 +0000
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 525aa57a9270 - main - net/usbredir: Update version 0.9.0=>0.10.0
Message-ID:  <69cf9e94.1cc69.68fbf35b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=525aa57a92705a02ccffd166b9039ea557fb9507

commit 525aa57a92705a02ccffd166b9039ea557fb9507
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-04-03 09:36:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-04-03 11:03:24 +0000

    net/usbredir: Update version 0.9.0=>0.10.0
    
    Changelog: https://gitlab.freedesktop.org/spice/usbredir/-/tags/usbredir-0.10.0
---
 net/usbredir/Makefile                        |  7 +++----
 net/usbredir/distinfo                        |  6 +++---
 net/usbredir/files/patch-tools_usbredirect.c | 23 +++++++++++++++++++++++
 net/usbredir/pkg-plist                       |  6 +++---
 4 files changed, 32 insertions(+), 10 deletions(-)

diff --git a/net/usbredir/Makefile b/net/usbredir/Makefile
index 9d915e6d8cdc..ed4a10a299da 100644
--- a/net/usbredir/Makefile
+++ b/net/usbredir/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	usbredir
-DISTVERSION=	0.9.0
+DISTVERSION=	0.10.0
 DISTVERSIONPREFIX=	${PORTNAME}-
 CATEGORIES=	net devel
 
@@ -10,14 +10,13 @@ WWW=		https://gitlab.freedesktop.org/spice/usbredir/
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	dual
 
-USES=		autoreconf gmake libtool pathfix pkgconfig tar:bzip2
+USES=		gnome libtool meson pkgconfig
 USE_GITLAB=	yes
 GL_SITE=	https://gitlab.freedesktop.org
 GL_ACCOUNT=	spice
+USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 
-GNU_CONFIGURE=	yes
-
 INSTALL_TARGET=	install-strip
 
 post-patch:
diff --git a/net/usbredir/distinfo b/net/usbredir/distinfo
index da539cb0bcdc..17883ecdd92b 100644
--- a/net/usbredir/distinfo
+++ b/net/usbredir/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1771841311
-SHA256 (usbredir-usbredir-0.9.0.tar.bz2) = 664d776d9d7ee3e4c082afb3d99fdf088ae8fdb001f6999318f6c8e50c2d5f37
-SIZE (usbredir-usbredir-0.9.0.tar.bz2) = 72498
+TIMESTAMP = 1775207492
+SHA256 (usbredir-usbredir-0.10.0.tar.bz2) = 10143222c3ab3333252b546954cd3ee14bebe657c4e94e07ddef7071007cb7d1
+SIZE (usbredir-usbredir-0.10.0.tar.bz2) = 66911
diff --git a/net/usbredir/files/patch-tools_usbredirect.c b/net/usbredir/files/patch-tools_usbredirect.c
new file mode 100644
index 000000000000..e6abe3f0ade3
--- /dev/null
+++ b/net/usbredir/files/patch-tools_usbredirect.c
@@ -0,0 +1,23 @@
+--- tools/usbredirect.c.orig	2026-04-03 09:26:53 UTC
++++ tools/usbredirect.c
+@@ -469,7 +469,7 @@ main(int argc, char *argv[])
+ #ifdef G_OS_WIN32
+     /* WinUSB is the default by backwards compatibility so this is needed to
+      * switch to USBDk backend. */
+-    libusb_set_option(NULL, LIBUSB_OPTION_USE_USBDK); 
++    libusb_set_option(NULL, LIBUSB_OPTION_USE_USBDK);
+ #endif
+ 
+ #ifdef G_OS_UNIX
+@@ -528,7 +528,11 @@ main(int argc, char *argv[])
+     /* Only allow libusb logging if log verbosity is uredirparser_debug_data
+      * (or higher), otherwise we disable it here while keeping usbredir's logs enable. */
+     if  (self->verbosity < usbredirparser_debug_data)  {
++#if LIBUSB_API_VERSION >= 0x01000106
+         int ret = libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_NONE);
++#else
++        int ret = (libusb_set_debug(NULL, LIBUSB_LOG_LEVEL_NONE), 0);
++#endif
+         if (ret != LIBUSB_SUCCESS) {
+             g_warning("error disabling libusb log level: %s", libusb_error_name(ret));
+             goto end;
diff --git a/net/usbredir/pkg-plist b/net/usbredir/pkg-plist
index be40b9424b04..925a3169bb15 100644
--- a/net/usbredir/pkg-plist
+++ b/net/usbredir/pkg-plist
@@ -1,16 +1,16 @@
+bin/usbredirect
 include/usbredirfilter.h
 include/usbredirhost.h
 include/usbredirproto.h
 include/usbredirparser.h
-lib/libusbredirparser.a
 lib/libusbredirparser.so
 lib/libusbredirparser.so.1
-lib/libusbredirparser.so.1.0.2
-lib/libusbredirhost.a
+lib/libusbredirparser.so.1.0.3
 lib/libusbredirhost.so
 lib/libusbredirhost.so.1
 lib/libusbredirhost.so.1.0.2
 libdata/pkgconfig/libusbredirparser-0.5.pc
 libdata/pkgconfig/libusbredirhost.pc
+share/man/man1/usbredirect.1.gz
 share/man/man1/usbredirserver.1.gz
 sbin/usbredirserver


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69cf9e94.1cc69.68fbf35b>