aboutsummaryrefslogtreecommitdiff
path: root/games/bluez-sixaxis
diff options
context:
space:
mode:
Diffstat (limited to 'games/bluez-sixaxis')
-rw-r--r--games/bluez-sixaxis/bluez-5.51-obexd_without_systemd-1.patch59
-rw-r--r--games/bluez-sixaxis/bluez-sixaxis.SlackBuild6
-rw-r--r--games/bluez-sixaxis/bluez-sixaxis.info6
3 files changed, 65 insertions, 6 deletions
diff --git a/games/bluez-sixaxis/bluez-5.51-obexd_without_systemd-1.patch b/games/bluez-sixaxis/bluez-5.51-obexd_without_systemd-1.patch
new file mode 100644
index 0000000000000..21c99acc49853
--- /dev/null
+++ b/games/bluez-sixaxis/bluez-5.51-obexd_without_systemd-1.patch
@@ -0,0 +1,59 @@
+Submitted By: Armin K. <krejzi at email dot com>
+Date: 2013-04-29
+Initial Package Version: 5.17
+Upstream Status: unknown
+Origin: Arch Linux (Giovanni Campagna)
+Description: Allow using obexd without systemd in the user session
+
+Not all sessions run systemd --user (actually, the majority
+doesn't), so the dbus daemon must be able to spawn obexd
+directly, and to do so it needs the full path of the daemon.
+---
+ Makefile.obexd | 4 ++--
+ obexd/src/org.bluez.obex.service | 4 ----
+ obexd/src/org.bluez.obex.service.in | 4 ++++
+ 3 files changed, 6 insertions(+), 6 deletions(-)
+ delete mode 100644 obexd/src/org.bluez.obex.service
+ create mode 100644 obexd/src/org.bluez.obex.service.in
+
+--- ./Makefile.obexd.orig 2019-09-19 13:51:02.000000000 -0500
++++ ./Makefile.obexd 2019-09-20 14:10:10.647348607 -0500
+@@ -1,12 +1,12 @@
+ if SYSTEMD
+ systemduserunitdir = $(SYSTEMD_USERUNITDIR)
+ systemduserunit_DATA = obexd/src/obex.service
++endif
+
+ dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
+ dbussessionbus_DATA = obexd/src/org.bluez.obex.service
+-endif
+
+-EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
++EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
+
+ if OBEX
+
+diff --git a/obexd/src/org.bluez.obex.service b/obexd/src/org.bluez.obex.service
+deleted file mode 100644
+index a538088..0000000
+--- a/obexd/src/org.bluez.obex.service
++++ /dev/null
+@@ -1,4 +0,0 @@
+-[D-BUS Service]
+-Name=org.bluez.obex
+-Exec=/bin/false
+-SystemdService=dbus-org.bluez.obex.service
+diff --git a/obexd/src/org.bluez.obex.service.in b/obexd/src/org.bluez.obex.service.in
+new file mode 100644
+index 0000000..9c815f2
+--- /dev/null
++++ b/obexd/src/org.bluez.obex.service.in
+@@ -0,0 +1,4 @@
++[D-BUS Service]
++Name=org.bluez.obex
++Exec=@libexecdir@/bluetooth/obexd
++SystemdService=dbus-org.bluez.obex.service
+--
+1.8.3.1
+
+
diff --git a/games/bluez-sixaxis/bluez-sixaxis.SlackBuild b/games/bluez-sixaxis/bluez-sixaxis.SlackBuild
index 73abec6ab4501..f455a6c513e84 100644
--- a/games/bluez-sixaxis/bluez-sixaxis.SlackBuild
+++ b/games/bluez-sixaxis/bluez-sixaxis.SlackBuild
@@ -2,7 +2,7 @@
# Copyright 2009, 2010, 2011, 2012, 2013, 2016 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
-# Changes for SBo, Copyright 2019 Christoph WIlling, Brisbane, Aistralia
+# Changes for SBo, Copyright 2019-21 Christoph Willing, Brisbane, Aistralia
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -23,7 +23,7 @@
PRGNAM=bluez-sixaxis
SRCNAM=bluez
-VERSION=${VERSION:-5.47}
+VERSION=${VERSION:-5.58}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p1 --verbose < $CWD/bluez-5.30-obexd_without_systemd-1.patch
+patch -p1 --verbose < $CWD/bluez-5.51-obexd_without_systemd-1.patch
autoreconf -vif
diff --git a/games/bluez-sixaxis/bluez-sixaxis.info b/games/bluez-sixaxis/bluez-sixaxis.info
index 8b8096e467767..ad87497ad6822 100644
--- a/games/bluez-sixaxis/bluez-sixaxis.info
+++ b/games/bluez-sixaxis/bluez-sixaxis.info
@@ -1,8 +1,8 @@
PRGNAM="bluez-sixaxis"
-VERSION="5.47"
+VERSION="5.58"
HOMEPAGE="http://www.bluez.org"
-DOWNLOAD="http://www.kernel.org/pub/linux/bluetooth/bluez-5.47.tar.xz"
-MD5SUM="783e15f65e70cdb8f721c659e140dd56"
+DOWNLOAD="http://www.kernel.org/pub/linux/bluetooth/bluez-5.58.tar.xz"
+MD5SUM="6737ba92a93432dbbd430bd41d7160c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""