Skip to content

Commit 0823c0a

Browse files
authored
Merge pull request #84 from pkgforge-dev/feature/glfw
sunset glfw builds
2 parents 016d91d + 2654fe7 commit 0823c0a

File tree

3 files changed

+8
-65
lines changed

3 files changed

+8
-65
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,17 @@ jobs:
2121
actions: read
2222
security-events: write
2323
contents: write
24-
name: 👻 Build Ghostty (${{ matrix.arch }}) ${{ matrix.glfw == true && '(glfw)' || '' }}
24+
name: 👻 Build Ghostty (${{ matrix.arch }})
2525
runs-on: ${{ matrix.runs-on }}
2626
strategy:
2727
matrix:
2828
include:
2929
- arch: aarch64
3030
platform: linux/arm64
3131
runs-on: ubuntu-24.04-arm
32-
glfw: false
3332
- arch: x86_64
3433
platform: linux/amd64
3534
runs-on: ubuntu-24.04
36-
glfw: false
37-
- arch: aarch64
38-
platform: linux/arm64
39-
runs-on: ubuntu-24.04-arm
40-
glfw: true
41-
- arch: x86_64
42-
platform: linux/amd64
43-
runs-on: ubuntu-24.04
44-
glfw: true
4535
container:
4636
image: ghcr.io/pkgforge-dev/archlinux:latest
4737
steps:
@@ -78,13 +68,11 @@ jobs:
7868
echo "tip" > VERSION
7969
fi
8070
./build.sh
81-
env:
82-
GLFW: ${{ matrix.glfw }}
8371
8472
- name: Upload AppImage Artifacts
8573
uses: actions/upload-artifact@v4
8674
with:
87-
name: ghostty-appimage-${{ matrix.arch }}${{ matrix.glfw == true && '-glfw' || '' }}
75+
name: ghostty-appimage-${{ matrix.arch }}
8876
retention-days: 7
8977
path: /tmp/ghostty-build/Ghostty*-${{ matrix.arch }}.AppImage*
9078

@@ -136,14 +124,6 @@ jobs:
136124
with:
137125
name: ghostty-appimage-x86_64
138126

139-
- uses: actions/download-artifact@v4
140-
with:
141-
name: ghostty-appimage-aarch64-glfw
142-
143-
- uses: actions/download-artifact@v4
144-
with:
145-
name: ghostty-appimage-x86_64-glfw
146-
147127
- name: Ghostty stable
148128
uses: svenstaro/upload-release-action@v2
149129
with:
@@ -172,14 +152,6 @@ jobs:
172152
with:
173153
name: ghostty-appimage-x86_64
174154

175-
- uses: actions/download-artifact@v4
176-
with:
177-
name: ghostty-appimage-aarch64-glfw
178-
179-
- uses: actions/download-artifact@v4
180-
with:
181-
name: ghostty-appimage-x86_64-glfw
182-
183155
- name: Ghostty Tip ("Nightly")
184156
uses: softprops/[email protected]
185157
with:

README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,6 @@ This repository provides build scripts to create a Universal AppImage for [Ghost
2525
1. Stable builds are based on upstream releases, with minor fixes and patches released as **version+1** tag(s).
2626
1. Daily nightly builds, based on the upstream [tip releases](https://github.com/ghostty-org/ghostty/releases/tag/tip), are built and released at **00:00 UTC every day** and are available as pre-releases in the [releases](https://github.com/pkgforge-dev/ghostty-appimage/releases/tag/tip) section.
2727

28-
## 🧪 Experimental Builds (GLFW)
29-
30-
> [!WARNING]
31-
>
32-
> Please read the following carefully before using them
33-
>
34-
> - These builds are available for both stable and daily nightly releases
35-
> - These builds use the experimental flag `-Dapp-runtime=glfw`
36-
> - They do not include bundled dependencies for Gtk and libadwaita
37-
> - Window decorations may not work on non-GNOME desktop environments (No CSD)
38-
> - Tabs and splits are not functional
39-
> - The terminal inspector does not work
40-
> - The build size is drastically reduced (around 20 MB) as 80+ dependencies are not bundled
41-
> - Please refer to the [**upstream warning notice**](https://github.com/ghostty-org/ghostty/blob/main/PACKAGING.md#build-options) for further info
42-
4328
## ⚙️ Installation
4429

4530
<details>
@@ -138,7 +123,6 @@ Ghostty AppImage can easily be managed using graphical tools such as [AppImageLa
138123
> For more information please refer the [discussion](https://github.com/TheAssassin/AppImageLauncher/discussions/687) and the [comment](https://github.com/TheAssassin/AppImageLauncher/discussions/687#discussioncomment-12181060)
139124
140125
2. **Using [Gear Lever](https://github.com/mijorus/gearlever)**
141-
142126
- Download the latest AppImage package from the [releases](https://github.com/pkgforge-dev/ghostty-appimage/releases) section.
143127
- Simply drag and drop the files from your file manager into the Gear Lever application.
144128
- Follow the on-screen instructions to configure the setup as a one-time installation process.

build.sh

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PUB_KEY="RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV"
1010
UPINFO="gh-releases-zsync|$(echo "${GITHUB_REPOSITORY}" | tr '/' '|')|latest|Ghostty-*$ARCH.AppImage.zsync"
1111
APPDATA_FILE="${PWD}/assets/ghostty.appdata.xml"
1212
DESKTOP_FILE="${PWD}/assets/ghostty.desktop"
13-
LIBS2BUNDLE="./bin/ghostty /usr/lib/libEGL*"
13+
LIBS2BUNDLE="./bin/ghostty /usr/lib/libEGL* /usr/lib/gdk-pixbuf-*/*/*/*"
1414
BUILD_ARGS="
1515
--summary all \
1616
--prefix ${APP_DIR} \
@@ -38,12 +38,6 @@ else
3838
wget "https://release.files.ghostty.org/${GHOSTTY_VERSION}/ghostty-${GHOSTTY_VERSION}.tar.gz.minisig"
3939
fi
4040

41-
if [ "${GLFW}" = true ]; then
42-
BUILD_ARGS="${BUILD_ARGS} -Dapp-runtime=glfw"
43-
else
44-
LIBS2BUNDLE="${LIBS2BUNDLE} /usr/lib/gdk-pixbuf-*/*/*/*"
45-
fi
46-
4741
minisign -V -m "ghostty-${GHOSTTY_VERSION}.tar.gz" -P "${PUB_KEY}" -s "ghostty-${GHOSTTY_VERSION}.tar.gz.minisig"
4842

4943
tar -xzmf "ghostty-${GHOSTTY_VERSION}.tar.gz"
@@ -81,14 +75,12 @@ xvfb-run -a -- sharun l -p -v -e -s -k ${LIBS2BUNDLE}
8175

8276
# preload libpixbufloader /w ld-preload-open as svg icons breaks
8377
# either on ghostty tab bar or gnome-text-editor while config edit or both :(
84-
if [ "${GLFW}" = false ]; then
85-
mv ./shared/lib/gdk-pixbuf-2.0 ./
86-
cp -rv /opt/path-mapping.so ./shared/lib/
87-
cp -rv gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.so ./shared/lib/
78+
mv ./shared/lib/gdk-pixbuf-2.0 ./
79+
cp -rv /opt/path-mapping.so ./shared/lib/
80+
cp -rv gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.so ./shared/lib/
8881

89-
echo 'path-mapping.so' >./.preload
90-
echo 'PATH_MAPPING=/usr/lib/gdk-pixbuf-2.0:${SHARUN_DIR}/gdk-pixbuf-2.0' >>./.env
91-
fi
82+
echo 'path-mapping.so' >./.preload
83+
echo 'PATH_MAPPING=/usr/lib/gdk-pixbuf-2.0:${SHARUN_DIR}/gdk-pixbuf-2.0' >>./.env
9284

9385
echo 'GHOSTTY_RESOURCES_DIR=${SHARUN_DIR}/share/ghostty' >>./.env
9486
echo 'unset ARGV0' >>./.env
@@ -104,11 +96,6 @@ fi
10496

10597
GHOSTTY_APPIMAGE="Ghostty-${VERSION}-${ARCH}.AppImage"
10698

107-
if [ "${GLFW}" = true ]; then
108-
UPINFO="gh-releases-zsync|$(echo "${GITHUB_REPOSITORY:-no-user/no-repo}" | tr '/' '|')|latest|Ghostty_*$ARCH.AppImage.zsync"
109-
GHOSTTY_APPIMAGE="Ghostty_Glfw-${VERSION}-${ARCH}.AppImage"
110-
fi
111-
11299
cd "${TMP_DIR}"
113100

114101
# create app image

0 commit comments

Comments
 (0)