diff options
18 files changed, 542 insertions, 0 deletions
diff --git a/meta-moblin/classes/moblin-image.bbclass b/meta-moblin/classes/moblin-image.bbclass new file mode 100644 index 0000000000..aff89bcefc --- /dev/null +++ b/meta-moblin/classes/moblin-image.bbclass | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | # Common for Moblin images | ||
| 2 | # | ||
| 3 | # Copyright (C) 2007 OpenedHand LTD | ||
| 4 | |||
| 5 | # IMAGE_FEATURES control content of images built with Poky. | ||
| 6 | # | ||
| 7 | # By default we install task-moblin-boot and task-base packages - this gives us | ||
| 8 | # working (console only) rootfs. | ||
| 9 | # | ||
| 10 | # Available IMAGE_FEATURES: | ||
| 11 | # | ||
| 12 | # - apps-console-core | ||
| 13 | # - x11-base - X11 server + minimal desktop | ||
| 14 | # - x11-sato - OpenedHand Sato environment | ||
| 15 | # - x11-netbook - Metacity based environment for netbooks | ||
| 16 | # - apps-x11-core - X Terminal, file manager, file editor | ||
| 17 | # - apps-x11-games | ||
| 18 | # - apps-x11-pimlico - OpenedHand Pimlico apps | ||
| 19 | # - tools-sdk - SDK | ||
| 20 | # - tools-debug - debugging tools | ||
| 21 | # - tools-profile - profiling tools | ||
| 22 | # - tools-testapps - tools usable to make some device tests | ||
| 23 | # - nfs-server - NFS server (exports / over NFS to everybody) | ||
| 24 | # - dev-pkgs - development packages | ||
| 25 | # - dbg-pkgs - debug packages | ||
| 26 | # | ||
| 27 | |||
| 28 | MOBLIN_BASE_INSTALL = '\ | ||
| 29 | task-moblin-boot \ | ||
| 30 | task-base-extended \ | ||
| 31 | ${@base_contains("IMAGE_FEATURES", "dbg-pkgs", "task-moblin-boot-dbg task-base-dbg", "",d)} \ | ||
| 32 | ${@base_contains("IMAGE_FEATURES", "dev-pkgs", "task-moblin-boot-dev task-base-dev", "",d)} \ | ||
| 33 | \ | ||
| 34 | ${@base_contains("IMAGE_FEATURES", "apps-console-core", "task-moblin-apps-console", "",d)} \ | ||
| 35 | ${@base_contains("IMAGE_FEATURES", ["apps-console-core", "dbg-pkgs"], "task-moblin-apps-console-dbg", "",d)} \ | ||
| 36 | ${@base_contains("IMAGE_FEATURES", ["apps-console-core", "dev-pkgs"], "task-moblin-apps-console-dev", "",d)} \ | ||
| 37 | \ | ||
| 38 | ${@base_contains("IMAGE_FEATURES", "x11-base", "task-moblin-x11-base", "",d)} \ | ||
| 39 | ${@base_contains("IMAGE_FEATURES", ["x11-base", "dbg-pkgs"], "task-moblin-x11-base-dbg", "",d)} \ | ||
| 40 | ${@base_contains("IMAGE_FEATURES", ["x11-base", "dev-pkgs"], "task-moblin-x11-base-dev", "",d)} \ | ||
| 41 | \ | ||
| 42 | ${@base_contains("IMAGE_FEATURES", "x11-sato", "task-moblin-x11-sato", "",d)} \ | ||
| 43 | ${@base_contains("IMAGE_FEATURES", ["x11-sato", "dbg-pkgs"], "task-moblin-x11-sato-dbg", "",d)} \ | ||
| 44 | ${@base_contains("IMAGE_FEATURES", ["x11-sato", "dev-pkgs"], "task-moblin-x11-sato-dev", "",d)} \ | ||
| 45 | \ | ||
| 46 | ${@base_contains("IMAGE_FEATURES", "x11-netbook", "task-moblin-x11-netbook", "", d)} \ | ||
| 47 | ${@base_contains("IMAGE_FEATURES", ["x11-netbook", "dbg-pkgs"], "task-moblin-x11-netbook-dbg", "", d)} \ | ||
| 48 | ${@base_contains("IMAGE_FEATURES", ["x11-netbook", "dev-pkgs"], "task-moblin-x11-netbook-dev", "", d)} \ | ||
| 49 | ${@base_contains("IMAGE_FEATURES", "apps-x11-core", "task-moblin-apps-x11-core", "",d)} \ | ||
| 50 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-core", "dbg-pkgs"], "task-moblin-apps-x11-core-dbg", "",d)} \ | ||
| 51 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-core", "dev-pkgs"], "task-moblin-apps-x11-core-dev", "",d)} \ | ||
| 52 | \ | ||
| 53 | ${@base_contains("IMAGE_FEATURES", "apps-x11-games", "task-moblin-apps-x11-games", "",d)} \ | ||
| 54 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-games", "dbg-pkgs"], "task-moblin-apps-x11-games-dbg", "",d)} \ | ||
| 55 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-games", "dev-pkgs"], "task-moblin-apps-x11-games-dev", "",d)} \ | ||
| 56 | \ | ||
| 57 | ${@base_contains("IMAGE_FEATURES", "apps-x11-pimlico", "task-moblin-apps-x11-pimlico", "",d)} \ | ||
| 58 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dbg-pkgs"], "task-moblin-apps-x11-pimlico-dbg", "",d)} \ | ||
| 59 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dev-pkgs"], "task-moblin-apps-x11-pimlico-dev", "",d)} \ | ||
| 60 | \ | ||
| 61 | ${@base_contains("IMAGE_FEATURES", "tools-debug", "task-moblin-tools-debug", "",d)} \ | ||
| 62 | ${@base_contains("IMAGE_FEATURES", ["tools-debug", "dbg-pkgs"], "task-moblin-tools-debug-dbg", "",d)} \ | ||
| 63 | ${@base_contains("IMAGE_FEATURES", ["tools-debug", "dev-pkgs"], "task-moblin-tools-debug-dev", "",d)} \ | ||
| 64 | \ | ||
| 65 | ${@base_contains("IMAGE_FEATURES", "tools-profile", "task-moblin-tools-profile", "",d)} \ | ||
| 66 | ${@base_contains("IMAGE_FEATURES", ["tools-profile", "dbg-pkgs"], "task-moblin-tools-profile-dbg", "",d)} \ | ||
| 67 | ${@base_contains("IMAGE_FEATURES", ["tools-profile", "dev-pkgs"], "task-moblin-tools-profile-dev", "",d)} \ | ||
| 68 | \ | ||
| 69 | ${@base_contains("IMAGE_FEATURES", "tools-testapps", "task-moblin-tools-testapps", "",d)} \ | ||
| 70 | ${@base_contains("IMAGE_FEATURES", ["tools-testapps", "dbg-pkgs"], "task-moblin-tools-testapps-dbg", "",d)} \ | ||
| 71 | ${@base_contains("IMAGE_FEATURES", ["tools-testapps", "dev-pkgs"], "task-moblin-tools-testapps-dev", "",d)} \ | ||
| 72 | \ | ||
| 73 | ${@base_contains("IMAGE_FEATURES", "tools-sdk", "task-moblin-sdk task-moblin-standalone-sdk-target", "",d)} \ | ||
| 74 | ${@base_contains("IMAGE_FEATURES", ["tools-sdk", "dbg-pkgs"], "task-moblin-sdk-dbg", "",d)} \ | ||
| 75 | ${@base_contains("IMAGE_FEATURES", ["tools-sdk", "dev-pkgs"], "task-moblin-sdk-dev", "",d)} \ | ||
| 76 | \ | ||
| 77 | ${@base_contains("IMAGE_FEATURES", "nfs-server", "task-moblin-nfs-server", "",d)} \ | ||
| 78 | ${@base_contains("IMAGE_FEATURES", ["nfs-server", "dbg-pkgs"], "task-moblin-nfs-server-dbg", "",d)} \ | ||
| 79 | |||
| 80 | ${@base_contains("IMAGE_FEATURES", ["nfs-server", "dev-pkgs"], "task-moblin-nfs-server-dev", "",d)} \ | ||
| 81 | \ | ||
| 82 | ${@base_contains("IMAGE_FEATURES", "package-management", "${ROOTFS_PKGMANAGE}", "",d)} \ | ||
| 83 | ${MOBLIN_EXTRA_INSTALL} \ | ||
| 84 | ' | ||
| 85 | |||
| 86 | MOBLIN_EXTRA_INSTALL ?= "" | ||
| 87 | |||
| 88 | IMAGE_INSTALL ?= "${MOBLIN_BASE_INSTALL}" | ||
| 89 | |||
| 90 | X11_IMAGE_FEATURES = "x11-base apps-x11-core package-management" | ||
| 91 | ENHANCED_IMAGE_FEATURES = "${X11_IMAGE_FEATURES} apps-x11-games apps-x11-pimlico package-management" | ||
| 92 | SATO_IMAGE_FEATURES = "${ENHANCED_IMAGE_FEATURES} apps-x11-sato" | ||
| 93 | NETBOOK_IMAGE_FEATURES = "${ENHANCED_IMAGE_FEATURES} apps-x11-netbook" | ||
| 94 | |||
| 95 | inherit image | ||
| 96 | |||
| 97 | # Create /etc/timestamp during image construction to give a reasonably sane default time setting | ||
| 98 | ROOTFS_POSTPROCESS_COMMAND += "rootfs_update_timestamp" | ||
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 @@ | |||
| 1 | DESCRIPTION = "Netbook Bootable Live Image" | ||
| 2 | |||
| 3 | require moblin-image-live.inc | ||
| 4 | |||
| 5 | LABELS += "boot install" | ||
| 6 | |||
| 7 | ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-netbook-${MACHINE}.ext3" | ||
| 8 | |||
| 9 | do_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 @@ | |||
| 1 | AUTO_SYSLINUXCFG = "1" | ||
| 2 | INITRD = "${DEPLOY_DIR_IMAGE}/moblin-image-minimal-initramfs-${MACHINE}.cpio.gz" | ||
| 3 | APPEND += "root=/dev/ram0 " | ||
| 4 | TIMEOUT = "10" | ||
| 5 | |||
| 6 | EXCLUDE_FROM_WORLD = "1" | ||
| 7 | |||
| 8 | do_bootimg[depends] += "moblin-image-minimal-initramfs:do_rootfs" | ||
| 9 | |||
| 10 | inherit bootimg | ||
| 11 | |||
| 12 | do_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 | |||
| 3 | IMAGE_INSTALL = "initramfs-live-boot initramfs-live-install busybox udev" | ||
| 4 | |||
| 5 | export IMAGE_BASENAME = "moblin-image-minimal-initramfs" | ||
| 6 | IMAGE_LINGUAS = "" | ||
| 7 | |||
| 8 | inherit 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 @@ | |||
| 1 | DESCRIPTION = "Minimal Bootable Live Image" | ||
| 2 | |||
| 3 | require moblin-image-live.inc | ||
| 4 | |||
| 5 | LABELS += "boot install" | ||
| 6 | |||
| 7 | ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-minimal-${MACHINE}.ext3" | ||
| 8 | |||
| 9 | do_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 | |||
| 5 | IMAGE_FEATURES += "apps-console-core ${NETBOOK_IMAGE_FEATURES}" | ||
| 6 | |||
| 7 | inherit 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 @@ | |||
| 1 | DESCRIPTION = "Sato Bootable Live Image" | ||
| 2 | |||
| 3 | require moblin-image-live.inc | ||
| 4 | |||
| 5 | LABELS += "boot install" | ||
| 6 | |||
| 7 | ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-sato-${MACHINE}.ext3" | ||
| 8 | |||
| 9 | do_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 | |||
| 5 | IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES}" | ||
| 6 | |||
| 7 | inherit 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 @@ | |||
| 1 | DESCRIPTION = "Bootable Live SDK Image" | ||
| 2 | |||
| 3 | require moblin-image-live.inc | ||
| 4 | |||
| 5 | LABELS += "boot install" | ||
| 6 | |||
| 7 | ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-sdk-${MACHINE}.ext3" | ||
| 8 | |||
| 9 | do_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 | |||
| 5 | IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} tools-debug tools-profile tools-sdk dev-pkgs dbg-pkgs" | ||
| 6 | |||
| 7 | inherit 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 | |||
| 5 | DESCRIPTION = "Task for Moblin - minimal bootable image" | ||
| 6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 7 | DEPENDS = "virtual/kernel" | ||
| 8 | ALLOW_EMPTY = "1" | ||
| 9 | PR = "r7" | ||
| 10 | |||
| 11 | # | ||
| 12 | # Set by the machine configuration with packages essential for device bootup | ||
| 13 | # | ||
| 14 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | ||
| 15 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" | ||
| 16 | |||
| 17 | RDEPENDS_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 | |||
| 31 | RRECOMMENDS_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 | |||
| 5 | DESCRIPTON = "Software Development Tasks for Moblin" | ||
| 6 | DEPENDS = "task-moblin" | ||
| 7 | PR = "r5" | ||
| 8 | |||
| 9 | ALLOW_EMPTY = "1" | ||
| 10 | #PACKAGEFUNCS =+ 'generate_sdk_pkgs' | ||
| 11 | |||
| 12 | PACKAGES = "\ | ||
| 13 | task-moblin-sdk \ | ||
| 14 | task-moblin-sdk-dbg \ | ||
| 15 | task-moblin-sdk-dev" | ||
| 16 | |||
| 17 | RDEPENDS_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 @@ | |||
| 1 | DESCRIPTION = "Target packages for the standalone SDK" | ||
| 2 | PR = "r4" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | ALLOW_EMPTY = "1" | ||
| 5 | |||
| 6 | PACKAGES = "${PN} ${PN}-dbg" | ||
| 7 | |||
| 8 | RDEPENDS_${PN} = "\ | ||
| 9 | libgcc \ | ||
| 10 | libstdc++ \ | ||
| 11 | " | ||
| 12 | |||
| 13 | GLIBC_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 | |||
| 28 | RDEPENDS_${PN}_append_linux = "${GLIBC_DEPENDENCIES}" | ||
| 29 | RDEPENDS_${PN}_append_linux-gnueabi = "${GLIBC_DEPENDENCIES}" | ||
| 30 | |||
| 31 | UCLIBC_DEPENDENCIES = "\ | ||
| 32 | uclibc \ | ||
| 33 | uclibc-dbg \ | ||
| 34 | uclibc-dev \ | ||
| 35 | uclibc-thread-db \ | ||
| 36 | " | ||
| 37 | |||
| 38 | RDEPENDS_${PN}_append_linux-uclibc = "${UCLIBC_DEPENDENCIES}" | ||
| 39 | RDEPENDS_${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 | |||
| 5 | DESCRIPTION = "Netbook Tasks for Moblin" | ||
| 6 | PR = "r0" | ||
| 7 | |||
| 8 | PACKAGES = "\ | ||
| 9 | task-moblin-x11-netbook \ | ||
| 10 | task-moblin-x11-netbook-dbg \ | ||
| 11 | task-moblin-x11-netbook-dev \ | ||
| 12 | " | ||
| 13 | |||
| 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 15 | |||
| 16 | ALLOW_EMPTY = "1" | ||
| 17 | |||
| 18 | NETWORK_MANAGER ?= "networkmanager-applet" | ||
| 19 | RDEPENDS_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 | |||
| 5 | DESCRIPTION = "Sato Tasks for Moblin" | ||
| 6 | PR = "r29" | ||
| 7 | |||
| 8 | PACKAGES = "\ | ||
| 9 | task-moblin-x11-sato \ | ||
| 10 | task-moblin-x11-sato-dbg \ | ||
| 11 | task-moblin-x11-sato-dev \ | ||
| 12 | " | ||
| 13 | |||
| 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 15 | |||
| 16 | ALLOW_EMPTY = "1" | ||
| 17 | |||
| 18 | NETWORK_MANAGER ?= "networkmanager-applet" | ||
| 19 | RDEPENDS_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 | |||
| 5 | DESCRIPTION = "Tasks for Moblin" | ||
| 6 | PR = "r30" | ||
| 7 | |||
| 8 | PACKAGES = "\ | ||
| 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 | |||
| 23 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 24 | |||
| 25 | XSERVER ?= "xserver-kdrive-fbdev" | ||
| 26 | |||
| 27 | ALLOW_EMPTY = "1" | ||
| 28 | |||
| 29 | |||
| 30 | RDEPENDS_task-moblin-apps-console = "\ | ||
| 31 | avahi-daemon \ | ||
| 32 | dropbear \ | ||
| 33 | dbus \ | ||
| 34 | portmap \ | ||
| 35 | psplash" | ||
| 36 | |||
| 37 | |||
| 38 | RDEPENDS_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 | |||
| 58 | RDEPENDS_task-moblin-apps-x11-core = "\ | ||
| 59 | leafpad \ | ||
| 60 | pcmanfm \ | ||
| 61 | matchbox-terminal \ | ||
| 62 | screenshot" | ||
| 63 | |||
| 64 | |||
| 65 | RDEPENDS_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 | |||
| 5 | DESCRIPTION = "X11 Pimlico Appications List" | ||
| 6 | PR = "r27" | ||
| 7 | |||
| 8 | PACKAGES = "\ | ||
| 9 | task-moblin-apps-x11-pimlico \ | ||
| 10 | task-moblin-apps-x11-pimlico-dbg \ | ||
| 11 | task-moblin-apps-x11-pimlico-dev \ | ||
| 12 | " | ||
| 13 | |||
| 14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 15 | |||
| 16 | ALLOW_EMPTY = "1" | ||
| 17 | |||
| 18 | WEB = "web-webkit" | ||
| 19 | |||
| 20 | RDEPENDS_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 | |||
| 5 | DESCRIPTION = "Tools tasks for Moblin" | ||
| 6 | PR = "r1" | ||
| 7 | |||
| 8 | PACKAGES = "\ | ||
| 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 | |||
| 20 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 21 | |||
| 22 | ALLOW_EMPTY = "1" | ||
| 23 | |||
| 24 | RDEPENDS_task-moblin-tools-debug = "\ | ||
| 25 | gdb \ | ||
| 26 | gdbserver \ | ||
| 27 | strace" | ||
| 28 | |||
| 29 | RDEPENDS_task-moblin-tools-profile = "\ | ||
| 30 | exmap-console \ | ||
| 31 | exmap-server \ | ||
| 32 | oprofile \ | ||
| 33 | oprofileui-server \ | ||
| 34 | powertop \ | ||
| 35 | lttng-control \ | ||
| 36 | lttng-viewer" | ||
| 37 | |||
| 38 | RDEPENDS_task-moblin-tools-profile_qemux86 += "valgrind" | ||
| 39 | |||
| 40 | RRECOMMENDS_task-moblin-tools-profile = "\ | ||
| 41 | kernel-module-oprofile" | ||
| 42 | |||
| 43 | RDEPENDS_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" | ||
