mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-19 05:33:44 -04:00
meson: convert -Dterminfo from a boolean to a feature option
Patch from Jan Beich
This commit is contained in:
parent
8a32c5c5c1
commit
c49eac2147
4 changed files with 5 additions and 5 deletions
|
|
@ -34,11 +34,11 @@ tasks:
|
||||||
ln -s ../../fcft foot/subprojects/fcft
|
ln -s ../../fcft foot/subprojects/fcft
|
||||||
- debug: |
|
- debug: |
|
||||||
mkdir -p bld/debug
|
mkdir -p bld/debug
|
||||||
meson --buildtype=debug -Dterminfo=false -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/debug
|
meson --buildtype=debug -Dterminfo=disabled -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/debug
|
||||||
ninja -C bld/debug -k0
|
ninja -C bld/debug -k0
|
||||||
meson test -C bld/debug --print-errorlogs
|
meson test -C bld/debug --print-errorlogs
|
||||||
- release: |
|
- release: |
|
||||||
mkdir -p bld/release
|
mkdir -p bld/release
|
||||||
meson --buildtype=minsize -Dterminfo=false -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/release
|
meson --buildtype=minsize -Dterminfo=disabled -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/release
|
||||||
ninja -C bld/release -k0
|
ninja -C bld/release -k0
|
||||||
meson test -C bld/release --print-errorlogs
|
meson test -C bld/release --print-errorlogs
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ in this order:
|
||||||
|
|
||||||
*term*
|
*term*
|
||||||
Value to set the environment variable *TERM* to. Default: _foot_
|
Value to set the environment variable *TERM* to. Default: _foot_
|
||||||
or _xterm-256color_ if built with _-Dterminfo=false_
|
or _xterm-256color_ if built with _-Dterminfo=disabled_
|
||||||
|
|
||||||
*title*
|
*title*
|
||||||
Initial window title. Default: _foot_.
|
Initial window title. Default: _foot_.
|
||||||
|
|
|
||||||
2
foot.ini
2
foot.ini
|
|
@ -10,7 +10,7 @@
|
||||||
# initial-window-mode=windowed
|
# initial-window-mode=windowed
|
||||||
# pad=2x2
|
# pad=2x2
|
||||||
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
||||||
# term=foot (or xterm-256color if built with -Dterminfo=false)
|
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
||||||
# login-shell=no
|
# login-shell=no
|
||||||
# workers=<number of logical CPUs>
|
# workers=<number of logical CPUs>
|
||||||
# bold-text-in-bright=no
|
# bold-text-in-bright=no
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
option('ime', type: 'boolean', value: true, description: 'IME (Input Method Editor) support')
|
option('ime', type: 'boolean', value: true, description: 'IME (Input Method Editor) support')
|
||||||
option('terminfo', type: 'boolean', value: true, description: 'Install terminfo')
|
option('terminfo', type: 'feature', description: 'Install terminfo')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue