* [PATCH 0/1] eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE
@ 2011-08-26 9:29 Xiaofeng Yan
2011-08-26 9:29 ` [PATCH 1/1] " Xiaofeng Yan
0 siblings, 1 reply; 3+ messages in thread
From: Xiaofeng Yan @ 2011-08-26 9:29 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
The above variables lost their function, which caused no locale resources in an lsb image because locale resources were splitted from eglibc-package.inc and put into "eglibc-locale.inc".
For continuing to effect the above variables, I move them from eglibc-package.inc to eglibc-locale.inc.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/eglibc-locale
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/eglibc-locale
Thanks,
Xiaofeng Yan <xiaofeng.yan@windriver.com>
---
Xiaofeng Yan (1):
eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas,
eglibc-gconvs and eglibc-charmps to variable PACKAGE
meta/recipes-core/eglibc/eglibc-locale.inc | 20 ++++++++++++++++++++
meta/recipes-core/eglibc/eglibc-package.inc | 20 --------------------
2 files changed, 20 insertions(+), 20 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE
2011-08-26 9:29 [PATCH 0/1] eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE Xiaofeng Yan
@ 2011-08-26 9:29 ` Xiaofeng Yan
2011-08-30 21:15 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Xiaofeng Yan @ 2011-08-26 9:29 UTC (permalink / raw)
To: openembedded-core
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \
and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and
caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \
eglibc-locale.inc is to make the above variables to take effect.
eglibc-binaries 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-locale.inc | 20 ++++++++++++++++++++
meta/recipes-core/eglibc/eglibc-package.inc | 20 --------------------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/meta/recipes-core/eglibc/eglibc-locale.inc b/meta/recipes-core/eglibc/eglibc-locale.inc
index b8107ee..9424ff5 100644
--- a/meta/recipes-core/eglibc/eglibc-locale.inc
+++ b/meta/recipes-core/eglibc/eglibc-locale.inc
@@ -39,6 +39,26 @@ PACKAGES_DYNAMIC = "locale-base-* \
eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
glibc-gconv-*${PKGSUFFIX} glibc-charmap-* glibc-localedata-* glibc-binary-localedata-*"
+# Create a eglibc-binaries package
+ALLOW_EMPTY_${BPN}-binaries = "1"
+PACKAGES += "${BPN}-binaries"
+RRECOMMENDS_${BPN}-binaries = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-binary") != -1])}"
+
+# Create a eglibc-charmaps package
+ALLOW_EMPTY_${BPN}-charmaps = "1"
+PACKAGES += "${BPN}-charmaps"
+RRECOMMENDS_${BPN}-charmaps = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-charmap") != -1])}"
+
+# Create a eglibc-gconvs package
+ALLOW_EMPTY_${BPN}-gconvs = "1"
+PACKAGES += "${BPN}-gconvs"
+RRECOMMENDS_${BPN}-gconvs = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-gconv") != -1])}"
+
+# Create a eglibc-localedatas package
+ALLOW_EMPTY_${BPN}-localedatas = "1"
+PACKAGES += "${BPN}-localedatas"
+RRECOMMENDS_${BPN}-localedatas = "${@" ".join([p for p in d.getVar('PACKAGES', True).split() if p.find("eglibc-localedata") != -1])}"
+
DESCRIPTION_localedef = "eglibc: compile locale definition files"
# eglibc-gconv is dynamically added into PACKAGES, thus
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 5308bb9..37f9f25 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -22,26 +22,6 @@ PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} ${PN}-utils eglibc-extra-nss${PKGSUFFIX} eglibc-thread-db${PKGSUFFIX} ${PN}-pic ${PN}-dev ${PN}-doc libcidn${PKGSUFFIX} libmemusage${PKGSUFFIX} libsegfault${PKGSUFFIX} ${PN}-pcprofile libsotruss${PKGSUFFIX}"
-# Create a eglibc-binaries
-ALLOW_EMPTY_${PN}-binaries = "1"
-PACKAGES += "${PN}-binaries"
-RRECOMMENDS_${PN}-binaries = "${@" ".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_${PN} = "glibc${PKGSUFFIX}"
RPROVIDES_${PN}-utils = "glibc${PKGSUFFIX}-utils"
RPROVIDES_${PN}-pic = "glibc${PKGSUFFIX}-pic"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE
2011-08-26 9:29 ` [PATCH 1/1] " Xiaofeng Yan
@ 2011-08-30 21:15 ` Richard Purdie
0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-08-30 21:15 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Fri, 2011-08-26 at 17:29 +0800, Xiaofeng Yan wrote:
> From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
>
> There are no locales resources in an lsb image because the locale resources were splitted from eglibc-package.inc \
> and putted into a new file "eglibc-locale.inc". So the above variables lost their function in eglibc-package.inc and
> caused no locale resources in an lsb image. The purpose of moving the above variables from eglibc-package.inc to \
> eglibc-locale.inc is to make the above variables to take effect.
>
> eglibc-binaries 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-locale.inc | 20 ++++++++++++++++++++
> meta/recipes-core/eglibc/eglibc-package.inc | 20 --------------------
> 2 files changed, 20 insertions(+), 20 deletions(-)
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-30 21:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-26 9:29 [PATCH 0/1] eglibc-locale.inc: Add eglibc-binaries, eglibc-localedatas, eglibc-gconvs and eglibc-charmps to variable PACKAGE Xiaofeng Yan
2011-08-26 9:29 ` [PATCH 1/1] " Xiaofeng Yan
2011-08-30 21:15 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.