[gedit/zbrown/deteplification-src: 292/633] build: add option to disable installing the externaltools plugin
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 292/633] build: add option to disable installing the externaltools plugin
- Date: Sat, 10 Apr 2021 12:48:01 +0000 (UTC)
commit 0fb5dbb17897a12a4481b5b6c74a5775029d73f2
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri May 1 04:12:11 2020 +0200
build: add option to disable installing the externaltools plugin
The externaltools plugin doesn't work on Windows, there is an error when
loading it, it cannot import fcntl (which is specific to Unix).
So, be able to not install the plugin.
Maybe there is a way to make that plugin work on Windows, but I'm far
from an expert in Python, so contributions welcome.
meson_options.txt | 2 ++
plugins/meson.build | 5 ++++-
2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/meson_options.txt b/meson_options.txt
index 9a93f5cd3..33d03cb14 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -27,3 +27,5 @@ option(
choices: ['yes', 'no', 'auto'], value: 'auto',
description: 'Enable using gvfs to store metadata'
)
+
+option('plugin_externaltools', type: 'boolean', value: true)
diff --git a/plugins/meson.build b/plugins/meson.build
index fbdf98265..50bc5d393 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -16,7 +16,6 @@ msgfmt_plugin_cmd = [
]
subdir('docinfo')
-subdir('externaltools')
subdir('filebrowser')
subdir('modelines')
subdir('pythonconsole')
@@ -26,3 +25,7 @@ subdir('snippets')
subdir('sort')
subdir('spell')
subdir('time')
+
+if get_option('plugin_externaltools')
+ subdir('externaltools')
+endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]