From 7689d660dc120a795b40c6460d1520eff1da8945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 18 Mar 2023 02:00:13 +0100 Subject: [PATCH 1/4] build: Bump meson requirement Using the same minimum version as gnome-shell should be uncontroversial, and allows us to use some new features. Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b3f1892b..125de2fc 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('gnome-shell-extensions', version: '44.rc', - meson_version: '>= 0.53.0', + meson_version: '>= 0.58.0', license: 'GPL2+' ) From 30bac19c5a17f6339557aa29b5d6041486ca5cd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 18 Mar 2023 02:00:27 +0100 Subject: [PATCH 2/4] build: Compile gschemas if necessary It is good practice to recompile schemas after installing a new schema, but for some reason we never did. Part-of: --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 125de2fc..4c247068 100644 --- a/meson.build +++ b/meson.build @@ -93,6 +93,10 @@ endif subdir('extensions') subdir('po') +gnome.post_install( + glib_compile_schemas: true, +) + meson.add_dist_script('meson/generate-stylesheets.py') meson.add_dist_script('meson/check-version.py', meson.project_version(), From 25cc126ebcca2d6df106ece9ad68a6f293f4be25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 18 Mar 2023 02:13:37 +0100 Subject: [PATCH 3/4] build: Add configuration summary Meson now has a summary() function to easily summarize the build configuration after the project was configured, use that for some fancy output when the feature is available. Part-of: --- meson.build | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/meson.build b/meson.build index 4c247068..96ac31a8 100644 --- a/meson.build +++ b/meson.build @@ -101,3 +101,16 @@ meson.add_dist_script('meson/generate-stylesheets.py') meson.add_dist_script('meson/check-version.py', meson.project_version(), 'NEWS') + +summary_options = { + 'extensions': enabled_extensions, + 'classic_mode': get_option('classic_mode'), +} + +summary_dirs = { + 'prefix': get_option('prefix'), + 'datadir': get_option('datadir'), +} + +summary(summary_dirs, section: 'Directories') +summary(summary_options, section: 'Build Options') From 58b4b3c8d6c48432c81c4070829b29db5950a9cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 19 Mar 2023 05:14:23 +0100 Subject: [PATCH 4/4] Bump version to 44.0 Update NEWS. Part-of: --- NEWS | 4 ++++ meson.build | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 119f48ca..cab0d150 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +44.0 +==== +* Bump version + 44.rc ===== * Bump version diff --git a/meson.build b/meson.build index 96ac31a8..f3160208 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('gnome-shell-extensions', - version: '44.rc', + version: '44.0', meson_version: '>= 0.58.0', license: 'GPL2+' )