aboutsummaryrefslogtreecommitdiffstats
path: root/qtsixa/qtsixa-dbus.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--qtsixa/qtsixa-dbus.patch24
1 files changed, 12 insertions, 12 deletions
diff --git a/qtsixa/qtsixa-dbus.patch b/qtsixa/qtsixa-dbus.patch
index 85376ea..294cd47 100644
--- a/qtsixa/qtsixa-dbus.patch
+++ b/qtsixa/qtsixa-dbus.patch
@@ -1,4 +1,4 @@
-diff -urp QtSixA-1.5.1.orig/qtsixa/gui/qtsixa_main.py QtSixA-1.5.1/qtsixa/gui/qtsixa_main.py
+ diff -urp QtSixA-1.5.1.orig/qtsixa/gui/qtsixa_main.py QtSixA-1.5.1/qtsixa/gui/qtsixa_main.py
--- QtSixA-1.5.1.orig/qtsixa/gui/qtsixa_main.py 2012-12-06 22:59:03.103868725 -0800
+++ QtSixA-1.5.1/qtsixa/gui/qtsixa_main.py 2012-12-06 22:59:55.033596582 -0800
@@ -307,6 +307,8 @@ class MainW(QMainWindow, ui_qtsixa_mainw
@@ -28,23 +28,23 @@ diff -urp QtSixA-1.5.1.orig/sixad/Makefile QtSixA-1.5.1/sixad/Makefile
--- QtSixA-1.5.1.orig/sixad/Makefile 2012-12-06 22:59:03.100535408 -0800
+++ QtSixA-1.5.1/sixad/Makefile 2012-12-06 22:59:17.417127047 -0800
@@ -34,7 +34,6 @@ install:
- install -m 755 bins/sixad-remote $(DESTDIR)/usr/sbin/
- install -m 755 bins/sixad-3in1 $(DESTDIR)/usr/sbin/
- install -m 755 bins/sixad-raw $(DESTDIR)/usr/sbin/
-- install -m 755 sixad-dbus-blocker $(DESTDIR)/usr/sbin/
+ install -m 755 bins/sixad-remote $(DESTDIR)/usr/bin/
+ install -m 755 bins/sixad-3in1 $(DESTDIR)/usr/bin/
+ install -m 755 bins/sixad-raw $(DESTDIR)/usr/bin/
+- install -m 755 sixad-dbus-blocker $(DESTDIR)/usr/bin/
@chmod 777 -R $(DESTDIR)/var/lib/sixad/
@echo "Installation is Complete!"
@@ -47,5 +46,4 @@ uninstall:
- rm -f $(DESTDIR)/usr/sbin/sixad-sixaxis
- rm -f $(DESTDIR)/usr/sbin/sixad-remote
- rm -f $(DESTDIR)/usr/sbin/sixad-raw
-- rm -f $(DESTDIR)/usr/sbin/sixad-dbus-blocker
+ rm -f $(DESTDIR)/usr/bin/sixad-sixaxis
+ rm -f $(DESTDIR)/usr/bin/sixad-remote
+ rm -f $(DESTDIR)/usr/bin/sixad-raw
+- rm -f $(DESTDIR)/usr/bin/sixad-dbus-blocker
rm -rf $(DESTDIR)/var/lib/sixad/
diff -urp QtSixA-1.5.1.orig/sixad/sixad QtSixA-1.5.1/sixad/sixad
--- QtSixA-1.5.1.orig/sixad/sixad 2012-12-06 22:59:03.100535408 -0800
+++ QtSixA-1.5.1/sixad/sixad 2012-12-06 22:59:17.417127047 -0800
-@@ -48,9 +48,6 @@ $SUDO /sbin/modprobe uinput
+@@ -48,9 +48,6 @@ $SUDO /usr/bin/modprobe uinput
}
bt_start () {
@@ -52,14 +52,14 @@ diff -urp QtSixA-1.5.1.orig/sixad/sixad QtSixA-1.5.1/sixad/sixad
-env sleep 1
-
if [ -f /lib/udev/rules.d/97-bluetooth.rules ]; then
- $SUDO /usr/sbin/bluetoothd --udev
+ $SUDO /usr/bin/bluetoothd --udev
elif [ -f /etc/rc.d/bluetooth ]; then
@@ -64,8 +61,6 @@ bt_stop() {
if (bluetoothd_running_check); then
$SUDO pkill -KILL bluetoothd
fi
-
--$SUDO /usr/sbin/sixad-dbus-blocker &
+-$SUDO /usr/bin/sixad-dbus-blocker &
}
case $1 in