Commit Graph

95 Commits

Author SHA1 Message Date
K900
759ae26854 wayland: 1.25.0 -> 1.26.0 2026-07-16 22:53:06 +03:00
rewine
28a604bbcd wayland: 1.24.0 -> 1.25.0
https://lore.freedesktop.org/wayland-devel/Xc5mzCaUxqhO0w-Dls241-PmLXWdFT2DLLkz0Lhr4LAhDTZxiZfrDZeq9lCGGn2V8nxqcMZDTn6vSCdClRYkQ7vCUMPKwQokYhCjf93xRx4=@emersion.fr/T/#u
2026-03-23 10:19:30 +08:00
Alyssa Ross
4335b416f9 wayland: drop Darwin patch (#492785) 2026-03-07 09:41:35 +00:00
nixpkgs-ci[bot]
73dd1fa235 Merge master into staging-next 2026-02-23 00:23:56 +00:00
Alyssa Ross
729704e1af wayland: drop Darwin patch
There's no point keeping this if we have it marked broken on Darwin
anyway.  Given that consumers are not ready, I would be very surprised
if we end up packaging Wayland for Darwin again in the future without
support having been accepted upstream.
2026-02-21 15:10:49 +01:00
Emily
d28a57e729 wayland: add Darwin to badPlatforms again
Partially reverts a36cf8de1e.
2026-02-19 12:13:26 +00:00
Marcin Serwin
8e903b92c1 maintainers: drop codyopel
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-02-15 18:30:39 +01:00
aspauldingcode
a36cf8de1e wayland: enable on darwin 2026-01-18 11:14:56 -08:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Sizhe Zhao
c402aec629 wayland: add darwin to badPlatforms 2025-10-25 14:20:22 +08:00
Ihar Hrachyshka
42784ebc67 wayland: mark broken on darwin 2025-08-19 21:40:48 -04:00
Alois Wohlschlager
1a84f25919 wayland: fix static build
In commit f64b0ef6cf a crude patch was introduced
to disable a test on static builds, due to it failing to link with multiple
definition errors. The patch now leads to a syntax error due to changed
formatting upstream, and the linker failure does not happen any more. Remove
patch.
2025-08-13 17:31:00 +02:00
Wolfgang Walther
535b720589 Merge branch 'master' into staging-next 2025-07-24 14:27:50 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
rewine
134c7414ea wayland: 1.23.1 -> 1.24.0 (#423023) 2025-07-08 19:12:34 +08:00
Alyssa Ross
27063df46a wayland: 1.23.1 -> 1.24.0 2025-07-06 22:55:49 +02:00
John Titor
766ad54fde treewide: remove primeos from maintainers
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-07-06 00:00:32 +05:30
Jan Tojnar
ba6e8ff3d8 wayland: Remove meta.mainProgram
This has been missed in 921bd99f8d,
when that binary has been split out into an eponymous package.
The package does not contain any executable programs any more.
2025-05-16 22:15:40 +02:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Sergei Trofimovich
0835b9f6de wayland: 1.23.0 -> 1.23.1 2024-08-25 13:49:14 +02:00
Alyssa Ross
921bd99f8d wayland-scanner: split from wayland
We've used a wayland-scanner = wayland.bin alias for ages, to make
packages clearer and allow them to be independently overridden.
Going the whole way into splitting them into separate packages is
useful because it means we can have different meta.platforms
attributes for libwayland and wayland-scanner.

There is no duplication in outputs between the two packages — they
don't install any files in common.

Since we're no longer pulling just one output into nativeBuildInputs
of packages using wayland-scanner, we can use upstream's
wayland-scanner.pc, which gets installed into the dev output, rather
than providing our own.
2024-08-12 21:16:04 +03:00
Alyssa Ross
02828ac323 wayland: 1.22.0 -> 1.23.0 2024-05-31 12:09:13 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Rodney Lorrimar
bac7f13ded wayland: Add meta.pkgConfigModules and corresponding test 2024-02-22 13:57:48 +08:00
Alyssa Ross
91cbe3de80 wayland: remove unused substituteAll input 2023-09-14 16:27:16 +00:00
Sandro Jäckel
90013dee5c wayland: remove useless passthru.version 2023-05-22 18:26:44 +02:00
PedroHLC ☭
2baf839f53 wayland: 1.21.0 -> 1.22.0 2023-04-19 08:15:44 -03:00
Weijia Wang
8353c2cc9c wayland: hotfix 2023-04-06 00:16:36 +03:00
Weijia Wang
dda92df9c0 wayland: build libraries on darwin 2023-03-27 00:49:18 +03:00
Weijia Wang
1352481e8e wayland: use epoll-shim on unix platforms 2023-03-23 17:52:18 +02:00
Weijia Wang
3d1d0bf910 wayland: allow building without tests 2023-03-22 18:15:22 +02:00
Alyssa Ross
1c561baac6 Revert "wayland: mark as broken on darwin"
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.
2023-02-05 22:21:32 +00:00
Weijia Wang
d9986a53ee wayland: mark as broken on darwin 2023-01-29 07:44:40 +01:00
Alyssa Ross
53b6c15df2 wayland-protocols: only run tests with libwayland 2022-12-09 17:31:24 +00:00
Alyssa Ross
11dffd155d Revert "wayland: broken for darwin"
This reverts commit c5ef875426.

Doesn't seem to be a problem any more.
2022-12-09 17:31:23 +00:00
Alyssa Ross
93b89c7bfc wayland: disable tests if libraries are disabled
This fixes the withLibraries = false build.
2022-12-09 17:31:21 +00:00
Artturin
4885138129 treewide: remove unnecessary meson find_program patches
they are unnecessary since 32e36bd429f804fd1468f51e39020f7360d8a5a8
https://github.com/NixOS/nixpkgs/pull/183507
2022-08-01 20:03:47 +03:00
Michael Weiss
257a807568 wayland: 1.20.0 -> 1.21.0
Release announcements:
- Alpha: https://lists.freedesktop.org/archives/wayland-devel/2022-May/042194.html
- Beta: https://lists.freedesktop.org/archives/wayland-devel/2022-June/042228.html
- RC1: https://lists.freedesktop.org/archives/wayland-devel/2022-June/042261.html
- 1.21: https://lists.freedesktop.org/archives/wayland-devel/2022-June/042268.html

The URLs of the release tarballs did change as can be seen on the
website [0] (the old URL scheme doesn't work anymore).

[0]: https://wayland.freedesktop.org/releases.html
2022-07-04 22:51:00 +02:00
Michael Weiss
8fc77f9168 Merge pull request #148588 from primeos/wayland
wayland: 1.19.0 -> 1.20.0
2021-12-11 22:04:57 +01:00
Michael Weiss
fd0dec68ee wayland: 1.19.0 -> 1.20.0
Announcement: https://lists.freedesktop.org/archives/wayland-devel/2021-December/042064.html
2021-12-10 22:25:40 +01:00
SCOTT-HAMILTON
f64b0ef6cf wayland: fix static build 2021-12-07 22:01:37 +00:00
Artturin
77ed6024ca wayland: fix build with strictDeps 2021-11-05 19:57:03 +02:00
Jonathan Ringer
14f3686af1 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
  pkgs/applications/terminal-emulators/alacritty/default.nix
  pkgs/servers/clickhouse/default.nix
2021-05-20 09:12:42 -07:00
Michael Francis
c5ef875426 wayland: broken for darwin 2021-05-19 17:56:21 -07:00
Michael Weiss
a605e0318d Merge pull request #122475 from stephank/fix-wayland-darwin
wayland: fix build on darwin
2021-05-12 20:18:48 +02:00
Stéphan Kochen
6543ad4db0 wayland: fix build on darwin 2021-05-11 12:16:59 +02:00
Michael Weiss
b062135493 wayland{.bin,-scanner}: Add a pkg-config file for cross-compilation
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.
2021-05-04 20:43:50 +02:00
Michael Weiss
6a30a601c7 wayland: Add a "bin" and "dev" output
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).
2021-04-03 15:31:27 +02:00
Michael Weiss
ea099211e0 wayland: Refactor the Nix expression
This should make it a bit easier to read, expat is not optional (only
for cross-compiling - WIP), and fetchpatch is no longer required.
2021-04-03 13:36:34 +02:00