how to build 1.8 ignoring subprojects?
I'm trying to build gnome-subtitles 1.8 with meson for Fedora, without the bundled bits (gtk-sharp + gst_sharp) , but stuck here:
/usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build -Dinstall_gtk_sharp=False -Dinstall_gst_sharp=False --wrap-mode=nodownload
The Meson build system
Version: 0.63.1
Source dir: /builddir/build/BUILD/gnome-subtitles-1.8
Build dir: /builddir/build/BUILD/gnome-subtitles-1.8/redhat-linux-build
Build type: native build
Project name: gnome-subtitles
Project version: 1.8
C sharp compiler for the host machine: mcs (mono 6.12.0.182)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency mono found: YES 6.12.0.182
Run-time dependency gtk+-3.0 found: YES 3.24.34
Run-time dependency gstreamer-1.0 found: YES 1.20.3
Run-time dependency gstreamer-video-1.0 found: YES 1.20.3
Run-time dependency gstreamer-plugins-base-1.0 found: YES 1.20.3
Run-time dependency gstreamer-pbutils-1.0 found: YES 1.20.3
**meson.build:17:0: ERROR: Automatic wrap-based subproject downloading is disabled**
A full log can be found at /builddir/build/BUILD/gnome-subtitles-1.8/redhat-linux-build/meson-logs/meson-log.txt
error: Bad exit status from /var/tmp/rpm-tmp.rYOzR0 (%build)
Bad exit status from /var/tmp/rpm-tmp.rYOzR0 (%build)
RPM build errors:
Finish: rpmbuild gnome-subtitles-1.8-1.fc38.src.rpm
Finish: build phase for gnome-subtitles-1.8-1.fc38.src.rpm
Meson build command I'm using: %meson -Dinstall_gtk_sharp=False -Dinstall_gst_sharp=False --wrap-mode=nodownload
FYI Fedora already updated gtk-sharp -> gtk-sharp3-3.22.2-2.20220808git3.22.2.fc38.x86_64
I'm not sure if I'm using the right options to ignore bundled bits OR if meson build config are not respecting the false value?
Edited by Andre Klapper