[packages/libnma] fix connection editing; rel 3

atler atler at pld-linux.org
Mon Dec 19 11:13:29 CET 2022


commit 936247578fe5bf5cb4ed401538d28f420df39864
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Dec 19 11:11:48 2022 +0100

    fix connection editing; rel 3
    
    from: https://gitlab.gnome.org/GNOME/libnma/-/merge_requests/44
    bug report: https://gitlab.gnome.org/GNOME/libnma/-/issues/18

 con-edit.patch | 32 ++++++++++++++++++++++++++++++++
 libnma.spec    |  4 +++-
 2 files changed, 35 insertions(+), 1 deletion(-)
---
diff --git a/libnma.spec b/libnma.spec
index c720827..82b9318 100644
--- a/libnma.spec
+++ b/libnma.spec
@@ -10,11 +10,12 @@ Summary:	NetworkManager UI utilities (libnm version)
 Summary(pl.UTF-8):	Narzędzia UI NetworkManagera (wersja libnm)
 Name:		libnma
 Version:	1.10.4
-Release:	2
+Release:	3
 License:	LGPL v2.1+
 Group:		X11/Libraries
 Source0:	https://download.gnome.org/sources/libnma/1.10/%{name}-%{version}.tar.xz
 # Source0-md5:	d4503a9a708b2cbd949a3335a9f10d47
+Patch0:		con-edit.patch
 URL:		https://gitlab.gnome.org/GNOME/libnma
 BuildRequires:	NetworkManager-devel >= 2:1.7
 BuildRequires:	autoconf >= 2.63
@@ -208,6 +209,7 @@ API języka Vala do biblioteki libnma dla GTK 4.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/con-edit.patch b/con-edit.patch
new file mode 100644
index 0000000..fe00ff9
--- /dev/null
+++ b/con-edit.patch
@@ -0,0 +1,32 @@
+From 0ab5c1e39e94e158650da847f8512ab5e2b03593 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" <heftig at archlinux.org>
+Date: Wed, 9 Nov 2022 08:00:19 +0000
+Subject: [PATCH] gschema: Remove path from eap schema
+
+This one needs to be relocatable, otherwise creating a new VPN
+connection will fail with:
+
+    settings object created with schema 'org.gnome.nm-applet.eap'
+    and path '/org/gnome/nm-applet/eap/<uuid>/',
+    but path '/org/gnome/nm-applet/eap/' is specified by schema
+
+Fixes: https://bugs.archlinux.org/task/76490
+---
+ org.gnome.nm-applet.eap.gschema.xml.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/org.gnome.nm-applet.eap.gschema.xml.in b/org.gnome.nm-applet.eap.gschema.xml.in
+index 0fc3ca9f..f4a56ea6 100644
+--- a/org.gnome.nm-applet.eap.gschema.xml.in
++++ b/org.gnome.nm-applet.eap.gschema.xml.in
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <schemalist>
+-  <schema id="org.gnome.nm-applet.eap" path="/org/gnome/nm-applet/eap/" gettext-domain="nm-applet">
++  <schema id="org.gnome.nm-applet.eap" gettext-domain="nm-applet">
+     <key name="ignore-ca-cert" type="b">
+       <default>false</default>
+       <summary>Ignore CA certificate</summary>
+-- 
+GitLab
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libnma.git/commitdiff/936247578fe5bf5cb4ed401538d28f420df39864



More information about the pld-cvs-commit mailing list