summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-09-03 10:34:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-04 12:53:03 +0100
commit4a0bec427741946b7cf82d471508476a645930b9 (patch)
treea16192c3f39b48ca2d9755efb5f0cb894e996e75 /meta
parent5f0c2e3509d154a724367c2a5de274baeae08af8 (diff)
downloadpoky-4a0bec427741946b7cf82d471508476a645930b9.tar.gz
packagegroup-*: add RPROVIDES for backwards compatibility
Allow references to the old task packages to continue to work. This does not add RPROVIDES for everything, just those packages that are likely to have been referred to. (From OE-Core rev: b41c45972a6d359f034615471959c84aee2bc456) 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/recipes-core/packagegroups/packagegroup-base.bb9
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-boot.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-nfs.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-sdk.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb4
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb3
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb3
-rw-r--r--meta/recipes-extended/packagegroups/packagegroup-core-basic.bb7
-rw-r--r--meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb1
-rw-r--r--meta/recipes-gnome/packagegroups/packagegroup-core-sdk-gmae.bb3
-rw-r--r--meta/recipes-gnome/packagegroups/packagegroup-core-standalone-gmae-sdk-target.bb3
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb3
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-gtk-directfb.bb3
-rw-r--r--meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb3
-rw-r--r--meta/recipes-qt/packagegroups/packagegroup-core-qt.bb3
-rw-r--r--meta/recipes-qt/packagegroups/packagegroup-core-qt4e.bb3
-rw-r--r--meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb3
21 files changed, 72 insertions, 0 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
index f151591f18..217830801d 100644
--- a/meta/recipes-core/packagegroups/packagegroup-base.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
@@ -114,6 +114,15 @@ python __anonymous () {
114 114
115 if "3g" in distro_features and not "3g" in machine_features and ("pcmcia" in machine_features or "pci" in machine_features or "usbhost" in machine_features): 115 if "3g" in distro_features and not "3g" in machine_features and ("pcmcia" in machine_features or "pci" in machine_features or "usbhost" in machine_features):
116 d.setVar("ADD_3G", "packagegroup-base-3g") 116 d.setVar("ADD_3G", "packagegroup-base-3g")
117
118 # For backwards compatibility after rename
119 packages = d.getVar("PACKAGES", True).split()
120 packages.remove("packagegroup-distro-base")
121 packages.remove("packagegroup-machine-base")
122 for pkg in packages:
123 d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-base", "task-base"))
124 d.appendVar("RPROVIDES_packagegroup-distro-base", "task-distro-base")
125 d.appendVar("RPROVIDES_packagegroup-machine-base", "task-machine-base")
117} 126}
118 127
119# 128#
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
index 4b1208e5d1..d29dc2befe 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-boot.bb
@@ -18,6 +18,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
18MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" 18MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
19MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= "" 19MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
20 20
21# For backwards compatibility after rename
22RPROVIDES_${PN} = "task-core-boot"
23
21# Distro can override the following VIRTUAL-RUNTIME providers: 24# Distro can override the following VIRTUAL-RUNTIME providers:
22VIRTUAL-RUNTIME_dev_manager ?= "udev" 25VIRTUAL-RUNTIME_dev_manager ?= "udev"
23VIRTUAL-RUNTIME_login_manager ?= "tinylogin" 26VIRTUAL-RUNTIME_login_manager ?= "tinylogin"
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb b/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb
index 0941406940..03f9c12a24 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-nfs.bb
@@ -10,6 +10,9 @@ inherit packagegroup
10 10
11PACKAGES = "${PN}-server" 11PACKAGES = "${PN}-server"
12 12
13# For backwards compatibility after rename
14RPROVIDES_${PN}-server = "task-core-nfs-server"
15
13SUMMARY_${PN}-server = "NFS server" 16SUMMARY_${PN}-server = "NFS server"
14RDEPENDS_${PN}-server = "\ 17RDEPENDS_${PN}-server = "\
15 nfs-utils \ 18 nfs-utils \
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
index c79f09259b..f05e099a58 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
@@ -10,6 +10,9 @@ inherit packagegroup
10 10
11#PACKAGEFUNCS =+ 'generate_sdk_pkgs' 11#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
12 12
13# For backwards compatibility after rename
14RPROVIDES_packagegroup-core-sdk = "task-core-sdk"
15
13RDEPENDS_packagegroup-core-sdk = "\ 16RDEPENDS_packagegroup-core-sdk = "\
14 autoconf \ 17 autoconf \
15 automake \ 18 automake \
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
index 7d71c0cabd..7fa06e959e 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-dropbear.bb
@@ -4,4 +4,7 @@ PR = "r0"
4 4
5inherit packagegroup 5inherit packagegroup
6 6
7# For backwards compatibility after rename
8RPROVIDES_${PN} = "task-core-ssh-dropbear"
9
7RDEPENDS_${PN} = "dropbear" 10RDEPENDS_${PN} = "dropbear"
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb b/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb
index f97b010b1a..3221e8b57d 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-ssh-openssh.bb
@@ -4,4 +4,7 @@ PR = "r0"
4 4
5inherit packagegroup 5inherit packagegroup
6 6
7# For backwards compatibility after rename
8RPROVIDES_${PN} = "task-core-ssh-openssh"
9
7RDEPENDS_${PN} = "openssh" 10RDEPENDS_${PN} = "openssh"
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
index 656c45232f..6af299521d 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
@@ -4,6 +4,10 @@ LICENSE = "MIT"
4 4
5inherit packagegroup 5inherit packagegroup
6 6
7# For backwards compatibility after rename
8RPROVIDES_${PN} = "task-core-standalone-sdk-target"
9RPROVIDES_${PN}-dbg = "task-core-standalone-sdk-target-dbg"
10
7RDEPENDS_${PN} = "\ 11RDEPENDS_${PN} = "\
8 libgcc \ 12 libgcc \
9 libgcc-dev \ 13 libgcc-dev \
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
index a6da660d36..6687b32841 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-debug.bb
@@ -11,6 +11,9 @@ PR = "r1"
11 11
12PACKAGE_ARCH = "${MACHINE_ARCH}" 12PACKAGE_ARCH = "${MACHINE_ARCH}"
13 13
14# For backwards compatibility after rename
15RPROVIDES_${PN} = "task-core-tools-debug"
16
14MTRACE = "" 17MTRACE = ""
15MTRACE_libc-glibc = "libc-mtrace" 18MTRACE_libc-glibc = "libc-mtrace"
16 19
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index 6a69363cdf..931984eb17 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
@@ -9,6 +9,9 @@ inherit packagegroup
9 9
10PACKAGE_ARCH = "${MACHINE_ARCH}" 10PACKAGE_ARCH = "${MACHINE_ARCH}"
11 11
12# For backwards compatibility after rename
13RPROVIDES_${PN} = "task-core-tools-profile"
14
12RRECOMMENDS_${PN} = "\ 15RRECOMMENDS_${PN} = "\
13 perf \ 16 perf \
14 trace-cmd \ 17 trace-cmd \
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
index 1aca97d488..9720e5ac62 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
@@ -9,6 +9,9 @@ inherit packagegroup
9 9
10PACKAGE_ARCH = "${MACHINE_ARCH}" 10PACKAGE_ARCH = "${MACHINE_ARCH}"
11 11
12# For backwards compatibility after rename
13RPROVIDES_${PN} = "task-core-tools-testapps"
14
12# kexec-tools doesn't work on Mips 15# kexec-tools doesn't work on Mips
13KEXECTOOLS ?= "kexec" 16KEXECTOOLS ?= "kexec"
14KEXECTOOLS_mips ?= "" 17KEXECTOOLS_mips ?= ""
diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
index f8e527b591..cb2fb1ad66 100644
--- a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
@@ -7,6 +7,9 @@ inherit cross-canadian packagegroup
7 7
8PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" 8PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
9 9
10# For backwards compatibility after rename
11RPROVIDES_${PN} = "task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
12
10RDEPENDS_${PN} = "\ 13RDEPENDS_${PN} = "\
11 binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \ 14 binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \
12 gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \ 15 gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
index 4e4bcf59c3..30b66c5b4c 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
@@ -19,6 +19,13 @@ PACKAGES = "\
19 packagegroup-core-sys-services \ 19 packagegroup-core-sys-services \
20 " 20 "
21 21
22python __anonymous () {
23 # For backwards compatibility after rename
24 packages = d.getVar("PACKAGES", True).split()
25 for pkg in packages:
26 d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
27}
28
22 29
23RDEPENDS_packagegroup-core-basic = "\ 30RDEPENDS_packagegroup-core-basic = "\
24 packagegroup-core-basic-libs \ 31 packagegroup-core-basic-libs \
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
index 707ccc1201..120326f255 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb
@@ -25,6 +25,7 @@ PACKAGES = "\
25 " 25 "
26 26
27 27
28RPROVIDES_packagegroup-core-lsb = "task-core-lsb"
28RDEPENDS_packagegroup-core-lsb = "\ 29RDEPENDS_packagegroup-core-lsb = "\
29 packagegroup-core-sys-extended \ 30 packagegroup-core-sys-extended \
30 packagegroup-core-db \ 31 packagegroup-core-db \
diff --git a/meta/recipes-gnome/packagegroups/packagegroup-core-sdk-gmae.bb b/meta/recipes-gnome/packagegroups/packagegroup-core-sdk-gmae.bb
index 64b572d6d1..e959c5be6c 100644
--- a/meta/recipes-gnome/packagegroups/packagegroup-core-sdk-gmae.bb
+++ b/meta/recipes-gnome/packagegroups/packagegroup-core-sdk-gmae.bb
@@ -12,6 +12,9 @@ require packagegroup-sdk-gmae.inc
12 12
13PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" 13PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
14 14
15# For backwards compatibility after rename
16RPROVIDES_${PN} = "task-core-sdk-gmae"
17
15RDEPENDS_${PN} = "\ 18RDEPENDS_${PN} = "\
16 packagegroup-core-sdk \ 19 packagegroup-core-sdk \
17 libglade-dev \ 20 libglade-dev \
diff --git a/meta/recipes-gnome/packagegroups/packagegroup-core-standalone-gmae-sdk-target.bb b/meta/recipes-gnome/packagegroups/packagegroup-core-standalone-gmae-sdk-target.bb
index 95067c4637..69c534084e 100644
--- a/meta/recipes-gnome/packagegroups/packagegroup-core-standalone-gmae-sdk-target.bb
+++ b/meta/recipes-gnome/packagegroups/packagegroup-core-standalone-gmae-sdk-target.bb
@@ -12,6 +12,9 @@ require packagegroup-sdk-gmae.inc
12 12
13PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" 13PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
14 14
15# For backwards compatibility after rename
16RPROVIDES_${PN} = "task-core-standalone-gmae-sdk-target"
17
15RDEPENDS_${PN} = "\ 18RDEPENDS_${PN} = "\
16 packagegroup-core-standalone-sdk-target \ 19 packagegroup-core-standalone-sdk-target \
17 libglade-dev \ 20 libglade-dev \
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
index 08dd09029c..37e9a877e1 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-clutter.bb
@@ -13,6 +13,9 @@ PACKAGES = "\
13 ${PN}-core \ 13 ${PN}-core \
14 " 14 "
15 15
16# For backwards compatibility after rename
17RPROVIDES_${PN}-core = "task-core-clutter-core"
18
16SUMMARY_${PN}-core = "Clutter graphics library" 19SUMMARY_${PN}-core = "Clutter graphics library"
17RDEPENDS_${PN}-core = "\ 20RDEPENDS_${PN}-core = "\
18 clutter-1.8 \ 21 clutter-1.8 \
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-gtk-directfb.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-gtk-directfb.bb
index 6d92a38bc5..d6c29853eb 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-gtk-directfb.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-gtk-directfb.bb
@@ -4,6 +4,9 @@ LICENSE = "MIT"
4 4
5inherit packagegroup 5inherit packagegroup
6 6
7# For backwards compatibility after rename
8RPROVIDES_${PN} = "task-core-gtk-directfb-base"
9
7TOUCH = ' ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)}' 10TOUCH = ' ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)}'
8 11
9RDEPENDS_${PN} = " \ 12RDEPENDS_${PN} = " \
diff --git a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
index 75574c11e1..ebae741832 100644
--- a/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
+++ b/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb
@@ -5,6 +5,9 @@ PR = "r0"
5 5
6inherit packagegroup 6inherit packagegroup
7 7
8# For backwards compatibility after rename
9RPROVIDES_${PN} = "task-core-x11-mini task-core-x11-base"
10
8RDEPENDS_${PN} = "\ 11RDEPENDS_${PN} = "\
9 packagegroup-core-x11-xserver \ 12 packagegroup-core-x11-xserver \
10 packagegroup-core-x11-utils \ 13 packagegroup-core-x11-utils \
diff --git a/meta/recipes-qt/packagegroups/packagegroup-core-qt.bb b/meta/recipes-qt/packagegroups/packagegroup-core-qt.bb
index 623a48fdc2..ed13354e46 100644
--- a/meta/recipes-qt/packagegroups/packagegroup-core-qt.bb
+++ b/meta/recipes-qt/packagegroups/packagegroup-core-qt.bb
@@ -10,6 +10,9 @@ inherit packagegroup
10 10
11PACKAGES = "${PN}-demoapps" 11PACKAGES = "${PN}-demoapps"
12 12
13# For backwards compatibility after rename
14RPROVIDES_${PN}-demoapps = "task-core-qt-demos"
15
13QTDEMOS ?= "quicky ${COMMERCIAL_QT} fotowall" 16QTDEMOS ?= "quicky ${COMMERCIAL_QT} fotowall"
14 17
15SUMMARY_${PN}-demoapps = "Qt demo applications" 18SUMMARY_${PN}-demoapps = "Qt demo applications"
diff --git a/meta/recipes-qt/packagegroups/packagegroup-core-qt4e.bb b/meta/recipes-qt/packagegroups/packagegroup-core-qt4e.bb
index 74ae7dd37e..042efb86d1 100644
--- a/meta/recipes-qt/packagegroups/packagegroup-core-qt4e.bb
+++ b/meta/recipes-qt/packagegroups/packagegroup-core-qt4e.bb
@@ -4,6 +4,9 @@ LICENSE = "MIT"
4 4
5inherit packagegroup 5inherit packagegroup
6 6
7# For backwards compatibility after rename
8RPROVIDES_${PN} = "task-qt4e-base"
9
7TOUCH = ' ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)}' 10TOUCH = ' ${@base_contains("MACHINE_FEATURES", "touchscreen", "tslib tslib-calibrate tslib-tests", "",d)}'
8 11
9RDEPENDS_${PN} = " \ 12RDEPENDS_${PN} = " \
diff --git a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
index b3b84e27d9..5d781ae2fe 100644
--- a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
+++ b/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
@@ -12,6 +12,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
12 12
13PACKAGES = "${PN} ${PN}-base ${PN}-apps ${PN}-games" 13PACKAGES = "${PN} ${PN}-base ${PN}-apps ${PN}-games"
14 14
15# For backwards compatibility after rename
16RPROVIDES_${PN} = "task-core-x11-sato"
17
15RDEPENDS_${PN} = "\ 18RDEPENDS_${PN} = "\
16 ${PN}-base \ 19 ${PN}-base \
17 ${PN}-apps \ 20 ${PN}-apps \