From: | "Michal Gorny (mgorny)" <mgorny@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-util/xboxdrv/files: xboxdrv.service xboxdrv.udev-rules org.seul.Xboxdrv.conf |
Date: | Tue, 02 Jun 2015 08:35:45 |
Message-Id: | 20150602083538.3470DA23@oystercatcher.gentoo.org |
1 | mgorny 15/06/02 08:35:38 |
2 | |
3 | Added: xboxdrv.service xboxdrv.udev-rules |
4 | org.seul.Xboxdrv.conf |
5 | Log: |
6 | Add D-Bus and systemd service files. Add slot operators and missing dbus-glib dep. Fixes bugs #481572 and #544752. https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/134 by nE0sIghT with my changes. |
7 | |
8 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 | |
10 | Revision Changes Path |
11 | 1.1 games-util/xboxdrv/files/xboxdrv.service |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/files/xboxdrv.service?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/files/xboxdrv.service?rev=1.1&content-type=text/plain |
15 | |
16 | Index: xboxdrv.service |
17 | =================================================================== |
18 | [Unit] |
19 | Description=Userspace Xbox 360 Controller driver |
20 | BindsTo=sys-subsystem-usb-xbox-controller0.device |
21 | After=sys-subsystem-usb-xbox-controller0.device |
22 | |
23 | [Service] |
24 | BusName=org.seul.Xboxdrv |
25 | ExecStart=/usr/bin/xboxdrv --silent --daemon |
26 | KillSignal=SIGINT |
27 | # xboxdrv can not stop gracefully if controller gets unplugged |
28 | TimeoutStopSec=2 |
29 | |
30 | [Install] |
31 | WantedBy=multi-user.target |
32 | |
33 | |
34 | |
35 | 1.1 games-util/xboxdrv/files/xboxdrv.udev-rules |
36 | |
37 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/files/xboxdrv.udev-rules?rev=1.1&view=markup |
38 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/files/xboxdrv.udev-rules?rev=1.1&content-type=text/plain |
39 | |
40 | Index: xboxdrv.udev-rules |
41 | =================================================================== |
42 | SUBSYSTEM=="usb", ACTION=="add",\ |
43 | ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S",\ |
44 | TAG+="systemd",\ |
45 | ENV{SYSTEMD_ALIAS}="/sys/subsystem/usb/xbox/controller$number",\ |
46 | ENV{SYSTEMD_WANTS}+="xboxdrv.service" |
47 | |
48 | |
49 | |
50 | 1.1 games-util/xboxdrv/files/org.seul.Xboxdrv.conf |
51 | |
52 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/files/org.seul.Xboxdrv.conf?rev=1.1&view=markup |
53 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-util/xboxdrv/files/org.seul.Xboxdrv.conf?rev=1.1&content-type=text/plain |
54 | |
55 | Index: org.seul.Xboxdrv.conf |
56 | =================================================================== |
57 | <!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" |
58 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> |
59 | <busconfig> |
60 | <policy context="default"> |
61 | <allow own="org.seul.Xboxdrv"/> |
62 | </policy> |
63 | </busconfig> |