* [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard
@ 2026-03-20 22:14 Ryan Eatmon
2026-03-20 22:14 ` [meta-arago][master][PATCH 2/4] packagegroup-arago-graphics: Clean up check layer error Ryan Eatmon
` (3 more replies)
0 siblings, 4 replies; 14+ messages in thread
From: Ryan Eatmon @ 2026-03-20 22:14 UTC (permalink / raw)
To: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
Cleanup for check layers error. The libsdl2-tests package is gated
behind a ti-soc guard, but the inclusion in ti-test is not.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
meta-arago-test/recipes-core/packagegroups/ti-test.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-arago-test/recipes-core/packagegroups/ti-test.bb b/meta-arago-test/recipes-core/packagegroups/ti-test.bb
index 064e3bb7..8125c3fa 100644
--- a/meta-arago-test/recipes-core/packagegroups/ti-test.bb
+++ b/meta-arago-test/recipes-core/packagegroups/ti-test.bb
@@ -71,7 +71,6 @@ TI_TEST_EXTRAS_OPENCL = " \
"
TI_TEST_EXTRAS = " \
- libsdl2-tests \
python3-pillow \
pytesseract \
python3-numpy \
@@ -80,6 +79,10 @@ TI_TEST_EXTRAS = " \
${@bb.utils.contains('DISTRO_FEATURES', 'opencl', '${TI_TEST_EXTRAS_OPENCL}', '', d)} \
"
+TI_TEST_EXTRAS:append:ti-soc = " \
+ libsdl2-tests \
+"
+
TI_TEST_GRAPHICS_OPENGL = " \
piglit \
offscreendemo \
--
2.43.0
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [meta-arago][master][PATCH 2/4] packagegroup-arago-graphics: Clean up check layer error
2026-03-20 22:14 [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard Ryan Eatmon
@ 2026-03-20 22:14 ` Ryan Eatmon
2026-03-20 22:14 ` [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend Ryan Eatmon
` (2 subsequent siblings)
3 siblings, 0 replies; 14+ messages in thread
From: Ryan Eatmon @ 2026-03-20 22:14 UTC (permalink / raw)
To: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
The weston package has a DISTRO_FEATURE requirement for "pam". The
recent change to the nodistro settings do not include pam. Gate the
inclusion of these packages into the packagegroup only if pam is also
turned on.
This fixes some check layer errors.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
.../packagegroups/packagegroup-arago-graphics-sdk-target.bb | 2 +-
.../recipes-core/packagegroups/packagegroup-arago-graphics.bb | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb
index 8f760119..79e36c99 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb
@@ -15,7 +15,7 @@ OPENGL_DEV = "\
WAYLAND_DEV = "\
wayland-dev \
- weston-dev \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-dev", '', d)} \
"
RDEPENDS:${PN} = "\
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
index 9860037f..026281cb 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
@@ -7,8 +7,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
GFX_WAYLAND = "\
- weston-init \
- weston-examples \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-init", '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-examples", '', d)} \
"
OPENGL_PKGS = "\
--
2.43.0
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
2026-03-20 22:14 [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard Ryan Eatmon
2026-03-20 22:14 ` [meta-arago][master][PATCH 2/4] packagegroup-arago-graphics: Clean up check layer error Ryan Eatmon
@ 2026-03-20 22:14 ` Ryan Eatmon
2026-03-20 22:22 ` Randolph Sapp
2026-03-20 22:14 ` [meta-arago][master][PATCH 4/4] packagegroup-arago-graphics: Add mesa-demos Ryan Eatmon
2026-03-20 22:32 ` [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard PRC Automation
3 siblings, 1 reply; 14+ messages in thread
From: Ryan Eatmon @ 2026-03-20 22:14 UTC (permalink / raw)
To: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
Clean up a check layer error related to how this recipe was setup.
Change the recipe to a bbappend instead of a new git version. Apply all
of the changes that were made in the new recipe to the bbappend, and
remove the PREFERRED_VERSION in arago-prefs.inc.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
.../conf/distro/include/arago-prefs.inc | 3 --
.../mesa/mesa-demos-arago.inc | 17 ++++++++
.../mesa/mesa-demos_9.0.0.bbappend | 4 ++
.../recipes-graphics/mesa/mesa-demos_git.bb | 42 -------------------
4 files changed, 21 insertions(+), 45 deletions(-)
create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
delete mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
index 4d1a6006..6a2faa53 100644
--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
@@ -10,6 +10,3 @@ VIRTUAL-RUNTIME_dbus = "dbus-broker"
# application that does not have a GPLv3 license
PREFERRED_VERSION_crda = "3.18"
PREFERRED_VERSION_obex = "0.34"
-
-# Bump mesa-demos to include some patches not in a tagged release
-PREFERRED_VERSION_mesa-demos = "9.0.0+git"
diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
new file mode 100644
index 00000000..5a5412c2
--- /dev/null
+++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
@@ -0,0 +1,17 @@
+SECTION = ""
+
+LIC_FILES_CHKSUM:remove = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
+
+LIC_FILES_CHKSUM:append = " file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
+
+SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
+SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
+
+PV = "9.0.0+git"
+
+REQUIRED_DISTRO_FEATURES:remove = "x11"
+
+PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
+
+PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
+PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
new file mode 100644
index 00000000..3b26e342
--- /dev/null
+++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
@@ -0,0 +1,4 @@
+MESA_DEMOS_ARAGO = ""
+MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc"
+
+require ${MESA_DEMOS_ARAGO}
diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
deleted file mode 100644
index 2da3ceff..00000000
--- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
+++ /dev/null
@@ -1,42 +0,0 @@
-SUMMARY = "Mesa demo applications"
-DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
-These applications can be used for Mesa validation and benchmarking."
-HOMEPAGE = "http://mesa3d.org"
-BUGTRACKER = "https://bugs.freedesktop.org"
-
-LICENSE = "MIT & PD"
-LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae \
- file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
-
-SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
-SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
-
-DEFAULT_PREFERENCE = "-1"
-PV = "9.0.0+git"
-
-inherit meson pkgconfig features_check
-REQUIRED_DISTRO_FEATURES = "opengl"
-
-EXTRA_OEMESON = "-Dwith-system-data-files=true"
-
-PACKAGECONFIG ?= "drm egl gles1 gles2 \
- ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan x11 wayland', d)}"
-
-PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
-PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
-PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
-PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
-PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
-PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
-PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
-PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
-PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
-
-do_install:append() {
- # it can be completely empty when all PACKAGECONFIG options are disabled
- rmdir --ignore-fail-on-non-empty ${D}${bindir}
-
- if [ -f ${D}${bindir}/clear ]; then
- mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
- fi
-}
--
2.43.0
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [meta-arago][master][PATCH 4/4] packagegroup-arago-graphics: Add mesa-demos
2026-03-20 22:14 [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard Ryan Eatmon
2026-03-20 22:14 ` [meta-arago][master][PATCH 2/4] packagegroup-arago-graphics: Clean up check layer error Ryan Eatmon
2026-03-20 22:14 ` [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend Ryan Eatmon
@ 2026-03-20 22:14 ` Ryan Eatmon
2026-03-20 22:19 ` Randolph Sapp
2026-03-20 22:32 ` [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard PRC Automation
3 siblings, 1 reply; 14+ messages in thread
From: Ryan Eatmon @ 2026-03-20 22:14 UTC (permalink / raw)
To: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
Add mesa-demos recipe to the packagegroup.
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
.../recipes-core/packagegroups/packagegroup-arago-graphics.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
index 026281cb..e3c6aff6 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
@@ -9,6 +9,7 @@ inherit packagegroup
GFX_WAYLAND = "\
${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-init", '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-examples", '', d)} \
+ mesa-demos \
"
OPENGL_PKGS = "\
--
2.43.0
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 4/4] packagegroup-arago-graphics: Add mesa-demos
2026-03-20 22:14 ` [meta-arago][master][PATCH 4/4] packagegroup-arago-graphics: Add mesa-demos Ryan Eatmon
@ 2026-03-20 22:19 ` Randolph Sapp
0 siblings, 0 replies; 14+ messages in thread
From: Randolph Sapp @ 2026-03-20 22:19 UTC (permalink / raw)
To: reatmon, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On Fri Mar 20, 2026 at 5:14 PM CDT, Ryan Eatmon via lists.yoctoproject.org wrote:
> Add mesa-demos recipe to the packagegroup.
>
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
> .../recipes-core/packagegroups/packagegroup-arago-graphics.bb | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
> index 026281cb..e3c6aff6 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb
> @@ -9,6 +9,7 @@ inherit packagegroup
> GFX_WAYLAND = "\
> ${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-init", '', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-examples", '', d)} \
> + mesa-demos \
> "
>
> OPENGL_PKGS = "\
This was proposed in another series a while back, but got dropped due to some
other changes. Completely forgot about it. Thanks Ryan.
Reviewed-by: Randolph Sapp <rs@ti.com>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
2026-03-20 22:14 ` [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend Ryan Eatmon
@ 2026-03-20 22:22 ` Randolph Sapp
2026-03-22 19:26 ` Denys Dmytriyenko
0 siblings, 1 reply; 14+ messages in thread
From: Randolph Sapp @ 2026-03-20 22:22 UTC (permalink / raw)
To: reatmon, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On Fri Mar 20, 2026 at 5:14 PM CDT, Ryan Eatmon via lists.yoctoproject.org wrote:
> Clean up a check layer error related to how this recipe was setup.
>
> Change the recipe to a bbappend instead of a new git version. Apply all
> of the changes that were made in the new recipe to the bbappend, and
> remove the PREFERRED_VERSION in arago-prefs.inc.
>
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
> .../conf/distro/include/arago-prefs.inc | 3 --
> .../mesa/mesa-demos-arago.inc | 17 ++++++++
> .../mesa/mesa-demos_9.0.0.bbappend | 4 ++
> .../recipes-graphics/mesa/mesa-demos_git.bb | 42 -------------------
> 4 files changed, 21 insertions(+), 45 deletions(-)
> create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> delete mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>
> diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> index 4d1a6006..6a2faa53 100644
> --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> @@ -10,6 +10,3 @@ VIRTUAL-RUNTIME_dbus = "dbus-broker"
> # application that does not have a GPLv3 license
> PREFERRED_VERSION_crda = "3.18"
> PREFERRED_VERSION_obex = "0.34"
> -
> -# Bump mesa-demos to include some patches not in a tagged release
> -PREFERRED_VERSION_mesa-demos = "9.0.0+git"
> diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> new file mode 100644
> index 00000000..5a5412c2
> --- /dev/null
> +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> @@ -0,0 +1,17 @@
> +SECTION = ""
> +
> +LIC_FILES_CHKSUM:remove = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
> +
> +LIC_FILES_CHKSUM:append = " file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
> +
> +SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> +SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> +
> +PV = "9.0.0+git"
> +
> +REQUIRED_DISTRO_FEATURES:remove = "x11"
> +
> +PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
> +
> +PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> +PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> new file mode 100644
> index 00000000..3b26e342
> --- /dev/null
> +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> @@ -0,0 +1,4 @@
> +MESA_DEMOS_ARAGO = ""
> +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc"
> +
> +require ${MESA_DEMOS_ARAGO}
> diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> deleted file mode 100644
> index 2da3ceff..00000000
> --- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> +++ /dev/null
> @@ -1,42 +0,0 @@
> -SUMMARY = "Mesa demo applications"
> -DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
> -These applications can be used for Mesa validation and benchmarking."
> -HOMEPAGE = "http://mesa3d.org"
> -BUGTRACKER = "https://bugs.freedesktop.org"
> -
> -LICENSE = "MIT & PD"
> -LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae \
> - file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
> -
> -SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> -SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> -
> -DEFAULT_PREFERENCE = "-1"
> -PV = "9.0.0+git"
> -
> -inherit meson pkgconfig features_check
> -REQUIRED_DISTRO_FEATURES = "opengl"
> -
> -EXTRA_OEMESON = "-Dwith-system-data-files=true"
> -
> -PACKAGECONFIG ?= "drm egl gles1 gles2 \
> - ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan x11 wayland', d)}"
> -
> -PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
> -PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
> -PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
> -PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
> -PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> -PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> -PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
> -PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
> -PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
> -
> -do_install:append() {
> - # it can be completely empty when all PACKAGECONFIG options are disabled
> - rmdir --ignore-fail-on-non-empty ${D}${bindir}
> -
> - if [ -f ${D}${bindir}/clear ]; then
> - mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
> - fi
> -}
I still hate that layer conformance thinks this is the correct way to do what is
essentially adding a new *optional* package version. Feels really backwards and
gross, but I'm already picking other fights right now.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard
2026-03-20 22:14 [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard Ryan Eatmon
` (2 preceding siblings ...)
2026-03-20 22:14 ` [meta-arago][master][PATCH 4/4] packagegroup-arago-graphics: Add mesa-demos Ryan Eatmon
@ 2026-03-20 22:32 ` PRC Automation
3 siblings, 0 replies; 14+ messages in thread
From: PRC Automation @ 2026-03-20 22:32 UTC (permalink / raw)
To: Ryan Eatmon; +Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
meta-arago / na / 20260320221404.3991734-1-reatmon
PRC Results: PASS
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Fri, 20 Mar 2026 17:14:01 -0500
- Num Patches: 4
- Mailing List (public inbox) Commit SHA: ca4fd7dfb49c28b1b4acb7e9b04b95ff72e00531
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: packagegroup-arago-graphics: Add mesa-demos
- Commit SHA: ab710072a9e00c5869fac1c6a42eaac579f078c0
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS
=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
2026-03-20 22:22 ` Randolph Sapp
@ 2026-03-22 19:26 ` Denys Dmytriyenko
2026-03-23 17:16 ` Randolph Sapp
0 siblings, 1 reply; 14+ messages in thread
From: Denys Dmytriyenko @ 2026-03-22 19:26 UTC (permalink / raw)
To: rs; +Cc: reatmon, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On Fri, Mar 20, 2026 at 05:22:30PM -0500, Randolph Sapp via lists.yoctoproject.org wrote:
> On Fri Mar 20, 2026 at 5:14 PM CDT, Ryan Eatmon via lists.yoctoproject.org wrote:
> > Clean up a check layer error related to how this recipe was setup.
> >
> > Change the recipe to a bbappend instead of a new git version. Apply all
> > of the changes that were made in the new recipe to the bbappend, and
> > remove the PREFERRED_VERSION in arago-prefs.inc.
> >
> > Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> > ---
> > .../conf/distro/include/arago-prefs.inc | 3 --
> > .../mesa/mesa-demos-arago.inc | 17 ++++++++
> > .../mesa/mesa-demos_9.0.0.bbappend | 4 ++
> > .../recipes-graphics/mesa/mesa-demos_git.bb | 42 -------------------
> > 4 files changed, 21 insertions(+), 45 deletions(-)
> > create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> > create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> > delete mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> >
> > diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> > index 4d1a6006..6a2faa53 100644
> > --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> > +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> > @@ -10,6 +10,3 @@ VIRTUAL-RUNTIME_dbus = "dbus-broker"
> > # application that does not have a GPLv3 license
> > PREFERRED_VERSION_crda = "3.18"
> > PREFERRED_VERSION_obex = "0.34"
> > -
> > -# Bump mesa-demos to include some patches not in a tagged release
> > -PREFERRED_VERSION_mesa-demos = "9.0.0+git"
> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> > new file mode 100644
> > index 00000000..5a5412c2
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> > @@ -0,0 +1,17 @@
> > +SECTION = ""
> > +
> > +LIC_FILES_CHKSUM:remove = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
> > +
> > +LIC_FILES_CHKSUM:append = " file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
> > +
> > +SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> > +SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> > +
> > +PV = "9.0.0+git"
> > +
> > +REQUIRED_DISTRO_FEATURES:remove = "x11"
> > +
> > +PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
> > +
> > +PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> > +PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> > new file mode 100644
> > index 00000000..3b26e342
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> > @@ -0,0 +1,4 @@
> > +MESA_DEMOS_ARAGO = ""
> > +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc"
> > +
> > +require ${MESA_DEMOS_ARAGO}
> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> > deleted file mode 100644
> > index 2da3ceff..00000000
> > --- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> > +++ /dev/null
> > @@ -1,42 +0,0 @@
> > -SUMMARY = "Mesa demo applications"
> > -DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
> > -These applications can be used for Mesa validation and benchmarking."
> > -HOMEPAGE = "http://mesa3d.org"
> > -BUGTRACKER = "https://bugs.freedesktop.org"
> > -
> > -LICENSE = "MIT & PD"
> > -LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae \
> > - file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
> > -
> > -SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> > -SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> > -
> > -DEFAULT_PREFERENCE = "-1"
> > -PV = "9.0.0+git"
> > -
> > -inherit meson pkgconfig features_check
> > -REQUIRED_DISTRO_FEATURES = "opengl"
> > -
> > -EXTRA_OEMESON = "-Dwith-system-data-files=true"
> > -
> > -PACKAGECONFIG ?= "drm egl gles1 gles2 \
> > - ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan x11 wayland', d)}"
> > -
> > -PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
> > -PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
> > -PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
> > -PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
> > -PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> > -PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> > -PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
> > -PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
> > -PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
> > -
> > -do_install:append() {
> > - # it can be completely empty when all PACKAGECONFIG options are disabled
> > - rmdir --ignore-fail-on-non-empty ${D}${bindir}
> > -
> > - if [ -f ${D}${bindir}/clear ]; then
> > - mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
> > - fi
> > -}
>
> I still hate that layer conformance thinks this is the correct way to do what is
> essentially adding a new *optional* package version. Feels really backwards and
> gross, but I'm already picking other fights right now.
In order for a new version of a recipe to be *optional*, it should not be
selected by bitbake by default.
There are 2 ways to do this (besides making a bbappend):
1. Use the same name, but lower the default preference DEFAULT_PREFERENCE="-1"
and still able to select it with PREFERRED_VERSION_mesa-demos="9.0.0+git"
2. Use a different name e.g. mesa-demos-arago and set PROVIDES="mesa-demos" -
allows selecting it with PREFERRED_PROVIDER_mesa-demos="mesa-demos-arago"
--
Denys
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
2026-03-22 19:26 ` Denys Dmytriyenko
@ 2026-03-23 17:16 ` Randolph Sapp
2026-03-24 0:51 ` Denys Dmytriyenko
[not found] ` <189FA0BA138E397B.1003@lists.yoctoproject.org>
0 siblings, 2 replies; 14+ messages in thread
From: Randolph Sapp @ 2026-03-23 17:16 UTC (permalink / raw)
To: Denys Dmytriyenko, rs
Cc: reatmon, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On Sun Mar 22, 2026 at 2:26 PM CDT, Denys Dmytriyenko wrote:
> On Fri, Mar 20, 2026 at 05:22:30PM -0500, Randolph Sapp via lists.yoctoproject.org wrote:
>> On Fri Mar 20, 2026 at 5:14 PM CDT, Ryan Eatmon via lists.yoctoproject.org wrote:
>> > Clean up a check layer error related to how this recipe was setup.
>> >
>> > Change the recipe to a bbappend instead of a new git version. Apply all
>> > of the changes that were made in the new recipe to the bbappend, and
>> > remove the PREFERRED_VERSION in arago-prefs.inc.
>> >
>> > Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> > ---
>> > .../conf/distro/include/arago-prefs.inc | 3 --
>> > .../mesa/mesa-demos-arago.inc | 17 ++++++++
>> > .../mesa/mesa-demos_9.0.0.bbappend | 4 ++
>> > .../recipes-graphics/mesa/mesa-demos_git.bb | 42 -------------------
>> > 4 files changed, 21 insertions(+), 45 deletions(-)
>> > create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>> > create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
>> > delete mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>> >
>> > diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
>> > index 4d1a6006..6a2faa53 100644
>> > --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
>> > +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
>> > @@ -10,6 +10,3 @@ VIRTUAL-RUNTIME_dbus = "dbus-broker"
>> > # application that does not have a GPLv3 license
>> > PREFERRED_VERSION_crda = "3.18"
>> > PREFERRED_VERSION_obex = "0.34"
>> > -
>> > -# Bump mesa-demos to include some patches not in a tagged release
>> > -PREFERRED_VERSION_mesa-demos = "9.0.0+git"
>> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>> > new file mode 100644
>> > index 00000000..5a5412c2
>> > --- /dev/null
>> > +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>> > @@ -0,0 +1,17 @@
>> > +SECTION = ""
>> > +
>> > +LIC_FILES_CHKSUM:remove = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
>> > +
>> > +LIC_FILES_CHKSUM:append = " file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
>> > +
>> > +SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
>> > +SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
>> > +
>> > +PV = "9.0.0+git"
>> > +
>> > +REQUIRED_DISTRO_FEATURES:remove = "x11"
>> > +
>> > +PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
>> > +
>> > +PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
>> > +PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
>> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
>> > new file mode 100644
>> > index 00000000..3b26e342
>> > --- /dev/null
>> > +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
>> > @@ -0,0 +1,4 @@
>> > +MESA_DEMOS_ARAGO = ""
>> > +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc"
>> > +
>> > +require ${MESA_DEMOS_ARAGO}
>> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>> > deleted file mode 100644
>> > index 2da3ceff..00000000
>> > --- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>> > +++ /dev/null
>> > @@ -1,42 +0,0 @@
>> > -SUMMARY = "Mesa demo applications"
>> > -DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
>> > -These applications can be used for Mesa validation and benchmarking."
>> > -HOMEPAGE = "http://mesa3d.org"
>> > -BUGTRACKER = "https://bugs.freedesktop.org"
>> > -
>> > -LICENSE = "MIT & PD"
>> > -LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae \
>> > - file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
>> > -
>> > -SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
>> > -SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
>> > -
>> > -DEFAULT_PREFERENCE = "-1"
>> > -PV = "9.0.0+git"
>> > -
>> > -inherit meson pkgconfig features_check
>> > -REQUIRED_DISTRO_FEATURES = "opengl"
>> > -
>> > -EXTRA_OEMESON = "-Dwith-system-data-files=true"
>> > -
>> > -PACKAGECONFIG ?= "drm egl gles1 gles2 \
>> > - ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan x11 wayland', d)}"
>> > -
>> > -PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
>> > -PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
>> > -PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
>> > -PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
>> > -PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
>> > -PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
>> > -PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
>> > -PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
>> > -PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
>> > -
>> > -do_install:append() {
>> > - # it can be completely empty when all PACKAGECONFIG options are disabled
>> > - rmdir --ignore-fail-on-non-empty ${D}${bindir}
>> > -
>> > - if [ -f ${D}${bindir}/clear ]; then
>> > - mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
>> > - fi
>> > -}
>>
>> I still hate that layer conformance thinks this is the correct way to do what is
>> essentially adding a new *optional* package version. Feels really backwards and
>> gross, but I'm already picking other fights right now.
>
> In order for a new version of a recipe to be *optional*, it should not be
> selected by bitbake by default.
>
> There are 2 ways to do this (besides making a bbappend):
>
> 1. Use the same name, but lower the default preference DEFAULT_PREFERENCE="-1"
> and still able to select it with PREFERRED_VERSION_mesa-demos="9.0.0+git"
Yeah, I did that. You can see it in the patch above, being removed. The
conformance still thinks it's wrong.
> 2. Use a different name e.g. mesa-demos-arago and set PROVIDES="mesa-demos" -
> allows selecting it with PREFERRED_PROVIDER_mesa-demos="mesa-demos-arago"
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
2026-03-23 17:16 ` Randolph Sapp
@ 2026-03-24 0:51 ` Denys Dmytriyenko
[not found] ` <189FA0BA138E397B.1003@lists.yoctoproject.org>
1 sibling, 0 replies; 14+ messages in thread
From: Denys Dmytriyenko @ 2026-03-24 0:51 UTC (permalink / raw)
To: Randolph Sapp; +Cc: reatmon, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On Mon, Mar 23, 2026 at 12:16:30PM -0500, Randolph Sapp wrote:
> On Sun Mar 22, 2026 at 2:26 PM CDT, Denys Dmytriyenko wrote:
> > On Fri, Mar 20, 2026 at 05:22:30PM -0500, Randolph Sapp via lists.yoctoproject.org wrote:
> >> On Fri Mar 20, 2026 at 5:14 PM CDT, Ryan Eatmon via lists.yoctoproject.org wrote:
> >> > Clean up a check layer error related to how this recipe was setup.
> >> >
> >> > Change the recipe to a bbappend instead of a new git version. Apply all
> >> > of the changes that were made in the new recipe to the bbappend, and
> >> > remove the PREFERRED_VERSION in arago-prefs.inc.
> >> >
> >> > Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> >> > ---
> >> > .../conf/distro/include/arago-prefs.inc | 3 --
> >> > .../mesa/mesa-demos-arago.inc | 17 ++++++++
> >> > .../mesa/mesa-demos_9.0.0.bbappend | 4 ++
> >> > .../recipes-graphics/mesa/mesa-demos_git.bb | 42 -------------------
> >> > 4 files changed, 21 insertions(+), 45 deletions(-)
> >> > create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> >> > create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> >> > delete mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> >> >
> >> > diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> >> > index 4d1a6006..6a2faa53 100644
> >> > --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> >> > +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> >> > @@ -10,6 +10,3 @@ VIRTUAL-RUNTIME_dbus = "dbus-broker"
> >> > # application that does not have a GPLv3 license
> >> > PREFERRED_VERSION_crda = "3.18"
> >> > PREFERRED_VERSION_obex = "0.34"
> >> > -
> >> > -# Bump mesa-demos to include some patches not in a tagged release
> >> > -PREFERRED_VERSION_mesa-demos = "9.0.0+git"
> >> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> >> > new file mode 100644
> >> > index 00000000..5a5412c2
> >> > --- /dev/null
> >> > +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> >> > @@ -0,0 +1,17 @@
> >> > +SECTION = ""
> >> > +
> >> > +LIC_FILES_CHKSUM:remove = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
> >> > +
> >> > +LIC_FILES_CHKSUM:append = " file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
> >> > +
> >> > +SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> >> > +SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> >> > +
> >> > +PV = "9.0.0+git"
> >> > +
> >> > +REQUIRED_DISTRO_FEATURES:remove = "x11"
> >> > +
> >> > +PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
> >> > +
> >> > +PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> >> > +PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> >> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> >> > new file mode 100644
> >> > index 00000000..3b26e342
> >> > --- /dev/null
> >> > +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> >> > @@ -0,0 +1,4 @@
> >> > +MESA_DEMOS_ARAGO = ""
> >> > +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc"
> >> > +
> >> > +require ${MESA_DEMOS_ARAGO}
> >> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> >> > deleted file mode 100644
> >> > index 2da3ceff..00000000
> >> > --- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> >> > +++ /dev/null
> >> > @@ -1,42 +0,0 @@
> >> > -SUMMARY = "Mesa demo applications"
> >> > -DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
> >> > -These applications can be used for Mesa validation and benchmarking."
> >> > -HOMEPAGE = "http://mesa3d.org"
> >> > -BUGTRACKER = "https://bugs.freedesktop.org"
> >> > -
> >> > -LICENSE = "MIT & PD"
> >> > -LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae \
> >> > - file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
> >> > -
> >> > -SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> >> > -SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> >> > -
> >> > -DEFAULT_PREFERENCE = "-1"
> >> > -PV = "9.0.0+git"
> >> > -
> >> > -inherit meson pkgconfig features_check
> >> > -REQUIRED_DISTRO_FEATURES = "opengl"
> >> > -
> >> > -EXTRA_OEMESON = "-Dwith-system-data-files=true"
> >> > -
> >> > -PACKAGECONFIG ?= "drm egl gles1 gles2 \
> >> > - ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan x11 wayland', d)}"
> >> > -
> >> > -PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
> >> > -PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
> >> > -PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
> >> > -PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
> >> > -PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> >> > -PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> >> > -PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
> >> > -PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
> >> > -PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
> >> > -
> >> > -do_install:append() {
> >> > - # it can be completely empty when all PACKAGECONFIG options are disabled
> >> > - rmdir --ignore-fail-on-non-empty ${D}${bindir}
> >> > -
> >> > - if [ -f ${D}${bindir}/clear ]; then
> >> > - mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
> >> > - fi
> >> > -}
> >>
> >> I still hate that layer conformance thinks this is the correct way to do what is
> >> essentially adding a new *optional* package version. Feels really backwards and
> >> gross, but I'm already picking other fights right now.
> >
> > In order for a new version of a recipe to be *optional*, it should not be
> > selected by bitbake by default.
> >
> > There are 2 ways to do this (besides making a bbappend):
> >
> > 1. Use the same name, but lower the default preference DEFAULT_PREFERENCE="-1"
> > and still able to select it with PREFERRED_VERSION_mesa-demos="9.0.0+git"
>
> Yeah, I did that. You can see it in the patch above, being removed. The
> conformance still thinks it's wrong.
Ah, indeed, missed that.
Still not sure why the yocto-check-layer fails for this case...
> > 2. Use a different name e.g. mesa-demos-arago and set PROVIDES="mesa-demos" -
> > allows selecting it with PREFERRED_PROVIDER_mesa-demos="mesa-demos-arago"
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
[not found] ` <189FA0BA138E397B.1003@lists.yoctoproject.org>
@ 2026-03-24 18:14 ` Denys Dmytriyenko
2026-03-24 18:20 ` Ryan Eatmon
[not found] ` <189FD9F3C6CA2766.55659@lists.yoctoproject.org>
0 siblings, 2 replies; 14+ messages in thread
From: Denys Dmytriyenko @ 2026-03-24 18:14 UTC (permalink / raw)
To: Randolph Sapp; +Cc: reatmon, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On Mon, Mar 23, 2026 at 08:51:31PM -0400, Denys Dmytriyenko wrote:
> On Mon, Mar 23, 2026 at 12:16:30PM -0500, Randolph Sapp wrote:
> > On Sun Mar 22, 2026 at 2:26 PM CDT, Denys Dmytriyenko wrote:
> > > On Fri, Mar 20, 2026 at 05:22:30PM -0500, Randolph Sapp via lists.yoctoproject.org wrote:
> > >> On Fri Mar 20, 2026 at 5:14 PM CDT, Ryan Eatmon via lists.yoctoproject.org wrote:
> > >> > Clean up a check layer error related to how this recipe was setup.
> > >> >
> > >> > Change the recipe to a bbappend instead of a new git version. Apply all
> > >> > of the changes that were made in the new recipe to the bbappend, and
> > >> > remove the PREFERRED_VERSION in arago-prefs.inc.
> > >> >
> > >> > Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> > >> > ---
> > >> > .../conf/distro/include/arago-prefs.inc | 3 --
> > >> > .../mesa/mesa-demos-arago.inc | 17 ++++++++
> > >> > .../mesa/mesa-demos_9.0.0.bbappend | 4 ++
> > >> > .../recipes-graphics/mesa/mesa-demos_git.bb | 42 -------------------
> > >> > 4 files changed, 21 insertions(+), 45 deletions(-)
> > >> > create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> > >> > create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> > >> > delete mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> > >> >
> > >> > diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> > >> > index 4d1a6006..6a2faa53 100644
> > >> > --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> > >> > +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> > >> > @@ -10,6 +10,3 @@ VIRTUAL-RUNTIME_dbus = "dbus-broker"
> > >> > # application that does not have a GPLv3 license
> > >> > PREFERRED_VERSION_crda = "3.18"
> > >> > PREFERRED_VERSION_obex = "0.34"
> > >> > -
> > >> > -# Bump mesa-demos to include some patches not in a tagged release
> > >> > -PREFERRED_VERSION_mesa-demos = "9.0.0+git"
> > >> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> > >> > new file mode 100644
> > >> > index 00000000..5a5412c2
> > >> > --- /dev/null
> > >> > +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> > >> > @@ -0,0 +1,17 @@
> > >> > +SECTION = ""
> > >> > +
> > >> > +LIC_FILES_CHKSUM:remove = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
> > >> > +
> > >> > +LIC_FILES_CHKSUM:append = " file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
> > >> > +
> > >> > +SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> > >> > +SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> > >> > +
> > >> > +PV = "9.0.0+git"
> > >> > +
> > >> > +REQUIRED_DISTRO_FEATURES:remove = "x11"
> > >> > +
> > >> > +PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
> > >> > +
> > >> > +PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> > >> > +PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> > >> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> > >> > new file mode 100644
> > >> > index 00000000..3b26e342
> > >> > --- /dev/null
> > >> > +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> > >> > @@ -0,0 +1,4 @@
> > >> > +MESA_DEMOS_ARAGO = ""
> > >> > +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc"
> > >> > +
> > >> > +require ${MESA_DEMOS_ARAGO}
> > >> > diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> > >> > deleted file mode 100644
> > >> > index 2da3ceff..00000000
> > >> > --- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> > >> > +++ /dev/null
> > >> > @@ -1,42 +0,0 @@
> > >> > -SUMMARY = "Mesa demo applications"
> > >> > -DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
> > >> > -These applications can be used for Mesa validation and benchmarking."
> > >> > -HOMEPAGE = "http://mesa3d.org"
> > >> > -BUGTRACKER = "https://bugs.freedesktop.org"
> > >> > -
> > >> > -LICENSE = "MIT & PD"
> > >> > -LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae \
> > >> > - file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
> > >> > -
> > >> > -SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> > >> > -SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> > >> > -
> > >> > -DEFAULT_PREFERENCE = "-1"
> > >> > -PV = "9.0.0+git"
> > >> > -
> > >> > -inherit meson pkgconfig features_check
> > >> > -REQUIRED_DISTRO_FEATURES = "opengl"
> > >> > -
> > >> > -EXTRA_OEMESON = "-Dwith-system-data-files=true"
> > >> > -
> > >> > -PACKAGECONFIG ?= "drm egl gles1 gles2 \
> > >> > - ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan x11 wayland', d)}"
> > >> > -
> > >> > -PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
> > >> > -PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
> > >> > -PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
> > >> > -PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
> > >> > -PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> > >> > -PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> > >> > -PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
> > >> > -PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
> > >> > -PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
> > >> > -
> > >> > -do_install:append() {
> > >> > - # it can be completely empty when all PACKAGECONFIG options are disabled
> > >> > - rmdir --ignore-fail-on-non-empty ${D}${bindir}
> > >> > -
> > >> > - if [ -f ${D}${bindir}/clear ]; then
> > >> > - mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
> > >> > - fi
> > >> > -}
> > >>
> > >> I still hate that layer conformance thinks this is the correct way to do what is
> > >> essentially adding a new *optional* package version. Feels really backwards and
> > >> gross, but I'm already picking other fights right now.
> > >
> > > In order for a new version of a recipe to be *optional*, it should not be
> > > selected by bitbake by default.
> > >
> > > There are 2 ways to do this (besides making a bbappend):
> > >
> > > 1. Use the same name, but lower the default preference DEFAULT_PREFERENCE="-1"
> > > and still able to select it with PREFERRED_VERSION_mesa-demos="9.0.0+git"
> >
> > Yeah, I did that. You can see it in the patch above, being removed. The
> > conformance still thinks it's wrong.
>
> Ah, indeed, missed that.
>
> Still not sure why the yocto-check-layer fails for this case...
FTR, in our discussions during early days of YP Compat and yocto-check-layer
several years ago, this was one of the correct methods to deal with multiple
versions - see the comments here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12688
Do you have the exact error message that the tool now prints?
> > > 2. Use a different name e.g. mesa-demos-arago and set PROVIDES="mesa-demos" -
> > > allows selecting it with PREFERRED_PROVIDER_mesa-demos="mesa-demos-arago"
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
2026-03-24 18:14 ` Denys Dmytriyenko
@ 2026-03-24 18:20 ` Ryan Eatmon
2026-03-24 18:27 ` Denys Dmytriyenko
[not found] ` <189FD9F3C6CA2766.55659@lists.yoctoproject.org>
1 sibling, 1 reply; 14+ messages in thread
From: Ryan Eatmon @ 2026-03-24 18:20 UTC (permalink / raw)
To: Denys Dmytriyenko, Randolph Sapp
Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On 3/24/2026 1:14 PM, Denys Dmytriyenko wrote:
> On Mon, Mar 23, 2026 at 08:51:31PM -0400, Denys Dmytriyenko wrote:
>> On Mon, Mar 23, 2026 at 12:16:30PM -0500, Randolph Sapp wrote:
>>> On Sun Mar 22, 2026 at 2:26 PM CDT, Denys Dmytriyenko wrote:
>>>> On Fri, Mar 20, 2026 at 05:22:30PM -0500, Randolph Sapp via lists.yoctoproject.org wrote:
>>>>> On Fri Mar 20, 2026 at 5:14 PM CDT, Ryan Eatmon via lists.yoctoproject.org wrote:
>>>>>> Clean up a check layer error related to how this recipe was setup.
>>>>>>
>>>>>> Change the recipe to a bbappend instead of a new git version. Apply all
>>>>>> of the changes that were made in the new recipe to the bbappend, and
>>>>>> remove the PREFERRED_VERSION in arago-prefs.inc.
>>>>>>
>>>>>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>>>>>> ---
>>>>>> .../conf/distro/include/arago-prefs.inc | 3 --
>>>>>> .../mesa/mesa-demos-arago.inc | 17 ++++++++
>>>>>> .../mesa/mesa-demos_9.0.0.bbappend | 4 ++
>>>>>> .../recipes-graphics/mesa/mesa-demos_git.bb | 42 -------------------
>>>>>> 4 files changed, 21 insertions(+), 45 deletions(-)
>>>>>> create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>>>>>> create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
>>>>>> delete mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>>>>>>
>>>>>> diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
>>>>>> index 4d1a6006..6a2faa53 100644
>>>>>> --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
>>>>>> +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
>>>>>> @@ -10,6 +10,3 @@ VIRTUAL-RUNTIME_dbus = "dbus-broker"
>>>>>> # application that does not have a GPLv3 license
>>>>>> PREFERRED_VERSION_crda = "3.18"
>>>>>> PREFERRED_VERSION_obex = "0.34"
>>>>>> -
>>>>>> -# Bump mesa-demos to include some patches not in a tagged release
>>>>>> -PREFERRED_VERSION_mesa-demos = "9.0.0+git"
>>>>>> diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>>>>>> new file mode 100644
>>>>>> index 00000000..5a5412c2
>>>>>> --- /dev/null
>>>>>> +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>>>>>> @@ -0,0 +1,17 @@
>>>>>> +SECTION = ""
>>>>>> +
>>>>>> +LIC_FILES_CHKSUM:remove = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
>>>>>> +
>>>>>> +LIC_FILES_CHKSUM:append = " file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
>>>>>> +
>>>>>> +SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
>>>>>> +SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
>>>>>> +
>>>>>> +PV = "9.0.0+git"
>>>>>> +
>>>>>> +REQUIRED_DISTRO_FEATURES:remove = "x11"
>>>>>> +
>>>>>> +PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
>>>>>> +
>>>>>> +PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
>>>>>> +PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
>>>>>> diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
>>>>>> new file mode 100644
>>>>>> index 00000000..3b26e342
>>>>>> --- /dev/null
>>>>>> +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
>>>>>> @@ -0,0 +1,4 @@
>>>>>> +MESA_DEMOS_ARAGO = ""
>>>>>> +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc"
>>>>>> +
>>>>>> +require ${MESA_DEMOS_ARAGO}
>>>>>> diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>>>>>> deleted file mode 100644
>>>>>> index 2da3ceff..00000000
>>>>>> --- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>>>>>> +++ /dev/null
>>>>>> @@ -1,42 +0,0 @@
>>>>>> -SUMMARY = "Mesa demo applications"
>>>>>> -DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
>>>>>> -These applications can be used for Mesa validation and benchmarking."
>>>>>> -HOMEPAGE = "http://mesa3d.org"
>>>>>> -BUGTRACKER = "https://bugs.freedesktop.org"
>>>>>> -
>>>>>> -LICENSE = "MIT & PD"
>>>>>> -LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae \
>>>>>> - file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
>>>>>> -
>>>>>> -SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
>>>>>> -SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
>>>>>> -
>>>>>> -DEFAULT_PREFERENCE = "-1"
>>>>>> -PV = "9.0.0+git"
>>>>>> -
>>>>>> -inherit meson pkgconfig features_check
>>>>>> -REQUIRED_DISTRO_FEATURES = "opengl"
>>>>>> -
>>>>>> -EXTRA_OEMESON = "-Dwith-system-data-files=true"
>>>>>> -
>>>>>> -PACKAGECONFIG ?= "drm egl gles1 gles2 \
>>>>>> - ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan x11 wayland', d)}"
>>>>>> -
>>>>>> -PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
>>>>>> -PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
>>>>>> -PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
>>>>>> -PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
>>>>>> -PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
>>>>>> -PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
>>>>>> -PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
>>>>>> -PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
>>>>>> -PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
>>>>>> -
>>>>>> -do_install:append() {
>>>>>> - # it can be completely empty when all PACKAGECONFIG options are disabled
>>>>>> - rmdir --ignore-fail-on-non-empty ${D}${bindir}
>>>>>> -
>>>>>> - if [ -f ${D}${bindir}/clear ]; then
>>>>>> - mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
>>>>>> - fi
>>>>>> -}
>>>>>
>>>>> I still hate that layer conformance thinks this is the correct way to do what is
>>>>> essentially adding a new *optional* package version. Feels really backwards and
>>>>> gross, but I'm already picking other fights right now.
>>>>
>>>> In order for a new version of a recipe to be *optional*, it should not be
>>>> selected by bitbake by default.
>>>>
>>>> There are 2 ways to do this (besides making a bbappend):
>>>>
>>>> 1. Use the same name, but lower the default preference DEFAULT_PREFERENCE="-1"
>>>> and still able to select it with PREFERRED_VERSION_mesa-demos="9.0.0+git"
>>>
>>> Yeah, I did that. You can see it in the patch above, being removed. The
>>> conformance still thinks it's wrong.
>>
>> Ah, indeed, missed that.
>>
>> Still not sure why the yocto-check-layer fails for this case...
>
> FTR, in our discussions during early days of YP Compat and yocto-check-layer
> several years ago, this was one of the correct methods to deal with multiple
> versions - see the comments here:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=12688
>
> Do you have the exact error message that the tool now prints?
Of course not. I was just fixing the issue not documenting things.
I'll have to revert the patch to get the message. I'll try and do that
sometime this week... if I can remember to...
>
>>>> 2. Use a different name e.g. mesa-demos-arago and set PROVIDES="mesa-demos" -
>>>> allows selecting it with PREFERRED_PROVIDER_mesa-demos="mesa-demos-arago"
--
Ryan Eatmon reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
2026-03-24 18:20 ` Ryan Eatmon
@ 2026-03-24 18:27 ` Denys Dmytriyenko
0 siblings, 0 replies; 14+ messages in thread
From: Denys Dmytriyenko @ 2026-03-24 18:27 UTC (permalink / raw)
To: reatmon; +Cc: Randolph Sapp, Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On Tue, Mar 24, 2026 at 01:20:06PM -0500, Ryan Eatmon via lists.yoctoproject.org wrote:
>
>
> On 3/24/2026 1:14 PM, Denys Dmytriyenko wrote:
> >On Mon, Mar 23, 2026 at 08:51:31PM -0400, Denys Dmytriyenko wrote:
> >>On Mon, Mar 23, 2026 at 12:16:30PM -0500, Randolph Sapp wrote:
> >>>On Sun Mar 22, 2026 at 2:26 PM CDT, Denys Dmytriyenko wrote:
> >>>>On Fri, Mar 20, 2026 at 05:22:30PM -0500, Randolph Sapp via lists.yoctoproject.org wrote:
> >>>>>On Fri Mar 20, 2026 at 5:14 PM CDT, Ryan Eatmon via lists.yoctoproject.org wrote:
> >>>>>>Clean up a check layer error related to how this recipe was setup.
> >>>>>>
> >>>>>>Change the recipe to a bbappend instead of a new git version. Apply all
> >>>>>>of the changes that were made in the new recipe to the bbappend, and
> >>>>>>remove the PREFERRED_VERSION in arago-prefs.inc.
> >>>>>>
> >>>>>>Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> >>>>>>---
> >>>>>> .../conf/distro/include/arago-prefs.inc | 3 --
> >>>>>> .../mesa/mesa-demos-arago.inc | 17 ++++++++
> >>>>>> .../mesa/mesa-demos_9.0.0.bbappend | 4 ++
> >>>>>> .../recipes-graphics/mesa/mesa-demos_git.bb | 42 -------------------
> >>>>>> 4 files changed, 21 insertions(+), 45 deletions(-)
> >>>>>> create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> >>>>>> create mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> >>>>>> delete mode 100644 meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> >>>>>>
> >>>>>>diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> >>>>>>index 4d1a6006..6a2faa53 100644
> >>>>>>--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> >>>>>>+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> >>>>>>@@ -10,6 +10,3 @@ VIRTUAL-RUNTIME_dbus = "dbus-broker"
> >>>>>> # application that does not have a GPLv3 license
> >>>>>> PREFERRED_VERSION_crda = "3.18"
> >>>>>> PREFERRED_VERSION_obex = "0.34"
> >>>>>>-
> >>>>>>-# Bump mesa-demos to include some patches not in a tagged release
> >>>>>>-PREFERRED_VERSION_mesa-demos = "9.0.0+git"
> >>>>>>diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> >>>>>>new file mode 100644
> >>>>>>index 00000000..5a5412c2
> >>>>>>--- /dev/null
> >>>>>>+++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
> >>>>>>@@ -0,0 +1,17 @@
> >>>>>>+SECTION = ""
> >>>>>>+
> >>>>>>+LIC_FILES_CHKSUM:remove = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
> >>>>>>+
> >>>>>>+LIC_FILES_CHKSUM:append = " file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
> >>>>>>+
> >>>>>>+SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> >>>>>>+SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> >>>>>>+
> >>>>>>+PV = "9.0.0+git"
> >>>>>>+
> >>>>>>+REQUIRED_DISTRO_FEATURES:remove = "x11"
> >>>>>>+
> >>>>>>+PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
> >>>>>>+
> >>>>>>+PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> >>>>>>+PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> >>>>>>diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> >>>>>>new file mode 100644
> >>>>>>index 00000000..3b26e342
> >>>>>>--- /dev/null
> >>>>>>+++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
> >>>>>>@@ -0,0 +1,4 @@
> >>>>>>+MESA_DEMOS_ARAGO = ""
> >>>>>>+MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc"
> >>>>>>+
> >>>>>>+require ${MESA_DEMOS_ARAGO}
> >>>>>>diff --git a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> >>>>>>deleted file mode 100644
> >>>>>>index 2da3ceff..00000000
> >>>>>>--- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
> >>>>>>+++ /dev/null
> >>>>>>@@ -1,42 +0,0 @@
> >>>>>>-SUMMARY = "Mesa demo applications"
> >>>>>>-DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
> >>>>>>-These applications can be used for Mesa validation and benchmarking."
> >>>>>>-HOMEPAGE = "http://mesa3d.org"
> >>>>>>-BUGTRACKER = "https://bugs.freedesktop.org"
> >>>>>>-
> >>>>>>-LICENSE = "MIT & PD"
> >>>>>>-LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae \
> >>>>>>- file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
> >>>>>>-
> >>>>>>-SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
> >>>>>>-SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
> >>>>>>-
> >>>>>>-DEFAULT_PREFERENCE = "-1"
> >>>>>>-PV = "9.0.0+git"
> >>>>>>-
> >>>>>>-inherit meson pkgconfig features_check
> >>>>>>-REQUIRED_DISTRO_FEATURES = "opengl"
> >>>>>>-
> >>>>>>-EXTRA_OEMESON = "-Dwith-system-data-files=true"
> >>>>>>-
> >>>>>>-PACKAGECONFIG ?= "drm egl gles1 gles2 \
> >>>>>>- ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan x11 wayland', d)}"
> >>>>>>-
> >>>>>>-PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
> >>>>>>-PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
> >>>>>>-PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
> >>>>>>-PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
> >>>>>>-PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
> >>>>>>-PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
> >>>>>>-PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
> >>>>>>-PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
> >>>>>>-PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
> >>>>>>-
> >>>>>>-do_install:append() {
> >>>>>>- # it can be completely empty when all PACKAGECONFIG options are disabled
> >>>>>>- rmdir --ignore-fail-on-non-empty ${D}${bindir}
> >>>>>>-
> >>>>>>- if [ -f ${D}${bindir}/clear ]; then
> >>>>>>- mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
> >>>>>>- fi
> >>>>>>-}
> >>>>>
> >>>>>I still hate that layer conformance thinks this is the correct way to do what is
> >>>>>essentially adding a new *optional* package version. Feels really backwards and
> >>>>>gross, but I'm already picking other fights right now.
> >>>>
> >>>>In order for a new version of a recipe to be *optional*, it should not be
> >>>>selected by bitbake by default.
> >>>>
> >>>>There are 2 ways to do this (besides making a bbappend):
> >>>>
> >>>>1. Use the same name, but lower the default preference DEFAULT_PREFERENCE="-1"
> >>>>and still able to select it with PREFERRED_VERSION_mesa-demos="9.0.0+git"
> >>>
> >>>Yeah, I did that. You can see it in the patch above, being removed. The
> >>>conformance still thinks it's wrong.
> >>
> >>Ah, indeed, missed that.
> >>
> >>Still not sure why the yocto-check-layer fails for this case...
> >
> >FTR, in our discussions during early days of YP Compat and yocto-check-layer
> >several years ago, this was one of the correct methods to deal with multiple
> >versions - see the comments here:
> >https://bugzilla.yoctoproject.org/show_bug.cgi?id=12688
> >
> >Do you have the exact error message that the tool now prints?
>
> Of course not. I was just fixing the issue not documenting things.
> I'll have to revert the patch to get the message. I'll try and do
> that sometime this week... if I can remember to...
No worries, I'll try to reproduce it locally...
> >>>>2. Use a different name e.g. mesa-demos-arago and set PROVIDES="mesa-demos" -
> >>>>allows selecting it with PREFERRED_PROVIDER_mesa-demos="mesa-demos-arago"
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
[not found] ` <189FD9F3C6CA2766.55659@lists.yoctoproject.org>
@ 2026-03-25 15:32 ` Ryan Eatmon
0 siblings, 0 replies; 14+ messages in thread
From: Ryan Eatmon @ 2026-03-25 15:32 UTC (permalink / raw)
To: Denys Dmytriyenko, Randolph Sapp
Cc: Praneeth Bajjuri, Denys Dmytriyenko, meta-arago
On 3/24/2026 1:20 PM, Ryan Eatmon via lists.yoctoproject.org wrote:
>
>
> On 3/24/2026 1:14 PM, Denys Dmytriyenko wrote:
>> On Mon, Mar 23, 2026 at 08:51:31PM -0400, Denys Dmytriyenko wrote:
>>> On Mon, Mar 23, 2026 at 12:16:30PM -0500, Randolph Sapp wrote:
>>>> On Sun Mar 22, 2026 at 2:26 PM CDT, Denys Dmytriyenko wrote:
>>>>> On Fri, Mar 20, 2026 at 05:22:30PM -0500, Randolph Sapp via
>>>>> lists.yoctoproject.org wrote:
>>>>>> On Fri Mar 20, 2026 at 5:14 PM CDT, Ryan Eatmon via
>>>>>> lists.yoctoproject.org wrote:
>>>>>>> Clean up a check layer error related to how this recipe was setup.
>>>>>>>
>>>>>>> Change the recipe to a bbappend instead of a new git version.
>>>>>>> Apply all
>>>>>>> of the changes that were made in the new recipe to the bbappend, and
>>>>>>> remove the PREFERRED_VERSION in arago-prefs.inc.
>>>>>>>
>>>>>>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>>>>>>> ---
>>>>>>> .../conf/distro/include/arago-prefs.inc | 3 --
>>>>>>> .../mesa/mesa-demos-arago.inc | 17 ++++++++
>>>>>>> .../mesa/mesa-demos_9.0.0.bbappend | 4 ++
>>>>>>> .../recipes-graphics/mesa/mesa-demos_git.bb | 42
>>>>>>> -------------------
>>>>>>> 4 files changed, 21 insertions(+), 45 deletions(-)
>>>>>>> create mode 100644
>>>>>>> meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>>>>>>> create mode 100644
>>>>>>> meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
>>>>>>> delete mode 100644
>>>>>>> meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>>>>>>>
>>>>>>> diff --git
>>>>>>> a/meta-arago-distro/conf/distro/include/arago-prefs.inc
>>>>>>> b/meta-arago-distro/conf/distro/include/arago-prefs.inc
>>>>>>> index 4d1a6006..6a2faa53 100644
>>>>>>> --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
>>>>>>> +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
>>>>>>> @@ -10,6 +10,3 @@ VIRTUAL-RUNTIME_dbus = "dbus-broker"
>>>>>>> # application that does not have a GPLv3 license
>>>>>>> PREFERRED_VERSION_crda = "3.18"
>>>>>>> PREFERRED_VERSION_obex = "0.34"
>>>>>>> -
>>>>>>> -# Bump mesa-demos to include some patches not in a tagged release
>>>>>>> -PREFERRED_VERSION_mesa-demos = "9.0.0+git"
>>>>>>> diff --git
>>>>>>> a/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>>>>>>> b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>>>>>>> new file mode 100644
>>>>>>> index 00000000..5a5412c2
>>>>>>> --- /dev/null
>>>>>>> +++ b/meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc
>>>>>>> @@ -0,0 +1,17 @@
>>>>>>> +SECTION = ""
>>>>>>> +
>>>>>>> +LIC_FILES_CHKSUM:remove =
>>>>>>> "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
>>>>>>> +
>>>>>>> +LIC_FILES_CHKSUM:append = "
>>>>>>> file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
>>>>>>> +
>>>>>>> +SRC_URI =
>>>>>>> "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
>>>>>>> +SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
>>>>>>> +
>>>>>>> +PV = "9.0.0+git"
>>>>>>> +
>>>>>>> +REQUIRED_DISTRO_FEATURES:remove = "x11"
>>>>>>> +
>>>>>>> +PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES',
>>>>>>> 'wayland', d)}"
>>>>>>> +
>>>>>>> +PACKAGECONFIG[glut] =
>>>>>>> "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
>>>>>>> +PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
>>>>>>> diff --git
>>>>>>> a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
>>>>>>> new file mode 100644
>>>>>>> index 00000000..3b26e342
>>>>>>> --- /dev/null
>>>>>>> +++
>>>>>>> b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
>>>>>>> @@ -0,0 +1,4 @@
>>>>>>> +MESA_DEMOS_ARAGO = ""
>>>>>>> +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc"
>>>>>>> +
>>>>>>> +require ${MESA_DEMOS_ARAGO}
>>>>>>> diff --git
>>>>>>> a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>>>>>>> b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>>>>>>> deleted file mode 100644
>>>>>>> index 2da3ceff..00000000
>>>>>>> --- a/meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb
>>>>>>> +++ /dev/null
>>>>>>> @@ -1,42 +0,0 @@
>>>>>>> -SUMMARY = "Mesa demo applications"
>>>>>>> -DESCRIPTION = "This package includes the demonstration
>>>>>>> application, such as glxgears. \
>>>>>>> -These applications can be used for Mesa validation and
>>>>>>> benchmarking."
>>>>>>> -HOMEPAGE = "http://mesa3d.org"
>>>>>>> -BUGTRACKER = "https://bugs.freedesktop.org"
>>>>>>> -
>>>>>>> -LICENSE = "MIT & PD"
>>>>>>> -LIC_FILES_CHKSUM =
>>>>>>> "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae \
>>>>>>> -
>>>>>>> file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
>>>>>>> -
>>>>>>> -SRC_URI =
>>>>>>> "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
>>>>>>> -SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee"
>>>>>>> -
>>>>>>> -DEFAULT_PREFERENCE = "-1"
>>>>>>> -PV = "9.0.0+git"
>>>>>>> -
>>>>>>> -inherit meson pkgconfig features_check
>>>>>>> -REQUIRED_DISTRO_FEATURES = "opengl"
>>>>>>> -
>>>>>>> -EXTRA_OEMESON = "-Dwith-system-data-files=true"
>>>>>>> -
>>>>>>> -PACKAGECONFIG ?= "drm egl gles1 gles2 \
>>>>>>> - ${@bb.utils.filter('DISTRO_FEATURES', 'vulkan
>>>>>>> x11 wayland', d)}"
>>>>>>> -
>>>>>>> -PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
>>>>>>> -PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
>>>>>>> -PACKAGECONFIG[gles1] =
>>>>>>> "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
>>>>>>> -PACKAGECONFIG[gles2] =
>>>>>>> "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
>>>>>>> -PACKAGECONFIG[glut] =
>>>>>>> "-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
>>>>>>> -PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
>>>>>>> -PACKAGECONFIG[vulkan] =
>>>>>>> "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
>>>>>>> -PACKAGECONFIG[wayland] =
>>>>>>> "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland
>>>>>>> wayland-native wayland-protocols libxkbcommon libdecor"
>>>>>>> -PACKAGECONFIG[x11] =
>>>>>>> "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon
>>>>>>> libxcb"
>>>>>>> -
>>>>>>> -do_install:append() {
>>>>>>> - # it can be completely empty when all PACKAGECONFIG options
>>>>>>> are disabled
>>>>>>> - rmdir --ignore-fail-on-non-empty ${D}${bindir}
>>>>>>> -
>>>>>>> - if [ -f ${D}${bindir}/clear ]; then
>>>>>>> - mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
>>>>>>> - fi
>>>>>>> -}
>>>>>>
>>>>>> I still hate that layer conformance thinks this is the correct way
>>>>>> to do what is
>>>>>> essentially adding a new *optional* package version. Feels really
>>>>>> backwards and
>>>>>> gross, but I'm already picking other fights right now.
>>>>>
>>>>> In order for a new version of a recipe to be *optional*, it should
>>>>> not be
>>>>> selected by bitbake by default.
>>>>>
>>>>> There are 2 ways to do this (besides making a bbappend):
>>>>>
>>>>> 1. Use the same name, but lower the default preference
>>>>> DEFAULT_PREFERENCE="-1"
>>>>> and still able to select it with
>>>>> PREFERRED_VERSION_mesa-demos="9.0.0+git"
>>>>
>>>> Yeah, I did that. You can see it in the patch above, being removed. The
>>>> conformance still thinks it's wrong.
>>>
>>> Ah, indeed, missed that.
>>>
>>> Still not sure why the yocto-check-layer fails for this case...
>>
>> FTR, in our discussions during early days of YP Compat and
>> yocto-check-layer
>> several years ago, this was one of the correct methods to deal with
>> multiple
>> versions - see the comments here:
>> https://bugzilla.yoctoproject.org/show_bug.cgi?id=12688
>>
>> Do you have the exact error message that the tool now prints?
>
> Of course not. I was just fixing the issue not documenting things. I'll
> have to revert the patch to get the message. I'll try and do that
> sometime this week... if I can remember to...
INFO: ======================================================================
INFO: FAIL: test_signatures (common.CommonCheckLayer.test_signatures)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
File
"/scratch/builds/check-layer/check-layer-meta-arago-master-wip/ypcompat/build/sources/oe-core/scripts/lib/checklayer/cases/common.py",
line 141, in test_signatures
self.fail('Adding layer %s changed signatures.\n%s' %
(self.tc.layer['name'], msg))
AssertionError: Adding layer meta-arago-distro changed signatures.
29 signatures changed, initial differences (first hash before, second
after):
mesa-demos:do_create_recipe_spdx:
fdfa5e3d9511bd54a5acc78263febea675fa0c8a2008acf3cfa30ec4e2f8a5a1 ->
8edf52b9c5a6900ec8145520c5669c21acaf8d19a8a0fa1cfa8053d37bee568c
bitbake-diffsigs --task mesa-demos do_create_recipe_spdx
--signature
fdfa5e3d9511bd54a5acc78263febea675fa0c8a2008acf3cfa30ec4e2f8a5a1
8edf52b9c5a6900ec8145520c5669c21acaf8d19a8a0fa1cfa8053d37bee568c
NOTE: Reconnecting to bitbake server...
basehash changed from
0ffaa6b8739b033ea2ced33806a84321f22cd2b545941a995e45c20e25d3ac83 to
7f97e74de56a366492f9e28738528bb75cb27a658d2f3e0a55d843ea35bf8bfb
Variable FILE_LAYERNAME value changed from 'core' to
'meta-arago-distro'
Variable PV value changed from '9.0.0' to '9.0.0+git'
runtaskdeps changed:
['gcc-cross-x86_64:do_create_recipe_spdx
gcc-runtime:do_create_recipe_spdx glibc:do_create_recipe_spdx
glslang-native:do_create_recipe_spdx', +libdecor:do_create_recipe_spdx,
'libdrm:do_create_recipe_spdx libglu:do_create_recipe_spdx
libx11:do_create_recipe_spdx libxcb:do_create_recipe_spdx
libxkbcommon:do_create_recipe_spdx mesa:do_create_recipe_spdx
meson-native:do_create_recipe_spdx ninja-native:do_create_recipe_spdx
pkgconf-native:do_create_recipe_spdx
python3-native:do_create_recipe_spdx qemu-native:do_create_recipe_spdx
vulkan-loader:do_create_recipe_spdx',
+wayland-native:do_create_recipe_spdx
wayland-protocols:do_create_recipe_spdx wayland:do_create_recipe_spdx]
Number of task dependencies changed
Dependency on task libdecor:do_create_recipe_spdx was added with
hash d0ae5f314e39c6759b1251b19ee60fed31cb596ed74db4c2af1bf9c81120ca71
Dependency on task wayland-native:do_create_recipe_spdx was added
with hash 2fcdc48b49b216a7ca88d77c47fdfc2fced6fd430cbd56bf3c3f40c653b3bf5d
Dependency on task wayland-protocols:do_create_recipe_spdx was
added with hash
9a61f0be609311e41c15076efa091042796ff578c07eb574639515b57ad99c43
Dependency on task wayland:do_create_recipe_spdx was added with
hash f93d7441a54a3996ec8f51403ffbdfafdacae6748ab40267eaa86a84d2602137
mesa-demos:do_recipe_qa:
fdb65811eccad14710d68baedd228db109d29a414864839cb980b24a31f23cef ->
3e2485f2d58b88827b96212eb4ae8f3c71cab6a96180855597ac5107ce9ab30b
bitbake-diffsigs --task mesa-demos do_recipe_qa --signature
fdb65811eccad14710d68baedd228db109d29a414864839cb980b24a31f23cef
3e2485f2d58b88827b96212eb4ae8f3c71cab6a96180855597ac5107ce9ab30b
NOTE: Reconnecting to bitbake server...
Task dependencies changed from:
['BPN', 'HOMEPAGE', 'INSANE_SKIP', 'MLPREFIX', 'OE_SHARED_UMASK',
'PN', 'PR', 'PV', 'QA_ERRORS_FOUND', 'RECIPE_MAINTAINER',
'SPECIAL_PKGSUFFIX', 'SRC_URI', 'SRC_URI[sha256sum]',
'SSTATECREATEFUNCS', 'SSTATEPOSTCREATEFUNCS', 'SSTATEPOSTUNPACKFUNCS',
'SSTATE_BUILDDIR', 'SSTATE_INSTDIR', 'SSTATE_MANIFESTS',
'SSTATE_SCAN_FILES', 'SSTATE_SKIP_CREATION', 'SUMMARY',
'do_recipe_qa[network]', 'do_recipe_qa[sstate-inputdirs]',
'oe.path.copyhardlinktree', 'oe.path.copytree', 'oe.path.remove',
'oe.qa.exit_if_errors', 'oe.qa.exit_with_message_if_errors',
'oe.sstatesig.sstate_get_manifest_filename', 'oe.utils.prune_suffix',
'sstate_add', 'sstate_clean', 'sstate_clean_manifest', 'sstate_init',
'sstate_install', 'sstate_installpkgdir', 'sstate_package',
'sstate_state_fromvars', 'sstate_task_postfunc', 'sstate_task_prefunc']
to:
['HOMEPAGE', 'INSANE_SKIP', 'OE_SHARED_UMASK', 'PN', 'PR', 'PV',
'QA_ERRORS_FOUND', 'RECIPE_MAINTAINER', 'SRC_URI', 'SSTATECREATEFUNCS',
'SSTATEPOSTCREATEFUNCS', 'SSTATEPOSTUNPACKFUNCS', 'SSTATE_BUILDDIR',
'SSTATE_INSTDIR', 'SSTATE_MANIFESTS', 'SSTATE_SCAN_FILES',
'SSTATE_SKIP_CREATION', 'SUMMARY', 'do_recipe_qa[network]',
'do_recipe_qa[sstate-inputdirs]', 'oe.path.copyhardlinktree',
'oe.path.copytree', 'oe.path.remove', 'oe.qa.exit_if_errors',
'oe.qa.exit_with_message_if_errors',
'oe.sstatesig.sstate_get_manifest_filename', 'sstate_add',
'sstate_clean', 'sstate_clean_manifest', 'sstate_init',
'sstate_install', 'sstate_installpkgdir', 'sstate_package',
'sstate_state_fromvars', 'sstate_task_postfunc', 'sstate_task_prefunc']
basehash changed from
f3c45b3c71fdb2e78bea3799d710ff4dc34bc08debc780666a13aae14dc3929b to
62f19e76a9f74c8a8a8467e3cb7f322f7c3accd60a3d56bfa412a438aa00b5bb
List of dependencies for variable SRC_URI changed from
'frozenset({'BPN', 'PV', 'SRC_URI[sha256sum]'})' to 'frozenset()'
Dependency on Variable BPN was removed
Dependency on Variable MLPREFIX was removed
Dependency on Variable SPECIAL_PKGSUFFIX was removed
Dependency on Variable SRC_URI[sha256sum] was removed
Dependency on Variable oe.utils.prune_suffix was removed
Variable PV value changed from '9.0.0' to '9.0.0+git'
Variable SRC_URI value changed:
"[-https://archive.mesa3d.org/demos/${BPN}-${PV}.tar.xz
file://0001-meson-fix-glx-detection-without-glvnd.patch -]
{+git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main+}"
mesa-demos:do_write_config:
74d083f3c31a70739bd6dc4c614b966960da100230c569a6ed4b20a9ce6d9d48 ->
9b254ca132ba955b0a0fa5bc1a05608cbd6f91fe7f39e8f359773e443f4ad001
bitbake-diffsigs --task mesa-demos do_write_config --signature
74d083f3c31a70739bd6dc4c614b966960da100230c569a6ed4b20a9ce6d9d48
9b254ca132ba955b0a0fa5bc1a05608cbd6f91fe7f39e8f359773e443f4ad001
NOTE: Reconnecting to bitbake server...
basehash changed from
d06bb5d1e0378df4aef1951edc4d39162f54204b9b371a2849b1bd8814260f70 to
82023e545f66d6c0bd6d4af9c64f8234be828d1121aaf8183285cd8098584fa3
Variable PV value changed from '9.0.0' to '9.0.0+git'
That's the errors. Basically, the tool does not like having two recipes
for the same package.
>
>>
>>>>> 2. Use a different name e.g. mesa-demos-arago and set
>>>>> PROVIDES="mesa-demos" -
>>>>> allows selecting it with
>>>>> PREFERRED_PROVIDER_mesa-demos="mesa-demos-arago"
>
--
Ryan Eatmon reatmon@ti.com
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2026-03-25 15:32 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-20 22:14 [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard Ryan Eatmon
2026-03-20 22:14 ` [meta-arago][master][PATCH 2/4] packagegroup-arago-graphics: Clean up check layer error Ryan Eatmon
2026-03-20 22:14 ` [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend Ryan Eatmon
2026-03-20 22:22 ` Randolph Sapp
2026-03-22 19:26 ` Denys Dmytriyenko
2026-03-23 17:16 ` Randolph Sapp
2026-03-24 0:51 ` Denys Dmytriyenko
[not found] ` <189FA0BA138E397B.1003@lists.yoctoproject.org>
2026-03-24 18:14 ` Denys Dmytriyenko
2026-03-24 18:20 ` Ryan Eatmon
2026-03-24 18:27 ` Denys Dmytriyenko
[not found] ` <189FD9F3C6CA2766.55659@lists.yoctoproject.org>
2026-03-25 15:32 ` Ryan Eatmon
2026-03-20 22:14 ` [meta-arago][master][PATCH 4/4] packagegroup-arago-graphics: Add mesa-demos Ryan Eatmon
2026-03-20 22:19 ` Randolph Sapp
2026-03-20 22:32 ` [meta-arago][master][PATCH 1/4] ti-test: Move libsdl2-tests inclusion behind guard PRC Automation
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.