From a7226f145f0c6fe538ede094d74a629c38720e13 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Mon, 21 Jan 2008 08:17:35 +0000 Subject: classes/cmake.bbclass: Spaces are cool, use them --- classes/cmake.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass index cec74349dc..b3ae3f70d1 100644 --- a/classes/cmake.bbclass +++ b/classes/cmake.bbclass @@ -1,7 +1,7 @@ inherit autotools cmake_do_configure() { - cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} + cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} } EXPORT_FUNCTIONS do_configure -- cgit v1.2.3 From eb1025e4dd2522a35ea2988254bca9a6b5a6e02b Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Mon, 21 Jan 2008 08:22:42 +0000 Subject: classes/cmake.bbclass: A small explanation why it says inherit autotools CMake's Makefiles know about the DESTDIR. This allows us to use the staging and install functions of the autotools bbclass. Reusing them makes perfect sense and we should consider moving these functions to another base class. --- classes/cmake.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass index b3ae3f70d1..3ae2b1eb31 100644 --- a/classes/cmake.bbclass +++ b/classes/cmake.bbclass @@ -1,3 +1,4 @@ +# We want the staging and installing functions from autotools inherit autotools cmake_do_configure() { -- cgit v1.2.3 From 9b741f1a8431a64f7784af8b3f11641023ce2327 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Mon, 21 Jan 2008 11:06:06 +0000 Subject: classes/cmake: To invoke cmake it has to be present, add cmake-native to the DEPENDS --- classes/cmake.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass index 3ae2b1eb31..823635c24d 100644 --- a/classes/cmake.bbclass +++ b/classes/cmake.bbclass @@ -1,3 +1,5 @@ +DEPENDS += " cmake-native " + # We want the staging and installing functions from autotools inherit autotools -- cgit v1.2.3 From 2ac8746b749294a35fbbdeae30649cd14c96b51d Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Mon, 21 Jan 2008 11:09:00 +0000 Subject: packages/tasks/tasks-qtopia-core-console: Add a task for the core libraries of QtopiaCore/QtE --- packages/tasks/task-qtopia-core-console.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/tasks/task-qtopia-core-console.bb diff --git a/packages/tasks/task-qtopia-core-console.bb b/packages/tasks/task-qtopia-core-console.bb new file mode 100644 index 0000000000..ff0bbc6d12 --- /dev/null +++ b/packages/tasks/task-qtopia-core-console.bb @@ -0,0 +1,13 @@ +HOMEPAGE = "http://www.trolltech.com" +LICENSE = "MIT" + +inherit task + +DESCRIPTION_task-qtopia-core-console = "QtopiaCore Core libraries for XML, SQL, Network, Containers and others." +RDEPENDS_task-qtopia-core-console = "\ + libqtopiacorecore4 \ + libqtopiacorenetwork4 \ + libqtopiacorexml4 \ + libqtopiacoresql4" + + -- cgit v1.2.3 From 9a39065a3235418bf94dde6e4f8a418472068717 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Mon, 21 Jan 2008 11:10:16 +0000 Subject: packages/images/qtopia-core-console-image.bb: Create a minimal image with the QtopiaCore Core libraries Provide a minimal image to use QtNetwork, QtSql, QtXml and QtCore. --- packages/images/qtopia-core-console-image.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/images/qtopia-core-console-image.bb diff --git a/packages/images/qtopia-core-console-image.bb b/packages/images/qtopia-core-console-image.bb new file mode 100644 index 0000000000..62382cd11f --- /dev/null +++ b/packages/images/qtopia-core-console-image.bb @@ -0,0 +1,19 @@ +#QtopiaCore 'console' image +#gives you a small images with ssh access + +ANGSTROM_EXTRA_INSTALL ?= "" +DISTRO_SSH_DAEMON ?= "dropbear" +DEPENDS = "task-boot" + +IMAGE_INSTALL = "task-boot \ + util-linux-mount util-linux-umount \ + ${DISTRO_SSH_DAEMON} \ + angstrom-version \ + task-qtopia-core-console \ + " + +export IMAGE_BASENAME = "trolltech-qtopia-core-console-image" +IMAGE_LINGUAS = "" + +inherit image + -- cgit v1.2.3