summaryrefslogtreecommitdiff
path: root/source/n/bluez/bluez-5.51-obexd_without_systemd-1.patch
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-10-15 20:58:56 +0000
committerEric Hameleers <alien@slackware.com>2019-10-16 08:59:49 +0200
commit6cf09676315ded11c90f11f5137fa90bf3e260b3 (patch)
tree4167d625c21c2e88501d678729fee4584ee8b7c9 /source/n/bluez/bluez-5.51-obexd_without_systemd-1.patch
parent6e7b66a8ed16321cec52c0c2b246e9f65aaf7fef (diff)
downloadcurrent-6cf09676315ded11c90f11f5137fa90bf3e260b3.tar.gz
Tue Oct 15 20:58:56 UTC 201920191015205856
ap/ghostscript-9.50-x86_64-1.txz: Upgraded. d/icecream-1.3-x86_64-2.txz: Rebuilt. Have the profile scripts just check for -x /etc/rc.d/rc.iceccd, since pgrep with --ns $$ isn't working for non-root users. Thanks to Leopold E. Midha. d/python-pip-19.3-x86_64-1.txz: Upgraded. n/bluez-5.51-x86_64-2.txz: Rebuilt. Fixed path to obexd in org.bluez.obex.service. Thanks to Jean-Philippe Guillemin. x/xf86-video-ati-19.1.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/n/bluez/bluez-5.51-obexd_without_systemd-1.patch')
-rw-r--r--source/n/bluez/bluez-5.51-obexd_without_systemd-1.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/source/n/bluez/bluez-5.51-obexd_without_systemd-1.patch b/source/n/bluez/bluez-5.51-obexd_without_systemd-1.patch
new file mode 100644
index 00000000..21c99acc
--- /dev/null
+++ b/source/n/bluez/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
+
+