From ae45cb478fbfacc7e2e23eb365c1f740ad325335 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 7 May 2013 15:30:56 +0200 Subject: [PATCH] qt5module: drop it and include only qt5.inc * not all modules depend on qtbase, qtbase-native dependency is added by qmake5.bbclass: QT5TOOLSDEPENDS ?= "qtbase-native " DEPENDS_prepend = "${QT5TOOLSDEPENDS}" Signed-off-by: Martin Jansa --- recipes-qt/qt5/qt3d.inc | 2 +- recipes-qt/qt5/qt5module.inc | 3 --- recipes-qt/qt5/qtdeclarative.inc | 2 +- recipes-qt/qt5/qtgraphicaleffects.inc | 2 +- recipes-qt/qt5/qtimageformats.inc | 4 +++- recipes-qt/qt5/qtjsbackend.inc | 4 ++-- recipes-qt/qt5/qtjsondb.inc | 2 +- recipes-qt/qt5/qtlocation.inc | 4 ++-- recipes-qt/qt5/qtmultimedia.inc | 2 +- recipes-qt/qt5/qtquick1.inc | 2 +- recipes-qt/qt5/qtscript.inc | 4 +++- recipes-qt/qt5/qtsensors.inc | 4 ++-- recipes-qt/qt5/qtsvg.inc | 4 +++- recipes-qt/qt5/qtsystems.inc | 4 ++-- recipes-qt/qt5/qtwayland.inc | 4 ++-- recipes-qt/qt5/qtwebkit.inc | 2 +- recipes-qt/qt5/qtxmlpatterns.inc | 4 +++- 17 files changed, 29 insertions(+), 24 deletions(-) delete mode 100644 recipes-qt/qt5/qt5module.inc diff --git a/recipes-qt/qt5/qt3d.inc b/recipes-qt/qt5/qt3d.inc index de3548f25c..89b378c0ac 100644 --- a/recipes-qt/qt5/qt3d.inc +++ b/recipes-qt/qt5/qt3d.inc @@ -1,4 +1,4 @@ -require qt5module.inc +require qt5.inc LICENSE = "GFDL-1.3 & LGPL-2.1 & PREVIEW.COMMERCIAL" LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4ac745f4b16b419fa48a24d41e983c40 \ diff --git a/recipes-qt/qt5/qt5module.inc b/recipes-qt/qt5/qt5module.inc deleted file mode 100644 index bbb05a6557..0000000000 --- a/recipes-qt/qt5/qt5module.inc +++ /dev/null @@ -1,3 +0,0 @@ -require qt5.inc - -DEPENDS += "qtbase" diff --git a/recipes-qt/qt5/qtdeclarative.inc b/recipes-qt/qt5/qtdeclarative.inc index 8cb21ff13c..495e9a985f 100644 --- a/recipes-qt/qt5/qtdeclarative.inc +++ b/recipes-qt/qt5/qtdeclarative.inc @@ -1,4 +1,4 @@ -require qt5module.inc +require qt5.inc DEPENDS += "qtjsbackend qtsvg qtxmlpatterns" diff --git a/recipes-qt/qt5/qtgraphicaleffects.inc b/recipes-qt/qt5/qtgraphicaleffects.inc index a6b0fe9dfe..1845faf16d 100644 --- a/recipes-qt/qt5/qtgraphicaleffects.inc +++ b/recipes-qt/qt5/qtgraphicaleffects.inc @@ -1,4 +1,4 @@ -require qt5module.inc +require qt5.inc DEPENDS += "qtdeclarative" diff --git a/recipes-qt/qt5/qtimageformats.inc b/recipes-qt/qt5/qtimageformats.inc index 8c28b2b416..26e06d4dd8 100644 --- a/recipes-qt/qt5/qtimageformats.inc +++ b/recipes-qt/qt5/qtimageformats.inc @@ -1,3 +1,5 @@ -require qt5module.inc +require qt5.inc + +DEPENDS += "qtbase" INC_PR = "r0" diff --git a/recipes-qt/qt5/qtjsbackend.inc b/recipes-qt/qt5/qtjsbackend.inc index 5a4b90279f..4479654ed0 100644 --- a/recipes-qt/qt5/qtjsbackend.inc +++ b/recipes-qt/qt5/qtjsbackend.inc @@ -1,4 +1,4 @@ -require qt5module.inc +require qt5.inc # doesn't have GFDL-1.3 like qtbase, LICENSE files are missing in 5.0.0 and 5.0.1, this is for 5.0.2 and git LICENSE = "LGPL-2.1 | GPL-3.0" @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ " -DEPENDS += "qtjsbackend-native" +DEPENDS += "qtbase qtjsbackend-native" INC_PR = "r0" diff --git a/recipes-qt/qt5/qtjsondb.inc b/recipes-qt/qt5/qtjsondb.inc index 0b049dc39a..74009d9fd7 100644 --- a/recipes-qt/qt5/qtjsondb.inc +++ b/recipes-qt/qt5/qtjsondb.inc @@ -1,4 +1,4 @@ -require qt5module.inc +require qt5.inc DEPENDS += "qtdeclarative ${ICU}" diff --git a/recipes-qt/qt5/qtlocation.inc b/recipes-qt/qt5/qtlocation.inc index ae9cb0c42c..0bcb3805cb 100644 --- a/recipes-qt/qt5/qtlocation.inc +++ b/recipes-qt/qt5/qtlocation.inc @@ -1,5 +1,5 @@ -require qt5module.inc +require qt5.inc -DEPENDS += "qt3d qtdeclarative" +DEPENDS += "qtbase qt3d qtdeclarative" INC_PR = "r0" diff --git a/recipes-qt/qt5/qtmultimedia.inc b/recipes-qt/qt5/qtmultimedia.inc index c2003fdd2e..d9fdf793e9 100644 --- a/recipes-qt/qt5/qtmultimedia.inc +++ b/recipes-qt/qt5/qtmultimedia.inc @@ -1,4 +1,4 @@ -require qt5module.inc +require qt5.inc DEPENDS += "qtdeclarative gstreamer alsa-lib " diff --git a/recipes-qt/qt5/qtquick1.inc b/recipes-qt/qt5/qtquick1.inc index 8befa81350..db0bf89417 100644 --- a/recipes-qt/qt5/qtquick1.inc +++ b/recipes-qt/qt5/qtquick1.inc @@ -1,4 +1,4 @@ -require qt5module.inc +require qt5.inc DEPENDS += "qtscript" diff --git a/recipes-qt/qt5/qtscript.inc b/recipes-qt/qt5/qtscript.inc index 8c28b2b416..26e06d4dd8 100644 --- a/recipes-qt/qt5/qtscript.inc +++ b/recipes-qt/qt5/qtscript.inc @@ -1,3 +1,5 @@ -require qt5module.inc +require qt5.inc + +DEPENDS += "qtbase" INC_PR = "r0" diff --git a/recipes-qt/qt5/qtsensors.inc b/recipes-qt/qt5/qtsensors.inc index a6b0fe9dfe..786f603b14 100644 --- a/recipes-qt/qt5/qtsensors.inc +++ b/recipes-qt/qt5/qtsensors.inc @@ -1,5 +1,5 @@ -require qt5module.inc +require qt5.inc -DEPENDS += "qtdeclarative" +DEPENDS += "qtbase qtdeclarative" INC_PR = "r0" diff --git a/recipes-qt/qt5/qtsvg.inc b/recipes-qt/qt5/qtsvg.inc index 8c28b2b416..26e06d4dd8 100644 --- a/recipes-qt/qt5/qtsvg.inc +++ b/recipes-qt/qt5/qtsvg.inc @@ -1,3 +1,5 @@ -require qt5module.inc +require qt5.inc + +DEPENDS += "qtbase" INC_PR = "r0" diff --git a/recipes-qt/qt5/qtsystems.inc b/recipes-qt/qt5/qtsystems.inc index 2c6d144ba2..af4eb41abf 100644 --- a/recipes-qt/qt5/qtsystems.inc +++ b/recipes-qt/qt5/qtsystems.inc @@ -1,6 +1,6 @@ -require qt5module.inc +require qt5.inc -DEPENDS += "qtdeclarative qtjsondb udev bluez4 gconf" +DEPENDS += "qtbase qtdeclarative qtjsondb udev bluez4 gconf" LICENSE = "BSD & LGPL-2.1 & GFDL-1.3" # LICENSE files are missing in 5.0.0 diff --git a/recipes-qt/qt5/qtwayland.inc b/recipes-qt/qt5/qtwayland.inc index 32fb08e96f..0c76b993ee 100644 --- a/recipes-qt/qt5/qtwayland.inc +++ b/recipes-qt/qt5/qtwayland.inc @@ -1,4 +1,4 @@ -require qt5module.inc +require qt5.inc LICENSE = "BSD & LGPL-2.1 | GPL-3.0" LIC_FILES_CHKSUM = "file://${S}/src/compositor/compositor_api/qwaylandsurfacenode.cpp;endline=40;md5=e38eccd7e9a6a149c9e31b6fb47daac1 \ @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://${S}/src/compositor/compositor_api/qwaylandsurfacenod # make it easier to remove by .bbappend (e.g. for building qtwayland with danny which doesn't # have libxkbcommon in oe-core). XKB_DEPENDS = "libxkbcommon" -DEPENDS += "qtdeclarative wayland wayland-native ${XKB_DEPENDS}" +DEPENDS += "qtbase qtdeclarative wayland wayland-native ${XKB_DEPENDS}" INC_PR = "r1" diff --git a/recipes-qt/qt5/qtwebkit.inc b/recipes-qt/qt5/qtwebkit.inc index 8f6f9a0484..a07fe7e2c5 100644 --- a/recipes-qt/qt5/qtwebkit.inc +++ b/recipes-qt/qt5/qtwebkit.inc @@ -1,4 +1,4 @@ -require qt5module.inc +require qt5.inc LICENSE = "BSD & LGPLv2+" LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md5=fb9694013ad71b78f8913af7a5959680 \ diff --git a/recipes-qt/qt5/qtxmlpatterns.inc b/recipes-qt/qt5/qtxmlpatterns.inc index 8c28b2b416..26e06d4dd8 100644 --- a/recipes-qt/qt5/qtxmlpatterns.inc +++ b/recipes-qt/qt5/qtxmlpatterns.inc @@ -1,3 +1,5 @@ -require qt5module.inc +require qt5.inc + +DEPENDS += "qtbase" INC_PR = "r0"