Skip to content

Commit c6eae51

Browse files
author
psadi
committed
test: no gtk
1 parent 3fbeaf4 commit c6eae51

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

build.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DESKTOP_FILE="${PWD}/assets/ghostty.desktop"
1515
BUILD_ARGS="
1616
--summary all \
1717
--prefix ${APP_DIR} \
18-
-Doptimize=ReleaseFast \
18+
-Doptimize=ReleaseSmall \
1919
-Dcpu=baseline \
2020
-Dpie=true \
2121
-Demit-docs \
@@ -75,17 +75,17 @@ ln -s "share/icons/hicolor/256x256/apps/com.mitchellh.ghostty.png" .DirIcon
7575
# bundle all libs
7676
xvfb-run -a -- sharun l -p -v -e -s -k \
7777
./bin/ghostty \
78-
/usr/lib/libEGL* \
79-
/usr/lib/gdk-pixbuf-*/*/*/*
78+
/usr/lib/libEGL*
79+
# /usr/lib/gdk-pixbuf-*/*/*/*
8080

8181
# preload libpixbufloader /w ld-preload-open as svg icons breaks
8282
# either on ghostty tab bar or gnome-text-editor while config edit or both :(
83-
mv ./shared/lib/gdk-pixbuf-2.0 ./
84-
cp -rv /opt/path-mapping.so ./shared/lib/
85-
cp -rv gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.so ./shared/lib/
86-
87-
echo 'path-mapping.so' >./.preload
88-
echo 'PATH_MAPPING=/usr/lib/gdk-pixbuf-2.0:${SHARUN_DIR}/gdk-pixbuf-2.0' >>./.env
83+
# mv ./shared/lib/gdk-pixbuf-2.0 ./
84+
# cp -rv /opt/path-mapping.so ./shared/lib/
85+
# cp -rv gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader_svg.so ./shared/lib/
86+
#
87+
# echo 'path-mapping.so' >./.preload
88+
# echo 'PATH_MAPPING=/usr/lib/gdk-pixbuf-2.0:${SHARUN_DIR}/gdk-pixbuf-2.0' >>./.env
8989
echo 'GHOSTTY_RESOURCES_DIR=${SHARUN_DIR}/share/ghostty' >>./.env
9090
echo 'unset ARGV0' >>./.env
9191

0 commit comments

Comments
 (0)