diff --git a/0001-introspect-Allowlist-GNOME-portal.patch b/0001-introspect-Allowlist-GNOME-portal.patch new file mode 100644 index 0000000000000000000000000000000000000000..a2eafa89278c20188742e14a066065fc8b2a40df --- /dev/null +++ b/0001-introspect-Allowlist-GNOME-portal.patch @@ -0,0 +1,33 @@ +From b73a07c20a522b3be0e096625c21d5606bcb7d82 Mon Sep 17 00:00:00 2001 +From: Georges Basile Stavracas Neto +Date: Mon, 21 Jun 2021 16:32:50 -0300 +Subject: [PATCH] introspect: Allowlist GNOME portal + +It too implements app listing and introspection, so list it in the +allowlist. + +Part-of: + +--- + js/misc/introspect.js | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/js/misc/introspect.js b/js/misc/introspect.js +index f3c938af9..45eee81ce 100644 +--- a/js/misc/introspect.js ++++ b/js/misc/introspect.js +@@ -1,7 +1,10 @@ + /* exported IntrospectService */ + const { Gio, GLib, Meta, Shell, St } = imports.gi; + +-const APP_ALLOWLIST = ['org.freedesktop.impl.portal.desktop.gtk']; ++const APP_ALLOWLIST = [ ++ 'org.freedesktop.impl.portal.desktop.gtk', ++ 'org.freedesktop.impl.portal.desktop.gnome', ++]; + + const INTROSPECT_DBUS_API_VERSION = 3; + +-- +2.38.1 + diff --git a/dist b/dist deleted file mode 100644 index 89c1faffc18349bb12eee2371e9dc43bf419b95c..0000000000000000000000000000000000000000 --- a/dist +++ /dev/null @@ -1 +0,0 @@ -an9 diff --git a/gnome-shell.spec b/gnome-shell.spec index d77e201ad6d8c0d02796dcca99d2839a321ad614..e00375915f4be9bbd57972bc5867defd0e622e49 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -3,7 +3,7 @@ Name: gnome-shell Version: 40.10 -Release: 3%{anolis_release}%{?dist} +Release: 5%{anolis_release}%{?dist} Summary: Window management and application launching for GNOME License: GPLv2+ @@ -46,6 +46,7 @@ Patch43: restrict-dbus-callers.patch Patch44: 0001-Revert-dash-Subtract-vertical-margins-from-availHeig.patch Patch45: 0001-status-volume-Hide-sliders-initially.patch Patch46: 0001-kbdA11yDialog-Use-MetaKeyboardA11yFlags.patch +Patch47: 0001-introspect-Allowlist-GNOME-portal.patch %define eds_version 3.33.1 %define gnome_desktop_version 3.35.91 @@ -157,6 +158,7 @@ Requires: bolt%{?_isa} # Needed for launching flatpak apps etc # 1.8.0 is needed for source type support in the screencast portal. Requires: xdg-desktop-portal-gtk >= 1.8.0 +Requires: xdg-desktop-portal-gnome # needed by the welcome dialog Recommends: gnome-tour @@ -264,9 +266,17 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.de %{_mandir}/man1/gnome-shell.1* %changelog -* Wed May 17 2023 pangqing - 40.10-3.0.1 +* Tue Jun 20 2023 pangqing - 40.10-5.0.1 - International modification +* Wed Feb 22 2023 Florian Müllner - 40.10-5 +- Require xdg-desktop-portal-gnome + Resolves: #2172524 + +* Sat Dec 17 2022 Florian Müllner - 40.10-4 +- Allow gnome portal to access introspection API + Resolves: #2144743 + * Mon Jun 20 2022 Florian Müllner - 40.10-3 - Fix keyboard a11y confirmation dialog Resolves: #2047644