From 32f7a4c71473ddf290dfd49b6652a8a4de89c305 Mon Sep 17 00:00:00 2001 From: Funami580 <63090225+Funami580@users.noreply.github.com> Date: Sat, 26 Mar 2022 17:02:20 +0000 Subject: [PATCH] Updated installation guide (Arch and macOS), updated CI for coherence (#42) * Installation guide: update Arch installation instructions * Installation guide: add Python to macOS installation * Update CI for macOS * Minor orthographic fix Co-authored-by: Funami580 Co-authored-by: CoffeeStraw --- .github/workflows/ci.yml | 2 +- docs/source/quick start.rst | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf64edcd..6cc7f4d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,7 @@ jobs: sudo apt-get install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0 python3-gi python3-gi-cairo - name: Install platform-specific requirements (macOS) # Note: brew is very slow sometimes. TODO: speedup brew by using caching. if: matrix.os == 'macos-latest' - run: brew install pygobject3 gtk+3 cairo py3cairo pkg-config + run: brew install python py3cairo pygobject3 pango - name: Install fonts (non-Windows) if: matrix.os != 'windows-latest' diff --git a/docs/source/quick start.rst b/docs/source/quick start.rst index ee94697a..38db995c 100644 --- a/docs/source/quick start.rst +++ b/docs/source/quick start.rst @@ -56,13 +56,20 @@ Installation .. dropdown:: Arch Linux :title: font-weight-bold - ⚠️Warning: The first of the following commands is not well tested. If you run into any problems, please create an issue or refer to the `official installation guide `_. + `AUR package: `_ + + .. code-block:: sh + :emphasize-lines: 1 + + paru -S python-pyonfx + + Manual installation: .. code-block:: sh :emphasize-lines: 1,2 - sudo pacman -S python python-pip cairo pkgconf gobject-introspection python-gobject gtk3 - python3 -m pip install --upgrade pyonfx + sudo pacman -S --needed python python-pip python-cairo python-gobject pango + python -m pip install --upgrade pyonfx .. dropdown:: OpenSUSE :title: font-weight-bold @@ -85,7 +92,7 @@ Installation .. code-block:: sh :emphasize-lines: 1,2 - brew install pygobject3 gtk+3 cairo py3cairo pkg-config + brew install python py3cairo pygobject3 pango python3 -m pip install --upgrade pyonfx ⚠️Warning: If you experience output not rendered correctly, you might need to change the PangoCairo backend to fontconfig.