dconf-editor/update_glib_target_version.patch

29 lines
966 B
Diff
Raw Permalink Normal View History

From fb5f6ab81253f96f6fca534bf1437261b3fb6250 Mon Sep 17 00:00:00 2001
From: guoqinglan <guoqinglan@uniontech.com>
Date: Mon, 18 Oct 2021 17:30:53 +0800
Subject: [PATCH] fix(Build System): update GLib target version
fix: "error: Only a stable version of GLib can be targeted, use
MAJOR.MINOR format with MINOR as an even number"
Signed-off-by: guoqinglan <guoqinglan@uniontech.com>
---
editor/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/editor/meson.build b/editor/meson.build
index 64031bf..14934b3 100644
--- a/editor/meson.build
+++ b/editor/meson.build
@@ -121,7 +121,7 @@ sources += gnome.compile_resources(
deps = [
dependency('dconf', version: '>= 0.26.1'),
- dependency('glib-2.0', version: '>= 2.55.1'),
+ dependency('glib-2.0', version: '>= 2.56.1'),
dependency('gmodule-2.0'),
dependency('gtk+-3.0', version: '>= 3.22.27'),
valac.find_library('config', dirs: meson.current_source_dir()),
--
2.20.1