Skip to content

Conversation

emilazy
Copy link
Member

@emilazy emilazy commented Jul 25, 2025

GTK 4 still pulls in libX11 through GraphViz through GStreamer, but meh.

I haven’t tested whether this breaks waylandSupport && !x11Support, which I fear I may have broken on staging-next already. cc @LordGrimmauld who I think uses that configuration.

cc @jtojnar did you ever decide whether to split up at-spi2-core again? If it’s not happening at this point, maybe you want to do the alias migration mentioned in all-packges.nix.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@ofborg ofborg bot added the 6.topic: darwin Running or building packages on Darwin label Jul 25, 2025
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Jul 25, 2025
Copy link
Contributor

@philiptaron philiptaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This diff LGTM. What sort of testing do you need? Are there further patches you are planning?

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Aug 14, 2025
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at Meson files in at-spi2-core repo, X11 only appears to be used by three components: at-spi-bus-launcher and at-spi2-registryd (services), and libatspi (library mostly used by accessibility tools, notably: orca, chromium, gnome-shell, onboard). Only the latter makes sense as a package dependency and I doubt any of those programs work on Darwin (except for chromium – but I doubt it would be using libatspi on that platform).

Actually, I would expect ATK to be the only component needed on Darwin and that is only because it is mandatory dependency of GTK 3.

atk
cairo
pango
(at-spi2-core.override { inherit x11Support; })
Copy link
Member

@jtojnar jtojnar Aug 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you ever decide whether to split up at-spi2-core again? If it’s not happening at this point, maybe you want to do the alias migration mentioned in all-packges.nix.

It is still on the to-do list. It is just hard to do since the Meson project is monolithic.

Modern projects should not really use any of at-spi2-core libraries, e.g. GTK 4 or Odilia screen reader use the AT-SPI directly through D-Bus API. So on a future system, I would want to have package containing just the bus launcher + registry, and then have legacy packages containing atk for maintenance mode packages like GTK 3 or chromium.

libatspi might be combined with atk for simplicity. Though it would be preferable to separate it to allow ATK free systems using the accessibility tools

But not sure if it is really worth it. I guess if we decide to keep libatspi combined with atk, we can just move everything to aliases because the daemon would not be a package dependency anyway.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps split the reorganisation out of gtk4: make x11Support actually disable X11 dependencies commit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 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.

3 participants