I am trying to install the Cantarell font Software from GNU. I am running a Macbook Air M1 with Monterey 12.5.
They provide instructions:
python3 -m venv venv
. venv/bin/activate # Unixoids...
venv/Scripts/activate # ...or on Windows cmd.exe or PowerShell
pip3 install meson ninja # Unless already present on system.
pip3 install -r requirements.txt
meson build
ninja -C build install
I tried to replicate:
pedro@Pedros-MacBook-Air ~ % python3 -m venv venv
pedro@Pedros-MacBook-Air ~ % . venv/bin/activate
(venv) pedro@Pedros-MacBook-Air ~ % pip3 install meson ninja
Requirement already satisfied: meson in ./venv/lib/python3.8/site-packages (0.63.0)
Requirement already satisfied: ninja in ./venv/lib/python3.8/site-packages (1.10.2.3)
(venv) pedro@Pedros-MacBook-Air ~ % pip3 install -r requirements.txt
(venv) pedro@Pedros-MacBook-Air ~ % meson build
ERROR: Neither directory contains a build file meson.build.
(venv) pedro@Pedros-MacBook-Air ~ % ninja -C build install
ninja: Entering directory `build'
ninja: error: loading 'build.ninja': No such file or directory
(venv) pedro@Pedros-MacBook-Air ~ %
It is not working. Are there better instructions for using this font face on macOS?
;;;; UPDATE
@Riley4067440653 is trying to help and gave great suggestions.
Things were going well until meson build:
(venv) Pedros-MacBook-Air:cantarell-fonts-master pedro$ meson build
The Meson build system
Version: 0.63.0
Source dir: /Users/pedro/Downloads/cantarell-fonts-master
Build dir: /Users/pedro/Downloads/cantarell-fonts-master/build
Build type: native build
Project name: cantarell-fonts
Project version: 0.303
Host machine cpu family: aarch64
Host machine cpu: arm64
Program python3 found: YES (/Users/pedro/Downloads/cantarell-fonts-master/venv/bin/python3)
Program psautohint found: YES (/Users/pedro/Downloads/cantarell-fonts-master/venv/bin/psautohint)
Program msgfmt found: NO
appstream/meson.build:3:0: ERROR: Program 'msgfmt' not found or not executable
A full log can be found at /Users/pedro/Downloads/cantarell-fonts-master/build/meson-logs/meson-log.txt
Also, I cannot find the recommended path.There is no usr/local/share, only user/local/bin:
(venv) Pedros-MacBook-Air:local pedro$ pwd
/usr/local
(venv) Pedros-MacBook-Air:local pedro$ ls -1
bin
Not only on the virtual env created but also on the "real env" created, there is not the recommended path of usr/local/share, only user/local/bin:
Pedros-MacBook-Air:local pedro$ pwd
/usr/local
Pedros-MacBook-Air:local pedro$ ls -1
bin