Re: [OE-core] [PATCH 2/3] lsbinitscripts: Remove original /etc/init.d/functions when building an lsb image

2012-06-17 Thread Xiaofeng Yan
On 2012年06月18日 10:57, Xiaofeng Yan wrote: On 2012年06月15日 22:59, Richard Purdie wrote: On Fri, 2012-06-15 at 17:30 +0800, xiaofeng@windriver.com wrote: From: Xiaofeng Yan The linking will fail when an original functions exist. So remove the original functions when building an lsb image and

Re: [OE-core] [PATCH 2/3] lsbinitscripts: Remove original /etc/init.d/functions when building an lsb image

2012-06-17 Thread Xiaofeng Yan
On 2012年06月15日 22:59, Richard Purdie wrote: On Fri, 2012-06-15 at 17:30 +0800, xiaofeng@windriver.com wrote: From: Xiaofeng Yan The linking will fail when an original functions exist. So remove the original functions when building an lsb image and make functions linking to

Re: [OE-core] [PATCH 1/1] ncurses: Disable parallel make

2012-05-18 Thread Xiaofeng Yan
On 2012年05月17日 20:02, Jason Wessel wrote: On 05/16/2012 09:01 PM, Xiaofeng Yan wrote: On 2012年05月16日 19:02, Saul Wold wrote: On 05/16/2012 01:10 PM, xiaofeng@windriver.com wrote: From: Xiaofeng Yan Ncurses failure non-gplv3 build by race issue. So disable parallel \ make when building

Re: [OE-core] [PATCH 1/1] ncurses: Disable parallel make

2012-05-17 Thread Xiaofeng Yan
On 2012年05月17日 20:02, Jason Wessel wrote: On 05/16/2012 09:01 PM, Xiaofeng Yan wrote: On 2012年05月16日 19:02, Saul Wold wrote: On 05/16/2012 01:10 PM, xiaofeng@windriver.com wrote: From: Xiaofeng Yan Ncurses failure non-gplv3 build by race issue. So disable parallel \ make when building

Re: [OE-core] [PATCH 1/1] ncurses: Disable parallel make

2012-05-16 Thread Xiaofeng Yan
On 2012年05月16日 19:02, Saul Wold wrote: On 05/16/2012 01:10 PM, xiaofeng@windriver.com wrote: From: Xiaofeng Yan Ncurses failure non-gplv3 build by race issue. So disable parallel \ make when building this package. This is not the best approach as you disable PARALLEL_MAKE for both non

Re: [OE-core] [PATCH 1/1] archiver.bbclass: Add default set

2012-05-14 Thread Xiaofeng Yan
On 2012年05月11日 22:14, Chris Larson wrote: On Fri, May 11, 2012 at 3:13 AM, wrote: diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 59b58f4..a720db2 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass @@ -6,6 +6,10 @@ ARCHIVE_EXCLUDE_FRO

[OE-core] [PATCH 2/2] gdk-pixbuf: Add --with-x11 when building lsb image

2012-05-11 Thread Xiaofeng Yan
From: Xiaofeng Yan LSB Test Suite complains "No library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. Use the linuxstdbase override and also make it conditional on x11 \ being in DISTRO_FEATURES for passing lsb test. Split lib

[OE-core] [PATCH 1/2] task-core-lsb: Add libgdk-pixbuf-xlib to core-image-lsb

2012-05-11 Thread Xiaofeng Yan
From: Xiaofeng Yan LSB Test Suite complains "No library libgdk_pixbuf_xlib-2.0.so.0" \ which are created by gdk-pixbuf_2.24.1.bb. So add this library to core-image-lsb for passing lsb test. Signed-off-by: Xiaofeng Yan --- meta/recipes-extended/tasks/task-core-lsb.bb |7 +++---

[OE-core] [PATCH 0/2]gdk-pixbuf: Add --with-x11 when building lsb image

2012-05-11 Thread Xiaofeng Yan
From: Xiaofeng Yan This is V3 for fixing bug 2284. I made some modification according to Richard's suggestion. The following was Richard's suggestion: We should be using the linuxstdbase override and also make it conditional on x11 being in DISTRO_FEATURES. Split xlib to a sing

Re: [OE-core] [PATCH 1/1] gdk-pixbuf: Add --with-x11 when building lsb image

2012-04-27 Thread Xiaofeng Yan
On 2012年04月27日 18:58, Richard Purdie wrote: On Fri, 2012-04-27 at 16:39 +0800, Xiaofeng Yan wrote: From: Xiaofeng Yan LSB Test Suite complain "no library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. Use the linuxstdbase overr

[OE-core] [PATCH 1/1] gdk-pixbuf: Add --with-x11 when building lsb image

2012-04-27 Thread Xiaofeng Yan
From: Xiaofeng Yan LSB Test Suite complain "no library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. Use the linuxstdbase override and also make it conditional on x11 being in DISTRO_FEATURES for passing lsb test [YOCTO #

[OE-core] [PATCH 0/1] gdk-pixbuf: Add --with-x11 when building lsb image

2012-04-27 Thread Xiaofeng Yan
From: Xiaofeng Yan Hi Richard, This is V2 for fixing bug 2284. I made some modification according to your suggestion. Please review it again. The following was your suggestion: We should be using the linuxstdbase override and also make it conditional on x11 being in DISTRO_FEATURES. Pull

Re: [OE-core] [PATCH 1/1] gdk-pixbuf: Add --with-x11 when building lsb image

2012-04-24 Thread Xiaofeng Yan
On 2012年04月24日 15:29, Richard Purdie wrote: On Tue, 2012-04-24 at 08:29 +0200, Koen Kooi wrote: Op 24 apr. 2012, om 08:12 heeft Xiaofeng Yan het volgende geschreven: On 2012年04月24日 13:53, Koen Kooi wrote: Op 24 apr. 2012, om 07:50 heeft Xiaofeng Yan het volgende geschreven: From: Xiaofeng

Re: [OE-core] [PATCH 1/1] gdk-pixbuf: Add --with-x11 when building lsb image

2012-04-23 Thread Xiaofeng Yan
On 2012?04?24? 13:53, Koen Kooi wrote: Op 24 apr. 2012, om 07:50 heeft Xiaofeng Yan het volgende geschreven: From: Xiaofeng Yan LSB Test Suite complain "no library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. For pa

[OE-core] [PATCH 0/1]:gdk-pixbuf: Add --with-x11 when building lsb image

2012-04-23 Thread Xiaofeng Yan
From: Xiaofeng Yan LSB Test Suite complain "no library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. For passing lsb test I add PACKAGECONFIG support to the recipe and \ have poky-lsb turn on the poky-lsb distro for this re

[OE-core] [PATCH 1/1] gdk-pixbuf: Add --with-x11 when building lsb image

2012-04-23 Thread Xiaofeng Yan
From: Xiaofeng Yan LSB Test Suite complain "no library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. For passing lsb test I add PACKAGECONFIG support to the recipe and \ have poky-lsb turn on the poky-lsb distro for this recipe. [

[OE-core] [PATCH 1/1] archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver

2012-04-10 Thread Xiaofeng Yan
From: Xiaofeng Yan When running "bitbake core-imamge-minmal", the error information like the following will appear: ERROR: Error executing a python function in /buildarea2/yzhao-test/poky-test/meta/recipes-core/zlib/zlib_1.2.6.bb: IOError: [Errno 2] No such file or directory: &#

[OE-core] [PATCH 0/1] archiver.bbclass: Amend the problem for moving tarballs in ${DL_DIR} to ${DEPLOY_DIR}/source when enable archiver

2012-04-10 Thread Xiaofeng Yan
From: Xiaofeng Yan When running "bitbake core-imamge-minmal", error information like the following will appear: ERROR: Error executing a python function in /buildarea2/yzhao-test/poky-test/meta/recipes-core/zlib/zlib_1.2.6.bb: IOError: [Errno 2] No such file or directory: '/b

[OE-core] [PATCH 0/1] opkg: Add the condition for the content of arch.conf when enable multilib

2012-04-09 Thread Xiaofeng Yan
From: Xiaofeng Yan After successfully installed some lib32 multilib packages into the x86-64 image, we just found that the file content of /var/lib/opkg/status in rootfs changed after the very 1st boot, many lib32 related packages information are missing in that file. The missing arch "x8

[OE-core] [PATCH 1/1] opkg: Add the condition for the content of arch.conf when enable multilib

2012-04-09 Thread Xiaofeng Yan
From: Xiaofeng Yan After successfully installed some lib32 multilib packages into the x86-64 image, we just found that the file content of /var/lib/opkg/status in rootfs changed after the very 1st boot, many lib32 related packages information are missing in that file. The missing arch "x8

[OE-core] [PATCH 1/1] archiver.bbclass: enhance code readability

2012-04-01 Thread Xiaofeng Yan
From: Xiaofeng Yan The modification is as follow: - Modify some codes with more preferable readability and vague description. - Use existed functions instead of custom functions. Signed-off-by: Xiaofeng Yan --- meta/classes/archiver.bbclass | 227 +++- 1

[OE-core] [PATCH 0/1] archiver.bbclass: enhance code readability

2012-04-01 Thread Xiaofeng Yan
From: Xiaofeng Yan Modified code and description according to Christopher Larson's suggestion. This is a part of modification. The modification is as follow: - Modify some codes with more preferable readability and vague description. - Use existed functions instead of custom functions.

Re: [OE-core] [PATCH 5/9] archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts

2012-03-29 Thread Xiaofeng Yan
Thanks for your suggestion very much. I think I understand what you said. The new patches will be pushed to OE-core this week according to your suggestion. On 2012年03月28日 05:27, Chris Larson wrote: On Mon, Mar 26, 2012 at 7:24 PM, Xiaofeng Yan wrote: From: Xiaofeng Yan 1 Archive sources

Re: [OE-core] [PATCH 9/9] local.conf.sample: Add set for archiving packages

2012-03-26 Thread Xiaofeng Yan
On 2012年03月27日 01:04, Richard Purdie wrote: On Mon, 2012-03-26 at 18:49 +0800, Xiaofeng Yan wrote: From: Xiaofeng Yan User can use these variables to get atchiving packages they want. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta-yocto/conf/local.conf.sample | 33

[OE-core] [PATCH 9/9] local.conf.sample.extended: The set for archiving packages

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan User can use these variables to get atchiving packages they want. Signed-off-by: Xiaofeng Yan --- meta-yocto/conf/local.conf.sample.extended | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/meta-yocto/conf

[OE-core] [PATCH 8/9] archive-patched-source.bbclass: Archive patched source

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass inherits archiver.bbclass to archive patched source [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-patched-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive

[OE-core] [PATCH 7/9] archive-configured-source.bbclass: Archive configured source

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass prepares for archiving configured source. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-configured-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive-configured

[OE-core] [PATCH 6/9] archive-original-source.bbclass: Archive original source

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass prepares for archiving original source. If original source is tarball, then copy this tarball to ${DEPLOY_DIR}/sources. If original source is dirctory, then archive this directory to tarball [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive

[OE-core] [PATCH 5/9] archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan 1 Archive sources in ${S} in the different stage (do_unpack,do_patch,do_configure). 2 Archive patches including series 3 Archive logs including scripts (.bb and .inc files) 4 dump environment resources which show all variable and functions used to xxx.showdata.dump when

[OE-core] [PATCH 4/9] package_rpm: Add srpm function to this bbclass

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan Add a new function to archive source, patches and logs to a source rpm package. Every source rpm package will be deployed to ${DEPLOY_DIR}/sources/deploy-srpm [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/package_rpm.bbclass | 53

[OE-core] [PATCH 3/9] src_distributelocal.bbclass: Remove src_distribute_local.bbclass

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass has been merged into archiver.bbclass [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/src_distribute_local.bbclass | 33 - 1 files changed, 0 insertions(+), 33 deletions(-) delete mode 100644 meta/classes

[OE-core] [PATCH 2/9] src_distribute.bbclass: Remove src__distribute.bbclass

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass has been merged into archiver.bbclass [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/src_distribute.bbclass | 49 --- 1 files changed, 0 insertions(+), 49 deletions(-) delete mode 100644 meta/classes

[OE-core] [PATCH 1/9] sourcepkg.bbclass: Remove sourcepkg.bbclass

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass has been merged into archiver.bbclass. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/sourcepkg.bbclass | 107 1 files changed, 0 insertions(+), 107 deletions(-) delete mode 100644 meta/classes

[OE-core] [PATCH 0/9] Realize archiving functions

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan Hi Saul, I have modified archiver.bbclass according to your suggestion. - If the original source is tarball, then copy this package to ${DEPLOY_DIR}/sources - If the original source comes from git, then archive this directory unpacked to tarball If you have any suggestion

[OE-core] [PATCH 9/9] local.conf.sample: Add set for archiving packages

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan User can use these variables to get atchiving packages they want. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta-yocto/conf/local.conf.sample | 33 + 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/meta-yocto/conf

[OE-core] [PATCH 8/9] archive-patched-source.bbclass: Archive patched source

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass inherits archiver.bbclass to archive patched source [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-patched-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive

[OE-core] [PATCH 7/9] archive-configured-source.bbclass: Archive configured source

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass prepares for archiving configured source. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-configured-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive-configured

[OE-core] [PATCH 6/9] archive-original-source.bbclass: Archive original source

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass prepares for archiving original source. If original source is tarball, then copy this tarball to ${DEPLOY_DIR}/sources. If original source is dirctory, then archive this directory to tarball [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive

[OE-core] [PATCH 5/9] archiver.bbclass:

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan 1 Archive sources in ${S} in the different stage (do_unpack,do_patch,do_configure). 2 Archive patches including series 3 Archive logs including scripts (.bb and .inc files) 4 dump environment resources which show all variable and functions used to xxx.showdata.dump when

[OE-core] [PATCH 4/9] package_rpm: Add srpm function to this bbclass

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan Add a new function to archive source, patches and logs to a source rpm package. Every source rpm package will be deployed to ${DEPLOY_DIR}/sources/deploy-srpm [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/package_rpm.bbclass | 53

[OE-core] [PATCH 3/9] src_distributelocal.bbclass: Remove src_distribute_local.bbclass

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass has been merged into archiver.bbclass [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/src_distribute_local.bbclass | 33 - 1 files changed, 0 insertions(+), 33 deletions(-) delete mode 100644 meta/classes

[OE-core] [PATCH 2/9] src_distribute.bbclass: Remove src__distribute.bbclass

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass has been merged into archiver.bbclass [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/src_distribute.bbclass | 49 --- 1 files changed, 0 insertions(+), 49 deletions(-) delete mode 100644 meta/classes

[OE-core] [PATCH 0/9]Realize archiving functions

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan Hi Saul, I have modified archiver.bbclass according to your suggestion. - If the original source is tarball, then copy this package to ${DEPLOY_DIR}/sources - If the original source comes from git, then archive this directory unpacked to tarball If you have any suggestion

[OE-core] [PATCH 1/9] sourcepkg.bbclass: Remove sourcepkg.bbclass

2012-03-26 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass has been merged into archiver.bbclass. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/sourcepkg.bbclass | 107 1 files changed, 0 insertions(+), 107 deletions(-) delete mode 100644 meta/classes

Re: [OE-core] [PATCH 2/7] archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts

2012-03-20 Thread Xiaofeng Yan
On 2012年03月20日 22:41, Saul Wold wrote: On 03/20/2012 03:00 AM, Anders Darander wrote: On Tue, Mar 20, 2012 at 10:49, Xiaofeng Yan wrote: On 2012年03月20日 17:40, Xiaofeng Yan wrote: On 2012年03月20日 16:07, Koen Kooi wrote: Op 20 mrt. 2012, om 06:50 heeft Xiaofeng Yan het volgende geschreven

Re: [OE-core] [PATCH 2/7] archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts

2012-03-20 Thread Xiaofeng Yan
On 2012年03月20日 17:40, Xiaofeng Yan wrote: On 2012年03月20日 16:07, Koen Kooi wrote: Op 20 mrt. 2012, om 06:50 heeft Xiaofeng Yan het volgende geschreven: On 2012年03月20日 05:04, Saul Wold wrote: On 03/15/2012 11:23 PM, Xiaofeng Yan wrote: From: Xiaofeng Yan Why do you rebuild the tarball here

Re: [OE-core] [PATCH 2/7] archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts

2012-03-20 Thread Xiaofeng Yan
On 2012年03月20日 16:07, Koen Kooi wrote: Op 20 mrt. 2012, om 06:50 heeft Xiaofeng Yan het volgende geschreven: On 2012年03月20日 05:04, Saul Wold wrote: On 03/15/2012 11:23 PM, Xiaofeng Yan wrote: From: Xiaofeng Yan Why do you rebuild the tarball here are rename it instead of just copying the

Re: [OE-core] [PATCH 2/7] archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts

2012-03-19 Thread Xiaofeng Yan
On 2012年03月20日 05:04, Saul Wold wrote: On 03/15/2012 11:23 PM, Xiaofeng Yan wrote: From: Xiaofeng Yan 1 Archive sources in ${S} in the different stage (do_unpack,do_patch,do_configure). 2 Archive patches including series 3 Archive logs including scripts (.bb and .inc files) 4 dump

[OE-core] [PATCH 7/7] sourcepkg, src_distribute, src_distribute_local: remove three bbclass

2012-03-15 Thread Xiaofeng Yan
From: Xiaofeng Yan These bbclasses have been merged into archiver.bbclass. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/sourcepkg.bbclass| 107 - meta/classes/src_distribute.bbclass | 49 - meta/classes

[OE-core] [PATCH 6/7] local.conf.sample: Add set for archiving packages

2012-03-15 Thread Xiaofeng Yan
From: Xiaofeng Yan User can use these variables to get atchiving packages they want. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta-yocto/conf/local.conf.sample | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/meta-yocto/conf/local.conf.sample b

[OE-core] [PATCH 5/7] archive-original-source.bbclass: Archive original source

2012-03-15 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass prepares for archiving original source. [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-original-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive-original

[OE-core] [PATCH 4/7] archive-configured-source.bbclass: Archive configured source

2012-03-15 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass prepares for archiving configured source. [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-configured-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive-configured

[OE-core] [PATCH 3/7] archive-patched-source.bbclass: Archive patched source

2012-03-15 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass inherits archiver.bbclass to archive patched source [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-patched-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive

[OE-core] [PATCH 1/7] package_rpm: Add srpm function to this bbclass

2012-03-15 Thread Xiaofeng Yan
From: Xiaofeng Yan Add a new function to archive source, patches and logs to a source rpm package. Every source rpm package will be deployed to ${DEPLOY_DIR}/sources/deploy-srpm. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/package_rpm.bbclass | 47

[OE-core] [PATCH 0/7] Realize archiving functions

2012-03-15 Thread Xiaofeng Yan
From: Xiaofeng Yan Hi Saul & Mark, I made some modification according to your suggestion. This is V3 for bug 1977 I removed the identification case which identify whether series and non-applying patches should be included in tarball or not. The default set include series and non-appl

[OE-core] [PATCH 2/7] archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts

2012-03-15 Thread Xiaofeng Yan
From: Xiaofeng Yan 1 Archive sources in ${S} in the different stage (do_unpack,do_patch,do_configure). 2 Archive patches including series 3 Archive logs including scripts (.bb and .inc files) 4 dump environment resources which show all variable and functions used to xxx.showdata.dump when

Re: [OE-core] [PATCH 2/7] archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts

2012-03-14 Thread Xiaofeng Yan
On 2012年03月14日 10:57, Saul Wold wrote: On 03/13/2012 05:52 AM, Xiaofeng Yan wrote: From: Xiaofeng Yan 1 Archive sources in ${S} in the different stage (do_unpack,do_patch,do_configure). 2 Archive patches including series 3 Archive logs including scripts (.bb and .inc files) 4 dump

Re: [OE-core] [PATCH 1/7] package_rpm: Add srpm function to this bbclass

2012-03-14 Thread Xiaofeng Yan
Hi Saul, Thanks for your detailed comment On 2012年03月14日 07:24, Saul Wold wrote: On 03/13/2012 05:52 AM, Xiaofeng Yan wrote: From: Xiaofeng Yan Add a new function to archive source, patches and logs to a source rpm package. Every source rpm package will be deployed to ${DEPLOY_DIR}/sources

Re: [OE-core] [PATCH 6/7] local.conf.sample: Add set for archiving packages

2012-03-13 Thread Xiaofeng Yan
On 2012年03月14日 10:57, Saul Wold wrote: On 03/13/2012 05:52 AM, Xiaofeng Yan wrote: From: Xiaofeng Yan User can use these variables to get atchiving packages they want. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta-yocto/conf/local.conf.sample | 25 + 1 files

[OE-core] [PATCH 6/7] local.conf.sample: Add set for archiving packages

2012-03-13 Thread Xiaofeng Yan
From: Xiaofeng Yan User can use these variables to get atchiving packages they want. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta-yocto/conf/local.conf.sample | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/meta-yocto/conf

[OE-core] [PATCH 7/7] sourcepkg, src_distribute, src_distribute_local: remove three bbclass

2012-03-13 Thread Xiaofeng Yan
From: Xiaofeng Yan These bbclasses have been merged into archiver.bbclass. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/sourcepkg.bbclass| 107 - meta/classes/src_distribute.bbclass | 49 - meta/classes

[OE-core] [PATCH 5/7] archive-original-source.bbclass: Archive original source

2012-03-13 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass prepares for archiving original source. [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-original-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive-original

[OE-core] [PATCH 4/7] archive-configured-source.bbclass: Archive configured source

2012-03-13 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass prepares for archiving configured source. [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-configured-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive-configured

[OE-core] [PATCH 1/7] package_rpm: Add srpm function to this bbclass

2012-03-13 Thread Xiaofeng Yan
From: Xiaofeng Yan Add a new function to archive source, patches and logs to a source rpm package. Every source rpm package will be deployed to ${DEPLOY_DIR}/sources/deploy-srpm. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/package_rpm.bbclass | 63

[OE-core] [PATCH 2/7] archiver.bbclass: New bbclass for archiving sources, patches, logs and scripts

2012-03-13 Thread Xiaofeng Yan
From: Xiaofeng Yan 1 Archive sources in ${S} in the different stage (do_unpack,do_patch,do_configure). 2 Archive patches including series 3 Archive logs including scripts (.bb and .inc files) 4 dump environment resources which show all variable and functions used to xxx.showdata.dump when

[OE-core] [PATCH 3/7] archive-patched-source.bbclass: Archive patched source

2012-03-13 Thread Xiaofeng Yan
From: Xiaofeng Yan This bbclass inherits archiver.bbclass to archive patched source [#YOCTO 1977] Signed-off-by: Xiaofeng Yan --- meta/classes/archive-patched-source.bbclass | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) create mode 100644 meta/classes/archive

[OE-core] [PATCH 0/7] Realize archiving functions

2012-03-13 Thread Xiaofeng Yan
From: Xiaofeng Yan archiver.bbclass is for archiving sources , patches and logs including .bb and .inc files by configuring conf/local.conf which control what a archiving package should include. For archiving a source rpm package, I add some functions to package_rpm.bbclass. I also merge

Re: [OE-core] [PATCH 2/3] archiver.bbclass: archive sources, patches, logs to tarball

2012-03-13 Thread Xiaofeng Yan
Hi Mark, Thanks for your detailed comment. On 2012年03月13日 02:54, Mark Hatle wrote: Apologies for the very late review... see comments below. All in all it looks good. But I have not applied it and tried it yet. On 3/3/12 4:54 AM, Xiaofeng Yan wrote: From: Xiaofeng Yan Support the following

Re: [OE-core] [Oe-core][PATCH 3/3] archiver_configure.bbclass: configure the content for archiving package

2012-03-12 Thread Xiaofeng Yan
On 2012年03月13日 02:58, Mark Hatle wrote: A few quick comments to match up with the patch 2/3 comments.. On 3/3/12 4:54 AM, Xiaofeng Yan wrote: From: Xiaofeng Yan This is configuration file to point to what content a archive package should include in the different stage of task by pointing to

Re: [OE-core] [PATCH 0/3] Realize archiver.bbclass

2012-03-06 Thread Xiaofeng Yan
On 2012年03月06日 06:28, Saul Wold wrote: On 03/03/2012 02:53 AM, Xiaofeng Yan wrote: From: Xiaofeng Yan archiver.bbclass is for archiving sources , patches and logs including .bb and .inc files by configuring archiver_configure.bbclass which control what a archiving package should include

Re: [OE-core] [Oe-core][PATCH 3/3] archiver_configure.bbclass: configure the content for archiving package

2012-03-06 Thread Xiaofeng Yan
On 2012?03?06? 06:18, Saul Wold wrote: On 03/03/2012 02:54 AM, Xiaofeng Yan wrote: From: Xiaofeng Yan This is configuration file to point to what content a archive package should include in the different stage of task by pointing to different variable and stage. Xiaogeng, You are on the

[OE-core] [PATCH 3/3] libx11-trim: Add error information from LSB Test Suite to makekeys_crosscompile.patch

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan Append error information from LSB Test Suite to this patch for an illustrative purpose \ why this patches should be needed. Signed-off-by: Xiaofeng Yan --- .../libx11-trim-1.4.4/makekeys_crosscompile.patch | 33 +++- 1 files changed, 32 insertions(+), 1

[OE-core] [PATCH 2/3] libx11-1.4.4: Add patch "makekeys_crosscompile.patch"

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan Add patch "makekeys_crosscompile.patch" to libx11-1.4.4 for fixing bug 1970. [YOCTO #1970] Signed-off-by: Xiaofeng Yan --- meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/recipes-gra

[OE-core] [PATCH 1/3] libx11-1.4.4: Add patch makekeys_crosscompile.patch

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan LSB 4.1 complain a host contamination error from libx11 because of absent patch "makekeys_crosscompile.patch" from libx11-trim-1.4.4. The error from LSB Test Suite is as follow: VSW5TESTSUITE PURPOSE 7 Assertion XStringToKeysym-7.(A) When the string argument is the

[OE-core] [PATCH 0/3]

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan LSB report the following information when running lsb test. VSW5TESTSUITE PURPOSE 7 Assertion XStringToKeysym-7.(A) When the string argument is the name of a KeySym in the table with the prefix XK_ removed, then a call to XStringToKeysym returns that KeySym. METH: For each

[OE-core] [PATCH 2/3] archiver.bbclass: archive sources, patches, logs to tarball

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan Support the following functions in this bbclass: 1 Archive sources in ${S} in the different stage to tarball (do_unpack,do_patch,do_configure). 2 Archive patches including series to tarball 3 Archive logs including scripts (.bb and .inc files) to tarball 4 dump environment

[OE-core] [PATCH 1/3] package_rpm.bbclass: Add srpm function

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan Add a new function to archive source, patches and logs to a source rpm package. Every source rpm package will be deployed to ${DEPLOY}/sources/deploy-srpm. [YOCTO #1977] Signed-off-by: Xiaofeng Yan --- meta/classes/package_rpm.bbclass | 54

[OE-core] [Oe-core][PATCH 3/3] archiver_configure.bbclass: configure the content for archiving package

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan This is configuration file to point to what content a archive package should include in the different stage of task by pointing to different variable and stage. [YOCTO #1977] Signed-off-by: Xiaofeng Yan Signed-off-by: Xiaofeng Yan --- meta/classes

[OE-core] [PATCH 0/3] Realize archiver.bbclass

2012-03-03 Thread Xiaofeng Yan
From: Xiaofeng Yan archiver.bbclass is for archiving sources , patches and logs including .bb and .inc files by configuring archiver_configure.bbclass which control what a archiving package should include. For archiving a source rpm package, I add some functions to package_rpm.bbclass. I also

Re: [OE-core] [PATCH 1/2] libx11-1.4.4: Add patch makekeys_crosscompile.patch

2012-02-29 Thread Xiaofeng Yan
On 2012年02月09日 17:06, Paul Menzel wrote: Dear Xiaofeng, Am Donnerstag, den 09.02.2012, 16:05 +0800 schrieb Xiaofeng Yan: From: Xiaofeng Yan LSB 4.1 complain a host contamination error from libx11 because of absent patch "makekeys_crosscompile.patch" from libx11-trim-1.4.4. [Y

Re: [OE-core] Fwd: [oe] Source Archiver Class

2012-02-22 Thread Xiaofeng Yan
On 2012年02月22日 00:57, Saul Wold wrote: On 02/19/2012 10:40 PM, Xiaofeng Yan wrote: On 2012年02月18日 07:52, Saul Wold wrote: Hi Saul, I have implemented the most functions but srpm functions. I will complete the left work(merge functions from sourcepkg, src_distribute to archiver.bbclass

Re: [OE-core] Fwd: [oe] Source Archiver Class

2012-02-19 Thread Xiaofeng Yan
get_source_patches" SOURCE_ARCHIVE_PACKAGE_TYPE = {tar, srpm} SOURCE_ARCHIVE_LOG = {True, False} Please let us know if you have any questions. Sau! If my understanding don't meet your ideas, Please correct me. Thanks for your help very much. Thanks Yan On 02/15/2012 05:19 PM, X

Re: [OE-core] Fwd: [oe] Source Archiver Class

2012-02-15 Thread Xiaofeng Yan
a function to include all of gnu sources and patches in one tarball in archiver.bbclass. On 02/14/2012 08:51 AM, Saul Wold wrote: On 02/13/2012 02:41 AM, Xiaofeng Yan wrote: Hi Saul, I have some issues when I writing design document. The following description is my understanding. I take p

Re: [OE-core] Fwd: [oe] Source Archiver Class

2012-02-13 Thread Xiaofeng Yan
Hi Saul, I have some issues when I writing design document. The following description is my understanding. I take package "zlib" for example . This is a progression list of what the source archives should include: 1 - Original Upstream Archive & Patches - 2 archives (tarballs) $ls zlib

[OE-core] [PATCH 1/2] libx11-1.4.4: Add patch makekeys_crosscompile.patch

2012-02-09 Thread Xiaofeng Yan
From: Xiaofeng Yan LSB 4.1 complain a host contamination error from libx11 because of absent patch "makekeys_crosscompile.patch" from libx11-trim-1.4.4. [YOCTO #1970] Signed-off-by: Xiaofeng Yan --- .../libx11-1.4.4/makekeys_crosscompile.patch | 45 +++

[OE-core] [PATCH 0/2] libx11-1.4.4: add patch "makekeys_crosscompile.patch"

2012-02-09 Thread Xiaofeng Yan
From: Xiaofeng Yan LSB report the following information when running lsb test. VSW5TESTSUITE PURPOSE 7 Assertion XStringToKeysym-7.(A) When the string argument is the name of a KeySym in the table with the prefix XK_ removed, then a call to XStringToKeysym returns that KeySym. METH: For each

[OE-core] [PATCH 2/2] libx11-1.4.4: Add patch "makekeys_crosscompile.patch"

2012-02-09 Thread Xiaofeng Yan
From: Xiaofeng Yan Add patch "makekeys_crosscompile.patch" to libx11-1.4.4 for fixing bug 1970. [YOCTO #1970] Signed-off-by: Xiaofeng Yan --- meta/recipes-graphics/xorg-lib/libx11_1.4.4.bb |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/recipes-gra

Re: [OE-core] [PATCH 2/2] glib-2.0: Add patch "no-check-qsort_r.patch"

2012-02-06 Thread Xiaofeng Yan
On 2012年02月06日 23:33, Khem Raj wrote: On Sun, Feb 5, 2012 at 10:41 PM, Xiaofeng Yan wrote: + file://file://no-check-qsort_r.patch \ really ? ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http

Re: [OE-core] [PATCH 0/2] glib-2.0: Don't check function "qsort_r" in configure.ac

2012-02-06 Thread Xiaofeng Yan
On 2012年02月06日 15:37, Xiaofeng Yan wrote: On 2012年02月06日 15:05, Martin Jansa wrote: On Mon, Feb 06, 2012 at 02:41:09PM +0800, Xiaofeng Yan wrote: From: Xiaofeng Yan The function "g_qsort_with_data" has two kinds of realization. One calls qsort_r from libglib, the other realize i

Re: [OE-core] [PATCH 0/2] glib-2.0: Don't check function "qsort_r" in configure.ac

2012-02-05 Thread Xiaofeng Yan
On 2012年02月06日 15:05, Martin Jansa wrote: On Mon, Feb 06, 2012 at 02:41:09PM +0800, Xiaofeng Yan wrote: From: Xiaofeng Yan The function "g_qsort_with_data" has two kinds of realization. One calls qsort_r from libglib, the other realize itself. the realization method is controlle

[OE-core] [PATCH 2/2] glib-2.0: Add patch "no-check-qsort_r.patch"

2012-02-05 Thread Xiaofeng Yan
From: Xiaofeng Yan Apply this patch for avoiding sort error. Please check no-check-qsort_r.patch for detailed information. Signed-off-by: Xiaofeng Yan --- meta/recipes-core/glib-2.0/glib-2.0_2.30.2.bb |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/meta/recipes-core

[OE-core] [PATCH 1/2] glib-2.0: Don't check function qsort_r

2012-02-05 Thread Xiaofeng Yan
From: Xiaofeng Yan function "g_qsort_with_data" has two kinds of realization. One calls qsort_r from libglib, the other realize itself. qsort_r from libglib cause sort error. For fixing this problem no checking "qsort_r" in configure.ac. [YOCTO #1959] Signed-off-by: Xiaofen

[OE-core] [PATCH 0/2] glib-2.0: Don't check function "qsort_r" in configure.ac

2012-02-05 Thread Xiaofeng Yan
From: Xiaofeng Yan The function "g_qsort_with_data" has two kinds of realization. One calls qsort_r from libglib, the other realize itself. the realization method is controlled by macro "HAVE_QSORT_R". qsort_r from libglib cause sort error. Add no-check-qsort_r.patch for

[OE-core] [PATCH 1/2] init-functions: Add two functions

2012-02-02 Thread Xiaofeng Yan
From: Xiaofeng Yan Add log_begin_msg() and log_end_msg () in init-functions because some startup scripts need them. if there are not two functions, then error information will arise on screen. for example, $ /etc/init.d/avahi-daemon start /etc/init.d/avahi-daemon: line 161: log_begin_msg

[OE-core] [PATCH 0/2] LSB_Setup.sh: Add locale resources and startup avi

2012-02-02 Thread Xiaofeng Yan
From: Xiaofeng Yan Add two parts: 1 Add absent locale resources in LSB_Setup.sh because of a lack of locale resources in core-image-lsb-qt3 when running lsb test. 2 Add avahi-daemon. Function "gethostbyaddr" will search file "/var/run/avahi-daemon/socket" but there i

[OE-core] [PATCH 2/2] LSB_Setup.sh: Add locale resources and startup script avahi-daemon

2012-02-02 Thread Xiaofeng Yan
From: Xiaofeng Yan The purpose of adding locale resources is to resolve bug 1954 because missing locale resources cause many failures. The purpose of adding startup script avahi-daemon is to resolve bug 1907. The detailed description is as follows: No daemon progress "avahi-daemon&

Re: [OE-core] [PATCH 0/2] Add function to package source codes tree to source rpm and tar packages

2012-01-13 Thread Xiaofeng Yan
On 2012年01月13日 04:04, Saul Wold wrote: On 01/07/2012 11:11 PM, Xiaofeng Yan wrote: From: Xiaofeng Yan Add file "tar_archive.bbclass" and modify file "package_rpm.bbclass" for packaging source codes tree to source rpm and tar packages. After adding srpm function in file

[OE-core] [PATCH 3/3] pango.inc: add directory "/etc/pango"

2012-01-12 Thread Xiaofeng Yan
From: Xiaofeng Yan Command "pango-querymodules > /etc/pango/pango.modules" can't work when \ starting up yocto because of no directory "/etc/pango". It will cause \ messy code when gtk-demo running. [YOCTO #1674] Signed-off-by: Xiaofeng Yan --- meta/recipes-gra

[OE-core] [PATCH 1/3] gtk.inc: Change configuration of directfb to gtk-directfb

2012-01-12 Thread Xiaofeng Yan
From: Xiaofeng Yan "direcdtfb" is a wrong configuration in PACKAGECONFIG. It should be "gtk-directfb". PACKAGECONFIG can't select directfb as backend rightly, or else. [YOCTO #1674] Signed-off-by: Xiaofeng Yan --- meta/recipes-gnome/gtk+/gtk+.inc |2 +- 1 fi

[OE-core] [PATCH 2/3] cairo.inc: Change configuration of directfb to gtk-directfb

2012-01-12 Thread Xiaofeng Yan
From: Xiaofeng Yan "direcdtfb" is a wrong configuration in PACKAGECONFIG. It should be "gtk-directfb". PACKAGECONFIG can't select directfb as backend rightly, or else. [YOCTO #1674] Signed-off-by: Xiaofeng Yan --- meta/recipes-graphics/cairo/cairo.inc |

  1   2   3   >