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
chromium: add useOzone and 'chromiumOzone' variant #61008
Conversation
@colemickens This is a replacement for #50486? |
@gnidorah yes. |
0e9a67f
to
1628669
Compare
Chromium Ozone is not in a perfect position yet, but we can go ahead and merge this so other folks can use and test, etc. |
cc: @volth can you review this? |
@@ -21,11 +21,13 @@ | |||
# optional dependencies | |||
, libgcrypt ? null # gnomeSupport || cupsSupport | |||
, libva ? null # useVaapi | |||
, libxkbcommon, libdrm, wayland # useOzone |
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.
Do I need to ? null
all of these too?
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.
Since they are used in the chromiumOzone build they should be not null.
To disable the hydra build, one need to set |
Mhm. I think broke evaluation with my merge:
|
cc @zimbatm as a wayland user. |
|
a3e28ab
to
ded3a32
Compare
I rebased. It starts building, but I don't have CPU available right now to build. I didn't fix the hydra building part yet. |
Actually, since the Ozone build uses the dev channel, it's already excluded from hydra. Should be okay to review again. |
Dropping this as I don't plan to pursue it. For now I plan to build my own chromium in |
@colemickens Is the ozone build somewhat usable? Would you mind pointing me to how I can get a nixpkgs-wayland setup working? |
Motivation for this change
Since I did this, apparently talked about it on HN, and someone asked in IRC, I figured I'd send this.
This adds a new chromium variant that enables Ozone and builds relevant ozone backends.
Last time I built it, it wasn't really usable due to where upstream is at with Wayland support. Furthermore, the HiDPI handling is pretty completely broken still.
NOTE: I could use some advice on how to instruct Hydra to not build this.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)