ti-test: Move libsdl2-tests inclusion behind guard
PATCH 1/4 ti-test: Move libsdl2-tests inclusion behind guard
Cleanup for check layers error. The libsdl2-tests package is gated behind a ti-soc guard, but the inclusion in ti-test is not.
--- meta-arago-test/recipes-core/packagegroups/ti-test.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arago-test/recipes-core/packagegroups/ti-test.bb +4 -1
@@ -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 \
Signature · 1 line
2.43.0
PATCH 2/4 packagegroup-arago-graphics: Clean up check layer error
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.
--- .../packagegroups/packagegroup-arago-graphics-sdk-target.bb | 2 +- .../recipes-core/packagegroups/packagegroup-arago-graphics.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb +1 -1
@@ -15,7 +15,7 @@ OPENGL_DEV = "\ WAYLAND_DEV = "\ wayland-dev \ - weston-dev \ + ${@bb.utils.contains('DISTRO_FEATURES', 'pam', "weston-dev", '', d)} \ " RDEPENDS:${PN} = "\
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb +2 -2
@@ -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 = "\
Signature · 1 line
2.43.0
PATCH 3/4 mesa-demos: Flip to a bbappend
In reply to Ryan EatmonClean 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.
--- .../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
meta-arago-distro/conf/distro/include/arago-prefs.inc +0 -3
@@ -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"
meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +17 -0
@@ -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,"
meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend new file +4 -0
@@ -0,0 +1,4 @@ +MESA_DEMOS_ARAGO = "" +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc" + +require ${MESA_DEMOS_ARAGO}
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0 -42
42 lines not on this page · raw message
Signature · 1 line
2.43.0
Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
Quoted 99 lines · Ryan Eatmon via lists.yoctoproject.org
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_VERSIONin arago-prefs.inc.Signed-off-by Ryan Eatmon <[email protected]>--- .../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.bbmeta-arago-distro/conf/distro/include/arago-prefs.inc +0
-3@@ -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"meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +17
-0@@ -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,"meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend new file +4
-0@@ -0,0 +1,4 @@ +MESA_DEMOS_ARAGO = "" +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc" + +require ${MESA_DEMOS_ARAGO}meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-32@@ -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"
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb line 42
Quoted 10 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-10-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.
Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
Quoted 106 lines · Randolph Sapp via lists.yoctoproject.org
Quoted 105 lines · Ryan Eatmon via lists.yoctoproject.org
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_VERSIONin arago-prefs.inc.Signed-off-by Ryan Eatmon <[email protected]>--- .../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.bbmeta-arago-distro/conf/distro/include/arago-prefs.inc +0
-3@@ -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"meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +17
-0@@ -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,"meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend new file +4
-0@@ -0,0 +1,4 @@ +MESA_DEMOS_ARAGO = "" +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc" + +require ${MESA_DEMOS_ARAGO}meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-38@@ -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} -
Quoted 8 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb line 42
Quoted 4 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-4- 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"
Signature · 1 line
Denys
Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
Quoted 116 lines · Denys Dmytriyenko
Quoted 106 lines · Randolph Sapp via lists.yoctoproject.org
Quoted 105 lines · Ryan Eatmon via lists.yoctoproject.org
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_VERSIONin arago-prefs.inc.Signed-off-by Ryan Eatmon <[email protected]>--- .../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.bbmeta-arago-distro/conf/distro/include/arago-prefs.inc +0
-3@@ -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"meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +17
-0@@ -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,"meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend new file +4
-0@@ -0,0 +1,4 @@ +MESA_DEMOS_ARAGO = "" +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc" + +require ${MESA_DEMOS_ARAGO}meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-38@@ -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} -Quoted 8 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb line 42
Quoted 4 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-4- 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.
Quoted 7 lines
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.
Quoted 2 lines
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"
Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
Quoted 120 lines · Randolph Sapp
Quoted 119 lines · Denys Dmytriyenko
Quoted 106 lines · Randolph Sapp via lists.yoctoproject.org
Quoted 105 lines · Ryan Eatmon via lists.yoctoproject.org
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_VERSIONin arago-prefs.inc.Signed-off-by Ryan Eatmon <[email protected]>--- .../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.bbmeta-arago-distro/conf/distro/include/arago-prefs.inc +0
-3@@ -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"meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +17
-0@@ -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,"meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend new file +4
-0@@ -0,0 +1,4 @@ +MESA_DEMOS_ARAGO = "" +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc" + +require ${MESA_DEMOS_ARAGO}meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-38@@ -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} -Quoted 8 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb line 42
Quoted 4 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-4- 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.
Quoted 7 lines
Quoted 4 lines
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...
Quoted 2 lines
Quoted 2 lines
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"
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
Quoted 126 lines · Denys Dmytriyenko
Quoted 125 lines · Randolph Sapp
Quoted 123 lines · Denys Dmytriyenko
Quoted 106 lines · Randolph Sapp via lists.yoctoproject.org
Quoted 105 lines · Ryan Eatmon via lists.yoctoproject.org
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_VERSIONin arago-prefs.inc.Signed-off-by Ryan Eatmon <[email protected]>--- .../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.bbmeta-arago-distro/conf/distro/include/arago-prefs.inc +0
-3@@ -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"meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +17
-0@@ -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,"meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend new file +4
-0@@ -0,0 +1,4 @@ +MESA_DEMOS_ARAGO = "" +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc" + +require ${MESA_DEMOS_ARAGO}meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-38@@ -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} -Quoted 8 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb line 42
Quoted 4 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-4- 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"
Quoted 6 lines
Quoted 2 lines
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?
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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"
Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
Quoted 132 lines · Denys Dmytriyenko
Quoted 131 lines · Denys Dmytriyenko
Quoted 120 lines · Randolph Sapp
Quoted 119 lines · Denys Dmytriyenko
Quoted 106 lines · Randolph Sapp via lists.yoctoproject.org
Quoted 105 lines · Ryan Eatmon via lists.yoctoproject.org
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_VERSIONin arago-prefs.inc.Signed-off-by Ryan Eatmon <[email protected]>--- .../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
meta-arago-distro/conf/distro/include/arago-prefs.inc +0
-3@@ -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"meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +17
-0@@ -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,"meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend new file +4
-0@@ -0,0 +1,4 @@ +MESA_DEMOS_ARAGO = "" +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc" + +require ${MESA_DEMOS_ARAGO}meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-38@@ -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} -Quoted 8 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb line 42
Quoted 4 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-4- 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.
Quoted 7 lines
Quoted 4 lines
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.
Quoted 8 lines
Quoted 1 line
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=12688Do 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...
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
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"
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
Quoted 142 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 139 lines · Denys Dmytriyenko
Quoted 126 lines · Denys Dmytriyenko
Quoted 125 lines · Randolph Sapp
Quoted 123 lines · Denys Dmytriyenko
Quoted 106 lines · Randolph Sapp via lists.yoctoproject.org
Quoted 105 lines · Ryan Eatmon via lists.yoctoproject.org
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_VERSIONin arago-prefs.inc.Signed-off-by Ryan Eatmon <[email protected]>--- .../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.bbmeta-arago-distro/conf/distro/include/arago-prefs.inc +0
-3@@ -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"meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +17
-0@@ -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,"meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend new file +4
-0@@ -0,0 +1,4 @@ +MESA_DEMOS_ARAGO = "" +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc" + +require ${MESA_DEMOS_ARAGO}meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-38@@ -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} -Quoted 8 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb line 42
Quoted 4 lines
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-4- 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"
Quoted 6 lines
Quoted 2 lines
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
Quoted 5 lines
Quoted 1 line
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...
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
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"
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [meta-arago][master][PATCH 3/4] mesa-demos: Flip to a bbappend
Quoted 157 lines · Ryan Eatmon via lists.yoctoproject.org
Quoted 154 lines · Denys Dmytriyenko
Quoted 152 lines · Denys Dmytriyenko
Quoted 140 lines · Randolph Sapp
Quoted 139 lines · Denys Dmytriyenko
Quoted 126 lines · Randolph Sapp via lists.yoctoproject.org
Quoted 125 lines · Ryan Eatmon via lists.yoctoproject.org
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_VERSIONin arago-prefs.inc.Signed-off-by Ryan Eatmon <[email protected]>---
.../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
meta-arago-distro/conf/distro/include/arago-prefs.inc +0
-0@@ -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"meta-arago-distro/conf/distro/include/arago-prefs.inc +0
-3- -# Bump mesa-demos to include some patches not in a tagged release -PREFERRED_VERSION_mesa-demos = "9.0.0+git"meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +3
-0@@ -0,0 +1,17 @@ +SECTION = "" + +LIC_FILES_CHKSUM:remove ="file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e"
meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +2
-0+ +LIC_FILES_CHKSUM:append = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=a481fbdb2ac800ecb12405c33bcfacae"
meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +2
-0+ +SRC_URI ="
git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +7
-0+SRCREV = "02eae079cb0b8186064d5b194ca4cc2995f099ee" + +PV = "9.0.0+git" + +REQUIRED_DISTRO_FEATURES:remove = "x11" + +PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES','wayland', d)}"
meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +2
-0+ +PACKAGECONFIG[glut] ="-Dwith-glut=${STAGING_EXECPREFIXDIR},-Dglut=disabled,freeglut"
meta-arago-distro/recipes-graphics/mesa/mesa-demos-arago.inc new file +1
-0+PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"(quoted diff) +0
-0b/meta-arago-distro/recipes-graphics/mesa/mesa-demos_9.0.0.bbappend
(quoted diff) +4
-0@@ -0,0 +1,4 @@ +MESA_DEMOS_ARAGO = "" +MESA_DEMOS_ARAGO:arago = "mesa-demos-arago.inc" + +require ${MESA_DEMOS_ARAGO}meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-2@@ -1,42 +0,0 @@ -SUMMARY = "Mesa demo applications" -DESCRIPTION = "This package includes the demonstrationapplication, such as glxgears. \
-These applications can be used for Mesa validation and benchmarking."meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-5-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"meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-2- -SRC_URI ="
git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-12-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', 'vulkanx11 wayland', d)}"
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-4- -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"
meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-2-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"meta-arago-distro/recipes-graphics/mesa/mesa-demos_git.bb deleted +0
-3- -do_install:append() { - # it can be completely empty when all PACKAGECONFIG optionsare disabled
- rmdir --ignore-fail-on-non-empty ${D}${bindir} -Quoted 8 lines
Quoted 4 lines
- 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.
Quoted 7 lines
Quoted 4 lines
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...
Quoted 8 lines
Quoted 6 lines
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=12688Do 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 from0ffaa6b8739b033ea2ced33806a84321f22cd2b545941a995e45c20e25d3ac83 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 fromf3c45b3c71fdb2e78bea3799d710ff4dc34bc08debc780666a13aae14dc3929b 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 fromd06bb5d1e0378df4aef1951edc4d39162f54204b9b371a2849b1bd8814260f70 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.
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
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"
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
PATCH 4/4 packagegroup-arago-graphics: Add mesa-demos
In reply to Ryan EatmonAdd mesa-demos recipe to the packagegroup.
--- .../recipes-core/packagegroups/packagegroup-arago-graphics.bb | 1 + 1 file changed, 1 insertion(+)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb +1 -0
@@ -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 = "\
Signature · 1 line
2.43.0
Re: [meta-arago][master][PATCH 4/4] packagegroup-arago-graphics: Add mesa-demos
Quoted 12 lines · Ryan Eatmon via lists.yoctoproject.org
Add mesa-demos recipe to the packagegroup.
Signed-off-by Ryan Eatmon <[email protected]>--- .../recipes-core/packagegroups/packagegroup-arago-graphics.bb | 1 + 1 file changed, 1 insertion(+)meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb +0
-0
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb inherit packagegroup · line 15
Quoted 7 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb +1
-0@@ -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.
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 <[email protected]>
- 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 <[email protected]>
- 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