Poky Project Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Add four variables to eglibc-package.inc for installing packages relating to locale
@ 2011-04-08  8:43 Xiaofeng Yan
  2011-04-08  8:43 ` [PATCH 1/1] eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE Xiaofeng Yan
  2011-04-18 21:25 ` [PATCH 0/1] Add four variables to eglibc-package.inc for installing packages relating to locale Saul Wold
  0 siblings, 2 replies; 4+ messages in thread
From: Xiaofeng Yan @ 2011-04-08  8:43 UTC (permalink / raw)
  To: poky

From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

Because there are thousands of packages about locale which needed by LSB Test Suite in our poky rpms. So for installing them to lsb-image easy I define four variables which instead of thousands of locale packages in list task-poky-lsb.bb

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: xiaofeng/eglibc-package.inc
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/eglibc-package.inc

Thanks,
    Xiaofeng Yan <xiaofeng.yan@windriver.com>
---


Xiaofeng Yan (1):
  eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas,
    eglibc-gconvs and eglibc-charmps to variable PACKAGE

 meta/recipes-core/eglibc/eglibc-package.inc |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE
  2011-04-08  8:43 [PATCH 0/1] Add four variables to eglibc-package.inc for installing packages relating to locale Xiaofeng Yan
@ 2011-04-08  8:43 ` Xiaofeng Yan
  2011-04-08  9:02   ` Leon Woestenberg
  2011-04-18 21:25 ` [PATCH 0/1] Add four variables to eglibc-package.inc for installing packages relating to locale Saul Wold
  1 sibling, 1 reply; 4+ messages in thread
From: Xiaofeng Yan @ 2011-04-08  8:43 UTC (permalink / raw)
  To: poky

From: Xiaofeng Yan <xiaofeng.yan@windriver.com>

The purpose to add above variables is for installing them to lsb-image easy. or not these packages about locale will occupy too much space in list  taks-poky-lsb.bb
eglibc-binarys include packages "eglibc-binary-*"
eglibc-localedatas include packages "eglibc-localedata-*"
eglibc-gconvs include packages "eglibc-gconv-*"
eglibc-charmaps include packages "eglibc-charmap-*"

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
 meta/recipes-core/eglibc/eglibc-package.inc |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 01275aa..0b59d63 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -44,6 +44,26 @@ PACKAGES_DYNAMIC = " \
 		    eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
 		    locale-base-*${PKGSUFFIX}"
 
+# Create a eglibc-binarys
+ALLOW_EMPTY_${PN}-binarys = "1"
+PACKAGES += "${PN}-binarys"
+RRECOMMENDS_${PN}-binarys =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-binary") != -1])}"
+
+# Create a eglibc-charmaps package 
+ALLOW_EMPTY_${PN}-charmaps = "1"
+PACKAGES += "${PN}-charmaps"
+RRECOMMENDS_${PN}-charmaps =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-charmap") != -1])}"
+
+# Create a eglibc-gconvs package 
+ALLOW_EMPTY_${PN}-gconvs = "1"
+PACKAGES += "${PN}-gconvs"
+RRECOMMENDS_${PN}-gconvs =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-gconv") != -1])}"
+
+# Create a eglibc-localedatas package 
+ALLOW_EMPTY_${PN}-localedatas = "1"
+PACKAGES += "${PN}-localedatas"
+RRECOMMENDS_${PN}-localedatas =  "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}"
+
 RPROVIDES_eglibc = "glibc"
 RPROVIDES_eglibc-utils = "glibc-utils"
 RPROVIDES_eglibc-pic = "glibc-pic"
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE
  2011-04-08  8:43 ` [PATCH 1/1] eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE Xiaofeng Yan
@ 2011-04-08  9:02   ` Leon Woestenberg
  0 siblings, 0 replies; 4+ messages in thread
From: Leon Woestenberg @ 2011-04-08  9:02 UTC (permalink / raw)
  To: Xiaofeng Yan; +Cc: poky

Hello,

On Fri, Apr 8, 2011 at 10:43 AM, Xiaofeng Yan
<xiaofeng.yan@windriver.com> wrote:
>
> The purpose to add above variables is for installing them to lsb-image easy. or not these packages about locale will occupy too much space in list  taks-poky-lsb.bb
> eglibc-binarys include packages "eglibc-binary-*"

Rename eglibc-binary to eglibc-binaries.

Can a native English speaker comment on this pls?

Regards,
-- 
Leon


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1] Add four variables to eglibc-package.inc for installing packages relating to locale
  2011-04-08  8:43 [PATCH 0/1] Add four variables to eglibc-package.inc for installing packages relating to locale Xiaofeng Yan
  2011-04-08  8:43 ` [PATCH 1/1] eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE Xiaofeng Yan
@ 2011-04-18 21:25 ` Saul Wold
  1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-04-18 21:25 UTC (permalink / raw)
  To: Xiaofeng Yan; +Cc: poky

On 04/08/2011 01:43 AM, Xiaofeng Yan wrote:
> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>
> Because there are thousands of packages about locale which needed by LSB Test Suite in our poky rpms. So for installing them to lsb-image easy I define four variables which instead of thousands of locale packages in list task-poky-lsb.bb
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
>    Branch: xiaofeng/eglibc-package.inc
>    Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/eglibc-package.inc
>
> Thanks,
>      Xiaofeng Yan<xiaofeng.yan@windriver.com>
> ---
>
>
> Xiaofeng Yan (1):
>    eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas,
>      eglibc-gconvs and eglibc-charmps to variable PACKAGE
>
>   meta/recipes-core/eglibc/eglibc-package.inc |   20 ++++++++++++++++++++
>   1 files changed, 20 insertions(+), 0 deletions(-)
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
Merged

Thanks
	Sau!



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-18 21:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08  8:43 [PATCH 0/1] Add four variables to eglibc-package.inc for installing packages relating to locale Xiaofeng Yan
2011-04-08  8:43 ` [PATCH 1/1] eglibc-package.inc: Add eglibc-binarys, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE Xiaofeng Yan
2011-04-08  9:02   ` Leon Woestenberg
2011-04-18 21:25 ` [PATCH 0/1] Add four variables to eglibc-package.inc for installing packages relating to locale Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox