diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-util/xboxdrv/files | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-util/xboxdrv/files')
-rw-r--r-- | games-util/xboxdrv/files/github-144.patch | 15 | ||||
-rw-r--r-- | games-util/xboxdrv/files/org.seul.Xboxdrv.conf | 7 | ||||
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch | 16 | ||||
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch | 13 | ||||
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv.confd | 5 | ||||
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv.initd | 18 | ||||
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv.service | 14 | ||||
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv.udev-rules | 5 |
8 files changed, 0 insertions, 93 deletions
diff --git a/games-util/xboxdrv/files/github-144.patch b/games-util/xboxdrv/files/github-144.patch deleted file mode 100644 index 5782e1a8cd52..000000000000 --- a/games-util/xboxdrv/files/github-144.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Naur xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp xboxdrv-linux-0.8.5/src/usb_gsource.cpp ---- xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp 2013-04-07 18:27:49.000000000 +0100 -+++ xboxdrv-linux-0.8.5/src/usb_gsource.cpp 2016-07-02 12:35:41.692355904 +0100 -@@ -174,7 +174,10 @@ - gboolean - USBGSource::on_source() - { -- libusb_handle_events(NULL); -+ struct timeval to; -+ to.tv_sec = 0; -+ to.tv_usec = 0; -+ libusb_handle_events_timeout_completed(NULL, &to, NULL); - return TRUE; - } - diff --git a/games-util/xboxdrv/files/org.seul.Xboxdrv.conf b/games-util/xboxdrv/files/org.seul.Xboxdrv.conf deleted file mode 100644 index fc685d6e8e83..000000000000 --- a/games-util/xboxdrv/files/org.seul.Xboxdrv.conf +++ /dev/null @@ -1,7 +0,0 @@ -<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" - "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> -<busconfig> - <policy context="default"> - <allow own="org.seul.Xboxdrv"/> - </policy> -</busconfig> diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch deleted file mode 100644 index 80a8d8f550e1..000000000000 --- a/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch +++ /dev/null @@ -1,16 +0,0 @@ -Cast boost::shared_ptr explicitly for C++14. -See also: https://bugs.gentoo.org/show_bug.cgi?id=594674 - ---- a/src/controller_slot.cpp -+++ b/src/controller_slot.cpp -@@ -67,9 +67,9 @@ ControllerSlot::disconnect() - } - - bool - ControllerSlot::is_connected() const - { -- return m_thread; -+ return static_cast<bool>(m_thread); - } - - /* EOF */ diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch deleted file mode 100644 index d6df8d99e32e..000000000000 --- a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://dev.gentoo.org/~vapier/scons-blows.txt - -diff -Naur xboxdrv-linux-0.8.8.orig/SConstruct xboxdrv-linux-0.8.8/SConstruct ---- xboxdrv-linux-0.8.8.orig/SConstruct 2015-11-09 10:19:35.000000000 +0000 -+++ xboxdrv-linux-0.8.8/SConstruct 2016-07-02 16:13:52.560961836 +0100 -@@ -84,6 +84,7 @@ - opts.Add('CXXFLAGS', 'C++ Compiler flags') - opts.Add('LINKFLAGS', 'Linker Compiler flags') - opts.Add('AR', 'Library archiver') -+opts.Add('RANLIB', 'Archive indexer') - opts.Add('CC', 'C Compiler') - opts.Add('CXX', 'C++ Compiler') - opts.Add('BUILD', 'Build type: release, custom, development') diff --git a/games-util/xboxdrv/files/xboxdrv.confd b/games-util/xboxdrv/files/xboxdrv.confd deleted file mode 100644 index 99363c95dafb..000000000000 --- a/games-util/xboxdrv/files/xboxdrv.confd +++ /dev/null @@ -1,5 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -XBOXDRV_OPTS="" -#XBOXDRV_OPTS="${XBOXDRV_OPTS} --next-controller --config /etc/xboxdrv/controller.ini" diff --git a/games-util/xboxdrv/files/xboxdrv.initd b/games-util/xboxdrv/files/xboxdrv.initd deleted file mode 100644 index 8602c7e12531..000000000000 --- a/games-util/xboxdrv/files/xboxdrv.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PIDFILE="/var/run/${SVCNAME}.pid" - -start() { - ebegin "Starting xboxdrv" - start-stop-daemon --start --pidfile "${PIDFILE}" --exec /usr/bin/xboxdrv -- \ - --daemon --detach --pid-file "${PIDFILE}" ${XBOXDRV_OPTS} - eend $? -} - -stop() { - ebegin "Stopping xboxdrv" - start-stop-daemon --stop --pidfile "${PIDFILE}" - eend $? -} diff --git a/games-util/xboxdrv/files/xboxdrv.service b/games-util/xboxdrv/files/xboxdrv.service deleted file mode 100644 index b0d372696e0a..000000000000 --- a/games-util/xboxdrv/files/xboxdrv.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Userspace Xbox 360 Controller driver -BindsTo=sys-subsystem-usb-xbox-controller0.device -After=sys-subsystem-usb-xbox-controller0.device - -[Service] -BusName=org.seul.Xboxdrv -ExecStart=/usr/bin/xboxdrv --silent --daemon -KillSignal=SIGINT -# xboxdrv can not stop gracefully if controller gets unplugged -TimeoutStopSec=2 - -[Install] -WantedBy=multi-user.target diff --git a/games-util/xboxdrv/files/xboxdrv.udev-rules b/games-util/xboxdrv/files/xboxdrv.udev-rules deleted file mode 100644 index c571b2b5ab02..000000000000 --- a/games-util/xboxdrv/files/xboxdrv.udev-rules +++ /dev/null @@ -1,5 +0,0 @@ -SUBSYSTEM=="usb", ACTION=="add",\ - ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S",\ - TAG+="systemd",\ - ENV{SYSTEMD_ALIAS}="/sys/subsystem/usb/xbox/controller$number",\ - ENV{SYSTEMD_WANTS}+="xboxdrv.service" |