Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package usbredir for openSUSE:Factory 
checked in at 2021-04-15 16:57:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/usbredir (Old)
 and      /work/SRC/openSUSE:Factory/.usbredir.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "usbredir"

Thu Apr 15 16:57:06 2021 rev:14 rq:884656 version:0.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/usbredir/usbredir.changes        2018-09-26 
16:02:07.588420490 +0200
+++ /work/SRC/openSUSE:Factory/.usbredir.new.12324/usbredir.changes     
2021-04-15 16:57:20.506667128 +0200
@@ -1,0 +2,25 @@
+Mon Apr  5 18:28:43 UTC 2021 - Bruce Rogers <brog...@suse.com>
+
+- Update to version 0.9.0
+  + Changes noted in ChangeLog.md:
+     !2 Add usbredirect tool with feature parity with usbredirserver
+     !6 Add fuzzer for usbredirparser
+    !12 Add MSI installer for usbredirect tool
+    !11 Add meson build: autotool will be removed in a future release
+     !5 Limit packet's length to 65 kB
+    !4 Fix wrong up-cast when checking for package's length
+    Require LLVM's compiler-rt (optional: for fuzzer)
+    Require glib2 >= 2.44 (optional: for usbredirect)
+    Deprecate usbredirserver in favor of usbredirect
+  + Require libusb-1.0 >= 1.22 due to libusb_set_option() usage
+  + Require meson >= 0.48 due to dictionary usage
+  + Change docs to be in markdown format
+  + add usbredir TCP client
+  + add meson build support (which we now use to build package)
+- Package the new usbredir TCP client: 'usbredirect'
+- Fix meson include directory paths
+  + meson-Fix-include-directories-needed-to-build.patch
+- Fix pkgconfig data used in meson build
+  + meson-Fix-pkgconfig-required-library-name-reference.patch
+
+-------------------------------------------------------------------

Old:
----
  usbredir-0.8.0.tar.bz2

New:
----
  meson-Fix-include-directories-needed-to-build.patch
  meson-Fix-pkgconfig-required-library-name-reference.patch
  usbredir-0.9.0.tar.xz
  usbredir-0.9.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ usbredir.spec ++++++
--- /var/tmp/diff_new_pack.M8YXti/_old  2021-04-15 16:57:20.974667868 +0200
+++ /var/tmp/diff_new_pack.M8YXti/_new  2021-04-15 16:57:20.978667874 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package usbredir
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,76 +18,85 @@
 
 
 Name:           usbredir
-Version:        0.8.0
+Version:        0.9.0
 Release:        0
-Summary:        A protocol for redirection USB traffic
+Summary:        A protocol for redirecting USB traffic
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later
 Group:          System/Libraries
-Url:            https://www.spice-space.org/usbredir.html
-Source:         
https://www.spice-space.org/download/usbredir/%{name}-%{version}.tar.bz2
-BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(libusb-1.0)
+URL:            https://www.spice-space.org/usbredir.html
+Source:         
https://www.spice-space.org/download/usbredir/%{name}-%{version}.tar.xz
+Source1:        
https://www.spice-space.org/download/usbredir/%{name}-%{version}.tar.xz.sig
+Patch1:         meson-Fix-include-directories-needed-to-build.patch
+Patch2:         meson-Fix-pkgconfig-required-library-name-reference.patch
+BuildRequires:  gcc-c++
+BuildRequires:  glib2-devel >= 2.44
+BuildRequires:  meson >= 0.48
+BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.22
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-usbredir is a protocol for redirection USB traffic from a single USB device,
-to a different (virtual) machine then the one to which the USB device is
-attached. See usb-redirection-protocol.txt for the description / definition
+usbredir is a protocol for redirecting USB traffic from a single USB device,
+to a different (virtual) machine than the one to which the USB device is
+attached. See usb-redirection-protocol.md for the description / definition
 of this protocol.
 
 %package -n libusbredirhost1
-Summary:        A protocol for redirection USB traffic
+Summary:        A protocol for redirecting USB traffic - Host-side library
 Group:          System/Libraries
 
 %description -n libusbredirhost1
-usbredir is a protocol for redirection USB traffic from a single USB device,
-to a different (virtual) machine then the one to which the USB device is
-attached. See usb-redirection-protocol.txt for the description / definition
+usbredir is a protocol for redirecting USB traffic from a single USB device,
+to a different (virtual) machine than the one to which the USB device is
+attached. See usb-redirection-protocol.md for the description / definition
 of this protocol.
 
 %package -n libusbredirparser1
-Summary:        A protocol for redirection USB traffic
+Summary:        A protocol for redirecting USB traffic - Client-side library
 Group:          System/Libraries
 Obsoletes:      libusbredirparser0 < %{version}
 Provides:       libusbredirparser0 = %{version}
 
 %description -n libusbredirparser1
-usbredir is a protocol for redirection USB traffic from a single USB device,
-to a different (virtual) machine then the one to which the USB device is
-attached. See usb-redirection-protocol.txt for the description / definition
+usbredir is a protocol for redirecting USB traffic from a single USB device,
+to a different (virtual) machine than the one to which the USB device is
+attached. See usb-redirection-protocol.md for the description / definition
 of this protocol.
 
 %package devel
-Summary:        A protocol for redirection USB traffic - Development files
+Summary:        A protocol for redirecting USB traffic - Development files
 Group:          Development/Languages/C and C++
 Requires:       libusbredirhost1 = %{version}
 Requires:       libusbredirparser1 = %{version}
 
 %description devel
-usbredir is a protocol for redirection USB traffic from a single USB device,
+usbredir is a protocol for redirecting USB traffic from a single USB device,
 to a different (virtual) machine than the one to which the USB device is
-attached. See usb-redirection-protocol.txt for the description / definition
+attached. See usb-redirection-protocol.md for the description / definition
 of this protocol.
 
 %prep
-%setup -q
+%setup -n %{name}-%{version}
+%patch1 -p1
+%patch2 -p1
 
 %build
-%configure --disable-static
-make %{?_smp_mflags}
+%meson -Dllvm-fuzz=disabled
+%meson_build
 
 %install
-%make_install LIBDIR=%{_libdir} PREFIX=%{_prefix}
-find %{buildroot} -type f -name "*.la" -delete -print
+%meson_install
 
 %post -n libusbredirhost1 -p /sbin/ldconfig
 %postun -n libusbredirhost1 -p /sbin/ldconfig
 %post -n libusbredirparser1 -p /sbin/ldconfig
 %postun -n libusbredirparser1 -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root)
-%doc ChangeLog README
+%doc ChangeLog.md README.md
 %license COPYING
+%{_bindir}/usbredirect
+%{_mandir}/man1/usbredirect.1.gz
 %{_mandir}/man1/usbredirserver.1.gz
 %{_sbindir}/usbredirserver
 
@@ -101,7 +110,7 @@
 
 %files devel
 %defattr(-, root, root)
-%doc README.multi-thread
+%doc docs/multi-thread.md docs/usb-redirection-protocol.md
 %{_includedir}/usbredirhost.h
 %{_includedir}/usbredirfilter.h
 %{_includedir}/usbredirparser.h

++++++ meson-Fix-include-directories-needed-to-build.patch ++++++
>From 897436a72104750fca14d24e176dbef17790101d Mon Sep 17 00:00:00 2001
From: Bruce Rogers <brog...@suse.com>
Date: Sat, 3 Apr 2021 11:55:44 -0600
Subject: [PATCH] meson: Fix include directories needed to build

The directories needed for building isn't specified correctly.
Add the additional directories where header files reside.

Signed-off-by: Bruce Rogers <brog...@suse.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 8b2ccca..a0e73b0 100644
--- a/meson.build
+++ b/meson.build
@@ -9,7 +9,7 @@ project('usbredir', 'c', 'cpp',
 
 summary_info = {'prefix': get_option('prefix')}
 
-usbredir_include_root_dir = include_directories('.')
+usbredir_include_root_dir = include_directories('.', 'usbredirhost', 
'usbredirparser')
 
 cc_flags = [
     '-Wp,-D_FORTIFY_SOURCE=2',
-- 
2.30.2

++++++ meson-Fix-pkgconfig-required-library-name-reference.patch ++++++
>From 115969ef3623497094e477ce004022d2aeb9d0cd Mon Sep 17 00:00:00 2001
From: Bruce Rogers <brog...@suse.com>
Date: Mon, 5 Apr 2021 16:02:37 -0600
Subject: [PATCH] meson: Fix pkgconfig required library name reference

Signed-off-by: Bruce Rogers <brog...@suse.com>
---
 usbredirhost/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/usbredirhost/meson.build b/usbredirhost/meson.build
index 28dc688..a09188c 100644
--- a/usbredirhost/meson.build
+++ b/usbredirhost/meson.build
@@ -51,5 +51,6 @@ pkgconfig = import('pkgconfig')
 pkgconfig.generate(usbredir_host_lib,
                    name : 'libusbredirhost',
                    description : 'usbredirhost library',
-                   requires : [libusb_required_version, 'usbredirparser-0.5'],
+                   requires : [libusb_required_version, 
'libusbredirparser-0.5'],
                    variables : 'exec_prefix=${prefix}')
+
-- 
2.30.2

Reply via email to