diff options
author | Kenta <murakami.kenta002@jp.panasonic.com> | 2024-10-03 11:06:31 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-10-24 08:24:43 +0000 |
commit | 58da6681f4cd53670cb10d63f37ffaae3e6346c4 (patch) | |
tree | dffa1b8fb66970e5e91fa778dce4f2282f9c63df /meta-uhmi/meta-distributed-display-fw/recipes-core | |
parent | 73428f0afc17a934c6d785e692557ee6fa41bdb4 (diff) |
Unified HMI: Add wayland-ivi-extension support
The distributed display framework needs Wayland IVI Extension to
control the layout of application. So, it is necessary to add
wayland-ivi-extension until the support to gRPC in agl-compositor
is completed.
Additionally, add uhmi-ivi-wm to apply ivi-layer and ivi-surface layout
to screen using ilm API of ivi-extension based on ULA protocol.
known issue:
There is an issue where touch input is not working with the
wayland-ivi-extension, but this is unrelated to UHMI and occurs with
the wayland-ivi-extension alone in libweston v13.
Bug-AGL: SPEC-5254
Change-Id: I08c917b36904ed6e9d37369d1f6343bd2454013f
Signed-off-by: Kenta <murakami.kenta002@jp.panasonic.com>
Diffstat (limited to 'meta-uhmi/meta-distributed-display-fw/recipes-core')
-rw-r--r-- | meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/files/uhmi-ivi-wm.service | 17 | ||||
-rw-r--r-- | meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb | 44 |
2 files changed, 61 insertions, 0 deletions
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 new file mode 100644 index 00000000..aad36411 --- /dev/null +++ b/meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/files/uhmi-ivi-wm.service @@ -0,0 +1,17 @@ +[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 new file mode 100644 index 00000000..daa5fff4 --- /dev/null +++ b/meta-uhmi/meta-distributed-display-fw/recipes-core/uhmi-ivi-wm/uhmi-ivi-wm_git.bb @@ -0,0 +1,44 @@ +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/*" |