The subject line says it all. It seems that Rust takes a long time to build. I’m not planning on using it, so how do I build gst-python w/o Rust?
Have you tried passing -v norust yet?
No. I didn’t see that in the list of variants. I’ll try that. Thanks!
Doesn’t work for me:
(py312) PS D:\GitClones\cerbero> .\cerbero-uninstalled build gst-python -v norust
Auto-detected MSYS2 install location as C:\msys64
usage: cerbero-uninstalled [-h] [-t] [--clocktime] [--list-variants] [-v VARIANTS] [-c CONFIG] [-m MANIFEST]
[--self-update SELF_UPDATE]
{add-package,add-recipe,fetch,fetch-package,bootstrap,fetch-bootstrap,buildone,build-deps,build,bundle-
source,fetch-cache,gen-cache,upload-cache,check,checkpackage,debug-packages,deps,edit-cache,genlibfiles,gensdkshell,genvsprops,gen
xcconfig,graph,packageinfo,list,list-packages,show-config,package,rdeps,run,shell,tag,wipe}
...
cerbero-uninstalled: error: unrecognized arguments: -v norust
Tried again. Seems to be working now.
(py312) PS D:\GitClones\cerbero> .\cerbero-uninstalled -v norust build gst-python-1.0
Auto-detected MSYS2 install location as C:\msys64
Build tools install prefix will be D:/GitClones/cerbero/build/build-tools
Building recipes with Visual Studio 2022 whenever possible
Install prefix will be D:/GitClones/cerbero/build/dist/msvc_x86_64
Building the following recipes: mingw-runtime libffi zlib pcre2 proxy-libintl glib gobject-introspection gstreamer-1.0 libogg libp
ng pixman expat bzip2 freetype libiconv fontconfig cairo fribidi harfbuzz pango libtheora libvorbis orc opus graphene libjpeg-turb
o gst-plugins-base-1.0 libass openh264 ca-certificates openssl librtmp libxml2 libsrtp libdca libnice soundtouch vo-aacenc openjpe
g tiff spandsp webrtc-audio-processing sbc ladspa srt zbar libltc qrencode json-glib svt-av1 x265-src x265-10bit x265-12bit x265 f
rei0r-plugins webview2 directx-headers svt-jpeg-xs gst-plugins-bad-1.0 gst-rtsp-server-1.0 pycairo pygobject gst-python-1.0
Building using 4 job(s) with the following job subdivisions: 4 general job(s)
[(1/63) mingw-runtime -> already built]
[```
Maybe the README.md should be modified to describe how to disable a variant? Something like:
Disable a variant with -v no<variant name>
The README says:
Please feel free to submit a merge request against the README to improve it.
I must admit that I didn’t see that line. ![]()
I only noticed it after I forked the repos and went to edit the README.
Alright, let’s try and improve the docs a little then: README: make it clearer how to disable variants (!1960) · Merge requests · GStreamer / cerbero · GitLab
1 Like