summaryrefslogtreecommitdiffstats
path: root/meta-moblin/packages
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2008-10-24 17:57:33 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2008-10-24 17:57:33 +0200
commitd5417e5a42d37f1df81699fae6d9ec965f21f887 (patch)
treed750ee5396efb9e910aef529f3dc6b36153fd2f0 /meta-moblin/packages
parent0f9a47af1e6adaac5126026c4ce0eb6aa0f4da80 (diff)
downloadpoky-d5417e5a42d37f1df81699fae6d9ec965f21f887.tar.gz
meta-moblin: rename images and tasks from poky-* to moblin-*
Diffstat (limited to 'meta-moblin/packages')
-rw-r--r--meta-moblin/packages/images/moblin-image-live.bb9
-rw-r--r--meta-moblin/packages/images/moblin-image-live.inc18
-rw-r--r--meta-moblin/packages/images/moblin-image-minimal-initramfs.bb8
-rw-r--r--meta-moblin/packages/images/moblin-image-minimal-live.bb9
-rw-r--r--meta-moblin/packages/images/moblin-image-netbook.bb7
-rw-r--r--meta-moblin/packages/images/moblin-image-sato-live.bb9
-rw-r--r--meta-moblin/packages/images/moblin-image-sato.bb7
-rw-r--r--meta-moblin/packages/images/moblin-image-sdk-live.bb9
-rw-r--r--meta-moblin/packages/images/moblin-image-sdk.bb7
-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
17 files changed, 444 insertions, 0 deletions
diff --git a/meta-moblin/packages/images/moblin-image-live.bb b/meta-moblin/packages/images/moblin-image-live.bb
new file mode 100644
index 0000000000..ff12fd4074
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-live.bb
@@ -0,0 +1,9 @@
1DESCRIPTION = "Netbook Bootable Live Image"
2
3require moblin-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-netbook-${MACHINE}.ext3"
8
9do_bootimg[depends] += "moblin-image-netbook:do_rootfs"
diff --git a/meta-moblin/packages/images/moblin-image-live.inc b/meta-moblin/packages/images/moblin-image-live.inc
new file mode 100644
index 0000000000..2dd9a8917f
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-live.inc
@@ -0,0 +1,18 @@
1AUTO_SYSLINUXCFG = "1"
2INITRD = "${DEPLOY_DIR_IMAGE}/moblin-image-minimal-initramfs-${MACHINE}.cpio.gz"
3APPEND += "root=/dev/ram0 "
4TIMEOUT = "10"
5
6EXCLUDE_FROM_WORLD = "1"
7
8do_bootimg[depends] += "moblin-image-minimal-initramfs:do_rootfs"
9
10inherit bootimg
11
12do_bootimg_prepend () {
13 import bb
14 fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
15 if 'ext3' not in fstypes:
16 bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
17}
18
diff --git a/meta-moblin/packages/images/moblin-image-minimal-initramfs.bb b/meta-moblin/packages/images/moblin-image-minimal-initramfs.bb
new file mode 100644
index 0000000000..1626a40678
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-minimal-initramfs.bb
@@ -0,0 +1,8 @@
1# Simple initramfs image. Mostly used for live images.
2
3IMAGE_INSTALL = "initramfs-live-boot initramfs-live-install busybox udev"
4
5export IMAGE_BASENAME = "moblin-image-minimal-initramfs"
6IMAGE_LINGUAS = ""
7
8inherit moblin-image
diff --git a/meta-moblin/packages/images/moblin-image-minimal-live.bb b/meta-moblin/packages/images/moblin-image-minimal-live.bb
new file mode 100644
index 0000000000..83dab3ecc3
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-minimal-live.bb
@@ -0,0 +1,9 @@
1DESCRIPTION = "Minimal Bootable Live Image"
2
3require moblin-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-minimal-${MACHINE}.ext3"
8
9do_bootimg[depends] += "moblin-image-minimal:do_rootfs"
diff --git a/meta-moblin/packages/images/moblin-image-netbook.bb b/meta-moblin/packages/images/moblin-image-netbook.bb
new file mode 100644
index 0000000000..a573dbe83f
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-netbook.bb
@@ -0,0 +1,7 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5IMAGE_FEATURES += "apps-console-core ${NETBOOK_IMAGE_FEATURES}"
6
7inherit moblin-image
diff --git a/meta-moblin/packages/images/moblin-image-sato-live.bb b/meta-moblin/packages/images/moblin-image-sato-live.bb
new file mode 100644
index 0000000000..81c07b7e50
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-sato-live.bb
@@ -0,0 +1,9 @@
1DESCRIPTION = "Sato Bootable Live Image"
2
3require moblin-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-sato-${MACHINE}.ext3"
8
9do_bootimg[depends] += "moblin-image-sato:do_rootfs"
diff --git a/meta-moblin/packages/images/moblin-image-sato.bb b/meta-moblin/packages/images/moblin-image-sato.bb
new file mode 100644
index 0000000000..61f97334f7
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-sato.bb
@@ -0,0 +1,7 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES}"
6
7inherit moblin-image
diff --git a/meta-moblin/packages/images/moblin-image-sdk-live.bb b/meta-moblin/packages/images/moblin-image-sdk-live.bb
new file mode 100644
index 0000000000..84cf107537
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-sdk-live.bb
@@ -0,0 +1,9 @@
1DESCRIPTION = "Bootable Live SDK Image"
2
3require moblin-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-sdk-${MACHINE}.ext3"
8
9do_bootimg[depends] += "moblin-image-sdk:do_rootfs"
diff --git a/meta-moblin/packages/images/moblin-image-sdk.bb b/meta-moblin/packages/images/moblin-image-sdk.bb
new file mode 100644
index 0000000000..0ec00f2574
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-sdk.bb
@@ -0,0 +1,7 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} tools-debug tools-profile tools-sdk dev-pkgs dbg-pkgs"
6
7inherit moblin-image
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 0000000000..a5b78fcf80
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-boot.bb
@@ -0,0 +1,32 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5DESCRIPTION = "Task for Moblin - minimal bootable image"
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7DEPENDS = "virtual/kernel"
8ALLOW_EMPTY = "1"
9PR = "r7"
10
11#
12# Set by the machine configuration with packages essential for device bootup
13#
14MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
15MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
16
17RDEPENDS_task-moblin-boot = "\
18 base-files \
19 base-passwd \
20 busybox \
21 initscripts \
22 ${@base_contains("MACHINE_FEATURES", "keyboard", "keymaps", "", d)} \
23 modutils-initscripts \
24 netbase \
25 sysvinit \
26 tinylogin \
27 udev \
28 ${VIRTUAL-RUNTIME_update-alternatives} \
29 ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
30
31RRECOMMENDS_task-moblin-boot = "\
32 ${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 0000000000..84bb71a848
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-sdk.bb
@@ -0,0 +1,83 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5DESCRIPTON = "Software Development Tasks for Moblin"
6DEPENDS = "task-moblin"
7PR = "r5"
8
9ALLOW_EMPTY = "1"
10#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
11
12PACKAGES = "\
13 task-moblin-sdk \
14 task-moblin-sdk-dbg \
15 task-moblin-sdk-dev"
16
17RDEPENDS_task-moblin-sdk = "\
18 autoconf \
19 automake \
20 binutils \
21 binutils-symlinks \
22 coreutils \
23 cpp \
24 cpp-symlinks \
25 diffutils \
26 gcc \
27 gcc-symlinks \
28 g++ \
29 g++-symlinks \
30 gettext \
31 make \
32 intltool \
33 libstdc++ \
34 libstdc++-dev \
35 libtool \
36 perl-module-re \
37 perl-module-text-wrap \
38 pkgconfig \
39 findutils \
40 quilt \
41 less \
42 distcc"
43
44#python generate_sdk_pkgs () {
45# moblin_pkgs = read_pkgdata('task-moblin', d)['PACKAGES']
46# pkgs = bb.data.getVar('PACKAGES', d, 1).split()
47# for pkg in moblin_pkgs.split():
48# newpkg = pkg.replace('task-moblin', 'task-moblin-sdk')
49#
50# # for each of the task packages, add a corresponding sdk task
51# pkgs.append(newpkg)
52#
53# # for each sdk task, take the rdepends of the non-sdk task, and turn
54# # that into rrecommends upon the -dev versions of those, not unlike
55# # the package depchain code
56# spkgdata = read_subpkgdata(pkg, d)
57#
58# rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '')
59# rreclist = []
60#
61# for depend in rdepends:
62# split_depend = depend.split(' (')
63# name = split_depend[0].strip()
64# if packaged('%s-dev' % name, d):
65# rreclist.append('%s-dev' % name)
66# else:
67# deppkgdata = read_subpkgdata(name, d)
68# rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '')
69# for depend in rdepends2:
70# split_depend = depend.split(' (')
71# name = split_depend[0].strip()
72# if packaged('%s-dev' % name, d):
73# rreclist.append('%s-dev' % name)
74#
75# oldrrec = bb.data.getVar('RRECOMMENDS_%s' % newpkg, d) or ''
76# bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d)
77# # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, bb.data.getVar('RRECOMMENDS_%s' % newpkg, d)))
78#
79# # bb.note('pkgs is %s' % pkgs)
80# bb.data.setVar('PACKAGES', ' '.join(pkgs), d)
81#}
82#
83#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 0000000000..e9384f5ecd
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-standalone-sdk-target.bb
@@ -0,0 +1,40 @@
1DESCRIPTION = "Target packages for the standalone SDK"
2PR = "r4"
3LICENSE = "MIT"
4ALLOW_EMPTY = "1"
5
6PACKAGES = "${PN} ${PN}-dbg"
7
8RDEPENDS_${PN} = "\
9 libgcc \
10 libstdc++ \
11 "
12
13GLIBC_DEPENDENCIES = "\
14 libsegfault \
15 glibc \
16 glibc-dbg \
17 glibc-dev \
18 glibc-utils \
19 glibc-thread-db \
20 glibc-localedata-i18n \
21 glibc-gconv-ibm850 \
22 glibc-gconv-cp1252 \
23 glibc-gconv-iso8859-1 \
24 glibc-gconv-iso8859-15 \
25 locale-base-en-gb \
26 "
27
28RDEPENDS_${PN}_append_linux = "${GLIBC_DEPENDENCIES}"
29RDEPENDS_${PN}_append_linux-gnueabi = "${GLIBC_DEPENDENCIES}"
30
31UCLIBC_DEPENDENCIES = "\
32 uclibc \
33 uclibc-dbg \
34 uclibc-dev \
35 uclibc-thread-db \
36 "
37
38RDEPENDS_${PN}_append_linux-uclibc = "${UCLIBC_DEPENDENCIES}"
39RDEPENDS_${PN}_append_linux-uclibcgnueabi = "${UCLIBC_DEPENDENCIES}"
40
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 0000000000..90ee0d1ac6
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-x11-netbook.bb
@@ -0,0 +1,28 @@
1#
2# Copyright (C) 2008 Intel.
3#
4
5DESCRIPTION = "Netbook Tasks for Moblin"
6PR = "r0"
7
8PACKAGES = "\
9 task-moblin-x11-netbook \
10 task-moblin-x11-netbook-dbg \
11 task-moblin-x11-netbook-dev \
12 "
13
14PACKAGE_ARCH = "${MACHINE_ARCH}"
15
16ALLOW_EMPTY = "1"
17
18NETWORK_MANAGER ?= "networkmanager-applet"
19RDEPENDS_task-moblin-x11-netbook = "\
20 metacity-clutter \
21 matchbox-desktop \
22 matchbox-session-netbook \
23 matchbox-config-gtk \
24 xcursor-transparent-theme \
25 sato-icon-theme \
26 settings-daemon \
27 gtk-sato-engine \
28 ${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 0000000000..6ae3bc07c7
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin-x11-sato.bb
@@ -0,0 +1,29 @@
1#
2# Copyright (C) 2007-2008 OpenedHand Ltd.
3#
4
5DESCRIPTION = "Sato Tasks for Moblin"
6PR = "r29"
7
8PACKAGES = "\
9 task-moblin-x11-sato \
10 task-moblin-x11-sato-dbg \
11 task-moblin-x11-sato-dev \
12 "
13
14PACKAGE_ARCH = "${MACHINE_ARCH}"
15
16ALLOW_EMPTY = "1"
17
18NETWORK_MANAGER ?= "networkmanager-applet"
19RDEPENDS_task-moblin-x11-sato = "\
20 matchbox-desktop \
21 matchbox-session-sato \
22 matchbox-keyboard \
23 matchbox-stroke \
24 matchbox-config-gtk \
25 xcursor-transparent-theme \
26 sato-icon-theme \
27 settings-daemon \
28 gtk-sato-engine \
29 ${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 0000000000..cb9f0c34c7
--- /dev/null
+++ b/meta-moblin/packages/tasks/task-moblin.bb
@@ -0,0 +1,66 @@
1#
2# Copyright (C) 2007-2008 OpenedHand Ltd.
3#
4
5DESCRIPTION = "Tasks for Moblin"
6PR = "r30"
7
8PACKAGES = "\
9 task-moblin-apps-console \
10 task-moblin-apps-console-dbg \
11 task-moblin-apps-console-dev \
12 task-moblin-apps-x11-core \
13 task-moblin-apps-x11-core-dbg \
14 task-moblin-apps-x11-core-dev \
15 task-moblin-apps-x11-games \
16 task-moblin-apps-x11-games-dbg \
17 task-moblin-apps-x11-games-dev \
18 task-moblin-x11-base \
19 task-moblin-x11-base-dbg \
20 task-moblin-x11-base-dev \
21 "
22
23PACKAGE_ARCH = "${MACHINE_ARCH}"
24
25XSERVER ?= "xserver-kdrive-fbdev"
26
27ALLOW_EMPTY = "1"
28
29
30RDEPENDS_task-moblin-apps-console = "\
31 avahi-daemon \
32 dropbear \
33 dbus \
34 portmap \
35 psplash"
36
37
38RDEPENDS_task-moblin-x11-base = "\
39 dbus \
40 pointercal \
41 matchbox-wm \
42 matchbox-keyboard \
43 matchbox-keyboard-applet \
44 matchbox-keyboard-im \
45 matchbox-panel-2 \
46 matchbox-desktop \
47 matchbox-session \
48 ${XSERVER} \
49 x11-common \
50 xserver-nodm-init \
51 liberation-fonts \
52 xauth \
53 xhost \
54 xset \
55 xrandr"
56
57
58RDEPENDS_task-moblin-apps-x11-core = "\
59 leafpad \
60 pcmanfm \
61 matchbox-terminal \
62 screenshot"
63
64
65RDEPENDS_task-moblin-apps-x11-games = "\
66 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 0000000000..1ab8163fc1
--- /dev/null
+++ b/meta-moblin/packages/tasks/tasks-moblin-apps-x11-pimlico.bb
@@ -0,0 +1,26 @@
1#
2# Copyright (C) 2007-2008 OpenedHand Ltd.
3#
4
5DESCRIPTION = "X11 Pimlico Appications List"
6PR = "r27"
7
8PACKAGES = "\
9 task-moblin-apps-x11-pimlico \
10 task-moblin-apps-x11-pimlico-dbg \
11 task-moblin-apps-x11-pimlico-dev \
12 "
13
14PACKAGE_ARCH = "${MACHINE_ARCH}"
15
16ALLOW_EMPTY = "1"
17
18WEB = "web-webkit"
19
20RDEPENDS_task-moblin-apps-x11-pimlico = "\
21 eds-dbus \
22 contacts \
23 dates \
24 tasks \
25 gaku \
26 ${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 0000000000..33dad20d89
--- /dev/null
+++ b/meta-moblin/packages/tasks/tasks-moblin-tools.bb
@@ -0,0 +1,57 @@
1#
2# Copyright (C) 2008 OpenedHand Ltd.
3#
4
5DESCRIPTION = "Tools tasks for Moblin"
6PR = "r1"
7
8PACKAGES = "\
9 task-moblin-tools-debug \
10 task-moblin-tools-debug-dbg \
11 task-moblin-tools-debug-dev \
12 task-moblin-tools-profile \
13 task-moblin-tools-profile-dbg \
14 task-moblin-tools-profile-dev \
15 task-moblin-tools-testapps \
16 task-moblin-tools-testapps-dbg \
17 task-moblin-tools-testapps-dev \
18 "
19
20PACKAGE_ARCH = "${MACHINE_ARCH}"
21
22ALLOW_EMPTY = "1"
23
24RDEPENDS_task-moblin-tools-debug = "\
25 gdb \
26 gdbserver \
27 strace"
28
29RDEPENDS_task-moblin-tools-profile = "\
30 exmap-console \
31 exmap-server \
32 oprofile \
33 oprofileui-server \
34 powertop \
35 lttng-control \
36 lttng-viewer"
37
38RDEPENDS_task-moblin-tools-profile_qemux86 += "valgrind"
39
40RRECOMMENDS_task-moblin-tools-profile = "\
41 kernel-module-oprofile"
42
43RDEPENDS_task-moblin-tools-testapps = "\
44 blktool \
45 tslib-calibrate \
46 tslib-tests \
47 lrzsz \
48 kexec-tools \
49 alsa-utils-amixer \
50 alsa-utils-aplay \
51 owl-video \
52 gst-meta-video \
53 gst-meta-audio \
54 xrestop \
55 xwininfo \
56 xprop \
57 xvideo-tests"