Skip to content
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: Switch from PipeWire 0.2 to the current 0.3.x releases #114979

Merged
merged 1 commit into from Mar 11, 2021

Conversation

primeos
Copy link
Member

@primeos primeos commented Mar 3, 2021

This should hopefully make it work more reliable and support additional
features like window sharing. See 0 for more details.

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

This should make it work more reliable and support additional features
like window sharing. See [0] for more details.

[0]: https://jgrulich.cz/2020/12/18/webrtc-chromium-updates-in-2020/
@primeos primeos self-assigned this Mar 4, 2021
@primeos
Copy link
Member Author

primeos commented Mar 4, 2021

I could successfully use screen sharing but I also realized that this should break ungoogled-chromium so I'll merge this after they've updated to M89 as well.

@@ -161,7 +161,7 @@ in stdenv.mkDerivation {

buildCommand = let
browserBinary = "${chromiumWV}/libexec/chromium/chromium";
libPath = lib.makeLibraryPath [ libva pipewire_0_2 ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we do not have any other use for pipewire_0_2 it should go.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a quick git-grep it looks like Mutter still requires it:

pkgs/desktops/gnome-3/core/mutter/3.34/default.nix:, pipewire_0_2
pkgs/desktops/gnome-3/core/mutter/3.34/default.nix:    pipewire_0_2 # TODO: backport pipewire 0.3 support

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @jtojnar is this still the case?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, the old version of Mutter used by Pantheon uses 0.2. The current version used by GNOME uses 0.3, obviously.

@primeos
Copy link
Member Author

primeos commented Mar 11, 2021

With #115781 merged this is now ready :)

@primeos primeos marked this pull request as ready for review March 11, 2021 10:29
@primeos primeos merged commit dc8eacf into NixOS:master Mar 11, 2021
@collares collares mentioned this pull request Apr 1, 2021
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants