From 31966f5494ed82268c414b04b63b20e88d4fff16 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 14 Nov 2021 23:12:18 +0100 Subject: meson: add -Dthemes=false|true This adds a new meson option that controls whether the example theme files should be installed or not. The default is true. Previously, themes were gated by the -Ddocs option. --- meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 5dd99652..9037f4a8 100644 --- a/meson.build +++ b/meson.build @@ -240,10 +240,13 @@ if scdoc.found() 'LICENSE', 'README.md', 'CHANGELOG.md', install_dir: join_paths(get_option('datadir'), 'doc', 'foot')) install_data('foot.ini', install_dir: join_paths(get_option('datadir'), 'foot')) - install_subdir('themes', install_dir: join_paths(get_option('datadir'), 'foot')) subdir('doc') endif +if get_option('themes') + install_subdir('themes', install_dir: join_paths(get_option('datadir'), 'foot')) +endif + tic = find_program('tic', native: true, required: get_option('terminfo')) if tic.found() conf_data = configuration_data( @@ -273,6 +276,7 @@ subdir('icons') summary( { 'Documentation': scdoc.found(), + 'Themes': get_option('themes'), 'IME': get_option('ime'), 'Grapheme clustering': utf8proc.found(), 'Build terminfo': tic.found(), -- cgit v1.3 From 843ba49565672af75627e46b0958a9209142c2e6 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 15 Nov 2021 12:13:39 +0100 Subject: footclient.desktop: new XDG desktop file, for footclient --- CHANGELOG.md | 1 + foot-server.desktop | 2 +- footclient.desktop | 11 +++++++++++ meson.build | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 footclient.desktop (limited to 'meson.build') diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cd9fc61..ca4d8a7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ * `-Dthemes=false|true` meson command line option. When disabled, example theme files are **not** installed. +* XDG desktop file for footclient. ### Changed diff --git a/foot-server.desktop b/foot-server.desktop index c2e8ccbf..6e8891c0 100644 --- a/foot-server.desktop +++ b/foot-server.desktop @@ -8,4 +8,4 @@ Keywords=shell;prompt;command;commandline; Name=Foot Server GenericName=Terminal -Comment=A wayland native terminal emulator +Comment=A wayland native terminal emulator (server) diff --git a/footclient.desktop b/footclient.desktop new file mode 100644 index 00000000..f82f282b --- /dev/null +++ b/footclient.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Exec=footclient +Icon=foot +Terminal=false +Categories=System;TerminalEmulator; +Keywords=shell;prompt;command;commandline; + +Name=Foot Client +GenericName=Terminal +Comment=A wayland native terminal emulator (client) diff --git a/meson.build b/meson.build index 9037f4a8..5270521d 100644 --- a/meson.build +++ b/meson.build @@ -231,7 +231,7 @@ executable( install: true) install_data( - 'foot.desktop', 'foot-server.desktop', + 'foot.desktop', 'foot-server.desktop', 'footclient.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) scdoc = dependency('scdoc', native: true, required: get_option('docs')) -- cgit v1.3