]> code.ossystems Code Review - openembedded-core.git/commit
weston: Add rdp PACKAGECONFIG
authorMarek Vasut <marex@denx.de>
Mon, 30 Aug 2021 13:00:31 +0000 (15:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Sep 2021 11:05:56 +0000 (12:05 +0100)
commit05706a487c2e57fb26935276a2ec650405900243
treec29bfb5dcdaddcba564eec7565dc1a3b92eb9b9a
parentabe45c8c0a6da56a278796654d0520250dfd2a97
weston: Add rdp PACKAGECONFIG

Weston has RDP backend support. This can be used e.g. for screen mirroring.
Add PACKAGECONFIG so it can be enabled by the user. By default, this is not
enabled, to retain the old behavior of the recipe.

Below is an example testcase of using the RDP backend for screen mirroring,
i.e. two devices display the same content across ethernet link, input on
either is passed across the link.

- Add the following to weston.ini:
  [core]
  modules=screen-share.so
  screen-share=true
  [screen-share]
  command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/path/to/board.crt --rdp-tls-key=/path/to/board.key --no-config

- Generate keys on the board (the board.key and board.crt above):
  $ winpr-makecert -rdp -path /path/to/

- Restart weston on the board. To start screen sharing, press
  Ctrl-Alt-S
  on the keyboard (see weston compositor/screen-share.c).

- Connect to the weston using freerdp, e.g.:
  $ xfreerdp /v:192.168.1.300

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/wayland/weston_9.0.0.bb