summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-30 12:04:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-04 12:52:58 +0100
commit8eba44660e495702fc68244fba64b6f08c1c9418 (patch)
treedaa1e146223f1496654a3858951cea60e7f55ebf /meta
parentd56f6af12cf94882b192b8da347a1c0bcd85602f (diff)
downloadpoky-8eba44660e495702fc68244fba64b6f08c1c9418.tar.gz
packagegroup-core-x11*: adjust X11 package groups
Now the Sato pieces have been moved out, rebase packagegroup-core-x11 on packagegroup-x11-mini but using the structure/contents of meta-oe's task-x11 so that it can replace that; rename packagegroup-core-x11-mini to packagegroup-core-x11-base and pull in the xserver/utils packages via packagegroup-core-x11, and move both of these recipes under recipes-graphics. x11-mini is renamed to x11-base as it's what people should build on top of and since x11-mini is newer, the corresponding IMAGE_FEATURES item is less likely to be used in existing user recipes. (From OE-Core rev: 0cc9ced7d96b960994b0671095bc74becfc55e2c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/core-image.bbclass6
-rw-r--r--meta/recipes-core/images/build-appliance-image.bb2
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb18
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb (renamed from meta/recipes-sato/packagegroups/packagegroup-core-x11-mini.bb)24
-rw-r--r--meta/recipes-sato/images/core-image-sato.bb2
-rw-r--r--meta/recipes-sato/packagegroups/packagegroup-core-x11.bb45
6 files changed, 37 insertions, 60 deletions
diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass
index f748552d39..a23d3c8c7e 100644
--- a/meta/classes/core-image.bbclass
+++ b/meta/classes/core-image.bbclass
@@ -13,8 +13,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
13# Available IMAGE_FEATURES: 13# Available IMAGE_FEATURES:
14# 14#
15# - apps-console-core 15# - apps-console-core
16# - x11-mini - minimal environment for X11 server 16# - x11 - X server
17# - x11-base - X11 server + minimal desktop 17# - x11-base - X server with minimal environment
18# - x11-sato - OpenedHand Sato environment 18# - x11-sato - OpenedHand Sato environment
19# - tools-sdk - SDK 19# - tools-sdk - SDK
20# - tools-debug - debugging tools 20# - tools-debug - debugging tools
@@ -26,7 +26,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
26# - debug-tweaks - makes an image suitable for development 26# - debug-tweaks - makes an image suitable for development
27# 27#
28PACKAGE_GROUP_apps-console-core = "packagegroup-core-apps-console" 28PACKAGE_GROUP_apps-console-core = "packagegroup-core-apps-console"
29PACKAGE_GROUP_x11-mini = "packagegroup-core-x11-mini" 29PACKAGE_GROUP_x11 = "packagegroup-core-x11"
30PACKAGE_GROUP_x11-base = "packagegroup-core-x11-base" 30PACKAGE_GROUP_x11-base = "packagegroup-core-x11-base"
31PACKAGE_GROUP_x11-sato = "packagegroup-core-x11-sato" 31PACKAGE_GROUP_x11-sato = "packagegroup-core-x11-sato"
32PACKAGE_GROUP_tools-debug = "packagegroup-core-tools-debug" 32PACKAGE_GROUP_tools-debug = "packagegroup-core-tools-debug"
diff --git a/meta/recipes-core/images/build-appliance-image.bb b/meta/recipes-core/images/build-appliance-image.bb
index 42d643634d..be4d6abfe9 100644
--- a/meta/recipes-core/images/build-appliance-image.bb
+++ b/meta/recipes-core/images/build-appliance-image.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
7 7
8PR = "r16" 8PR = "r16"
9 9
10IMAGE_FEATURES += "x11-mini package-management" 10IMAGE_FEATURES += "x11-base package-management"
11 11
12# Ensure there's enough space to do a core-image-sato build, with rm_work enabled 12# Ensure there's enough space to do a core-image-sato build, with rm_work enabled
13IMAGE_ROOTFS_EXTRA_SPACE = "41943040" 13IMAGE_ROOTFS_EXTRA_SPACE = "41943040"
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
new file mode 100644
index 0000000000..eb4b27dc4c
--- /dev/null
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
@@ -0,0 +1,18 @@
1DESCRIPTION = "Tasks for core X11 applications"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
4 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5PR = "r0"
6
7inherit packagegroup
8
9RDEPENDS_${PN} = "\
10 packagegroup-core-x11-xserver \
11 packagegroup-core-x11-utils \
12 dbus \
13 pointercal \
14 matchbox-terminal \
15 matchbox-wm \
16 mini-x-session \
17 liberation-fonts \
18 "
diff --git a/meta/recipes-sato/packagegroups/packagegroup-core-x11-mini.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
index 432d99d0ca..9563de0783 100644
--- a/meta/recipes-sato/packagegroups/packagegroup-core-x11-mini.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb
@@ -6,15 +6,15 @@ DESCRIPTION = "Tasks for core X11 applications"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 7LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 8 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9PR = "r1" 9PR = "r36"
10 10
11inherit packagegroup 11inherit packagegroup
12 12
13PACKAGE_ARCH = "${MACHINE_ARCH}" 13PACKAGE_ARCH = "${MACHINE_ARCH}"
14 14
15XSERVER ?= "xserver-xorg xf86-video-fbdev xf86-input-evdev" 15PACKAGES = "${PN} ${PN}-xserver ${PN}-utils"
16 16
17ROOTLESS_X = "1" 17XSERVER ?= "xserver-xorg xf86-video-fbdev xf86-input-evdev"
18 18
19# xserver-common, x11-common 19# xserver-common, x11-common
20VIRTUAL-RUNTIME_xserver_common ?= "x11-common" 20VIRTUAL-RUNTIME_xserver_common ?= "x11-common"
@@ -22,18 +22,20 @@ VIRTUAL-RUNTIME_xserver_common ?= "x11-common"
22# elsa, xserver-nodm-init 22# elsa, xserver-nodm-init
23VIRTUAL-RUNTIME_graphical_init_manager ?= "xserver-nodm-init" 23VIRTUAL-RUNTIME_graphical_init_manager ?= "xserver-nodm-init"
24 24
25RDEPENDS_${PN} = "\
26 ${PN}-xserver \
27 ${PN}-utils \
28 "
25 29
26RDEPENDS_packagegroup-core-x11-mini = "\ 30RDEPENDS_${PN}-xserver = "\
27 dbus \
28 pointercal \
29 matchbox-terminal \
30 matchbox-wm \
31 mini-x-session \
32 ${XSERVER} \ 31 ${XSERVER} \
32 "
33
34RDEPENDS_${PN}-utils = "\
33 ${VIRTUAL-RUNTIME_xserver_common} \ 35 ${VIRTUAL-RUNTIME_xserver_common} \
34 ${VIRTUAL-RUNTIME_graphical_init_manager} \ 36 ${VIRTUAL-RUNTIME_graphical_init_manager} \
35 liberation-fonts \
36 xauth \ 37 xauth \
37 xhost \ 38 xhost \
38 xset \ 39 xset \
39 xrandr" 40 xrandr \
41 "
diff --git a/meta/recipes-sato/images/core-image-sato.bb b/meta/recipes-sato/images/core-image-sato.bb
index 76f90817ad..6b6c7611bc 100644
--- a/meta/recipes-sato/images/core-image-sato.bb
+++ b/meta/recipes-sato/images/core-image-sato.bb
@@ -7,3 +7,5 @@ IMAGE_FEATURES += "apps-console-core package-management x11-base x11-sato ssh-se
7LICENSE = "MIT" 7LICENSE = "MIT"
8 8
9inherit core-image 9inherit core-image
10
11IMAGE_INSTALL += "packagegroup-core-x11-sato-games"
diff --git a/meta/recipes-sato/packagegroups/packagegroup-core-x11.bb b/meta/recipes-sato/packagegroups/packagegroup-core-x11.bb
deleted file mode 100644
index b69cc50d33..0000000000
--- a/meta/recipes-sato/packagegroups/packagegroup-core-x11.bb
+++ /dev/null
@@ -1,45 +0,0 @@
1#
2# Copyright (C) 2011 Intel Corporation
3#
4
5DESCRIPTION = "Tasks for core X11 applications"
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9PR = "r36"
10
11inherit packagegroup
12
13PACKAGES = "\
14 packagegroup-core-x11-base \
15 "
16
17PACKAGE_ARCH = "${MACHINE_ARCH}"
18
19XSERVER ?= "xserver-xorg xf86-video-fbdev xf86-input-evdev"
20
21# xserver-common, x11-common
22VIRTUAL-RUNTIME_xserver_common ?= "x11-common"
23
24# elsa, xserver-nodm-init
25VIRTUAL-RUNTIME_graphical_init_manager ?= "xserver-nodm-init"
26
27
28RDEPENDS_packagegroup-core-x11-base = "\
29 dbus \
30 pointercal \
31 matchbox-wm \
32 matchbox-keyboard \
33 matchbox-keyboard-applet \
34 matchbox-keyboard-im \
35 matchbox-panel-2 \
36 matchbox-desktop \
37 matchbox-session \
38 ${XSERVER} \
39 ${VIRTUAL-RUNTIME_xserver_common} \
40 ${VIRTUAL-RUNTIME_graphical_init_manager} \
41 liberation-fonts \
42 xauth \
43 xhost \
44 xset \
45 xrandr"