From 9389f337d0f75bcdeaf95cbfc9c8525db0e2007b Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 2 Oct 2021 14:43:02 +0200 Subject: pgo: full-inner: do not set LC_CTYPE=en_US.UTF-8 That locale may not exist. Instead, require the user/build script to explicitly set an UTF-8 locale. Document this in INSTALL.md, and in the bundled PKGBUILD. --- PKGBUILD | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 5c3666f9..c4c99282 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,4 +1,29 @@ -PGO=auto # auto|none|partial|full-current-session|full-headless-sway|full-headless-cage +# Select PGO (Performance Guided Optimizations) build type. +# +# - auto: choose best available option +# +# - none: disable PGO +# +# - full-current-session: run a “full” PGO build in an existing +# Wayland session. This will pop up a foot window running a script +# that generates random terminal output. +# +# - full-headless-sway: run a “full” PGO build inside a headless Sway +# instance. Requires Sway >= 1.7. +# +# - full-headless-cage: run a “full” PGO build inside a headless Cage +# instance. Requires cage to be installed. Will generate lots of +# Cage warnings, but seems to procude a fully working (and well +# optimized) foot build. +# +# - partial: run a “partial” PGO build. This requires neither a +# running Wayland session, nor an installed Wayland compositor. +# +# Note that “full-*” (which “auto” will prefer) requires an UTF-8 +# locale. Either make sure LC_CTYPE is set to an UTF-8 locale, or do a +# “partial” PGO build (or disable PGO altoghether). + +PGO=auto pkgname=('foot-git' 'foot-terminfo-git') pkgver=1.9.1 -- cgit v1.3