Remove X11 from REQUIRED_DISTRO_FEATURES from Kivy
cover Remove X11 from REQUIRED_DISTRO_FEATURES from Kivy
I'm not sure if removing X11 is the good option. Maybe we could try to say it's either Wayland or X11 in the distro if it's possible with Yocto.
Marine Vovard (1):
python3-kivy: Remove X11 from REQUIRED_DISTRO_FEATURES
meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.25.1
PATCH 1/1 python3-kivy: Remove X11 from REQUIRED_DISTRO_FEATURES
We can use pure Wayland and therefore X11 is not required all the time.
--- meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb +1 -1
@@ -43,7 +43,7 @@ export KIVY_GRAPHICS KIVY_CROSS_SYSROOT="${RECIPE_SYSROOT}" export KIVY_CROSS_SYSROOT -REQUIRED_DISTRO_FEATURES += "x11 opengl gobject-introspection-data" +REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data" DEPENDS += " \ gstreamer1.0 \
Signature · 1 line
2.25.1
Re: [oe] [meta-python][PATCH 1/1] python3-kivy: Remove X11 from REQUIRED_DISTRO_FEATURES
Quoted 3 lines · Marine Vovard
We can use pure Wayland and therefore X11 is not required all the time.
Would it also build when x11 or wayland neither are in DISTRO_FEATURES ? If not then I guess a check should be made to check such that atleast one of these distro
features are present.
Quoted 30 lines
Signed-off-by Marine Vovard <[email protected]>--- meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb +1
-2@@ -43,7 +43,7 @@ export KIVY_GRAPHICS KIVY_CROSS_SYSROOT="${RECIPE_SYSROOT}" export KIVY_CROSS_SYSROOT -REQUIRED_DISTRO_FEATURES += "x11 opengl gobject-introspection-data" +REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data" DEPENDS += " \ gstreamer1.0 \ --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104350): https://lists.openembedded.org/g/openembedded-devel/message/104350
Mute This Topic: https://lists.openembedded.org/mt/100737871/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-python][PATCH 1/1] python3-kivy: Remove X11 from REQUIRED_DISTRO_FEATURES
Quoted 7 lines · Khem Raj
Quoted 4 lines · Marine Vovard
We can use pure Wayland and therefore X11 is not required all the time.
Quoted 6 lines
Would it also build when x11 or wayland neither are in
DISTRO_FEATURES?
If not then I guess a check should be made to check such that atleast one of these distro
features are present.
Indeed, from what I understood you need wayland or x11 (or both) to make it work. I'm thinking about adding the following line:
ANY_OF_DISTRO_FEATURES = "x11 wayland"
I will send a new patch with this modification if it seems ok.
Quoted 37 lines
Quoted 37 lines
Signed-off-by Marine Vovard <[email protected]>---
meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0kivy_2.1.0..bb b/meta-python/recipes-devtools/python/python3- kivy_2.1.0..bb
indexca1fc5f96..93894c860100644meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb +0
-0@@ -43,7 +43,7 @@ export KIVY_GRAPHICSKIVY_CROSS_SYSROOT="${RECIPE_SYSROOT}"
exportKIVY_CROSS_SYSROOT-REQUIRED_DISTRO_FEATURES += "x11 opengl gobject-introspection- data"
+REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data"DEPENDS += " \
gstreamer1.0 \
--
2.25.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#104350):
https://lists.openembedded.org/g/openembedded-devel/message/104350
Mute This Topic:
https://lists.openembedded.org/mt/100737871/1997914
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-devel/unsub [
[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-python][PATCH 1/1] python3-kivy: Remove X11 from REQUIRED_DISTRO_FEATURES
Quoted 15 lines · Marine Vovard
Quoted 7 lines · Khem Raj
Quoted 4 lines · Marine Vovard
We can use pure Wayland and therefore X11 is not required all the time.
Quoted 6 lines
Would it also build when x11 or wayland neither are in
DISTRO_FEATURES?
If not then I guess a check should be made to check such that atleast one of these distro
features are present.
Quoted 6 lines
Indeed, from what I understood you need wayland or x11 (or both) to make it work. I'm thinking about adding the following line:
ANY_OF_DISTRO_FEATURES= "x11 wayland"I will send a new patch with this modification if it seems ok.
Sounds good
Quoted 40 lines
Quoted 38 lines
Quoted 38 lines
Signed-off-by Marine Vovard <[email protected]>--- meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0kivy_2.1.0..bb b/meta-python/recipes-devtools/python/python3- kivy_2.1.0..bb
indexca1fc5f96..93894c860100644meta-python/recipes-devtools/python/python3-kivy_2.1.0..bb +0
-1@@ -43,7 +43,7 @@ export KIVY_GRAPHICS KIVY_CROSS_SYSROOT="${RECIPE_SYSROOT}" export KIVY_CROSS_SYSROOT -REQUIRED_DISTRO_FEATURES += "x11 opengl gobject-introspection-data"
+REQUIRED_DISTRO_FEATURES += "opengl gobject-introspection-data"DEPENDS += " \ gstreamer1.0 \--
2.25.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#104350):
https://lists.openembedded.org/g/openembedded-devel/message/104350
Mute This Topic:
https://lists.openembedded.org/mt/100737871/1997914
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 4 lines · Marine Vovard
I'm not sure if removing X11 is the good option. Maybe we could try to say it's either Wayland or X11 in the distro if it's possible with Yocto.
meta/conf/documentation.conf:ANY_OF_DISTRO_FEATURES[doc] = "When a recipe inherits the features_check class, at least one item in this variable must be included in DISTRO_FEATURES."
Quoted 9 lines · Martin Jansa
Quoted 5 lines · Marine Vovard
I'm not sure if removing X11 is the good option. Maybe we could try to
say it's either Wayland or X11 in the distro if it's possible with Yocto.
Quoted 3 lines
meta/conf/documentation.conf:ANY_OF_DISTRO_FEATURES[doc] = "When a recipe inherits the
features_checkclass, at least one item in this variable must be included inDISTRO_FEATURES."
I will use that to improve my patch, thank you !