Change:
We've temporarily introduced as part of to avoid breaking some reverse dependencies. The affected attributes should switch to when possible (usually a new upstream release). There's no hurry but let's use this issue to track the current progress. : [x] phoc [x] cage (): [x] hikari ( and ): [x] waybox (): [x] wayfire (supported since ): [x] wio (, turns out the pending patches on the ML should fix the build with wlroots 0.13): [x] cagebreak ( and additional commits): () : [x] sway: [x] hikari (downstream patches: ): [x] wio (, send via git-send-email to ):
cage: was just merged, do we want to: until a next release it using the now-merged patch the latest version from master
I think waiting for the next release is the best option for now (we're in no hurry). For some other packages that are already based on commits instead of releases there's no need to wait if the package maintainers deem a newer version stable (in that case I'd leave it up to the package maintainers).
(though I hope that doesn't have the same problems as cage)
(kinda flew under the radar for me, but it happened!)
Don't we want to split this issue up per version? It seems like we're always gonna have a handful of wlroots versions around, would be nice if we could close those issues individually instead of having one perpetually open issue
I thought about that too but I was hoping we can close this before the next wlroots release. is the main blocker, should be fairly easy to drop (I'm waiting for patches and, if necessary, I might be able to patch again but I might also mark it as broken instead (until there's a maintained fork) as I don't intend to do that every release).
I have merely made a new fork for wio outside SourceHut, but me myself do not plan to maintain it alone.
in that case we should eventually drop it from Nixpkgs, at least IMO. I had some time yesterday so I've sent you a patch for wlroots 0.14 (, tested with ).
I have patched it on my particular fork
Phoc 0.11.0 was released targeting wlroots 0.14.0 (), so this can finally be closed.

Discussion:
url = "https://gitlab.alpinelinux.org/alpine/aports/-/raw/78fde4aaf1a74eb13a3f083cb6dfb29f578c3265/community/wlroots/0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch"; sha256 = "1zjn7mwdj21z0jsc2mz90cnrzk97yqkiq58qqgpjav4h4dgpfb38"; }) <del> # To fix missing header `EGL/eglmesaext.h` dropped upstream (fetchpatch { name = "0002-stop-including-eglmesaext-h.patch"; url = "https://github.com/swaywm/wlroots/commit/e18599b05e0f0cbeba11adbd489e801285470eab.patch"; sha256 = "17ax4dyk0584yhs3lq8ija5bkainjf7psx9c9r50cr4jm9c0i37l"; }) </del> # xwayland: Allow to retrieve _NET_STARTUP_ID (fetchpatch {

}); in stdenv.mkDerivation rec { pname = "phoc"; <del> version = "0.9.0"; </del> <ins> version = "0.11.0"; </ins> src = fetchFromGitLab { domain = "gitlab.gnome.org";

owner = "Phosh"; repo = pname; rev = "v${version}"; <del> sha256 = "sha256-qd1ZETM2/AjU5nKQIqh0Q+SboLNr+NncvSHgLv2S3KI="; </del> <ins> sha256 = "sha256-oUZtJzclVRSbLG3flF3ryLuvp1kPUtYNsmCG0csSC2A="; </ins> }; nativeBuildInputs = [

description = "Wayland compositor for mobile phones like the Librem 5"; homepage = "https://gitlab.gnome.org/World/Phosh/phoc"; license = licenses.gpl3Plus; <del> maintainers = with maintainers; [ archseer masipcat zhaofengli ]; </del> <ins> maintainers = with maintainers; [ masipcat zhaofengli ]; </ins> platforms = platforms.linux; }; }

<del> { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland , libGL, wayland-protocols, libinput, libxkbcommon, pixman , xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa , libpng, ffmpeg }: # Fixed version derivation. # nixpkgs-update: no auto update stdenv.mkDerivation rec { pname = "wlroots"; version = "0.12.0"; src = fetchFromGitHub { owner = "swaywm"; repo = "wlroots"; rev = version; sha256 = "01j38lmgs2c6fq68v8b75pkilia2wsgzgp46ivfbi9hhx47kgcfn"; }; # $out for the library and $examples for the example programs (in examples): outputs = [ "out" "examples" ]; nativeBuildInputs = [ meson ninja pkg-config wayland ]; buildInputs = [ libGL wayland wayland-protocols libinput libxkbcommon pixman xcbutilwm libX11 libcap xcbutilimage xcbutilerrors mesa libpng ffmpeg ]; mesonFlags = [ "-Dlogind-provider=systemd" "-Dlibseat=disabled" ]; CFLAGS = "-Wno-error=deprecated-declarations"; postFixup = '' # Install ALL example programs to $examples: # screencopy dmabuf-capture input-inhibitor layer-shell idle-inhibit idle # screenshot output-layout multi-pointer rotation tablet touch pointer # simple mkdir -p $examples/bin cd ./examples for binary in $(find . -executable -type f -printf '%Pn' | grep -vE '.so'); do cp "$binary" "$examples/bin/wlroots-$binary" done ''; meta = with lib; { description = "A modular Wayland compositor library"; longDescription = '' Pluggable, composable, unopinionated modules for building a Wayland compositor; or about 50,000 lines of code you were going to write anyway. ''; inherit (src.meta) homepage; changelog = "https://github.com/swaywm/wlroots/releases/tag/${version}"; license     = licenses.mit; platforms   = platforms.linux; maintainers = with maintainers; [ primeos synthetica ]; }; } </del>

philter = callPackage ../tools/networking/philter { }; phoc = callPackage ../applications/misc/phoc { <del> wlroots = wlroots_0_12; </del> <ins> wlroots = wlroots_0_14; </ins> }; phodav = callPackage ../tools/networking/phodav { };

}; wlroots = wlroots_0_15; <del> wlroots_0_12 = callPackage ../development/libraries/wlroots/0.12.nix {}; </del> wlroots_0_14 = callPackage ../development/libraries/wlroots/0.14.nix { inherit (xorg) xcbutilrenderutil; };