diff options
Diffstat (limited to 'recipes-graphics/wayland')
| -rw-r--r-- | recipes-graphics/wayland/wayland-protocols_1.41.imx.bb (renamed from recipes-graphics/wayland/wayland-protocols_1.37.imx.bb) | 12 | ||||
| -rw-r--r-- | recipes-graphics/wayland/weston_10.0.5.imx.bb | 7 | ||||
| -rw-r--r-- | recipes-graphics/wayland/weston_14.0.2.imx.bb (renamed from recipes-graphics/wayland/weston_14.0.1.imx.bb) | 36 |
3 files changed, 21 insertions, 34 deletions
diff --git a/recipes-graphics/wayland/wayland-protocols_1.37.imx.bb b/recipes-graphics/wayland/wayland-protocols_1.41.imx.bb index 393278bc6..3350a4795 100644 --- a/recipes-graphics/wayland/wayland-protocols_1.37.imx.bb +++ b/recipes-graphics/wayland/wayland-protocols_1.41.imx.bb | |||
| @@ -11,12 +11,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c7b12b6702da38ca028ace54aae3d484 \ | |||
| 11 | 11 | ||
| 12 | SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}" | 12 | SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}" |
| 13 | WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https" | 13 | WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https" |
| 14 | SRCBRANCH = "wayland-protocols-imx-${@oe.utils.trim_version("${PV}", 2)}" | 14 | SRCBRANCH = "wayland-protocols-imx-1.41" |
| 15 | SRCREV = "831a5389062e56dcb1aac4a5419e55e3002aafaf" | 15 | SRCREV = "7213a4e09837c77112bce2d241491600e00dd095" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags" |
| 18 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)" | ||
| 18 | 19 | ||
| 19 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | 20 | DEPENDS += "wayland-native" |
| 20 | 21 | ||
| 21 | # NOTE: For i.MX drop allarch since the recipe is SOCARCH | 22 | # NOTE: For i.MX drop allarch since the recipe is SOCARCH |
| 22 | #inherit meson pkgconfig allarch | 23 | #inherit meson pkgconfig allarch |
| @@ -24,9 +25,6 @@ inherit meson pkgconfig | |||
| 24 | 25 | ||
| 25 | EXTRA_OEMESON += "-Dtests=false" | 26 | EXTRA_OEMESON += "-Dtests=false" |
| 26 | 27 | ||
| 27 | PACKAGES = "${PN}" | ||
| 28 | FILES:${PN} += "${datadir}/pkgconfig/wayland-protocols.pc" | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
| 31 | 29 | ||
| 32 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 30 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
diff --git a/recipes-graphics/wayland/weston_10.0.5.imx.bb b/recipes-graphics/wayland/weston_10.0.5.imx.bb index 2c74481ac..4d7d99130 100644 --- a/recipes-graphics/wayland/weston_10.0.5.imx.bb +++ b/recipes-graphics/wayland/weston_10.0.5.imx.bb | |||
| @@ -68,7 +68,7 @@ PACKAGECONFIG[headless] = "-Dbackend-headless=true,-Dbackend-headless=false" | |||
| 68 | # Weston on framebuffer | 68 | # Weston on framebuffer |
| 69 | PACKAGECONFIG[fbdev] = "-Ddeprecated-backend-fbdev=true,-Ddeprecated-backend-fbdev=false,udev mtdev" | 69 | PACKAGECONFIG[fbdev] = "-Ddeprecated-backend-fbdev=true,-Ddeprecated-backend-fbdev=false,udev mtdev" |
| 70 | # Weston on RDP | 70 | # Weston on RDP |
| 71 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp" | 71 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp,freerdp" |
| 72 | # weston-launch | 72 | # weston-launch |
| 73 | PACKAGECONFIG[launch] = "-Ddeprecated-weston-launch=true,-Ddeprecated-weston-launch=false,drm" | 73 | PACKAGECONFIG[launch] = "-Ddeprecated-weston-launch=true,-Ddeprecated-weston-launch=false,drm" |
| 74 | # VA-API desktop recorder | 74 | # VA-API desktop recorder |
| @@ -144,7 +144,7 @@ RDEPENDS:${PN}-xwayland += "xwayland" | |||
| 144 | 144 | ||
| 145 | RDEPENDS:${PN} += "xkeyboard-config" | 145 | RDEPENDS:${PN} += "xkeyboard-config" |
| 146 | RRECOMMENDS:${PN} = "weston-init liberation-fonts" | 146 | RRECOMMENDS:${PN} = "weston-init liberation-fonts" |
| 147 | RRECOMMENDS:${PN}-dev += "wayland-protocols" | 147 | RDEPENDS:${PN}-dev += "wayland-protocols-dev" |
| 148 | 148 | ||
| 149 | USERADD_PACKAGES = "${PN}" | 149 | USERADD_PACKAGES = "${PN}" |
| 150 | GROUPADD_PARAM:${PN} = "--system weston-launch" | 150 | GROUPADD_PARAM:${PN} = "--system weston-launch" |
| @@ -166,7 +166,6 @@ SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.pat | |||
| 166 | file://0001-g2d-renderer.c-Include-sys-stat.h.patch" | 166 | file://0001-g2d-renderer.c-Include-sys-stat.h.patch" |
| 167 | SRCBRANCH = "weston-imx-10.0.5" | 167 | SRCBRANCH = "weston-imx-10.0.5" |
| 168 | SRCREV = "7129417ae04de57f9596ccf27f74ef967660a64f" | 168 | SRCREV = "7129417ae04de57f9596ccf27f74ef967660a64f" |
| 169 | S = "${WORKDIR}/git" | ||
| 170 | 169 | ||
| 171 | # Disable OpenGL for parts with GPU support for 2D but not 3D | 170 | # Disable OpenGL for parts with GPU support for 2D but not 3D |
| 172 | REQUIRED_DISTRO_FEATURES = "opengl" | 171 | REQUIRED_DISTRO_FEATURES = "opengl" |
| @@ -206,6 +205,6 @@ EXTRA_OEMESON += "-Ddeprecated-wl-shell=true" | |||
| 206 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" | 205 | LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined" |
| 207 | 206 | ||
| 208 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 207 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 209 | COMPATIBLE_MACHINE = "(imxfbdev|imxgpu)" | 208 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
| 210 | 209 | ||
| 211 | ########### End of i.MX overrides ######### | 210 | ########### End of i.MX overrides ######### |
diff --git a/recipes-graphics/wayland/weston_14.0.1.imx.bb b/recipes-graphics/wayland/weston_14.0.2.imx.bb index f66974700..c4f938e5a 100644 --- a/recipes-graphics/wayland/weston_14.0.1.imx.bb +++ b/recipes-graphics/wayland/weston_14.0.2.imx.bb | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | # recipe. The second section customizes the recipe for i.MX. | 3 | # recipe. The second section customizes the recipe for i.MX. |
| 4 | 4 | ||
| 5 | ########### OE-core copy ################## | 5 | ########### OE-core copy ################## |
| 6 | # Upstream hash: 23271a1f908a223b4eb56d6034cbb1ac23da14fe | 6 | # Upstream hash: 8996690a79ac42a1dee6d041eeb1c1fe29fdac84 |
| 7 | 7 | ||
| 8 | SUMMARY = "Weston, a Wayland compositor" | 8 | SUMMARY = "Weston, a Wayland compositor" |
| 9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" | 9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" |
| @@ -14,14 +14,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | |||
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ | 16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ |
| 17 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ | ||
| 18 | file://weston.png \ | 17 | file://weston.png \ |
| 19 | file://weston.desktop \ | 18 | file://weston.desktop \ |
| 20 | file://xwayland.weston-start \ | 19 | file://xwayland.weston-start \ |
| 21 | file://systemd-notify.weston-start \ | 20 | file://systemd-notify.weston-start \ |
| 22 | " | 21 | " |
| 23 | 22 | ||
| 24 | SRC_URI[sha256sum] = "27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093" | 23 | SRC_URI[sha256sum] = "a8150505b126a59df781fe8c30c8e6f87da7013e179039eb844a5bbbcc7c79b3" |
| 25 | 24 | ||
| 26 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" | 25 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" |
| 27 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | 26 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
| @@ -33,13 +32,13 @@ inherit meson pkgconfig useradd | |||
| 33 | require ${THISDIR}/required-distro-features.inc | 32 | require ${THISDIR}/required-distro-features.inc |
| 34 | 33 | ||
| 35 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" | 34 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" |
| 36 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" | 35 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native libdisplay-info" |
| 37 | 36 | ||
| 38 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" | 37 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" |
| 39 | 38 | ||
| 40 | WESTON_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:1])}" | 39 | WESTON_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:1])}" |
| 41 | 40 | ||
| 42 | EXTRA_OEMESON += "-Dpipewire=false" | 41 | EXTRA_OEMESON += "-Dpipewire=false -Dtests=false" |
| 43 | 42 | ||
| 44 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayland egl clients', '', d)} \ | 43 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayland egl clients', '', d)} \ |
| 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ | 44 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ |
| @@ -80,9 +79,7 @@ PACKAGECONFIG[webp] = "-Dimage-webp=true,-Dimage-webp=false,libwebp" | |||
| 80 | # Weston with systemd support | 79 | # Weston with systemd support |
| 81 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus" | 80 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus" |
| 82 | # Weston with Xwayland support (requires X11 and Wayland) | 81 | # Weston with Xwayland support (requires X11 and Wayland) |
| 83 | PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor xcb-util-cursor xwayland" | 82 | PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor xwayland" |
| 84 | # colord CMS support | ||
| 85 | PACKAGECONFIG[colord] = "-Ddeprecated-color-management-colord=true,-Ddeprecated-color-management-colord=false,colord" | ||
| 86 | # Clients support | 83 | # Clients support |
| 87 | PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLECLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" | 84 | PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLECLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" |
| 88 | # Virtual remote output with GStreamer on DRM backend | 85 | # Virtual remote output with GStreamer on DRM backend |
| @@ -147,7 +144,7 @@ RDEPENDS:${PN}-xwayland += "xwayland" | |||
| 147 | 144 | ||
| 148 | RDEPENDS:${PN} += "xkeyboard-config" | 145 | RDEPENDS:${PN} += "xkeyboard-config" |
| 149 | RRECOMMENDS:${PN} = "weston-init liberation-fonts" | 146 | RRECOMMENDS:${PN} = "weston-init liberation-fonts" |
| 150 | RRECOMMENDS:${PN}-dev += "wayland-protocols" | 147 | RDEPENDS:${PN}-dev += "wayland-protocols-dev" |
| 151 | 148 | ||
| 152 | USERADD_PACKAGES = "${PN}" | 149 | USERADD_PACKAGES = "${PN}" |
| 153 | GROUPADD_PARAM:${PN} = "--system weston-launch" | 150 | GROUPADD_PARAM:${PN} = "--system weston-launch" |
| @@ -162,27 +159,20 @@ LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" | |||
| 162 | 159 | ||
| 163 | DEFAULT_PREFERENCE = "-1" | 160 | DEFAULT_PREFERENCE = "-1" |
| 164 | 161 | ||
| 165 | DEPENDS:append = " libdisplay-info" | ||
| 166 | |||
| 167 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" | 162 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" |
| 168 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " | 163 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " |
| 169 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" | 164 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" |
| 170 | SRCBRANCH = "weston-imx-14.0.1" | 165 | SRCBRANCH = "weston-imx-14.0.2" |
| 171 | SRCREV = "0fd5d3ab75346e525b565039a7b8bf5d9008be78" | 166 | SRCREV = "c267ba8e6eed3a824e042a200bcc1b4c370ba88f" |
| 172 | S = "${WORKDIR}/git" | ||
| 173 | |||
| 174 | SRC_URI:remove = "file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch" | ||
| 175 | 167 | ||
| 176 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | ||
| 177 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" | 168 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" |
| 169 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | ||
| 178 | 170 | ||
| 179 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" | 171 | PACKAGECONFIG:append = " ${PACKAGECONFIG_G2D}" |
| 180 | PACKAGECONFIG_G2D ??= "" | 172 | PACKAGECONFIG_G2D ??= "" |
| 181 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" | 173 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" |
| 182 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" | 174 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" |
| 183 | 175 | PACKAGECONFIG_G2D:mx943-nxp-bsp ??= "imxg2d" | |
| 184 | # Remove no longer supported colord | ||
| 185 | PACKAGECONFIG[colord] = "" | ||
| 186 | 176 | ||
| 187 | # Weston with i.MX G2D renderer | 177 | # Weston with i.MX G2D renderer |
| 188 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" | 178 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" |
