Build against mutter API version 14

This commit is contained in:
Kalev Lember 2024-01-09 17:08:39 +01:00
parent 0119f42fc4
commit f2c66916db
2 changed files with 32 additions and 2 deletions

View File

@ -0,0 +1,26 @@
From c9bf0e83d1d9a7dad9b2a05ae70ba503337948c6 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Tue, 9 Jan 2024 17:06:26 +0100
Subject: [PATCH] Build against mutter API version 14
This is the API version used in mutter 46.alpha.
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 4047ff4..03324cf 100644
--- a/meson.build
+++ b/meson.build
@@ -34,7 +34,7 @@ config_h = configure_file(
meson.add_install_script ('meson/postinstall.py')
-mutter_api_version = 13
+mutter_api_version = 14
libmutter_name = 'libmutter-@0@'.format(mutter_api_version)
libmutter_cogl_name = 'mutter-cogl-@0@'.format(mutter_api_version)
libmutter_cogl_pango_name = 'mutter-cogl-pango-@0@'.format(mutter_api_version)
--
2.43.0

View File

@ -5,7 +5,7 @@
%global gnome_desktop_version 44.0
%global glib2_version 2.68.0
%global gtk4_version 3.24.27
%global mutter_version 45~beta
%global mutter_version 46~alpha
%global gsettings_desktop_schemas_version 40~rc
%global ibus_version 1.5.24
%global gnome_settings_daemon_version 40~rc
@ -19,6 +19,10 @@ License: GPL-2.0-or-later
URL: https://gitlab.gnome.org/GNOME/gnome-kiosk
Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz
# Build against mutter API version 14
# https://gitlab.gnome.org/GNOME/gnome-kiosk/-/merge_requests/33
Patch: 0001-Build-against-mutter-API-version-14.patch
Provides: firstboot(windowmanager) = %{name}
BuildRequires: dconf
@ -35,7 +39,7 @@ BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gnome-desktop-4) >= %{gnome_desktop_version}
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
BuildRequires: pkgconfig(ibus-1.0) >= %{ibus_version}
BuildRequires: pkgconfig(libmutter-13) >= %{mutter_version}
BuildRequires: pkgconfig(libmutter-14) >= %{mutter_version}
Requires: gnome-settings-daemon%{?_isa} >= %{gnome_settings_daemon_version}
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}