packagegroup: add RPROVIDES/RREPLACES/RCONFLICTS and bump PR to get some upgrade path

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2012-09-04 14:33:50 +02:00 committed by Koen Kooi
parent 21a4be0e36
commit 49e269ecc6
9 changed files with 59 additions and 11 deletions

View File

@ -5,10 +5,15 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
ALLOW_EMPTY = "1"
PR = "r1"
require packagegroup-efl-sdk.inc
PACKAGES = "${PN}"
RPROVIDES_${PN} += "task-efl-sdk"
RREPLACES_${PN} += "task-efl-sdk"
RCONFLICTS_${PN} += "task-efl-sdk"
RDEPENDS_${PN} = "\
packagegroup-core-sdk \
${SDK-EFL} \

View File

@ -5,10 +5,15 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3
ALLOW_EMPTY = "1"
PR = "r1"
require packagegroup-efl-sdk.inc
PACKAGES = "${PN} ${PN}-dbg"
RPROVIDES_${PN} += "task-efl-standalone-sdk-target"
RREPLACES_${PN} += "task-efl-standalone-sdk-target"
RCONFLICTS_${PN} += "task-efl-standalone-sdk-target"
RDEPENDS_${PN} = "\
packagegroup-core-standalone-sdk-target \
${SDK-EFL} \

View File

@ -5,7 +5,7 @@ DESCRIPTION = "Basic task to get a device online"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r9"
PR = "r10"
inherit packagegroup
@ -23,6 +23,9 @@ MACHINE_EXTRA_RRECOMMENDS ?= ""
#
TASK_BASIC_SSHDAEMON ?= "dropbear openssh-sftp openssh-sftp-server"
RPROVIDES_${PN} += "task-basic"
RREPLACES_${PN} += "task-basic"
RCONFLICTS_${PN} += "task-basic"
#
# The section below is designed to match with packagegroup-boot, but doesn't depend on it to allow for more freedom
# when writing image recipes.

View File

@ -2,7 +2,7 @@ DESCRIPTION = "Basic task to get a device booting"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r57"
PR = "r58"
inherit packagegroup
@ -19,6 +19,10 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
# Make sure we build the kernel
DEPENDS = "virtual/kernel"
RPROVIDES_${PN} += "task-boot"
RREPLACES_${PN} += "task-boot"
RCONFLICTS_${PN} += "task-boot"
#
# minimal set of packages - needed to boot
#

View File

@ -4,12 +4,19 @@ SECTION = "console"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "1.0"
PR = "r19"
PR = "r20"
inherit packagegroup allarch
PACKAGES += "${PN}-debug"
RPROVIDES_${PN} += "task-cli-tools"
RPROVIDES_${PN}-debug += "task-cli-tools-debug"
RREPLACES_${PN} += "task-cli-tools"
RREPLACES_${PN}-debug += "task-cli-tools-debug"
RCONFLICTS_${PN} += "task-cli-tools"
RCONFLICTS_${PN}-debug += "task-cli-tools-debug"
RDEPENDS_${PN} = "\
dbus-daemon-proxy \
dosfstools \

View File

@ -2,9 +2,13 @@ DESCRIPTION = "Packages required for a target (on-device) SDK"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r1"
inherit packagegroup allarch
RPROVIDES_${PN} = "packagegroup-native-sdk"
RPROVIDES_${PN} += "packagegroup-native-sdk task-sdk-target task-native-sdk"
RREPLACES_${PN} += "packagegroup-native-sdk task-sdk-target task-native-sdk"
RCONFLICTS_${PN} += "packagegroup-native-sdk task-sdk-target task-native-sdk"
RDEPENDS_${PN} = "gcc-symlinks g++-symlinks cpp cpp-symlinks \
binutils-symlinks \
perl-modules \

View File

@ -3,7 +3,7 @@ SECTION = "fonts"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "1.0"
PR = "r1"
PR = "r2"
inherit packagegroup allarch
@ -12,14 +12,26 @@ PACKAGES += "\
${PN}-chinese \
${PN}-japanese \
"
RPROVIDES_${PN} += "task-fonts-truetype"
RPROVIDES_${PN}-core += "task-fonts-truetype-core"
RPROVIDES_${PN}-chinese += "task-fonts-truetype-chinese"
RPROVIDES_${PN}-japanese += "task-fonts-truetype-japanese"
RREPLACES_${PN} += "task-fonts-truetype"
RREPLACES_${PN}-core += "task-fonts-truetype-core"
RREPLACES_${PN}-chinese += "task-fonts-truetype-chinese"
RREPLACES_${PN}-japanese += "task-fonts-truetype-japanese"
RCONFLICTS_${PN} += "task-fonts-truetype"
RCONFLICTS_${PN}-core += "task-fonts-truetype-core"
RCONFLICTS_${PN}-chinese += "task-fonts-truetype-chinese"
RCONFLICTS_${PN}-japanese += "task-fonts-truetype-japanese"
RRECOMMENDS_packagegroup-fonts-truetype = "\
RRECOMMENDS_${PN} = "\
${PN}-core \
${PN}-chinese \
${PN}-japanese \
"
RDEPENDS_packagegroup-fonts-truetype-core = "\
RDEPENDS_${PN}-core = "\
fontconfig-utils \
\
ttf-dejavu-common \
@ -28,12 +40,12 @@ RDEPENDS_packagegroup-fonts-truetype-core = "\
"
# ttf-dejavu-serif \
RDEPENDS_packagegroup-fonts-truetype-chinese = "\
RDEPENDS_${PN}-chinese = "\
${PN}-core \
ttf-arphic-uming \
"
RDEPENDS_packagegroup-fonts-truetype-japanese = "\
RDEPENDS_${PN}-japanese = "\
${PN}-core \
ttf-sazanami-gothic \
ttf-sazanami-mincho \

View File

@ -2,10 +2,14 @@ DESCRIPTION = "All packages required for a base installation of XFCE"
SECTION = "x11/wm"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r2"
PR = "r3"
inherit packagegroup
RPROVIDES_${PN} += "task-xfce-base"
RREPLACES_${PN} += "task-xfce-base"
RCONFLICTS_${PN} += "task-xfce-base"
RDEPENDS_${PN} = " \
xfwm4 \
xfwm4-theme-default \

View File

@ -3,10 +3,14 @@ SECTION = "x11/wm"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PR = "r3"
PR = "r4"
inherit packagegroup
RPROVIDES_${PN} += "task-xfce-extended"
RREPLACES_${PN} += "task-xfce-extended"
RCONFLICTS_${PN} += "task-xfce-extended"
# mandatory
RDEPENDS_${PN} = " \
packagegroup-xfce-base \