Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/xboxdrv/, games-util/xboxdrv/files/
Date: Thu, 17 Jan 2019 22:27:26
Message-Id: 1547764029.6f5dd987d612e67babe6029c8db433a0184d2e31.chewi@gentoo
1 commit: 6f5dd987d612e67babe6029c8db433a0184d2e31
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 17 22:18:12 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 17 22:27:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f5dd987
7
8 games-util/xboxdrv: Drop old 0.8.8
9
10 Package-Manager: Portage-2.3.56, Repoman-2.3.12
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 games-util/xboxdrv/Manifest | 1 -
14 games-util/xboxdrv/files/github-144.patch | 15 ------
15 .../xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch | 16 ------
16 games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch | 13 -----
17 games-util/xboxdrv/xboxdrv-0.8.8.ebuild | 63 ----------------------
18 5 files changed, 108 deletions(-)
19
20 diff --git a/games-util/xboxdrv/Manifest b/games-util/xboxdrv/Manifest
21 index a08c7116294..22664cac47a 100644
22 --- a/games-util/xboxdrv/Manifest
23 +++ b/games-util/xboxdrv/Manifest
24 @@ -1,2 +1 @@
25 DIST xboxdrv-0.8.8_p20190116.tar.gz 322469 BLAKE2B 8827cafb98235f7ad9d83204c808eb6bc25fdfd48321050ab79b561fc6a1a3b628e4bd667f7f1be511420514ef7906efc803db4f50130c393d7fa3cb498fed26 SHA512 3f9f8346a5a8486fb9f1af3e27a947e37c73ceab8f433639adf890144844f4fb6d005da3c4c6c1abf0a1550b71aba8b89001f58965d67fdc21e5f41e50a21436
26 -DIST xboxdrv-linux-0.8.8.tar.bz2 267919 BLAKE2B b6f09fc929ba561f0c18a777ca94f6972f366d29709d5fdcb168988311ca53eb813761df0f87d148795aa14d2d89b200e8123502c0b255ebe20e5f9caa18f8f1 SHA512 2978b33d23636431ee0cc393ea32d3d26ebe9f2b914f0bf8bc0e096f98202726768142e653bc5765ac55084b105ff3a6214bdf6e745fdd8aa167260c54c10494
27
28 diff --git a/games-util/xboxdrv/files/github-144.patch b/games-util/xboxdrv/files/github-144.patch
29 deleted file mode 100644
30 index 5782e1a8cd5..00000000000
31 --- a/games-util/xboxdrv/files/github-144.patch
32 +++ /dev/null
33 @@ -1,15 +0,0 @@
34 -diff -Naur xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp xboxdrv-linux-0.8.5/src/usb_gsource.cpp
35 ---- xboxdrv-linux-0.8.5.orig/src/usb_gsource.cpp 2013-04-07 18:27:49.000000000 +0100
36 -+++ xboxdrv-linux-0.8.5/src/usb_gsource.cpp 2016-07-02 12:35:41.692355904 +0100
37 -@@ -174,7 +174,10 @@
38 - gboolean
39 - USBGSource::on_source()
40 - {
41 -- libusb_handle_events(NULL);
42 -+ struct timeval to;
43 -+ to.tv_sec = 0;
44 -+ to.tv_usec = 0;
45 -+ libusb_handle_events_timeout_completed(NULL, &to, NULL);
46 - return TRUE;
47 - }
48 -
49
50 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
51 deleted file mode 100644
52 index 80a8d8f550e..00000000000
53 --- a/games-util/xboxdrv/files/xboxdrv-0.8.8-fix-c++14.patch
54 +++ /dev/null
55 @@ -1,16 +0,0 @@
56 -Cast boost::shared_ptr explicitly for C++14.
57 -See also: https://bugs.gentoo.org/show_bug.cgi?id=594674
58 -
59 ---- a/src/controller_slot.cpp
60 -+++ b/src/controller_slot.cpp
61 -@@ -67,9 +67,9 @@ ControllerSlot::disconnect()
62 - }
63 -
64 - bool
65 - ControllerSlot::is_connected() const
66 - {
67 -- return m_thread;
68 -+ return static_cast<bool>(m_thread);
69 - }
70 -
71 - /* EOF */
72
73 diff --git a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch b/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch
74 deleted file mode 100644
75 index d6df8d99e32..00000000000
76 --- a/games-util/xboxdrv/files/xboxdrv-0.8.8-scons.patch
77 +++ /dev/null
78 @@ -1,13 +0,0 @@
79 -https://dev.gentoo.org/~vapier/scons-blows.txt
80 -
81 -diff -Naur xboxdrv-linux-0.8.8.orig/SConstruct xboxdrv-linux-0.8.8/SConstruct
82 ---- xboxdrv-linux-0.8.8.orig/SConstruct 2015-11-09 10:19:35.000000000 +0000
83 -+++ xboxdrv-linux-0.8.8/SConstruct 2016-07-02 16:13:52.560961836 +0100
84 -@@ -84,6 +84,7 @@
85 - opts.Add('CXXFLAGS', 'C++ Compiler flags')
86 - opts.Add('LINKFLAGS', 'Linker Compiler flags')
87 - opts.Add('AR', 'Library archiver')
88 -+opts.Add('RANLIB', 'Archive indexer')
89 - opts.Add('CC', 'C Compiler')
90 - opts.Add('CXX', 'C++ Compiler')
91 - opts.Add('BUILD', 'Build type: release, custom, development')
92
93 diff --git a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild b/games-util/xboxdrv/xboxdrv-0.8.8.ebuild
94 deleted file mode 100644
95 index a9324ad2dff..00000000000
96 --- a/games-util/xboxdrv/xboxdrv-0.8.8.ebuild
97 +++ /dev/null
98 @@ -1,63 +0,0 @@
99 -# Copyright 1999-2018 Gentoo Foundation
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI=6
103 -inherit linux-info scons-utils toolchain-funcs systemd udev
104 -
105 -MY_P=${PN}-linux-${PV}
106 -DESCRIPTION="Userspace Xbox 360 Controller driver"
107 -HOMEPAGE="https://pingus.seul.org/~grumbel/xboxdrv/"
108 -SRC_URI="https://pingus.seul.org/~grumbel/xboxdrv/${MY_P}.tar.bz2"
109 -
110 -LICENSE="GPL-3"
111 -SLOT="0"
112 -KEYWORDS="~amd64 ~x86"
113 -
114 -RDEPEND="dev-libs/boost:=
115 - dev-libs/dbus-glib:=
116 - virtual/libudev:=
117 - sys-apps/dbus:=
118 - dev-libs/glib:2=
119 - virtual/libusb:1=
120 - x11-libs/libX11:="
121 -DEPEND="${RDEPEND}
122 - virtual/pkgconfig"
123 -
124 -S=${WORKDIR}/${MY_P}
125 -
126 -PATCHES=(
127 - "${FILESDIR}"/${P}-scons.patch
128 - "${FILESDIR}"/github-144.patch
129 - "${FILESDIR}"/${P}-fix-c++14.patch
130 -)
131 -
132 -CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD"
133 -
134 -src_compile() {
135 - escons \
136 - BUILD=custom \
137 - CXX="$(tc-getCXX)" \
138 - AR="$(tc-getAR)" \
139 - RANLIB="$(tc-getRANLIB)" \
140 - CXXFLAGS="-Wall ${CXXFLAGS}" \
141 - LINKFLAGS="${LDFLAGS}"
142 -}
143 -
144 -src_install() {
145 - dobin xboxdrv
146 - doman doc/xboxdrv.1
147 - dodoc AUTHORS NEWS PROTOCOL README.md TODO
148 -
149 - newinitd "${FILESDIR}"/xboxdrv.initd xboxdrv
150 - newconfd "${FILESDIR}"/xboxdrv.confd xboxdrv
151 -
152 - insinto /etc/dbus-1/system.d/
153 - doins "${FILESDIR}/org.seul.Xboxdrv.conf"
154 -
155 - udev_newrules "${FILESDIR}"/xboxdrv.udev-rules 99-xbox-controller.rules
156 - systemd_dounit "${FILESDIR}"/xboxdrv.service
157 -}
158 -
159 -pkg_postinst() {
160 - udev_reload
161 -}