Accepting request 1002676 from GNOME:Next

GNOME 43.rc - let's get this into Staging to see what we break (e.g meson:test seems to be an issue already)

OBS-URL: https://build.opensuse.org/request/show/1002676
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libnma?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2022-09-13 07:36:05 +00:00 committed by Git OBS Bridge
parent fe9b61b2b8
commit 20dbe6ddcb
5 changed files with 43 additions and 5 deletions

View File

@ -0,0 +1,11 @@
--- orig-libnma-1.10.0/meson.build 2022-09-07 16:53:19.000000000 +0200
+++ libnma-1.10.0/meson.build 2022-09-07 20:38:55.040696543 +0200
@@ -277,7 +277,7 @@
if enable_gcr_gtk4
assert(enable_libnma_gtk4, 'gcr-gtk4 support was requested, but the libnma-gtk4 build was not enabled.')
- gcr4_gtk4_deps = dependency('gcr-4-gtk4', version: '>= 3.90', required: false)
+ gcr4_gtk4_deps = dependency('gcr-4', version: '>= 3.90', required: false)
assert(cc.compiles(gcr_api_check_src, dependencies: gcr4_gtk4_deps),
'gcr-gtk4 support was requested with -Dgcr_gtk4=true, but the gcr-gtk4 library is not available.')

3
libnma-1.10.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fc3d9c404b7b13303d9394f96961c5298d71afa9f1fa7af5e4f0f6e842a0940
size 1360128

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:870a75f8d4641ed0d90f836aea6ff511224bde97ffd56d608ade2e9b5acb2b22
size 1350560

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Sep 9 14:27:01 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.10.2:
+ Do not pop a certificate chooser if nobody clicked the button.
+ Updated translations.
-------------------------------------------------------------------
Wed Sep 7 18:27:40 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.10.0:
+ Libnma-gtk4 now has Smart Card support viad Gtk4-enabled
version of Gcr.
+ nma-cert-chooser.c is now included in the list of translated
files.
- Add fix-dependency-pc-name.patch: Update gcr-4.pc name to new
form. Following this: Add pkgconfig(gcr-4) and pkgconfig(gck-2)
BuildRequires and pass gcr_gtk4=true to meson, build the new
gcr-gtk4 based advanced certificate chooser.
- Pass b_lto=true to meson, build with LTO support.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 16 06:36:51 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com> Thu Jun 16 06:36:51 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -17,21 +17,25 @@
%define sover 0 %define sover 0
%define base_ver 1.8 %define base_ver 1.10
Name: libnma Name: libnma
Version: 1.8.40 Version: 1.10.2
Release: 0 Release: 0
Summary: Shared library for NetworkManager-applet Summary: Shared library for NetworkManager-applet
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://gitlab.gnome.org/GNOME/libnma URL: https://gitlab.gnome.org/GNOME/libnma
Source0: https://download.gnome.org/sources/%{name}/%{base_ver}/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/%{name}/%{base_ver}/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM fix-dependency-pc-name.patch -- Update .pc name to new form
Patch0: fix-dependency-pc-name.patch
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: meson BuildRequires: meson
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(gck-1) >= 3.14 BuildRequires: pkgconfig(gck-1) >= 3.14
BuildRequires: pkgconfig(gck-2)
BuildRequires: pkgconfig(gcr-3) >= 3.14 BuildRequires: pkgconfig(gcr-3) >= 3.14
BuildRequires: pkgconfig(gcr-4)
BuildRequires: pkgconfig(gio-2.0) >= 2.38 BuildRequires: pkgconfig(gio-2.0) >= 2.38
BuildRequires: pkgconfig(gmodule-export-2.0) BuildRequires: pkgconfig(gmodule-export-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.6 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.6
@ -110,7 +114,9 @@ Documentation files for %{name}.
%build %build
%meson \ %meson \
-D b_lto=true \
-D libnma_gtk4=true \ -D libnma_gtk4=true \
-D gcr_gtk4=true \
%{nil} %{nil}
%meson_build %meson_build