diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-09-04 22:58:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-05 17:37:15 +0100 |
commit | 1d4861923db9674ff5b83fcd0755423bb1ccfd22 (patch) | |
tree | 30d0b7823718ad085f910d7f14ef49cd3a4b6854 /meta/recipes-graphics | |
parent | 6554dbf95655c63c9fc8bdfbc67d93b6054bc441 (diff) | |
download | poky-1d4861923db9674ff5b83fcd0755423bb1ccfd22.tar.gz |
packagegroup-core-x11: split machine specific parts to separate recipe packagegroup-core-x11-server
* add new packagegroup-core-x11-server to SIGGEN_EXCLUDERECIPES_ABISAFE,
so that recipes depending on it are not rebuilt after every machine
swtich
* allows to remove task-x11-server and task-x11 from meta-oe without
loosing any functionality
* be carefull with default XSERVER value which does not have
xf86-input-mouse and xf86-input-keyboard)
* VIRTUAL-RUNTIME_xserver_common which defaults to x11-common in oe-core
and xserver-common in meta-oe's task-x11
(From OE-Core rev: a398c96706c119f298f57a929a317fcf8e0f5b92)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb | 24 | ||||
-rw-r--r-- | meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb | 16 |
2 files changed, 26 insertions, 14 deletions
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb new file mode 100644 index 0000000000..bf39e6316b --- /dev/null +++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | # | ||
2 | # Copyright (C) 2011 Intel Corporation | ||
3 | # | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | PR = "r38" | ||
7 | |||
8 | inherit packagegroup | ||
9 | |||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
11 | |||
12 | PACKAGES = "${PN}" | ||
13 | |||
14 | XSERVER ?= "xserver-xorg xf86-video-fbdev xf86-input-evdev" | ||
15 | |||
16 | SUMMARY_${PN} = "X11 display server" | ||
17 | RDEPENDS_${PN} = "\ | ||
18 | ${XSERVER} \ | ||
19 | " | ||
20 | |||
21 | # Allow replacing task-x11-server in meta-oe | ||
22 | RPROVIDES_${PN} = "task-x11-server task-xserver" | ||
23 | RREPLACES_${PN} = "task-x11-server task-xserver" | ||
24 | RCONFLICTS_${PN} = "task-x11-server task-xserver" | ||
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb index e306c08ce2..e89df3aaab 100644 --- a/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb +++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb | |||
@@ -3,15 +3,11 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | LICENSE = "MIT" | 5 | LICENSE = "MIT" |
6 | PR = "r37" | 6 | PR = "r38" |
7 | 7 | ||
8 | inherit packagegroup | 8 | inherit packagegroup |
9 | 9 | ||
10 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 10 | PACKAGES = "${PN} ${PN}-utils" |
11 | |||
12 | PACKAGES = "${PN} ${PN}-xserver ${PN}-utils" | ||
13 | |||
14 | XSERVER ?= "xserver-xorg xf86-video-fbdev xf86-input-evdev" | ||
15 | 11 | ||
16 | # xserver-common, x11-common | 12 | # xserver-common, x11-common |
17 | VIRTUAL-RUNTIME_xserver_common ?= "x11-common" | 13 | VIRTUAL-RUNTIME_xserver_common ?= "x11-common" |
@@ -25,11 +21,6 @@ RDEPENDS_${PN} = "\ | |||
25 | ${PN}-utils \ | 21 | ${PN}-utils \ |
26 | " | 22 | " |
27 | 23 | ||
28 | SUMMARY_${PN}-xserver = "X11 display server" | ||
29 | RDEPENDS_${PN}-xserver = "\ | ||
30 | ${XSERVER} \ | ||
31 | " | ||
32 | |||
33 | SUMMARY_${PN}-utils = "X11 basic utilities and init" | 24 | SUMMARY_${PN}-utils = "X11 basic utilities and init" |
34 | RDEPENDS_${PN}-utils = "\ | 25 | RDEPENDS_${PN}-utils = "\ |
35 | ${VIRTUAL-RUNTIME_xserver_common} \ | 26 | ${VIRTUAL-RUNTIME_xserver_common} \ |
@@ -44,9 +35,6 @@ RDEPENDS_${PN}-utils = "\ | |||
44 | RPROVIDES_${PN} = "task-x11" | 35 | RPROVIDES_${PN} = "task-x11" |
45 | RREPLACES_${PN} = "task-x11" | 36 | RREPLACES_${PN} = "task-x11" |
46 | RCONFLICTS_${PN} = "task-x11" | 37 | RCONFLICTS_${PN} = "task-x11" |
47 | RPROVIDES_${PN}-xserver = "task-x11-server task-xserver" | ||
48 | RREPLACES_${PN}-xserver = "task-x11-server" | ||
49 | RCONFLICTS_${PN}-xserver = "task-x11-server" | ||
50 | RPROVIDES_${PN}-utils = "task-x11-utils" | 38 | RPROVIDES_${PN}-utils = "task-x11-utils" |
51 | RREPLACES_${PN}-utils = "task-x11-utils" | 39 | RREPLACES_${PN}-utils = "task-x11-utils" |
52 | RCONFLICTS_${PN}-utils = "task-x11-utils" | 40 | RCONFLICTS_${PN}-utils = "task-x11-utils" |