Skip to content

[Backport release-25.11] gnome-shell: fix gnome-shell-portal-helper#504990

Open
nixpkgs-ci[bot] wants to merge 1 commit intorelease-25.11from
backport-485764-to-release-25.11
Open

[Backport release-25.11] gnome-shell: fix gnome-shell-portal-helper#504990
nixpkgs-ci[bot] wants to merge 1 commit intorelease-25.11from
backport-485764-to-release-25.11

Conversation

@nixpkgs-ci
Copy link
Copy Markdown
Contributor

@nixpkgs-ci nixpkgs-ci bot commented Mar 30, 2026

Bot-based backport to release-25.11, triggered by a label in #485764.

Before merging, ensure that this backport is acceptable for the release.

Even as a non-committer, if you find that it is not acceptable, leave a comment.

Tip

If you maintain all packages touched by this pull request, and they are all located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this PR using the nixpkgs-merge-bot.

Add `webkitgtk_6_0` typelib needed by `gnome-shell-portal-helper`.

When NetworkManager connectivity check is enabled, GNOME will pop up a notification when a captive portal is detected. Clicking the notification _should_ launch a WebKit browser window allowing you to log in to the network. Without including the typelib, this fails with the following error in the journal: `JS ERROR: Error: Requiring WebKit, version 6.0: Typelib file for namespace 'WebKit', version '6.0' not found`.

You can enable NetworkManager connectivity checks with the following NixOS config:

```nix
networking = {
  networkmanager = {
    enable = true;
    settings = {
      connectivity = {
        enabled = true;
        uri = "http://nmcheck.gnome.org/check_network_status.txt";
        interval = 300;
      };
    };
  };
};
```

To test this, you need to connect to a public WiFi that requires clicking through a log in page or simulate a captive portal in some other way. You can also test launching the authentication window directly with a script similar to the following. This will not work prior to the fix.

```bash

gdbus call --session \
  --dest org.gnome.Shell.PortalHelper \
  --object-path /org/gnome/Shell/PortalHelper \
  --method org.gnome.Shell.PortalHelper.Close \
  "/org/freedesktop/NetworkManager/ActiveConnection/1"

gdbus call --session \
  --dest org.gnome.Shell.PortalHelper \
  --object-path /org/gnome/Shell/PortalHelper \
  --method org.gnome.Shell.PortalHelper.Authenticate \
  "/org/freedesktop/NetworkManager/ActiveConnection/1" \
  "http://example.com" \
  0
```

(cherry picked from commit 770d279)
@nixpkgs-ci nixpkgs-ci bot requested a review from lasandell March 30, 2026 13:06
@nixpkgs-ci nixpkgs-ci bot requested a review from a team March 30, 2026 13:10
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 4.workflow: backport This targets a stable branch labels Mar 30, 2026
@axodentally
Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 504990
Commit: 202c82f5a2563b63478d68eb6b8d3e4a28e8816d (subsequent changes)
Merge: 509fae5badf68031b09302c55c28667168b44126

Logs: https://github.com/axodentally/nixpkgs-review-gha/actions/runs/23746287951


x86_64-linux

✅ 22 packages built:
  • adapta-gtk-theme
  • gnome-browser-connector
  • gnome-session
  • gnome-session.debug
  • gnome-session.sessions
  • gnome-shell
  • gnome-shell.debug
  • gnome-shell.devdoc
  • gnome-tweaks
  • gnome.nixos-gsettings-overrides
  • gnomeExtensions.easyScreenCast
  • gnomeExtensions.gsconnect
  • gnomeExtensions.gsconnect.installedTests
  • marble-shell-theme
  • matrix-gtk-theme
  • mojave-gtk-theme
  • pantheon.elementary-session-settings
  • phosh
  • phosh-mobile-settings
  • themechanger
  • tokyonight-gtk-theme
  • vimix-gtk-themes

aarch64-linux

✅ 22 packages built:
  • adapta-gtk-theme
  • gnome-browser-connector
  • gnome-session
  • gnome-session.debug
  • gnome-session.sessions
  • gnome-shell
  • gnome-shell.debug
  • gnome-shell.devdoc
  • gnome-tweaks
  • gnome.nixos-gsettings-overrides
  • gnomeExtensions.easyScreenCast
  • gnomeExtensions.gsconnect
  • gnomeExtensions.gsconnect.installedTests
  • marble-shell-theme
  • matrix-gtk-theme
  • mojave-gtk-theme
  • pantheon.elementary-session-settings
  • phosh
  • phosh-mobile-settings
  • themechanger
  • tokyonight-gtk-theme
  • vimix-gtk-themes

x86_64-darwin

No rebuilds


aarch64-darwin

No rebuilds

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 4.workflow: backport This targets a stable branch 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants