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 | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-util/xboxdrv')
-rw-r--r-- | games-util/xboxdrv/Manifest | 11 | ||||
-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 | ||||
-rw-r--r-- | games-util/xboxdrv/metadata.xml | 8 | ||||
-rw-r--r-- | games-util/xboxdrv/xboxdrv-0.8.8.ebuild | 63 |
11 files changed, 0 insertions, 175 deletions
diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest deleted file mode 100644 index e28e31338358..000000000000 --- a/games-util/xboxdrv/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -AUX github-144.patch 491 BLAKE2B d644c7af466ee4c0e661292509b614f6a36f69a2bdf2919a4fd26baf07571655f52681eb9787adaefb1f853fd31c71e8156a0df5e65d9e92e72ae531aa93c768 SHA512 058eb9515a74742d6aef1de3acc76b8731947fe4a3aa1179243d0b14cab5f978aef98d9b140371dd03a5165f96e167b1dc7297378545f266e887ea0b3188c79e -AUX org.seul.Xboxdrv.conf 247 BLAKE2B 0829d1e65203f56efc0442c798070cf8c9f6b53792b5eb4fd8cc0671068d5d66d281b2c53c5cdb06474b635c2c9c5076d3a64364afdffc87a0c1bf052015f9ff SHA512 1416e80d326481e224ce3381a8feeacf304107f945d787183c74118aae955e191cc89269e8de44d6ce4efc2502def6957b690e9bad70072fcf0bbd47c8ab12cc -AUX xboxdrv-0.8.8-fix-c++14.patch 337 BLAKE2B 5fc250da71e11432c215fa42751be07a5eef37036a4a406601619f8b07554d9b349ba66196b84090e23d807687379b64710218d8b0b6c63036e189c2331a14c0 SHA512 97b504a0acf7fd52ef0f4accacd89e9211136809c7559bd8958d2b235d732df2659fb5b794512e2ff3aaf33f22d97e2f4b42187eab9406a36e7b6cb9fd651832 -AUX xboxdrv-0.8.8-scons.patch 584 BLAKE2B cbe8d12773b2f5c6051291fda2c8df23811d12c5440d7dd7f50777bdc01f474f971713ec513a245787a2b113e32cb03b202bf28619e96315fa2992edc21083cb SHA512 25b7b1e57f7ad9b48ad566c81b97b9354a353535564462e8c4b550190c920718165044508d28b3d5fee6155bb41752afbd8038fab59239c58e1aee82d62c5910 -AUX xboxdrv.confd 211 BLAKE2B 7a79059b29edbfbde33fe3daf9c89346246ac4323d7053ea4b26b6dd1fff07d731f8f7faa6a79f152f76eb1722606655f1d8d1026a3a83b0520e1909915039db SHA512 4c8a784a18979746a45653244e451fe1ba9e7cbb14301cc18f58e474e51f7569177364c5a96cbe0275db2b359424febd27c040ede5820148aadb80e90ebf8178 -AUX xboxdrv.initd 446 BLAKE2B f78cf4af5cca703efc0a480c2ba34b0189d2b86a64aa89533e59a4d325ca03592bc911a9c85ff1fe5801ef2ade537dcfcc7266052a77f64ff05dad5f43630167 SHA512 e87d4b4b4313cb4ae983aef4ab7fa799f6b466e0f504eb15905b82f5b8bca2f0ff6f3d9a7d9963c048b6189e2a4c4b862a3f39d4201c2f5f02234362ad7b3af1 -AUX xboxdrv.service 371 BLAKE2B afd5f5397f4ae15af69d8e12865201fe159691ba2a36c00fe207304afe5126814fafd0394e7618e9f4d27611bd2c0dd7371717c7a07a57d27c3a4ab8e6e40140 SHA512 80e7657edae9c771740628ef5f9752b79d50288ead33afe97e71ffc6e7d7c24343eeb213668cdc823b28742976e2e56f4defdcd823716897f3262be1fc7832e9 -AUX xboxdrv.udev-rules 225 BLAKE2B 0f027c332b58d7ec3c289d23192355dae8d44f50c7cbf9de42a2023a2db6c29943fc7eecc85a0e802f5925ffdfc145584909140df8c030a120fe3da79c91641e SHA512 eb9e535bb18077e4c61db8fa5020a779b856a6df29eb4daa72a2ab9675720f809a981b0e4706fbbc6bf5a368cc162c7151cd6ae10399d091f10d2f75b1c48a3e -DIST xboxdrv-linux-0.8.8.tar.bz2 267919 BLAKE2B b6f09fc929ba561f0c18a777ca94f6972f366d29709d5fdcb168988311ca53eb813761df0f87d148795aa14d2d89b200e8123502c0b255ebe20e5f9caa18f8f1 SHA512 2978b33d23636431ee0cc393ea32d3d26ebe9f2b914f0bf8bc0e096f98202726768142e653bc5765ac55084b105ff3a6214bdf6e745fdd8aa167260c54c10494 -EBUILD xboxdrv-0.8.8.ebuild 1405 BLAKE2B 5636721b89c91b62ac51695148920a0cd1641e5a8f847225a627dc71009a7480fbb02fa884ca590a1f375aca820fe3d3266c814afd1723717cf0b486b8eeffc2 SHA512 f91abd7d9370f4d2e6c79ed38da4eb93592e672dbe0ed2eac377da6fb927ed83e8ffb6eecff29a45926258950ea4da52f53bf619deb9ebedbb383495ca9b5e1a -MISC metadata.xml 252 BLAKE2B 1b951d2e730631865ae5f379b19ed9de2c8adf2f2786da3f75d0871d967374198ddd9106433f388bdc7050c37063fb28cda4320ae7bdc9a03854838693d9f952 SHA512 90798aff93ec7e3881b882e7b10bb1680e8cb7d82b0ef4280e562ab0c9e8a2daba8afe57333dc64697322267a4b651c00ee9b4fdeb56278ff70c073da7b91638 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" diff --git a/games-util/xboxdrv/metadata.xml b/games-util/xboxdrv/metadata.xml deleted file mode 100644 index 3c186688e265..000000000000 --- a/games-util/xboxdrv/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> -</pkgmetadata> diff --git a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild deleted file mode 100644 index a9324ad2dffe..000000000000 --- a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit linux-info scons-utils toolchain-funcs systemd udev - -MY_P=${PN}-linux-${PV} -DESCRIPTION="Userspace Xbox 360 Controller driver" -HOMEPAGE="https://pingus.seul.org/~grumbel/xboxdrv/" -SRC_URI="https://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-libs/boost:= - dev-libs/dbus-glib:= - virtual/libudev:= - sys-apps/dbus:= - dev-libs/glib:2= - virtual/libusb:1= - x11-libs/libX11:=" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S=${WORKDIR}/${MY_P} - -PATCHES=( - "${FILESDIR}"/${P}-scons.patch - "${FILESDIR}"/github-144.patch - "${FILESDIR}"/${P}-fix-c++14.patch -) - -CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" - -src_compile() { - escons \ - BUILD=custom \ - CXX="$(tc-getCXX)" \ - AR="$(tc-getAR)" \ - RANLIB="$(tc-getRANLIB)" \ - CXXFLAGS="-Wall ${CXXFLAGS}" \ - LINKFLAGS="${LDFLAGS}" -} - -src_install() { - dobin xboxdrv - doman doc/xboxdrv.1 - dodoc AUTHORS NEWS PROTOCOL README.md TODO - - newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv - newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv - - insinto /etc/dbus-1/system.d/ - doins "${FILESDIR}/org.seul.Xboxdrv.conf" - - udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules - systemd_dounit "${FILESDIR}"/xboxdrv.service -} - -pkg_postinst() { - udev_reload -} |