You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.9 KiB

  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
  7. Not all sessions run systemd --user (actually, the majority
  8. doesn't), so the dbus daemon must be able to spawn obexd
  9. directly, and to do so it needs the full path of the daemon.
  10. ---
  11. Makefile.obexd | 4 ++--
  12. obexd/src/org.bluez.obex.service | 4 ----
  13. obexd/src/org.bluez.obex.service.in | 4 ++++
  14. 3 files changed, 6 insertions(+), 6 deletions(-)
  15. delete mode 100644 obexd/src/org.bluez.obex.service
  16. create mode 100644 obexd/src/org.bluez.obex.service.in
  17. Index: bluez-5.51/Makefile.obexd
  18. ===================================================================
  19. --- bluez-5.51.orig/Makefile.obexd
  20. +++ bluez-5.51/Makefile.obexd
  21. @@ -1,12 +1,12 @@
  22. if SYSTEMD
  23. systemduserunitdir = $(SYSTEMD_USERUNITDIR)
  24. systemduserunit_DATA = obexd/src/obex.service
  25. +endif
  26. dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
  27. dbussessionbus_DATA = obexd/src/org.bluez.obex.service
  28. -endif
  29. -EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
  30. +EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
  31. if OBEX
  32. Index: bluez-5.51/obexd/src/org.bluez.obex.service
  33. ===================================================================
  34. --- bluez-5.51.orig/obexd/src/org.bluez.obex.service
  35. +++ /dev/null
  36. @@ -1,4 +0,0 @@
  37. -[D-BUS Service]
  38. -Name=org.bluez.obex
  39. -Exec=/bin/false
  40. -SystemdService=dbus-org.bluez.obex.service
  41. Index: bluez-5.51/obexd/src/org.bluez.obex.service.in
  42. ===================================================================
  43. --- /dev/null
  44. +++ bluez-5.51/obexd/src/org.bluez.obex.service.in
  45. @@ -0,0 +1,4 @@
  46. +[D-BUS Service]
  47. +Name=org.bluez.obex
  48. +Exec=@libexecdir@/obexd
  49. +SystemdService=dbus-org.bluez.obex.service