public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carl George <carlwgeorge@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/niri] rawhide: Add oo7-portal to niri-portals.conf
Date: Wed, 18 Nov 2026 19:01:51 GMT [thread overview]
Message-ID: <179502851138.1.4320415445958477577.rpms-niri-e4751232cf48@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/niri
Branch : rawhide
Commit : e4751232cf485bff01882b3a68842f7507701d76
Author : Carl George <carlwgeorge@fedoraproject.org>
Date : 2026-11-17T22:35:54-06:00
Stats : +62/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/niri/c/e4751232cf485bff01882b3a68842f7507701d76?branch=rawhide
Log:
Add oo7-portal to niri-portals.conf
This adds the upstream patch and allows the RPM recommends to be
satisified by either oo7-portal or gnome-keyring.
---
diff --git a/0001-portals-add-oo7-as-secret-portal.patch b/0001-portals-add-oo7-as-secret-portal.patch
new file mode 100644
index 0000000..3a0056a
--- /dev/null
+++ b/0001-portals-add-oo7-as-secret-portal.patch
@@ -0,0 +1,57 @@
+From d97f09f5df83550d51793b506a069a3e5b024648 Mon Sep 17 00:00:00 2001
+From: Hec <hec@heccraft.com>
+Date: Tue, 15 Sep 2026 13:31:23 -0400
+Subject: [PATCH] portals: add oo7 as secret portal
+
+Mirroring this commit[1] on gnome-session. oo7 is being considered as
+a replacement for gnome-keyring in Fedora 45,[2] and is already used in
+GNOME OS.[3]
+
+[1]: https://gitlab.gnome.org/GNOME/gnome-session/-/commit/3a77ebd28b07dac36efadc93df7ebb3dcb3155c9
+[2]: https://fedoraproject.org/wiki/Releases/45/ChangeSet#oo7_Secrets_Service_Provider
+[3]: https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/4788
+
+Signed-off-by: Hec <hec@heccraft.com>
+(cherry picked from commit 02fdd8e7586110d6aa79d94f388756a3479091b6)
+---
+ docs/wiki/Important-Software.md | 2 +-
+ docs/wiki/Packaging-niri.md | 2 +-
+ resources/niri-portals.conf | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/docs/wiki/Important-Software.md b/docs/wiki/Important-Software.md
+index 56993e01..9262e3c2 100644
+--- a/docs/wiki/Important-Software.md
++++ b/docs/wiki/Important-Software.md
+@@ -12,7 +12,7 @@ Portals **require** [running niri as a session](./Getting-Started.md), which mea
+
+ * `xdg-desktop-portal-gtk`: implements most of the basic functionality, this is the "default fallback portal".
+ * `xdg-desktop-portal-gnome`: required for screencasting support.
+-* `gnome-keyring`: implements the Secret portal, required for certain apps to work.
++* `oo7-portal` or `gnome-keyring`: implements the Secret portal, required for certain apps to work.
+
+ Then systemd should start them on-demand automatically. These particular portals are configured in `niri-portals.conf` which [must be installed](./Getting-Started.md#manual-installation) in the correct location.
+
+diff --git a/docs/wiki/Packaging-niri.md b/docs/wiki/Packaging-niri.md
+index 966638ab..3e5c33ba 100644
+--- a/docs/wiki/Packaging-niri.md
++++ b/docs/wiki/Packaging-niri.md
+@@ -42,7 +42,7 @@ Set them as automatically-installed optional dependencies, if possible.
+ - `xdg-desktop-portal-gnome`: required for screencasting.
+ - `xdg-desktop-portal-gtk`: configured as the fallback portal in `niri-portals.conf`.
+ (This is in general the standard fallback portal that you want installed.)
+-- `gnome-keyring`: configured as the Secret portal provider in `niri-portals.conf`.
++- `oo7-portal` or `gnome-keyring`: configured as the Secret portal provider in `niri-portals.conf`.
+ - Your distro's GPU driver package, such as `mesa-dri-drivers` and `mesa-libEGL`.
+ Working hardware acceleration is required for running niri.
+ - Some notification daemon like `mako`, generally required for apps to work correctly.
+diff --git a/resources/niri-portals.conf b/resources/niri-portals.conf
+index 3f13d669..377baff9 100644
+--- a/resources/niri-portals.conf
++++ b/resources/niri-portals.conf
+@@ -2,4 +2,4 @@
+ default=gnome;gtk;
+ org.freedesktop.impl.portal.Access=gtk;
+ org.freedesktop.impl.portal.Notification=gtk;
+-org.freedesktop.impl.portal.Secret=gnome-keyring;
++org.freedesktop.impl.portal.Secret=oo7-portal;gnome-keyring;
diff --git a/niri.spec b/niri.spec
index 4ea33a2..f35fda2 100644
--- a/niri.spec
+++ b/niri.spec
@@ -58,6 +58,9 @@ Source1: niri-%{version}-vendor.tar.xz
Source2: vendor.toml
Source3: vendor.sh
+# https://github.com/niri-wm/niri/commit/02fdd8e7586110d6aa79d94f388756a3479091b6
+Patch: 0001-portals-add-oo7-as-secret-portal.patch
+
ExcludeArch: %{ix86}
BuildRequires: cargo-rpm-macros
@@ -96,9 +99,10 @@ Requires: xwayland-satellite >= 0.7
Requires: libwayland-server
# required for portal support
-Recommends: gnome-keyring
Recommends: xdg-desktop-portal-gnome
Recommends: xdg-desktop-portal-gtk
+Recommends: (oo7-portal or gnome-keyring)
+Suggests: oo7-portal
# applications bound by keyboard shortcuts in default configuration
Recommends: alacritty
reply other threads:[~2026-11-18 19:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179502851138.1.4320415445958477577.rpms-niri-e4751232cf48@fedoraproject.org \
--to=carlwgeorge@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox