diff options
Diffstat (limited to 'meta-uhmi/meta-distributed-display-fw')
12 files changed, 0 insertions, 580 deletions
diff --git a/meta-uhmi/meta-distributed-display-fw/README.md b/meta-uhmi/meta-distributed-display-fw/README.md deleted file mode 100644 index 907d6275..00000000 --- a/meta-uhmi/meta-distributed-display-fw/README.md +++ /dev/null @@ -1,236 +0,0 @@ -## How to set up Distributed Display Framework - -To utilize the Distributed Display Framework, you need to set up each image with a distinct hostname and static IP address, and ensure that ivi-shell is running using the wayland-ivi-extension. Please note that the following configurations are examples and should be adapted to fit your specific network environment. - -### Run weston with ivi-shell - -Before setting unique hostnames and configuring static IP addresses, it is essential to start Weston with ivi-shell since the Distributed Display Framework controls the layout of applications using ivi-shell. To initialize ivi-shell, follow these steps: - -``` -ln -sf /etc/xdg/weston/weston_ivi-shell.ini /etc/xdg/weston/weston.ini -systemctl restart weston -``` - -Now that ivi-shell is properly initialized, you can proceed to set unique hostnames for your images. - -### Set Unique Hostnames - -Edit the `/etc/hostname` file on each image to set a unique hostname. Here are the suggested hostnames for the first two images: - -- **For the first image:** -``` -echo "agl-host0" | tee /etc/hostname -``` -- **For the second image:** -``` -echo "agl-host1" | tee /etc/hostname -``` - -### Assign Static IP Addresses - -Configure a static IP address for each image by editing the `/etc/systemd/network/wired.network` file. If this file does not exist, please create a new one. Use the following template and replace `<IP_address>` and `<Netmask>` with your network's specific settings: - -```ini -[Match] -KernelCommandLine=!root=/dev/nfs -Name=eth* en* - -[Network] -Address=<IP_address>/<Netmask> -``` - -Here is how you might configure the static IP addresses for the first two images: - -- **For the first image:** -``` -[Match] -KernelCommandLine=!root=/dev/nfs -Name=eth* en* - -[Network] -Address=192.168.0.100/24 -``` -- **For the second image:** -``` -[Match] -KernelCommandLine=!root=/dev/nfs -Name=eth* en* - -[Network] -Address=192.168.0.101/24 -``` - -Once the hostname and IP addresses settings are complete, please reboot to reflect these settings. - -### Customizing Virtual Screen Definitions - -Adjust the `/etc/uhmi-framework/virtual-screen-def.json` file to match your environment. In the folowing example, we assume an environment where two images, agl-host0 and agl-host1, each have a display output with a resolusion of 1920x1080(FullHD), arranged in order from left to right as agl-host0 and then agl-host1: - -``` -{ - "virtual_screen_2d": { - "size": {"virtual_w": 3840, "virtual_h": 1080}, - "virtual_displays": [ - {"vdisplay_id": 0, "disp_name": "AGL_SCREEN0", "virtual_x": 0, "virtual_y": 0, "virtual_w": 1920, "virtual_h": 1080}, - {"vdisplay_id": 1, "disp_name": "AGL_SCREEN1", "virtual_x": 1920, "virtual_y": 0, "virtual_w": 1920, "virtual_h": 1080} - ] - }, - "virtual_screen_3d": {}, - "real_displays": [ - {"node_id": 0, "vdisplay_id": 0, "pixel_w": 1920, "pixel_h": 1080, "rdisplay_id": 0}, - {"node_id": 1, "vdisplay_id": 1, "pixel_w": 1920, "pixel_h": 1080, "rdisplay_id": 1} - ], - "node": [ - {"node_id": 0, "hostname": "agl-host0", "ip": "192.168.0.100"}, - {"node_id": 1, "hostname": "agl-host1", "ip": "192.168.0.101"} - ], - "distributed_window_system": { - "window_manager": {}, - "framework_node": [ - {"node_id": 0, "ula": {"debug": false, "debug_port": 8080, "port": 10100}, "ucl": {"port": 7654}}, - {"node_id": 1, "ula": {"debug": false, "debug_port": 8080, "port": 10100}, "ucl": {"port": 7654}} - ] - } -} -``` - -Be sure to update the virtual_w, virtual_h, virtual_x, virtual_y, pixel_w, pixel_h, hostname, and ip fields to accurately reflect your specific network configuration. - -### Restarting Services -Once you have prepared the virtual-screen-def.json file and configured the system, you need to restart the system or the following services for the changes to take effect: -``` -systemctl restart uhmi-ivi-wm -systemctl restart ula-node -systemctl restart ucl-launcher -``` - -After restarting these services, your system should be ready to use the Distributed Display Framework with the new configuration. - -## How to use UCL (Unified Clustering) Framework - -The Unified Clustering (UCL) Framework provides a distributed launch feature for applications using remote virtio GPU (rvgpu). By preparing a JSON configuration, you can enable the launch of applications across multiple devices in a distributed environment. - -### Setting Up for Application Launch using UCL - -To facilitate the distributed launch of an application with UCL, you need to create a JSON configuration file that specifies the details of the application and how it should be executed on the sender and receiver nodes. Here's an example of such a JSON configuration named `app.json`: -``` -{ - "format_v1": { - "command_type" : "remote_virtio_gpu", - "appli_name" : "glmark2-es2-wayland", - "sender" : { - "launcher" : "agl-host0", - "command" : "/usr/bin/ucl-virtio-gpu-wl-send", - "frontend_params" : { - "scanout_x" : 0, - "scanout_y" : 0, - "scanout_w" : 1920, - "scanout_h" : 1080, - "server_port" : 33445 - }, - "appli" : "/usr/bin/glmark2-es2-wayland -s 1920x1080", - "env" : "LD_LIBRARY_PATH=/usr/lib/mesa-virtio" - }, - "receivers" : [ - { - "launcher" : "agl-host0", - "command" : "/usr/bin/ucl-virtio-gpu-wl-recv", - "backend_params" : { - "ivi_surface_id" : 101000, - "scanout_x" : 0, - "scanout_y" : 0, - "scanout_w" : 1920, - "scanout_h" : 1080, - "listen_port" : 33445, - "initial_screen_color" : "0x33333333" - }, - "env" : "XDG_RUNTIME_DIR=/run/user/200 WAYLAND_DISPLAY=wayland-1" - }, - { - "launcher" : "agl-host1", - "command" : "/usr/bin/ucl-virtio-gpu-wl-recv", - "backend_params" : { - "ivi_surface_id" : 101000, - "scanout_x" : 0, - "scanout_y" : 0, - "scanout_w" : 1920, - "scanout_h" : 1080, - "listen_port" : 33445, - "initial_screen_color" : "0x33333333" - }, - "env" : "XDG_RUNTIME_DIR=/run/user/200 WAYLAND_DISPLAY=wayland-1" - } - ] - } -} -``` - -In this example, the application glmark2-es2-wayland is configured to launch on the sender node `agl-host0` and display its output on the receiver nodes `agl-host0` and `agl-host1`. The `scanout_x`, `scanout_y`, `scanout_w`, `scanout_h` parameters define the size of the window, while `server_port` and `listen_port` ensure the communication between sender and receivers. - -### Launching the Application - -Once the JSON configuration file is ready, you can execute the application across the distributed system by piping the JSON content to the `ucl-distrib-com` command along with the path to the `virtual-screen-def.json` file: - -``` -cat app.json | ucl-distrib-com /etc/uhmi-framework/virtual-screen-def.json -``` - -This command will read the configuration and initiate the application launch process, distributing the workload as defined in the JSON file. - - -Please ensure that the JSON configuration file you create (`app.json` in the example) is correctly formatted and contains the appropriate parameters for your specific use case. - -**Note**: Please be aware that when using ivi-shell, applications will not be displayed unless layout configuration is specified as described later in this document. If you wish to display applications without specific layout configuration, you should run weston with desktop-shell. This distinction is crucial to ensure that your applications are visible in your chosen environment. - -## How to use ULA (Unified Layout) Framework - -The Unified Layout (ULA) Framework allows for the definition of physical displays on a virtual screen and provides the ability to apply layout settings such as position and size to applications launched using the UCL Framework. - -### Creating a Layout Configuration File - -To define the layout for your applications, you need to create a JSON file, such as `initial_vscreen.json`, with the necessary configuration details. This file will contain the layout settings that specify how applications should be positioned and sized within the virtual screen. Here is an example of what the contents of `initial_vscreen.json` file might look like: - -``` -{ - "command": "initial_vscreen", - "vlayer": [ - { - "VID": 1010000, - "coord": "global", - "virtual_w": 1920, "virtual_h": 1080, - "vsrc_x": 0, "vsrc_y": 0, "vsrc_w": 1920, "vsrc_h": 1080, - "vdst_x": 960, "vdst_y": 0, "vdst_w": 1920, "vdst_h": 1080, - "vsurface": [ - { - "VID": 101000, - "pixel_w": 1920, "pixel_h": 1080, - "psrc_x": 0, "psrc_y": 0, "psrc_w": 1920, "psrc_h": 1080, - "vdst_x": 0, "vdst_y": 0, "vdst_w": 1920, "vdst_h": 1080 - } - ] - } - ] -} -``` - -In this example, the application is renderd across the right half of the agl-host0 and the left half of agl-host1 display. - -In this configuration: - -- **vlayer** defines a virtual layer that represents a group of surfaces within the virtual screen. Each layer has a unique Virtual ID (VID) and can contain multiple surfaces. The layer's source (`vsrc_x`, `vsrc_y`, `vsrc_w`, `vsrc_h`) and destination (`vdst_x`, `vdst_y`, `vdst_w`, `vdst_h`) coordinates determine where and how large the layer appears on the virtual screen. - -- **vsurface** defines individual surfaces within the virtual layer. Each surface also has a VID, and its pixel dimensions (`pixel_w`, `pixel_h`) represent the actual size of the content. The source (`psrc_x`, `psrc_y`, `psrc_w`, `psrc_h`) and destination (`vdst_x`, `vdst_y`, `vdst_w`, `vdst_h`) coordinates determine the portion of the content to display and its location within the layer. - -### Applying the Layout Configuration - -Once you have created the `initial_vscreen.json` file with your layout configuration, you can apply it to your system using the following command: - -``` -cat initial_vscreen.json | ula-distrib-com -``` - -Executing this command will process the configuration from the JSON file and apply the layout settings to the virtual screen. As a result, the applications will appear in the specified positions and sizes according to the layout defined in the file. - -Ensure that `initial_vscreen.json` file you create accurately reflects the desired layout for your applications and display setup. - -**Note**: Due to the specifications of ivi_shell, when an application is stopped after being displayed, the image that was shown just before stopping remains on the screen. To avoid this, please eigther restart weston or display another image on ivi_shell to update the displayed content.
\ No newline at end of file diff --git a/meta-uhmi/meta-distributed-display-fw/conf/layer.conf b/meta-uhmi/meta-distributed-display-fw/conf/layer.conf deleted file mode 100644 index ba8984fa..00000000 --- a/meta-uhmi/meta-distributed-display-fw/conf/layer.conf +++ /dev/null @@ -1,12 +0,0 @@ -# We have a conf and classes directory, add to BBPATH -BBPATH .= ":${LAYERDIR}" - -# We have recipes-* directories, add to BBFILES -BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ - ${LAYERDIR}/recipes-*/*/*.bbappend" - -BBFILE_COLLECTIONS += "meta-distributed-display-fw" -BBFILE_PATTERN_meta-distributed-display-fw = "^${LAYERDIR}/" -BBFILE_PRIORITY_meta-distributed-display-fw = "8" - -LAYERSERIES_COMPAT_meta-distributed-display-fw= "scarthgap" diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-core/ucl-tools/files/ucl-launcher.service b/meta-uhmi/meta-distributed-display-fw/recipes-core/ucl-tools/files/ucl-launcher.service deleted file mode 100644 index 37f289e6..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-core/ucl-tools/files/ucl-launcher.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=ucl-launcher - -[Service] -Type=idle -ExecStart=/usr/bin/ucl-launcher -KillSignal=SIGTERM -TimeoutStopSec=10 -Restart=always -RestartSec=2 - -[Install] -WantedBy=multi-user.target diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-core/ucl-tools/ucl-tools_git.bb b/meta-uhmi/meta-distributed-display-fw/recipes-core/ucl-tools/ucl-tools_git.bb deleted file mode 100644 index cc26678b..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-core/ucl-tools/ucl-tools_git.bb +++ /dev/null @@ -1,46 +0,0 @@ -SUMMARY = "Unified HMI Clustering Tools" -SECTION = "graphics" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/ucl-tools/LICENSE.md;md5=e789951aab02a3028d2e58b90fc933ba" - -FILESEXTRAPATHS:prepend := "${THISDIR}/files:" - -PN="ucl-tools" -PROVIDES += "ucl-tools" - -SRCREV = "80e83132834b5ab62875bc294332bd00cd559d5d" -BRANCH ?= "main" -SRC_URI = " \ - git://github.com/unified-hmi/ucl-tools.git;protocol=https;branch=${BRANCH} \ -" -PV = "0.0+git${SRCPV}" - -S = "${WORKDIR}/git" - -export GO111MODULE="auto" - -GO_IMPORT = "ucl-tools" -GO_INSTALL = " ${GO_IMPORT}/cmd/ucl-launcher ${GO_IMPORT}/cmd/ucl-distrib-com ${GO_IMPORT}/cmd/ucl-consistency-keeper ${GO_IMPORT}/cmd/ucl-ncount-master ${GO_IMPORT}/cmd/ucl-ncount-worker ${GO_IMPORT}/cmd/ucl-nkeep-master ${GO_IMPORT}/cmd/ucl-nkeep-worker ${GO_IMPORT}/cmd/ucl-timing-wrapper ${GO_IMPORT}/cmd/ucl-virtio-gpu-wl-send ${GO_IMPORT}/cmd/ucl-virtio-gpu-wl-recv" - -inherit go - -RDEPENDS:${PN} = "bash" -RDEPENDS:${PN}-dev = "bash" - -inherit systemd -SRC_URI += " file://ucl-launcher.service" - -REQUIRED_DISTRO_FEATURES = "systemd" -SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE:${PN} = "ucl-launcher.service" -SYSTEMD_AUTO_ENABLE:${PN} = "enable" -FILES:${PN} += " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/${SYSTEMD_SERVICE}', '', d)} \ - " -do_install:append() { - if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then - install -d ${D}${systemd_system_unitdir} - install -m 644 ${WORKDIR}/*.service ${D}/${systemd_system_unitdir} - fi -} diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/files/uhmi-ivi-wm.service b/meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/files/uhmi-ivi-wm.service deleted file mode 100644 index aad36411..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/files/uhmi-ivi-wm.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=uhmi ivi window manager -After=weston.service - -[Service] -Environment="XDG_RUNTIME_DIR=/run/user/1001" -Environment="WAYLAND_DISPLAY=wayland-0" -EnvironmentFile=-/etc/default/uhmi-ivi-wm - -Type=simple -ExecStart=/usr/bin/uhmi-ivi-wm -KillSignal=SIGKILL -Restart=always -RestartSec=1s - -[Install] -WantedBy=multi-user.target diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb b/meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb deleted file mode 100644 index daa5fff4..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb +++ /dev/null @@ -1,44 +0,0 @@ -DESCRIPTION = "Panasonic UHMI ivi-window-manager" -DEPENDS = " weston wayland-ivi-extension jansson" - -RDEPENDS:${PN} = " jansson" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=e789951aab02a3028d2e58b90fc933ba" - -FILESEXTRAPATHS:prepend := "${THISDIR}/files:" - -PN="uhmi-ivi-wm" - -SRCREV = "ae86a2803f7a56bbc24d13756a2de78d58da854e" -BRANCH ?= "main" -SRC_URI = " \ - git://github.com/unified-hmi/uhmi-ivi-wm.git;protocol=https;branch=${BRANCH} \ -" -PV = "0.0+git${SRCPV}" - -S = "${WORKDIR}/git" - -inherit cmake - - -inherit systemd -SRC_URI += " file://uhmi-ivi-wm.service" -REQUIRED_DISTRO_FEATURES = "systemd" -SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE:${PN} = "uhmi-ivi-wm.service" -SYSTEMD_AUTO_ENABLE:${PN} = "enable" -FILES:${PN} += " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/${SYSTEMD_SERVICE}', '', d)} \ - " - -do_install:append() { - if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then - install -d ${D}${systemd_system_unitdir} - install -m 644 ${WORKDIR}/*.service ${D}/${systemd_system_unitdir} - fi -} - - -FILES:${PN} += " /usr/bin/uhmi-ivi-wm" -FILES:${PN} += " /usr/share/*" diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-core/ula-tools/files/ula-node.service b/meta-uhmi/meta-distributed-display-fw/recipes-core/ula-tools/files/ula-node.service deleted file mode 100644 index edf69f3d..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-core/ula-tools/files/ula-node.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=ula-node -Requires=uhmi-ivi-wm.service -After=uhmi-ivi-wm.service - -[Service] -Type=idle -ExecStart=/usr/bin/ula-node -KillSignal=SIGTERM -TimeoutStopSec=10 -Restart=always -RestartSec=2 - -[Install] -WantedBy=multi-user.target diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-core/ula-tools/files/virtual-screen-def.json b/meta-uhmi/meta-distributed-display-fw/recipes-core/ula-tools/files/virtual-screen-def.json deleted file mode 100644 index 2917ca87..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-core/ula-tools/files/virtual-screen-def.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "virtual_screen_2d" : { - "size" : {"virtual_w" : 3840, "virtual_h": 1080}, - "virtual_displays" : [ - {"vdisplay_id":0, "disp_name": "AGL_SCREEN0", "virtual_x":0, "virtual_y":0, "virtual_w":1920, "virtual_h":1080}, - {"vdisplay_id":1, "disp_name": "AGL_SCREEN1", "virtual_x":1920, "virtual_y":0, "virtual_w":1920, "virtual_h":1080} - ] - }, - "virtual_screen_3d" : {}, - "real_displays" : [ - {"node_id":0, "vdisplay_id":0, "pixel_w":1920, "pixel_h":1080, "rdisplay_id" : 0}, - {"node_id":1, "vdisplay_id":1, "pixel_w":1920, "pixel_h":1080, "rdisplay_id" : 0} - ], - "node" : [ - {"node_id":0, "hostname":"agl-host0", "ip":"192.168.0.100"}, - {"node_id":1, "hostname":"agl-host1", "ip":"192.168.0.101"} - ], - "distributed_window_system" : { - "window_manager":{}, - "framework_node":[ - {"node_id":0, "ula": {"debug":false, "debug_port":8080, "port":10100}, "ucl": {"port":7654}}, - {"node_id":1, "ula": {"debug":false, "debug_port":8080, "port":10100}, "ucl": {"port":7654}} - ] - } -} diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-core/ula-tools/ula-tools_git.bb b/meta-uhmi/meta-distributed-display-fw/recipes-core/ula-tools/ula-tools_git.bb deleted file mode 100644 index 9b945a3f..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-core/ula-tools/ula-tools_git.bb +++ /dev/null @@ -1,72 +0,0 @@ -SUMMARY = "Unified HMI Layout Tools" -SECTION = "graphics" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/ula-tools/LICENSE.md;md5=e789951aab02a3028d2e58b90fc933ba" - -FILESEXTRAPATHS:prepend := "${THISDIR}/files:" - -PN="ula-tools" -PROVIDES += "ula-tools" - -SRCREV = "4403efd88fd4e79b092787ac727afe996dd7ca12" -BRANCH ?= "main" -SRC_URI = " \ - git://github.com/unified-hmi/ula-tools.git;protocol=https;branch=${BRANCH} \ -" -PV = "0.0+git${SRCPV}" - -S = "${WORKDIR}/git" - - -export GO111MODULE="auto" - -GO_IMPORT = "ula-tools" -GO_INSTALL = " ${GO_IMPORT}/cmd/ula-distrib-com ${GO_IMPORT}/cmd/ula-node" - - -inherit go -RDEPENDS:${PN} = "jq bash" -RDEPENDS:${PN}-dev = "bash" - -inherit systemd - -SRC_URI += " \ - file://ula-node.service \ - file://virtual-screen-def.json \ - " - -REQUIRED_DISTRO_FEATURES = "systemd" -SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE:${PN} = "ula-node.service" -SYSTEMD_AUTO_ENABLE:${PN} = "enable" -FILES:${PN} += " \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/${SYSTEMD_SERVICE}', '', d)} \ - /etc/uhmi-framework/virtual-screen-def.json \ - " - -do_compile:append() { - export CGO_ENABLED="1" - ${GO} build -buildmode=c-shared -o ${GOPATH}/pkg/libulaclient.so -v -ldflags '-extldflags "-Wl,-soname=libulaclient.so"' ${GO_IMPORT}/pkg/ula-client-lib -} - - -do_install:append() { - if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then - install -d ${D}${systemd_system_unitdir} - install -m 644 ${WORKDIR}/*.service ${D}/${systemd_system_unitdir} - fi - - install -d ${D}/etc/uhmi-framework - install -m 644 ${WORKDIR}/virtual-screen-def.json ${D}/etc/uhmi-framework - - install -d ${D}${libdir} - install -m 0755 ${GOPATH}/pkg/libulaclient.so ${D}${libdir} - - install -d ${D}${includedir} - install -m 644 ${GOPATH}/pkg/libulaclient.h ${D}${includedir} - -} - -FILES:${PN} += "${libdir}" -FILES:${PN} += "${includedir}" diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-graphics/wayland/wayland-ivi-extension/0001-Update-libweston-to-version-13.patch b/meta-uhmi/meta-distributed-display-fw/recipes-graphics/wayland/wayland-ivi-extension/0001-Update-libweston-to-version-13.patch deleted file mode 100644 index 008d0f4b..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-graphics/wayland/wayland-ivi-extension/0001-Update-libweston-to-version-13.patch +++ /dev/null @@ -1,62 +0,0 @@ -From e7984b2a8a7508cdbc3f269f4e0789edcfe8b30a Mon Sep 17 00:00:00 2001 -From: James Thomas <james.thomas@codethink.co.uk> -Date: Thu, 22 Feb 2024 12:26:58 +0000 -Subject: [PATCH] Update libweston to version 13 - -Upstream-Status: Submitted [https://github.com/COVESA/wayland-ivi-extension/pull/185] -Signed-off-by: Scott Murray <scott.murray@konsulko.com> - ---- - CMakeLists.txt | 2 +- - weston-ivi-shell/src/ivi-controller.c | 10 +++++----- - 2 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d6428c2..5917875 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -28,7 +28,7 @@ include(GNUInstallDirs) - SET(IVI_EXTENSION_VERSION 2.3.2) - SET(ILM_API_VERSION 2.3.2) - --SET(LIBWESTON_VER 12) -+SET(LIBWESTON_VER 13) - - SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter" ) - SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-unused-parameter" ) -diff --git a/weston-ivi-shell/src/ivi-controller.c b/weston-ivi-shell/src/ivi-controller.c -index 4701aec..94ca83e 100644 ---- a/weston-ivi-shell/src/ivi-controller.c -+++ b/weston-ivi-shell/src/ivi-controller.c -@@ -881,15 +881,15 @@ set_bkgnd_surface_prop(struct ivishell *shell) - wl_list_for_each(output, &compositor->output_list, link) { - if (!count) - { -- x = output->x; -- y = output->y; -+ x = output->pos.c.x; -+ y = output->pos.c.y; - count++; - } -- dest_width = output->x + output->width; -+ dest_width = output->pos.c.x + output->width; - if (output->height > dest_height) - dest_height = output->height; - weston_log("set_bkgnd_surface_prop: o_name:%s x:%d y:%d o_width:%d o_height:%d\n", -- output->name, output->x, output->y, output->width, output->height); -+ output->name, output->pos.c.x, output->pos.c.y, output->width, output->height); - } - - w_surface = view->surface; -@@ -2197,7 +2197,7 @@ launch_client_process(void *data) - setenv(IVI_CLIENT_ENABLE_CURSOR_ENV_NAME, option, 0x1); - } - -- shell->client = weston_client_start(shell->compositor, -+ shell->client = wet_client_start(shell->compositor, - shell->ivi_client_name); - - shell->client_destroy_listener.notify = ivi_shell_client_destroy; --- -2.44.0 - diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-graphics/wayland/wayland-ivi-extension_git.bb b/meta-uhmi/meta-distributed-display-fw/recipes-graphics/wayland/wayland-ivi-extension_git.bb deleted file mode 100644 index f7b25917..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-graphics/wayland/wayland-ivi-extension_git.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "Wayland IVI Extension" -DESCRIPTION = "GENIVI Layer Management API based on Wayland IVI Extension" -HOMEPAGE = "https://github.com/COVESA/wayland-ivi-extension" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1f1a56bb2dadf5f2be8eb342acf4ed79" - -DEPENDS = "weston virtual/libgles2 pixman wayland-native" - -PV = "2.3.2+git${SRCPV}" - -SRC_URI = " \ - git://github.com/COVESA/${BPN}.git;protocol=https;branch=master \ - file://0001-Update-libweston-to-version-13.patch \ -" -SRCREV = "60d616ad3abd925956207b9b6ff981afa004e792" - -S = "${WORKDIR}/git" - -inherit cmake pkgconfig - -EXTRA_OECMAKE := "-DWITH_ILM_INPUT=1" -EXTRA_OECMAKE += "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" - -FILES:${PN} += "${datadir}/wayland-protocols/stable/ivi-application/ivi-application.xml" -FILES:${PN} += "${libdir}/weston/*" -FILES:${PN}-dbg += "${libdir}/weston/.debug/*" diff --git a/meta-uhmi/meta-distributed-display-fw/recipes-platform/packagegroups/packagegroup-distributed-display-fw.bb b/meta-uhmi/meta-distributed-display-fw/recipes-platform/packagegroups/packagegroup-distributed-display-fw.bb deleted file mode 100644 index 291a5bf2..00000000 --- a/meta-uhmi/meta-distributed-display-fw/recipes-platform/packagegroups/packagegroup-distributed-display-fw.bb +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Unified HMI Package Groups" -LICENSE = "Apache-2.0" - -inherit packagegroup - -RDEPENDS:${PN} += " \ - ucl-tools \ - ula-tools \ - uhmi-ivi-wm \ - weston \ - wayland-ivi-extension \ -" |