Commit graph

70 commits

Author SHA1 Message Date
Alyssa Ross aebc76376c wlroots_0_16: 0.16.1 -> 0.16.2
Tested that sway builds and runs.
2023-02-11 14:42:26 +00:00
Weijia Wang ec481f0351
Revert "wlroots: backport patch for free() of ununitialized" 2023-01-27 10:31:43 +01:00
Adam Joseph 9e2e7f3bc2 wlroots: backport patch for free() of ununitialized
This cherrypicks an upstream-but-unreleased commit for the following
build failure.  Strangely, this warning is not emittted on x86_64.

FAILED: libwlroots.so.11.p/render_egl.c.o
gcc -Ilibwlroots.so.11.p -I. -I.. -Iinclude -I../include -Iprotocol -I../protocol -Irender/gles2/shaders -Irender/vulkan/shade
../render/egl.c: In function 'egl_init_display':
../render/egl.c:179:17: error: 'external_only' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  179 |                 free(external_only);
      |                 ^~~~~~~~~~~~~~~~~~~
../render/egl.c:128:29: note: 'external_only' was declared here
  128 |                 EGLBoolean *external_only;
      |                             ^~~~~~~~~~~~~
../render/egl.c:178:17: error: 'modifiers' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  178 |                 free(modifiers);
      |                 ^~~~~~~~~~~~~~~
../render/egl.c:127:27: note: 'modifiers' was declared here
  127 |                 uint64_t *modifiers;
      |                           ^~~~~~~~~
cc1: all warnings being treated as errors
2023-01-23 11:47:15 -08:00
Budiman Jojo a7034be1bb wlroots_0_16: 0.16.0 -> 0.16.1 2023-01-22 15:15:19 +01:00
Peter Hoeg d2596de25e wlroots_0_16: init at 0.16 2022-11-22 09:11:12 +08:00
Peter Hoeg ead322b582 wlroots: deduplicate builders 2022-11-22 09:11:12 +08:00
Artturin 61c3058bcb all-packages.nix: remove inherit (*xorg) *'s
using inherits in callPackage args is discouraged and doesn't splice
correctly
2022-10-14 20:48:09 +03:00
Nick Cao 4aab8f1612
wlr-protocols: move wayland-scanner from checkInputs to
nativeBuildInputs, fix cross compilation
2022-08-13 20:11:43 +08:00
Artturin 44c0f78091 libraries/wlroots: enable strictDeps 2022-05-11 21:21:35 +03:00
Jonathan Ringer 06d4ae6800
wlroots_0_14: pin ffmpeg to 4.x 2022-02-05 13:02:42 -08:00
Jonathan Ringer e3281ae938
wlroots_0_15: pin ffmpeg to 4.x 2022-02-05 13:02:03 -08:00
R. Ryantm ac6b477499 wlroots: 0.15.0 -> 0.15.1 2022-02-04 12:19:55 +00:00
Nick Cao c9a5fc4be7
wlroots_0_15: move glslang to nativeBuildInputs 2022-01-26 16:32:51 +08:00
github-actions[bot] 2e421aaac4
Merge master into staging-next 2022-01-15 00:01:36 +00:00
Michael Weiss 297cb6514f
Merge pull request #153741 from primeos/nixos-tests-tinywl
nixos/tests/tinywl: init
2022-01-14 23:45:54 +01:00
Las Safin 41d9dfb619 meson: Remove 0.57, use 0.60 everywhere 2022-01-11 12:51:09 +00:00
Zhaofeng Li 4ea6bfadfb wlroots_0_12: drop
phoc was the last package that depended on this.
2022-01-09 10:40:37 -08:00
Michael Weiss e9efbc0bbb
nixos/tests/tinywl: init
This adds a very minimalistic (in terms of functionality and
dependencies) test for wlroots, Wayland, and related packages.

The Sway test covers more functionality and packages (e.g. XWayland) but
this test has tree advantages:
- Less dependencies: Much fewer rebuilds are required when testing core
  changes that need to go through staging.
- Testing wlroots updates: The Sway package isn't immediately updated
  after a new wlroots version is released and a lot of other packages
  depend on wlroots as well.
- Determining whether a bug only affects Sway or wlroots/TinyWL as well.
2022-01-06 17:31:57 +01:00
Michael Weiss 63d7ba609d
wlroots: 0.14.1 -> 0.15.0
Release notes: https://gitlab.freedesktop.org/wlroots/wlroots/-/tags/0.15.0
Only three reverse-dependencies are compatible with the new release so far.
2021-12-22 22:32:33 +01:00
Michael Weiss cc6c379322
wlroots_0_14: init at 0.14.1
0.14.nix is an exact copy of default.nix. This no-op change is made in
preparation of introducing wlroots 0.15.0 which would break most
reverse-dependencies.
2021-12-22 22:28:19 +01:00
Tom 3664cbde79 wlr-protocols: init at unstable-2021-11-01 2021-11-25 13:12:12 -08:00
Yureka ab63bfb36b wlroots: make xwayland optional 2021-10-20 11:37:04 +02:00
Michael Weiss 7632ba310e
wlroots: 0.14.0 -> 0.14.1 2021-07-08 17:57:37 +02:00
Michael Weiss 4c2b069b8f
wlroots: support cross-compilation 2021-07-03 15:48:13 +02:00
Michael Weiss da5f8ac977
wlroots_0_13: drop
We've now updated or patched all packages to use wlroots 0.14 (except
phoc which still depends on wlroots 0.12).
2021-06-26 18:33:06 +02:00
Alyssa Ross 5b2c57e316
seatd: rename from libseat; build binary too
"seatd" is the name of the upstream project, so it's the proper name
for the package containing both the binary and the library.
2021-06-25 10:35:57 +00:00
Michael Weiss 203c8edcda
wlroots: 0.13.0 -> 0.14.0
The new release comes with breaking changes so we temporarily introduce
wlroots_0_13 for packages that don't yet support wlroots 0.14.
For the rest of the packages the required upstream patches for this new
wlroots release are fetched (if feasible).
2021-06-24 22:15:17 +02:00
Vladimír Čunát 77549f4b75
wlroots_0_12: fixup build with ffmpeg-4.4
-Werror=deprecated-declarations is nice upstream but not in distro.
https://nix-cache.s3.amazonaws.com/log/cfmk2qkvck88qc002bvxzgsb2zc5b1h2-wlroots-0.12.0.drv
2021-05-15 11:07:47 +02:00
Dmitry Kalinkin 219590673c
Merge branch 'staging-next' into staging
Conflicts:
	pkgs/development/python-modules/panel/default.nix
	pkgs/os-specific/linux/kernel/generic.nix
	pkgs/servers/home-assistant/default.nix
2021-04-08 22:42:26 -04:00
Patrick Hilhorst c4976f3565
wlroots{,_0_12}: add synthetica (myself) as maintainer 2021-04-08 17:24:24 +02:00
Patrick Hilhorst e03dde82a7
wlroots: 0.12.0 -> 0.13.0
Pulls in an upstream patch for dwl. Explicitly takes xcbutilrenderutil
as an argument to avoid pulling in all of xorg.
2021-04-08 17:24:23 +02:00
Patrick Hilhorst 49299adf4e
wlroots_0_12: init at 0.12.0
Uses the old wlroots in places where the new one isn't yet compatible.

Co-authored-by: Alyssa Ross <hi@alyssa.is>
Co-authored-by: Michael Weiss <dev.primeos@gmail.com>
2021-04-08 17:23:20 +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
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Michael Weiss 19fda989f3
wlroots: 0.11.0 -> 0.12.0
The libseat session backend [0] will be disabled for now since NixOS
depends on systemd anyway (so we can use logind).
But if someone wants/requires libseat [1] and would maintain it in
Nixpkgs we could enable it.

[0]: https://github.com/swaywm/wlroots/pull/2364
[1]: https://sr.ht/~kennylevinsen/seatd/
2020-11-08 16:42:34 +01:00
Michael Weiss 6b188c1f08
wlroots: Fix the build by not copying the library to $examples
Copying libwlroots isn't required anymore since the library runpath
of the example binaries now correctly references $out/lib anyway.

Fix #95205.
2020-08-11 22:45:12 +02:00
Michael Weiss 369dcb9202
wlroots: 0.10.1 -> 0.11.0 2020-07-16 22:46:26 +02:00
zowoq 78e324d272 treewide: ffmpeg_4 -> ffmpeg 2020-06-16 18:23:14 -07:00
Michael Weiss e929b8af46
wlroots: 0.10.0 -> 0.10.1
I also added some minor improvements and removed unnecessary code.
2020-03-10 15:46:12 +01:00
Michael Weiss 0c9428188c
wlroots: 0.9.0 -> 0.10.0
Changelog: https://github.com/swaywm/wlroots/releases/tag/0.10.0
2020-01-22 21:36:31 +01:00
Michael Weiss ce6dd5eda2
wlroots: 0.9.0 -> 0.9.1
Changelog: https://github.com/swaywm/wlroots/releases/tag/0.9.1
2020-01-22 21:36:30 +01:00
Michael Weiss 1db77e58d0
wlroots: 0.8.1 -> 0.9.0
Changelog: https://github.com/swaywm/wlroots/releases/tag/0.9.0
2020-01-18 23:19:53 +01:00
Fabian Möller 320d6e3800
wlroots: fix build
add missing header that changed in mesa-19.2.2
2019-11-23 18:13:17 +01:00
Michael Weiss 02eca5f31e
wlroots: 0.8.0 -> 0.8.1
Changelog: https://github.com/swaywm/wlroots/releases/tag/0.8.1
2019-10-07 23:17:21 +02:00
Michael Weiss 1c32b7235d
wlroots: 0.7.0 -> 0.8.0
Changelog: https://github.com/swaywm/wlroots/releases/tag/0.8.0
2019-10-07 18:30:09 +02:00
Michael Weiss ad339e91c1
wlroots: 0.6.0 -> 0.7.0
Changelog: https://github.com/swaywm/wlroots/releases/tag/0.7.0
Rootston was removed for this release.
2019-08-27 11:32:09 +02:00
Jan Tojnar 5779747af4
wlroots: fix build with auto_features=enabled 2019-06-25 18:24:52 +02:00
Frederik Rietdijk f120248daf Merge staging-next into staging 2019-06-18 11:07:56 +02:00
Matthew Bauer 263f5891b6 treewide: mesa_noglu, mesa_drivers, libGL_driver -> mesa
Just use mesa for these to be more clear. Move these to aliases.nix
2019-06-17 14:43:18 -04:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00