Skip to contentSkip to conversation

qtimageformats: allow empty qtimageformats package

PATCH Superseded Jonathan Liu 3 participants 6 messages Mar 1, 2014 – Mar 5, 2014

v1 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 qtimageformats: allow empty qtimageformats package

This fixes installing qtimageformats-dev with opkg as it depends on the qtimageformats package which wasn't created.

---
 recipes-qt/qt5/qtimageformats.inc | 1 +
 1 file changed, 1 insertion(+)
recipes-qt/qt5/qtimageformats.inc +1 -0
index 1b4bb4f..f90e58a 100644
@@ -1,3 +1,4 @@
 require qt5.inc
 
 DEPENDS += "qtbase tiff"
+ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
1.9.0
#1 lore raw

PATCH 2/2 packagegroup-qt5-toolchain-target: include all modules for development

This adds the necessary target packages for development with all of the Qt 5 modules.

---
 .../packagegroup-qt5-toolchain-target.bb           | 60 +++++++++++++++++-----
 1 file changed, 46 insertions(+), 14 deletions(-)
recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb +46 -14
index 997df18..13cac33 100644
@@ -11,30 +11,62 @@ PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
 USE_RUBY = " \
     qtwebkit-mkspecs \
     qtwebkit-dev \
+    qtwebkit-qmlplugins \
+"
+
+# Requires X11 to work
+USE_X11 = " \
+    qtx11extras-dev \
+    qtx11extras-mkspecs \
 "
 
 RDEPENDS_${PN} += " \
     packagegroup-core-standalone-sdk-target \
     libsqlite3-dev \
-    qtbase-mkspecs \
-    qtscript-mkspecs \
-    qtxmlpatterns-mkspecs \
-    qtdeclarative-mkspecs \
-    qtsensors-mkspecs \
+    qt3d-dev \
     qt3d-mkspecs \
-    qtlocation-mkspecs \
-    qtsvg-mkspecs \
+    qt3d-qmlplugins \
     qtbase-dev \
+    qtbase-fonts \
+    qtbase-mkspecs \
+    qtbase-plugins \
+    qtbase-staticdev \
+    qtconnectivity-dev \
+    qtconnectivity-mkspecs \
+    qtconnectivity-qmlplugins \
     qtdeclarative-dev \
-    qtscript-dev \
-    qt3d-dev \
+    qtdeclarative-mkspecs \
+    qtdeclarative-plugins \
+    qtdeclarative-qmlplugins \
+    qtdeclarative-staticdev \
+    qtgraphicaleffects-qmlplugins \
+    qtimageformats-dev \
+    qtimageformats-plugins \
     qtlocation-dev \
+    qtlocation-mkspecs \
+    qtlocation-plugins \
+    qtlocation-qmlplugins \
+    qtquick1-dev \
+    qtquick1-mkspecs \
+    qtquick1-plugins \
+    qtquick1-qmlplugins \
+    qtquickcontrols-qmlplugins \
+    qtscript-dev \
+    qtscript-mkspecs \
     qtsensors-dev \
+    qtsensors-mkspecs \
+    qtsensors-plugins \
+    qtsensors-qmlplugins \
+    qtserialport-dev \
+    qtserialport-mkspecs \
     qtsvg-dev \
-    qtxmlpatterns-dev \
-    qtdeclarative-dev \
-    qtdeclarative-plugins \
-    qtdeclarative-qmlplugins \
-    qtgraphicaleffects-dev \
+    qtsvg-mkspecs \
+    qtsvg-plugins \
+    qtsystems-dev \
+    qtsystems-mkspecs \
+    qtsystems-qmlplugins \
     ${@base_contains('BBFILE_COLLECTIONS', 'ruby-layer', '${USE_RUBY}', '', d)} \
+    ${@base_contains('DISTRO_FEATURES', 'x11', '${USE_X11}', '', d)} \
+    qtxmlpatterns-dev \
+    qtxmlpatterns-mkspecs \
 "
Signature · 1 line
1.9.0
#2 lore raw

Re: [meta-qt5][PATCH 2/2] packagegroup-qt5-toolchain-target: include all modules for development

Quoted 5 lines · Jonathan Liu

This adds the necessary target packages for development with all of the Qt 5 modules.

I like it :)

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

Re: [meta-qt5][PATCH 2/2] packagegroup-qt5-toolchain-target: include all modules for development

Quoted 9 lines · Otavio Salvador
Quoted 5 lines · Jonathan Liu

This adds the necessary target packages for development with all of the Qt 5 modules.

I like it :)

I like the X11 conditional, but what about the rest? We need some way to conditionally include things in the SDK...

Signature · 1 line
Denys
#4 lore raw

Re: [meta-qt5][PATCH 2/2] packagegroup-qt5-toolchain-target: include all modules for development

Quoted 6 lines · Denys Dmytriyenko
Quoted 5 lines · Otavio Salvador
Quoted 3 lines · Jonathan Liu

This adds the necessary target packages for development with all of the Qt 5 modules.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I like it :)

I like the X11 conditional, but what about the rest? We need some way to conditionally include things in the SDK...

I don't see a reasonable way for doing that, for now.

My goal is to make the SDK more flexible and allow it to be dynamic, you can see a message I sent to OE-Core mailing list[1].

1. http://article.gmane.org/gmane.comp.handhelds.openembedded.core/48084

But I didn't get much feedback from this message.

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
#5 lore raw
In reply to Jonathan Liu
Quoted 5 lines · Jonathan Liu

This fixes installing qtimageformats-dev with opkg as it depends on the qtimageformats package which wasn't created.

Could you extend the commit log to make it clear why it is not created?

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