These are the commands needed (for me) to run the font manager binaries from a freshly installed ubuntu 22.04LTS with minimum packages. All needed packages and tools should be installed by the commands below.
sudo apt install git curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
you might need to restart your shell to get the correct paths. Check if cargo
seems to work.
sudo apt install gcc g++ pkg-config
sudo apt install libglib2.0-0 libglib2.0-dev libpango1.0-dev libgdk-pixbuf2.0-dev libgtk-4-dev
sudo apt install ttf-mscorefonts-installer
git clone https://github.com/gosub-io/poc-font-manager.git
cd poc-font-manager
cargo build --workspace
cargo run --bin display-fonts
If you have a GUI running, you can test the gtk applicaiton:
cargo run --bin gtk-test