diff options
author | Zhou Mingying <zhoumy@cn.fujitsu.com> | 2019-08-20 15:21:03 +0800 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2019-08-29 21:13:23 +0000 |
commit | 3b64743c89c0efc2204350dc7cdcfb14ddbb3ac3 (patch) | |
tree | 37b04464e7fda985fe843b2f29faed24f3ccf9c1 | |
parent | d6fb93412a94c685999b23a574bff66b3be72434 (diff) |
refactor packagegroup-agl-cluster-demo-qtcompositor.bb to make some common pieceshalibut_8.0.2halibut_8.0.1halibut/8.0.2halibut/8.0.18.0.28.0.1
Create the below file in recipes-platform/packagegroups
packagegroup-agl-networking.bb
packagegroup-agl-source-han-sans-ttf-fonts.bb
packagegroup-agl-ttf-fonts.bb
Modify the below bb files to include the new packagegroups
packagegroup-agl-cluster-demo-platform.bb
packagegroup-agl-cluster-demo-qtcompositor.bb
Bug-AGL: SPEC-2731
Signed-off-by: Zhou Mingying <zhoumy@cn.fujitsu.com>
Signed-off-by: Liu Wenlong <liuwl.fnst@cn.fujitsu.com>
Change-Id: I422a45ec7d51df2f8621e3297f60383ceb8d69c1
(cherry picked from commit aa6910c87ec4232588593428e98d8903b4c516bf)
5 files changed, 69 insertions, 31 deletions
diff --git a/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-platform.bb b/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-platform.bb index d639495..3b0c91c 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-platform.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-platform.bb @@ -13,18 +13,11 @@ ALLOW_EMPTY_${PN} = "1" RDEPENDS_${PN} += "\ packagegroup-agl-profile-cluster-qt5 \ + packagegroup-agl-ttf-fonts \ + packagegroup-agl-source-han-sans-ttf-fonts \ + packagegroup-agl-networking \ " -# fonts -TTF_FONTS = " \ - ttf-bitstream-vera \ - ttf-dejavu-sans \ - ttf-dejavu-sans-mono \ - ttf-dejavu-serif \ - source-han-sans-cn-fonts \ - source-han-sans-jp-fonts \ - source-han-sans-tw-fonts \ - " AGL_APPS = " \ cluster-dashboard \ @@ -41,13 +34,6 @@ RDEPENDS_${PN}_append = " \ hmi-debug \ libva-utils \ linux-firmware-ralink \ - connman \ - connman-client \ - connman-tools \ - cluster-connman-conf \ - iproute2 \ - dhcp-client \ - ${TTF_FONTS} \ ${AGL_APPS} \ ${AGL_APIS} \ " diff --git a/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-qtcompositor.bb b/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-qtcompositor.bb index 879248c..cc034d3 100644 --- a/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-qtcompositor.bb +++ b/recipes-platform/packagegroups/packagegroup-agl-cluster-demo-qtcompositor.bb @@ -13,6 +13,8 @@ ALLOW_EMPTY_${PN} = "1" RDEPENDS_${PN} += "\ packagegroup-agl-profile-cluster-qtcompositor \ + packagegroup-agl-ttf-fonts \ + packagegroup-agl-networking \ " AGL_SERVICE = " \ @@ -30,13 +32,6 @@ AGL_SERVICE = " \ SMARTDEVICELINK = "${@bb.utils.contains('DISTRO_FEATURES', 'agl-sdl', \ 'sdl-core', '', d)}" -# fonts -TTF_FONTS = " \ - ttf-bitstream-vera \ - ttf-dejavu-sans \ - ttf-dejavu-sans-mono \ - ttf-dejavu-serif \ - " AGL_APPS = " \ cluster-gauges-qtcompositor \ @@ -45,15 +40,8 @@ AGL_APPS = " \ RDEPENDS_${PN}_append = " \ libva-utils \ linux-firmware-ralink \ - connman \ - connman-client \ - connman-tools \ - cluster-connman-conf \ - iproute2 \ - dhcp-client \ can-utils \ most \ - ${TTF_FONTS} \ ${AGL_SERVICE} \ ${AGL_APPS} \ ${SMARTDEVICELINK} \ diff --git a/recipes-platform/packagegroups/packagegroup-agl-networking.bb b/recipes-platform/packagegroups/packagegroup-agl-networking.bb new file mode 100644 index 0000000..3e89303 --- /dev/null +++ b/recipes-platform/packagegroups/packagegroup-agl-networking.bb @@ -0,0 +1,23 @@ +SUMMARY = "The networking for AGL" +DESCRIPTION = "A set of packages for AGL cluster's networking" + +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-networking \ + " + +ALLOW_EMPTY_${PN} = "1" + + +# fonts +RDEPENDS_${PN}_append = " \ + connman \ + connman-client \ + connman-tools \ + cluster-connman-conf \ + iproute2 \ + dhcp-client \ +" diff --git a/recipes-platform/packagegroups/packagegroup-agl-source-han-sans-ttf-fonts.bb b/recipes-platform/packagegroups/packagegroup-agl-source-han-sans-ttf-fonts.bb new file mode 100644 index 0000000..fb33289 --- /dev/null +++ b/recipes-platform/packagegroups/packagegroup-agl-source-han-sans-ttf-fonts.bb @@ -0,0 +1,20 @@ +SUMMARY = "The Source Han Sans ttf fonts for AGL" +DESCRIPTION = "A set of packages for source Han Sans ttf fonts" + +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-source-han-sans-ttf-fonts \ + " + +ALLOW_EMPTY_${PN} = "1" + + +# fonts +RDEPENDS_${PN}_append = " \ + source-han-sans-cn-fonts \ + source-han-sans-jp-fonts \ + source-han-sans-tw-fonts \ +" diff --git a/recipes-platform/packagegroups/packagegroup-agl-ttf-fonts.bb b/recipes-platform/packagegroups/packagegroup-agl-ttf-fonts.bb new file mode 100644 index 0000000..9a3b578 --- /dev/null +++ b/recipes-platform/packagegroups/packagegroup-agl-ttf-fonts.bb @@ -0,0 +1,21 @@ +SUMMARY = "The ttf fonts for AGL" +DESCRIPTION = "A set of packages for fonts" + +LICENSE = "MIT" + +inherit packagegroup + +PACKAGES = "\ + packagegroup-agl-ttf-fonts \ + " + +ALLOW_EMPTY_${PN} = "1" + + +# fonts +RDEPENDS_${PN}_append = " \ + ttf-bitstream-vera \ + ttf-dejavu-sans \ + ttf-dejavu-sans-mono \ + ttf-dejavu-serif \ +" |