[gnome-logs] meson: Remove redundant check for glib-mkenums
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs] meson: Remove redundant check for glib-mkenums
- Date: Tue, 2 Aug 2022 08:48:08 +0000 (UTC)
commit 01386ce9a69652a00bdb163e569b51150ca8903e
Author: Marvin Schmidt <marv exherbo org>
Date: Sat Apr 2 10:39:15 2022 +0200
meson: Remove redundant check for glib-mkenums
The usage of `gnome.mkenums_simple()` already assures that
`glib-mkenums` is present:
```
[...]
Configuring org.gnome.Logs.service using configuration
Configuring version.xml using configuration
Found pkg-config: /usr/host/bin/pkg-config (0.29.2)
Program glib-compile-resources found: YES
(/usr/host/bin/glib-compile-resources)
Program glib-mkenums found: YES (/usr/host/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/host/bin/glib-mkenums)
Program msginit found: YES (/usr/host/bin/msginit)
[...]
```
meson.build | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/meson.build b/meson.build
index 015e1c2..067239a 100644
--- a/meson.build
+++ b/meson.build
@@ -55,14 +55,6 @@ configure_file(output : 'config.h',
# Dependencies
dependency('pkg-config', version : '>= 0.24')
-message('checking for glib-mkenums script...')
-glib_mkenums = run_command('pkg-config', ['--variable=glib_mkenums', 'glib-2.0'])
-if not glib_mkenums.stdout().contains('glib-mkenums')
- error('glib-mkenums not listed in glib-2.0 pkg-config file')
-else
- message(glib_mkenums.stdout().strip())
-endif
-
gsettings_desktop_schemas = dependency('gsettings-desktop-schemas', required : false)
if not gsettings_desktop_schemas.found()
message('gsettings-desktop-schemas is required at runtime')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]