evince: Drop x11 requirement
PATCH 1/1 evince: Drop x11 requirement
evince works fine in a wayland only distribution.
x11 requirement is not needed.
--- meta-gnome/recipes-gnome/evince/evince_3.28.2.bb | 2 -- 1 file changed, 2 deletions(-)
meta-gnome/recipes-gnome/evince/evince_3.28.2.bb +0 -2
@@ -6,8 +6,6 @@ DEPENDS = "gtk+3 libsecret ${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-d inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection distro_features_check systemd -REQUIRED_DISTRO_FEATURES = "x11" - SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \ file://0001-help-remove-YELP-macro.patch \ file://0001-Add-format-attribute-to-_synctex_malloc.patch \
Signature · 1 line
1.8.3.1
This was already removed once in:
commit 33c822a7c11df08f35dda18a44aae730f93c6130
Author: Fabien Lahoudere <[email protected]> Date: Wed Sep 6 18:53:07 2017 +0200
evince: Remove X dependency
gnome-desktop is the only X dependency for evince.
In order to build evince for Wayland based system without X support, gnome-desktop is added to DEPENDS only if x11 exists in DISTRO_FEATURES. So x11 is dropped from REQUIRED_DISTRO_FEATURES.
and then returned here:
commit 62376d673aa86b5f8ffb26c8a74046ee87ef4f66
Author: Armin Kuster <[email protected]> Date: Wed Mar 7 08:08:57 2018 -0800
evince: only include when x11 in DISTRO_FEATURES
What's going on? But if everybody agrees on removing it, then you should remove the distro_features_check inherit as well.
Quoted 35 lines · Fabien Lahoudere
evince works fine in a wayland only distribution.
x11 requirement is not needed.Signed-off-by Fabien Lahoudere <[email protected]>--- meta-gnome/recipes-gnome/evince/evince_3.28.2.bb | 2 -- 1 file changed, 2 deletions(-)meta-gnome/recipes-gnome/evince/evince_3.28.2.bb +0
-0@@ -6,8 +6,6 @@ DEPENDS = "gtk+3 libsecret${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-d
inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection
distro_features_checksystemdmeta-gnome/recipes-gnome/evince/evince_3.28.2.bb +0
-2-REQUIRED_DISTRO_FEATURES = "x11" - SRC_URI ="${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
\ file://0001-help-remove-YELP-macro.patch \ file://0001-Add-format-attribute-to-_synctex_malloc.patch \--
1.8.3.1--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 21 lines · Martin Jansa
This was already removed once in:
commit
33c822a7c11df08f35dda18a44aae730f93c6130Author: Fabien Lahoudere <[email protected]> Date: Wed Sep 6 18:53:07 2017 +0200evince: Remove X dependency
gnome-desktop is the only X dependency for evince.
In order to build evince for Wayland based system without X support, gnome-desktop is added to DEPENDS only if x11 exists inDISTRO_FEATURES. So x11 is dropped fromREQUIRED_DISTRO_FEATURES.Signed-off-by Fabien Lahoudere <[email protected]>Signed-off-by Martin Jansa <[email protected]>and then returned here:
commit62376d673aa86b5f8ffb26c8a74046ee87ef4f66Author: Armin Kuster <[email protected]> Date: Wed Mar 7 08:08:57 2018 -0800
Quoted 6 lines
evince: only include when x11 in
DISTRO_FEATURESSigned-off-by Armin Kuster <[email protected]>What's going on? But if everybody agrees on removing it, then you should remove the
distro_features_checkinherit as well.
Please run the yocto-check-layer. Maybe another solution needs to submitted to get this to pass.
- armin
Quoted 39 lines
Quoted 35 lines · Fabien Lahoudere
evince works fine in a wayland only distribution.
x11 requirement is not needed.Signed-off-by Fabien Lahoudere <[email protected]>--- meta-gnome/recipes-gnome/evince/evince_3.28.2.bb | 2 -- 1 file changed, 2 deletions(-)meta-gnome/recipes-gnome/evince/evince_3.28.2.bb +0
-0@@ -6,8 +6,6 @@ DEPENDS = "gtk+3 libsecret${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-d
inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection
distro_features_checksystemdmeta-gnome/recipes-gnome/evince/evince_3.28.2.bb +0
-2-REQUIRED_DISTRO_FEATURES = "x11" - SRC_URI ="${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
\ file://0001-help-remove-YELP-macro.patch \ file://0001-Add-format-attribute-to-_synctex_malloc.patch \--
1.8.3.1--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi
Quoted 28 lines · Le mardi 20 novembre 2018 à 10:01 -0700, akuster808 a écrit :
Quoted 26 lines · Martin Jansa
This was already removed once in:
commit
33c822a7c11df08f35dda18a44aae730f93c6130Author: Fabien Lahoudere <[email protected]> Date: Wed Sep 6 18:53:07 2017 +0200evince: Remove X dependency
gnome-desktop is the only X dependency for evince. In order to build evince for Wayland based system without X
support,
gnome-desktop is added to DEPENDS only if x11 exists inDISTRO_FEATURES.
So x11 is dropped fromREQUIRED_DISTRO_FEATURES.Signed-off-by: Fabien Lahoudere <
[email protected]>Signed-off-by Martin Jansa <[email protected]>and then returned here:
commit62376d673aa86b5f8ffb26c8a74046ee87ef4f66Author: Armin Kuster <[email protected]> Date: Wed Mar 7 08:08:57 2018 -0800evince: only include when x11 in
DISTRO_FEATURES
Quoted 9 lines
Quoted 5 lines
Signed-off-by Armin Kuster <[email protected]>What's going on? But if everybody agrees on removing it, then you should
remove thedistro_features_checkinherit as well.Please run the yocto-check-layer. Maybe another solution needs to submitted to get this to pass.
I tested evince with two machines using wayland only and it builds and runs correctly. X11 is not required to build this recipe and I think that sanity-meta-gnome.bbclass leads to a wrong error message and is redundant with 'REQUIRED_DISTRO_FEATURE ="x11"'.
Do you agree to drop this sanity check from meta-gnome?
Thanks
Fabien
Quoted 44 lines
- armin
Quoted 41 lines
Quoted 38 lines · Fabien Lahoudere
evince works fine in a wayland only distribution.
x11 requirement is not needed.Signed-off-by Fabien Lahoudere <[email protected]>--- meta-gnome/recipes-gnome/evince/evince_3.28.2.bb | 2 -- 1 file changed, 2 deletions(-)meta-gnome/recipes-gnome/evince/evince_3.28.2.bb +0
-0@@ -6,8 +6,6 @@ DEPENDS = "gtk+3 libsecret${@bb.utils.contains('DISTRO_FEATURES','x11','gnome-d
inherit gnome pkgconfig gtk-icon-cache gsettings gobject-
introspectiondistro_features_checksystemdmeta-gnome/recipes-gnome/evince/evince_3.28.2.bb +0
-2-REQUIRED_DISTRO_FEATURES = "x11" - SRC_URI ="${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}- ${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
\ file://0001-help-remove-YELP-macro.patch \ file://0001-Add-format-attribute-to-_synctex_malloc.patch \
--
1.8.3.1--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 19 lines · Martin Jansa
This was already removed once in:
commit
33c822a7c11df08f35dda18a44aae730f93c6130Author: Fabien Lahoudere <[email protected]> Date: Wed Sep 6 18:53:07 2017 +0200evince: Remove X dependency
gnome-desktop is the only X dependency for evince.
In order to build evince for Wayland based system without X support, gnome-desktop is added to DEPENDS only if x11 exists inDISTRO_FEATURES. So x11 is dropped fromREQUIRED_DISTRO_FEATURES.Signed-off-by Fabien Lahoudere <[email protected]>Signed-off-by Martin Jansa <[email protected]>and then returned here:
commit62376d673aa86b5f8ffb26c8a74046ee87ef4f66
Quoted 8 lines
Author: Armin Kuster <[email protected]> Date: Wed Mar 7 08:08:57 2018 -0800evince: only include when x11 in
DISTRO_FEATURESSigned-off-by Armin Kuster <[email protected]>What's going on?
The magic yocto-layer-script is going on :)
Quoted 2 lines
But if everybody agrees on removing it, then you should remove the
distro_features_checkinherit as well.
Andreas