Skip to contentSkip to conversation

userland: In case of wayland configuration build needs wayland-native

PATCH Applied Andrei Gherzan 3 participants 4 messages Apr 1, 2016 – Apr 13, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 userland: In case of wayland configuration build needs wayland-native

Building wayland support requires availability of wayland-scanner to avoid build errors like:

| /bin/sh:
| /home/andrei/work/yocto/build-rpi-master/tmp/sysroots/x86_64-linux/usr/bin/wayland-scanner:
| No such file or directory
---
 recipes-graphics/userland/userland_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/userland/userland_git.bb +1 -1
index ca9123e..536c3ec 100644
@@ -45,7 +45,7 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-a
 
 PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
 
-PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland"
+PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,wayland-native,wayland"
 
 CFLAGS_append = " -fPIC"
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 23 lines · Andrei Gherzan

Building wayland support requires availability of wayland-scanner to avoid build errors like:

| /bin/sh:
| /home/andrei/work/yocto/build-rpi-master/tmp/sysroots/x86_64-linux/usr/bin/wayland-scanner:
| No such file or directory

---
recipes-graphics/userland/userland_git.bb | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/userland/userland_git.bb +0 -0
index ca9123e..536c3ec 100644
@@ -45,7 +45,7 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-a
 

PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"

recipes-graphics/userland/userland_git.bb

Quoted 2 lines
recipes-graphics/userland/userland_git.bb +1 -1
-PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland"
+PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,wayland-native,wayland”

this is ok.

Quoted 11 lines

CFLAGS_append = " -fPIC"

--
2.7.4

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

author Applied
#2 lore raw
In reply to Andrei Gherzan
Quoted 26 lines · Andrei Gherzan

Building wayland support requires availability of wayland-scanner to avoid build errors like:

| /bin/sh:
| /home/andrei/work/yocto/build-rpi-master/tmp/sysroots/x86_64-linux/usr/bin/wayland-scanner:
| No such file or directory
---
 recipes-graphics/userland/userland_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/userland/userland_git.bb +1 -2
index ca9123e..536c3ec 100644
@@ -45,7 +45,7 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-a
 
 PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
 
-PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland"
+PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,wayland-native,wayland"
 
 CFLAGS_append = " -fPIC"
 
--
Quoted 2 lines

2.7.4

Merged to master.

--
Andrei Gherzan

#3 lore raw

Hi Andrei,

This is breaking non-Wayland builds... the second value in the PACKAGECONFIG is the configure arguments for when the PACKAGECONFIG is disabled.

I have sent a patch to fix it.

Regards,
Jonathan

Quoted 41 lines · Andrei Gherzan
Quoted 26 lines · Andrei Gherzan

Building wayland support requires availability of wayland-scanner to avoid build errors like:

| /bin/sh:
| /home/andrei/work/yocto/build-rpi-master/tmp/sysroots/x86_64-linux/usr/bin/wayland-scanner:
| No such file or directory
---
 recipes-graphics/userland/userland_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-graphics/userland/userland_git.bb +1 -2
index ca9123e..536c3ec 100644
@@ -45,7 +45,7 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-a
 
 PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
 
-PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland"
+PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,wayland-native,wayland"
 
 CFLAGS_append = " -fPIC"
 
--
Quoted 2 lines

2.7.4

Merged to master.

--
Andrei Gherzan

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto