Skip to contentSkip to conversation

wayland-protocols: extend to native and fix dependencies

PATCH In review Saul Wold 3 participants 4 messages Sep 22, 2017 – Sep 27, 2017

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 wayland-protocols: extend to native and fix dependencies

When trying to build a newer version of Mesa, a native version of wayland-protocols is needed to build.

---
 meta/recipes-graphics/wayland/wayland-protocols_1.10.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-graphics/wayland/wayland-protocols_1.10.bb +5 -0
index 4f9e9f32bfc..64044dae8d7 100644
@@ -11,6 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
 
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
            "
+
+DEPENDS = "wayland"
+
 SRC_URI[md5sum] = "84a7846c2b6a6a3e265fc9be36453e60"
 SRC_URI[sha256sum] = "5719c51d7354864983171c5083e93a72ac99229e2b460c4bb10513de08839c0a"
 
@@ -18,3 +21,5 @@ inherit allarch autotools pkgconfig
 
 PACKAGES = "${PN}"
 FILES_${PN} += "${datadir}/pkgconfig/wayland-protocols.pc"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.13.5
#1 lore raw
Quoted 3 lines · Saul Wold

When trying to build a newer version of Mesa, a native version of wayland-protocols is needed to build.

Why does meta-target need wayland-protocols-native?

Quoted 2 lines

+DEPENDS = "wayland"

So how does wayland-protocols build now? What was breaking?

Ross

#2 lore raw
Quoted 6 lines · Ross
Quoted 3 lines · Saul Wold

When trying to build a newer version of Mesa, a native version of wayland-protocols is needed to build.

Quoted 7 lines

Why does meta-target need wayland-protocols-native?

Quoted 2 lines

+DEPENDS = "wayland"

So how does wayland-protocols build now? What was breaking?

Many host machines provides it; make sure to test in a host without it installed.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#3 lore raw
Quoted 11 lines · Otavio Salvador
Quoted 9 lines · Ross
Quoted 3 lines · Saul Wold

When trying to build a newer version of Mesa, a native version of wayland-protocols is needed to build.

Why does meta-target need wayland-protocols-native?

Quoted 1 line
Quoted 8 lines
Quoted 4 lines
Quoted 1 line

+DEPENDS = "wayland"

So how does wayland-protocols build now? What was breaking?

Many host machines provides it; make sure to test in a host without it installed.

My machine has a few wayland libraries installed, but no headers or anything else relevant.

Ross