From 8d7740ed5375247d3e7e6567f1e95cbbdc3a15a3f146b54557e511a9ecb11c10 Mon Sep 17 00:00:00 2001 From: Christophe Marin Date: Wed, 13 Mar 2024 12:58:22 +0000 Subject: [PATCH] - Add upstream change to work around kde#482192: * 0001-Disable-Bluetooth-backend-due-to-https-bugs.kde.org-.patch OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kdeconnect-kde?expand=0&rev=134 --- ...h-backend-due-to-https-bugs.kde.org-.patch | 27 +++++++++++++++++++ kdeconnect-kde.changes | 6 +++++ kdeconnect-kde.spec | 2 ++ 3 files changed, 35 insertions(+) create mode 100644 0001-Disable-Bluetooth-backend-due-to-https-bugs.kde.org-.patch diff --git a/0001-Disable-Bluetooth-backend-due-to-https-bugs.kde.org-.patch b/0001-Disable-Bluetooth-backend-due-to-https-bugs.kde.org-.patch new file mode 100644 index 0000000..359f617 --- /dev/null +++ b/0001-Disable-Bluetooth-backend-due-to-https-bugs.kde.org-.patch @@ -0,0 +1,27 @@ +From 5a42e863728731f406bd3478bec330de16a739d6 Mon Sep 17 00:00:00 2001 +From: Simon Redman +Date: Sat, 2 Mar 2024 14:46:29 +0000 +Subject: [PATCH] Disable Bluetooth backend due to + https://bugs.kde.org/show_bug.cgi?id=482192 + +(cherry picked from commit 7f3287a71b7d1acd30724d05a0719312a5b8ae94) +--- + core/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt +index 613c738d..3e23b0bd 100644 +--- a/core/CMakeLists.txt ++++ b/core/CMakeLists.txt +@@ -12,7 +12,7 @@ option(MDNS_ENABLED "Use MDNS for device discovery" ON) + add_subdirectory(backends/lan) + add_subdirectory(backends/loopback) + +-option(BLUETOOTH_ENABLED "Bluetooth support for kdeconnect" ON) ++option(BLUETOOTH_ENABLED "Bluetooth support for kdeconnect" OFF) + if(BLUETOOTH_ENABLED) + find_package(Qt6 ${QT_MIN_VERSION} REQUIRED COMPONENTS Bluetooth) + add_subdirectory(backends/bluetooth) +-- +2.44.0 + diff --git a/kdeconnect-kde.changes b/kdeconnect-kde.changes index 876eb73..696b54e 100644 --- a/kdeconnect-kde.changes +++ b/kdeconnect-kde.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 13 12:57:06 UTC 2024 - Christophe Marin + +- Add upstream change to work around kde#482192: + * 0001-Disable-Bluetooth-backend-due-to-https-bugs.kde.org-.patch + ------------------------------------------------------------------- Fri Feb 23 13:58:56 UTC 2024 - Christophe Marin diff --git a/kdeconnect-kde.spec b/kdeconnect-kde.spec index 497491d..3f63b43 100644 --- a/kdeconnect-kde.spec +++ b/kdeconnect-kde.spec @@ -32,6 +32,8 @@ Source1: %{name}-%{version}.tar.xz.sig Source2: applications.keyring %endif Source100: kdeconnect-kde.SuSEfirewall +# PATCH-FIX-UPSTREAM -- temporary workaround for DBus timeouts +Patch0: 0001-Disable-Bluetooth-backend-due-to-https-bugs.kde.org-.patch BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} BuildRequires: pkgconfig BuildRequires: qt6-gui-private-devel >= %{qt6_version}