From 4443655c13cbc437df71afbe16e4cd22ae6892bb Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 10 Dec 2018 17:53:09 +0100 Subject: Add separate firejail .desktop --- src/meson.build | 9 +++++++-- src/webengine/webpage.cpp | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/meson.build b/src/meson.build index 367a7f9..2243887 100644 --- a/src/meson.build +++ b/src/meson.build @@ -55,10 +55,15 @@ if ['linux'].contains(host_machine.system()) conf.set('exec_poi', join_paths(get_option('prefix'), get_option('bindir'), get_option('poiName'))) conf.set('profile_path', join_paths(get_option('prefix'), get_option('libdir'), 'smolbote', 'poi.profile')) + # application icon install_data('../data/poi.svg', install_dir: join_paths(get_option('datadir'), 'icons/hicolor/scalable/apps')) - install_data('../linux/poi.profile', install_dir: join_paths(get_option('libdir'), 'smolbote')) + # firejail profile + install_data('../linux/firejail/poi.profile', install_dir: join_paths(get_option('libdir'), 'smolbote')) + + # .desktop configure_file(input: '../linux/poi.desktop.in', output: 'poi.desktop', configuration: conf, install_dir: join_paths(get_option('datadir'), 'applications')) - configure_file(input: '../linux/poi_ps.desktop.in', output: 'poi_ps.desktop', configuration: conf, install_dir: join_paths(get_option('datadir'), 'applications')) + configure_file(input: '../linux/poi_firejail.desktop.in', output: 'poi_firejail.desktop', configuration: conf, install_dir: join_paths(get_option('datadir'), 'applications')) + configure_file(input: '../linux/poi_picksession.desktop.in', output: 'poi_picksession.desktop', configuration: conf, install_dir: join_paths(get_option('datadir'), 'applications')) endif diff --git a/src/webengine/webpage.cpp b/src/webengine/webpage.cpp index 0e1238a..ecbb1b9 100644 --- a/src/webengine/webpage.cpp +++ b/src/webengine/webpage.cpp @@ -11,6 +11,7 @@ #include #include #include +#include QString tr_terminationStatus(QWebEnginePage::RenderProcessTerminationStatus status) { -- cgit v1.2.1