[ANNOUNCE] weston 10.0.4

2023-05-17 Thread Marius Vlad
Hi all,

This is a point/bugfix release for weston 10.0.0.

Full commit history bellow.

Marius Vlad (1):
  build: bump to version 10.0.4 for the point release

Sergio Gómez (4):
  libweston/input: Remove redundant surface destroy listener in constraints
  libweston: Add view unmap listener to pointer constraints
  libweston: Add assert for valid confine region in 
maybe_warp_confined_pointer()
  libweston/input: Fix assert for valid confine region

git tag: 10.0.4

https://gitlab.freedesktop.org/wayland/weston/-/releases/10.0.4/downloads/weston-10.0.4.tar.xz
SHA256: fc3208b9d228cba734fe8f8cba18b18e48aaede3829030ea62d71f6e3ad8fd97  
weston-10.0.4.tar.xz
SHA512: 
34b10a7e1e4bd9320617a33b52d802b4e6a1be779760fffb3a3c4a63d947e77211652e405badd234f17440a233cefbf78541f85e6d806bb183c94ae52902acc8
  weston-10.0.4.tar.xz
PGP:
https://gitlab.freedesktop.org/wayland/weston/-/releases/10.0.4/downloads/weston-10.0.4.tar.xz.sig



signature.asc
Description: PGP signature


[ANNOUNCE] weston 11.0.2

2023-05-17 Thread Marius Vlad
Hi all,

This is a point/bugfix release for weston 11.0.0.

Full commit history bellow.

Alexandros Frantzis (1):
  xwayland: Handle shell hint for client to choose dimensions

Leandro Ribeiro (1):
  desktop-shell: do not forget to reset pending config size after resizes

Marius Vlad (8):
  remoting-plugin: Release and detach the head
  remoting-plugin: Check virtual outputs/remoting instance
  pipewire: Follow-up with remoting pluging when releasing the head
  pipewire: Fix memleak upon compositor shutdown
  pipewire: Destroy the pipewire outputs at shutdown
  pipewire-plugin: Check virtual outputs/remoting instance
  backend-drm: Do not overwrite plane's index when creating virtual plane
  build: bump to version 11.0.2 for the point release

Michael Olbrich (2):
  libweston: clear parent_view when the parent view is destroyed
  desktop-shell: avoid crashes when a surface disappears during resize

Sergio Gómez (4):
  libweston/input: Remove redundant surface destroy listener in constraints
  libweston: Add view unmap listener to pointer constraints
  libweston: Add assert for valid confine region in 
maybe_warp_confined_pointer()
  libweston/input: Fix assert for valid confine region

git tag: 11.0.2

https://gitlab.freedesktop.org/wayland/weston/-/releases/11.0.2/downloads/weston-11.0.2.tar.xz
SHA256: 7240752cef0b7de622baf8bd5348e63fc6b19f02ef824961b2add177d9652952  
weston-11.0.2.tar.xz
SHA512: 
3b63d1042f64dcb1a5f90f3bf2281dd862b27592f7c15252850746eccff35e930f045ce5c191aaa1423ed6ecb8a56b0336af58d35758c956a84749622c42d6db
  weston-11.0.2.tar.xz
PGP:
https://gitlab.freedesktop.org/wayland/weston/-/releases/11.0.2/downloads/weston-11.0.2.tar.xz.sig



signature.asc
Description: PGP signature


[ANNOUNCE] weston 12.0.0

2023-05-17 Thread Marius Vlad
Hi all,

This is the official release for weston 12.0.0.

Highlights for this release:

- backend-drm: multiple GPU support, by using --additional-devices to specify
  secondary DRM devices, in the form of a comma-separated list of devices.
  Inteded as separated output devices (KMS), not as render devices
- backend-drm: add support for HDMI content type: graphics, photo, cinema and
  game.
- backend-drm: Added support for tearing-control protocol
- backend-drm: Added plane rotation property and make use of when possible
- backend-drm: Added supported formats for writeback connectors, and with it
  a writeback screen shooter
- backend-drm: Added plane alpha DRM-property
- backend-drm: use libdisplay-info as a better alternative for parsing EDID

- backed-vnc: a new backend similar to backend-rpd, based on aml and neatvnc,
  with TLS support and user authentication. Both aml and neatvnc are set-up
  as subprojects

- backend-pipewire: added PipeWire backend

- backend-wayland: allow resizing with xdg-shell

- backend-rdp: preliminary rdp multi-head support 
  (and many other bug-fixes in-between)

- backend-headless: added output decorations for testing out the color-lcms
  plugin.

- launcher-logind has been deprecated and disabled by default. As
  launcher-libseat supports logind, this shouldn't cause any regressions

- libweston/desktop (formally libweston-desktop) would take into account client
  pending state, when there's no buffer attached. Useful in situations where the
  clients would like to start from the beginning in a maximized/fullscreen
  state

- protocol: new screenshooter protocol: weston-output-capture. This new
  protocol is as a Weston public extension. The older weston-screenshooter
  protocol has been removed.

- xwayland: multiple fixes related to seat handling, selection and window
  state modifications
- xwayland: Add support for xwayland_shell_v1 protocol

- libweston: Add user authentication support via PAM
- libweston: update wl_output to version 4, to also include name and 
description 
  events.

- compositor: added a short-form for loading backends -- this allows the 
  use of "--backend=headless" instead of "--backend=headless-backend.so".
  Short-form for shells was also added: pass "--shell=foo", rather than
  "--shell=foo-shell.so". Renderers can be specified the same,
  by using "--renderer=gl|pixman"
  Backwards compatible with the older form still supported.

- clients/simple-egl: Dropped Y_INVERT linux-dmabuf flag. In order to keep the
  same orientation we had with that flag the client is now rendered up-side
  down (explicitly)
- clients/simple-egl: Implement fractional-scale protocol support
- clients/simple-egl: adds a vertical bar drawing mode, if started with -v, for 
testing
  out tearing

- simple-dmabuf-v4l: Add support to NV12 devices that combine planes

- ivi-shell: activate keyboard focus for xdg-shell surface, similar to how we
  handle keyboard input activation in desktop-shell and kiosk-shell. A few more
  updates have landed, as well as bug-fixes. Includes additional signal
  event handling (output creation and destruction) but also specific signals
  for controller destruction. Added input panel support

- many more bug-fixes across the board: desktop-shell, kiosk-shell, DRM virtual
  API (remoting/pipewire plugins) and screen-share module


Internal changes:

- backend-drm: avoid doing a modeset if max_bpc connector property is set,
  while the output is set to current

- Pixman/GL renderer and x11, rdp, wayland backends: the Pixman and GL renderer
  now supports resizing its shadow buffer, and with it the rdp, x11 and wayland
  backends now make use of it

- color-lcms: improvements in color transformation precision and performance

API changes:

- weston_log_paced() has been added which can help out to throttle messages

- added weston_shell_utils namespace: common shell-utils API which can be 
  reused by other shell clients. desktop-shell/kiosk-shell has been using
  these for some time, but it wasn't part of libweston until now

- make weston_head_set_device_changed() public

- introduction of weston_coord_surface_to_global(), 
weston_coord_global_to_surface(),
  weston_coord_surface_to_buffer(), weston_coord_global_from_output_point() and
  weston_matrix_transform_coord(). These are a family of coordinate vector
  structures for coordinate pairs. These have been extensively used in
  all compositor code and in libweston, together with the introduction
  of weston_coord

- added weston_surface_is_unmapping() for cases where the client is attaching
  an empty buffer (after having a previously valid one). This would also cause
  libweston/desktop to emit a weston_desktop_api_committed() call that can 
  be handled by a shell client implementing weston_desktop_api

- added weston_output_power_on() and its counter-part weston_output_power_off() 
  in order to handle multiple weston_output independently using their 
  power state (DPMS on/off)
 
Bre

Re: [ANNOUNCE] weston 12.0.0

2023-05-17 Thread Jan Engelhardt


On Wednesday 2023-05-17 21:14, Marius Vlad wrote:
>This is the official release for weston 12.0.0.

Fails to build, it misses properly adding the output from xkbcommon.pc to the
compiler command line:

[5s] FAILED: libweston/libgl-borders.a.p/gl-borders.c.o 
[5s] cc -Ilibweston/libgl-borders.a.p -Ilibweston -I../libweston -I. -I.. 
-Iinclude -I../include -I/usr/include/wayland -I/usr/include/pixman-1 
-I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 
-I/usr/include/webp -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 libweston/libgl-borders.a.p/gl-borders.c.o -MF 
libweston/libgl-borders.a.p/gl-borders.c.o.d -o 
libweston/libgl-borders.a.p/gl-borders.c.o -c ../libweston/gl-borders.c
[5s] In file included from ../libweston/renderer-gl/gl-renderer.h:32,
[5s]  from ../libweston/gl-borders.h:28,
[5s]  from ../libweston/gl-borders.c:31:
[5s] ../include/libweston/libweston.h:39:10: fatal error: 
xkbcommon/xkbcommon.h: No such file or directory
[5s]39 | #include 


Re: [ANNOUNCE] weston 12.0.0

2023-05-17 Thread Jan Engelhardt


On Wednesday 2023-05-17 23:01, Jan Engelhardt wrote:
>On Wednesday 2023-05-17 21:14, Marius Vlad wrote:
>>This is the official release for weston 12.0.0.
>
>Fails to build, it misses properly adding the output from xkbcommon.pc to the
>compiler command line:[...]

Patch follows.



[5s] FAILED: libweston/libgl-borders.a.p/gl-borders.c.o 
[5s] cc -Ilibweston/libgl-borders.a.p -Ilibweston -I../libweston -I. -I.. 
-Iinclude -I../include -I/usr/include/wayland -I/usr/include/pixman-1 
-I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 
-I/usr/include/webp -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 libweston/libgl-borders.a.p/gl-borders.c.o -MF 
libweston/libgl-borders.a.p/gl-borders.c.o.d -o 
libweston/libgl-borders.a.p/gl-borders.c.o -c ../libweston/gl-borders.c
[5s] In file included from ../libweston/renderer-gl/gl-renderer.h:32,
[5s]  from ../libweston/gl-borders.h:28,
[5s]  from ../libweston/gl-borders.c:31:
[5s] ../include/libweston/libweston.h:39:10: fatal error: 
xkbcommon/xkbcommon.h: No such file or directory

[4s] FAILED: shared/libshared.a.p/config-parser.c.o 
[4s] cc -Ishared/libshared.a.p -Ishared -I../shared -I. -I.. -Iinclude 
-I../include -I/usr/include/wayland -I/usr/include/pixman-1 
-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 
shared/libshared.a.p/config-parser.c.o -MF 
shared/libshared.a.p/config-parser.c.o.d -o 
shared/libshared.a.p/config-parser.c.o -c ../shared/config-parser.c
[4s] In file included from ../shared/config-parser.c:44:
[4s] ../include/libweston/libweston.h:39:10: fatal error: 
xkbcommon/xkbcommon.h: No such file or directory

[6s] FAILED: tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o 
[6s] cc -Itests/libtest-xwayland-client.a.p -Itests -I../tests -I. -I.. 
-Iinclude -I../include -Iprotocol -I/usr/include/pixman-1 
-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/libtest-xwayland-client.a.p/xcb-client-helper.c.o -MF 
tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o.d -o 
tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o -c 
../tests/xcb-client-helper.c
[6s] ../tests/xcb-client-helper.c:39:10: fatal error: wayland-client.h: No 
such file or directory

---
 libweston/meson.build |1 +
 shared/meson.build|2 +-
 tests/meson.build |2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

Index: weston/libweston/meson.build
===
--- weston.orig/libweston/meson.build
+++ weston/libweston/meson.build
@@ -255,6 +255,7 @@ lib_gl_borders = static_library(
dependencies: [
dep_lib_cairo_shared,
dep_egl, # for gl-renderer.h
+   dep_xkbcommon,
],
build_by_default: false,
install: false
Index: weston/shared/meson.build
===
--- weston.orig/shared/meson.build
+++ weston/shared/meson.build
@@ -7,7 +7,7 @@ srcs_libshared = [
 'process-util.c',
'hash.c',
 ]
-deps_libshared = [dep_wayland_client, dep_wayland_server, dep_pixman]
+deps_libshared = [dep_wayland_client, dep_wayland_server, dep_pixman, 
dep_xkbcommon]
 
 lib_libshared = static_library(
'shared',
Index: weston/tests/meson.build
===
--- weston.orig/tests/meson.build
+++ weston/tests/meson.build
@@ -322,7 +322,7 @@ if get_option('xwayland')
[ 'xcb-client-helper.c', weston_test_client_protocol_h ],
include_directories: common_inc,
dependencies: [
-   dep_pixman, dep_xcb_xwayland,
+   dep_pixman, dep_wayland_client, dep_xcb_xwayland,
 

Re: [ANNOUNCE] weston 12.0.0

2023-05-17 Thread Marius Vlad
Hi Jan,

Thanks a lot for the patch, it seems that there are actually two issues here:
one with xkbcommon and one with wayland-client. I'll split these up and
do a point release soon.

On Wed, May 17, 2023 at 11:15:34PM +0200, Jan Engelhardt wrote:
> 
> On Wednesday 2023-05-17 23:01, Jan Engelhardt wrote:
> >On Wednesday 2023-05-17 21:14, Marius Vlad wrote:
> >>This is the official release for weston 12.0.0.
> >
> >Fails to build, it misses properly adding the output from xkbcommon.pc to the
> >compiler command line:[...]
> 
> Patch follows.
> 
> 
> 
> [5s] FAILED: libweston/libgl-borders.a.p/gl-borders.c.o 
> [5s] cc -Ilibweston/libgl-borders.a.p -Ilibweston -I../libweston -I. -I.. 
> -Iinclude -I../include -I/usr/include/wayland -I/usr/include/pixman-1 
> -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 
> -I/usr/include/webp -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 
> libweston/libgl-borders.a.p/gl-borders.c.o -MF 
> libweston/libgl-borders.a.p/gl-borders.c.o.d -o 
> libweston/libgl-borders.a.p/gl-borders.c.o -c ../libweston/gl-borders.c
> [5s] In file included from ../libweston/renderer-gl/gl-renderer.h:32,
> [5s]  from ../libweston/gl-borders.h:28,
> [5s]  from ../libweston/gl-borders.c:31:
> [5s] ../include/libweston/libweston.h:39:10: fatal error: 
> xkbcommon/xkbcommon.h: No such file or directory
> 
> [4s] FAILED: shared/libshared.a.p/config-parser.c.o 
> [4s] cc -Ishared/libshared.a.p -Ishared -I../shared -I. -I.. -Iinclude 
> -I../include -I/usr/include/wayland -I/usr/include/pixman-1 
> -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 
> shared/libshared.a.p/config-parser.c.o -MF 
> shared/libshared.a.p/config-parser.c.o.d -o 
> shared/libshared.a.p/config-parser.c.o -c ../shared/config-parser.c
> [4s] In file included from ../shared/config-parser.c:44:
> [4s] ../include/libweston/libweston.h:39:10: fatal error: 
> xkbcommon/xkbcommon.h: No such file or directory
> 
> [6s] FAILED: tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o 
> [6s] cc -Itests/libtest-xwayland-client.a.p -Itests -I../tests -I. -I.. 
> -Iinclude -I../include -Iprotocol -I/usr/include/pixman-1 
> -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/libtest-xwayland-client.a.p/xcb-client-helper.c.o -MF 
> tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o.d -o 
> tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o -c 
> ../tests/xcb-client-helper.c
> [6s] ../tests/xcb-client-helper.c:39:10: fatal error: wayland-client.h: 
> No such file or directory
> 
> ---
>  libweston/meson.build |1 +
>  shared/meson.build|2 +-
>  tests/meson.build |2 +-
>  3 files changed, 3 insertions(+), 2 deletions(-)
> 
> Index: weston/libweston/meson.build
> ===
> --- weston.orig/libweston/meson.build
> +++ weston/libweston/meson.build
> @@ -255,6 +255,7 @@ lib_gl_borders = static_library(
>   dependencies: [
>   dep_lib_cairo_shared,
>   dep_egl, # for gl-renderer.h
> + dep_xkbcommon,
>   ],
>   build_by_default: false,
>   install: false
> Index: weston/shared/meson.build
> ===
> --- weston.orig/shared/meson.build
> +++ weston/shared/meson.build
> @@ -7,7 +7,7 @@ srcs_libshared = [
>  'process-util.c',
>   'hash.c',
>  ]
> -deps_libshared = [dep_wayland_client, dep_wayland_server, dep_pixman]
> +deps_libshared = [dep_wayland_client, dep_wayland_server, dep_pixman, 
> dep_xkbcommon]
>  
>  lib_libshared = static_library(
>   'shared',
> Index: weston/tests/meson.build
> ==