summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'meta-moblin/packages/tasks')
-rw-r--r--meta-moblin/packages/tasks/task-moblin-boot.bb32
-rw-r--r--meta-moblin/packages/tasks/task-moblin-sdk.bb83
-rw-r--r--meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb40
-rw-r--r--meta-moblin/packages/tasks/task-moblin-x11-netbook.bb28
-rw-r--r--meta-moblin/packages/tasks/task-moblin-x11-sato.bb29
-rw-r--r--meta-moblin/packages/tasks/task-moblin.bb66
-rw-r--r--meta-moblin/packages/tasks/tasks-moblin-apps-x11-pimlico.bb26
-rw-r--r--meta-moblin/packages/tasks/tasks-moblin-tools.bb57
8 files changed, 361 insertions, 0 deletions
diff --git a/meta-moblin/packages/tasks/task-moblin-boot.bb b/meta-moblin/packages/tasks/task-moblin-boot.bb
new file mode 100644
index 000000000..a5b78fcf8
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-boot.bb
@@ -0,0 +1,32 @@
+#
+# Copyright (C) 2007 OpenedHand Ltd.
+#
+
+DESCRIPTION = "Task for Moblin - minimal bootable image"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+DEPENDS = "virtual/kernel"
+ALLOW_EMPTY = "1"
+PR = "r7"
+
+#
+# Set by the machine configuration with packages essential for device bootup
+#
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
+MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
+
+RDEPENDS_task-moblin-boot = "\
+ base-files \
+ base-passwd \
+ busybox \
+ initscripts \
+ ${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \
+ modutils-initscripts \
+ netbase \
+ sysvinit \
+ tinylogin \
+ udev \
+ ${VIRTUAL-RUNTIME_update-alternatives} \
+ ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
+
+RRECOMMENDS_task-moblin-boot = "\
+ ${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"
diff --git a/meta-moblin/packages/tasks/task-moblin-sdk.bb b/meta-moblin/packages/tasks/task-moblin-sdk.bb
new file mode 100644
index 000000000..84bb71a84
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-sdk.bb
@@ -0,0 +1,83 @@
+#
+# Copyright (C) 2007 OpenedHand Ltd.
+#
+
+DESCRIPTON = "Software Development Tasks for Moblin"
+DEPENDS = "task-moblin"
+PR = "r5"
+
+ALLOW_EMPTY = "1"
+#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
+
+PACKAGES = "\
+ task-moblin-sdk \
+ task-moblin-sdk-dbg \
+ task-moblin-sdk-dev"
+
+RDEPENDS_task-moblin-sdk = "\
+ autoconf \
+ automake \
+ binutils \
+ binutils-symlinks \
+ coreutils \
+ cpp \
+ cpp-symlinks \
+ diffutils \
+ gcc \
+ gcc-symlinks \
+ g++ \
+ g++-symlinks \
+ gettext \
+ make \
+ intltool \
+ libstdc++ \
+ libstdc++-dev \
+ libtool \
+ perl-module-re \
+ perl-module-text-wrap \
+ pkgconfig \
+ findutils \
+ quilt \
+ less \
+ distcc"
+
+#python generate_sdk_pkgs () {
+# moblin_pkgs = read_pkgdata('task-moblin', d)['PACKAGES']
+# pkgs = bb.data.getVar('PACKAGES', d, 1).split()
+# for pkg in moblin_pkgs.split():
+# newpkg = pkg.replace('task-moblin', 'task-moblin-sdk')
+#
+# # for each of the task packages, add a corresponding sdk task
+# pkgs.append(newpkg)
+#
+# # for each sdk task, take the rdepends of the non-sdk task, and turn
+# # that into rrecommends upon the -dev versions of those, not unlike
+# # the package depchain code
+# spkgdata = read_subpkgdata(pkg, d)
+#
+# rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '')
+# rreclist = []
+#
+# for depend in rdepends:
+# split_depend = depend.split(' (')
+# name = split_depend[0].strip()
+# if packaged('%s-dev' % name, d):
+# rreclist.append('%s-dev' % name)
+# else:
+# deppkgdata = read_subpkgdata(name, d)
+# rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '')
+# for depend in rdepends2:
+# split_depend = depend.split(' (')
+# name = split_depend[0].strip()
+# if packaged('%s-dev' % name, d):
+# rreclist.append('%s-dev' % name)
+#
+# oldrrec = bb.data.getVar('RRECOMMENDS_%s' % newpkg, d) or ''
+# bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d)
+# # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, bb.data.getVar('RRECOMMENDS_%s' % newpkg, d)))
+#
+# # bb.note('pkgs is %s' % pkgs)
+# bb.data.setVar('PACKAGES', ' '.join(pkgs), d)
+#}
+#
+#PACKAGES_DYNAMIC = "task-moblin-sdk-*"
diff --git a/meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb b/meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb
new file mode 100644
index 000000000..e9384f5ec
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "Target packages for the standalone SDK"
+PR = "r4"
+LICENSE = "MIT"
+ALLOW_EMPTY = "1"
+
+PACKAGES = "${PN} ${PN}-dbg"
+
+RDEPENDS_${PN} = "\
+ libgcc \
+ libstdc++ \
+ "
+
+GLIBC_DEPENDENCIES = "\
+ libsegfault \
+ glibc \
+ glibc-dbg \
+ glibc-dev \
+ glibc-utils \
+ glibc-thread-db \
+ glibc-localedata-i18n \
+ glibc-gconv-ibm850 \
+ glibc-gconv-cp1252 \
+ glibc-gconv-iso8859-1 \
+ glibc-gconv-iso8859-15 \
+ locale-base-en-gb \
+ "
+
+RDEPENDS_${PN}_append_linux = "${GLIBC_DEPENDENCIES}"
+RDEPENDS_${PN}_append_linux-gnueabi = "${GLIBC_DEPENDENCIES}"
+
+UCLIBC_DEPENDENCIES = "\
+ uclibc \
+ uclibc-dbg \
+ uclibc-dev \
+ uclibc-thread-db \
+ "
+
+RDEPENDS_${PN}_append_linux-uclibc = "${UCLIBC_DEPENDENCIES}"
+RDEPENDS_${PN}_append_linux-uclibcgnueabi = "${UCLIBC_DEPENDENCIES}"
+
diff --git a/meta-moblin/packages/tasks/task-moblin-x11-netbook.bb b/meta-moblin/packages/tasks/task-moblin-x11-netbook.bb
new file mode 100644
index 000000000..90ee0d1ac
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-x11-netbook.bb
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2008 Intel.
+#
+
+DESCRIPTION = "Netbook Tasks for Moblin"
+PR = "r0"
+
+PACKAGES = "\
+ task-moblin-x11-netbook \
+ task-moblin-x11-netbook-dbg \
+ task-moblin-x11-netbook-dev \
+ "
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+ALLOW_EMPTY = "1"
+
+NETWORK_MANAGER ?= "networkmanager-applet"
+RDEPENDS_task-moblin-x11-netbook = "\
+ metacity-clutter \
+ matchbox-desktop \
+ matchbox-session-netbook \
+ matchbox-config-gtk \
+ xcursor-transparent-theme \
+ sato-icon-theme \
+ settings-daemon \
+ gtk-sato-engine \
+ ${NETWORK_MANAGER}"
diff --git a/meta-moblin/packages/tasks/task-moblin-x11-sato.bb b/meta-moblin/packages/tasks/task-moblin-x11-sato.bb
new file mode 100644
index 000000000..6ae3bc07c
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-x11-sato.bb
@@ -0,0 +1,29 @@
+#
+# Copyright (C) 2007-2008 OpenedHand Ltd.
+#
+
+DESCRIPTION = "Sato Tasks for Moblin"
+PR = "r29"
+
+PACKAGES = "\
+ task-moblin-x11-sato \
+ task-moblin-x11-sato-dbg \
+ task-moblin-x11-sato-dev \
+ "
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+ALLOW_EMPTY = "1"
+
+NETWORK_MANAGER ?= "networkmanager-applet"
+RDEPENDS_task-moblin-x11-sato = "\
+ matchbox-desktop \
+ matchbox-session-sato \
+ matchbox-keyboard \
+ matchbox-stroke \
+ matchbox-config-gtk \
+ xcursor-transparent-theme \
+ sato-icon-theme \
+ settings-daemon \
+ gtk-sato-engine \
+ ${NETWORK_MANAGER}"
diff --git a/meta-moblin/packages/tasks/task-moblin.bb b/meta-moblin/packages/tasks/task-moblin.bb
new file mode 100644
index 000000000..cb9f0c34c
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin.bb
@@ -0,0 +1,66 @@
+#
+# Copyright (C) 2007-2008 OpenedHand Ltd.
+#
+
+DESCRIPTION = "Tasks for Moblin"
+PR = "r30"
+
+PACKAGES = "\
+ task-moblin-apps-console \
+ task-moblin-apps-console-dbg \
+ task-moblin-apps-console-dev \
+ task-moblin-apps-x11-core \
+ task-moblin-apps-x11-core-dbg \
+ task-moblin-apps-x11-core-dev \
+ task-moblin-apps-x11-games \
+ task-moblin-apps-x11-games-dbg \
+ task-moblin-apps-x11-games-dev \
+ task-moblin-x11-base \
+ task-moblin-x11-base-dbg \
+ task-moblin-x11-base-dev \
+ "
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+XSERVER ?= "xserver-kdrive-fbdev"
+
+ALLOW_EMPTY = "1"
+
+
+RDEPENDS_task-moblin-apps-console = "\
+ avahi-daemon \
+ dropbear \
+ dbus \
+ portmap \
+ psplash"
+
+
+RDEPENDS_task-moblin-x11-base = "\
+ dbus \
+ pointercal \
+ matchbox-wm \
+ matchbox-keyboard \
+ matchbox-keyboard-applet \
+ matchbox-keyboard-im \
+ matchbox-panel-2 \
+ matchbox-desktop \
+ matchbox-session \
+ ${XSERVER} \
+ x11-common \
+ xserver-nodm-init \
+ liberation-fonts \
+ xauth \
+ xhost \
+ xset \
+ xrandr"
+
+
+RDEPENDS_task-moblin-apps-x11-core = "\
+ leafpad \
+ pcmanfm \
+ matchbox-terminal \
+ screenshot"
+
+
+RDEPENDS_task-moblin-apps-x11-games = "\
+ oh-puzzles"
diff --git a/meta-moblin/packages/tasks/tasks-moblin-apps-x11-pimlico.bb b/meta-moblin/packages/tasks/tasks-moblin-apps-x11-pimlico.bb
new file mode 100644
index 000000000..1ab8163fc
--- /dev/null
+++ b/meta-moblin/packages/tasks/tasks-moblin-apps-x11-pimlico.bb
@@ -0,0 +1,26 @@
+#
+# Copyright (C) 2007-2008 OpenedHand Ltd.
+#
+
+DESCRIPTION = "X11 Pimlico Appications List"
+PR = "r27"
+
+PACKAGES = "\
+ task-moblin-apps-x11-pimlico \
+ task-moblin-apps-x11-pimlico-dbg \
+ task-moblin-apps-x11-pimlico-dev \
+ "
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+ALLOW_EMPTY = "1"
+
+WEB = "web-webkit"
+
+RDEPENDS_task-moblin-apps-x11-pimlico = "\
+ eds-dbus \
+ contacts \
+ dates \
+ tasks \
+ gaku \
+ ${WEB}"
diff --git a/meta-moblin/packages/tasks/tasks-moblin-tools.bb b/meta-moblin/packages/tasks/tasks-moblin-tools.bb
new file mode 100644
index 000000000..33dad20d8
--- /dev/null
+++ b/meta-moblin/packages/tasks/tasks-moblin-tools.bb
@@ -0,0 +1,57 @@
+#
+# Copyright (C) 2008 OpenedHand Ltd.
+#
+
+DESCRIPTION = "Tools tasks for Moblin"
+PR = "r1"
+
+PACKAGES = "\
+ task-moblin-tools-debug \
+ task-moblin-tools-debug-dbg \
+ task-moblin-tools-debug-dev \
+ task-moblin-tools-profile \
+ task-moblin-tools-profile-dbg \
+ task-moblin-tools-profile-dev \
+ task-moblin-tools-testapps \
+ task-moblin-tools-testapps-dbg \
+ task-moblin-tools-testapps-dev \
+ "
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+ALLOW_EMPTY = "1"
+
+RDEPENDS_task-moblin-tools-debug = "\
+ gdb \
+ gdbserver \
+ strace"
+
+RDEPENDS_task-moblin-tools-profile = "\
+ exmap-console \
+ exmap-server \
+ oprofile \
+ oprofileui-server \
+ powertop \
+ lttng-control \
+ lttng-viewer"
+
+RDEPENDS_task-moblin-tools-profile_qemux86 += "valgrind"
+
+RRECOMMENDS_task-moblin-tools-profile = "\
+ kernel-module-oprofile"
+
+RDEPENDS_task-moblin-tools-testapps = "\
+ blktool \
+ tslib-calibrate \
+ tslib-tests \
+ lrzsz \
+ kexec-tools \
+ alsa-utils-amixer \
+ alsa-utils-aplay \
+ owl-video \
+ gst-meta-video \
+ gst-meta-audio \
+ xrestop \
+ xwininfo \
+ xprop \
+ xvideo-tests"