[gedit] Revert "build: use summary()"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Revert "build: use summary()"
- Date: Tue, 17 Mar 2020 16:03:07 +0000 (UTC)
commit 49100ad071a825e4ddc3d51a454511150ba7ca52
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Mar 17 11:01:35 2020 -0500
Revert "build: use summary()"
This reverts commit dff65452b12f624dc061f4b429e4a08125990523.
This broke the GNOME runtime build. We'll get meson 0.53.2 in the next
point release of freedesktop-sdk 19.08, but it's not available just yet.
meson.build | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index 8fc51d935..7506353bf 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project(
'gedit', 'c',
version: '3.37.0',
- meson_version: '>= 0.53'
+ meson_version: '>= 0.49'
)
if host_machine.system() == 'darwin'
@@ -104,8 +104,17 @@ meson.add_install_script(
get_option('prefix') / get_option('datadir')
)
-summary('API version', api_version)
-summary('Prefix', get_option('prefix'))
-summary('API documentation', get_option('gtk_doc'))
-summary('User documentation', get_option('user_documentation'))
-summary('Require all tests', get_option('require_all_tests'))
+# Summary message
+
+summary = [
+ 'Configuration:',
+ '',
+ ' gedit version @0@ (API version @1@)'.format(meson.project_version(), api_version),
+ '',
+ ' Prefix: @0@'.format(get_option('prefix')),
+ ' API documentation: @0@'.format(get_option('gtk_doc')),
+ ' User documentation: @0@'.format(get_option('user_documentation')),
+ ' Require all tests: @0@'.format(get_option('require_all_tests')),
+ '',
+]
+message('\n'.join(summary))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]