summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-09-01 10:13:37 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-09-01 10:39:24 -0300
commitdec679926fe9a5314e38bfaf1b7ad49526168dd1 (patch)
tree4ad1902a20ce797b6e187eaee47921798be06676 /recipes-graphics
parentec983005e0b5aed2f7023dd9bd97c359402669b9 (diff)
downloadmeta-freescale-dec679926fe9a5314e38bfaf1b7ad49526168dd1.tar.gz
weston: Declare xwayland split package via PACKAGES_DYNAMIC
${PN}-xwayland enters PACKAGES only under the xwayland PACKAGECONFIG, through the bb.utils.contains() expression in the PACKAGES assignment. oelint-adv parses the recipe with no PACKAGECONFIG active, so that expression expands empty and it cannot see the package, flagging its FILES:${PN}-xwayland and RDEPENDS:${PN}-xwayland as oelint.vars.specific ("set specific to a package not known from PACKAGES"). Declare the package via PACKAGES_DYNAMIC += "^${PN}-xwayland$" so it is recognised regardless of which PACKAGECONFIG the current parse enables. This does not add it to PACKAGES: a config that enables the xwayland PACKAGECONFIG still ships it, one that does not still omits it. The top section of each recipe is a verbatim OE-core copy that carries the same limitation, so this is a deliberate divergence from OE-core added to satisfy standalone linting; a future re-sync should keep it rather than drop it. The 10.0.5 and 14.0.2 i.MX forks get the identical change. Removes 4 oelint.vars.specific findings (two per recipe); introduces none. Verified output-neutral on imx8mm-lpddr4-evk (fslc-wayland, weston 14.0.2.imx selected, xwayland PACKAGECONFIG off): a baseline vs candidate do_package rebuild produced a "No changes" buildhistory commit -- the weston package output is byte-identical and only metadata-revs differs across the whole tree. Building weston in this tree first required two separately committed prerequisite fixes that port the NXP wayland-protocols and vulkan-loader patch stacks to the oe-core versions pinned here; without them do_patch fails and weston cannot build at all. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/wayland/weston_10.0.5.imx.bb4
-rw-r--r--recipes-graphics/wayland/weston_14.0.2.imx.bb4
2 files changed, 8 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston_10.0.5.imx.bb b/recipes-graphics/wayland/weston_10.0.5.imx.bb
index 0d5737e9b..04b7f86e4 100644
--- a/recipes-graphics/wayland/weston_10.0.5.imx.bb
+++ b/recipes-graphics/wayland/weston_10.0.5.imx.bb
@@ -135,6 +135,10 @@ do_install:append() {
135PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)}" 135PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)}"
136PACKAGES += "libweston-${WESTON_MAJOR_VERSION} ${PN}-examples" 136PACKAGES += "libweston-${WESTON_MAJOR_VERSION} ${PN}-examples"
137 137
138# ${PN}-xwayland is only added to PACKAGES under the xwayland PACKAGECONFIG
139# (above); declare it so its FILES/RDEPENDS are recognised when it is not.
140PACKAGES_DYNAMIC += "^${PN}-xwayland$"
141
138FILES:${PN}-dev += "${libdir}/${BPN}/libexec_weston.so" 142FILES:${PN}-dev += "${libdir}/${BPN}/libexec_weston.so"
139# Main package is curated to weston's own binaries, config and plugins; the 143# Main package is curated to weston's own binaries, config and plugins; the
140# shared libraries are split out into the libweston-${WESTON_MAJOR_VERSION} package. 144# shared libraries are split out into the libweston-${WESTON_MAJOR_VERSION} package.
diff --git a/recipes-graphics/wayland/weston_14.0.2.imx.bb b/recipes-graphics/wayland/weston_14.0.2.imx.bb
index 219f3d3ef..d2fd9de42 100644
--- a/recipes-graphics/wayland/weston_14.0.2.imx.bb
+++ b/recipes-graphics/wayland/weston_14.0.2.imx.bb
@@ -135,6 +135,10 @@ do_install:append() {
135PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)}" 135PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', '', d)}"
136PACKAGES += "libweston-${WESTON_MAJOR_VERSION} ${PN}-examples" 136PACKAGES += "libweston-${WESTON_MAJOR_VERSION} ${PN}-examples"
137 137
138# ${PN}-xwayland is only added to PACKAGES under the xwayland PACKAGECONFIG
139# (above); declare it so its FILES/RDEPENDS are recognised when it is not.
140PACKAGES_DYNAMIC += "^${PN}-xwayland$"
141
138FILES:${PN}-dev += "${libdir}/${BPN}/libexec_weston.so" 142FILES:${PN}-dev += "${libdir}/${BPN}/libexec_weston.so"
139# Main package is curated to weston's own binaries, config and plugins; the 143# Main package is curated to weston's own binaries, config and plugins; the
140# shared libraries are split out into the libweston-${WESTON_MAJOR_VERSION} package. 144# shared libraries are split out into the libweston-${WESTON_MAJOR_VERSION} package.