Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/gtk4-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: GTK4 Test Suite

on:
push:
pull_request:

jobs:
test-gtk4:
name: Test (GTK4)
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
python3-gi python3-gi-cairo gir1.2-gtk-4.0 gir1.2-vte-2.91 libvte-2.91-0 xvfb

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install pytest

- name: Run tests under Xvfb
run: |
xvfb-run -s "-screen 0 1280x1024x24" pytest -q
14 changes: 8 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,17 @@ dependencies yourself:

**Python 3.5+ recommended:** `python3` or `python37` (in FreeBSD)

**Python GTK and VTE bindings:**
**Python GTK and VTE bindings (GTK4):**

Fedora/CentOS: python3-gobject python3-configobj python3-psutil vte291
keybinder3 intltool gettext
Debian/Ubuntu: python3-gi python3-gi-cairo python3-psutil python3-configobj
gir1.2-keybinder-3.0 gir1.2-vte-2.91 gettext intltool dbus-x11
FreeBSD: py37-psutil py37-configobj keybinder-gtk3 py37-gobject3 gettext
Fedora/CentOS: python3-gobject python3-configobj python3-psutil gir1.2-gtk-4.0 \
gir1.2-vte-2.91 libvte-2.91-0 keybinder3 intltool gettext
Debian/Ubuntu: python3-gi python3-gi-cairo python3-psutil python3-configobj \
gir1.2-gtk-4.0 gir1.2-keybinder-3.0 gir1.2-vte-2.91 gettext intltool dbus-x11
FreeBSD: py37-psutil py37-configobj keybinder-gtk4 py37-gobject3 gettext \
intltool libnotify vte3

Note: GTK4 and VTE packages vary between distributions; ensure `gir1.2-gtk-4.0` and `gir1.2-vte-2.91` (or your distro equivalent) are available.

If you don't care about native language support or icons, Terminator
should run just fine directly from this directory, just:

Expand Down
Loading