I might be wrong, having no experience with Meson, but I think the culprit is in `schemas/meson.build` file. There is the second line, where the `jq` command is used to lookup `"settings-schema"` section in the `metadata.json` file, but there is not such section. This results in `null.gschema.xml` filename which not surprisingly does not exist.

Is that your attempt to convert to Meson? Because I can't see files such as `schemas/meson.build` in upstream repository.


Vít


Dne 24. 03. 23 v 16:57 Martin Gansser napsal(a):
Hi,

I would like to compile the gnome extension netspeed [1] with meson, but 
unfortunately I cannot.

If I compile the software with the following command:

/usr/bin/meson setup --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

I get the error message:

The Meson build system
Version: 1.0.1
Source dir: /home/martin/rpmbuild/BUILD/gnome-shell-extension-netspeed-32
Build dir: 
/home/martin/rpmbuild/BUILD/gnome-shell-extension-netspeed-32/redhat-linux-build
Build type: native build
Project name: gnome-shell-extension-netspeed
Project version: 32
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program sh found: YES (/usr/bin/sh)
Program jq found: YES (/usr/bin/jq)
WARNING: You should add the boolean check kwarg to the run_command call.
          It currently defaults to false,
          but it will default to true in future releases of meson.
          See also: https://github.com/mesonbuild/meson/issues/9300

schemas/meson.build:6:0: ERROR: File null.gschema.xml does not exist.

A full log can be found at 
/home/martin/rpmbuild/BUILD/gnome-shell-extension-netspeed-32/redhat-linux-build/meson-logs/meson-log.txt

[1] 
https://martinkg.fedorapeople.org/Sources/gnome-shell-extension-netspeed-32.tar.gz

thanks for any help

Martin
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to