-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sway: 1.5 -> 1.6; wlroots: 1.12 -> 1.13 #116544
Conversation
Seems to build and run fine here. A few new dependencies were added, I just naively added them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also run nixpkgs-review
and investigate broken builds (e.g. by backporting patches, switching to a newer release, looking at issue trackers, etc.)?
Other than that it looks good.
For wayfire/hikari/etc fixes try extracting from freebsd/freebsd-ports@70148c1 |
Sway 1.6 also seems to fix an issue I was having with firefox, which is a nice plus |
@SuperSandro2000 What's the recommended way to fetch multiple commits from a PR that hasn't been merged yet? (cage-kiosk/cage#174) |
@berbiche see 732cd86 |
I think that's unfortunately a bit of a problem without a good solution (PRs are mutable so we cannot use them directly and even fetching the commits before they're merged is far from ideal as they could disappear / become GCed, e.g. if the PR branch will be rebased). For past wlroots updates I've kindly pinged the maintainers to e.g. merge such PRs. If that doesn't work it's probably best to keep wlroots 1.12 in Nixpkgs for some time (we're already doing this with some other packages). |
Okay, I see you pinged the maintainers. Since this is not yet ready to be merged anyways I'll keep it as is for now, I'll use the merge commit when that appears on master. |
GCed commits is usually not a problem with github and is far less likely than a changed pr. |
@alyssais I tried to override wlroots for wayfire and wcm, but I couldn't get it through the plugin system, any pointers? |
I pushed a small cleanup to the Wayfire override.
This is all going to be squashed a bit before being merged, right?
|
Yeah, I'll do a rebase to group relevant commits together at least, maybe a full squash if requested. |
https://github.com/swaywm/sway/releases/tag/1.6 |
Way ahead of you 😉 |
@primeos I think two things remain:
|
@Synthetica9 yes, I'd pin cage to wlroots 0.12 (we can always look at that later, outside of this PR) and squash the RCs together. Regarding squashing I'd do the following (IIRC that's how I handled it in the past but that is open for discussion if you don't like it):
|
e5803eb
to
6dd142b
Compare
I think this PR is ready to be merged :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it LGTM now, thanks a lot! We mainly need to re-add recurseIntoAttrs
for Wayfire (s. below).
nixpkgs-review
result:
1 package added:
wlroots_0_12 (init at 0.12.0)
11 packages updated:
dwl fuzzel sway-contrib.grimshot (1.5.1 → 1.6) labwc (2021-02-06 → 2021-03-15) qt-video-wlr sway (1.5.1 → 1.6) sway-contrib.inactive-windows-transparency (1.5.1 → 1.6) sway-unwrapped (1.5.1 → 1.6) waybar wbg-unstable wlroots (0.12.0 → 0.13.0)
3 packages removed:
wayfire (†0.7.0) wcm (†0.7.0) wf-shell (†0.7.0)
12 packages built:
dwl fuzzel labwc qt-video-wlr sway sway-contrib.grimshot sway-contrib.inactive-windows-transparency sway-unwrapped waybar wbg wlroots wlroots_0_12
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>
Pulls in an upstream patch for dwl. Explicitly takes xcbutilrenderutil as an argument to avoid pulling in all of xorg.
Co-authored-by: Michael Weiss <dev.primeos@gmail.com>
Needed for wlroots 0.13.0 Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, very well done!
I've briefly tested sway
, dwl
, and labwc
on my old desktop PC. nixpkgs-review
result:
1 package added:
wayfireApplications-unwrapped.wlroots (init at 0.12.0)
11 packages updated:
dwl fuzzel sway-contrib.grimshot (1.5.1 → 1.6) labwc (2021-02-06 → 2021-03-15) qt-video-wlr sway (1.5.1 → 1.6) sway-contrib.inactive-windows-transparency (1.5.1 → 1.6) sway-unwrapped (1.5.1 → 1.6) waybar wbg-unstable wlroots (0.12.0 → 0.13.0)
12 packages built:
dwl fuzzel labwc qt-video-wlr sway sway-contrib.grimshot sway-contrib.inactive-windows-transparency sway-unwrapped waybar wayfireApplications-unwrapped.wlroots wbg wlroots
Should be resolved now (GH doesn't handle that automatically)
Motivation for this change
Tracking PR for Sway 1.6, first RC just landed: https://github.com/swaywm/sway/releases/tag/1.6-rc1
EDIT 2021-03-24: Next RC landed https://github.com/swaywm/sway/releases/tag/1.6-rc2
EDIT: 2021-04-07: Final version of wlroots 0.13 landed. https://github.com/swaywm/wlroots/releases/tag/0.13.0
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)