poky-lsb: Change provider of virtual/libx11 to libx11-trim
cover poky-lsb: Change provider of virtual/libx11 to libx11-trim
From: Xiaofeng Yan <[email protected]>
Hi Saul,
Configuration error from package startup-notification when compiling an lsb image because it need xcb from libx11-trim. Libx11 disable this option and libx11-trim enable it.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/poky-lsb
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/poky-lsb
Thanks,
Xiaofeng Yan <[email protected]>
---
Xiaofeng Yan (1):
poky-lsb: Change provider of virtual/libx11 to libx11-trim
meta-yocto/conf/distro/poky-lsb.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
PATCH 1/1 poky-lsb: Change provider of virtual/libx11 to libx11-trim
From: Xiaofeng Yan <[email protected]>
BUG 1196 reports compilation error like the following information from package startup-notification when the provider of virtual/libx11 was libx11
| configure: error: Cannot find x11-xcb | ERROR: oe_runconf failed | ERROR: Function 'do_configure' failed (see
Fix [BUGID #1196]
--- meta-yocto/conf/distro/poky-lsb.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta-yocto/conf/distro/poky-lsb.conf +1 -1
@@ -4,6 +4,6 @@ DISTRO = "poky-lsb" DISTROOVERRIDES = "poky:linuxstdbase" DISTRO_FEATURES_append = " pam largefile" -PREFERRED_PROVIDER_virtual/libx11 = "libx11" +PREFERRED_PROVIDER_virtual/libx11 = "libx11-trim"
Signature · 1 line
1.7.0.4
Quoted 18 lines · Xiaofeng Yan
From: Xiaofeng Yan <[email protected]>
BUG 1196 reports compilation error like the following information from package startup-notification when the provider of virtual/libx11 was libx11
| configure: error: Cannot find x11-xcb | ERROR: oe_runconf failed | ERROR: Function 'do_configure' failed (seeFix [BUGID #1196]
Signed-off-by Xiaofeng Yan <[email protected]>--- meta-yocto/conf/distro/poky-lsb.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/distro/poky-lsb.conf +0
-0
meta-yocto/conf/distro/poky-lsb.conf DISTRO = "poky-lsb" · line 8
Quoted 6 lines
meta-yocto/conf/distro/poky-lsb.conf +1
-1@@ -4,6 +4,6 @@ DISTRO = "poky-lsb" DISTROOVERRIDES = "poky:linuxstdbase" DISTRO_FEATURES_append = " pam largefile" -PREFERRED_PROVIDER_virtual/libx11 = "libx11" +PREFERRED_PROVIDER_virtual/libx11 = "libx11-trim"
This looks like a backwards step. Why is libx11 not pulling in xcb as I suspect it should be...
Cheers,
Richard
Quoted 21 lines · Richard Purdie
Quoted 20 lines · Xiaofeng Yan
From: Xiaofeng Yan<[email protected]>
BUG 1196 reports compilation error like the following information from package startup-notification when the provider of virtual/libx11 was libx11
| configure: error: Cannot find x11-xcb | ERROR: oe_runconf failed | ERROR: Function 'do_configure' failed (seeFix [BUGID #1196]
Signed-off-by Xiaofeng Yan<[email protected]>--- meta-yocto/conf/distro/poky-lsb.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/distro/poky-lsb.conf +0
-0@@ -4,6 +4,6 @@ DISTRO = "poky-lsb" DISTROOVERRIDES = "poky:linuxstdbase"
Quoted 8 lines
meta-yocto/conf/distro/poky-lsb.conf DISTRO = "poky-lsb" · line 8
Quoted 4 lines
meta-yocto/conf/distro/poky-lsb.conf +1
-1DISTRO_FEATURES_append = " pam largefile" -PREFERRED_PROVIDER_virtual/libx11 = "libx11" +PREFERRED_PROVIDER_virtual/libx11 = "libx11-trim"This looks like a backwards step. Why is libx11 not pulling in xcb as I suspect it should be...
Richard,
The x11-xcb, seems to be part of libx11-trim, so possibly creating a new recipe that that peels x11-xcb from libx11-trim is possibly another approach. The xcb packages don't seem to provide x11-xcb directly.
Sau!
Quoted 9 lines
Cheers,
Richard
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Quoted 30 lines · Saul Wold
Quoted 21 lines · Richard Purdie
Quoted 20 lines · Xiaofeng Yan
From: Xiaofeng Yan<[email protected]>
BUG 1196 reports compilation error like the following information from package startup-notification when the provider of virtual/libx11 was libx11
| configure: error: Cannot find x11-xcb | ERROR: oe_runconf failed | ERROR: Function 'do_configure' failed (seeFix [BUGID #1196]
Signed-off-by Xiaofeng Yan<[email protected]>--- meta-yocto/conf/distro/poky-lsb.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta-yocto/conf/distro/poky-lsb.conf +0
-0@@ -4,6 +4,6 @@ DISTRO = "poky-lsb" DISTROOVERRIDES = "poky:linuxstdbase"Quoted 7 lines
meta-yocto/conf/distro/poky-lsb.conf DISTRO = "poky-lsb" · line 8
Quoted 4 lines
meta-yocto/conf/distro/poky-lsb.conf +1
-1DISTRO_FEATURES_append = " pam largefile" -PREFERRED_PROVIDER_virtual/libx11 = "libx11" +PREFERRED_PROVIDER_virtual/libx11 = "libx11-trim"This looks like a backwards step. Why is libx11 not pulling in xcb as I suspect it should be...
Quoted 3 lines
The x11-xcb, seems to be part of libx11-trim, so possibly creating a new recipe that that peels x11-xcb from libx11-trim is possibly another approach. The xcb packages don't seem to provide x11-xcb directly.
Er, ok...
libx11, libx11-trim and libx11-diet are three different variants of the same libx11 recipe that vary in the options they enable/disable.
Reading the comments for -trim it says "Support for XCB disabled in this version" and then goes on to enable it. Basically anything in trim should also be in libx11 so we should probably enable XCB there too.
IIRC, someone told me XCB was mandatory now so I'm a little surprised the libx11 recipe works at all tbh.
I also gather -diet might be broken to the point of being unusable now :/. This whole area needs a rethink in the light of DISTRO_FEATURES really.
Short term, the correct patch is likely one to enable XCB for libx11...
Cheers,
Richard