Dylan Aïssi pushed to branch debian/bookworm-backports at X Strike Force / wayland / weston
Commits: c1616cab by Dylan Aïssi at 2024-09-20T09:39:46+02:00 Enable tests (build time and autopkgtest) on armhf since they are now successful Signed-off-by: Dylan Aïssi <[email protected]> - - - - - f3af2e17 by Dylan Aïssi at 2024-09-20T09:46:34+02:00 Bump minimum version of libdisplay-info-dev It's required to get a better color management like HDR support. Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 32f55961 by Jan Alexander Steffens (heftig) at 2024-10-11T13:28:48+03:00 libweston/noop-renderer: Check shm_buffer for NULL Copy the check from the pixman renderer. Fixes: https://gitlab.freedesktop.org/wayland/weston/-/issues/953 Signed-off-by: Jan Alexander Steffens (heftig) <[email protected]> (cherry picked from commit 0e451e8dc38b1539e6e2b0ae6f5c871d3edab70a) - - - - - efd67899 by EatingSumo at 2024-10-11T13:29:51+03:00 libweston/screenshooter: Fix build when __builtin_clz is not available Fix compilation error when `__builtin_clz` is not available by renaming variable 'u' to 'run' Signed-off-by: Junyu Long <[email protected]> (cherry picked from commit 312c8bea660744efd0ff21acb19925d1e8321dd4) - - - - - 1e667cf0 by David Edmundson at 2024-10-11T13:30:01+03:00 libweston: Send seat name before announcing devices Clients need to know the seat name at the time they create mouse and keyboard objects. This brings Weston in line with other compositors. The documentation upstream currently is not super clear. It states name is explicitly sent on bind, capabilities don't mention being sent on bind in any way. Signed-off-by: David Edmundson <[email protected]> (cherry picked from commit fe64eee3aec200c465dfe0428e8a68d9c5711f39) - - - - - ca3c5b80 by Jan Engelhardt at 2024-10-11T13:30:07+03:00 build: insert missing wayland-server-protocol dependency A new build error sprung up in weston-14 compared to 13.0.0. Fix it. FAILED: tests/liblib_lcms_util.a.p/lcms_util.c.o cc -Itests/liblib_lcms_util.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC -MD -MQ tests/liblib_lcms_util.a.p/lcms_util.c.o -MF tests/liblib_lcms_util.a.p/lcms_util.c.o.d -o tests/liblib_lcms_util.a.p/lcms_util.c.o -c ../tests/lcms_util.c In file included from ../tests/lcms_util.c:35: ../include/libweston/matrix.h:33:10: fatal error: wayland-server-protocol.h: No such file or directory 33 | #include <wayland-server-protocol.h> Signed-off-by: Jan Engelhardt <[email protected]> (cherry picked from commit f86ff8c07d9951672cee089ad626eb0898815bf0) - - - - - 6d015b47 by Marius Vlad at 2024-10-11T13:30:13+03:00 libweston: Move weston_get_backend_type after enum declaration Fix: #951 Signed-off-by: Marius Vlad <[email protected]> (cherry picked from commit 68bbc4cf51291f4ea6770d710555a46729eed8e5) - - - - - e056153b by Marius Vlad at 2024-10-11T13:30:52+03:00 desktop-shell: Don't attempt to re-add the view to panel layer This change fixes a side-effect of weston_view_move_to_layer helper which would basically unmap the view because the layer entry list is no longer visible. Only add the view to panel layer the first time. Fixes: #956 Signed-off-by: Marius Vlad <[email protected]> (cherry picked from commit 217fb308471b16f43e2945c4bcfe17c3b98980fe) - - - - - 502e4bd3 by Jeri Li at 2024-10-14T14:26:34+03:00 libweston/desktop: avoid weston crash while xdg_surface ack_configure checks the resource and sends a protocol error if the client tries to send a request to an inert object then returns out of the request handler Signed-off-by: Jeri Li <[email protected]> (cherry picked from commit 04f27f1be2e0dd4526d994c27f6117634a51cc1d) - - - - - 398cc856 by Dylan Aïssi at 2024-10-17T22:16:32+02:00 Move weston headers for plugin development into their own package weston-dev (Closes: #952530) Signed-off-by: Dylan Aïssi <[email protected]> - - - - - c526a3c1 by Dylan Aïssi at 2024-10-18T10:44:35+02:00 cme fix dpkg-control Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 1fb3588f by Dylan Aïssi at 2024-10-18T11:42:05+02:00 Release weston version 14.0.0-3 Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 7eaba52a by Marius Vlad at 2024-10-21T13:41:04+03:00 libweston/matrix: Fix narrow conversion with C++ Fixes the following C++ narrow conversion: /include/libweston-14/libweston/matrix.h: In function ‘weston_coord weston_coord_truncate(weston_coord)’: /include/libweston-14/libweston/matrix.h:212:39: error: narrowing conversion of ‘(int)in.weston_coord::x’ from ‘int’ to ‘double’ [-Werror=narrowing] 212 | return (struct weston_coord){ (int)in.x, (int)in.y }; | ^~~~~~~~~ /home/mvlad/install-new/include/libweston-14/libweston/matrix.h:212:50: error: narrowing conversion of ‘(int)in.weston_coord::y’ from ‘int’ to ‘double’ [-Werror=narrowing] 212 | return (struct weston_coord){ (int)in.x, (int)in.y }; Signed-off-by: Marius Vlad <[email protected]> Signed-off-by: Derek Foreman <[email protected]> (cherry picked from commit a501acd291e819d00ef744ac6cd8b25500b07c3c) - - - - - 61f2248d by Marius Vlad at 2024-10-21T16:22:27+03:00 build: bump to version 14.0.1 for the point release Signed-off-by: Marius Vlad <[email protected]> - - - - - 8cf1aa54 by Dylan Aïssi at 2024-10-21T15:33:00+02:00 Update Homepage All references to weston were dropped at the previous url. Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 9d2cefb6 by Dylan Aïssi at 2024-10-22T17:28:38+02:00 Merge tag '14.0.1' into upstream-unstable 14.0.1 - - - - - f087105a by Dylan Aïssi at 2024-10-22T17:29:20+02:00 Merge branch 'upstream-unstable' into debian-unstable - - - - - 20566eff by Dylan Aïssi at 2024-10-22T17:30:55+02:00 Bump debian/changelog Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 4ea68bf9 by Dylan Aïssi at 2024-10-22T17:33:37+02:00 Drop libweston-noop-renderer-Check-shm_buffer-for-NULL.patch, included in upstream release Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 8887db36 by Dylan Aïssi at 2024-10-22T17:51:11+02:00 Release weston version 14.0.1-1 Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 575931d1 by Dylan Aïssi at 2024-10-24T21:22:35+02:00 Run autopkgtest on failing architectures but marked as flaky It allows us to get tests log. Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 930e3465 by Carlos Henrique Lima Melara at 2024-11-05T17:16:04-03:00 d/control: Recommends xwayland so it works out-of-the-box Signed-off-by: Carlos Henrique Lima Melara <[email protected]> - - - - - d916ed38 by Dylan Aïssi at 2024-11-06T08:15:59+01:00 Add xwayland in Build-Deps to ensure that HAVE_XWAYLAND_LISTENFD is properly defined Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 56c98527 by Dylan Aïssi at 2024-11-06T09:50:25+01:00 Re-enable xwayland test Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 92b4f639 by Dylan Aïssi at 2024-11-06T10:36:23+01:00 Enable tests (build time and autopkgtest) on riscv64 since they are now successful Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 68474969 by Dylan Aïssi at 2024-11-08T15:50:01+01:00 Release weston version 14.0.1-2 Signed-off-by: Dylan Aïssi <[email protected]> - - - - - f16055ed by Dylan Aïssi at 2024-11-23T09:40:00+01:00 Cherry pick upstream patch allowing to build against neatvnc 0.9.0 Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 8405e7b4 by Dylan Aïssi at 2024-11-23T10:04:30+01:00 Release weston version 14.0.1-3 Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 85744e6f by Dylan Aïssi at 2024-12-03T11:50:31+01:00 Add some references in debian/upstream/metadata Signed-off-by: Dylan Aïssi <[email protected]> - - - - - de1589d8 by Dylan Aïssi at 2025-01-08T11:58:10+01:00 Use dh_installman to install manpages Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 26e03f38 by Marius Vlad at 2025-04-17T11:47:28+03:00 libweston/desktop: Don't destroy the xdg_surface Upon xdg_toplevel::destroy we seem to be calling xdg_surface::destroy destroy handler. Protocol states that we should umap the surface with client having the posibility to getting another toplevel role for the same xdg_surface and re-map the window. This also adds a guard for an unlikely invalid resource. Fixes: #774 Signed-off-by: Marius Vlad <[email protected]> (cherry picked from commit 8b5bb588dff9e0a73081c65fea0d709efd7e5b14) - - - - - d70f91d3 by Marius Vlad at 2025-04-17T11:47:36+03:00 libweston/desktop: Avoid a potential crash on invalid resource This checks for a valid resource when getting a xdg_popup. Similar to the check in get_toplevel. Signed-off-by: Marius Vlad <[email protected]> (cherry picked from commit 80e47a71611303b2f4be0168aeb678c4d800e22a) - - - - - a712e803 by Derek Foreman at 2025-04-17T11:47:58+03:00 compositor: Prevent startup crash when hdcp mode is set on display We can startup with the display already in type1 content protection mode. When this happens, we call weston_output_dirty_paint_nodes() on a display that hasn't yet been enabled. The paint node list isn't initialized yet, so we crash. We don't actually need to touch the paint nodes here anyway, as weston_output_damage() ensures a repaint if the ourput is enabled, and weston_output_dirty_paint_nodes() just forces calculation of things unrelated to protection, and we'll override most of that in maybe_replace_paint_node() if necessary when we get there. Just drop the weston_output_dirty_paint_nodes() call to stop the crash. Signed-off-by: Derek Foreman <[email protected]> (cherry picked from commit 4f2cc67fde713d7363ebc30192c8cd4ac0bc34c4) - - - - - 353600b6 by Philipp Zabel at 2025-04-17T11:48:12+03:00 vnc: Allow neatvnc in version 0.9.0 Neat VNC 0.9.0 is backwards compatible. Signed-off-by: Philipp Zabel <[email protected]> (cherry picked from commit b4386289d614f26e89e1c6eb17e048826e925ed1) - - - - - ee92a531 by Ian Ray at 2025-04-17T11:48:30+03:00 shared: fix binding-modifier none Fix binding-modifier "none" which was defaulting to Super. Commit [1] introduced the original support for "none" but the logic was subsequently lost in f7ba35f5. [1] 553d1248 ("desktop-shell: Allow binding-modifier weston.ini option to be none") Fixes: #976 Fixes: f7ba35f5 ("kiosk-shell: Enable debug keybindings") Signed-off-by: Ian Ray <[email protected]> (cherry picked from commit fc278fb3ccfa81fe1231b896fc1a181311669353) - - - - - af871d82 by Marius Vlad at 2025-04-17T11:48:42+03:00 gl-renderer: Take direct-display into consideration The buffer_init function added with commit 83b37c0ac4, "renderers: pull dmabuf initial setup out of attach", doesn't take into consideration the the buffer's direct-display property. Previously, gl_renderer_attach_dmabuf, wasn't being called when dmabuf's direct-display was turned on, but with commit 83b37c0ac4 this has been changed. So with commit 83b37c0ac4, linux_dmabuf_buffer_get_user_data will never return a valid gb (gl buffer state), causing a crash using direct-display extension. This adds an explicit check to return early when this happens. Fixes: 83b37c0ac4, "renderers: pull dmabuf initial setup out of attach" Signed-off-by: Marius Vlad <[email protected]> (cherry picked from commit bf7b2311e7a31a76211608053b5a76d378d794e2) - - - - - 8eb0ff8a by Derek Foreman at 2025-04-17T11:49:03+03:00 compositor: re-order paint node placeholder checks Doing these in the wrong order breaks content protection, and breaks placing direct-display paint nodes on underlays. Fixes: 827e2276 ("gl-renderer: Draw holes on primary plane for the view on underlay") Signed-off-by: Derek Foreman <[email protected]> (cherry picked from commit 53189ebb89df65bee66088202a863cc5caec5af3) - - - - - 9eb44254 by Marius Vlad at 2025-04-17T11:49:16+03:00 compositor: Mark pnode accordingly when buffer type is direct As we exit early we never have the chance to mark it as is_direct when the buffer type is direct_display. This is required as is_direct is never checked in GL attach part we end up tripping on invalid renderer_private causing it to assert. Fixes 2db4f17244f, "compositor: re-order paint node placeholder checks" Signed-off-by: Marius Vlad <[email protected]> (cherry picked from commit 9d841e39e87671d4b78a00bfa5be8c88fe0dec20) - - - - - 11f20fa8 by Derek Foreman at 2025-04-17T11:49:29+03:00 drm: Fix underlay test We need to reset the underlay check inside the view evaluation loop, otherwise once we need an underlay we'll treat every following view as needing an underlay. Fixes: 1065d23406 ("backend-drm: Improve plane assignment for underlay platform") Signed-off-by: Derek Foreman <[email protected]> (cherry picked from commit 8dbb3e17d0387f46e42423eee9e2b441bedecade) - - - - - 23f254c6 by Marius Vlad at 2025-04-17T11:49:47+03:00 windowed-output-api.h: Provide ARRAY_LENGH() for windowed-output-api We need this common helper as we don't have access to shared helper, so just define one in-situ. Signed-off-by: Marius Vlad <[email protected]> (cherry picked from commit 43f7b7b3bb02935417e41c43c8e3ce921e011eee) - - - - - 1cb63e1f by kang-sooyeon at 2025-04-17T11:50:00+03:00 libweston/input.c: Fix weston crash with the mouse event Fix weston crash when user click the mouse continuosly while the video is playing. Call weston_view_update_transform before calling weston_coord_global_to_surface to update view->transform.dirty to 0. Fixes #985 Tested-by: Sooyeon Kang [email protected] Signed-off-by: Sooyeon Kang [email protected] (cherry picked from commit c77a5d386a7c0729649c5d611a1855d577f28faa) - - - - - f87d119e by Michael Olbrich at 2025-04-17T11:50:12+03:00 libweston-desktop: don't try to move child surfaces to not existing layer The parent surface may not be on a layer. In that case, remove all child surfaces from their current layer as well. Signed-off-by: Michael Olbrich <[email protected]> (cherry picked from commit 6e88a851a4658afca34ccb2d22d55448a58671bc) - - - - - 3b340a2f by Pekka Paalanen at 2025-04-17T11:50:39+03:00 libweston: refactor update_lowest_free_bucket() No functional change here other than asserting that next_num didn't wrap around. This reorganization helps adding the code needed to clear the memory added by xrealloc() in the next patch. Signed-off-by: Pekka Paalanen <[email protected]> (cherry picked from commit 2733a9596227336c7ca52d7e46022f9316777cb5) - - - - - cb8bb276 by Pekka Paalanen at 2025-04-17T11:50:53+03:00 libweston: fix realloc in weston_idalloc realloc() does not initialize the added memory, it needs to be zeroed explicitly. Not zeroing this memory had one severe consequence: if the new lowest_free_bucket was 0xffffffff, weston_idalloc_get_id() would fail an assertion. Otherwise non-zero bits in the added memory would just cause id numbers to be skipped unnecessarily, which does no harm. Fixes: https://gitlab.freedesktop.org/wayland/weston/-/issues/1000 Signed-off-by: Pekka Paalanen <[email protected]> (cherry picked from commit ed51e9ae43762d59c3a16776f76a08a117312416) - - - - - ef25333f by Pekka Paalanen at 2025-04-17T11:51:04+03:00 libweston: fix bitshift in weston_idalloc_get_id() Fixes the following UBSan error: ../../git/weston/libweston/id-number-allocator.c:140:16: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Signed-off-by: Pekka Paalanen <[email protected]> (cherry picked from commit 6773ffa758ff8b15379ea4bc9c66165212df06a4) - - - - - 51dfd1be by Derek Foreman at 2025-04-25T15:02:09+03:00 frontend: Fix crash in output resize handler The output resized signal sends a struct weston_output as the data, not a struct weston_head. Fixes 197c5e0084 Signed-off-by: Derek Foreman <[email protected]> (cherry picked from commit 52204f55eae8e1b0e351d56742fb9c74659be648) - - - - - 015b3b4d by Marius Vlad at 2025-04-25T15:37:41+03:00 build: bump to version 14.0.2 for the point release Signed-off-by: Marius Vlad <[email protected]> - - - - - 00a7b315 by Dylan Aïssi at 2025-04-25T15:39:58+02:00 Merge tag '14.0.2' into upstream-unstable 14.0.2 - - - - - 106f2456 by Dylan Aïssi at 2025-04-25T15:40:10+02:00 Merge branch 'upstream-unstable' into debian-unstable - - - - - 2770535a by Dylan Aïssi at 2025-04-25T15:42:53+02:00 debian/watch: rely on gitlab releases instead of releases.html which tends to be outdated Signed-off-by: Dylan Aïssi <[email protected]> - - - - - fe94bbf1 by Dylan Aïssi at 2025-04-25T15:44:22+02:00 Bump debian/changelog Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 8f1b7ebd by Dylan Aïssi at 2025-04-25T15:45:37+02:00 Drop patch included in upstream release Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 7a820451 by Dylan Aïssi at 2025-04-25T15:50:02+02:00 Add debian/salsa-ci.yml Signed-off-by: Dylan Aïssi <[email protected]> - - - - - f222334b by Dylan Aïssi at 2025-04-25T16:04:29+02:00 Standards-Version: 4.7.2 (no changes required) Signed-off-by: Dylan Aïssi <[email protected]> - - - - - fe312693 by Dylan Aïssi at 2025-04-25T17:29:19+02:00 Release weston version 14.0.2-1 Signed-off-by: Dylan Aïssi <[email protected]> - - - - - e0fbd5f3 by Dylan Aïssi at 2025-05-06T21:43:24+02:00 Merge tag 'debian/14.0.2-1' into debian/bookworm-backports weston Debian release 14.0.2-1 Signed-off-by: Dylan Aïssi <[email protected]> - - - - - aaf348ba by Dylan Aïssi at 2025-05-06T21:45:45+02:00 Bump debian/changelog Signed-off-by: Dylan Aïssi <[email protected]> - - - - - 32 changed files: - debian/changelog - debian/control - − debian/patches/Skip_xwayland_test.patch - − debian/patches/libweston-noop-renderer-Check-shm_buffer-for-NULL.patch - − debian/patches/series - debian/rules - + debian/salsa-ci.yml - debian/tests/control - debian/upstream/metadata - debian/watch - + debian/weston-dev.install - debian/weston.install - + debian/weston.manpages - desktop-shell/shell.c - frontend/main.c - include/libweston/libweston.h - include/libweston/matrix.h - include/libweston/windowed-output-api.h - libweston/backend-drm/state-propose.c - libweston/backend-vnc/meson.build - libweston/compositor.c - libweston/desktop/surface.c - libweston/desktop/xdg-shell-v6.c - libweston/desktop/xdg-shell.c - libweston/id-number-allocator.c - libweston/input.c - libweston/noop-renderer.c - libweston/renderer-gl/gl-renderer.c - libweston/screenshooter.c - meson.build - shared/config-parser.c - tests/meson.build The diff was not included because it is too large. View it on GitLab: https://salsa.debian.org/xorg-team/wayland/weston/-/compare/e945a9652c727b139ccb08f15d12710af559f055...aaf348ba7493a223d15f5f1934064fa991464aab -- View it on GitLab: https://salsa.debian.org/xorg-team/wayland/weston/-/compare/e945a9652c727b139ccb08f15d12710af559f055...aaf348ba7493a223d15f5f1934064fa991464aab You're receiving this email because of your account on salsa.debian.org.

