Skip to contentSkip to conversation

nativesdk-packagegroup-sdk-host: Add wayland-scanner to the SDK native toolchain

PATCH Superseded Seokha Ko 3 participants 4 messages Aug 20, 2018 – Aug 23, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Seokha Ko

author
#0 lore raw

PATCH 1/1 nativesdk-packagegroup-sdk-host: Add wayland-scanner to the SDK native toolchain

The wayland-scanner was missing from the native toolchain for SDK build because it's copied from wayland dev package.

---
 .../packagegroups/nativesdk-packagegroup-sdk-host.bb            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +1 -1
index e2f6169994..4dc6eea23e 100644
@@ -23,7 +23,7 @@ RDEPENDS_${PN} = "\
     nativesdk-makedevs \
     nativesdk-dnf \
     nativesdk-cmake \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland-dev', '', d)} \
     nativesdk-sdk-provides-dummy \
     "
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 14 lines · Seokha Ko

The wayland-scanner was missing from the native toolchain for SDK build because it's copied from wayland dev package.

---
 .../packagegroups/nativesdk-packagegroup-sdk-host.bb            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +0 -0
index e2f6169994..4dc6eea23e 100644

meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb RDEPENDS_${PN} = "\ · line 26

Quoted 5 lines
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +1 -1
@@ -23,7 +23,7 @@ RDEPENDS_${PN} = "\
     nativesdk-makedevs \
     nativesdk-dnf \
     nativesdk-cmake \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland-dev', '', d)} \

Do we need the whole dev package ? if not I would suggest to package it into a separate output package
and include that along with nativesdk-wayland

Quoted 11 lines
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +0 -1
     nativesdk-sdk-provides-dummy \
     "
 
--

2.17.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

author
#2 lore raw

currently nativesdk-wayland-dev package copies bin directory which includes wayland-scanner only.

And, IMHO, if there are other tools for dev package, we need them for nativesdk target also.

Thank you.

Quoted 34 lines · Khem Raj
Quoted 13 lines · Seokha Ko

The wayland-scanner was missing from the native toolchain for SDK build because it's copied from wayland dev package.

---
  .../packagegroups/nativesdk-packagegroup-sdk-host.bb            | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +0 -0
index e2f6169994..4dc6eea23e 100644

meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb RDEPENDS_${PN} = "\ · line 26

Quoted 5 lines
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +1 -1
@@ -23,7 +23,7 @@ RDEPENDS_${PN} = "\
      nativesdk-makedevs \
      nativesdk-dnf \
      nativesdk-cmake \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-wayland-dev', '', d)} \

Do we need the whole dev package ? if not I would suggest to package it into a separate output package
and include that along with nativesdk-wayland

Quoted 11 lines
meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb +0 -1
      nativesdk-sdk-provides-dummy \
      "
 
--

2.17.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 6 lines · Seokha Ko

currently nativesdk-wayland-dev package copies bin directory which includes wayland-scanner only.

And, IMHO, if there are other tools for dev package, we need them for
nativesdk target also.

wayland-dev has all kinds of dependencies which we do not need in the SDK. This patch will significantly increase the size of the SDK unnecessarily.

We need to put the scanner into a separate package and include that.

Cheers,

Richard