Skip to content

Commit

Permalink
chore: missing fontconfig dep added in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
skoupidi committed Jan 6, 2025
1 parent 4980aa6 commit febbb3e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: |
pip install ghp-import
pip install prettytable
sudo apt -y install make wget libasound2-dev wabt
sudo apt -y install make wget libasound2-dev libfontconfig1-dev wabt
wget "https://github.com/badboy/mdbook-toc/releases/download/0.14.1/mdbook-toc-0.14.1-x86_64-unknown-linux-gnu.tar.gz"
wget "https://github.com/lzanini/mdbook-katex/releases/download/v0.5.7/mdbook-katex-v0.5.7-x86_64-unknown-linux-gnu.tar.gz"
wget "https://github.com/badboy/mdbook-mermaid/releases/download/v0.12.6/mdbook-mermaid-v0.12.6-x86_64-unknown-linux-gnu.tar.gz"
Expand Down
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,28 @@ Minimum Rust version supported is **1.77.0 (nightly)**.

The following dependencies are also required:

| Dependency | Debian-based |
|----------------|------------------|
| git | git |
| cmake | cmake |
| make | make |
| gcc | gcc |
| g++ | g++ |
| pkg-config | pkg-config |
| alsa-lib | libasound2-dev |
| clang | libclang-dev |
| openssl | libssl-dev |
| sqlcipher | libsqlcipher-dev |
| sqlite3 | libsqlite3-dev |
| wabt | wabt |
| Dependency | Debian-based |
|----------------|--------------------|
| git | git |
| cmake | cmake |
| make | make |
| gcc | gcc |
| g++ | g++ |
| pkg-config | pkg-config |
| alsa-lib | libasound2-dev |
| clang | libclang-dev |
| fontconfig | libfontconfig1-dev |
| openssl | libssl-dev |
| sqlcipher | libsqlcipher-dev |
| sqlite3 | libsqlite3-dev |
| wabt | wabt |

Users of Debian-based systems (e.g. Ubuntu) can simply run the
following to install the required dependencies:

```shell
# apt-get update
# apt-get install -y git cmake make gcc g++ pkg-config libasound2-dev libclang-dev libssl-dev libsqlcipher-dev libsqlite3-dev wabt
# apt-get install -y git cmake make gcc g++ pkg-config libasound2-dev libclang-dev libfontconfig1-dev libssl-dev libsqlcipher-dev libsqlite3-dev wabt
```

Alternatively, users can try using the automated script under `contrib`
Expand Down
2 changes: 1 addition & 1 deletion contrib/dependency_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ setup_mac() {
}

setup_apt() {
apt_deps="git cmake make gcc g++ pkg-config libasound2-dev libclang-dev libssl-dev libsqlcipher-dev libsqlite3-dev wabt"
apt_deps="git cmake make gcc g++ pkg-config libasound2-dev libclang-dev libfontconfig1-dev libssl-dev libsqlcipher-dev libsqlite3-dev wabt"
$1 install $apt_deps || return 1
}

Expand Down

0 comments on commit febbb3e

Please sign in to comment.