1 |
commit: f955153cce2b5490e510effa7b56f60bbbe3055b |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 20:27:11 2022 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 20:37:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f955153c |
7 |
|
8 |
app-misc/spacenavd: Drop old |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
|
12 |
app-misc/spacenavd/Manifest | 2 - |
13 |
.../spacenavd/files/spacenavd-0.7.1-no-x11.patch | 36 --------- |
14 |
app-misc/spacenavd/spacenavd-0.7.1.ebuild | 86 --------------------- |
15 |
app-misc/spacenavd/spacenavd-1.0-r1.ebuild | 84 --------------------- |
16 |
app-misc/spacenavd/spacenavd-1.0-r2.ebuild | 88 ---------------------- |
17 |
app-misc/spacenavd/spacenavd-1.0.ebuild | 83 -------------------- |
18 |
6 files changed, 379 deletions(-) |
19 |
|
20 |
diff --git a/app-misc/spacenavd/Manifest b/app-misc/spacenavd/Manifest |
21 |
index 94180792275c..a3619fa8ed68 100644 |
22 |
--- a/app-misc/spacenavd/Manifest |
23 |
+++ b/app-misc/spacenavd/Manifest |
24 |
@@ -1,4 +1,2 @@ |
25 |
-DIST spacenavd-0.7.1.tar.gz 56703 BLAKE2B 99a918090cf8875e5b5cbb48ceffc383b415d9bbe297e49630c8e48ab78bd547244005b5a91e1bb7abc01382ae332758dfc01297bc8f6fb9a05247330cde8127 SHA512 6bfd76f9187ce77c09cb6ebb73bce45391e675cda51437b647510afef574aa6e3f947f467e03a464e245a5e44f699db1d197a58a06a64a2199686b1ab596517f |
26 |
DIST spacenavd-0.8.tar.gz 47515 BLAKE2B 5ab3432220ae44222b72b3fe18df096322031e0e2643798f494a87287e89607370cd15da919eececc714aacee1b75708a365feac5a182c901d63bdf4fa9f52c1 SHA512 8bb0dd2a95c602d23c84750e55ee649e7999bce43607cd09559f36a782780ceb15769bc0ed8e35b56f7c4b0724574830c2c06d4d8853b6f997ed8bba04441a05 |
27 |
-DIST spacenavd-1.0.tar.gz 59903 BLAKE2B c6280f3b4aee86bc41df393659bcd3d9734e1eae000aab6fed5414278322db5f9d3ba01cdabf53f69f25c3ff1bfbe0a197154d15015a1ac1d98cd78fbeeed30b SHA512 a9f243adc4285a9d9200fdf622e1dab87bee908a3e3ef896533405bd497d065a578cfbf8b507cd0c25a5db349ba1c3624c98a363477ecc989594bfb6c8529fa2 |
28 |
DIST spacenavd-1.1.tar.gz 63642 BLAKE2B 09758883de240e291ffa5784622e79b6ecde46af0f5abcfff8e3692b3428b1aa7e64735a6bc24b84264a4682cc4db623cc38e2f874e346d76d661823b302da37 SHA512 954f6c8d429a2381cbc4ff4387e0e58be444959f1920601e07053e9068b7bdb0c70daefd03fff270560954f4b8c28e6a1b1164106867de969057909372f84168 |
29 |
|
30 |
diff --git a/app-misc/spacenavd/files/spacenavd-0.7.1-no-x11.patch b/app-misc/spacenavd/files/spacenavd-0.7.1-no-x11.patch |
31 |
deleted file mode 100644 |
32 |
index 71b9e26cd038..000000000000 |
33 |
--- a/app-misc/spacenavd/files/spacenavd-0.7.1-no-x11.patch |
34 |
+++ /dev/null |
35 |
@@ -1,36 +0,0 @@ |
36 |
-From 0e7ee937e01b764a6bde28875a3bf0169dbfafa6 Mon Sep 17 00:00:00 2001 |
37 |
-From: John Tsiombikas <nuclear@××××××××××.org> |
38 |
-Date: Sat, 8 Feb 2020 05:23:02 +0200 |
39 |
-Subject: [PATCH] dev.c should conditionally include proto_x11.h, only if |
40 |
- USE_X11 is defined. Closes github bug #22. |
41 |
- |
42 |
---- |
43 |
- src/dev.c | 5 ++++- |
44 |
- 1 file changed, 4 insertions(+), 1 deletion(-) |
45 |
- |
46 |
-diff --git a/src/dev.c b/src/dev.c |
47 |
-index 2074895..8a1b315 100644 |
48 |
---- a/src/dev.c |
49 |
-+++ b/src/dev.c |
50 |
-@@ -1,6 +1,6 @@ |
51 |
- /* |
52 |
- spacenavd - a free software replacement driver for 6dof space-mice. |
53 |
--Copyright (C) 2007-2019 John Tsiombikas <nuclear@××××××××××.org> |
54 |
-+Copyright (C) 2007-2020 John Tsiombikas <nuclear@××××××××××.org> |
55 |
- |
56 |
- This program is free software: you can redistribute it and/or modify |
57 |
- it under the terms of the GNU General Public License as published by |
58 |
-@@ -25,7 +25,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. |
59 |
- #include "dev_serial.h" |
60 |
- #include "event.h" /* remove pending events upon device removal */ |
61 |
- #include "spnavd.h" |
62 |
-+ |
63 |
-+#ifdef USE_X11 |
64 |
- #include "proto_x11.h" |
65 |
-+#endif |
66 |
- |
67 |
- static struct device *add_device(void); |
68 |
- static struct device *dev_path_in_use(char const * dev_path); |
69 |
--- |
70 |
-2.26.1 |
71 |
- |
72 |
|
73 |
diff --git a/app-misc/spacenavd/spacenavd-0.7.1.ebuild b/app-misc/spacenavd/spacenavd-0.7.1.ebuild |
74 |
deleted file mode 100644 |
75 |
index 47b74b2d0260..000000000000 |
76 |
--- a/app-misc/spacenavd/spacenavd-0.7.1.ebuild |
77 |
+++ /dev/null |
78 |
@@ -1,86 +0,0 @@ |
79 |
-# Copyright 1999-2020 Gentoo Authors |
80 |
-# Distributed under the terms of the GNU General Public License v2 |
81 |
- |
82 |
-EAPI=7 |
83 |
- |
84 |
-inherit flag-o-matic linux-info systemd toolchain-funcs udev |
85 |
- |
86 |
-MY_PN='spacenav' |
87 |
-DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon" |
88 |
-HOMEPAGE="http://spacenav.sourceforge.net/" |
89 |
-SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz" |
90 |
-LICENSE="GPL-3" |
91 |
-SLOT="0" |
92 |
-KEYWORDS="amd64 ~arm64 ppc64 x86" |
93 |
-IUSE="X" |
94 |
- |
95 |
-RDEPEND="X? ( |
96 |
- x11-apps/xdpyinfo |
97 |
- x11-base/xorg-proto |
98 |
- x11-libs/libX11 |
99 |
- x11-libs/libXi |
100 |
- )" |
101 |
-DEPEND="${RDEPEND}" |
102 |
- |
103 |
-PATCHES=( |
104 |
- "${FILESDIR}"/${P}-no-x11.patch # bug 717690 |
105 |
-) |
106 |
- |
107 |
-pkg_setup() { |
108 |
- CONFIG_CHECK="~INPUT_EVDEV" |
109 |
- ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly" |
110 |
- check_extra_config |
111 |
-} |
112 |
- |
113 |
-src_configure() { |
114 |
- append-cflags -fcommon # bug 708648 |
115 |
- econf \ |
116 |
- --disable-debug \ |
117 |
- --enable-hotplug \ |
118 |
- --disable-opt \ |
119 |
- $(use_enable X x11) |
120 |
-} |
121 |
- |
122 |
-src_compile() { |
123 |
- emake CC="$(tc-getCC)" |
124 |
-} |
125 |
- |
126 |
-src_install() { |
127 |
- # Config file |
128 |
- insinto /etc |
129 |
- newins "${S}/doc/example-spnavrc" spnavrc.sample |
130 |
- |
131 |
- # Init script |
132 |
- newinitd "${FILESDIR}/spnavd" spacenavd |
133 |
- systemd_dounit "${FILESDIR}/spacenavd.service" |
134 |
- |
135 |
- # Install udev rule but leave activiation to the user |
136 |
- # since Xorg may be configured to grab the device already |
137 |
- udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored |
138 |
- |
139 |
- # Daemon |
140 |
- dobin "${S}/spacenavd" |
141 |
- use X && dobin "${S}/spnavd_ctl" |
142 |
-} |
143 |
- |
144 |
-pkg_postinst() { |
145 |
- elog "To start the Spacenav daemon system-wide by default" |
146 |
- elog "you should add it to the default runlevel :" |
147 |
- elog "\`rc-update add spacenavd default\` (for openRC)" |
148 |
- elog "\`systemctl enable spacenavd\` (for systemd)" |
149 |
- elog |
150 |
- if use X; then |
151 |
- elog "To start generating Spacenav X events by default" |
152 |
- elog "you should add this command in your user startup" |
153 |
- elog "scripts such as .gnomerc or .xinitrc :" |
154 |
- elog "\`spnavd_ctl x11 start\`" |
155 |
- elog |
156 |
- fi |
157 |
- elog |
158 |
- elog "If you want to auto-start the daemon when you plug in" |
159 |
- elog "a SpaceNavigator device, activate the related udev rule :" |
160 |
- elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`" |
161 |
- ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run" |
162 |
- ewarn "the new version of the daemon or \`systemctl restart spacenavd\`" |
163 |
- ewarn "if using systemd." |
164 |
-} |
165 |
|
166 |
diff --git a/app-misc/spacenavd/spacenavd-1.0-r1.ebuild b/app-misc/spacenavd/spacenavd-1.0-r1.ebuild |
167 |
deleted file mode 100644 |
168 |
index 34eaefe072cb..000000000000 |
169 |
--- a/app-misc/spacenavd/spacenavd-1.0-r1.ebuild |
170 |
+++ /dev/null |
171 |
@@ -1,84 +0,0 @@ |
172 |
-# Copyright 1999-2022 Gentoo Authors |
173 |
-# Distributed under the terms of the GNU General Public License v2 |
174 |
- |
175 |
-EAPI=8 |
176 |
- |
177 |
-inherit flag-o-matic linux-info systemd toolchain-funcs udev |
178 |
- |
179 |
-MY_PN='spacenav' |
180 |
-DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon" |
181 |
-HOMEPAGE="http://spacenav.sourceforge.net/" |
182 |
-SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz" |
183 |
-LICENSE="GPL-3" |
184 |
-SLOT="0" |
185 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
186 |
-IUSE="X" |
187 |
- |
188 |
-RDEPEND="X? ( |
189 |
- x11-apps/xdpyinfo |
190 |
- x11-base/xorg-proto |
191 |
- x11-libs/libX11 |
192 |
- x11-libs/libXi |
193 |
- x11-libs/libXtst |
194 |
- )" |
195 |
-DEPEND="${RDEPEND}" |
196 |
- |
197 |
-pkg_setup() { |
198 |
- CONFIG_CHECK="~INPUT_EVDEV" |
199 |
- ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly" |
200 |
- check_extra_config |
201 |
-} |
202 |
- |
203 |
-src_configure() { |
204 |
- append-cflags -fcommon # bug 708648 |
205 |
- econf \ |
206 |
- --disable-debug \ |
207 |
- --enable-hotplug \ |
208 |
- --disable-opt \ |
209 |
- $(use_enable X x11) |
210 |
-} |
211 |
- |
212 |
-src_compile() { |
213 |
- emake CC="$(tc-getCC)" |
214 |
-} |
215 |
- |
216 |
-src_install() { |
217 |
- # Config file |
218 |
- insinto /etc |
219 |
- newins "${S}/doc/example-spnavrc" spnavrc.sample |
220 |
- |
221 |
- # Init script |
222 |
- newinitd "${FILESDIR}/spnavd" spacenavd |
223 |
- systemd_dounit "${FILESDIR}/spacenavd.service" |
224 |
- |
225 |
- # Install udev rule but leave activiation to the user |
226 |
- # since Xorg may be configured to grab the device already |
227 |
- udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored |
228 |
- |
229 |
- # Daemon |
230 |
- dobin "${S}/spacenavd" |
231 |
- use X && dobin "${S}/spnavd_ctl" |
232 |
-} |
233 |
- |
234 |
-pkg_postinst() { |
235 |
- udev_reload |
236 |
- |
237 |
- elog "To start the Spacenav daemon system-wide by default" |
238 |
- elog "you should add it to the default runlevel :" |
239 |
- elog "\`rc-update add spacenavd default\` (for openRC)" |
240 |
- elog "\`systemctl enable spacenavd\` (for systemd)" |
241 |
- elog |
242 |
- if use X; then |
243 |
- elog "To start generating Spacenav X events by default" |
244 |
- elog "you should add this command in your user startup" |
245 |
- elog "scripts such as .gnomerc or .xinitrc :" |
246 |
- elog "\`spnavd_ctl x11 start\`" |
247 |
- elog |
248 |
- fi |
249 |
- elog "If you want to auto-start the daemon when you plug in" |
250 |
- elog "a SpaceNavigator device, activate the related udev rule :" |
251 |
- elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`" |
252 |
- ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run" |
253 |
- ewarn "the new version of the daemon or \`systemctl restart spacenavd\`" |
254 |
- ewarn "if using systemd." |
255 |
-} |
256 |
|
257 |
diff --git a/app-misc/spacenavd/spacenavd-1.0-r2.ebuild b/app-misc/spacenavd/spacenavd-1.0-r2.ebuild |
258 |
deleted file mode 100644 |
259 |
index b389c8cc7dc5..000000000000 |
260 |
--- a/app-misc/spacenavd/spacenavd-1.0-r2.ebuild |
261 |
+++ /dev/null |
262 |
@@ -1,88 +0,0 @@ |
263 |
-# Copyright 1999-2022 Gentoo Authors |
264 |
-# Distributed under the terms of the GNU General Public License v2 |
265 |
- |
266 |
-EAPI=8 |
267 |
- |
268 |
-inherit flag-o-matic linux-info systemd toolchain-funcs udev |
269 |
- |
270 |
-MY_PN='spacenav' |
271 |
-DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon" |
272 |
-HOMEPAGE="http://spacenav.sourceforge.net/" |
273 |
-SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz" |
274 |
-LICENSE="GPL-3" |
275 |
-SLOT="0" |
276 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
277 |
-IUSE="X" |
278 |
- |
279 |
-RDEPEND="X? ( |
280 |
- x11-apps/xdpyinfo |
281 |
- x11-base/xorg-proto |
282 |
- x11-libs/libX11 |
283 |
- x11-libs/libXi |
284 |
- x11-libs/libXtst |
285 |
- )" |
286 |
-DEPEND="${RDEPEND}" |
287 |
- |
288 |
-pkg_setup() { |
289 |
- CONFIG_CHECK="~INPUT_EVDEV" |
290 |
- ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly" |
291 |
- check_extra_config |
292 |
-} |
293 |
- |
294 |
-src_configure() { |
295 |
- append-cflags -fcommon # bug 708648 |
296 |
- econf \ |
297 |
- --disable-debug \ |
298 |
- --enable-hotplug \ |
299 |
- --disable-opt \ |
300 |
- $(use_enable X x11) |
301 |
-} |
302 |
- |
303 |
-src_compile() { |
304 |
- emake CC="$(tc-getCC)" |
305 |
-} |
306 |
- |
307 |
-src_install() { |
308 |
- # Config file |
309 |
- insinto /etc |
310 |
- newins "${S}/doc/example-spnavrc" spnavrc.sample |
311 |
- |
312 |
- # Init script |
313 |
- newinitd "${FILESDIR}/spnavd" spacenavd |
314 |
- systemd_dounit "${FILESDIR}/spacenavd.service" |
315 |
- |
316 |
- # Install udev rule but leave activiation to the user |
317 |
- # since Xorg may be configured to grab the device already |
318 |
- udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored |
319 |
- |
320 |
- # Daemon |
321 |
- dobin "${S}/spacenavd" |
322 |
- use X && dobin "${S}/spnavd_ctl" |
323 |
-} |
324 |
- |
325 |
-pkg_postinst() { |
326 |
- udev_reload |
327 |
- |
328 |
- elog "To start the Spacenav daemon system-wide by default" |
329 |
- elog "you should add it to the default runlevel :" |
330 |
- elog "\`rc-update add spacenavd default\` (for openRC)" |
331 |
- elog "\`systemctl enable spacenavd\` (for systemd)" |
332 |
- elog |
333 |
- if use X; then |
334 |
- elog "To start generating Spacenav X events by default" |
335 |
- elog "you should add this command in your user startup" |
336 |
- elog "scripts such as .gnomerc or .xinitrc :" |
337 |
- elog "\`spnavd_ctl x11 start\`" |
338 |
- elog |
339 |
- fi |
340 |
- elog "If you want to auto-start the daemon when you plug in" |
341 |
- elog "a SpaceNavigator device, activate the related udev rule :" |
342 |
- elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`" |
343 |
- ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run" |
344 |
- ewarn "the new version of the daemon or \`systemctl restart spacenavd\`" |
345 |
- ewarn "if using systemd." |
346 |
-} |
347 |
- |
348 |
-pkg_postrm() { |
349 |
- udev_reload |
350 |
-} |
351 |
|
352 |
diff --git a/app-misc/spacenavd/spacenavd-1.0.ebuild b/app-misc/spacenavd/spacenavd-1.0.ebuild |
353 |
deleted file mode 100644 |
354 |
index b7aa0b95561a..000000000000 |
355 |
--- a/app-misc/spacenavd/spacenavd-1.0.ebuild |
356 |
+++ /dev/null |
357 |
@@ -1,83 +0,0 @@ |
358 |
-# Copyright 1999-2022 Gentoo Authors |
359 |
-# Distributed under the terms of the GNU General Public License v2 |
360 |
- |
361 |
-EAPI=7 |
362 |
- |
363 |
-inherit flag-o-matic linux-info systemd toolchain-funcs udev |
364 |
- |
365 |
-MY_PN='spacenav' |
366 |
-DESCRIPTION="The spacenavd daemon provides free alternative to the 3dxserv daemon" |
367 |
-HOMEPAGE="http://spacenav.sourceforge.net/" |
368 |
-SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz" |
369 |
-LICENSE="GPL-3" |
370 |
-SLOT="0" |
371 |
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
372 |
-IUSE="X" |
373 |
- |
374 |
-RDEPEND="X? ( |
375 |
- x11-apps/xdpyinfo |
376 |
- x11-base/xorg-proto |
377 |
- x11-libs/libX11 |
378 |
- x11-libs/libXi |
379 |
- x11-libs/libXtst |
380 |
- )" |
381 |
-DEPEND="${RDEPEND}" |
382 |
- |
383 |
-pkg_setup() { |
384 |
- CONFIG_CHECK="~INPUT_EVDEV" |
385 |
- ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly" |
386 |
- check_extra_config |
387 |
-} |
388 |
- |
389 |
-src_configure() { |
390 |
- append-cflags -fcommon # bug 708648 |
391 |
- econf \ |
392 |
- --disable-debug \ |
393 |
- --enable-hotplug \ |
394 |
- --disable-opt \ |
395 |
- $(use_enable X x11) |
396 |
-} |
397 |
- |
398 |
-src_compile() { |
399 |
- emake CC="$(tc-getCC)" |
400 |
-} |
401 |
- |
402 |
-src_install() { |
403 |
- # Config file |
404 |
- insinto /etc |
405 |
- newins "${S}/doc/example-spnavrc" spnavrc.sample |
406 |
- |
407 |
- # Init script |
408 |
- newinitd "${FILESDIR}/spnavd" spacenavd |
409 |
- systemd_dounit "${FILESDIR}/spacenavd.service" |
410 |
- |
411 |
- # Install udev rule but leave activiation to the user |
412 |
- # since Xorg may be configured to grab the device already |
413 |
- udev_newrules "${FILESDIR}"/99-space-navigator.rules-r2 99-space-navigator.rules.ignored |
414 |
- |
415 |
- # Daemon |
416 |
- dobin "${S}/spacenavd" |
417 |
- use X && dobin "${S}/spnavd_ctl" |
418 |
-} |
419 |
- |
420 |
-pkg_postinst() { |
421 |
- elog "To start the Spacenav daemon system-wide by default" |
422 |
- elog "you should add it to the default runlevel :" |
423 |
- elog "\`rc-update add spacenavd default\` (for openRC)" |
424 |
- elog "\`systemctl enable spacenavd\` (for systemd)" |
425 |
- elog |
426 |
- if use X; then |
427 |
- elog "To start generating Spacenav X events by default" |
428 |
- elog "you should add this command in your user startup" |
429 |
- elog "scripts such as .gnomerc or .xinitrc :" |
430 |
- elog "\`spnavd_ctl x11 start\`" |
431 |
- elog |
432 |
- fi |
433 |
- elog |
434 |
- elog "If you want to auto-start the daemon when you plug in" |
435 |
- elog "a SpaceNavigator device, activate the related udev rule :" |
436 |
- elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`" |
437 |
- ewarn "You must restart spnavd \`/etc/init.d/spacenavd restart\` to run" |
438 |
- ewarn "the new version of the daemon or \`systemctl restart spacenavd\`" |
439 |
- ewarn "if using systemd." |
440 |
-} |