update to 1.12.4 [release 1.12.4-1mamba;Fri Dec 19 2025]

This commit is contained in:
2025-12-20 12:37:01 +01:00
parent 21d89bb936
commit 986d4359b8
4 changed files with 10 additions and 98 deletions

View File

@@ -1,37 +0,0 @@
Index: network-manager-vpnc-0.9.2.0+git201201080319.236292c/auth-dialog/vpn-password-dialog.c
===================================================================
--- network-manager-vpnc-0.9.2.0+git201201080319.236292c.orig/auth-dialog/vpn-password-dialog.c 2012-02-10 14:41:30.000000000 -0500
+++ network-manager-vpnc-0.9.2.0+git201201080319.236292c/auth-dialog/vpn-password-dialog.c 2012-02-10 15:10:40.120355818 -0500
@@ -123,8 +123,8 @@
label = gtk_label_new_with_mnemonic (label_text);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
- gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 1, row, row + 1);
- gtk_table_attach_defaults (GTK_TABLE (table), entry, 1, 2, row, row + 1);
+ gtk_grid_attach (GTK_GRID (table), label, 0, row, 1, 1);
+ gtk_grid_attach (GTK_GRID (table), entry, 1, row, 1, 1);
gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
}
@@ -153,7 +153,7 @@
if (priv->show_password_secondary)
add_row (priv->table, row++, priv->secondary_password_label, priv->password_entry_secondary);
- gtk_table_attach_defaults (GTK_TABLE (priv->table), priv->show_passwords_checkbox, 1, 2, row, row + 1);
+ gtk_grid_attach (GTK_GRID (priv->table), priv->show_passwords_checkbox, 1, row, 1, 1);
gtk_widget_show_all (priv->table);
}
@@ -227,9 +227,9 @@
priv->group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
- priv->table = gtk_table_new (4, 2, FALSE);
- gtk_table_set_col_spacings (GTK_TABLE (priv->table), 12);
- gtk_table_set_row_spacings (GTK_TABLE (priv->table), 6);
+ priv->table = gtk_grid_new ();
+ gtk_grid_set_column_spacing (GTK_GRID (priv->table), 12);
+ gtk_grid_set_row_spacing (GTK_GRID (priv->table), 6);
gtk_container_add (GTK_CONTAINER (priv->table_alignment), priv->table);
priv->password_entry = gtk_entry_new ();

View File

@@ -1,51 +0,0 @@
From 52aad4911ffad04cf8274b5574124a4d5470c7fa Mon Sep 17 00:00:00 2001
Message-Id: <52aad4911ffad04cf8274b5574124a4d5470c7fa.1549642989.git.jan.steffens@gmail.com>
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Wed, 17 Oct 2018 15:21:30 +0200
Subject: [PATCH] build: disable libnm-glib support by default
By now nobody should be using this. Keep the code around for a little
longer just in case anybody still uses this.
The libnm-glib support also serves as an example how do we build two
different versions of the properties plugin. We'll soon be in a similar
situation with Gtk 4.0. (sigh.) Just don't drop it yet.
Conflicts:
NEWS
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 11ff5d0..eaf015b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,20 +75,20 @@ dnl
dnl GNOME support
dnl
AC_ARG_WITH(gnome, AS_HELP_STRING([--without-gnome], [Build NetworkManager-openvpn without GNOME support, e.g. vpn service only]), [], [with_gnome_specified=no])
-AC_ARG_WITH(libnm-glib, AS_HELP_STRING([--without-libnm-glib], [Build NetworkManager-openvpn without libnm-glib comatibility]), [], [with_libnm_glib_specified=no])
+AC_ARG_WITH(libnm-glib, AS_HELP_STRING([--with-libnm-glib], [Build NetworkManager-openvpn with libnm-glib comatibility (depreacted)]), [], [with_libnm_glib_specified=no])
if test "$with_libnm_glib_specified" != no -a "$with_libnm_glib" != no; then
if test "$with_gnome_specified" != no -a "$with_gnome" == no; then
AC_MSG_ERROR(Building --with-libnm-glib conflicts with --without-gnome)
fi
fi
if test "$with_gnome" != no; then
with_gnome=yes
fi
if test "$with_libnm_glib_specified" == no; then
- with_libnm_glib="$with_gnome"
+ with_libnm_glib=no
fi
-if test "$with_libnm_glib" != no; then
- with_libnm_glib=yes
+if test "$with_libnm_glib" != yes; then
+ with_libnm_glib=no
fi
AM_CONDITIONAL(WITH_GNOME, test "$with_gnome" != no)
AM_CONDITIONAL(WITH_LIBNM_GLIB, test "$with_libnm_glib" != no)
--
2.20.1

View File

@@ -1,18 +1,16 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: NetworkManager-openvpn
Version: 1.12.3
Version: 1.12.4
Release: 1mamba
Summary: NetworkManager plugin for openvpn VPN clients
Group: Network/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnome.org
Source: https://download.gnome.org/sources/NetworkManager-openvpn/%{majver}/NetworkManager-openvpn-%{version}.tar.xz
URL: https://wiki.gnome.org/Projects/NetworkManager
Source: https://github.com/NetworkManager/NetworkManager-openvpn.git/%{version}/NetworkManager-openvpn-%{version}.tar.bz2
Source1: openvpn-sysusers.conf
Patch0: %{name}-1.8.10-dbus_policy.patch
Patch1: NetworkManager-openvpn-0.9.6.0-gtk-3.6.patch
Patch2: NetworkManager-openvpn-1.8.10-libnm-1.22.2.patch
Patch0: NetworkManager-openvpn-1.8.10-dbus_policy.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@@ -36,7 +34,6 @@ Provides: networkmanagervpnplugin
%description
NetworkManager plugin for openvpn VPN clients.
%prep
%setup -q
%patch 0 -p1
@@ -51,7 +48,7 @@ autoreconf -f -i
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/nm-openvpn.conf
#install -D -m0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/nm-openvpn.conf
%find_lang %{name}
@@ -64,7 +61,8 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/nm-openvpn.conf
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysusersdir}/nm-openvpn.conf
%{_sysusersdir}/nm-openvpn-sysusers.conf
%{_tmpfilesdir}/nm-openvpn-tmpfiles.conf
%{_datadir}/metainfo/network-manager-openvpn.metainfo.xml
%{_datadir}/dbus-1/system.d/nm-openvpn-service.conf
%{_prefix}/lib/NetworkManager/VPN/nm-openvpn-service.name
@@ -77,6 +75,9 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/nm-openvpn.conf
#ChangeLog NEWS README
%changelog
* Fri Dec 19 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.4-1mamba
- update to 1.12.4
* Wed Aug 27 2025 Automatic Build System <autodist@openmamba.org> 1.12.3-1mamba
- automatic version update by autodist

View File

@@ -2,4 +2,3 @@
NetworkManager plugin for openvpn VPN clients.