Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xwayland for openSUSE:Factory checked in at 2023-09-22 21:47:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xwayland (Old) and /work/SRC/openSUSE:Factory/.xwayland.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xwayland" Fri Sep 22 21:47:05 2023 rev:24 rq:1112502 version:23.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/xwayland/xwayland.changes 2023-08-30 10:21:21.510022257 +0200 +++ /work/SRC/openSUSE:Factory/.xwayland.new.1770/xwayland.changes 2023-09-22 21:47:48.657724750 +0200 @@ -1,0 +2,15 @@ +Wed Sep 20 08:53:56 UTC 2023 - Stefan Dirsch <sndir...@suse.com> + +- Update to version 23.2.1: + * glamor: Ignore destination alpha as necessary for composite operation + * xtest: Check whether there is a sendEventsProc to call +- supersedes xwayland-glamor-Ignore-destination-alpha-as-necessary-for-com.patch + +------------------------------------------------------------------- +Mon Sep 18 15:22:57 UTC 2023 - Joan Torres <joan.tor...@suse.com> + +- xwayland-glamor-Ignore-destination-alpha-as-necessary-for-com.patch + * Fix when vncviewer fades to white on xwayland (bsc#1215385, + https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1154) + +------------------------------------------------------------------ Old: ---- xwayland-23.2.0.tar.xz xwayland-23.2.0.tar.xz.sig New: ---- xwayland-23.2.1.tar.xz xwayland-23.2.1.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xwayland.spec ++++++ --- /var/tmp/diff_new_pack.SO2yxM/_old 2023-09-22 21:47:49.813766717 +0200 +++ /var/tmp/diff_new_pack.SO2yxM/_new 2023-09-22 21:47:49.813766717 +0200 @@ -24,7 +24,7 @@ %endif Name: xwayland -Version: 23.2.0 +Version: 23.2.1 Release: 0 URL: http://xorg.freedesktop.org Summary: Xwayland Xserver @@ -34,6 +34,7 @@ Source1: %{url}/archive/individual/xserver/%{name}-%{version}.tar.xz.sig Source2: xwayland.keyring + BuildRequires: meson BuildRequires: ninja BuildRequires: pkgconfig ++++++ xwayland-23.2.0.tar.xz -> xwayland-23.2.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xwayland-23.2.0/Xext/xtest.c new/xwayland-23.2.1/Xext/xtest.c --- old/xwayland-23.2.0/Xext/xtest.c 2023-08-16 09:59:44.000000000 +0200 +++ new/xwayland-23.2.1/Xext/xtest.c 2023-09-20 10:10:03.000000000 +0200 @@ -437,7 +437,8 @@ valuator_mask_set_range(&mask, firstValuator, numValuators, valuators); - (*dev->sendEventsProc) (dev, type, ev->u.u.detail, flags, &mask); + if (dev->sendEventsProc) + (*dev->sendEventsProc) (dev, type, ev->u.u.detail, flags, &mask); if (need_ptr_update) miPointerUpdateSprite(dev); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xwayland-23.2.0/glamor/glamor_priv.h new/xwayland-23.2.1/glamor/glamor_priv.h --- old/xwayland-23.2.0/glamor/glamor_priv.h 2023-08-16 09:59:44.000000000 +0200 +++ new/xwayland-23.2.1/glamor/glamor_priv.h 2023-09-20 10:10:03.000000000 +0200 @@ -111,6 +111,7 @@ enum shader_dest_swizzle { SHADER_DEST_SWIZZLE_DEFAULT, SHADER_DEST_SWIZZLE_ALPHA_TO_RED, + SHADER_DEST_SWIZZLE_IGNORE_ALPHA, SHADER_DEST_SWIZZLE_COUNT, }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xwayland-23.2.0/glamor/glamor_render.c new/xwayland-23.2.1/glamor/glamor_render.c --- old/xwayland-23.2.0/glamor/glamor_render.c 2023-08-16 09:59:44.000000000 +0200 +++ new/xwayland-23.2.1/glamor/glamor_render.c 2023-09-20 10:10:03.000000000 +0200 @@ -197,6 +197,11 @@ " float undef;\n" " return vec4(color.a, undef, undef, undef);" "}"; + const char *dest_swizzle_ignore_alpha = + "vec4 dest_swizzle(vec4 color)\n" + "{" + " return vec4(color.xyz, 1.0);" + "}"; const char *in_normal = "void main()\n" @@ -286,6 +291,9 @@ case SHADER_DEST_SWIZZLE_ALPHA_TO_RED: dest_swizzle = dest_swizzle_alpha_to_red; break; + case SHADER_DEST_SWIZZLE_IGNORE_ALPHA: + dest_swizzle = dest_swizzle_ignore_alpha; + break; default: FatalError("Bad composite shader dest swizzle"); } @@ -938,7 +946,11 @@ glamor_priv->formats[8].format == GL_RED) { key.dest_swizzle = SHADER_DEST_SWIZZLE_ALPHA_TO_RED; } else { - key.dest_swizzle = SHADER_DEST_SWIZZLE_DEFAULT; + if (dest_pixmap->drawable.depth == 32 && + glamor_drawable_effective_depth(dest->pDrawable) == 24) + key.dest_swizzle = SHADER_DEST_SWIZZLE_IGNORE_ALPHA; + else + key.dest_swizzle = SHADER_DEST_SWIZZLE_DEFAULT; } if (source && source->alphaMap) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xwayland-23.2.0/meson.build new/xwayland-23.2.1/meson.build --- old/xwayland-23.2.0/meson.build 2023-08-16 09:59:44.000000000 +0200 +++ new/xwayland-23.2.1/meson.build 2023-09-20 10:10:03.000000000 +0200 @@ -3,10 +3,10 @@ 'buildtype=debugoptimized', 'c_std=gnu99', ], - version: '23.2.0', + version: '23.2.1', meson_version: '>= 0.52.0', ) -release_date = '2023-08-16' +release_date = '2023-09-20' add_project_arguments('-DHAVE_DIX_CONFIG_H', language: ['c', 'objc']) cc = meson.get_compiler('c')