From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ACE7B158015 for ; Sat, 23 Dec 2023 15:46:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F15D12BC085; Sat, 23 Dec 2023 15:46:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D05852BC084 for ; Sat, 23 Dec 2023 15:46:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B20C343003 for ; Sat, 23 Dec 2023 15:46:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50BF114AB for ; Sat, 23 Dec 2023 15:46:35 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1703346377.cd2f8a1feead56791c194edacd6860da2c2ec382.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-nm/files/ X-VCS-Repository: proj/kde X-VCS-Files: kde-plasma/plasma-nm/files/plasma-nm-5.27.80-openconnect-optional.patch X-VCS-Directories: kde-plasma/plasma-nm/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: cd2f8a1feead56791c194edacd6860da2c2ec382 X-VCS-Branch: master Date: Sat, 23 Dec 2023 15:46:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90bd0353-48f0-42f0-994a-071c343a4df5 X-Archives-Hash: 2b2d8e3ed461d6ec74e8364431523dbc commit: cd2f8a1feead56791c194edacd6860da2c2ec382 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Sat Dec 23 09:09:41 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 23 15:46:17 2023 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=cd2f8a1f kde-plasma/plasma-nm: remove unused patch Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Andreas Sturmlechner gentoo.org> .../plasma-nm-5.27.80-openconnect-optional.patch | 77 ---------------------- 1 file changed, 77 deletions(-) diff --git a/kde-plasma/plasma-nm/files/plasma-nm-5.27.80-openconnect-optional.patch b/kde-plasma/plasma-nm/files/plasma-nm-5.27.80-openconnect-optional.patch deleted file mode 100644 index fc2b5a9c72..0000000000 --- a/kde-plasma/plasma-nm/files/plasma-nm-5.27.80-openconnect-optional.patch +++ /dev/null @@ -1,77 +0,0 @@ -From 50ace5c0641e0f2e7b8cdaf8f57afda147df7f96 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner -Date: Thu, 23 Feb 2023 22:00:41 +0100 -Subject: [PATCH] Introduce BUILD_OPENCONNECT option (default ON) - -QtWebEngine is a huge dependency, considerably increasing the entry barrier -to build and contribute to plasma-nm. It is easily possible to make it -optional in this case so it should be done. - -Signed-off-by: Andreas Sturmlechner ---- - CMakeLists.txt | 19 +++++++++++++++---- - vpn/CMakeLists.txt | 2 +- - 2 files changed, 16 insertions(+), 5 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3acdb4b7..f03f6e3a 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -17,6 +17,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) - find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) - set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH}) - -+option(BUILD_OPENCONNECT "Build OpenConnect VPN plugin" ON) -+ - include(KDEInstallDirs) - include(KDECMakeSettings) - include(KDECompilerSettings NO_POLICY_SCOPE) -@@ -34,11 +36,22 @@ find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS - Network - Quick - QuickWidgets -- WebEngineCore -- WebEngineWidgets - Widgets - ) - -+find_package(PkgConfig REQUIRED) -+ -+if (BUILD_OPENCONNECT) -+ pkg_check_modules(OPENCONNECT IMPORTED_TARGET openconnect>=3.99) -+ if (NOT TARGET PkgConfig::OPENCONNECT) -+ set(BUILD_OPENCONNECT OFF) -+ endif() -+endif() -+ -+if (BUILD_OPENCONNECT) -+ find_package(Qt${QT_MAJOR_VERSION}WebEngineWidgets ${QT_MIN_VERSION} CONFIG REQUIRED) -+endif() -+ - find_package(KF5 ${KF5_MIN_VERSION} REQUIRED - ConfigWidgets - Completion -@@ -80,8 +93,6 @@ set_package_properties(KF5Prison PROPERTIES DESCRIPTION "Prison library" - PURPOSE "Needed to create mobile barcodes for WiFi networks" - ) - --find_package(PkgConfig REQUIRED) --pkg_check_modules(OPENCONNECT IMPORTED_TARGET openconnect>=3.99) - pkg_check_modules(NETWORKMANAGER IMPORTED_TARGET libnm>1.4.0 REQUIRED) - pkg_check_modules(MOBILEBROADBANDPROVIDERINFO mobile-broadband-provider-info) - pkg_get_variable(BROADBANDPROVIDER_DATABASE mobile-broadband-provider-info database) -diff --git a/vpn/CMakeLists.txt b/vpn/CMakeLists.txt -index 2bf0086a..25baa308 100644 ---- a/vpn/CMakeLists.txt -+++ b/vpn/CMakeLists.txt -@@ -9,6 +9,6 @@ add_subdirectory(sstp) - add_subdirectory(strongswan) - add_subdirectory(vpnc) - --if(TARGET PkgConfig::OPENCONNECT) -+if (BUILD_OPENCONNECT) - add_subdirectory(openconnect) - endif() --- -2.39.2 -