Build fails with Meson 0.62
I tried to build the project with Meson 0.62 and it failed with the following output:
The Meson build system
Version: 0.62.0
Source dir: /home/cosmin/projects/gitlab.gnome.org/World/Social
Build dir: /home/cosmin/projects/gitlab.gnome.org/World/Social/_build
Build type: native build
Project name: gnome-social
Project version: 0.1.0
Rust compiler for the host machine: rustc -C linker=cc (rustc 1.59.0)
Rust linker for the host machine: rustc -C linker=cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.72.0
Run-time dependency gio-2.0 found: YES 2.72.0
Run-time dependency gtk4 found: YES 4.6.2
Run-time dependency libhandy-1 found: YES 1.5.91
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Configuring org.gnome.Social.desktop.in using configuration
data/meson.build:8:5: ERROR: Function does not take positional arguments.
I saw the same issue for another project and I think we could apply the same solution.
Edited by Cosmin Humeniuc