From e9869db82be1d75aa406cb443c52c86fc544ea0d Mon Sep 17 00:00:00 2001 From: deepend Date: Wed, 18 Feb 2026 13:12:40 -0700 Subject: [PATCH] Updated the macOS GitHub Actions dependency-install step to add a fallback installer for gtk-mac-bundler when neither the CLI executable nor the Python module is already available. The fallback downloads the upstream tarball, extracts it, and runs make install so osx/makebundle.sh can proceed in CI. --- .github/workflows/macos-build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index 8c0a2760..43b8b5dc 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -27,6 +27,14 @@ jobs: hicolor-icon-theme glib dbus \ enchant gtk-mac-integration + if ! command -v gtk-mac-bundler >/dev/null 2>&1 && ! python3 -c 'import gtk_mac_bundler' >/dev/null 2>&1; then + curl -fsSL https://codeload.github.com/jralls/gtk-mac-bundler/tar.gz/refs/heads/master -o /tmp/gtk-mac-bundler.tar.gz + rm -rf /tmp/gtk-mac-bundler + mkdir -p /tmp/gtk-mac-bundler + tar -xzf /tmp/gtk-mac-bundler.tar.gz -C /tmp/gtk-mac-bundler --strip-components=1 + (cd /tmp/gtk-mac-bundler && make install) + fi + - name: Configure run: | set -eux