From 3f3b6c5e79d5fd42972981eef4c5dbf7914d6940 Mon Sep 17 00:00:00 2001 From: Rmys Date: Fri, 29 Nov 2024 23:56:25 +0300 Subject: [PATCH] bluez --- ...thout-systemd-in-the-user-session-r4.patch | 20 +++++++++++++++++++ hardware/bluetooth/bluez/pspec.xml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 hardware/bluetooth/bluez/files/0001-Allow-using-obexd-without-systemd-in-the-user-session-r4.patch diff --git a/hardware/bluetooth/bluez/files/0001-Allow-using-obexd-without-systemd-in-the-user-session-r4.patch b/hardware/bluetooth/bluez/files/0001-Allow-using-obexd-without-systemd-in-the-user-session-r4.patch new file mode 100644 index 0000000000..80c9046626 --- /dev/null +++ b/hardware/bluetooth/bluez/files/0001-Allow-using-obexd-without-systemd-in-the-user-session-r4.patch @@ -0,0 +1,20 @@ +--- a/Makefile.obexd ++++ b/Makefile.obexd +@@ -4,15 +4,14 @@ + if SYSTEMD + systemduserunit_DATA += obexd/src/obex.service + +-dbussessionbusdir = $(DBUS_SESSIONBUSDIR) +-dbussessionbus_DATA = obexd/src/org.bluez.obex.service +- + obexd-add-service-symlink: + $(LN_S) -f obex.service $(DESTDIR)$(SYSTEMD_USERUNITDIR)/dbus-org.bluez.obex.service + + obexd-remove-service-symlink: + rm -f $(DESTDIR)$(SYSTEMD_USERUNITDIR)/dbus-org.bluez.obex.service + else ++dbussessionbusdir = $(DBUS_SESSIONBUSDIR) ++dbussessionbus_DATA = obexd/src/org.bluez.obex.service + obexd-add-service-symlink: + obexd-remove-service-symlink: + endif diff --git a/hardware/bluetooth/bluez/pspec.xml b/hardware/bluetooth/bluez/pspec.xml index 37b33bbd56..3b7d2b8814 100644 --- a/hardware/bluetooth/bluez/pspec.xml +++ b/hardware/bluetooth/bluez/pspec.xml @@ -32,7 +32,7 @@ python3-Pygments - + 0001-Allow-using-obexd-without-systemd-in-the-user-session-r4.patch