Accepting request 1111871 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1111871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutter?expand=0&rev=211
This commit is contained in:
2023-09-20 11:22:09 +00:00
committed by Git OBS Bridge
7 changed files with 150 additions and 54 deletions

View File

@@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/mutter.git</param>
<param name="revision">refs/tags/44.4</param>
<param name="revision">refs/tags/45.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
@@ -12,7 +12,7 @@
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46c4a949a9e4e8d409375b03d1d4ef588b14ed0a3c054fb9caa2b256d5e8a5d4
size 26010637

3
mutter-45.0.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aacd946971d4bbed9c028fbf85f5e4edc4f037ff70d3709eddc48aface71bf6f
size 26426893

View File

@@ -1,37 +0,0 @@
From afd7d5ad1b5587eb2c4dd978f0e577d9640354be Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carlosg@gnome.org>
Date: Tue, 29 Aug 2023 11:21:50 +0200
Subject: [PATCH] backends: Check that buffer age is available when checking
damage history
This used to be the case before the refactor at commit 43cee4b6b6,
use_clipped_redraw would be unset before the larger check if has_buffer_age
was set, but clutter_damage_history_is_age_valid() was FALSE. This got
replaced by a check just on the latter, which will also be FALSE if
has_buffer_age is not present.
We have other means to achieve clipped redraws, so this slight change
culled all of them.
Fixes: 43cee4b6b6 ("stage-impl: Do clipped redraws when drawing offscreen")
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2771
---
src/backends/meta-stage-impl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backends/meta-stage-impl.c b/src/backends/meta-stage-impl.c
index 26a7531296b..af88451d331 100644
--- a/src/backends/meta-stage-impl.c
+++ b/src/backends/meta-stage-impl.c
@@ -475,7 +475,7 @@ should_use_clipped_redraw (gboolean is_full_redraw,
if (COGL_IS_OFFSCREEN (framebuffer))
return TRUE;
- if (!buffer_has_valid_damage_history)
+ if (has_buffer_age && !buffer_has_valid_damage_history)
{
meta_topic (META_DEBUG_BACKEND,
"Invalid back buffer age: forcing full redraw");
--
GitLab

View File

@@ -1,3 +1,131 @@
-------------------------------------------------------------------
Sat Sep 16 22:09:37 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 45.0:
+ Fix focus-follows-mouse mode
+ Optimize applying relative transformation matrix
+ Add support for P010 YCbCr format
+ Fix hardware cursor stuttering on Raspberry Pi
+ Fix input in multi-monitor remote desktop sessions with libei
+ Fixed crashes
+ Misc. bug fixes and cleanups
+ Updated translations.
- Drop mutter-trap-dpms-errors.patch: Fixed upstream.
- Change compression of tarball in service and spec to zst from xz.
- Add pkgconfig(libdisplay-info) BuildRequires and pass
libdisplay_info=true to meson setup: New optional dependency,
build libdisplay-info support.
-------------------------------------------------------------------
Thu Sep 14 02:51:54 UTC 2023 - Alynx Zhou <alynx.zhou@suse.com>
- Add mutter-trap-dpms-errors.patch: Apparently DPMSForceLevel()
can fail if DPMS is not enabled, so trap errors of DPMS because
they are not critical and should not block user session.
(bsc#1215273, glgo#GNOME/mutter!3160)
-------------------------------------------------------------------
Thu Sep 7 22:56:54 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>
- Replace sysprof-4 with sysprof-6 pkgconfig() BuildRequires to
follow up the upstream change. And build without the profiler
feature (using bcond_with profiler), as it's not meant for
general use.
-------------------------------------------------------------------
Wed Sep 6 19:09:15 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 45.rc:
+ Fix possible redraw freeze in fullscreen windows
+ Fix restoring focus when leaving the overview
+ Support alpha-composited window screencasts
+ Fix some XWayland windows not getting mapped
+ Fix cursor movement on rotated screens
+ Avoid global lock in stage signals
+ Implemented suspended xdg_toplevel state
+ Support idle_inhibit protocol
+ Do not trigger repick during relayout
+ Fix redraw issue when buffer age is unavailable
+ Add Meta Toolkit (MTK) library
+ Fix possible window freeze during resize operations
+ Fixes to tablet cursor visibility on Wayland
+ Improve support for input capture and emulated input
+ Use headless mode when seat ID is unset
+ Fix unresponsive touchscreen after titlebar drag
+ Fix absolute pointer events on virtual monitor streams
+ Fix disabling CRTCs in disable-only mode updates
+ Cache multi-texture shader snippets
+ Fixed crashes
+ Plugged leaks
+ Misc. bug fixes and cleanups
+ Updated translations.
- Drop mutter-fix-clipped-redraw.patch: Fixed upstream.
-------------------------------------------------------------------
Mon Sep 4 17:43:47 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 45.beta.1:
+ Fix blitting from premultiplied to opaque formats
+ Fix Super key not going to overview in GNOME Shell
+ Use ClutterEvent in ClutterActor class event vmethod signatures
+ Misc. bug fixes and cleanups
+ Updated translations.
-------------------------------------------------------------------
Mon Sep 4 16:43:28 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 45.beta:
+ Support input capture and emulated input with libei
+ Add KMS thread
+ Fix touch move operations on subsurfaces
+ Fix unexpected cursor changes over non-resizable windows
+ Improve render time estimates
+ Fix flickering when DRI driver isn't available
+ Fix restoring maximized state of SSD windows
+ Add support for YUV formats
+ Fix xwayland-allow-byte-swapped-clients setting
+ Misc. bug fixes and cleanups
+ Updated translations.
- Add pkgconfig(libeis-1.0) BuildRequires: New dependency.
-------------------------------------------------------------------
Mon Sep 4 15:32:03 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 45.alpha:
+ Fix DND in some server-side decorated windows
+ Optionally use libdisplay-info for EDID parsing
+ Optimize partial surface updates
+ Fix redrawing regression in non-DMA remote sessions
+ Avoid race condition in xwayland-on-demand
+ Do not unminimize windows with initial IconicState
+ Implement physical pixel rounding of wayland surfaces
+ Fix mispositioning of some X11 fullscreen windows
+ Fix legacy fullscreen windows appearing on all monitors
+ Improve support for display-attached tablets
+ Fix stuck cursor in some clients
+ Avoid unexpected orientation changes around suspend/resume
+ Fix oversized input region around Xwayland windows
+ Re-enable client modifiers with amdgpu driver
+ Fix sysprof tracing in non-main threads
+ Fix X11 client input region issues
+ Optimize finish-layout step during stage updating
+ Fix profiling repeatedly
+ Ensure preferred monitor mode is always included
+ Fully initialize input device state during init
+ Forward modifiers to IM alongside regular key events
+ Fix window focus unexpectedly moving to secondary monitor when
changing workspaces
+ Avoid rapidly toggling dynamic max render time
+ Fix dynamic max render time blocking with direct scanout
+ Mirror window placement in RTL locales
+ Fix screencast with fractionally scaled surfaces
+ Reipmlement strict focus mode policy
+ Fixed crashes
+ Plugged leaks
+ Misc. bug fixes and cleanups
+ Updated translations.
- Bump api_major to 13 following upstream changes.
-------------------------------------------------------------------
Mon Sep 4 14:28:19 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@@ -1,4 +1,4 @@
name: mutter
version: 44.4
mtime: 1692789368
commit: f1fc9e176200cd14f1b5bba4359ee54a0587f586
version: 45.0
mtime: 1694897463
commit: 4f6c91847088d7d6476b88575b3a6601b819b443

View File

@@ -16,19 +16,19 @@
#
%bcond_without profiler
%bcond_with profiler
%define api_major 12
%define api_major 13
%define api_minor 0
%define libmutter libmutter-%{api_major}-%{api_minor}
Name: mutter
Version: 44.4
Version: 45.0
Release: 0
Summary: Window and compositing manager based on Clutter
License: GPL-2.0-or-later
Group: System/GUI/GNOME
URL: https://www.gnome.org
Source0: %{name}-%{version}.tar.xz
Source0: %{name}-%{version}.tar.zst
# PATCH-FIX-UPSTREAM mutter-disable-cvt-s390x.patch bsc#1158128 fcrozat@suse.com -- Do not search for cvt on s390x, it doesn't exist there
Patch1: mutter-disable-cvt-s390x.patch
@@ -36,8 +36,6 @@ Patch1: mutter-disable-cvt-s390x.patch
Patch2: mutter-window-actor-Special-case-shaped-Java-windows.patch
# PATCH-FIX-UPSTREAM mutter-crash-meta_context_terminate.patch bsc#1199382 glgo#GNOME/mutter#2267 xwang@suse.com -- Fix SIGSEGV in meta_context_terminate
Patch3: mutter-crash-meta_context_terminate.patch
# PATCH-FIX-UPSTREAM mutter-fix-clipped-redraw.patch bsc#1210744 glgo#GNOME/mutter!3221 alynx.zhou@suse.com -- Fix clipped redraw issue on qemu
Patch4: mutter-fix-clipped-redraw.patch
## SLE-only patches start at 1000
# PATCH-FEATURE-SLE mutter-SLE-bell.patch FATE#316042 bnc#889218 idonmez@suse.com -- make audible bell work out of the box.
@@ -74,7 +72,9 @@ BuildRequires: pkgconfig(gudev-1.0) >= 232
BuildRequires: pkgconfig(json-glib-1.0) >= 0.12.0
BuildRequires: pkgconfig(lcms2) >= 2.6
BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26
BuildRequires: pkgconfig(libdisplay-info)
BuildRequires: pkgconfig(libdrm) >= 2.4.83
BuildRequires: pkgconfig(libeis-1.0)
BuildRequires: pkgconfig(libinput) >= 1.15.0
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.21
BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.7
@@ -84,8 +84,8 @@ BuildRequires: pkgconfig(libwacom) >= 0.13
BuildRequires: pkgconfig(pango) >= 1.2.0
BuildRequires: pkgconfig(sm)
%if %{with profiler}
BuildRequires: pkgconfig(sysprof-4)
BuildRequires: pkgconfig(sysprof-capture-4) >= 3.37.3
BuildRequires: pkgconfig(sysprof-6)
BuildRequires: pkgconfig(sysprof-capture-4) >= 3.37.2
%endif
BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(upower-glib) >= 0.99.0
@@ -148,7 +148,6 @@ applications that want to make use of the mutter library.
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%endif
# SLE-only patches and translations.
%if 0%{?sle_version}
@@ -166,6 +165,7 @@ applications that want to make use of the mutter library.
-Dtests=false \
-Dinstalled_tests=false \
-Dxwayland_initfd=auto \
-Dlibdisplay_info=true \
%if %{with profiler}
-Dprofiler=true \
%else
@@ -194,6 +194,7 @@ applications that want to make use of the mutter library.
%{_libdir}/mutter-%{api_major}/libmutter-clutter-%{api_major}.so.*
%{_libdir}/mutter-%{api_major}/libmutter-cogl-pango-%{api_major}.so.*
%{_libdir}/mutter-%{api_major}/libmutter-cogl-%{api_major}.so.*
%{_libdir}/mutter-%{api_major}/libmutter-mtk-%{api_major}.so.*
%{_libdir}/mutter-%{api_major}/plugins/libdefault.so
# These typelibs are not split out since they are private to mutter
@@ -202,6 +203,7 @@ applications that want to make use of the mutter library.
%{_libdir}/mutter-%{api_major}/Cogl-%{api_major}.typelib
%{_libdir}/mutter-%{api_major}/CoglPango-%{api_major}.typelib
%{_libdir}/mutter-%{api_major}/Meta-%{api_major}.typelib
%{_libdir}/mutter-%{api_major}/Mtk-%{api_major}.typelib
%{_libdir}/libmutter-%{api_major}.so.*
%dir %{_libdir}/mutter-%{api_major}/
@@ -226,14 +228,17 @@ applications that want to make use of the mutter library.
%{_libdir}/mutter-%{api_major}/Clutter-%{api_major}.gir
%{_libdir}/mutter-%{api_major}/Cogl-%{api_major}.gir
%{_libdir}/mutter-%{api_major}/CoglPango-%{api_major}.gir
%{_libdir}/mutter-%{api_major}/Mtk-%{api_major}.gir
%{_libdir}/mutter-%{api_major}/libmutter-clutter-%{api_major}.so
%{_libdir}/mutter-%{api_major}/libmutter-cogl-pango-%{api_major}.so
%{_libdir}/mutter-%{api_major}/libmutter-cogl-%{api_major}.so
%{_libdir}/mutter-%{api_major}/libmutter-mtk-%{api_major}.so
%{_libdir}/libmutter-%{api_major}.so
%{_libdir}/pkgconfig/libmutter-%{api_major}.pc
%{_libdir}/pkgconfig/mutter-clutter-%{api_major}.pc
%{_libdir}/pkgconfig/mutter-cogl-%{api_major}.pc
%{_libdir}/pkgconfig/mutter-cogl-pango-%{api_major}.pc
%{_libdir}/pkgconfig/mutter-mtk-%{api_major}.pc
%files lang -f %{name}.lang