1 |
commit: 1448ec22a2c73f9975ba5255986ea34b90f2cc7b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 14 15:47:07 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 14 15:47:07 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1448ec22 |
7 |
|
8 |
sys-apps/lomoco: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/691840 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
profiles/package.mask | 6 - |
14 |
sys-apps/lomoco/Manifest | 1 - |
15 |
.../files/lomoco-1.0-gentoo-hardware-support.patch | 287 --------------------- |
16 |
.../lomoco/files/lomoco-1.0-updated-udev.patch | 95 ------- |
17 |
sys-apps/lomoco/files/lomoco-pm-utils-r1 | 7 - |
18 |
sys-apps/lomoco/files/lomoco.conf | 9 - |
19 |
sys-apps/lomoco/lomoco-1.0-r9.ebuild | 52 ---- |
20 |
sys-apps/lomoco/metadata.xml | 12 - |
21 |
8 files changed, 469 deletions(-) |
22 |
|
23 |
diff --git a/profiles/package.mask b/profiles/package.mask |
24 |
index a65f4491d5f..abf49053be6 100644 |
25 |
--- a/profiles/package.mask |
26 |
+++ b/profiles/package.mask |
27 |
@@ -1109,12 +1109,6 @@ dev-embedded/bitbake |
28 |
# Removal in 30 days. Bug #692202. |
29 |
dev-lang/pasm |
30 |
|
31 |
-# Michał Górny <mgorny@g.o> (2019-08-14) |
32 |
-# No longer builds. Homepage is gone, and its keep-alive fork is also |
33 |
-# dead. |
34 |
-# Removal in 30 days. Bug #691840. |
35 |
-sys-apps/lomoco |
36 |
- |
37 |
# Mike Gilbert <floppym@g.o> (2019-08-13) |
38 |
# Dev channel releases are only for people who |
39 |
# are developers or want more experimental features |
40 |
|
41 |
diff --git a/sys-apps/lomoco/Manifest b/sys-apps/lomoco/Manifest |
42 |
deleted file mode 100644 |
43 |
index a15421514ee..00000000000 |
44 |
--- a/sys-apps/lomoco/Manifest |
45 |
+++ /dev/null |
46 |
@@ -1 +0,0 @@ |
47 |
-DIST lomoco-1.0.tar.gz 24573 BLAKE2B c8b8769e6634b66bb8429e5828dc46bc34574c7115b6c4ca5490a478a5f3d53287b2e2e315e9eb83ecbc95746881490dcb098420eb16cfae85c2d40e9b60b315 SHA512 5cd04c956fe11112be83e8d4ad91e4a8fac1bacd03666e8959ce20f2cc372fc8c53a5ac86b94125088f6b303936f087caafe71248ca8511b6a580f58459aee9f |
48 |
|
49 |
diff --git a/sys-apps/lomoco/files/lomoco-1.0-gentoo-hardware-support.patch b/sys-apps/lomoco/files/lomoco-1.0-gentoo-hardware-support.patch |
50 |
deleted file mode 100644 |
51 |
index 5a5cd7d3fcb..00000000000 |
52 |
--- a/sys-apps/lomoco/files/lomoco-1.0-gentoo-hardware-support.patch |
53 |
+++ /dev/null |
54 |
@@ -1,287 +0,0 @@ |
55 |
-- Support for other hardware |
56 |
-- ssr comment in the mouse array. |
57 |
-- Use of defines for numeric constants to improve code readability. |
58 |
-- Debian patch integrated |
59 |
- |
60 |
-diff -Nuar --exclude '*~' lomoco-1.0.old/src/lomoco.c lomoco-1.0/src/lomoco.c |
61 |
---- lomoco-1.0.old/src/lomoco.c 2006-03-01 06:10:05.000000000 -0800 |
62 |
-+++ lomoco-1.0/src/lomoco.c 2006-04-30 02:38:05.107430674 -0700 |
63 |
-@@ -32,11 +32,12 @@ |
64 |
- * model: you can find on the hardware, look for M/N: ... |
65 |
- * csr: mouse with receiver (wireless) |
66 |
- * res: mouse has resolution control |
67 |
-- * sms: mouse has smart control |
68 |
-+ * ssr: mouse has smart scroll reporting |
69 |
-+ * sms: mouse has smart scroll |
70 |
- * dual: dual receiver (wireless mouse+wireless keyboard) |
71 |
- * |
72 |
- * product id, name, model, csr, res, ssr, sms, dual */ |
73 |
--mouse_t mice [] = { |
74 |
-+static mouse_t mice [] = { |
75 |
- {0xc00e, "Wheel Mouse Optical", "M-BJ58", 0, 1, 0, 0, 0}, |
76 |
- {0xc00f, "MouseMan Traveler", "M-BJ79", 0, 1, 0, 0, 0}, |
77 |
- {0xc012, "MouseMan Dual Optical", "M-BL63B", 0, 1, 0, 0, 0}, |
78 |
-@@ -42,6 +42,7 @@ |
79 |
- {0xc012, "MouseMan Dual Optical", "M-BL63B", 0, 1, 0, 0, 0}, |
80 |
- {0xc01d, "MX510 Optical Mouse", "M-BS81A", 0, 1, 1, 1, 0}, |
81 |
- {0xc01e, "MX518 Optical Mouse", "M-BS81A", 0, 1, 1, 0, 0}, |
82 |
-+ {0xc051, "MX518 Optical Mouse", "M-BS81A", 0, 1, 1, 0, 0}, |
83 |
- {0xc024, "MX300 Optical Mouse", "M-BP82", 0, 1, 0, 0, 0}, |
84 |
- {0xc01b, "MX310 Optical Mouse", "M-BP86", 0, 1, 0, 0, 0}, |
85 |
- {0xc025, "MX500 Optical Mouse", "M-BP81A", 0, 1, 1, 1, 0}, |
86 |
-@@ -49,50 +50,37 @@ |
87 |
- {0xc041, "G5 Laser Gaming Mouse", "M-UAC113", 0, 1, 0, 1, 0}, |
88 |
- {0xc501, "Mouse Receiver", "C-BA4-MSE", 1, 0, 0, 0, 0}, |
89 |
- {0xc502, "Dual Receiver", "C-UA3-DUAL", 1, 0, 0, 0, 1}, |
90 |
-- {0xc503, "Receiver for MX900 Receiver", "C-UJ16A", 1, 0, 0, 1, 0}, |
91 |
-+ {0xc503, "Receiver for MX900", "C-UJ16A", 1, 0, 0, 1, 0}, |
92 |
- {0xc504, "Receiver for Cordless Freedom Optical", "C-BD9-DUAL", 1, 0, 0, 0, 1}, |
93 |
- {0xc505, "Receiver for Cordless Elite Duo", "C-BG17-DUAL", 1, 0, 0, 0, 1}, |
94 |
- {0xc506, "Receiver for MX700 Optical Mouse", "C-BF16-MSE", 1, 0, 0, 1, 0}, |
95 |
- {0xc508, "Receiver for Cordless Optical TrackMan", "C-BA4-MSE", 1, 0, 0, 1, 0}, |
96 |
-- {0xc702, "Receiver for Cordless Presenter", "C-UF15", 1, 0, 0, 0, 0}, |
97 |
-- {0xc704, "Receiver for diNovo Media Desktop", "C-BQ16A", 1, 0, 1, 1, 0}, |
98 |
-+ |
99 |
-+ /* From Michele Noberasco <s4t4n@g.o> */ |
100 |
-+ {0xc50a, "Reciveer for Cordless Optical Mouse for Notebooks", "C-BJ27-MSE", 1, 0, 0, 0, 0}, |
101 |
-+ |
102 |
-+ /* From Robin H. Johnson <robbat2@g.o> */ |
103 |
-+ {0xc50b, "Receiver for Cordless Desktop MX", "C-BK16A-DUAL",1, 0, 0, 1, 1}, |
104 |
-+ |
105 |
- /* From Markus Wiesner <m_wiesner@×××.net> */ |
106 |
- {0xc50e, "Receiver for MX1000 Laser", "C-BN34", 1, 0, 1, 1, 0}, |
107 |
- {0xc512, "Receiver for Cordless Desktop MX3100 Laser", "C-BO34", 1, 0, 0, 1, 1}, |
108 |
-+ |
109 |
-+ {0xc702, "Receiver for Cordless Presenter", "C-UF15", 1, 0, 0, 0, 0}, |
110 |
-+ {0xc704, "Receiver for diNovo Media Desktop", "C-BQ16A", 1, 0, 1, 1, 0}, |
111 |
- {0x0000, NULL, NULL, 0, 0, 0, 0} |
112 |
- }; |
113 |
- |
114 |
-- |
115 |
- /* |
116 |
-- * Description: Query the mouse and report all cordless mouse specific infos |
117 |
-+ * Description: Print out a set of CSR data |
118 |
- * e.g. receiver type, mouse type, battery status |
119 |
- * |
120 |
-- * Parameters: mouse_t *m |
121 |
-- * mouse struct with the mouse specs |
122 |
-- * struct usb_dev_handle *handle |
123 |
-- * usb device handle of the mouse |
124 |
-- * unsigned int addr |
125 |
-- * address for dual receivers |
126 |
-+ * Parameters: unsigned char* buf |
127 |
-+ * result from query_csr internals |
128 |
- * |
129 |
- * Return: void |
130 |
- */ |
131 |
--static void query_csr(mouse_t *m, struct usb_dev_handle *handle, |
132 |
-- unsigned int addr) { |
133 |
-- unsigned char buf[12] = {0}; |
134 |
-- |
135 |
-- if (usb_control_msg ( handle, |
136 |
-- USB_TYPE_VENDOR | USB_ENDPOINT_IN, |
137 |
-- 0x09, |
138 |
-- (0x0003 | addr), |
139 |
-- (0x0000 | addr), |
140 |
-- (char *) buf, |
141 |
-- 8, |
142 |
-- TIMEOUT ) != 8) { |
143 |
-- |
144 |
-- perror("Writing to USB device: CSR"); |
145 |
-- exit(EXIT_FAILURE); |
146 |
-- } |
147 |
-- |
148 |
-+static void print_csr(unsigned char* buf) { |
149 |
- /* We have not obtained blocks P6 P0 P4 P5 P8 P9 PB0 PB1 */ |
150 |
- |
151 |
- /* Is a C504 receiver busy? */ |
152 |
-@@ -111,6 +99,7 @@ |
153 |
- case 0x3c: printf ("C508\n"); break; |
154 |
- case 0x3d: printf ("C506\n"); break; |
155 |
- case 0x3e: printf ("C505\n"); break; |
156 |
-+ case 0x3f: printf ("C50B\n"); break; |
157 |
- case 0x42: printf ("C512\n"); break; |
158 |
- default: printf ("Unknown (type %x)\n", P0); |
159 |
- } |
160 |
-@@ -138,6 +127,7 @@ |
161 |
- case 0x82: printf ("Cordless Optical TrackMan\n"); break; |
162 |
- case 0x8A: printf ("MX700 Cordless Optical Mouse\n"); break; |
163 |
- case 0x8B: printf ("MX700 Cordless Optical Mouse (2ch)\n"); break; |
164 |
-+ case 0x94: printf ("Cordless Optical Mouse for Notebooks\n"); break; |
165 |
- default: printf ("Unknown (type %x)\n", P4); |
166 |
- } |
167 |
- |
168 |
-@@ -199,6 +189,38 @@ |
169 |
- } |
170 |
- } |
171 |
- |
172 |
-+/* |
173 |
-+ * Description: Query the mouse and report all cordless mouse specific infos |
174 |
-+ * e.g. receiver type, mouse type, battery status |
175 |
-+ * |
176 |
-+ * Parameters: mouse_t *m |
177 |
-+ * mouse struct with the mouse specs |
178 |
-+ * struct usb_dev_handle *handle |
179 |
-+ * usb device handle of the mouse |
180 |
-+ * unsigned int addr |
181 |
-+ * address for dual receivers |
182 |
-+ * |
183 |
-+ * Return: void |
184 |
-+ */ |
185 |
-+static void query_csr(mouse_t *m, struct usb_dev_handle *handle, |
186 |
-+ unsigned int addr) { |
187 |
-+ unsigned char buf[12] = {0}; |
188 |
-+ |
189 |
-+ if (usb_control_msg ( handle, |
190 |
-+ USB_TYPE_VENDOR | USB_ENDPOINT_IN, |
191 |
-+ REQUEST_MOUSE_CSR, |
192 |
-+ (0x0003 | addr), |
193 |
-+ (0x0000 | addr), |
194 |
-+ (char *) buf, |
195 |
-+ 8, |
196 |
-+ TIMEOUT ) != 8) { |
197 |
-+ |
198 |
-+ perror("Writing to USB device: CSR"); |
199 |
-+ exit(EXIT_FAILURE); |
200 |
-+ } |
201 |
-+ print_csr(buf); |
202 |
-+ |
203 |
-+} |
204 |
- |
205 |
- /* |
206 |
- * Description: Query the mouse and report the current resolution |
207 |
-@@ -218,8 +240,8 @@ |
208 |
- |
209 |
- if (usb_control_msg ( handle, |
210 |
- USB_TYPE_VENDOR | USB_ENDPOINT_IN, |
211 |
-- 0x01, |
212 |
-- (0x000e | addr), |
213 |
-+ REQUEST_MOUSE_GET_RES_SSR, |
214 |
-+ (VALUE_MOUSE_GET_RES | addr), |
215 |
- (0x0000 | addr), |
216 |
- (char *) buf, |
217 |
- 1, |
218 |
-@@ -255,8 +277,8 @@ |
219 |
- if (m->has_ssr) { |
220 |
- if (usb_control_msg ( handle, |
221 |
- USB_TYPE_VENDOR | USB_ENDPOINT_IN, |
222 |
-- 0x01, |
223 |
-- (0x0017 | addr), |
224 |
-+ REQUEST_MOUSE_GET_RES_SSR, |
225 |
-+ (VALUE_MOUSE_GET_SSR | addr), |
226 |
- (0x0000 | addr), |
227 |
- (char*) buf, |
228 |
- 1, |
229 |
-@@ -394,8 +416,8 @@ |
230 |
- assert ((set_channel == 1) || (set_channel == 2)); |
231 |
- if (usb_control_msg ( handle, |
232 |
- USB_TYPE_VENDOR, |
233 |
-- 0x02, |
234 |
-- (0x0008 | addr), |
235 |
-+ REQUEST_MOUSE_PUT_RES_SMS, |
236 |
-+ (VALUE_MOUSE_CHANNEL | addr), |
237 |
- ((set_channel - 1) | addr), |
238 |
- NULL, |
239 |
- 0, |
240 |
-@@ -412,8 +434,8 @@ |
241 |
- if (set_unlock) { |
242 |
- if (usb_control_msg ( handle, |
243 |
- USB_TYPE_VENDOR, |
244 |
-- 0x02, |
245 |
-- (0x06 | addr), |
246 |
-+ REQUEST_MOUSE_PUT_RES_SMS, |
247 |
-+ (VALUE_MOUSE_UNLOCK | addr), |
248 |
- (0x1 | addr), |
249 |
- NULL, |
250 |
- 0, |
251 |
-@@ -430,8 +452,8 @@ |
252 |
- if (set_lock) { |
253 |
- if (usb_control_msg ( handle, |
254 |
- USB_TYPE_VENDOR, |
255 |
-- 0x02, |
256 |
-- (0x0006 | addr), |
257 |
-+ REQUEST_MOUSE_PUT_RES_SMS, |
258 |
-+ (VALUE_MOUSE_UNLOCK | addr), |
259 |
- (0x0000 | addr), |
260 |
- NULL, |
261 |
- 0, |
262 |
-@@ -448,8 +470,8 @@ |
263 |
- if (set_clear) { |
264 |
- if (usb_control_msg ( handle, |
265 |
- USB_TYPE_VENDOR, |
266 |
-- 0x09, |
267 |
-- (0x0004 | addr), |
268 |
-+ REQUEST_MOUSE_CSR, |
269 |
-+ (VALUE_MOUSE_CLEAR | addr), |
270 |
- (0x0000 | addr), |
271 |
- NULL, |
272 |
- 0, |
273 |
-@@ -483,8 +505,8 @@ |
274 |
- |
275 |
- if (usb_control_msg ( handle, |
276 |
- USB_TYPE_VENDOR, |
277 |
-- 0x0002, |
278 |
-- 0x000e, |
279 |
-+ REQUEST_MOUSE_PUT_RES_SMS, |
280 |
-+ VALUE_MOUSE_PUT_RES, |
281 |
- (set_res / 400) + 2, |
282 |
- NULL, |
283 |
- 0, |
284 |
-@@ -514,8 +536,8 @@ |
285 |
- assert ((set_sms == 1) || (set_sms == -1)); |
286 |
- if (usb_control_msg ( handle, |
287 |
- USB_TYPE_VENDOR, |
288 |
-- 0x02, |
289 |
-- 0x0017, |
290 |
-+ REQUEST_MOUSE_PUT_RES_SMS, |
291 |
-+ VALUE_MOUSE_PUT_SSR, |
292 |
- (set_sms == 1 ? 0x0001 : 0x0000), |
293 |
- NULL, |
294 |
- 0, |
295 |
-@@ -641,7 +663,7 @@ |
296 |
- /* Do we support this device? If so, list it. */ |
297 |
- if ((m = find_mouse (device)) != NULL) { |
298 |
- |
299 |
-- printf ("%s.%s: %04x:%04x %s (%s) Caps: %s%s%s\n", |
300 |
-+ printf ("%s.%s: %04x:%04x %s (%s) Caps: %s%s%s%s\n", |
301 |
- device->bus->dirname, |
302 |
- device->filename, |
303 |
- device->descriptor.idVendor, |
304 |
-@@ -650,6 +672,7 @@ |
305 |
- m->model, |
306 |
- m->has_csr? "CSR ": "", |
307 |
- m->has_res? "RES ": "", |
308 |
-+ m->has_ssr? "SSR ": "", |
309 |
- m->has_sms? "SMS ": "" |
310 |
- ); |
311 |
- } |
312 |
-@@ -667,7 +671,7 @@ |
313 |
- device->filename, |
314 |
- device->descriptor.idVendor, |
315 |
- device->descriptor.idProduct, |
316 |
-- ret ? product : "Unknown" |
317 |
-+ ret > 0 ? product : "Unknown" |
318 |
- ); |
319 |
- continue; |
320 |
- } |
321 |
-diff -Nuar --exclude '*~' lomoco-1.0.old/src/lomoco.h lomoco-1.0/src/lomoco.h |
322 |
---- lomoco-1.0.old/src/lomoco.h 2006-03-01 06:10:05.000000000 -0800 |
323 |
-+++ lomoco-1.0/src/lomoco.h 2006-04-30 02:34:04.381175920 -0700 |
324 |
-@@ -97,4 +97,17 @@ |
325 |
- int is_dual; |
326 |
- } mouse_t; |
327 |
- |
328 |
-+ |
329 |
-+#define REQUEST_MOUSE_CSR 0x09 |
330 |
-+#define VALUE_MOUSE_GET 0x0003 |
331 |
-+#define VALUE_MOUSE_CLEAR 0x0004 |
332 |
-+#define REQUEST_MOUSE_GET_RES_SSR 0x01 |
333 |
-+#define VALUE_MOUSE_GET_RES 0x000e |
334 |
-+#define VALUE_MOUSE_GET_SSR 0x0017 |
335 |
-+#define REQUEST_MOUSE_PUT_RES_SMS 0x02 |
336 |
-+#define VALUE_MOUSE_UNLOCK 0x0006 |
337 |
-+#define VALUE_MOUSE_CHANNEL 0x0008 |
338 |
-+#define VALUE_MOUSE_PUT_RES 0x000e |
339 |
-+#define VALUE_MOUSE_PUT_SSR 0x0017 |
340 |
-+ |
341 |
- #endif /* __LOMOCO_H */ |
342 |
|
343 |
diff --git a/sys-apps/lomoco/files/lomoco-1.0-updated-udev.patch b/sys-apps/lomoco/files/lomoco-1.0-updated-udev.patch |
344 |
deleted file mode 100644 |
345 |
index 783a2d5e712..00000000000 |
346 |
--- a/sys-apps/lomoco/files/lomoco-1.0-updated-udev.patch |
347 |
+++ /dev/null |
348 |
@@ -1,95 +0,0 @@ |
349 |
-diff --git a/udev/toudev.awk b/udev/toudev.awk |
350 |
-index 822421d..ada40e5 100644 |
351 |
---- a/udev/toudev.awk |
352 |
-+++ b/udev/toudev.awk |
353 |
-@@ -1,15 +1,20 @@ |
354 |
- #!/bin/awk -f |
355 |
- BEGIN { |
356 |
- FS = "," |
357 |
-+ print "# udev.rules file for Logitech mouse control using lomoco" |
358 |
-+ print "#" |
359 |
-+ print "" |
360 |
- print "ACTION != \"add\", GOTO=\"lomoco_end\"" |
361 |
-- print "SUBSYSTEM != \"usb\", GOTO=\"lomoco_end\"" |
362 |
-- print "SYSFS{idVendor} != \"046d\", GOTO=\"lomoco_end\"" |
363 |
-+ print "SUBSYSTEM == \"usb\", ENV{DEVTYPE}==\"usb_device\", GOTO=\"lomoco_start\"" |
364 |
-+ print "SUBSYSTEM != \"usb_device\", GOTO=\"lomoco_end\"" |
365 |
-+ print "" |
366 |
-+ print "LABEL=\"lomoco_start\"" |
367 |
- print "" |
368 |
- } |
369 |
- |
370 |
- $1 ~ /0xc[a-f0-9][a-f0-9][a-f0-9]/ { |
371 |
- print "# " substr($3, index($3, "\"")) ", " $2 |
372 |
-- print "SYSFS{idProduct}==\"" substr($1, index($1, "x")+1) \ |
373 |
-+ print "ATTRS{idVendor}==\"046d\", ATTRS{idProduct}==\"" substr($1, index($1, "x")+1) \ |
374 |
- "\", RUN=\"lomoco\"" |
375 |
- } |
376 |
- |
377 |
-diff --git a/udev/udev.lomoco b/udev/udev.lomoco |
378 |
-index 9e55511..da896d9 100755 |
379 |
---- a/udev/udev.lomoco |
380 |
-+++ b/udev/udev.lomoco |
381 |
-@@ -1,26 +1,36 @@ |
382 |
--#!/bin/bash |
383 |
-- |
384 |
--case "$DEVPATH" in |
385 |
-- *usbdev*.*) |
386 |
-- dev=${DEVPATH##*usbdev} |
387 |
-- bus=$(printf %03d ${dev%.*}) |
388 |
-- dev=$(printf %03d ${dev#*.}) |
389 |
-- |
390 |
-- . /etc/sysconfig/logitech_mouse |
391 |
-- |
392 |
-- options= |
393 |
-- |
394 |
-- if [ -n "$LOGITECH_MOUSE_RESOLUTION" ]; then |
395 |
-- options="--$LOGITECH_MOUSE_RESOLUTION" |
396 |
-- fi |
397 |
-- |
398 |
-- if [ -z "$LOGITECH_MOUSE_DISABLE_CC" -o "$LOGITECH_MOUSE_DISABLE_CC" = yes ]; then |
399 |
-- options="$options --no-sms" |
400 |
-- fi |
401 |
-- |
402 |
-- if [ -n "$options" ]; then |
403 |
-- /usr/bin/lomoco -b $bus -d $dev $options |
404 |
-- fi |
405 |
-- ;; |
406 |
--esac 2>&1 | /bin/logger -t lomoco |
407 |
-- |
408 |
-+#!/bin/sh |
409 |
-+# |
410 |
-+# udev helper script for the locomo utility |
411 |
-+# |
412 |
-+ |
413 |
-+test -x /usr/bin/lomoco || exit 0 |
414 |
-+test -r /etc/lomoco.conf || exit 0 |
415 |
-+ |
416 |
-+options= |
417 |
-+. /etc/lomoco.conf |
418 |
-+ |
419 |
-+if [ -n "$LOGITECH_MOUSE_RESOLUTION" ]; then |
420 |
-+ options="--$LOGITECH_MOUSE_RESOLUTION" |
421 |
-+fi |
422 |
-+ |
423 |
-+if [ -z "$LOGITECH_MOUSE_DISABLE_CC" -o "$LOGITECH_MOUSE_DISABLE_CC" = yes ]; then |
424 |
-+ options="$options --no-sms" |
425 |
-+fi |
426 |
-+ |
427 |
-+if [ -n "$BUSNUM" ]; then |
428 |
-+ options="$options -b $BUSNUM" |
429 |
-+fi |
430 |
-+ |
431 |
-+if [ -n "$DEVNUM" ]; then |
432 |
-+ options="$options -d $DEVNUM" |
433 |
-+fi |
434 |
-+ |
435 |
-+if [ -n "$MODEL_ID" ]; then |
436 |
-+ options="$options -p $MODEL_ID" |
437 |
-+fi |
438 |
-+ |
439 |
-+if [ -n "$options" ]; then |
440 |
-+ /usr/bin/lomoco $options 2>&1 | \ |
441 |
-+ sed -e 's/^[[:blank:]]\+//' -e 's/ \+$//' -e '/^$/ d' | \ |
442 |
-+ logger -t lomoco -p daemon.info |
443 |
-+fi |
444 |
|
445 |
diff --git a/sys-apps/lomoco/files/lomoco-pm-utils-r1 b/sys-apps/lomoco/files/lomoco-pm-utils-r1 |
446 |
deleted file mode 100644 |
447 |
index 602de3d1157..00000000000 |
448 |
--- a/sys-apps/lomoco/files/lomoco-pm-utils-r1 |
449 |
+++ /dev/null |
450 |
@@ -1,7 +0,0 @@ |
451 |
-#!/bin/sh |
452 |
- |
453 |
-case "$1" in |
454 |
- thaw|resume) |
455 |
- @UDEVDIR@/lomoco |
456 |
- ;; |
457 |
-esac |
458 |
|
459 |
diff --git a/sys-apps/lomoco/files/lomoco.conf b/sys-apps/lomoco/files/lomoco.conf |
460 |
deleted file mode 100644 |
461 |
index d69c6185bb6..00000000000 |
462 |
--- a/sys-apps/lomoco/files/lomoco.conf |
463 |
+++ /dev/null |
464 |
@@ -1,9 +0,0 @@ |
465 |
-LOGITECH_MOUSE_RESOLUTION=800 |
466 |
-LOGITECH_MOUSE_DISABLE_CC=no |
467 |
- |
468 |
-# Use the lsusb output to configure additional parameters bellow |
469 |
-# Bus <BUSNUM> Device <DEVNUM>: ID 046d:<MODEL_ID> Logitech, Inc. MX510 Optical Mouse |
470 |
-# Note: DEVNUM is dynamic and not recommened |
471 |
-#BUSNUM=001 |
472 |
-#DEVNUM=009 |
473 |
-#MODEL_ID=c01d |
474 |
|
475 |
diff --git a/sys-apps/lomoco/lomoco-1.0-r9.ebuild b/sys-apps/lomoco/lomoco-1.0-r9.ebuild |
476 |
deleted file mode 100644 |
477 |
index 3e1eb600ddd..00000000000 |
478 |
--- a/sys-apps/lomoco/lomoco-1.0-r9.ebuild |
479 |
+++ /dev/null |
480 |
@@ -1,52 +0,0 @@ |
481 |
-# Copyright 1999-2014 Gentoo Foundation |
482 |
-# Distributed under the terms of the GNU General Public License v2 |
483 |
- |
484 |
-EAPI=4 |
485 |
-inherit autotools eutils multilib toolchain-funcs udev |
486 |
- |
487 |
-DESCRIPTION="Lomoco can configure vendor-specific options on Logitech USB mice" |
488 |
-HOMEPAGE="http://www.lomoco.org/" |
489 |
-SRC_URI="http://www.lomoco.org/${P}.tar.gz" |
490 |
- |
491 |
-LICENSE="GPL-2" |
492 |
-SLOT="0" |
493 |
-KEYWORDS="~alpha amd64 x86" |
494 |
-IUSE="" |
495 |
- |
496 |
-RDEPEND="virtual/libusb:0" |
497 |
-DEPEND="${RDEPEND} |
498 |
- virtual/pkgconfig" |
499 |
- |
500 |
-DOCS="AUTHORS ChangeLog NEWS README" |
501 |
- |
502 |
-src_prepare() { |
503 |
- cp -f "${FILESDIR}"/lomoco-pm-utils-r1 "${T}" || die |
504 |
- sed -i -e "s|@UDEVDIR@|$(get_udevdir)|" "${T}"/lomoco-pm-utils-r1 || die |
505 |
- |
506 |
- epatch \ |
507 |
- "${FILESDIR}"/${P}-gentoo-hardware-support.patch \ |
508 |
- "${FILESDIR}"/${P}-updated-udev.patch |
509 |
- |
510 |
- eautoreconf |
511 |
-} |
512 |
- |
513 |
-src_compile() { |
514 |
- emake |
515 |
- emake udev-rules |
516 |
-} |
517 |
- |
518 |
-src_install() { |
519 |
- default |
520 |
- |
521 |
- insinto "$(get_udevdir)"/rules.d |
522 |
- newins udev/lomoco.rules 40-lomoco.rules |
523 |
- |
524 |
- exeinto "$(get_udevdir)" |
525 |
- newexe udev/udev.lomoco lomoco |
526 |
- |
527 |
- insinto /etc |
528 |
- doins "${FILESDIR}"/lomoco.conf |
529 |
- |
530 |
- exeinto /etc/pm/sleep.d |
531 |
- newexe "${T}"/lomoco-pm-utils-r1 lomoco |
532 |
-} |
533 |
|
534 |
diff --git a/sys-apps/lomoco/metadata.xml b/sys-apps/lomoco/metadata.xml |
535 |
deleted file mode 100644 |
536 |
index 65883354c02..00000000000 |
537 |
--- a/sys-apps/lomoco/metadata.xml |
538 |
+++ /dev/null |
539 |
@@ -1,12 +0,0 @@ |
540 |
-<?xml version="1.0" encoding="UTF-8"?> |
541 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
542 |
-<pkgmetadata> |
543 |
- <maintainer type="person"> |
544 |
- <email>blshkv@××××××.ch</email> |
545 |
- <name>Anton Bolshakov</name> |
546 |
- </maintainer> |
547 |
- <maintainer type="project"> |
548 |
- <email>proxy-maint@g.o</email> |
549 |
- <name>Proxy Maintainers</name> |
550 |
- </maintainer> |
551 |
-</pkgmetadata> |