Skip to contentSkip to conversation

evince: Drop x11 requirement

PATCH In review Fabien Lahoudere 4 participants 5 messages Nov 20, 2018 – Nov 21, 2018

lore
Share & tools
lore
#0 lore raw

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
index 8bf8a04..01f581a 100644
@@ -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
#1 lore raw

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.

---
 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
index 8bf8a04..01f581a 100644
@@ -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

meta-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

#2 lore raw
Quoted 21 lines · Martin Jansa

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
Quoted 6 lines

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.

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.

---
 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
index 8bf8a04..01f581a 100644
@@ -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

meta-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

#3 lore raw

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 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.

Signed-off-by: Fabien Lahoudere <
[email protected]>

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

Quoted 9 lines
Quoted 5 lines

What's going on? But if everybody agrees on removing it, then you should
remove the distro_features_check inherit 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.

---
 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
index 8bf8a04..01f581a 100644
@@ -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

meta-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

#4 lore raw
In reply to Martin Jansa
Quoted 19 lines · Martin Jansa

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

Quoted 8 lines
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?

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_check inherit as well.

Andreas