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

vlc: add protobuf for chromecast support! #53184

Closed
wants to merge 1 commit into from

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Jan 2, 2019

Motivation for this change

Easy dependency and now I can use vlc to cast media! \o/

Some caveats:

  • Firewall needs ports opened, looks like 8010 was used?
    but I haven't chased that down re:config or if it varies.
  • May not work without newer gnutls, but I'll check that shortly
  • I didn't get scanning working but maybe I'm doing something wrong.
    Instead you can specify via argument like so:
$ cvlc --sout="#chromecast{ip=192.168.XX.YY}"

(or nvlc or w/e, and actual IP)

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@dtzWill
Copy link
Member Author

dtzWill commented Jan 2, 2019

Oh, I think this might depend on #53164 , whoops sorry.

@@ -39,7 +40,7 @@ stdenv.mkDerivation rec {
libkate libtiger libv4l samba liboggz libass libdvbpsi libva
xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms
libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate
fluidsynth wayland wayland-protocols
fluidsynth wayland wayland-protocols protobuf
Copy link
Member

Choose a reason for hiding this comment

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

nativeBuildInputs maybe because protoc is executed at build time?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea, unsure. It does retain a dep via libtool files it looks like?

$ PAGER= nix why-depends -f . vlc protobuf --all                                                       14:33:09 on 19-01-02
/nix/store/a7y3ssv1dmv4dhv2qjxczybjr3ia1ds0-vlc-3.0.5
╚═══lib/vlc/plugins/stream_out/libstream_out_chromecast_plugin.la: … -lpthread -lsystemd /nix/store/bscqmp3iisv2liwa7gdrnvs9paixak6a-protobuf-3.6.1/lib/libprotobuf-…
    lib/vlc/plugins/stream_out/libstream_out_chromecast_plugin.so: …dbus-1.12.12-lib/lib:/nix/store/bscqmp3iisv2liwa7gdrnvs9paixak6a-protobuf-3.6.1/lib:/nix/store/b…
    => /nix/store/bscqmp3iisv2liwa7gdrnvs9paixak6a-protobuf-3.6.1

Copy link
Member

Choose a reason for hiding this comment

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

ok. Probably it would be both in the cross-compiling case then.

@worldofpeace
Copy link
Contributor

Oh, I think this might depend on #53164 , whoops sorry.

I'd just cherry-pick it here.

@flokli
Copy link
Contributor

flokli commented Mar 30, 2019

This seems to be superseded by #58588.

@flokli flokli closed this Mar 30, 2019
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

5 participants