Accepting request 962297 from home:JonathanKang:branches:GNOME:Factory

- Add gnome-control-center-reload-vpn-plugins.patch:
  network/connection-editor: always load all available VPN plugins
  (glgo#GNOME/gnome-control-center!1263).

OBS-URL: https://build.opensuse.org/request/show/962297
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=473
This commit is contained in:
Bjørn Lie 2022-03-18 10:22:45 +00:00 committed by Git OBS Bridge
parent 2c1db08927
commit 7f7ec496ea
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,19 @@
Index: gnome-control-center-41.4/panels/network/connection-editor/vpn-helpers.c
===================================================================
--- gnome-control-center-41.4.orig/panels/network/connection-editor/vpn-helpers.c
+++ gnome-control-center-41.4/panels/network/connection-editor/vpn-helpers.c
@@ -53,14 +53,9 @@ _sort_vpn_plugins (NMVpnPluginInfo *aa,
GSList *
vpn_get_plugins (void)
{
- static gboolean plugins_loaded = FALSE;
static GSList *plugins = NULL;
GSList *p;
- if (G_LIKELY (plugins_loaded))
- return plugins;
- plugins_loaded = TRUE;
-
p = nm_vpn_plugin_info_list_load ();
plugins = NULL;
while (p) {

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 16 06:47:50 UTC 2022 - Jonathan Kang <songchuan.kang@suse.com>
- Add gnome-control-center-reload-vpn-plugins.patch:
network/connection-editor: always load all available VPN plugins
(glgo#GNOME/gnome-control-center!1263).
-------------------------------------------------------------------
Mon Feb 14 09:05:02 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -40,6 +40,8 @@ Patch0: gnome-control-center-disable-error-message-for-NM.patch
Patch1: gnome-control-center-fix-autologin-shortcut.patch
# PATCH-FIX-UPSTREAM 496c719d7b1492b54c34ace648feb3802f34f774.patch -- Remove duplicate line from .desktop file
Patch2: https://gitlab.gnome.org/GNOME/gnome-control-center/-/commit/496c719d7b1492b54c34ace648feb3802f34f774.patch
# PATCH-FIX-UPSTREAM gnome-control-center-reload-vpn-plugins.patch glgo#GNOME/gnome-control-center!1263 sckang@suse.com -- network/connection-editor: always load all available VPN plugins
Patch3: gnome-control-center-reload-vpn-plugins.patch
### patches for Leap >= 15 plus SLE >= 15, but not TW
# PATCH-FEATURE-SLE gnome-control-center-info-never-use-gnome-software.patch bsc#999336 fezhang@suse.com -- info: Never search for gnome-software as an option when checking for updates on SLE and Leap 42.2, because we use gpk-update-viewer.
@ -185,6 +187,7 @@ GNOME control center.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
# patches for Leap >= 15 plus SLE >= 15, but not TW
%if 0%{?sle_version} >= 150000
%patch1001 -p1