Skip to content

Commit cf8c308

Browse files
psadipsadi
andauthored
release 1.1.2 (pkgforge-dev#28)
Co-authored-by: psadi <[email protected]>
1 parent 78b24c1 commit cf8c308

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.1.2

build.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,26 @@ cd "${TMP_DIR}/ghostty-${GHOSTTY_VERSION}"
3636
sed -i 's/linkSystemLibrary2("bzip2", dynamic_link_opts)/linkSystemLibrary2("bz2", dynamic_link_opts)/' src/build/SharedDeps.zig
3737

3838
# Fetch Zig Cache
39-
ZIG_GLOBAL_CACHE_DIR=/tmp/offline-cache ./nix/build-support/fetch-zig-cache.sh
39+
# TODO: Revert cache once upstream fixes fetch
40+
# ZIG_GLOBAL_CACHE_DIR=/tmp/offline-cache ./nix/build-support/check-zig-cache.sh
4041

4142
# Build Ghostty with zig
4243
zig build \
4344
--summary all \
4445
--prefix "${APP_DIR}/usr" \
45-
--system /tmp/offline-cache/p \
4646
-Doptimize=ReleaseFast \
4747
-Dcpu=baseline \
4848
-Dpie=true \
4949
-Demit-docs \
5050
-Dversion-string="${GHOSTTY_VERSION}"
51+
# --system /tmp/offline-cache/p \
5152

5253
cd "${APP_DIR}"
5354

5455
cp "${APPDATA_FILE}" "usr/share/metainfo/com.mitchellh.ghostty.appdata.xml"
55-
56-
# Fix Gnome dock issues -- StartupWMClass attribute needs to be present.
5756
cp "${DESKTOP_FILE}" "usr/share/applications/com.mitchellh.ghostty.desktop"
58-
# WezTerm has this, it might be useful.
59-
ln -s "com.mitchellh.ghostty.desktop" "usr/share/applications/ghostty.desktop"
6057

58+
ln -s "com.mitchellh.ghostty.desktop" "usr/share/applications/ghostty.desktop"
6159
ln -s "usr/share/applications/com.mitchellh.ghostty.desktop" .
6260
ln -s "usr/share/icons/hicolor/256x256/apps/com.mitchellh.ghostty.png" .
6361

@@ -68,8 +66,8 @@ xvfb-run -a -- ./lib4bin -p -v -e -s -k ./usr/bin/ghostty /usr/lib/libEGL*
6866
rm -rf ./usr/bin
6967

7068
# Prepare AppImage -- Configure launcher script, metainfo and desktop file with icon.
71-
echo 'unset ARGV0' > ./.env
72-
echo 'GHOSTTY_RESOURCES_DIR=${SHARUN_DIR}/usr/share/ghostty' >> ./.env
69+
echo 'unset ARGV0' >./.env
70+
echo 'GHOSTTY_RESOURCES_DIR=${SHARUN_DIR}/usr/share/ghostty' >>./.env
7371
ln -s ./bin/ghostty ./AppRun
7472
./sharun -g
7573

0 commit comments

Comments
 (0)