Release announcement:
https://lists.freedesktop.org/archives/wayland-devel/2023-July/042836.html
> This release includes 3 new staging protocols:
>
> * ext-foreign-toplevel-list - get information about toplevels,
> * security-context-v1 - allow race free identification of sandboxed
> clients,
> * cursor-shape-v1 - set cursor sprite using a shape enum instead of
> surface.
>
> The xdg-shell protocol also now has a 'suspended' toplevel state,
> usually sent when a toplevel is "out of sight" to the user, meant
> to communicate to a toplevel can for example take power saving measures.
>
> This release also include the usual set of straightening of question
> marks and clarifications of ambiguities.
This reverts commit d9986a53ee.
That commit turned a package that built for macOS into a package that
was marked broken for both (also breaking the wayland-scanner
attribute, which is important for cross-compiling to Linux), and
complicated the mesa-demos expression, with no explanation given and
only four hours of opportunity for review.
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
According to diffoscope this is fine (only the Nix store path changes).
Cross-compilation with doCheck=true is broken (requires pkg-config in
nativeBuildInputs but doesn't play nicely with checkInputs).
Only "wayland_scanner" and "Version" are required so it's easier to
create wayland-scanner.pc manually than to copy it from $dev and avoid
dependency cycles.
Another advantage is that we can now use the wayland-scanner alias for
nativeBuildInputs (which is less confusing than adding "wayland" to both
nativeBuildInputs and buildInputs).
The Wayland libraries themselves only build on Linux, but other
platforms need wayland-scanner for cross-compiling to Linux. So for
them, disable the libraries so only wayland-scanner is built.
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
Build the documentation by default, but install it to seperate outputs
so it doesn't have to be downloaded. Documentation is still disabled
when cross-compiling, because that is currently broken:
wayland -> graphviz -> libdevil -> openexr -> ilmbase (broken)