Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mir for openSUSE:Factory checked in at 2025-03-25 22:11:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mir (Old) and /work/SRC/openSUSE:Factory/.mir.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mir" Tue Mar 25 22:11:19 2025 rev:8 rq:1255771 version:2.20.1 Changes: -------- --- /work/SRC/openSUSE:Factory/mir/mir.changes 2025-03-13 15:07:37.109776321 +0100 +++ /work/SRC/openSUSE:Factory/.mir.new.2696/mir.changes 2025-03-25 22:19:53.677211954 +0100 @@ -1,0 +2,11 @@ +Thu Mar 20 16:51:40 UTC 2025 - Shawn Dunn <sfal...@opensuse.org> + +- Update to 2.20.1: + * miroil::GLBuffer was dropped in 2.20 (gh#canonical/mir#3813) + * Do not mutate a container whilst interating over it + (gh#canonical/mir#3819) + * Crash when disconnecting monitors (gh#canonical/mir#3816) + * Policy destructors do not get called when a surface has been + launched on the desktop (gh#canonical/mir#3823) + +------------------------------------------------------------------- Old: ---- mir-2.20.0.tar.xz New: ---- mir-2.20.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mir.spec ++++++ --- /var/tmp/diff_new_pack.IPjWl7/_old 2025-03-25 22:19:54.141231213 +0100 +++ /var/tmp/diff_new_pack.IPjWl7/_new 2025-03-25 22:19:54.141231213 +0100 @@ -36,7 +36,7 @@ %global mirevdevsover 10 Name: mir -Version: 2.20.0 +Version: 2.20.1 Release: 0 Summary: Libraries for building Wayland shells License: (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) ++++++ mir-2.20.0.tar.xz -> mir-2.20.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mir-2.20.0/CMakeLists.txt new/mir-2.20.1/CMakeLists.txt --- old/mir-2.20.0/CMakeLists.txt 2025-03-10 10:46:26.000000000 +0100 +++ new/mir-2.20.1/CMakeLists.txt 2025-03-18 11:44:48.000000000 +0100 @@ -26,7 +26,7 @@ set(MIR_VERSION_MAJOR 2) set(MIR_VERSION_MINOR 20) -set(MIR_VERSION_PATCH 0) +set(MIR_VERSION_PATCH 1) add_compile_definitions(MIR_VERSION_MAJOR=${MIR_VERSION_MAJOR}) add_compile_definitions(MIR_VERSION_MINOR=${MIR_VERSION_MINOR}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mir-2.20.0/src/platforms/atomic-kms/server/kms/atomic_kms_output.cpp new/mir-2.20.1/src/platforms/atomic-kms/server/kms/atomic_kms_output.cpp --- old/mir-2.20.0/src/platforms/atomic-kms/server/kms/atomic_kms_output.cpp 2025-03-10 10:46:26.000000000 +0100 +++ new/mir-2.20.1/src/platforms/atomic-kms/server/kms/atomic_kms_output.cpp 2025-03-18 11:44:48.000000000 +0100 @@ -535,6 +535,12 @@ // Update the connector as we may unexpectedly fail in find_crtc_and_index_for_connector() // https://github.com/MirServer/mir/issues/2661 to_update.connector = kms::get_connector(drm_fd_, to_update.connector->connector_id); + + if (to_update.connector->connection != DRM_MODE_CONNECTED) + { + return false; + } + std::tie(to_update.current_crtc, to_update.current_plane) = mgk::find_crtc_with_primary_plane(drm_fd_, to_update.connector); if (!to_update.current_crtc || !to_update.current_plane) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mir-2.20.0/src/server/frontend_wayland/wayland_connector.cpp new/mir-2.20.1/src/server/frontend_wayland/wayland_connector.cpp --- old/mir-2.20.0/src/server/frontend_wayland/wayland_connector.cpp 2025-03-10 10:46:26.000000000 +0100 +++ new/mir-2.20.1/src/server/frontend_wayland/wayland_connector.cpp 2025-03-18 11:44:48.000000000 +0100 @@ -394,6 +394,8 @@ mf::WaylandConnector::~WaylandConnector() { + wl_display_destroy_clients(display.get()); + try { allocator->unbind_display(display.get()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mir-2.20.0/src/server/frontend_wayland/xdg_activation_v1.cpp new/mir-2.20.1/src/server/frontend_wayland/xdg_activation_v1.cpp --- old/mir-2.20.0/src/server/frontend_wayland/xdg_activation_v1.cpp 2025-03-10 10:46:26.000000000 +0100 +++ new/mir-2.20.1/src/server/frontend_wayland/xdg_activation_v1.cpp 2025-03-18 11:44:48.000000000 +0100 @@ -276,9 +276,16 @@ return token_data->session.expired() || token_data->session.lock() != session; }; - std::lock_guard guard(pending_tokens_mutex); - for (auto const& pending_token : pending_tokens | std::ranges::views::filter(invalid_session)) - token_authority->revoke_token(pending_token->token); + decltype(pending_tokens) to_invalidate; + + { + std::lock_guard guard(pending_tokens_mutex); + for (auto const& token : pending_tokens | std::ranges::views::filter(invalid_session)) + to_invalidate.push_back(token); + } + + for (auto const& token : to_invalidate) + token_authority->revoke_token(token->token); } void mf::XdgActivationV1::bind(struct wl_resource* resource)