aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2022-03-01 17:47:14 -0500
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2022-03-01 17:47:14 -0500
commit11f694ca3cc308138c4fab8b1f2c069d159a84e8 (patch)
treefc9338ef8034bf6965966c9e403299a5b45909f5 /scripts
parent4507e0fdbd32200147607967759dd1f5e65fe513 (diff)
Build macOS executables using GTK 3.
Requires my new gtkosx archive. The minimum required macOS is now 10.10 (Yosemite).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/osx/textadept_osx7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/osx/textadept_osx b/scripts/osx/textadept_osx
index 7dd6303d..44943c1e 100755
--- a/scripts/osx/textadept_osx
+++ b/scripts/osx/textadept_osx
@@ -8,9 +8,10 @@ export DYLD_LIBRARY_PATH="$bundle_res/lib"
export GTK_DATA_PREFIX="$bundle_res"
export GTK_EXE_PREFIX="$bundle_res"
export GTK_PATH="$bundle_res"
-export GTK2_RC_FILES="$bundle_res/etc/gtk-2.0/gtkrc"
-export GTK_IM_MODULE_FILE="$bundle_res/etc/gtk-2.0/gtk.immodules"
-export GDK_PIXBUF_MODULE_FILE="$bundle_res/etc/gtk-2.0/gdk-pixbuf.loaders"
+export GTK_IM_MODULE_FILE="$bundle_res/lib/gtk-3.0/3.0.0/gtk.immodules"
+export GDK_PIXBUF_MODULE_FILE="$bundle_res/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
+export XDG_DATA_DIRS="$bundle_res/share"
+export XDG_CONFIG_DIRS="$bundle_res/etc"
export PANGO_LIBDIR="$bundle_res/lib"
export PANGO_SYSCONFDIR="$bundle_res/etc"
export CHARSETALIASDIR="$bundle_res/lib"