Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package weston for openSUSE:Factory checked in at 2024-10-22 14:52:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/weston (Old) and /work/SRC/openSUSE:Factory/.weston.new.26871 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "weston" Tue Oct 22 14:52:15 2024 rev:36 rq:1216787 version:14.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/weston/weston.changes 2024-10-09 22:12:33.121265895 +0200 +++ /work/SRC/openSUSE:Factory/.weston.new.26871/weston.changes 2024-10-22 14:53:07.336411144 +0200 @@ -1,0 +2,7 @@ +Mon Oct 21 16:36:16 UTC 2024 - Jan Engelhardt <jeng...@inai.de> + +- Update to release 14.0.1 + * libweston: Send seat name before announcing devices +- Drop wsp-deps.patch (merged) + +------------------------------------------------------------------- Old: ---- weston-14.0.0.tar.xz weston-14.0.0.tar.xz.sig wsp-deps.patch New: ---- weston-14.0.1.tar.xz weston-14.0.1.tar.xz.sig BETA DEBUG BEGIN: Old: * libweston: Send seat name before announcing devices - Drop wsp-deps.patch (merged) BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ weston.spec ++++++ --- /var/tmp/diff_new_pack.HZC16x/_old 2024-10-22 14:53:09.208489231 +0200 +++ /var/tmp/diff_new_pack.HZC16x/_new 2024-10-22 14:53:09.216489565 +0200 @@ -19,7 +19,7 @@ Name: weston %define lname libweston0 %define major 14 -Version: 14.0.0 +Version: 14.0.1 Release: 0 Summary: Wayland Reference Compositor License: CC-BY-SA-3.0 AND MIT @@ -29,7 +29,6 @@ #Git-Web: https://cgit.freedesktop.org/wayland/weston/ Source: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads/%name-%version.tar.xz Source2: https://gitlab.freedesktop.org/wayland/weston/-/releases/%version/downloads/%name-%version.tar.xz.sig -Patch1: wsp-deps.patch BuildRequires: Mesa-libGLESv3-devel BuildRequires: gcc-c++ BuildRequires: glibc-devel >= 2.27 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.HZC16x/_old 2024-10-22 14:53:09.436498742 +0200 +++ /var/tmp/diff_new_pack.HZC16x/_new 2024-10-22 14:53:09.472500243 +0200 @@ -1,5 +1,5 @@ -mtime: 1728409282 -commit: 499e88f7322073b4b728e930c2a718a247c03d55e764bae324f78ec3637eea35 +mtime: 1729528927 +commit: 58301fdb1cf0c65fe4cdbafc3f6e18a3ccd66b5b25e56e4a049fc273c644ec38 url: https://src.opensuse.org/jengelh/weston revision: master ++++++ build.specials.obscpio ++++++ diff: old/*: No such file or directory diff: new/*: No such file or directory ++++++ weston-14.0.0.tar.xz -> weston-14.0.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/desktop-shell/shell.c new/weston-14.0.1/desktop-shell/shell.c --- old/weston-14.0.0/desktop-shell/shell.c 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/desktop-shell/shell.c 2024-10-21 15:22:27.000000000 +0200 @@ -2895,13 +2895,14 @@ weston_surface_map(es); assert(wl_list_empty(&es->views)); sh_output->panel_view = weston_view_create(es); + + weston_view_move_to_layer(sh_output->panel_view, + &shell->panel_layer.view_list); } assert(sh_output->panel_view); pos = weston_coord_global_add(output->pos, sh_output->panel_offset); weston_view_set_position(sh_output->panel_view, pos); - weston_view_move_to_layer(sh_output->panel_view, - &shell->panel_layer.view_list); } static void diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/include/libweston/libweston.h new/weston-14.0.1/include/libweston/libweston.h --- old/weston-14.0.0/include/libweston/libweston.h 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/include/libweston/libweston.h 2024-10-21 15:22:27.000000000 +0200 @@ -2217,8 +2217,6 @@ weston_output_schedule_repaint_reset(struct weston_output *output); void weston_output_schedule_repaint_restart(struct weston_output *output); -enum weston_compositor_backend -weston_get_backend_type(struct weston_backend *backend); void weston_compositor_schedule_repaint(struct weston_compositor *compositor); void @@ -2475,6 +2473,8 @@ weston_compositor_load_backend(struct weston_compositor *compositor, enum weston_compositor_backend backend, struct weston_backend_config *config_base); +enum weston_compositor_backend +weston_get_backend_type(struct weston_backend *backend); void weston_compositor_exit(struct weston_compositor *ec); void * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/include/libweston/matrix.h new/weston-14.0.1/include/libweston/matrix.h --- old/weston-14.0.0/include/libweston/matrix.h 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/include/libweston/matrix.h 2024-10-21 15:22:27.000000000 +0200 @@ -209,7 +209,7 @@ static inline struct weston_coord __attribute__ ((warn_unused_result)) weston_coord_truncate(struct weston_coord in) { - return (struct weston_coord){ (int)in.x, (int)in.y }; + return (struct weston_coord){ (double)(int) in.x, (double)(int) in.y }; } static inline struct weston_coord_surface __attribute__ ((warn_unused_result)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/libweston/desktop/xdg-shell-v6.c new/weston-14.0.1/libweston/desktop/xdg-shell-v6.c --- old/weston-14.0.0/libweston/desktop/xdg-shell-v6.c 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/libweston/desktop/xdg-shell-v6.c 2024-10-21 15:22:27.000000000 +0200 @@ -1200,6 +1200,14 @@ { struct weston_desktop_surface *dsurface = wl_resource_get_user_data(resource); + if (dsurface == NULL) { + wl_resource_post_error(resource, + ZXDG_SURFACE_V6_ERROR_NOT_CONSTRUCTED, + "xdg surface already destroyed configure " + "serial: %u", serial); + return; + } + struct weston_desktop_xdg_surface *surface = weston_desktop_surface_get_implementation_data(dsurface); struct weston_desktop_xdg_surface_configure *configure, *temp; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/libweston/desktop/xdg-shell.c new/weston-14.0.1/libweston/desktop/xdg-shell.c --- old/weston-14.0.0/libweston/desktop/xdg-shell.c 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/libweston/desktop/xdg-shell.c 2024-10-21 15:22:27.000000000 +0200 @@ -1414,6 +1414,14 @@ { struct weston_desktop_surface *dsurface = wl_resource_get_user_data(resource); + if (dsurface == NULL) { + wl_resource_post_error(resource, + XDG_SURFACE_ERROR_DEFUNCT_ROLE_OBJECT, + "xdg surface already destroyed configure " + "serial: %u", serial); + return; + } + struct weston_desktop_xdg_surface *surface = weston_desktop_surface_get_implementation_data(dsurface); struct weston_desktop_xdg_surface_configure *configure, *temp; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/libweston/input.c new/weston-14.0.1/libweston/input.c --- old/weston-14.0.0/libweston/input.c 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/libweston/input.c 2024-10-21 15:22:27.000000000 +0200 @@ -3848,6 +3848,9 @@ wl_resource_set_implementation(resource, &seat_interface, data, unbind_resource); + if (version >= WL_SEAT_NAME_SINCE_VERSION) + wl_seat_send_name(resource, seat->seat_name); + if (weston_seat_get_pointer(seat)) caps |= WL_SEAT_CAPABILITY_POINTER; if (weston_seat_get_keyboard(seat)) @@ -3856,8 +3859,6 @@ caps |= WL_SEAT_CAPABILITY_TOUCH; wl_seat_send_capabilities(resource, caps); - if (version >= WL_SEAT_NAME_SINCE_VERSION) - wl_seat_send_name(resource, seat->seat_name); } static void diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/libweston/noop-renderer.c new/weston-14.0.1/libweston/noop-renderer.c --- old/weston-14.0.0/libweston/noop-renderer.c 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/libweston/noop-renderer.c 2024-10-21 15:22:27.000000000 +0200 @@ -94,6 +94,12 @@ } shm_buffer = buffer->shm_buffer; + /* This can happen if a SHM wl_buffer gets destroyed before we attach, + * because wayland-server just nukes the wl_shm_buffer from underneath + * us. */ + if (!shm_buffer) + return; + data = wl_shm_buffer_get_data(shm_buffer); stride = buffer->stride; height = buffer->height; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/libweston/screenshooter.c new/weston-14.0.1/libweston/screenshooter.c --- old/weston-14.0.0/libweston/screenshooter.c 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/libweston/screenshooter.c 2024-10-21 15:22:27.000000000 +0200 @@ -265,7 +265,7 @@ #if defined(HAVE_BUILTIN_CLZ) i = 24 - __builtin_clz(run); #else - for (i = 0, tmp = u >> 8; tmp; i++, tmp >>= 1); + for (i = 0, tmp = run >> 8; tmp; i++, tmp >>= 1); #endif *p++ = delta | ((i + 0xe0) << 24); run -= 1 << (7 + i); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/meson.build new/weston-14.0.1/meson.build --- old/weston-14.0.0/meson.build 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/meson.build 2024-10-21 15:22:27.000000000 +0200 @@ -1,6 +1,6 @@ project('weston', 'c', - version: '14.0.0', + version: '14.0.1', default_options: [ 'warning_level=3', 'c_std=gnu99', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weston-14.0.0/tests/meson.build new/weston-14.0.1/tests/meson.build --- old/weston-14.0.0/tests/meson.build 2024-09-04 10:53:50.000000000 +0200 +++ new/weston-14.0.1/tests/meson.build 2024-10-21 15:22:27.000000000 +0200 @@ -74,7 +74,7 @@ [ 'lcms_util.c' ], include_directories: common_inc, dependencies: [ - dep_lcms2, dep_libm + dep_lcms2, dep_libm, dep_wayland_server ], build_by_default: false, install: false,