Hello community,

here is the log from the commit of package xboxdrv for openSUSE:Factory checked 
in at 2020-04-13 12:54:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xboxdrv (Old)
 and      /work/SRC/openSUSE:Factory/.xboxdrv.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xboxdrv"

Mon Apr 13 12:54:49 2020 rev:6 rq:793441 version:0.8.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/xboxdrv/xboxdrv.changes  2017-11-30 
12:45:51.676893842 +0100
+++ /work/SRC/openSUSE:Factory/.xboxdrv.new.3248/xboxdrv.changes        
2020-04-13 12:54:57.248691695 +0200
@@ -1,0 +2,9 @@
+Fri Apr 10 21:47:30 UTC 2020 - [email protected]
+
+- Add xboxdrv-add-new-device.patch: Add new wireless receiver
+  device (0x045e:0x02a9).
+- Update Homepage and download URL's.
+- Run spec-cleaner.
+- Fix python2 env-script-interpreter reference in xboxdrvctl.
+
+-------------------------------------------------------------------

New:
----
  xboxdrv-add-new-device.patch

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

Other differences:
------------------
++++++ xboxdrv.spec ++++++
--- /var/tmp/diff_new_pack.C4wiFL/_old  2020-04-13 12:54:58.284692145 +0200
+++ /var/tmp/diff_new_pack.C4wiFL/_new  2020-04-13 12:54:58.288692148 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xboxdrv
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,10 +20,10 @@
 Version:        0.8.8
 Release:        0
 Summary:        Xbox/Xbox360 USB Gamepad Driver for Userspace
-License:        GPL-3.0+
+License:        GPL-3.0-or-later
 Group:          Hardware/Joystick
-Url:            http://pingus.seul.org/~grumbel/xboxdrv/
-Source:         
http://pingus.seul.org/~grumbel/xboxdrv/%{name}-linux-%{version}.tar.bz2
+URL:            https://xboxdrv.gitlab.io/
+Source:         https://xboxdrv.gitlab.io/%{name}-linux-%{version}.tar.bz2
 Source1:        50-xpad.conf
 Source2:        %{name}.conf
 Source3:        %{name}.service
@@ -31,6 +31,8 @@
 Patch0:         %{name}-fix-delay.patch
 # PATCH-FIX-UPSTREAM xboxdrv-scons3.patch -- Fix build with python, from 
https://github.com/xboxdrv/xboxdrv/pull/240
 Patch1:         xboxdrv-scons3.patch
+#PATCH-FIX-OPENSUSE xboxdrv-add-new-device.patch [email protected] -- 
Add new wireless controller device (0x02a9, "Microsoft X-Box pad v? (?)).
+Patch2:         xboxdrv-add-new-device.patch
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 BuildRequires:  scons
@@ -58,6 +60,9 @@
 %setup -q -n %{name}-linux-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+# Fix rpm runtime dependency rpmlint error replace the shebang in all the 
scripts with %%{_bindir}/python3
+find . -name "xboxdrvctl" -exec sed -i 's|#!%{_bindir}/env 
python2|#!%{_bindir}/python3|' {} ";"
 cp -f %{SOURCE1} 50-xpad.conf
 cp -f %{SOURCE2} %{name}.conf
 cp -f %{SOURCE3} %{name}.service
@@ -96,7 +101,8 @@
 %service_del_postun %{name}.service
 
 %files
-%doc AUTHORS COPYING NEWS PROTOCOL README.md TODO
+%license COPYING
+%doc AUTHORS NEWS PROTOCOL README.md TODO
 %config(noreplace) %{_sysconfdir}/%{name}.conf
 %dir %{_sysconfdir}/modprobe.d/
 %config %{_sysconfdir}/modprobe.d/50-xpad.conf

++++++ xboxdrv-add-new-device.patch ++++++
diff -Naur a/src/xpad_device.cpp b/src/xpad_device.cpp
--- a/src/xpad_device.cpp       2015-11-09 04:19:35.000000000 -0600
+++ b/src/xpad_device.cpp       2020-04-10 17:37:33.310924751 -0500
@@ -111,6 +111,7 @@
   { GAMEPAD_XBOX360,          0x15e4, 0x3f00, "Power A Mini Pro Elite" },
   { GAMEPAD_XBOX360,          0x15e4, 0x3f10, "Batarang Xbox 360 controller" },
   { GAMEPAD_XBOX360_WIRELESS, 0x045e, 0x0291, "Xbox 360 Wireless Receiver 
(XBOX)" }, // RF Module from the Xbox360
+  { GAMEPAD_XBOX360_WIRELESS, 0x045e, 0x02a9, "Xbox 360 Wireless Receiver 
(3RDPARTY)" }, // PC Receiver/PC Wireless Gaming Receiver
   { GAMEPAD_XBOX360_WIRELESS, 0x045e, 0x0719, "Xbox 360 Wireless Receiver" }, 
// official Wireless Receiver
   { GAMEPAD_XBOX360,          0x24c6, 0x5000, "Razer Atrox Arcade Stick" },
   { GAMEPAD_XBOX360,          0x1689, 0xfd00, "Razer Onza Tournament Edition" 
},

Reply via email to