From d893fcd006fea3558f4a7440bd05a5e64c268a1063ac519ae16b78fa0374aa68 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Fri, 7 Jul 2017 19:15:52 +0000 Subject: [PATCH 1/2] Accepting request 506117 from home:michals Add %post/%postun to bluez-auto-enable-devices so the settings change takes effect (boo#1039476) OBS-URL: https://build.opensuse.org/request/show/506117 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=229 --- bluez.changes | 6 ++++++ bluez.spec | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/bluez.changes b/bluez.changes index a70db99..ae1d82a 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Jun 25 11:53:02 UTC 2017 - msuchanek@suse.com + +- Add %post/%postun to bluez-auto-enable-devices so the settings + change takes effect (boo#1039476) + ------------------------------------------------------------------- Thu Jun 8 06:54:26 UTC 2017 - seife+obs@b1-systems.com diff --git a/bluez.spec b/bluez.spec index 621678d..045441c 100644 --- a/bluez.spec +++ b/bluez.spec @@ -122,6 +122,12 @@ Contains configuration that automatically enables all bluetooth devices that are connected to the system if no other tool is handling them (e.g. desktop specific applets like blueman or GNOME or KDE applets). +%post auto-enable-devices +{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||: + +%postun auto-enable-devices +{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||: + %prep %setup -q %patch1 -p1 From 97f0e99b2d3a3c869eb28cb645404fbdab8d4a828db8762907afa5e581b268d6 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 9 Jul 2017 10:31:17 +0000 Subject: [PATCH 2/2] Accepting request 509009 from home:seife:testing enable sixaxis plugin OBS-URL: https://build.opensuse.org/request/show/509009 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=230 --- bluez.changes | 5 +++++ bluez.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/bluez.changes b/bluez.changes index ae1d82a..99904ee 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 7 19:17:20 UTC 2017 - seife+obs@b1-systems.com + +- enable sixaxis plugin + ------------------------------------------------------------------- Sun Jun 25 11:53:02 UTC 2017 - msuchanek@suse.com diff --git a/bluez.spec b/bluez.spec index 045441c..f4e06a0 100644 --- a/bluez.spec +++ b/bluez.spec @@ -159,6 +159,7 @@ autoreconf -fi --enable-experimental \ --enable-deprecated \ --enable-datafiles \ + --enable-sixaxis \ --with-systemdsystemunitdir=%{_unitdir} \ --with-systemduserunitdir=%{_userunitdir} @@ -230,6 +231,9 @@ make check V=0 %{_bindir}/hciconfig %{_bindir}/hex2hcd %{_bindir}/mpris-proxy +%dir %{_libdir}/bluetooth +%dir %{_libdir}/bluetooth/plugins +%{_libdir}/bluetooth/plugins/sixaxis.so %dir %{_libexecdir}/bluetooth %{_libexecdir}/bluetooth/bluetoothd %{_libexecdir}/bluetooth/obexd