wok-next view bluez/stuff/patches/bluez-5.48-obexd_without_systemd-1.patch @ rev 21402
updated php (7.4.4 -> 7.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 21 07:47:41 2020 +0100 (2020-04-21) |
parents | 2e9df1b30cc2 |
children |
line source
1 Submitted By: Armin K. <krejzi at email dot com>
2 Date: 2013-04-29
3 Initial Package Version: 5.17
4 Upstream Status: unknown
5 Origin: Arch Linux (Giovanni Campagna)
6 Description: Allow using obexd without systemd in the user session
8 Not all sessions run systemd --user (actually, the majority
9 doesn't), so the dbus daemon must be able to spawn obexd
10 directly, and to do so it needs the full path of the daemon.
11 ---
12 Makefile.obexd | 4 ++--
13 obexd/src/org.bluez.obex.service | 4 ----
14 obexd/src/org.bluez.obex.service.in | 4 ++++
15 3 files changed, 6 insertions(+), 6 deletions(-)
16 delete mode 100644 obexd/src/org.bluez.obex.service
17 create mode 100644 obexd/src/org.bluez.obex.service.in
19 diff --git a/Makefile.obexd b/Makefile.obexd
20 index 3760867..142e7c3 100644
21 --- a/Makefile.obexd
22 +++ b/Makefile.obexd
23 @@ -2,12 +2,12 @@
24 if SYSTEMD
25 systemduserunitdir = @SYSTEMD_USERUNITDIR@
26 systemduserunit_DATA = obexd/src/obex.service
27 +endif
29 dbussessionbusdir = @DBUS_SESSIONBUSDIR@
30 dbussessionbus_DATA = obexd/src/org.bluez.obex.service
31 -endif
33 -EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
34 +EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
36 obex_plugindir = $(libdir)/obex/plugins
38 diff --git a/obexd/src/org.bluez.obex.service b/obexd/src/org.bluez.obex.service
39 deleted file mode 100644
40 index a538088..0000000
41 --- a/obexd/src/org.bluez.obex.service
42 +++ /dev/null
43 @@ -1,4 +0,0 @@
44 -[D-BUS Service]
45 -Name=org.bluez.obex
46 -Exec=/bin/false
47 -SystemdService=dbus-org.bluez.obex.service
48 diff --git a/obexd/src/org.bluez.obex.service.in b/obexd/src/org.bluez.obex.service.in
49 new file mode 100644
50 index 0000000..9c815f2
51 --- /dev/null
52 +++ b/obexd/src/org.bluez.obex.service.in
53 @@ -0,0 +1,4 @@
54 +[D-BUS Service]
55 +Name=org.bluez.obex
56 +Exec=@libexecdir@/obexd
57 +SystemdService=dbus-org.bluez.obex.service
58 --
59 1.8.3.1