diff --git a/gnome-kiosk-41.0-mutter-42.patch b/gnome-kiosk-41.0-mutter-42.patch new file mode 100644 index 0000000..9033f51 --- /dev/null +++ b/gnome-kiosk-41.0-mutter-42.patch @@ -0,0 +1,39 @@ +From c4bb6ee0674e4fe3355945cfb0bc20765c592bd3 Mon Sep 17 00:00:00 2001 +From: David King +Date: Mon, 17 Jan 2022 08:05:18 +0000 +Subject: [PATCH] meson: Build against mutter 42 + +Fixes: https://gitlab.gnome.org/GNOME/gnome-kiosk/-/issues/1 +--- + meson.build | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/meson.build b/meson.build +index c47215b..8fcca06 100644 +--- a/meson.build ++++ b/meson.build +@@ -34,7 +34,7 @@ config_h = configure_file( + + meson.add_install_script ('meson/postinstall.py') + +-mutter_dependency = dependency('libmutter-9') ++mutter_dependency = dependency('libmutter-10') + mutter_libdir = mutter_dependency.get_pkgconfig_variable('typelibdir') + + systemd_user_unit_dir = dependency('systemd').get_pkgconfig_variable('systemduserunitdir', +@@ -103,9 +103,9 @@ compositor_dependencies += dependency('glib-2.0') + compositor_dependencies += dependency('gnome-desktop-3.0') + compositor_dependencies += dependency('gobject-2.0') + compositor_dependencies += dependency('ibus-1.0') +-compositor_dependencies += dependency('mutter-cogl-9') +-compositor_dependencies += dependency('mutter-cogl-pango-9') +-compositor_dependencies += dependency('mutter-clutter-9') ++compositor_dependencies += dependency('mutter-cogl-10') ++compositor_dependencies += dependency('mutter-cogl-pango-10') ++compositor_dependencies += dependency('mutter-clutter-10') + compositor_dependencies += mutter_dependency + compositor_dependencies += systemd_dependency + +-- +2.34.1 + diff --git a/gnome-kiosk.spec b/gnome-kiosk.spec index 970cfd6..3b57425 100644 --- a/gnome-kiosk.spec +++ b/gnome-kiosk.spec @@ -5,19 +5,21 @@ %global gnome_desktop_version 40~rc %global glib2_version 2.68.0 %global gtk4_version 3.24.27 -%global mutter_version 41~beta +%global mutter_version 42~alpha %global gsettings_desktop_schemas_version 40~rc %global ibus_version 1.5.24 %global gnome_settings_daemon_version 40~rc Name: gnome-kiosk Version: 41.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Window management and application launching for GNOME License: GPLv2+ -URL: https://gitlab.gnome.org/halfline/gnome-kiosk +URL: https://gitlab.gnome.org/GNOME/gnome-kiosk Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz +# https://bugzilla.redhat.com/show_bug.cgi?id=2040955 +Patch0: gnome-kiosk-41.0-mutter-42.patch Provides: firstboot(windowmanager) = %{name} @@ -31,7 +33,7 @@ BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version} BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} BuildRequires: pkgconfig(ibus-1.0) >= %{ibus_version} -BuildRequires: pkgconfig(libmutter-9) >= %{mutter_version} +BuildRequires: pkgconfig(libmutter-10) >= %{mutter_version} BuildRequires: mesa-libEGL-devel BuildRequires: mesa-libGL-devel BuildRequires: meson @@ -104,6 +106,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Kiosk.Searc %{_datadir}/xsessions/gnome-kiosk-script-xorg.desktop %changelog +* Mon Jan 17 2022 David King - 41.0-2 +- Build against mutter 42 (#2040955) + * Thu Sep 23 2021 Kalev Lember - 41.0-1 - Update to 41.0