Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport mach bootstrap-gstreamer on Windows #25335
Comments
|
gstreamer packaging logic is in servo/python/servo/build_commands.py Line 811 in b49e74b |
|
Further investigation shows that https://github.com/servo/servo/blob/master/python/servo/command_base.py#L247 is the source trying to locate gstreamer. Actuall installing GStreamer set If I manage to install the msi's directly to Edit: Note for further documentation/trouble shooting:
Edit2: Edit3: servo/python/servo/command_base.py Line 259 in b49e74b |
Currently installing gstreamer is a bit tedious on Windows:
Multiple msi's have to be installed, a package manager (chocolatey) has to be installed or pkg-conf-lite has to be installed manually and the paths have to be adjusted.
In my case, GStreamer was suggesting me E:\gstreamer as installation location, which is where pkg-config isn't looking. In fact it only seemed to look in it's own directory (provided servo doesn't pass a custom hardcoded path to where GStreamer usually lands, I suspect C:\gstreamer).
This is the script I used to install pkg-config into
.servo/msvc-dependencies, which would be Pull Request one: Adding this to mach as well as properly outputting an error when os != linux (and windows, so soon: when os == mac), because right now,mach bootstrap-gstreamerdoesn't output anything when not on Linux.This made servo build using
PATH=$PATH:~/.cargo/bin:$(pwd)/.servo/msvc-dependencies/pkg-config/bin PKG_CONFIG_PATH="/e/gstreamer/1.0/x86_64/lib/pkgconfig" mach build -dSo far so good, but then I hit
Which is something mach does, I have to look into where it tries to locate GStreamer and why and how we could do that when installing gstreamer into msvc-dependencies (Or look in the PKG_CONFIG_PATH)