bluez patched

This commit is contained in:
suvari
2024-08-06 17:27:51 +03:00
parent 2face1e43c
commit 60fd871bb0
3 changed files with 34 additions and 1 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ from pisi.actionsapi import get
def setup():
# pisitools.dosed("configure.ac", "rst2man", "rst2man_3")
#shelltools.system("sed -i -e '/SystemdService/d' obexd/src/org.bluez.obex.service.in")
pisitools.dosed("obexd/src/org.bluez.obex.service.in", "SystemdService", deleteLine=True)
# pisitools.dosed("obexd/src/org.bluez.obex.service.in", "SystemdService", deleteLine=True)
# pisitools.dosed("obexd/src/dbus-org.bluez.service.in", "SystemdService", deleteLine=True)
autotools.autoreconf("-fiv")
autotools.configure("--localstatedir=/var \
--enable-sixaxis \
@@ -0,0 +1,20 @@
https://github.com/bluez/bluez/issues/806
https://bugs.gentoo.org/928417
--- bluez-5.73.orig/Makefile.obexd 2024-04-02 10:38:48.743419656 +0200
+++ bluez-5.73/Makefile.obexd 2024-04-02 10:40:53.300086281 +0200
@@ -1,13 +1,13 @@
# SPDX-License-Identifier: GPL-2.0
if OBEX
+dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
+dbussessionbus_DATA = obexd/src/org.bluez.obex.service
+
if SYSTEMD
systemduserunitdir = $(SYSTEMD_USERUNITDIR)
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
+12
View File
@@ -32,6 +32,7 @@
<Dependency>python3-Pygments</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">0001-Allow-using-obexd-without-systemd-in-the-user-session-r3.patch</Patch>
<!-- <Patch level="1">0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch</Patch> -->
<!-- <Patch level="1">0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch</Patch> -->
<!-- <Patch level="1">0001-rfkill-Fix-reading-from-rfkill-socket.patch</Patch> -->
@@ -39,6 +40,7 @@
<!-- <Patch level="1">0005-media-rename-local-function-conflicting-with-pause-2.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>bluez</Name>
<Summary>Development files for bluez-libs</Summary>
@@ -74,6 +76,7 @@
<COMAR script="service.py">System.Service</COMAR>
</Provides>
</Package>
<Package>
<Name>bluez-libs</Name>
<Summary>Libraries for use in Bluetooth applications</Summary>
@@ -85,6 +88,7 @@
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>bluez-libs-devel</Name>
<Summary>Development files for bluez-libs</Summary>
@@ -96,7 +100,15 @@
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="24">
<Date>2024-07-12</Date>
<Version>5.77</Version>
<Comment>Rebuild for new conf</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="23">
<Date>2024-07-12</Date>
<Version>5.77</Version>