From 38a7fba54ccb5554e998fc0c5c1cb9990c32052334d304c41cd5e66c5245eade Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 12 Sep 2023 08:21:35 +0000 Subject: [PATCH] Accepting request 1109850 from GNOME:Next Pushing GNOME 45.rc packages OBS-URL: https://build.opensuse.org/request/show/1109850 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=465 --- _service | 2 +- mutter-44.4.obscpio | 3 - mutter-45.rc.obscpio | 3 + mutter-fix-clipped-redraw.patch | 37 ------------ mutter.changes | 102 ++++++++++++++++++++++++++++++++ mutter.obsinfo | 6 +- mutter.spec | 19 +++--- 7 files changed, 120 insertions(+), 52 deletions(-) delete mode 100644 mutter-44.4.obscpio create mode 100644 mutter-45.rc.obscpio delete mode 100644 mutter-fix-clipped-redraw.patch diff --git a/_service b/_service index 7c3e71a..5398a1a 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ git https://gitlab.gnome.org/GNOME/mutter.git - refs/tags/44.4 + refs/tags/45.rc @PARENT_TAG@+@TAG_OFFSET@ (.*)\+0 \1 diff --git a/mutter-44.4.obscpio b/mutter-44.4.obscpio deleted file mode 100644 index 82af845..0000000 --- a/mutter-44.4.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:46c4a949a9e4e8d409375b03d1d4ef588b14ed0a3c054fb9caa2b256d5e8a5d4 -size 26010637 diff --git a/mutter-45.rc.obscpio b/mutter-45.rc.obscpio new file mode 100644 index 0000000..d2c3149 --- /dev/null +++ b/mutter-45.rc.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2dfd29d1a516d50f1987a35d209f57f260078ff3cd31cea81039aeee22472ce5 +size 26412557 diff --git a/mutter-fix-clipped-redraw.patch b/mutter-fix-clipped-redraw.patch deleted file mode 100644 index 0faecb2..0000000 --- a/mutter-fix-clipped-redraw.patch +++ /dev/null @@ -1,37 +0,0 @@ -From afd7d5ad1b5587eb2c4dd978f0e577d9640354be Mon Sep 17 00:00:00 2001 -From: Carlos Garnacho -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 - diff --git a/mutter.changes b/mutter.changes index e642b15..a9a304b 100644 --- a/mutter.changes +++ b/mutter.changes @@ -1,3 +1,105 @@ +------------------------------------------------------------------- +Thu Sep 7 22:56:54 UTC 2023 - Luciano Santos + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 diff --git a/mutter.obsinfo b/mutter.obsinfo index 226c9cc..1acba14 100644 --- a/mutter.obsinfo +++ b/mutter.obsinfo @@ -1,4 +1,4 @@ name: mutter -version: 44.4 -mtime: 1692789368 -commit: f1fc9e176200cd14f1b5bba4359ee54a0587f586 +version: 45.rc +mtime: 1694001501 +commit: 493e799398991e832f3cec38f376e2ec26fc7bda diff --git a/mutter.spec b/mutter.spec index c112488..91b4420 100644 --- a/mutter.spec +++ b/mutter.spec @@ -16,13 +16,13 @@ # -%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.rc Release: 0 Summary: Window and compositing manager based on Clutter License: GPL-2.0-or-later @@ -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. @@ -75,6 +73,7 @@ BuildRequires: pkgconfig(json-glib-1.0) >= 0.12.0 BuildRequires: pkgconfig(lcms2) >= 2.6 BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26 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 +83,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 +147,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} @@ -194,6 +192,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 +201,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 +226,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