[OE-core] [PATCH 0/1] Dexuan: nspr: fix package splitin

2012-04-13 Thread Dexuan Cui
The following changes since commit f81b0593e74a31cb2d992df0583948ff57e3ed98:

  gdbm: Activate -enable-libgdbm-compat and add symlinks to headers in 
include/gdbm (2012-03-23 17:56:29 +0200)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/master
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Dexuan Cui (1):
  nspr: fix package spliting

 meta/recipes-support/nspr/nspr_4.8.9.bb |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] nspr: fix package spliting

2012-04-13 Thread Dexuan Cui
Here /usr/lib/lib*.so files are binaries rather than symbol links.
We should package them into ${PN} rather than ${PN}-dev, or else,
when a package, that rdepends on nspr, is packaged, we get a
non-dev package rdepends on nspr-dev ERROR.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-support/nspr/nspr_4.8.9.bb |7 ---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/nspr/nspr_4.8.9.bb 
b/meta/recipes-support/nspr/nspr_4.8.9.bb
index 8b840d9..d3c683c 100644
--- a/meta/recipes-support/nspr/nspr_4.8.9.bb
+++ b/meta/recipes-support/nspr/nspr_4.8.9.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
file://configure.in;beginline=3;endline=40;md5=99d4d7d68bbc4
 
file://Makefile.in;beginline=4;endline=38;md5=c2b512182a334e1bfa1edc4d1c84a298 
 SECTION = libs/network
 
-PR = r2
+PR = r3
 
 SRC_URI = 
ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz
 \
file://remove-rpath-from-tests.patch \
@@ -160,6 +160,7 @@ do_install_append() {
 install -m 0755 ${TESTS} ${D}${libdir}/nspr/tests
 }
 
-FILES_${PN} = ${bindir}/*
-FILES_${PN}-dev += ${libdir}/nspr/tests/*
+FILES_${PN} = ${bindir}/* ${libdir}/lib*.so
+FILES_${PN}-dev = ${libdir}/nspr/tests/* ${libdir}/pkgconfig \
+${includedir}/* ${datadir}/aclocal/* 
 FILES_${PN}-dbg += ${libdir}/nspr/tests/.debug/*
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/3] xterm: port the recipe from OE and upgrade to v278

2012-04-05 Thread Dexuan Cui
The recipe is ported from OE:
http://git.openembedded.org/openembedded/tree/recipes/xorg-app/xterm_266.bb

I upgraded it from v266 to v278.
I added LICENSE, LIC_FILES_CHKSUM and updated SRC_URI checksums.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-graphics/xorg-app/xterm_278.bb |   25 +
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-app/xterm_278.bb

diff --git a/meta/recipes-graphics/xorg-app/xterm_278.bb 
b/meta/recipes-graphics/xorg-app/xterm_278.bb
new file mode 100644
index 000..64c8866
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xterm_278.bb
@@ -0,0 +1,25 @@
+require xorg-app-common.inc
+DESCRIPTION = xterm is the standard terminal emulator for the X Window 
System.
+DEPENDS = libxaw xproto xextproto libxext libxau libxpm ncurses
+PR = ${INC_PR}.0
+
+SRC_URI = ftp://invisible-island.net/xterm/${PN}-${PV}.tgz;
+
+LICENSE = MIT  MIT-style
+LIC_FILES_CHKSUM = 
file://package/debian/copyright;md5=d1415419990d510a698de36fb386f797
+
+SRC_URI[md5sum] = 3eeddfe35cb0a2db1924cfe0c20be443
+SRC_URI[sha256sum] = 
1372f9afe07bc35bfd47482db146c649223dadd0b472da31f8c337ab37f90585
+
+EXTRA_OECONF =  --x-includes=${STAGING_INCDIR} \
+ --x-libraries=${STAGING_LIBDIR} \
+ FREETYPE_CONFIG=${STAGING_BINDIR_CROSS}/freetype-config \
+ --disable-imake \
+ --disable-setuid
+
+do_configure() {
+sed -e s%/usr/contrib/X11R6%${STAGING_LIBDIR}%g -i configure
+oe_runconf
+}
+
+FILES_${PN} +=  /usr/lib/X11
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/3] libxaw: move it from meta-demoapps/ into meta/ and upgrade it to 1.0.10

2012-04-05 Thread Dexuan Cui
Add LICENSE and LIC_FILES_CHKSUM;
Add SRC_URI checksums;
Remove do_install_append since 1.0.10's Makefile has done the work.

libxaw is needed by xterm.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../recipes-graphics/xorg-lib/libxaw_1.0.10.bb |   15 +++
 1 files changed, 7 insertions(+), 8 deletions(-)
 rename meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb = 
meta/recipes-graphics/xorg-lib/libxaw_1.0.10.bb (59%)

diff --git a/meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb 
b/meta/recipes-graphics/xorg-lib/libxaw_1.0.10.bb
similarity index 59%
rename from meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb
rename to meta/recipes-graphics/xorg-lib/libxaw_1.0.10.bb
index 489f456..a10577e 100644
--- a/meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb
+++ b/meta/recipes-graphics/xorg-lib/libxaw_1.0.10.bb
@@ -3,16 +3,15 @@ require xorg-lib-common.inc
 DESCRIPTION = X Athena Widget Set
 DEPENDS += xproto virtual/libx11 libxext xextproto libxt libxmu libxpm libxp 
printproto libxau
 PROVIDES = xaw
-PR = r1
-PE = 1
+PR = r0
 
-XORG_PN = libXaw
+LICENSE = MIT  MIT-style
+LIC_FILES_CHKSUM = file://COPYING;md5=1c65719d42900bb81b83e8293c20a364
+
+SRC_URI[md5sum] = f1ea52debce7a18cc26b21647a00ad8b
+SRC_URI[sha256sum] = 
2d96bcf92638b8ec5c91d379f5ec2e7b15133adeb2ba22066d48bf3239ee1bdd
 
-do_install_append () {
-   ln -sf libXaw6.so.6 ${D}${libdir}/libXaw.so.6
-   ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so.7
-   ln -sf libXaw7.so.7 ${D}${libdir}/libXaw.so
-}
+XORG_PN = libXaw
 
 PACKAGES =+ libxaw6 libxaw7 libxaw8
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/3] dexuan: build appliance: install xterm into the target [Apr 6, 2012]

2012-04-05 Thread Dexuan Cui
The following changes since commit a8b5a3ed58d2a136867fc55b53443b59557c6459:

  self-hosted-image: use the correct location of the file sudoers (2012-04-05 
12:01:31 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self

Dexuan Cui (3):
  libxaw: move it from meta-demoapps/ into meta/ and upgrade it to
1.0.10
  xterm: port the recipe from OE and upgrade to v278
  task-self-hosted: install xterm into the target

 meta/recipes-core/tasks/task-self-hosted.bb|3 +-
 meta/recipes-graphics/xorg-app/xterm_278.bb|   25 
 .../recipes-graphics/xorg-lib/libxaw_1.0.10.bb |   15 +--
 3 files changed, 34 insertions(+), 9 deletions(-)
 create mode 100644 meta/recipes-graphics/xorg-app/xterm_278.bb
 rename meta-demoapps/recipes-graphics/xorg-lib/libxaw_1.0.5.bb = 
meta/recipes-graphics/xorg-lib/libxaw_1.0.10.bb (59%)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/3] task-self-hosted: install xterm into the target

2012-04-05 Thread Dexuan Cui
xterm is needed by the Run image functionality of the hob:
See bitbake/lib/bb/ui/crumbs/builder.py's runqemu_image().

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/tasks/task-self-hosted.bb |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/tasks/task-self-hosted.bb 
b/meta/recipes-core/tasks/task-self-hosted.bb
index 87928b6..4fd3070 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -3,7 +3,7 @@
 #
 
 DESCRIPTION = Create Basic Image Tasks
-PR = r7
+PR = r8
 LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
@@ -179,6 +179,7 @@ RDEPENDS_task-self-hosted-extended = \
 wget \
 which \
 xinetd \
+xterm \
 zip \
 zlib \
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] a fix to self-hosted-image: use the correct location of the file sudoers

2012-04-04 Thread Dexuan Cui
The following changes since commit 5607729d9901c394b7cd4db6e38fe7fb19116f39:

  self-hosted-image: Increase space for build and allow builder user sudo 
access (2012-04-04 17:17:55 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/master
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Dexuan Cui (1):
  self-hosted-image: use the correct location of the file sudoers

 meta/recipes-core/images/self-hosted-image.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] self-hosted-image: use the correct location of the file sudoers

2012-04-04 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/images/self-hosted-image.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/images/self-hosted-image.bb 
b/meta/recipes-core/images/self-hosted-image.bb
index 1db6a7a..d8f4162 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -49,7 +49,7 @@ fakeroot do_populate_poky_src () {
chown -R builder.builder  ${IMAGE_ROOTFS}/home/builder/poky
 
# Allow builder to use sudo to setup tap/tun
-   echo builder ALL=(ALL) NOPASSWD: ALL  /etc/sudoers
+   echo builder ALL=(ALL) NOPASSWD: ALL  ${IMAGE_ROOTFS}/etc/sudoers
 }
 
 IMAGE_PREPROCESS_COMMAND += do_populate_poky_src; 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/5] self-hosted-image: renew the poky src's SRCREV that's installed into the target

2012-04-01 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/images/self-hosted-image.bb |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/images/self-hosted-image.bb 
b/meta/recipes-core/images/self-hosted-image.bb
index e962f30..91942ee 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -4,7 +4,7 @@ LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
 
-PR = r7
+PR = r8
 
 CORE_IMAGE_EXTRA_INSTALL = \
 task-self-hosted \
@@ -25,7 +25,7 @@ IMAGE_FSTYPES = vmdk
 
 inherit core-image
 
-SRCREV = 26a46938d3ea1821e7bec4fa6cc8379babad238b
+SRCREV = 8691a588267472eb5a32b978a0eb9ddfd0c91733
 SRC_URI = git://git.yoctoproject.org/poky;protocol=git
 
 fakeroot do_populate_poky_src () {
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/5] self-hosted-image: fix indentation: 8 spaces -- Tab

2012-04-01 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/images/self-hosted-image.bb |   10 +-
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-core/images/self-hosted-image.bb 
b/meta/recipes-core/images/self-hosted-image.bb
index 91942ee..39f0fc4 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -46,12 +46,12 @@ fakeroot do_populate_poky_src () {
echo /usr/bin  ${IMAGE_ROOTFS}/home/builder/poky/build/pseudodone
echo BB_NO_NETWORK = \1\  
${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf
echo INHERIT += \rm_work\  
${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf
-mkdir -p ${IMAGE_ROOTFS}/home/builder/pseudo
-echo export PSEUDO_PREFIX=/usr  
${IMAGE_ROOTFS}/home/builder/.bashrc
-echo export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo  
${IMAGE_ROOTFS}/home/builder/.bashrc
-echo export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64  
${IMAGE_ROOTFS}/home/builder/.bashrc
+   mkdir -p ${IMAGE_ROOTFS}/home/builder/pseudo
+   echo export PSEUDO_PREFIX=/usr  ${IMAGE_ROOTFS}/home/builder/.bashrc
+   echo export PSEUDO_LOCALSTATEDIR=/home/builder/pseudo  
${IMAGE_ROOTFS}/home/builder/.bashrc
+   echo export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64  
${IMAGE_ROOTFS}/home/builder/.bashrc
 
-chown builder.builder ${IMAGE_ROOTFS}/home/builder/pseudo
+   chown builder.builder ${IMAGE_ROOTFS}/home/builder/pseudo
 
chown -R builder.builder  ${IMAGE_ROOTFS}/home/builder/poky
 }
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/5] self-hosted-image: improve do_populate_poky_src

2012-04-01 Thread Dexuan Cui
1) remove the assumption ${DL_DIR} ends with downloads/.
Thanks Paul Eggleton for pointing this out.

2) remove downloads/git2_* tarballs to speed up the rootfs creation.
This is ok since we still have the git2/.
Thanks Richard Purdie for suggesting this.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/images/self-hosted-image.bb |9 +++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/images/self-hosted-image.bb 
b/meta/recipes-core/images/self-hosted-image.bb
index 5aa670d..e962f30 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -4,7 +4,7 @@ LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
 
-PR = r6
+PR = r7
 
 CORE_IMAGE_EXTRA_INSTALL = \
 task-self-hosted \
@@ -37,7 +37,12 @@ fakeroot do_populate_poky_src () {
cp -Rp ${WORKDIR}/git ${IMAGE_ROOTFS}/home/builder/poky
 
mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/conf
-   cp -Rp ${DL_DIR} ${IMAGE_ROOTFS}/home/builder/poky/build
+   mkdir -p ${IMAGE_ROOTFS}/home/builder/poky/build/downloads
+   cp -RpL ${DL_DIR}/* ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/
+
+   # Remove the git2_* tarballs -- this is ok since we still have the 
git2/.
+   rm -rf ${IMAGE_ROOTFS}/home/builder/poky/build/downloads/git2_*
+
echo /usr/bin  ${IMAGE_ROOTFS}/home/builder/poky/build/pseudodone
echo BB_NO_NETWORK = \1\  
${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf
echo INHERIT += \rm_work\  
${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/5] builder: uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKE

2012-04-01 Thread Dexuan Cui
We use sed to enable the 2 settingis in conf/local.conf.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-graphics/builder/builder_0.1.bb   |2 +-
 .../builder/files/builder_hob_start.sh |5 +
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/builder/builder_0.1.bb 
b/meta/recipes-graphics/builder/builder_0.1.bb
index 1324e5b..af6ba51 100644
--- a/meta/recipes-graphics/builder/builder_0.1.bb
+++ b/meta/recipes-graphics/builder/builder_0.1.bb
@@ -1,7 +1,7 @@
 SUMMARY = New user to do specific job
 DESCRIPTION = This recipe create a new user named ${PN}, who is used for 
specific jobs like building. The task can be auto started via mini X
 SECTION = x11
-PR = r1
+PR = r2
 LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e
 
diff --git a/meta/recipes-graphics/builder/files/builder_hob_start.sh 
b/meta/recipes-graphics/builder/files/builder_hob_start.sh
index f43e6c5..98b2adb 100644
--- a/meta/recipes-graphics/builder/files/builder_hob_start.sh
+++ b/meta/recipes-graphics/builder/files/builder_hob_start.sh
@@ -10,6 +10,11 @@ export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64
 
 cd /home/builder/poky
 . ./oe-init-build-env
+
+#uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKE
+sed -i 's/^#BB_NUMBER_THREADS =/BB_NUMBER_THREADS =/g' conf/local.conf
+sed -i 's/^#PARALLEL_MAKE =/PARALLEL_MAKE =/g' conf/local.conf
+
 hob 
 
 matchbox-terminal
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/5] dexuan: more build appliance patches: [Apr 1, 2012]

2012-04-01 Thread Dexuan Cui
BTW:
I added a Upstream-Status: inappropriat into every patches to genext2fs.

With the patches, I only spent about 10~15 minutes to create a 4.5GB
.rootfs.ext3 file by genext2fs.


The following changes since commit 8691a588267472eb5a32b978a0eb9ddfd0c91733:

  cross-canadian.bbclass: fix rpath for sdk executables (2012-03-31 18:00:59 
+0100)

are available in the git repository at:
  git://git.yoctoproject.org/poky-contrib dcui/master
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Dexuan Cui (5):
  genext2fs: support large files and  filesystems without using large
amounts of memory
  self-hosted-image: improve do_populate_poky_src
  self-hosted-image: renew the poky src's SRCREV that's installed into
the target
  builder: uncomment the settings for BB_NUMBER_THREADS and
PARALLEL_MAKE
  self-hosted-image: fix indentation: 8 spaces -- Tab

 meta/recipes-core/images/self-hosted-image.bb  |   21 +-
 ...01-Fix-warnings-remove-some-unused-macros.patch |   72 ++
 .../0002-Add-put_blk-and-put_nod-routines.patch| 1123 
 .../0003-Add-get_blkmap-and-put_blkmap.patch   |  222 
 ...lker-for-walking-through-directory-entrie.patch |  357 +++
 ...05-Make-filesystem-struct-not-an-overloay.patch |  374 +++
 ...0006-Improve-the-efficiency-of-extend_blk.patch |  272 +
 ...ove-hdlinks-into-the-filesystem-structure.patch |  175 +++
 ...t-the-creation-of-the-filesystem-structur.patch |   95 ++
 ...e-byte-swapping-into-the-get-put-routines.patch |  421 
 ...rt-over-to-keeping-the-filesystem-on-disk.patch |  839 +++
 ...les-into-the-filesystem-a-piece-at-a-time.patch |  103 ++
 ...upport-large-file-support-and-rework-hole.patch |  211 
 .../0013-Add-volume-id-support.patch   |   86 ++
 ...014-Remove-unneeded-setting-of-s_reserved.patch |   28 +
 ...-Rework-creating-the-lost-found-directory.patch |   57 +
 ...ix-the-documentation-for-the-new-L-option.patch |   29 +
 .../0017-Fix-file-same-comparison.patch|   30 +
 ...andle-files-changing-while-we-are-working.patch |   89 ++
 ...ke-sure-superblock-is-clear-on-allocation.patch |   42 +
 .../genext2fs-1.4.1/fix-nbblocks-cast.patch|   18 +-
 .../genext2fs/genext2fs-1.4.1/update_to_1.95.patch |  119 ++
 meta/recipes-devtools/genext2fs/genext2fs_1.4.1.bb |   24 +-
 meta/recipes-graphics/builder/builder_0.1.bb   |2 +-
 .../builder/files/builder_hob_start.sh |5 +
 25 files changed, 4795 insertions(+), 19 deletions(-)
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0001-Fix-warnings-remove-some-unused-macros.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0002-Add-put_blk-and-put_nod-routines.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0003-Add-get_blkmap-and-put_blkmap.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0004-Add-a-dirwalker-for-walking-through-directory-entrie.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0005-Make-filesystem-struct-not-an-overloay.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0006-Improve-the-efficiency-of-extend_blk.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0007-Move-hdlinks-into-the-filesystem-structure.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0008-Separate-out-the-creation-of-the-filesystem-structur.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0009-Move-byte-swapping-into-the-get-put-routines.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0010-Convert-over-to-keeping-the-filesystem-on-disk.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0011-Copy-files-into-the-filesystem-a-piece-at-a-time.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0012-Add-rev-1-support-large-file-support-and-rework-hole.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0013-Add-volume-id-support.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0014-Remove-unneeded-setting-of-s_reserved.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0015-Rework-creating-the-lost-found-directory.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0016-Fix-the-documentation-for-the-new-L-option.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0017-Fix-file-same-comparison.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0018-Handle-files-changing-while-we-are-working.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0019-Make-sure-superblock-is-clear-on-allocation.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/update_to_1.95.patch

-- 
1.7.6

[OE-core] [PATCH 0/1] genext2fs: support large files and filesystems without using large amounts of memor

2012-03-28 Thread Dexuan Cui
Hi RP, Saul, Paul, Darren, Mark, Josh and joaohf and all, please comment.

Let's figure out if this big patch is accepatable or not...

With this patch, I can successfully create a 8.5GB .ext3 file with genext2fs.
The speed is slow -- I spent about 1.5 hours.

The following changes since commit 265903bdffb10c95ceaf7a892151a50b67939c71:

  procps: don't print error message with kernel 3.0+ (2012-03-28 10:16:30 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/master
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Dexuan Cui (1):
  genext2fs: support large files and  filesystems without using large
amounts of memory

 ...01-Fix-warnings-remove-some-unused-macros.patch |   70 ++
 .../0002-Add-put_blk-and-put_nod-routines.patch| 1121 
 .../0003-Add-get_blkmap-and-put_blkmap.patch   |  220 
 ...lker-for-walking-through-directory-entrie.patch |  355 +++
 ...05-Make-filesystem-struct-not-an-overloay.patch |  372 +++
 ...0006-Improve-the-efficiency-of-extend_blk.patch |  270 +
 ...ove-hdlinks-into-the-filesystem-structure.patch |  173 +++
 ...t-the-creation-of-the-filesystem-structur.patch |   93 ++
 ...e-byte-swapping-into-the-get-put-routines.patch |  419 
 ...rt-over-to-keeping-the-filesystem-on-disk.patch |  837 +++
 ...les-into-the-filesystem-a-piece-at-a-time.patch |  101 ++
 ...upport-large-file-support-and-rework-hole.patch |  209 
 .../0013-Add-volume-id-support.patch   |   84 ++
 ...014-Remove-unneeded-setting-of-s_reserved.patch |   26 +
 ...-Rework-creating-the-lost-found-directory.patch |   55 +
 ...ix-the-documentation-for-the-new-L-option.patch |   27 +
 .../0017-Fix-file-same-comparison.patch|   28 +
 ...andle-files-changing-while-we-are-working.patch |   87 ++
 ...ke-sure-superblock-is-clear-on-allocation.patch |   40 +
 .../genext2fs-1.4.1/fix-nbblocks-cast.patch|   18 +-
 .../genext2fs/genext2fs-1.4.1/update_to_1.95.patch |  119 +++
 meta/recipes-devtools/genext2fs/genext2fs_1.4.1.bb |   24 +-
 22 files changed, 4738 insertions(+), 10 deletions(-)
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0001-Fix-warnings-remove-some-unused-macros.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0002-Add-put_blk-and-put_nod-routines.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0003-Add-get_blkmap-and-put_blkmap.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0004-Add-a-dirwalker-for-walking-through-directory-entrie.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0005-Make-filesystem-struct-not-an-overloay.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0006-Improve-the-efficiency-of-extend_blk.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0007-Move-hdlinks-into-the-filesystem-structure.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0008-Separate-out-the-creation-of-the-filesystem-structur.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0009-Move-byte-swapping-into-the-get-put-routines.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0010-Convert-over-to-keeping-the-filesystem-on-disk.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0011-Copy-files-into-the-filesystem-a-piece-at-a-time.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0012-Add-rev-1-support-large-file-support-and-rework-hole.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0013-Add-volume-id-support.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0014-Remove-unneeded-setting-of-s_reserved.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0015-Rework-creating-the-lost-found-directory.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0016-Fix-the-documentation-for-the-new-L-option.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0017-Fix-file-same-comparison.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0018-Handle-files-changing-while-we-are-working.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/0019-Make-sure-superblock-is-clear-on-allocation.patch
 create mode 100644 
meta/recipes-devtools/genext2fs/genext2fs-1.4.1/update_to_1.95.patch

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] task-self-hosted: add nfs-utils and nfs-utils-client into the target

2012-03-18 Thread Dexuan Cui
Without this, in the target, we don't have the mount.nfs utility.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/tasks/task-self-hosted.bb |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/tasks/task-self-hosted.bb 
b/meta/recipes-core/tasks/task-self-hosted.bb
index 586a461..d349078 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -3,7 +3,7 @@
 #
 
 DESCRIPTION = Create Basic Image Tasks
-PR = r6
+PR = r7
 LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
@@ -123,6 +123,8 @@ RDEPENDS_task-self-hosted-extended = \
 mtools \
 ncurses \
 neon \
+nfs-utils \
+nfs-utils-client \
 openssl \
 opkg \
 opkg-utils \
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] task-self-hosted: add nfs-utils and nfs-utils-client into the target

2012-03-18 Thread Dexuan Cui
The following changes since commit 0882b5e0adb05d4f950c721fcb80b4cff42ce079:

  self-hosted-image: pre-populate the builder user with poky source (2012-03-19 
09:31:19 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self

Dexuan Cui (1):
  task-self-hosted: add nfs-utils and nfs-utils-client into the target

 meta/recipes-core/tasks/task-self-hosted.bb |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] self-hosted-image: fix bug 2065

2012-03-17 Thread Dexuan Cui
The following changes since commit 26a46938d3ea1821e7bec4fa6cc8379babad238b:

  bitbake/fetch2: Fix typo which broke use of tarballs (2012-03-16 23:44:23 
+)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self

Dexuan Cui (1):
  self-hosted-image: pre-populate the builder user with poky source

 meta/recipes-core/images/self-hosted-image.bb |   23 ++-
 1 files changed, 22 insertions(+), 1 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] self-hosted-image: pre-populate the builder user with poky source

2012-03-17 Thread Dexuan Cui
[YOCTO #2065]

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/images/self-hosted-image.bb |   23 ++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/images/self-hosted-image.bb 
b/meta/recipes-core/images/self-hosted-image.bb
index d56c2cb..7f5173a 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -4,7 +4,7 @@ LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
 
-PR = r5
+PR = r6
 
 CORE_IMAGE_EXTRA_INSTALL = \
 task-self-hosted \
@@ -21,3 +21,24 @@ APPEND += quiet
 IMAGE_FSTYPES = vmdk
 
 inherit core-image
+
+SRCREV = 26a46938d3ea1821e7bec4fa6cc8379babad238b
+SRC_URI = git://git.yoctoproject.org/poky;protocol=git
+
+fakeroot do_populate_poky_src () {
+# Because fetch2's git's unpack uses -s cloneflag, the unpacked git repo
+# will become invalid in the target.
+rm -rf ${WORKDIR}/git/.git
+rm -f ${WORKDIR}/git/.gitignore
+
+cp -Rp ${WORKDIR}/git ${IMAGE_ROOTFS}/home/builder/poky
+chown -R builder.builder  ${IMAGE_ROOTFS}/home/builder/poky
+}
+
+IMAGE_PREPROCESS_COMMAND += do_populate_poky_src; 
+
+python do_get_poky_src () {
+bb.build.exec_func('base_do_fetch', d)
+bb.build.exec_func('base_do_unpack', d)
+}
+addtask do_get_poky_src before do_rootfs
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] a fix to 2067

2012-03-08 Thread Dexuan Cui
The following changes since commit 6bd23e0faf329f086bb4885991ce5f5d095dac56:

  adt-installer: Corrected wrong environment file names. (2012-03-08 12:18:52 
-0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/fix_2067
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/fix_2067

Dexuan Cui (1):
  image_types: ensure .rootfs.ext3 is created before vmdk is created.

 meta/classes/image_types.bbclass |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] image_types: ensure .rootfs.ext3 is created before vmdk is created.

2012-03-08 Thread Dexuan Cui
In the case of self-hosted-image.bb, IMAGE_FSTYPES = vmdk, so the
variables alltypes and subimages don't contain ext3, and  .rootfs.ext3
won't be created, and finally the generated .hddimg and .vmdk don't have
an actual rootfs -- the size of the .vmdk file is only about 9MB.

[YOCTO #2067]

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/classes/image_types.bbclass |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 8b82018..e92f519 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -26,13 +26,19 @@ def get_imagecmds(d):
 # Live and VMDK images will be processed via inheriting
 # bbclass and does not get processed here.
 # vmdk depend on live images also depend on ext3 so ensure its present
+# Note: we need to ensure ext3 is in alltypes, otherwise, subimages may
+# not contain ext3 and the .rootfs.ext3 file won't be created.
 if vmdk in types:
 if ext3 not in types:
 types.append(ext3)
+if ext3 not in alltypes:
+alltypes.append(ext3)
 types.remove(vmdk)
 if live in types:
 if ext3 not in types:
 types.append(ext3)
+if ext3 not in alltypes:
+alltypes.append(ext3)
 types.remove(live)
 
 if d.getVar('IMAGE_LINK_NAME', True):
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] task-self-hosted: add hicolor-icon-theme and socat

2012-02-24 Thread Dexuan Cui
The following changes since commit 31ac02695483943b677f8886e29438a8ed48f208:

  XXX: only for test misc Signed-off-by: Dexuan Cui dexuan@intel.com 
(2012-02-24 21:33:25 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/stage/master_under_test
  
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/stage/master_under_test

Dexuan Cui (1):
  task-self-hosted: add hicolor-icon-theme and socat

 meta/recipes-core/tasks/task-self-hosted.bb |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] task-self-hosted: add hicolor-icon-theme and socat

2012-02-24 Thread Dexuan Cui
python-pygtk depends on libgtk and libgtk's recommends have
gdk-pixbuf-loader-{png,jpeg,gif,xpm}, so we have the warnings.
We can add hicolor-icon-theme to fix the warning:
Configuring gdk-pixbuf-loader-png.
gtk-update-icon-cache: No theme index file.
Configuring gdk-pixbuf-loader-jpeg.
gtk-update-icon-cache: No theme index file.
Configuring liberation-fonts.
Configuring gdk-pixbuf-loader-xpm.
gtk-update-icon-cache: No theme index file.
Configuring gdk-pixbuf-loader-gif.
gtk-update-icon-cache: No theme index file.

Add socat for to faciliate proxy setting.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/tasks/task-self-hosted.bb |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/tasks/task-self-hosted.bb 
b/meta/recipes-core/tasks/task-self-hosted.bb
index 3c5fad6..586a461 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -3,7 +3,7 @@
 #
 
 DESCRIPTION = Create Basic Image Tasks
-PR = r5
+PR = r6
 LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
@@ -109,6 +109,7 @@ RDEPENDS_task-self-hosted-extended = \
 grep \
 groff \
 gzip \
+hicolor-icon-theme \
 libaio \
 libusb1 \
 libxml2 \
@@ -161,6 +162,7 @@ RDEPENDS_task-self-hosted-extended = \
 readline \
 rpm \
 setserial \
+socat \
 subversion \
 sudo \
 sysstat \
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] task-self-hosted: remove duplicate packages

2012-02-22 Thread Dexuan Cui
The package names are specified more than once.
We only need to keep one for each of them, so let's remove the duplicated
ones.
This patch makes no actual change to the functionality of the recipe.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/tasks/task-self-hosted.bb |   11 ---
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/meta/recipes-core/tasks/task-self-hosted.bb 
b/meta/recipes-core/tasks/task-self-hosted.bb
index 1678ac3..c9a8c49 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -30,12 +30,6 @@ RDEPENDS_task-self-hosted = \
 RDEPENDS_task-self-hosted-host-tools = \
 connman \
 connman-plugin-ethernet \
-parted \
-e2fsprogs \
-e2fsprogs-mke2fs \
-e2fsprogs-tune2fs \
-e2fsprogs-e2fsck \
-e2fsprogs-fsck \
 dhcp-client \
 e2fsprogs \
 e2fsprogs-e2fsck \
@@ -65,7 +59,6 @@ RDEPENDS_task-self-hosted-sdk = \
 cpp-symlinks \
 ccache \
 coreutils \
-diffutils \
 distcc \
 eglibc-utils \
 file \
@@ -74,7 +67,6 @@ RDEPENDS_task-self-hosted-sdk = \
 gcc-symlinks \
 g++ \
 g++-symlinks \
-gettext \
 intltool \
 ldd \
 less \
@@ -88,7 +80,6 @@ RDEPENDS_task-self-hosted-sdk = \
 pkgconfig \
 quilt \
 sed \
-tcl \
 
 
 RDEPENDS_task-self-hosted-debug =  \
@@ -100,7 +91,6 @@ RDEPENDS_task-self-hosted-debug =  \
 
 
 RDEPENDS_task-self-hosted-extended = \
-binutils \
 bzip2 \
 chkconfig \
 chrpath \
@@ -134,7 +124,6 @@ RDEPENDS_task-self-hosted-extended = \
 openssl \
 opkg \
 opkg-utils \
-parted \
 patch \
 perl \
 perl-dev \
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2] task-self-hosted: 2 cleanup patches: no actual functional change

2012-02-22 Thread Dexuan Cui
The following changes since commit 04bc2688f0cc0deb9fae5d13619e4e66e886e702:

  misc: only for test. (2012-02-23 10:45:43 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/stage/master_under_test
  
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/stage/master_under_test

Dexuan Cui (2):
  task-self-hosted: remove duplicate packages
  task-self-hosted: make the package lists alphabetical

 meta/recipes-core/tasks/task-self-hosted.bb |   47 ++
 1 files changed, 18 insertions(+), 29 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] task-self-hosted: make the package lists alphabetical

2012-02-22 Thread Dexuan Cui
This patch makes no actual change to the functionality of the recipe.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/tasks/task-self-hosted.bb |   36 +-
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/meta/recipes-core/tasks/task-self-hosted.bb 
b/meta/recipes-core/tasks/task-self-hosted.bb
index c9a8c49..3c5fad6 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -53,20 +53,20 @@ RDEPENDS_task-self-hosted-host-tools = \
 RDEPENDS_task-self-hosted-sdk = \
 autoconf \
 automake \
-binutils-symlinks \
 binutils \
-cpp \
-cpp-symlinks \
+binutils-symlinks \
 ccache \
 coreutils \
+cpp \
+cpp-symlinks \
 distcc \
 eglibc-utils \
 file \
 findutils \
-gcc \
-gcc-symlinks \
 g++ \
 g++-symlinks \
+gcc \
+gcc-symlinks \
 intltool \
 ldd \
 less \
@@ -85,9 +85,9 @@ RDEPENDS_task-self-hosted-sdk = \
 RDEPENDS_task-self-hosted-debug =  \
 gdb \
 gdbserver \
-tcf-agent \
 rsync \
-strace
+strace \
+tcf-agent
 
 
 RDEPENDS_task-self-hosted-extended = \
@@ -101,16 +101,17 @@ RDEPENDS_task-self-hosted-extended = \
 elfutils \
 expat \
 gamin \
+gawk \
 gdbm \
-git \
 gettext \
 gettext-runtime \
+git \
 grep \
 groff \
-gawk \
+gzip \
 libaio \
-libxml2 \
 libusb1 \
+libxml2 \
 lrzsz \
 lsof \
 lzo \
@@ -133,11 +134,13 @@ RDEPENDS_task-self-hosted-extended = \
 python \
 python-compile \
 python-compiler \
+python-compression \
 python-core \
 python-curses \
 python-datetime \
 python-distutils \
 python-elementtree \
+python-email \
 python-fcntl \
 python-logging \
 python-misc \
@@ -145,17 +148,15 @@ RDEPENDS_task-self-hosted-extended = \
 python-netclient \
 python-netserver \
 python-pickle \
+python-pkgutil \
 python-re \
 python-rpm \
 python-shell \
 python-sqlite3 \
 python-subprocess \
 python-textutils \
-python-xmlrpc \
-python-email \
 python-unixadmin \
-python-compression \
-python-pkgutil \
+python-xmlrpc \
 quota \
 readline \
 rpm \
@@ -164,12 +165,11 @@ RDEPENDS_task-self-hosted-extended = \
 sudo \
 sysstat \
 tar \
-gzip \
 tcl \
 texi2html \
 texinfo \
-usbutils \
 unzip \
+usbutils \
 watchdog \
 wget \
 which \
@@ -180,7 +180,7 @@ RDEPENDS_task-self-hosted-extended = \
 
 
 RDEPENDS_task-self-hosted-graphics = \
-python-pygtk \
+builder \
 libgl \
 libgl-dev \
 libglu \
@@ -188,5 +188,5 @@ RDEPENDS_task-self-hosted-graphics = \
 libsdl \
 libsdl-dev \
 libx11-dev \
-builder \
+python-pygtk \
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] syslinux.bbclass: make PROMPT settable

2012-02-17 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/classes/syslinux.bbclass |   11 ++-
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index 1569074..8225c80 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -136,10 +136,6 @@ python build_syslinux_cfg () {
except OSError:
raise bb.build.funcFailed('Unable to open %s' % (cfile))
 
-   # FIXME - the timeout should be settable
-   # And maybe the default too
-   # Definately the prompt
-
cfgfile.write('# Automatically created by OE\n')
 
opts = d.getVar('SYSLINUX_OPTS', 1)
@@ -158,7 +154,12 @@ python build_syslinux_cfg () {
else:
cfgfile.write('TIMEOUT 50\n')
 
-   cfgfile.write('PROMPT 1\n')
+   prompt = d.getVar('SYSLINUX_PROMPT', 1)
+
+   if prompt:
+   cfgfile.write('PROMPT %s\n' % prompt)
+   else:
+   cfgfile.write('PROMPT 1\n')
 
menu = d.getVar('AUTO_SYSLINUXMENU', 1)
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] self-hosted-directdisk-image: create .hdddirect and .vmdk images

2012-02-17 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/classes/boot-directdisk.bbclass   |4 +++-
 meta/conf/machine/include/qemu.inc |2 ++
 .../images/self-hosted-directdisk-image.bb |   15 +++
 3 files changed, 20 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-core/images/self-hosted-directdisk-image.bb

diff --git a/meta/classes/boot-directdisk.bbclass 
b/meta/classes/boot-directdisk.bbclass
index 8879ba8..d0daa82 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -38,7 +38,8 @@ BOOTDD_EXTRA_SPACE ?= 16384
 
 AUTO_SYSLINUXCFG = 1
 LABELS = boot
-APPEND = root=/dev/sda2
+SYSLINUX_ROOT ?= root=/dev/sda2
+APPEND_prepend = ${SYSLINUX_ROOT}
 TIMEOUT = 10
 SYSLINUXCFG  = ${HDDDIR}/syslinux.cfg
 SYSLINUXMENU = ${HDDDIR}/menu
@@ -50,6 +51,7 @@ build_boot_dd() {
 
install -d ${HDDDIR}
install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage ${HDDDIR}/vmlinuz
+   install -m 0644 ${S}/syslinux.cfg ${HDDDIR}/syslinux.cfg
install -m 444 ${STAGING_LIBDIR}/syslinux/ldlinux.sys 
${HDDDIR}/ldlinux.sys
 
BLOCKS=`du -bks ${HDDDIR} | cut -f 1`
diff --git a/meta/conf/machine/include/qemu.inc 
b/meta/conf/machine/include/qemu.inc
index 10ab76e..4897491 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -5,6 +5,8 @@ MACHINE_FEATURES = apm alsa pcmcia bluetooth irda usbgadget 
screen
 
 IMAGE_FSTYPES ?= tar.bz2 ext3
 
+SYSLINUX_ROOT = root=/dev/hda2
+
 ROOT_FLASH_SIZE = 280
 
 # Don't include kernels in standard images
diff --git a/meta/recipes-core/images/self-hosted-directdisk-image.bb 
b/meta/recipes-core/images/self-hosted-directdisk-image.bb
new file mode 100644
index 000..32cba3f
--- /dev/null
+++ b/meta/recipes-core/images/self-hosted-directdisk-image.bb
@@ -0,0 +1,15 @@
+LICENSE = MIT
+LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
+
+ROOTFS = ${DEPLOY_DIR_IMAGE}/self-hosted-image-${MACHINE}.ext3
+SYSLINUX_PROMPT = 0
+inherit boot-directdisk
+
+do_bootdirectdisk[depends] += qemu-native:do_populate_sysroot \
+   self-hosted-image:do_rootfs
+build_boot_dd_append () {
+   ${STAGING_BINDIR_NATIVE}/qemu-img convert -O vmdk \
+   ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdddirect \
+   ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.vmdk
+}
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2] self-hosted-image: 2 new patches from Dexuan: Feb 17, 2012

2012-02-17 Thread Dexuan Cui
Hi Saul, Darren and all,

This is actually v3 of the old patches(self-hosted-image: generate the
.hdddirect and .vmdk image files) I sent 1 month ago.
I'm sorry for sending this out so late, as I was pushed tightly on one other
task... :-(

The new recipe self-hosted-directdisk-image.bb invokes self-hosted-image's
do_rootfs automatically. That is, self-hosted-directdisk-image.bb is an
enhanced version of self-hosted-image.bb.
If we only want to run the generated .ext3 image with runqemu, we can
run bitbake self-hosted-image; if we also want to generated a .vmdk image,
we can run bitbake self-hosted-directdisk-image.

Please comment. Thanks!

-

The following changes since commit 367f34f8bfb816bc396c89c95813246c16a76e1b:

  linux-yocto: enable smp for qemux86 (2012-02-16 13:59:27 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self-hosted-v81
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self-hosted-v81

Dexuan Cui (2):
  syslinux.bbclass: make PROMPT settable
  self-hosted-directdisk-image: create .hdddirect and .vmdk images

 meta/classes/boot-directdisk.bbclass   |4 +++-
 meta/classes/syslinux.bbclass  |   11 ++-
 meta/conf/machine/include/qemu.inc |2 ++
 .../images/self-hosted-directdisk-image.bb |   15 +++
 4 files changed, 26 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-core/images/self-hosted-directdisk-image.bb

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] task-self-hosted: add connman and connman-plugin-ethernet

2012-02-14 Thread Dexuan Cui
Without this, the VMware guest running self-hosted-image can't get IP
address automatically.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/tasks/task-self-hosted.bb |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/tasks/task-self-hosted.bb 
b/meta/recipes-core/tasks/task-self-hosted.bb
index 63fa1cc..1678ac3 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -3,7 +3,7 @@
 #
 
 DESCRIPTION = Create Basic Image Tasks
-PR = r4
+PR = r5
 LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
@@ -28,6 +28,8 @@ RDEPENDS_task-self-hosted = \
 
 
 RDEPENDS_task-self-hosted-host-tools = \
+connman \
+connman-plugin-ethernet \
 parted \
 e2fsprogs \
 e2fsprogs-mke2fs \
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2] self-hosted-image: 2 new patches from Dexuan: Feb 14, 2012

2012-02-14 Thread Dexuan Cui
The following changes since commit 41a83ccfe50ec69425a4828fb5836d38d3f99e67:

  guile: fix cross configure failure (2012-02-10 17:01:42 +)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self-hosted-v8
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self-hosted-v8

Dexuan Cui (2):
  mini-x-session: try to use a resolution that's big enough for hob2's
window
  task-self-hosted: add connman and connman-plugin-ethernet

 meta/recipes-core/tasks/task-self-hosted.bb|4 +++-
 .../mini-x-session/files/mini-x-session|4 
 .../mini-x-session/mini-x-session_0.1.bb   |2 ++
 3 files changed, 9 insertions(+), 1 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [RFC PATCH 0/1] [RFC][PATCH][v2] enhance boot-directdisk.bbclass to generate .vmdk image

2012-01-18 Thread Dexuan Cui
Please review the following changes for suitability for inclusion. If you have
any objections or suggestions for improvement, please respond to the patches. If
you agree with the changes, please provide your Acked-by.

The following changes since commit 468998cddbe1a803096c9b357e1b5daa3b7e8c2e:

  command.py: add parseConfigurationFiles API (2012-01-06 16:01:44 +)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self-hosted-v7
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self-hosted-v7

Dexuan Cui (1):
  self-hosted-image: generate the .hdddirect and .vmdk image files

 meta/classes/boot-directdisk.bbclass  |8 
 meta/conf/machine/include/qemu.inc|2 ++
 meta/recipes-core/images/self-hosted-image.bb |   11 +--
 3 files changed, 19 insertions(+), 2 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [RFC PATCH 1/1][v2] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-18 Thread Dexuan Cui
The self-hosted-image work needs a live-bootable and r/w-able image format.
The existing .iso isn't ok since it's readonly.
The existing .hddimg is not a good choice, since it has a two-option(boot,
install) syslinux function that we don't need: we don't hope a user to be
potentially able to install, and I think it may be not suitble to hack
build_hddimg to hide the install? Moreever, .hddimg is not that
compatibible with some devices and we hope to have the most compatibility.

So I think the .hdddirect format is a good choice and I made this patch to
adopt it and also enhanced boot-directdisk.bbclass to generate .vmdk image so
we can run it on vmware, too.
BTW, currently self-hosted-image is the only user of boot-directdisk.bbclass;
with the adoption of .hdddirect and .vmdk formats, a user can still use
IMAGE_FSTYPES += 'live' to generate the .iso and .hddimg format.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/classes/boot-directdisk.bbclass  |8 
 meta/conf/machine/include/qemu.inc|2 ++
 meta/recipes-core/images/self-hosted-image.bb |   11 +--
 3 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/meta/classes/boot-directdisk.bbclass 
b/meta/classes/boot-directdisk.bbclass
index 8879ba8..7f14225 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -24,6 +24,7 @@ do_bootdirectdisk[depends] += 
dosfstools-native:do_populate_sysroot \
syslinux-native:do_populate_sysroot \
parted-native:do_populate_sysroot \
mtools-native:do_populate_sysroot 
+do_bootdirectdisk[depends] += qemu-native:do_populate_sysroot
 
 PACKAGES =  
 EXCLUDE_FROM_WORLD = 1
@@ -50,6 +51,7 @@ build_boot_dd() {
 
install -d ${HDDDIR}
install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage ${HDDDIR}/vmlinuz
+   install -m 0644 ${S}/syslinux.cfg ${HDDDIR}/syslinux.cfg
install -m 444 ${STAGING_LIBDIR}/syslinux/ldlinux.sys 
${HDDDIR}/ldlinux.sys
 
BLOCKS=`du -bks ${HDDDIR} | cut -f 1`
@@ -83,6 +85,12 @@ build_boot_dd() {
cd ${DEPLOY_DIR_IMAGE}
rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdddirect
ln -s ${IMAGE_NAME}.hdddirect 
${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdddirect
+
+   if [ ${NOVMDK} != 1 ] ; then
+   ${STAGING_BINDIR_NATIVE}/qemu-img convert -O vmdk   \
+   ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdddirect \
+   ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.vmdk
+   fi
 } 
 
 python do_bootdirectdisk() {
diff --git a/meta/conf/machine/include/qemu.inc 
b/meta/conf/machine/include/qemu.inc
index 3cebfab..a5b563b 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -5,6 +5,8 @@ MACHINE_FEATURES = kernel26 apm alsa pcmcia bluetooth irda 
usbgadget screen
 
 IMAGE_FSTYPES ?= tar.bz2 ext3
 
+APPEND_${MACHINE} = root=/dev/hda2
+
 ROOT_FLASH_SIZE = 280
 
 # Don't include kernels in standard images
diff --git a/meta/recipes-core/images/self-hosted-image.bb 
b/meta/recipes-core/images/self-hosted-image.bb
index 111c057..df6c81f 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -6,6 +6,13 @@ POKY_EXTRA_INSTALL = \
 
 IMAGE_FEATURES += x11-mini
 
-inherit core-image
+# Needed by boot-directdisk
+ROOTFS ?= ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3
 
-PR = r2
+inherit core-image boot-directdisk
+
+do_bootimg[depends] += ${INITRD_IMAGE}:do_rootfs
+do_bootimg[depends] += ${IMAGE_BASENAME}:do_rootfs
+do_bootdirectdisk[depends] += ${PN}:do_rootfs
+
+PR = r3
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [RFC PATCH 1/1] self-hosted-image: generate the .hdddirect and .vmdk image files

2012-01-10 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/classes/boot-directdisk.bbclass  |   10 +-
 meta/recipes-core/images/self-hosted-image.bb |   11 +--
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/meta/classes/boot-directdisk.bbclass 
b/meta/classes/boot-directdisk.bbclass
index 8879ba8..83ec929 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -24,6 +24,7 @@ do_bootdirectdisk[depends] += 
dosfstools-native:do_populate_sysroot \
syslinux-native:do_populate_sysroot \
parted-native:do_populate_sysroot \
mtools-native:do_populate_sysroot 
+do_bootdirectdisk[depends] += qemu-native:do_populate_sysroot
 
 PACKAGES =  
 EXCLUDE_FROM_WORLD = 1
@@ -38,7 +39,7 @@ BOOTDD_EXTRA_SPACE ?= 16384
 
 AUTO_SYSLINUXCFG = 1
 LABELS = boot
-APPEND = root=/dev/sda2
+APPEND = root=/dev/hda2
 TIMEOUT = 10
 SYSLINUXCFG  = ${HDDDIR}/syslinux.cfg
 SYSLINUXMENU = ${HDDDIR}/menu
@@ -50,6 +51,7 @@ build_boot_dd() {
 
install -d ${HDDDIR}
install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage ${HDDDIR}/vmlinuz
+   install -m 0644 ${S}/syslinux.cfg ${HDDDIR}/syslinux.cfg
install -m 444 ${STAGING_LIBDIR}/syslinux/ldlinux.sys 
${HDDDIR}/ldlinux.sys
 
BLOCKS=`du -bks ${HDDDIR} | cut -f 1`
@@ -83,6 +85,12 @@ build_boot_dd() {
cd ${DEPLOY_DIR_IMAGE}
rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdddirect
ln -s ${IMAGE_NAME}.hdddirect 
${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdddirect
+
+   if [ ${NOVMDK} != 1 ] ; then
+   ${STAGING_BINDIR_NATIVE}/qemu-img convert -O vmdk   \
+   ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdddirect \
+   ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.vmdk
+   fi
 } 
 
 python do_bootdirectdisk() {
diff --git a/meta/recipes-core/images/self-hosted-image.bb 
b/meta/recipes-core/images/self-hosted-image.bb
index 111c057..df6c81f 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -6,6 +6,13 @@ POKY_EXTRA_INSTALL = \
 
 IMAGE_FEATURES += x11-mini
 
-inherit core-image
+# Needed by boot-directdisk
+ROOTFS ?= ${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3
 
-PR = r2
+inherit core-image boot-directdisk
+
+do_bootimg[depends] += ${INITRD_IMAGE}:do_rootfs
+do_bootimg[depends] += ${IMAGE_BASENAME}:do_rootfs
+do_bootdirectdisk[depends] += ${PN}:do_rootfs
+
+PR = r3
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [RFC PATCH 0/1] [RFC] enhance boot-directdisk.bbclass to generate .vmdk image

2012-01-10 Thread Dexuan Cui
[RFC][PATCH] enhance boot-directdisk.bbclass to generate .vmdk image

The self-hosted-image work needs a live-bootable and r/w-able image format. The 
existing .iso isn't ok since it's readonly.
The existing .hddimg is not a good choice, since it has a 
two-option(boot,install) syslinux function that we don't need: we don't hope a 
user be potentially able to install, and I think it may be not suitble to 
hack build_hddimg to hide the install? Moreever, .hddimg is not that 
compatibible with some devices and we hope to have the most compatibility.

So I think the .hdddirect format is a good choice and I made this patch to 
adopt it and also enhanced boot-directdisk.bbclass to generate .vmdk image so 
we can run it on vmware, too.
BTW, currently self-hosted-image is the only user of boot-directdisk.bbclass; 
with the adoption of .hdddirect and .vmdk formats, a user can still use 
IMAGE_FSTYPES += 'live' to generate the .iso and .hddimg format.

Please give comment. Thanks!

Please review the following changes for suitability for inclusion. If you have
any objections or suggestions for improvement, please respond to the patches. If
you agree with the changes, please provide your Acked-by.

The following changes since commit 468998cddbe1a803096c9b357e1b5daa3b7e8c2e:

  command.py: add parseConfigurationFiles API (2012-01-06 16:01:44 +)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self-hosted-v7
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self-hosted-v7

Dexuan Cui (1):
  self-hosted-image: generate the .hdddirect and .vmdk image files

 meta/classes/boot-directdisk.bbclass  |   10 +-
 meta/recipes-core/images/self-hosted-image.bb |   11 +--
 2 files changed, 18 insertions(+), 3 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] dexuan: Jan 10, 2011: upgrade to distro_tracking_fields

2012-01-09 Thread Dexuan Cui
The following changes since commit a0bfd58a067973188e228b71d10809f71cb2b0c4:

  libxml2: add shared library version info to libxml shared libraries 
(2012-01-09 10:38:52 -0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/manual_check
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/manual_check

Dexuan Cui (1):
  distro_tracking_fields.inc: upgrade tcf-agent

 .../conf/distro/include/distro_tracking_fields.inc |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] mc: fix configure with automake 1.11.2

2012-01-04 Thread Dexuan Cui
The following changes since commit 0ff1d667dc23b0cc903c18f1b5e032c2b6630aae:

  distro: Add poky-tiny distro definition (2012-01-03 21:33:15 +)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/mc
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/mc

Dexuan Cui (1):
  mc:  fix configure with automake 1.11.2

 .../mc/files/fix_for_automake_1.11.2.patch |   69 
 meta/recipes-extended/mc/mc_4.8.1.bb   |3 +-
 2 files changed, 71 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-extended/mc/files/fix_for_automake_1.11.2.patch

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] mc: fix configure with automake 1.11.2

2012-01-04 Thread Dexuan Cui
As Nitin said, automake version 1.11.2 has made use of dir variables
more strict, the pkglibexec var can not have SCRIPTS suffix. Using pkgdata
instead.

Fixes this error:
| contrib/Makefile.am:10: `pkglibexecdir' is not a legitimate directory for 
`SCRIPTS'
| autoreconf: automake failed with exit status: 1
NOTE: package mc-4.8.1-r0: task do_configure: Failed

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../mc/files/fix_for_automake_1.11.2.patch |   69 
 meta/recipes-extended/mc/mc_4.8.1.bb   |3 +-
 2 files changed, 71 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-extended/mc/files/fix_for_automake_1.11.2.patch

diff --git a/meta/recipes-extended/mc/files/fix_for_automake_1.11.2.patch 
b/meta/recipes-extended/mc/files/fix_for_automake_1.11.2.patch
new file mode 100644
index 000..9b610ca
--- /dev/null
+++ b/meta/recipes-extended/mc/files/fix_for_automake_1.11.2.patch
@@ -0,0 +1,69 @@
+Upstream-Status: Pending
+
+As Nitin said, automake version 1.11.2 has made use of dir variables
+more strict, the pkglibexec var can not have SCRIPTS suffix. Using pkgdata
+instead.
+
+Fixes this error:
+| contrib/Makefile.am:10: `pkglibexecdir' is not a legitimate directory for 
`SCRIPTS'
+| autoreconf: automake failed with exit status: 1
+NOTE: package mc-4.8.1-r0: task do_configure: Failed
+
+Signed-off-by: Dexuan Cui dexuan@intel.com
+Wed Jan  4 17:04:47 CST 2012
+
+diff -Nru mc-4.8.1.orig//contrib/Makefile.am mc-4.8.1/contrib/Makefile.am
+--- mc-4.8.1.orig//contrib/Makefile.am 2011-11-30 15:44:40.0 +0800
 mc-4.8.1/contrib/Makefile.am   2012-01-04 17:03:16.926911680 +0800
+@@ -7,7 +7,7 @@
+ SCRIPTS_IN = mc.csh.in mc.sh.in mc-wrapper.csh.in mc-wrapper.sh.in
+ SCRIPTS_OUT = mc.csh mc.sh mc-wrapper.csh mc-wrapper.sh
+ 
+-pkglibexec_SCRIPTS = $(SCRIPTS_OUT)
++pkgdata_SCRIPTS = $(SCRIPTS_OUT)
+ pkglibexecdir =   $(libexecdir)/@PACKAGE@
+ 
+ cfgdir = $(sysconfdir)/@PACKAGE@
+diff -Nru mc-4.8.1.orig//contrib/Makefile.in mc-4.8.1/contrib/Makefile.in
+--- mc-4.8.1.orig//contrib/Makefile.in 2011-12-13 18:10:52.0 +0800
 mc-4.8.1/contrib/Makefile.in   2012-01-04 17:03:16.926911680 +0800
+@@ -112,7 +112,7 @@
+   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+ am__installdirs = $(DESTDIR)$(pkglibexecdir) $(DESTDIR)$(cfgdir)
+-SCRIPTS = $(pkglibexec_SCRIPTS)
++SCRIPTS = $(pkgdata_SCRIPTS)
+ AM_V_GEN = $(am__v_GEN_$(V))
+ am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+ am__v_GEN_0 = @echo   GEN$@;
+@@ -372,7 +372,7 @@
+ noinst_DATA = README.xterm
+ SCRIPTS_IN = mc.csh.in mc.sh.in mc-wrapper.csh.in mc-wrapper.sh.in
+ SCRIPTS_OUT = mc.csh mc.sh mc-wrapper.csh mc-wrapper.sh
+-pkglibexec_SCRIPTS = $(SCRIPTS_OUT)
++pkgdata_SCRIPTS = $(SCRIPTS_OUT)
+ cfgdir = $(sysconfdir)/@PACKAGE@
+ cfg_DATA = \
+   $(LIBFILES_ADD)
+@@ -417,10 +417,10 @@
+ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+   cd $(top_builddir)  $(MAKE) $(AM_MAKEFLAGS) am--refresh
+ $(am__aclocal_m4_deps):
+-install-pkglibexecSCRIPTS: $(pkglibexec_SCRIPTS)
++install-pkglibexecSCRIPTS: $(pkgdata_SCRIPTS)
+   @$(NORMAL_INSTALL)
+   test -z $(pkglibexecdir) || $(MKDIR_P) $(DESTDIR)$(pkglibexecdir)
+-  @list='$(pkglibexec_SCRIPTS)'; test -n $(pkglibexecdir) || list=; \
++  @list='$(pkgdata_SCRIPTS)'; test -n $(pkglibexecdir) || list=; \
+   for p in $$list; do \
+ if test -f $$p; then d=; else d=$(srcdir)/; fi; \
+ if test -f $$d$$p; then echo $$d$$p; echo $$p; else :; fi; \
+@@ -445,7 +445,7 @@
+ 
+ uninstall-pkglibexecSCRIPTS:
+   @$(NORMAL_UNINSTALL)
+-  @list='$(pkglibexec_SCRIPTS)'; test -n $(pkglibexecdir) || exit 0; \
++  @list='$(pkgdata_SCRIPTS)'; test -n $(pkglibexecdir) || exit 0; \
+   files=`for p in $$list; do echo $$p; done | \
+  sed -e 's,.*/,,;$(transform)'`; \
+   test -n $$list || exit 0; \
diff --git a/meta/recipes-extended/mc/mc_4.8.1.bb 
b/meta/recipes-extended/mc/mc_4.8.1.bb
index de7fe7a..b66c170 100644
--- a/meta/recipes-extended/mc/mc_4.8.1.bb
+++ b/meta/recipes-extended/mc/mc_4.8.1.bb
@@ -6,9 +6,10 @@ SECTION = console/utils
 DEPENDS = ncurses glib-2.0
 RDEPENDS_${PN} = ncurses-terminfo
 
-PR = r0
+PR = r1
 
 SRC_URI = http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2;
+SRC_URI += file://fix_for_automake_1.11.2.patch
 
 SRC_URI[md5sum] = 7d60c87d87b359831d976fa28034935e
 SRC_URI[sha256sum] = 
8f9bd09750c65a7786197a8f7e5a10a6dabf8c8737c564079ca393d8ecaf944d
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/6] util-macros: upgrade from 1.15.0 to the latest 1.16.0

2011-12-30 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 ...util-macros_1.15.0.bb = util-macros_1.16.0.bb} |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-util/{util-macros_1.15.0.bb = 
util-macros_1.16.0.bb} (75%)

diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.15.0.bb 
b/meta/recipes-graphics/xorg-util/util-macros_1.16.0.bb
similarity index 75%
rename from meta/recipes-graphics/xorg-util/util-macros_1.15.0.bb
rename to meta/recipes-graphics/xorg-util/util-macros_1.16.0.bb
index d2b04bf..da9c31d 100644
--- a/meta/recipes-graphics/xorg-util/util-macros_1.15.0.bb
+++ b/meta/recipes-graphics/xorg-util/util-macros_1.16.0.bb
@@ -16,5 +16,5 @@ RRECOMMENDS_${PN}-dbg = ${PN}-dev (= ${EXTENDPKGV})
 
 BBCLASSEXTEND = native nativesdk
 
-SRC_URI[md5sum] = c7f0c94126443f6744328a92d2b94cff
-SRC_URI[sha256sum] = 
db05c59c0e7843c398ed2847ba4b5bf54292499e5fcadbb7c38a445bf4347ab8
+SRC_URI[md5sum] = 3f77f0b6452c677d4b5ce9feaea7d15e
+SRC_URI[sha256sum] = 
1387cec5c2e655811e9a60afee7bda1652f8cd97be6c89418566bcf934ff6935
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/6] lttng-ust: upgrade from 0.15 to the latest 0.16

2011-12-30 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-kernel/lttng/fix-powerpc64.patch  |   17 -
 .../lttng/{lttng-ust_0.15.bb = lttng-ust_0.16.bb} |9 -
 2 files changed, 4 insertions(+), 22 deletions(-)
 delete mode 100644 meta/recipes-kernel/lttng/fix-powerpc64.patch
 rename meta/recipes-kernel/lttng/{lttng-ust_0.15.bb = lttng-ust_0.16.bb} (79%)

diff --git a/meta/recipes-kernel/lttng/fix-powerpc64.patch 
b/meta/recipes-kernel/lttng/fix-powerpc64.patch
deleted file mode 100644
index 3c3484c..000
--- a/meta/recipes-kernel/lttng/fix-powerpc64.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Upstream-Status: Submitted
-
-Add bit to detect if we are running on powerpc64 and treat it the
-same as ppc64
-
-Index: ust-0.15/configure.ac
-===
 ust-0.15.orig/configure.ac
-+++ ust-0.15/configure.ac
-@@ -111,6 +111,7 @@ changequote([,])dnl
-   x86_64) LIBFORMAT=elf64-x86-64 ;;
-   powerpc) LIBFORMAT=elf32-powerpc ;;
-   ppc64) LIBFORMAT=elf64-powerpc ;;
-+  powerpc64) LIBFORMAT=elf64-powerpc ;;
-   s390) LIBFORMAT=elf32-s390 ;;
-   s390x) LIBFORMAT=elf64-s390 ;;
- armv5) LIBFORMAT=elf32-littlearm; NO_UNALIGNED_ACCESS=1 ;;
diff --git a/meta/recipes-kernel/lttng/lttng-ust_0.15.bb 
b/meta/recipes-kernel/lttng/lttng-ust_0.16.bb
similarity index 79%
rename from meta/recipes-kernel/lttng/lttng-ust_0.15.bb
rename to meta/recipes-kernel/lttng/lttng-ust_0.16.bb
index 9dd4658..701bda9 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_0.15.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_0.16.bb
@@ -1,7 +1,7 @@
 SUMMARY = Linux Trace Toolkit Userspace Tracer
 DESCRIPTION = The LTTng Userspace Tracer (UST) is a library accompanied by a 
set of tools to trace userspace code
 HOMEPAGE = http://lttng.org/ust;
-BUGTRACKER = n/a
+BUGTRACKER = http://lttng.org/project/issues;
 
 LICENSE = LGPLv2.1+  BSD
 LIC_FILES_CHKSUM = file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \
@@ -10,13 +10,12 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \
 
 DEPENDS = liburcu
 
-PR = r3
+PR = r0
 
 SRC_URI = http://lttng.org/files/ust/releases/ust-${PV}.tar.gz;
-SRC_URI_append_powerpc64 =  file://fix-powerpc64.patch
 
-SRC_URI[md5sum] = 86c71486a70695dc0b2171ad16fc82b3 
-SRC_URI[sha256sum] = 
7ff7ecdc051c0649d5fd21b5ceff4895ca95dc34f14cdc04e50de13cfd1903c5
+SRC_URI[md5sum] = 8e5d5de47bfff29f50439d192ad1e478
+SRC_URI[sha256sum] = 
88167741b1fbf335e006f0208d8c41784705e28adac84df71d3d9f6c58191dab
 
 
 S = ${WORKDIR}/ust-${PV}
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 6/6] distro_tracking_fields.inc: update the info

2011-12-30 Thread Dexuan Cui
They are
mdadm
liburcu
lttng-ust
lttng-control
inputproto
libpciaccess
util-macros
libxi
libx11
libx11-trim
libx11-diet
xkeyboard-config

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../conf/distro/include/distro_tracking_fields.inc |  107 +++-
 1 files changed, 57 insertions(+), 50 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc 
b/meta/conf/distro/include/distro_tracking_fields.inc
index e1b7c1b..e05157e 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -1020,13 +1020,14 @@ RECIPE_MAINTAINER_pn-quota = Dongxiao Xu 
dongxiao...@intel.com
 
 RECIPE_STATUS_pn-mdadm = green
 RECIPE_DEPENDENCY_CHECK_pn-mdadm = not done
-RECIPE_LATEST_VERSION_pn-mdadm = 3.2.2
-RECIPE_NO_OF_PATCHES_pn-mdadm = 0
+RECIPE_LATEST_VERSION_pn-mdadm = 3.2.3
+RECIPE_NO_OF_PATCHES_pn-mdadm = 1
+RECIPE_PATCH_pn-mdadm+mdadm-3.2.2_fix_for_x32 = fix CC's value
 RECIPE_INTEL_SECTION_pn-mdadm = base utils
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mdadm = 2+ months
-RECIPE_LATEST_RELEASE_DATE_pn-mdadm = Jun 17, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mdadm = 4+ months
+RECIPE_LATEST_RELEASE_DATE_pn-mdadm = Dec 23, 2011
 RECIPE_COMMENTS_pn-mdadm = 
-RECIPE_LAST_UPDATE_pn-mdadm = Aug 16, 2011
+RECIPE_LAST_UPDATE_pn-mdadm = Dec 30, 2011
 RECIPE_MAINTAINER_pn-mdadm = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-screen = green
@@ -2891,38 +2892,38 @@ RECIPE_MAINTAINER_pn-tcf-agent = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-liburcu = green
 DISTRO_PN_ALIAS_pn-liburcu = Fedora=userspace-rcu Ubuntu=liburcu0
 RECIPE_DEPENDENCY_CHECK_pn-liburcu = not done
-RECIPE_LATEST_VERSION_pn-liburcu = 0.5.4
+RECIPE_LATEST_VERSION_pn-liburcu = 0.6.7
 RECIPE_NO_OF_PATCHES_pn-liburcu = 0
 RECIPE_INTEL_SECTION_pn-liburcu = libs
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liburcu = 20 hours
-RECIPE_LATEST_RELEASE_DATE_pn-liburcu = Mar 4, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liburcu = 1+ months
+RECIPE_LATEST_RELEASE_DATE_pn-liburcu = Dec 12, 2011
 RECIPE_COMMENTS_pn-liburcu = 
-RECIPE_LAST_UPDATE_pn-liburcu = Apr 20, 2011
+RECIPE_LAST_UPDATE_pn-liburcu = Dec 30, 2011
 RECIPE_MAINTAINER_pn-liburcu = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-lttng-ust = green
 DISTRO_PN_ALIAS_pn-lttng-ust = OSPDT upstream=http://lttng.org/;
 RECIPE_DEPENDENCY_CHECK_pn-lttng-ust = not done
-RECIPE_LATEST_VERSION_pn-lttng-ust = 0.12
+RECIPE_LATEST_VERSION_pn-lttng-ust = 0.16
 RECIPE_NO_OF_PATCHES_pn-lttng-ust = 0
 RECIPE_INTEL_SECTION_pn-lttng-ust = sdk-tools
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-ust = 2 months
-RECIPE_LATEST_RELEASE_DATE_pn-lttng-ust = Mar 15, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-ust = 5 months
+RECIPE_LATEST_RELEASE_DATE_pn-lttng-ust = Dec 15, 2011
 RECIPE_COMMENTS_pn-lttng-ust = 
-RECIPE_LAST_UPDATE_pn-lttng-ust = Apr 20, 2011
+RECIPE_LAST_UPDATE_pn-lttng-ust = Dec 30, 2011
 RECIPE_MAINTAINER_pn-lttng-ust = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-lttng-control = green
 DISTRO_PN_ALIAS_pn-lttng-control = OSPDT upstream=http://lttng.org/;
 RECIPE_DEPENDENCY_CHECK_pn-lttng-control = not done
-RECIPE_LATEST_VERSION_pn-lttng-control = 0.88-09242010
-RECIPE_NO_UPDATE_REASON_pn-lttng-control = 0.88-09242010 has been the latest 
version.
+RECIPE_LATEST_VERSION_pn-lttng-control = 0.89-05122011
+RECIPE_NO_UPDATE_REASON_pn-lttng-control = 0.89-05122011 has been the latest 
version.
 RECIPE_NO_OF_PATCHES_pn-lttng-control = 0
 RECIPE_INTEL_SECTION_pn-lttng-control = sdk-tools
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-control = 3 months
-RECIPE_LATEST_RELEASE_DATE_pn-lttng-control = Sep 24, 2010
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-control = 8+ months
+RECIPE_LATEST_RELEASE_DATE_pn-lttng-control = May 12, 2011
 RECIPE_COMMENTS_pn-lttng-control = 
-RECIPE_LAST_UPDATE_pn-lttng-control = Nov 24, 2010
+RECIPE_LAST_UPDATE_pn-lttng-control = Dec 30, 2011
 RECIPE_MAINTAINER_pn-lttng-control = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-lttng-viewer = green
@@ -3977,14 +3978,14 @@ RECIPE_MAINTAINER_pn-glproto = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-inputproto = green
 DISTRO_PN_ALIAS_pn-inputproto = Meego=xorg-x11-proto-inputproto
 RECIPE_DEPENDENCY_CHECK_pn-inputproto = not done
-RECIPE_LATEST_VERSION_pn-inputproto = 2.1.99.2
+RECIPE_LATEST_VERSION_pn-inputproto = 2.1.99.4
 RECIPE_NO_OF_PATCHES_pn-inputproto = 0
-RECIPE_NO_UPDATE_REASON_pn-inputproto = Do not upgrade to version: 2.1.99.2 
that has unstable code. 2.2 would be the next stable release.
+RECIPE_NO_UPDATE_REASON_pn-inputproto = Do not upgrade to version: 2.1.99.4 
that has unstable code. 2.2 would be the next stable release.
 RECIPE_INTEL_SECTION_pn-inputproto = x11/libs
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-inputproto = 2 months
-RECIPE_LATEST_RELEASE_DATE_pn-inputproto = Nov 10, 2011
+RECIPE_LATEST_RELEASE_DATE_pn-inputproto = Dec 20, 2011
 RECIPE_COMMENTS_pn-inputproto

[OE-core] [PATCH 2/6] liburcu: upgrade from 0.6.4 to the latest 0.6.7

2011-12-30 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../liburcu/{liburcu_0.6.4.bb = liburcu_0.6.7.bb} |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/liburcu/{liburcu_0.6.4.bb = liburcu_0.6.7.bb} 
(80%)

diff --git a/meta/recipes-support/liburcu/liburcu_0.6.4.bb 
b/meta/recipes-support/liburcu/liburcu_0.6.7.bb
similarity index 80%
rename from meta/recipes-support/liburcu/liburcu_0.6.4.bb
rename to meta/recipes-support/liburcu/liburcu_0.6.7.bb
index 3f0596e..be73856 100644
--- a/meta/recipes-support/liburcu/liburcu_0.6.4.bb
+++ b/meta/recipes-support/liburcu/liburcu_0.6.7.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = The userspace read-copy update library by Mathieu Desnoyers
 HOMEPAGE = http://lttng.org/urcu;
-BUGTRACKER = n/a
+BUGTRACKER = http://lttng.org/project/issues;
 
 LICENSE = LGPLv2.1+  MIT-style
 LIC_FILES_CHKSUM = file://LICENSE;md5=b472dc110d38774921e1d5ccb0065fff \
@@ -11,8 +11,8 @@ PR = r0
 
 SRC_URI = http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2;
 
-SRC_URI[md5sum] = 39ec317ef5af3ea167429f3eb2a93081
-SRC_URI[sha256sum] = 
2914637c60027ea52974aa7fa8ee7f2a3a0067502bbaebe01de14d6988aa8882
+SRC_URI[md5sum] = 2705dadd65beda8e8960472c082e44b3
+SRC_URI[sha256sum] = 
b0b09aead6fbcb4d5efb4270e12f84ffd115b99b55b2c745e052b2d87a47e75f
 
 S = ${WORKDIR}/userspace-rcu-${PV}
 CFLAGS_append_libc-uclibc =  -D_GNU_SOURCE
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/6] mdadm: upgrade to the latest version 3.2.3

2011-12-30 Thread Dexuan Cui
deleted 1 patch since it's in new version now.

made LICENSE field more accurate.
updated chksum of COPYING: only working change; no actual license change.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../0001-mdadm-fix-build-failures-ppc64.patch  |   52 
 .../mdadm/{mdadm_3.2.2.bb = mdadm_3.2.3.bb}   |   13 ++---
 2 files changed, 6 insertions(+), 59 deletions(-)
 delete mode 100644 
meta/recipes-extended/mdadm/files/0001-mdadm-fix-build-failures-ppc64.patch
 rename meta/recipes-extended/mdadm/{mdadm_3.2.2.bb = mdadm_3.2.3.bb} (65%)

diff --git 
a/meta/recipes-extended/mdadm/files/0001-mdadm-fix-build-failures-ppc64.patch 
b/meta/recipes-extended/mdadm/files/0001-mdadm-fix-build-failures-ppc64.patch
deleted file mode 100644
index f573bbc..000
--- 
a/meta/recipes-extended/mdadm/files/0001-mdadm-fix-build-failures-ppc64.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Upstream-Status: Pending
-
-From 19986c721c9ac4b353c8592998d70d0dc8860bfd Mon Sep 17 00:00:00 2001
-From: Milan Broz mb...@redhat.com
-Date: Thu, 14 Jul 2011 13:58:36 +1000
-Subject: [PATCH] mdadm: fix build failures (ppc64)
-
-This patch fixes these build issues:
-
-super-intel.c: In function 'getinfo_super_imsm_volume':
-super-intel.c:2327:4: error: format '%llu' expects argument of type 'long long
-unsigned int', but argument 3 has type '__u64' [-Werror=format]
-
-super-intel.c: In function 'imsm_reshape_super':
-super-intel.c:8665:7: error: 'devnum' may be used uninitialized in this 
function [-Werror=uninitialized]
-
-Signed-off-by: Milan Broz mb...@redhat.com
-Signed-off-by: NeilBrown ne...@suse.de

- super-intel.c |9 ++---
- 1 files changed, 6 insertions(+), 3 deletions(-)
-
-diff --git a/super-intel.c b/super-intel.c
-index 5ea3b36..70cf993 100644
 a/super-intel.c
-+++ b/super-intel.c
-@@ -2326,7 +2326,9 @@ static void getinfo_super_imsm_volume(struct supertype 
*st, struct mdinfo *info,
- 
-   dprintf(IMSM: General Migration checkpoint : %llu 
-  (%llu) - read reshape progress : %llu\n,
--  units, blocks_per_unit, info-reshape_progress);
-+  (unsigned long long)units,
-+  (unsigned long long)blocks_per_unit,
-+  info-reshape_progress);
- 
-   used_disks = imsm_num_data_members(dev, 1);
-   if (used_disks  0) {
-@@ -8661,8 +8663,9 @@ static int imsm_reshape_super(struct supertype *st, long 
long size, int level,
-   dprintf(imsm: info: Volume operation\n);
-   /* find requested device */
-   while (dev) {
--  imsm_find_array_minor_by_subdev(dev-index, 
st-container_dev, devnum);
--  if (devnum == geo.dev_id)
-+  if (imsm_find_array_minor_by_subdev(
-+  dev-index, st-container_dev, devnum) == 0
-+   devnum == geo.dev_id)
-   break;
-   dev = dev-next;
-   }
--- 
-1.7.6.1
-
diff --git a/meta/recipes-extended/mdadm/mdadm_3.2.2.bb 
b/meta/recipes-extended/mdadm/mdadm_3.2.3.bb
similarity index 65%
rename from meta/recipes-extended/mdadm/mdadm_3.2.2.bb
rename to meta/recipes-extended/mdadm/mdadm_3.2.3.bb
index 02109e3..17cdd41 100644
--- a/meta/recipes-extended/mdadm/mdadm_3.2.2.bb
+++ b/meta/recipes-extended/mdadm/mdadm_3.2.3.bb
@@ -2,21 +2,20 @@ DESCRIPTION =  A tool for managing Soft RAID under Linux
 HOMEPAGE = http://www.kernel.org/pub/linux/utils/raid/mdadm/;
 BUGTRACKER = n/a
 
-#A few files are GPLv2+ while most files are GPLv2.
-LICENSE = GPLv2
-LIC_FILES_CHKSUM = file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
+# Some files are GPLv2+ while others are GPLv2.
+LICENSE = GPLv2  GPLv2+
+LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://mdmon.c;beginline=4;endline=18;md5=af7d8444d9c4d3e5c7caac0d9d34039d \
 
file://mdadm.h;beglinlne=4;endline=22;md5=462bc9936ac0d3da110191a3f9994161
 
-PR = r3
+PR = r0
 
 SRC_URI = ${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.bz2 \
-   file://0001-mdadm-fix-build-failures-ppc64.patch \
file://mdadm-3.2.2_fix_for_x32.patch \
  
 
-SRC_URI[md5sum] = 12ee2fbf3beddb60601fb7a4c4905651
-SRC_URI[sha256sum] = 
0d1a04e688b082bc88846e3f524abd50bc782b6ffc06123140f7d358c8f9b906
+SRC_URI[md5sum] = d789d6ecb9c1d5ebcc64f0fc52bca92f
+SRC_URI[sha256sum] = 
0ff49a04c6250834ce1b5be5a1581532e70e2221a87e1eedec46d6656b37ab40
 
 CFLAGS += -fno-strict-aliasing
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/6] upgrading from Dexuan: Dec 30, 2011

2011-12-30 Thread Dexuan Cui
The following changes since commit 9fc755cdb528f0913baf1f2d86ef62ee4cae92f2:

  Add Upstream-Status to patches (2011-12-29 13:58:12 -0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/stage/master_under_test
  
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/stage/master_under_test

Dexuan Cui (6):
  mdadm: upgrade to the latest version 3.2.3
  liburcu: upgrade from 0.6.4 to the latest 0.6.7
  lttng-ust: upgrade from 0.15 to the latest 0.16
  libpciaccess: upgrade from 0.12.1 to 0.12.902
  util-macros: upgrade from 1.15.0 to the latest 1.16.0
  distro_tracking_fields.inc: update the info

 .../conf/distro/include/distro_tracking_fields.inc |  107 +++-
 .../0001-mdadm-fix-build-failures-ppc64.patch  |   52 --
 .../mdadm/{mdadm_3.2.2.bb = mdadm_3.2.3.bb}   |   13 +--
 .../fix_deletion_of_last_handle.patch  |   51 +
 ...ciaccess_0.12.1.bb = libpciaccess_0.12.902.bb} |8 +-
 ...util-macros_1.15.0.bb = util-macros_1.16.0.bb} |4 +-
 meta/recipes-kernel/lttng/fix-powerpc64.patch  |   17 ---
 .../lttng/{lttng-ust_0.15.bb = lttng-ust_0.16.bb} |9 +-
 .../liburcu/{liburcu_0.6.4.bb = liburcu_0.6.7.bb} |6 +-
 9 files changed, 128 insertions(+), 139 deletions(-)
 delete mode 100644 
meta/recipes-extended/mdadm/files/0001-mdadm-fix-build-failures-ppc64.patch
 rename meta/recipes-extended/mdadm/{mdadm_3.2.2.bb = mdadm_3.2.3.bb} (65%)
 create mode 100644 
meta/recipes-graphics/xorg-lib/libpciaccess-0.12.902/fix_deletion_of_last_handle.patch
 rename meta/recipes-graphics/xorg-lib/{libpciaccess_0.12.1.bb = 
libpciaccess_0.12.902.bb} (50%)
 rename meta/recipes-graphics/xorg-util/{util-macros_1.15.0.bb = 
util-macros_1.16.0.bb} (75%)
 delete mode 100644 meta/recipes-kernel/lttng/fix-powerpc64.patch
 rename meta/recipes-kernel/lttng/{lttng-ust_0.15.bb = lttng-ust_0.16.bb} (79%)
 rename meta/recipes-support/liburcu/{liburcu_0.6.4.bb = liburcu_0.6.7.bb} 
(80%)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/6] libpciaccess: upgrade from 0.12.1 to 0.12.902

2011-12-30 Thread Dexuan Cui
According to http://cgit.freedesktop.org/xorg/lib/libpciaccess/log/, 0.12.902
does fix some bugs, so let's upgrade to it.

Moreover, I pulled a patch from upstream git repo.

I also updated the COPYING's chksum since there is a minor change to the
Copyright header.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../fix_deletion_of_last_handle.patch  |   51 
 ...ciaccess_0.12.1.bb = libpciaccess_0.12.902.bb} |8 ++-
 2 files changed, 56 insertions(+), 3 deletions(-)
 create mode 100644 
meta/recipes-graphics/xorg-lib/libpciaccess-0.12.902/fix_deletion_of_last_handle.patch
 rename meta/recipes-graphics/xorg-lib/{libpciaccess_0.12.1.bb = 
libpciaccess_0.12.902.bb} (50%)

diff --git 
a/meta/recipes-graphics/xorg-lib/libpciaccess-0.12.902/fix_deletion_of_last_handle.patch
 
b/meta/recipes-graphics/xorg-lib/libpciaccess-0.12.902/fix_deletion_of_last_handle.patch
new file mode 100644
index 000..1933f45
--- /dev/null
+++ 
b/meta/recipes-graphics/xorg-lib/libpciaccess-0.12.902/fix_deletion_of_last_handle.patch
@@ -0,0 +1,51 @@
+Upstream-Status: Backport
+
+The below patch is from
+http://cgit.freedesktop.org/xorg/lib/libpciaccess/commit/?id=a798395a1bfd9d06d40e2d8d14377a156c94429a
+It would appear in the next .tar.bz2 release.
+
+--
+
+commit a798395a1bfd9d06d40e2d8d14377a156c94429a
+Author: Daniel Drake d...@laptop.org
+Date:   Fri Nov 25 12:28:48 2011 -0600
+
+delete_io_handle: fix deletion of last handle
+
+When num_ios goes from 1 to 0, a realloc(ios, 0); call is made.
+This is equivalent to free(ios) and NULL is returned.
+
+However, the previous logic in the code incorrectly discards this NULL
+return value. When we next call new_io_handle(), realloc(ios, X) is
+called with ios pointing to freed memory. This causes glibc to abort.
+
+Correct this logic to detect the 1-to-0 case and handle it correctly.
+Other cases are unchanged; there is still value in checking the
+return value from realloc() as it also returns NULL on error.
+
+Signed-off-by: Daniel Drake d...@laptop.org
+Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com
+
+diff --git a/src/common_io.c b/src/common_io.c
+index f1319f8..5b35e07 100644
+--- a/src/common_io.c
 b/src/common_io.c
+@@ -64,10 +64,15 @@ delete_io_handle(struct pci_io_handle *handle)
+ }
+ }
+ 
+-new = realloc(ios, sizeof(struct pci_io_handle) * (num_ios - 1));
+-if (new)
+-ios = new;
+ num_ios--;
++if (num_ios) {
++new = realloc(ios, sizeof(struct pci_io_handle) * num_ios);
++if (new)
++ios = new;
++} else {
++free(ios);
++ios = NULL;
++}
+ }
+ 
+ _pci_hidden void
diff --git a/meta/recipes-graphics/xorg-lib/libpciaccess_0.12.1.bb 
b/meta/recipes-graphics/xorg-lib/libpciaccess_0.12.902.bb
similarity index 50%
rename from meta/recipes-graphics/xorg-lib/libpciaccess_0.12.1.bb
rename to meta/recipes-graphics/xorg-lib/libpciaccess_0.12.902.bb
index b3091fd..5043634 100644
--- a/meta/recipes-graphics/xorg-lib/libpciaccess_0.12.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libpciaccess_0.12.902.bb
@@ -5,12 +5,14 @@ PCI bus and devices in a platform-independant way.
 
 require xorg-lib-common.inc
 
+SRC_URI += file://fix_deletion_of_last_handle.patch
+
 LICENSE = MIT  MIT-style
-LIC_FILES_CHKSUM = file://COPYING;md5=2c765efe1e0722c1badff5e54429b102
+LIC_FILES_CHKSUM = file://COPYING;md5=de01cb89a769dc657d4c321c209ce4fc
 
 PR = r0
 
 DEPENDS += xproto virtual/libx11
 
-SRC_URI[md5sum] = d6363ee9f4df79f6fc47cba7c67b0d35
-SRC_URI[sha256sum] = 
cc47d7f0e48cf4eed972916b536fdc97788d7521915e3ae1cc92d540776d7344
+SRC_URI[md5sum] = f1db198398a8a1143822acc230843e8c
+SRC_URI[sha256sum] = 
0861d5bf68b598baa307e5c9b06dfd38ae03096b46e36b236106517bcd14b63a
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] fix wget build issue: /usr/lib/libssl.so: could not read symbols

2011-12-18 Thread Dexuan Cui
The following changes since commit b281fd127bac9ba77ab63a5c2b812ddd5d56df37:

  documentation/poky-ref-manual/technical-details.xml: edits per Richard Purdie 
(2011-12-16 16:58:41 +)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/wget
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/wget

Dexuan Cui (1):
  wget: fix a host intrusion issue introduced by adding
--with-ssl=openssl.

 meta/recipes-extended/wget/wget.inc |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] wget: fix a host intrusion issue introduced by adding --with-ssl=openssl.

2011-12-18 Thread Dexuan Cui
On my x86-64 Ubuntu 11.04, with MACHINE=qemux86, bitbake wget fails. The
config.log shows:

configure:30072: i586-poky-linux-gcc  -m32   -march=i586
 --sysroot=/distro/dcui/1212/p1/build/tmp/sysroots/qemux86 -o conftest -O2
 -pipe -g -feliminate-unused-debug-types  -Wl,-O1 -Wl,--hash-style=gnu
 -Wl,--as-needed conftest.c -ldl -lz  /usr/lib/libssl.so /usr/lib/libcrypto.so
 -lz 5
/usr/lib/libssl.so: could not read symbols: File in wrong format

The patch fixes the issue by specifying libssl-prefix.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-extended/wget/wget.inc |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/wget/wget.inc 
b/meta/recipes-extended/wget/wget.inc
index 7083569..25f36c8 100644
--- a/meta/recipes-extended/wget/wget.inc
+++ b/meta/recipes-extended/wget/wget.inc
@@ -4,11 +4,11 @@ LICENSE = GPL
 LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504
 DEPENDS = openssl
 
-INC_PR = r12
+INC_PR = r13
 
 inherit autotools gettext update-alternatives
 
-EXTRA_OECONF = --with-libc --enable-ipv6 --with-ssl=openssl
+EXTRA_OECONF = --with-libc --enable-ipv6 
--with-libssl-prefix=${STAGING_DIR_HOST} --with-ssl=openssl
 
 do_install_append () {
mv ${D}${bindir}/wget ${D}${bindir}/wget.${PN}
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] socat: add the latest stable version 1.7.2.0

2011-12-18 Thread Dexuan Cui
The following changes since commit b281fd127bac9ba77ab63a5c2b812ddd5d56df37:

  documentation/poky-ref-manual/technical-details.xml: edits per Richard Purdie 
(2011-12-16 16:58:41 +)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/socat
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/socat

Dexuan Cui (1):
  socat: add the latest stable version 1.7.2.0

 .../recipes-connectivity/socat/files/compile.patch |  946 
 meta/recipes-connectivity/socat/socat_1.7.2.0.bb   |   28 +
 2 files changed, 974 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-connectivity/socat/files/compile.patch
 create mode 100644 meta/recipes-connectivity/socat/socat_1.7.2.0.bb

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] socat: add the latest stable version 1.7.2.0

2011-12-18 Thread Dexuan Cui
socat is useful for the self-hosted-image work.

The original recipe is from OE:
http://git.openembedded.org/openembedded/tree/recipes/socat/
and I upgraded it to 1.7.2.0.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../recipes-connectivity/socat/files/compile.patch |  946 
 meta/recipes-connectivity/socat/socat_1.7.2.0.bb   |   28 +
 2 files changed, 974 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-connectivity/socat/files/compile.patch
 create mode 100644 meta/recipes-connectivity/socat/socat_1.7.2.0.bb

diff --git a/meta/recipes-connectivity/socat/files/compile.patch 
b/meta/recipes-connectivity/socat/files/compile.patch
new file mode 100644
index 000..4d1a0b6
--- /dev/null
+++ b/meta/recipes-connectivity/socat/files/compile.patch
@@ -0,0 +1,946 @@
+Upstream-Status: Inappropriate [configuration]
+
+The patch is from 
http://git.openembedded.org/openembedded/tree/recipes/socat/files/compile.patch
+and was rebased to socat-1.7.2.0.
+
+Signed-off-by: Dexuan Cui dexuan@intel.com
+Fri Dec 16 17:12:17 CST 2011
+
+diff -Nru socat-1.7.2.0.orig/configure.in socat-1.7.2.0/configure.in
+--- socat-1.7.2.0.orig/configure.in2011-12-04 21:34:16.0 +0800
 socat-1.7.2.0/configure.in 2011-12-16 17:08:59.698367071 +0800
+@@ -88,7 +88,7 @@
+ 
+ 
+ dnl Check for extra socket library (for Solaris)
+-AC_CHECK_FUNC(hstrerror,  , AC_CHECK_LIB(resolv, hstrerror, [LIBS=$LIBS 
-lresolv; AC_DEFINE(HAVE_HSTRERROR)]))
++AC_CHECK_FUNC(hstrerror,  , AC_CHECK_LIB(resolv, hstrerror, [LIBS=$LIBS 
-lresolv; AC_DEFINE(HAVE_HSTRERROR, [1], [STRERROR])]))
+ AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent))
+ AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
+ 
+@@ -102,7 +102,7 @@
+  [sc_cv_have_prototype_hstrerror=yes]);
+  CFLAGS=$CFLAGS1])
+ if test $sc_cv_have_prototype_hstrerror = yes; then
+-   AC_DEFINE(HAVE_PROTOTYPE_HSTRERROR)
++   AC_DEFINE(HAVE_PROTOTYPE_HSTRERROR, [1], [Has Strerror])
+ fi
+ AC_MSG_RESULT($sc_cv_have_prototype_hstrerror)
+ 
+@@ -111,83 +111,83 @@
+ AC_ARG_ENABLE(help, [  --disable-help  disable help],
+ [case $enableval in
+  no) AC_MSG_RESULT(no);;
+- *) AC_DEFINE(WITH_HELP) AC_MSG_RESULT(yes);;
++ *) AC_DEFINE(WITH_HELP, [1], [With help]) AC_MSG_RESULT(yes);;
+  esac],
+- [AC_DEFINE(WITH_HELP) AC_MSG_RESULT(yes)])
++ [AC_DEFINE(WITH_HELP, [1], [With help]) AC_MSG_RESULT(yes)])
+ 
+ AC_MSG_CHECKING(whether to include STDIO support)
+ AC_ARG_ENABLE(stdio, [  --disable-stdio disable STDIO support],
+ [case $enableval in
+  no) AC_MSG_RESULT(no);;
+- *) AC_DEFINE(WITH_STDIO) AC_MSG_RESULT(yes);;
++ *) AC_DEFINE(WITH_STDIO, [1], [With stdio]) AC_MSG_RESULT(yes);;
+  esac],
+- [AC_DEFINE(WITH_STDIO) AC_MSG_RESULT(yes)])
++ [AC_DEFINE(WITH_STDIO, [1], [With stdio]) AC_MSG_RESULT(yes)])
+ 
+ AC_MSG_CHECKING(whether to include FD-number support)
+ AC_ARG_ENABLE(fdnum, [  --disable-fdnum disable FD-number support],
+ [case $enableval in
+  no) AC_MSG_RESULT(no);;
+- *) AC_DEFINE(WITH_FDNUM) AC_MSG_RESULT(yes);;
++ *) AC_DEFINE(WITH_FDNUM, [1], [With fdnum]) AC_MSG_RESULT(yes);;
+  esac],
+- [AC_DEFINE(WITH_FDNUM) AC_MSG_RESULT(yes)])
++ [AC_DEFINE(WITH_FDNUM, [1], [With fdnum]) AC_MSG_RESULT(yes)])
+ 
+ AC_MSG_CHECKING(whether to include direct file support)
+ AC_ARG_ENABLE(file, [  --disable-file  disable direct file support],
+ [case $enableval in
+  no) AC_MSG_RESULT(no);;
+- *) AC_DEFINE(WITH_FILE) AC_MSG_RESULT(yes);;
++ *) AC_DEFINE(WITH_FILE, [1], [With file]) AC_MSG_RESULT(yes);;
+  esac],
+- [AC_DEFINE(WITH_FILE) AC_MSG_RESULT(yes)])
++ [AC_DEFINE(WITH_FILE, [1], [With file]) AC_MSG_RESULT(yes)])
+ 
+ AC_MSG_CHECKING(whether to include direct create support)
+ AC_ARG_ENABLE(creat, [  --disable-creat disable direct create 
support],
+ [case $enableval in
+  no) AC_MSG_RESULT(no);;
+- *) AC_DEFINE(WITH_CREAT) AC_MSG_RESULT(yes);;
++ *) AC_DEFINE(WITH_CREAT, [1], [With creat]) AC_MSG_RESULT(yes);;
+  esac],
+- [AC_DEFINE(WITH_CREAT) AC_MSG_RESULT(yes)])
++ [AC_DEFINE(WITH_CREAT, [1], [With creat]) AC_MSG_RESULT(yes)])
+ 
+ AC_MSG_CHECKING(whether to include gopen support)
+ AC_ARG_ENABLE(gopen, [  --disable-gopen disable open for UNIX socket 
support],
+ [case $enableval in
+  no) AC_MSG_RESULT(no);;
+- *) AC_DEFINE(WITH_GOPEN) AC_MSG_RESULT(yes);;
++ *) AC_DEFINE(WITH_GOPEN, [1], [With gopen]) AC_MSG_RESULT(yes);;
+  esac],
+- [AC_DEFINE(WITH_GOPEN) AC_MSG_RESULT(yes)])
++ [AC_DEFINE

[OE-core] [PATCH 1/3] make: expand MAKEFLAGS before we re-exec after rebuilding makefiles.

2011-12-01 Thread Dexuan Cui
This patch was got from the upstream cvs repo of make to fix the bug of
make-3.82: http://savannah.gnu.org/bugs/?30723

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../make/make-3.82/expand_MAKEFLAGS.patch  |   39 
 meta/recipes-devtools/make/make_3.82.bb|4 ++-
 2 files changed, 42 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/make/make-3.82/expand_MAKEFLAGS.patch

diff --git a/meta/recipes-devtools/make/make-3.82/expand_MAKEFLAGS.patch 
b/meta/recipes-devtools/make/make-3.82/expand_MAKEFLAGS.patch
new file mode 100644
index 000..4184937
--- /dev/null
+++ b/meta/recipes-devtools/make/make-3.82/expand_MAKEFLAGS.patch
@@ -0,0 +1,39 @@
+Upstream-Status: Inappropriate [The fix is already in upstream cvs repo, but 
not in the stable release]
+
+When working on the self-hosted-image work, I found in the target
+bitbake eglibc-initial -c install always failed:
+
+make[1]: Entering directory 
`/raid/pe2/build/tmp/work/i586-poky-linux/eglibc-initial-2.13-r18+svnr14157/eglibc-2_13/libc'
+/usr/bin/install -c -m 644 include/limits.h /usr/include/limits.h
+/usr/bin/install: cannot remove `/usr/include/limits.h': Permission denied
+make[1]: *** [/usr/include/limits.h] Error 1
+make[1]: Leaving directory 
`/raid/pe2/build/tmp/work/i586-poky-linux/eglibc-initial-2.13-r18+svnr14157/eglibc-2_13/libc'
+make: *** [install-headers] Error 2
+ERROR: oe_runmake faile
+
+Debugging shows the install_root variable in eglibc's makefiles is strangely
+reset at some place.
+
+Further investigation shows this is a bug of make-3.82:
+
+http://savannah.gnu.org/bugs/?30723
+http://cvs.savannah.gnu.org/viewvc/make/main.c?root=maker1=1.243r2=1.244
+http://old.nabble.com/-bug--30723--implicit-re-executing-of-subdirs-breaks-$(origin)-with-make-3.82-td29394353.html
+
+The patch was got from the second link above(the upstream cvs repo of make).
+
+Thu Dec  1 16:05:59 CST 2011
+Signed-off-by: Dexuan Cui dexuan@intel.com
+
+diff -Nru make-3.82.orig//main.c make-3.82/main.c
+--- make-3.82.orig//main.c 2010-07-19 15:10:53.0 +0800
 make-3.82/main.c   2011-12-01 16:04:11.818522186 +0800
+@@ -2093,7 +2093,7 @@
+ const char *pv = define_makeflags (1, 1);
+ char *p = alloca (sizeof (MAKEFLAGS=) + strlen (pv) + 1);
+ sprintf (p, MAKEFLAGS=%s, pv);
+-putenv (p);
++putenv (allocated_variable_expand (p));
+   }
+ 
+ if (ISDB (DB_BASIC))
diff --git a/meta/recipes-devtools/make/make_3.82.bb 
b/meta/recipes-devtools/make/make_3.82.bb
index 61fbb32..bea3339 100644
--- a/meta/recipes-devtools/make/make_3.82.bb
+++ b/meta/recipes-devtools/make/make_3.82.bb
@@ -1,8 +1,10 @@
-PR = r0
+PR = r1
 LICENSE=GPLv3LGPLv2
 LIC_FILES_CHKSUM = file://tests/COPYING;md5=d32239bcb673463ab874e80d47fae504 \
 
file://glob/COPYING.LIB;md5=4a770b67e6be0f60da244beb2de0fce4
 require make.inc
 
+SRC_URI += file://expand_MAKEFLAGS.patch
+
 SRC_URI[md5sum] = 1a11100f3c63fcf5753818e59d63088f
 SRC_URI[sha256sum] = 
e2c1a73f179c40c71e2fe8abf8a8a0688b8499538512984da4a76958d0402966
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/3] 3 new patches for the self-hosted-image work

2011-12-01 Thread Dexuan Cui
The following changes since commit d7cd934376ae1edaf7055ec635eb3c85fdbf58b3:

  squashfs-tools: fix PR, those should start with 'r' (2011-11-30 23:37:44 
+)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self-hosted-v4
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self-hosted-v4

Dexuan Cui (3):
  make: expand MAKEFLAGS before we re-exec after rebuilding makefiles.
  task-self-hosted: install sudo, tun.ko, iptables, libgl and libgl-dev
into the target
  runqemu-ifup, runqemu-internal: be wiser when locating the network
tools

 meta/recipes-core/tasks/task-self-hosted.bb|   14 +--
 .../make/make-3.82/expand_MAKEFLAGS.patch  |   39 
 meta/recipes-devtools/make/make_3.82.bb|4 ++-
 scripts/runqemu-ifup   |8 +++--
 scripts/runqemu-internal   |3 +-
 5 files changed, 59 insertions(+), 9 deletions(-)
 create mode 100644 meta/recipes-devtools/make/make-3.82/expand_MAKEFLAGS.patch

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/3] task-self-hosted: install sudo, tun.ko, iptables, libgl and libgl-dev into the target

2011-12-01 Thread Dexuan Cui
sudo, kernel-module-tun and iptables are needed by runqemu.
strace has appeared in RDEPENDS_task-self-hosted-debug, so let's remove it
from RDEPENDS_task-self-hosted-extended.
install libglu and libgl-dev rather than mesa-dri and mesa-dri-dev due to the
recent commit mesa: package gl/egl/osmesa to separate packages.

Signed-off-by: Dexuan Cui dexuan@intel.com
Signed-off-by: Zhai Edwin edwin.z...@intel.com
---
 meta/recipes-core/tasks/task-self-hosted.bb |   14 ++
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/tasks/task-self-hosted.bb 
b/meta/recipes-core/tasks/task-self-hosted.bb
index c218f43..b3a68b4 100644
--- a/meta/recipes-core/tasks/task-self-hosted.bb
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -3,7 +3,7 @@
 #
 
 DESCRIPTION = Create Basic Image Tasks
-PR = r0
+PR = r1
 LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
@@ -142,8 +142,8 @@ RDEPENDS_task-self-hosted-extended = \
 rpm \
 screen \
 setserial \
-strace \
 subversion \
+sudo \
 sysstat \
 tar \
 gzip \
@@ -159,13 +159,19 @@ RDEPENDS_task-self-hosted-extended = \
 zip \
 zlib \
 cpio \
+iptables \
+kernel-module-tun \
+kernel-module-iptable-raw \
+kernel-module-iptable-nat \
+kernel-module-iptable-mangle \
+kernel-module-iptable-filter \
 
 
 
 RDEPENDS_task-self-hosted-graphics = \
 python-pygtk \
-mesa-dri \
-mesa-dri-dev \
+libgl \
+libgl-dev \
 libglu \
 libglu-dev \
 libsdl \
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/3] runqemu-ifup, runqemu-internal: be wiser when locating the network tools

2011-12-01 Thread Dexuan Cui
When working on the self-hosted-image work, I found the PATH variable in the
Level-1 target doesn't have /sbin and /usr/sbin, so runqemu can't
run properly since the tools are installeld at
/sbin/ifconfig
/sbin/route
/usr/sbin/iptables

The patch is used to fix the issue by setting a temp PATH when running which.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 scripts/runqemu-ifup |8 +---
 scripts/runqemu-internal |3 ++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup
index 870cb6b..9e697a8 100755
--- a/scripts/runqemu-ifup
+++ b/scripts/runqemu-ifup
@@ -64,7 +64,9 @@ if [ $STATUS -ne 0 ]; then
exit 1
 fi
 
-IFCONFIG=`which ifconfig 2 /dev/null`
+PATH_TMP=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
+
+IFCONFIG=`{ PATH=$PATH:$PATH_TMP; which ifconfig 2 /dev/null; }`
 if [ x$IFCONFIG = x ]; then
# better than nothing...
IFCONFIG=/sbin/ifconfig
@@ -74,7 +76,7 @@ if [ ! -x $IFCONFIG ]; then
exit 1
 fi
 
-ROUTE=`which route`
+ROUTE=`{ PATH=$PATH:$PATH_TMP; which route 2/dev/null; }`
 if [ x$ROUTE = x ]; then
# better than nothing...
ROUTE=/sbin/route
@@ -84,7 +86,7 @@ if [ ! -x $ROUTE ]; then
exit 1
 fi
 
-IPTABLES=`which iptables 2 /dev/null`
+IPTABLES=`{ PATH=$PATH:$PATH_TMP; which iptables 2 /dev/null; }`
 if [ x$IPTABLES = x ]; then
IPTABLES=/sbin/iptables
 fi
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 2968ed9..3214fde 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -141,7 +141,8 @@ if [ ! -d $LOCKDIR ]; then
 chmod 777 $LOCKDIR
 fi
 
-IFCONFIG=`which ifconfig 2 /dev/null`
+PATH_TMP=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
+IFCONFIG=`{ PATH=$PATH:$PATH_TMP; which ifconfig 2 /dev/null; }`
 if [ -z $IFCONFIG ]; then
 IFCONFIG=/sbin/ifconfig
 fi
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/3] lzo: remove the uncessary autoconf.patch

2011-12-01 Thread Dexuan Cui
Now we already have autoconf-2.68 that is newer than 2.67 that is required
by lzo. So the patch is not needed any longer.

Thanks Khem Raj for pointing this out!

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-support/lzo/lzo-2.06/autoconf.patch |   28 --
 meta/recipes-support/lzo/lzo_2.06.bb |3 +-
 2 files changed, 1 insertions(+), 30 deletions(-)
 delete mode 100644 meta/recipes-support/lzo/lzo-2.06/autoconf.patch

diff --git a/meta/recipes-support/lzo/lzo-2.06/autoconf.patch 
b/meta/recipes-support/lzo/lzo-2.06/autoconf.patch
deleted file mode 100644
index 63c1d2d..000
--- a/meta/recipes-support/lzo/lzo-2.06/autoconf.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Date: 12/31/2010
-Didn't find 2.67 specific features, so lower the requirement
-to pass build
-
-Upstream-Status: Inappropriate [workaround]
-
-Signed-off-by: Qing He qing...@intel.com
-
-
-
-Wed Nov 30 14:42:01 CST 2011
-Rebase to lzo-2.06.
-Signed-off-by: Dexuan Cui dexuan@intel.com
-

-diff --git a/configure.ac b/configure.ac
-index 650749a..2a78845 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -36,7 +36,7 @@ All Rights Reserved.
- This configure script may be copied, distributed and modified under the
- terms of the GNU General Public License; see COPYING for more details.])
- 
--AC_PREREQ(2.67)
-+AC_PREREQ(2.65)
- 
AC_INIT([LZO],[2.06],[mar...@oberhumer.com],[lzo],[http://www.oberhumer.com/opensource/lzo/])
- AC_MSG_NOTICE([Configuring LZO $PACKAGE_VERSION])
- AC_CONFIG_SRCDIR(src/lzo_init.c)
diff --git a/meta/recipes-support/lzo/lzo_2.06.bb 
b/meta/recipes-support/lzo/lzo_2.06.bb
index b2cc171..4862082 100644
--- a/meta/recipes-support/lzo/lzo_2.06.bb
+++ b/meta/recipes-support/lzo/lzo_2.06.bb
@@ -4,10 +4,9 @@ SECTION = libs
 LICENSE = GPLv2+
 LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 
file://src/lzo_init.c;beginline=23;endline=40;md5=924a0f71f5394f6d404be3b458474769
-PR = r0
+PR = r1
 
 SRC_URI = http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \
-   file://autoconf.patch \
file://acinclude.m4 \

 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/3] 3 patches: lzo, libxfont, distro_tracking_fields.inc

2011-12-01 Thread Dexuan Cui
The following changes since commit 9d6790c4409dee4d08fe6a47450125c406d0ba32:

  cooker.py: Allow the -e option to work with virtual classes and -b 
(2011-12-01 23:14:05 +)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/distro
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/distro

Dexuan Cui (3):
  libxfont: remove the unused no-scalable-crash.patch
  lzo: remove the uncessary autoconf.patch
  distro_tracking_fields.inc: update the info

 .../conf/distro/include/distro_tracking_fields.inc |   65 ++-
 .../xorg-lib/libxfont/no-scalable-crash.patch  |   24 ---
 meta/recipes-support/lzo/lzo-2.06/autoconf.patch   |   28 -
 meta/recipes-support/lzo/lzo_2.06.bb   |3 +-
 4 files changed, 35 insertions(+), 85 deletions(-)
 delete mode 100644 
meta/recipes-graphics/xorg-lib/libxfont/no-scalable-crash.patch
 delete mode 100644 meta/recipes-support/lzo/lzo-2.06/autoconf.patch

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/3] distro_tracking_fields.inc: update the info

2011-12-01 Thread Dexuan Cui
They are
pixman
libxrandr
lzo
libxfont
libxcursor
xcb-util
inputproto
liberation-fonts

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../conf/distro/include/distro_tracking_fields.inc |   65 ++-
 1 files changed, 34 insertions(+), 31 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc 
b/meta/conf/distro/include/distro_tracking_fields.inc
index 073521f..ce1a8f5 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -453,11 +453,13 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnutls = 4 
months
 RECIPE_COMMENTS_pn-gnutls = requires libtasn1, but has an internal copy
 
 RECIPE_STATUS_pn-lzo = green
-RECIPE_LAST_UPDATE_pn-lzo = Dec 31, 2010
+RECIPE_LATEST_VERSION_pn-lzo = 2.06
+RECIPE_NO_OF_PATCHES_pn-lzo=0
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lzo=4 months
+RECIPE_LATEST_RELEASE_DATE_pn-lzo = Aug 12, 2011
+RECIPE_LAST_UPDATE_pn-lzo = Nov 30, 2011
 RECIPE_MAINTAINER_pn-lzo = Dexuan Cui dexuan@intel.com
-RECIPE_LATEST_VERSION_pn-lzo = 2.04
 RECIPE_INTEL_SECTION_pn-lzo = base libs
-RECIPE_LATEST_RELEASE_DATE_pn-lzo = Oct 01, 2010
 
 RECIPE_STATUS_pn-libtasn1 = green
 RECIPE_LATEST_VERSION_pn-libtasn1 = 2.11
@@ -3948,13 +3950,14 @@ RECIPE_MAINTAINER_pn-glproto = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-inputproto = green
 DISTRO_PN_ALIAS_pn-inputproto = Meego=xorg-x11-proto-inputproto
 RECIPE_DEPENDENCY_CHECK_pn-inputproto = not done
-RECIPE_LATEST_VERSION_pn-inputproto = 2.0.2
+RECIPE_LATEST_VERSION_pn-inputproto = 2.1.99.2
 RECIPE_NO_OF_PATCHES_pn-inputproto = 0
+RECIPE_NO_UPDATE_REASON_pn-inputproto = Do not upgrade to version: 2.1.99.2 
that has unstable code. 2.2 would be the next stable release.
 RECIPE_INTEL_SECTION_pn-inputproto = x11/libs
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-inputproto = 7 months
-RECIPE_LATEST_RELEASE_DATE_pn-inputproto = Jun 7, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-inputproto = 2 months
+RECIPE_LATEST_RELEASE_DATE_pn-inputproto = Nov 10, 2011
 RECIPE_COMMENTS_pn-inputproto = 
-RECIPE_LAST_UPDATE_pn-inputproto = Jun 13, 2011
+RECIPE_LAST_UPDATE_pn-inputproto = Nov 30, 2011
 RECIPE_MAINTAINER_pn-inputproto = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-kbproto = green
@@ -4265,15 +4268,15 @@ RECIPE_MAINTAINER_pn-xproto = Dexuan Cui 
dexuan@intel.com
 
 RECIPE_STATUS_pn-liberation-fonts = green
 RECIPE_DEPENDENCY_CHECK_pn-liberation-fonts = not done
-RECIPE_LATEST_VERSION_pn-liberation-fonts = 1.07.0
-RECIPE_MANUAL_CHECK_DATE_pn-liberation-fonts = Jun 13, 2011
-RECIPE_NO_UPDATE_REASON_pn-liberation-fonts = Do not upgrade to version: 
1.07.0 because before doing that, we need adding new native packages like 
libungif_4.1.3, libspiro and fontforge first
+RECIPE_LATEST_VERSION_pn-liberation-fonts = 1.07.1
+RECIPE_MANUAL_CHECK_DATE_pn-liberation-fonts = Nov 30, 2011
+RECIPE_NO_UPDATE_REASON_pn-liberation-fonts = Do not upgrade to version: 
1.07.1 because before doing that, we need adding new native packages like 
libungif_4.1.3, libspiro and fontforge first
 RECIPE_NO_OF_PATCHES_pn-liberation-fonts = 0
 RECIPE_INTEL_SECTION_pn-liberation-fonts = x11/fonts
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liberation-fonts = 10 months
-RECIPE_LATEST_RELEASE_DATE_pn-liberation-fonts = May 30, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liberation-fonts = 4 months
+RECIPE_LATEST_RELEASE_DATE_pn-liberation-fonts = Sep 21, 2011
 RECIPE_COMMENTS_pn-liberation-fonts = current version 1.04 released open 
source under GPLv2 with exceptions
-RECIPE_LAST_UPDATE_pn-liberation-fonts = Jun 13, 2011
+RECIPE_LAST_UPDATE_pn-liberation-fonts = Nov 30, 2011
 RECIPE_MAINTAINER_pn-liberation-fonts = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-libfontenc = green
@@ -4289,13 +4292,13 @@ RECIPE_MAINTAINER_pn-libfontenc = Dexuan Cui 
dexuan@intel.com
 
 RECIPE_STATUS_pn-libxfont = green
 RECIPE_DEPENDENCY_CHECK_pn-libxfont = not done
-RECIPE_LATEST_VERSION_pn-libxfont = 1.4.2
+RECIPE_LATEST_VERSION_pn-libxfont = 1.4.4
 RECIPE_NO_OF_PATCHES_pn-libxfont = 0
 RECIPE_INTEL_SECTION_pn-libxfont = x11/libs
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfont = 8 months
-RECIPE_LATEST_RELEASE_DATE_pn-libxfont = Oct 01, 2009
-RECIPE_COMMENTS_pn-libxfont = the recipe file has a commented-out 
no-scalable-crash.patch
-RECIPE_LAST_UPDATE_pn-libxfont = Nov 24, 2010
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfont = 10 months
+RECIPE_LATEST_RELEASE_DATE_pn-libxfont = Aug 10, 2011
+RECIPE_COMMENTS_pn-libxfont = 
+RECIPE_LAST_UPDATE_pn-libxfont = Nov 30, 2011
 RECIPE_MAINTAINER_pn-libxfont = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-libice = green
@@ -4369,13 +4372,13 @@ RECIPE_MAINTAINER_pn-libxcomposite = Dexuan Cui 
dexuan@intel.com
 
 RECIPE_STATUS_pn-libxrandr = green
 RECIPE_DEPENDENCY_CHECK_pn-libxrandr = not done
-RECIPE_LATEST_VERSION_pn-libxrandr = 1.3.0
+RECIPE_LATEST_VERSION_pn-libxrandr = 1.3.2
 RECIPE_NO_OF_PATCHES_pn-libxrandr = 0

[OE-core] [PATCH 5/8] libxcursor: upgrade from 1.1.11 to 1.1.12

2011-11-30 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../{libxcursor_1.1.11.bb = libxcursor_1.1.12.bb} |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{libxcursor_1.1.11.bb = 
libxcursor_1.1.12.bb} (79%)

diff --git a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.11.bb 
b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.12.bb
similarity index 79%
rename from meta/recipes-graphics/xorg-lib/libxcursor_1.1.11.bb
rename to meta/recipes-graphics/xorg-lib/libxcursor_1.1.12.bb
index a8dee4c..b593093 100644
--- a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.11.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.12.bb
@@ -18,5 +18,5 @@ PE = 1
 
 XORG_PN = libXcursor
 
-SRC_URI[md5sum] = 866ed46f7e0d85b8c0003cebbb78a4af
-SRC_URI[sha256sum] = 
a06ef74579e2c06f9490e682b8e7ac915cb5280ee47bb071a2b850637a2bf6fe
+SRC_URI[md5sum] = a93b5a6f5b05976d2c0d3f8a07f6ac6a
+SRC_URI[sha256sum] = 
0c4de165e07ac66b091af50a4db1f07e3c14d1bcf80830013693a21ef03e7ba4
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/8] [Dexuan]: upgrades for 7 recipes

2011-11-30 Thread Dexuan Cui
The following changes since commit 00d121aad3a4263bc0e3a004a3a479e6352e063d:

  clutter-box2d: drop unbuildable clutter-box2d-1.6_0.10.0 (2011-11-30 22:06:00 
+0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/master
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Dexuan Cui (8):
  pixman: upgrade from 0.22.0 to the latest stable 0.24.0
  libxrandr: upgrade from 1.3.1 to the latest version 1.3.2
  lzo: upgrade from 2.05 to the latest version 2.06
  libxfont: upgrade from 1.4.3 to 1.4.4
  libxcursor: upgrade from 1.1.11 to 1.1.12
  xcb-util: upgrade from 0.3.6 to 0.3.8
  inputproto: upgrade from 2.0.2 to the latest stable 2.0.99.1
  distro_tracking_fields.inc: update the info

 .../conf/distro/include/distro_tracking_fields.inc |   66 ++-
 meta/recipes-graphics/xcb/xcb-util_0.3.6.bb|   18 -
 meta/recipes-graphics/xcb/xcb-util_0.3.8.bb|9 +++
 .../{libxcursor_1.1.11.bb = libxcursor_1.1.12.bb} |4 +-
 .../{libxfont_1.4.3.bb = libxfont_1.4.4.bb}   |8 +--
 .../{libxrandr_1.3.1.bb = libxrandr_1.3.2.bb} |6 +-
 .../{pixman_0.22.0.bb = pixman_0.24.0.bb} |4 +-
 ...{inputproto_2.0.2.bb = inputproto_2.0.99.1.bb} |4 +-
 .../lzo/{lzo-2.05 = lzo-2.06}/acinclude.m4|0
 .../lzo/{lzo-2.05 = lzo-2.06}/autoconf.patch  |9 +++-
 .../lzo/{lzo_2.05.bb = lzo_2.06.bb}   |4 +-
 11 files changed, 66 insertions(+), 66 deletions(-)
 delete mode 100644 meta/recipes-graphics/xcb/xcb-util_0.3.6.bb
 create mode 100644 meta/recipes-graphics/xcb/xcb-util_0.3.8.bb
 rename meta/recipes-graphics/xorg-lib/{libxcursor_1.1.11.bb = 
libxcursor_1.1.12.bb} (79%)
 rename meta/recipes-graphics/xorg-lib/{libxfont_1.4.3.bb = libxfont_1.4.4.bb} 
(62%)
 rename meta/recipes-graphics/xorg-lib/{libxrandr_1.3.1.bb = 
libxrandr_1.3.2.bb} (80%)
 rename meta/recipes-graphics/xorg-lib/{pixman_0.22.0.bb = pixman_0.24.0.bb} 
(83%)
 rename meta/recipes-graphics/xorg-proto/{inputproto_2.0.2.bb = 
inputproto_2.0.99.1.bb} (78%)
 rename meta/recipes-support/lzo/{lzo-2.05 = lzo-2.06}/acinclude.m4 (100%)
 rename meta/recipes-support/lzo/{lzo-2.05 = lzo-2.06}/autoconf.patch (79%)
 rename meta/recipes-support/lzo/{lzo_2.05.bb = lzo_2.06.bb} (81%)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/8] libxfont: upgrade from 1.4.3 to 1.4.4

2011-11-30 Thread Dexuan Cui
updated LIC_FILES_CHKSUM:
only Copyright holder change in COPYING -- no actual license change.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../{libxfont_1.4.3.bb = libxfont_1.4.4.bb}   |8 +++-
 1 files changed, 3 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/xorg-lib/{libxfont_1.4.3.bb = libxfont_1.4.4.bb} 
(62%)

diff --git a/meta/recipes-graphics/xorg-lib/libxfont_1.4.3.bb 
b/meta/recipes-graphics/xorg-lib/libxfont_1.4.4.bb
similarity index 62%
rename from meta/recipes-graphics/xorg-lib/libxfont_1.4.3.bb
rename to meta/recipes-graphics/xorg-lib/libxfont_1.4.4.bb
index 43a628e..8af0ac9 100644
--- a/meta/recipes-graphics/xorg-lib/libxfont_1.4.3.bb
+++ b/meta/recipes-graphics/xorg-lib/libxfont_1.4.4.bb
@@ -7,7 +7,7 @@ such as freetype).
 require xorg-lib-common.inc
 
 LICENSE= MIT  MIT-style  BSD
-LIC_FILES_CHKSUM = file://COPYING;md5=d1c29f32ca774cecf0c83b46bb5c
+LIC_FILES_CHKSUM = file://COPYING;md5=a46c8040f2f737bcd0c435feb2ab1c2c
 
 DEPENDS += freetype fontcacheproto xtrans fontsproto libfontenc
 PROVIDES = xfont
@@ -15,11 +15,9 @@ PROVIDES = xfont
 PR = r0
 PE = 1
 
-#SRC_URI += file://no-scalable-crash.patch
-
 XORG_PN = libXfont
 
 BBCLASSEXTEND = native
 
-SRC_URI[md5sum] = 6fb689cfe13d8d9460f4abb5bd88588d
-SRC_URI[sha256sum] = 
f79245652901d20092092e942155d32b8dde15527637db3c09a1adc83672e9cc
+SRC_URI[md5sum] = f9942bc818d39094d7295b156a729393
+SRC_URI[sha256sum] = 
a2065f5f66882f7a9cb0eb674e16d284da48e449af443eda272e99832be8239a
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 8/8] distro_tracking_fields.inc: update the info

2011-11-30 Thread Dexuan Cui
pixman
libxrandr
lzo
libxfont
libxcursor
xcb-util
inputproto
liberation-fonts

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../conf/distro/include/distro_tracking_fields.inc |   66 ++-
 1 files changed, 35 insertions(+), 31 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc 
b/meta/conf/distro/include/distro_tracking_fields.inc
index 8477e94..323f150 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -453,11 +453,14 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnutls = 4 
months
 RECIPE_COMMENTS_pn-gnutls = requires libtasn1, but has an internal copy
 
 RECIPE_STATUS_pn-lzo = green
-RECIPE_LAST_UPDATE_pn-lzo = Dec 31, 2010
+RECIPE_LATEST_VERSION_pn-lzo = 2.06
+RECIPE_NO_OF_PATCHES_pn-lzo=1
+RECIPE_PATCH_pn-lzo+autoconf = a workaround for autoconf
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lzo=4 months
+RECIPE_LATEST_RELEASE_DATE_pn-lzo = Aug 12, 2011
+RECIPE_LAST_UPDATE_pn-lzo = Nov 30, 2011
 RECIPE_MAINTAINER_pn-lzo = Dexuan Cui dexuan@intel.com
-RECIPE_LATEST_VERSION_pn-lzo = 2.04
 RECIPE_INTEL_SECTION_pn-lzo = base libs
-RECIPE_LATEST_RELEASE_DATE_pn-lzo = Oct 01, 2010
 
 RECIPE_STATUS_pn-libtasn1 = green
 RECIPE_LATEST_VERSION_pn-libtasn1 = 2.10
@@ -3953,13 +3956,14 @@ RECIPE_MAINTAINER_pn-glproto = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-inputproto = green
 DISTRO_PN_ALIAS_pn-inputproto = Meego=xorg-x11-proto-inputproto
 RECIPE_DEPENDENCY_CHECK_pn-inputproto = not done
-RECIPE_LATEST_VERSION_pn-inputproto = 2.0.2
+RECIPE_LATEST_VERSION_pn-inputproto = 2.1.99.2
 RECIPE_NO_OF_PATCHES_pn-inputproto = 0
+RECIPE_NO_UPDATE_REASON_pn-libunique = Do not upgrade to version: 2.1.99.2 
that has unstable code
 RECIPE_INTEL_SECTION_pn-inputproto = x11/libs
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-inputproto = 7 months
-RECIPE_LATEST_RELEASE_DATE_pn-inputproto = Jun 7, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-inputproto = 2 months
+RECIPE_LATEST_RELEASE_DATE_pn-inputproto = Nov 10, 2011
 RECIPE_COMMENTS_pn-inputproto = 
-RECIPE_LAST_UPDATE_pn-inputproto = Jun 13, 2011
+RECIPE_LAST_UPDATE_pn-inputproto = Nov 30, 2011
 RECIPE_MAINTAINER_pn-inputproto = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-kbproto = green
@@ -4270,15 +4274,15 @@ RECIPE_MAINTAINER_pn-xproto = Dexuan Cui 
dexuan@intel.com
 
 RECIPE_STATUS_pn-liberation-fonts = green
 RECIPE_DEPENDENCY_CHECK_pn-liberation-fonts = not done
-RECIPE_LATEST_VERSION_pn-liberation-fonts = 1.07.0
-RECIPE_MANUAL_CHECK_DATE_pn-liberation-fonts = Jun 13, 2011
-RECIPE_NO_UPDATE_REASON_pn-liberation-fonts = Do not upgrade to version: 
1.07.0 because before doing that, we need adding new native packages like 
libungif_4.1.3, libspiro and fontforge first
+RECIPE_LATEST_VERSION_pn-liberation-fonts = 1.07.1
+RECIPE_MANUAL_CHECK_DATE_pn-liberation-fonts = Nov 30, 2011
+RECIPE_NO_UPDATE_REASON_pn-liberation-fonts = Do not upgrade to version: 
1.07.1 because before doing that, we need adding new native packages like 
libungif_4.1.3, libspiro and fontforge first
 RECIPE_NO_OF_PATCHES_pn-liberation-fonts = 0
 RECIPE_INTEL_SECTION_pn-liberation-fonts = x11/fonts
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liberation-fonts = 10 months
-RECIPE_LATEST_RELEASE_DATE_pn-liberation-fonts = May 30, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liberation-fonts = 4 months
+RECIPE_LATEST_RELEASE_DATE_pn-liberation-fonts = Sep 21, 2011
 RECIPE_COMMENTS_pn-liberation-fonts = current version 1.04 released open 
source under GPLv2 with exceptions
-RECIPE_LAST_UPDATE_pn-liberation-fonts = Jun 13, 2011
+RECIPE_LAST_UPDATE_pn-liberation-fonts = Nov 30, 2011
 RECIPE_MAINTAINER_pn-liberation-fonts = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-libfontenc = green
@@ -4294,13 +4298,13 @@ RECIPE_MAINTAINER_pn-libfontenc = Dexuan Cui 
dexuan@intel.com
 
 RECIPE_STATUS_pn-libxfont = green
 RECIPE_DEPENDENCY_CHECK_pn-libxfont = not done
-RECIPE_LATEST_VERSION_pn-libxfont = 1.4.2
+RECIPE_LATEST_VERSION_pn-libxfont = 1.4.4
 RECIPE_NO_OF_PATCHES_pn-libxfont = 0
 RECIPE_INTEL_SECTION_pn-libxfont = x11/libs
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfont = 8 months
-RECIPE_LATEST_RELEASE_DATE_pn-libxfont = Oct 01, 2009
-RECIPE_COMMENTS_pn-libxfont = the recipe file has a commented-out 
no-scalable-crash.patch
-RECIPE_LAST_UPDATE_pn-libxfont = Nov 24, 2010
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfont = 10 months
+RECIPE_LATEST_RELEASE_DATE_pn-libxfont = Aug 10, 2011
+RECIPE_COMMENTS_pn-libxfont = 
+RECIPE_LAST_UPDATE_pn-libxfont = Nov 30, 2011
 RECIPE_MAINTAINER_pn-libxfont = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-libice = green
@@ -4374,13 +4378,13 @@ RECIPE_MAINTAINER_pn-libxcomposite = Dexuan Cui 
dexuan@intel.com
 
 RECIPE_STATUS_pn-libxrandr = green
 RECIPE_DEPENDENCY_CHECK_pn-libxrandr = not done
-RECIPE_LATEST_VERSION_pn-libxrandr = 1.3.0
+RECIPE_LATEST_VERSION_pn-libxrandr = 1.3.2
 RECIPE_NO_OF_PATCHES_pn-libxrandr

[OE-core] [PATCH 7/8] inputproto: upgrade from 2.0.2 to the latest stable 2.0.99.1

2011-11-30 Thread Dexuan Cui
The current latest version 2.1.99.2 is not stable: This branch contains
protocol elements which have not yet been finalised., so we upgrade to
2.0.99.1 for now.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 ...{inputproto_2.0.2.bb = inputproto_2.0.99.1.bb} |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-proto/{inputproto_2.0.2.bb = 
inputproto_2.0.99.1.bb} (78%)

diff --git a/meta/recipes-graphics/xorg-proto/inputproto_2.0.2.bb 
b/meta/recipes-graphics/xorg-proto/inputproto_2.0.99.1.bb
similarity index 78%
rename from meta/recipes-graphics/xorg-proto/inputproto_2.0.2.bb
rename to meta/recipes-graphics/xorg-proto/inputproto_2.0.99.1.bb
index 26f1e2d..487d9b8 100644
--- a/meta/recipes-graphics/xorg-proto/inputproto_2.0.2.bb
+++ b/meta/recipes-graphics/xorg-proto/inputproto_2.0.99.1.bb
@@ -17,6 +17,6 @@ inherit gettext
 
 BBCLASSEXTEND = native nativesdk
 
-SRC_URI[md5sum] = 07d54ae098ed4e6dce472f6ef3de05ce
-SRC_URI[sha256sum] = 
64222a590ad4a62a3c8d57805379451769e3329cc5c8c5c1f1fc0d1529ebf005
+SRC_URI[md5sum] = c5a4bef0431b4197e95d1e15b2996d49
+SRC_URI[sha256sum] = 
e699b4c44977b8edb97d171c7a68ff1551366d00c5ed93e6b72e3d9072b48145
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/4] runqemu: look for *image* to be more flexible for image names

2011-11-24 Thread Dexuan Cui
From: Saul Wold s...@linux.intel.com

Signed-off-by: Saul Wold s...@linux.intel.com
---
 scripts/runqemu |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 31e9822..a9a362f 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -114,7 +114,7 @@ while [ $i -le $# ]; do
 usage
 fi
 ;;
-*-image-*)
+*image*)
 if [ -z $ROOTFS ]; then
 if [ -f $arg ]; then
 process_filename $arg
@@ -307,7 +307,7 @@ findimage() {
 
 # Sort rootfs candidates by modification time - the most
 # recently created one is the one we most likely want to boot.
-filenames=`ls -t $where/*core-image*$machine.$extension 2/dev/null | 
xargs`
+filenames=`ls -t $where/*image*$machine.$extension 2/dev/null | xargs`
 for name in $filenames; do
 if [[ $name =~ core-image-sato-sdk ||
   $name =~ core-image-sato ||
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/4] gcc-package-target.inc: add the symbol link /lib/cpp

2011-11-24 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-devtools/gcc/gcc-4.6.inc|2 +-
 meta/recipes-devtools/gcc/gcc-package-target.inc |2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc 
b/meta/recipes-devtools/gcc/gcc-4.6.inc
index 7bf14e3..7cd0850 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = r17
+PR = r18
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc 
b/meta/recipes-devtools/gcc/gcc-package-target.inc
index f0f1a04..3076670 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -122,6 +122,8 @@ do_install () {
ln -sf ${TARGET_PREFIX}g++ g++
ln -sf ${TARGET_PREFIX}gcc gcc
ln -sf ${TARGET_PREFIX}cpp cpp
+   install -d ${D}${base_libdir}
+   ln -sf ${bindir}/${TARGET_PREFIX}cpp ${D}${base_libdir}/cpp
ln -sf g++ c++
ln -sf gcc cc
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/4] coreutils: build and install hostname

2011-11-24 Thread Dexuan Cui
busybox's hostname doesn't work with pseudo somehow, so let's use the version
of coreutils. This is needed for the self-hosted-image work.

Also add a patch to disable building the doc and manual: we don't really need
them and this causes compilation error in the cross-compiling case.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../coreutils/coreutils-8.14/disable_doc_man.patch |   36 
 meta/recipes-core/coreutils/coreutils_8.14.bb  |9 +++--
 2 files changed, 41 insertions(+), 4 deletions(-)
 create mode 100644 
meta/recipes-core/coreutils/coreutils-8.14/disable_doc_man.patch

diff --git a/meta/recipes-core/coreutils/coreutils-8.14/disable_doc_man.patch 
b/meta/recipes-core/coreutils/coreutils-8.14/disable_doc_man.patch
new file mode 100644
index 000..c9dc92c
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-8.14/disable_doc_man.patch
@@ -0,0 +1,36 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+We don't really need to build the doc and manual.
+
+Morever, we get this failure in do_compile:
+help2man: can't get `--help' info from hostname.td/hostname
+
+This is because help2man tries to invoke hostname --help, but in the
+cross-compile case, the target binary may not be execuable on the host.
+
+Signed-off-by: Dexuan Cui dexuan@intel.com
+
+diff -Nru coreutils-8.14/Makefile.am coreutils-8.14/Makefile.am
+--- coreutils-8.14.orig/Makefile.am2011-10-10 15:30:55.0 +0800
 coreutils-8.14/Makefile.am 2011-11-24 17:29:26.398593744 +0800
+@@ -17,7 +17,7 @@
+ 
+ ALL_RECURSIVE_TARGETS =
+ 
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src po tests gnulib-tests
+ 
+ changelog_etc =   \
+   ChangeLog-2005  \
+diff -Nru coreutils-8.14.orig/Makefile.in coreutils-8.14/Makefile.in
+--- coreutils-8.14.orig/Makefile.in2011-10-12 17:21:46.0 +0800
 coreutils-8.14/Makefile.in 2011-11-24 17:29:14.868593748 +0800
+@@ -1453,7 +1453,7 @@
+ 
+ # Some tests always need root privileges, others need them only sometimes.
+ ALL_RECURSIVE_TARGETS = install-root check-root distcheck-hook
+-SUBDIRS = lib src doc man po tests gnulib-tests
++SUBDIRS = lib src po tests gnulib-tests
+ changelog_etc = \
+   ChangeLog-2005  \
+   ChangeLog-2006  \
diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb 
b/meta/recipes-core/coreutils/coreutils_8.14.bb
index 01face0..ec41fe2 100644
--- a/meta/recipes-core/coreutils/coreutils_8.14.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.14.bb
@@ -7,7 +7,7 @@ BUGTRACKER = http://debbugs.gnu.org/coreutils;
 LICENSE = GPLv3+
 LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
 
file://src/ls.c;startline=5;endline=16;md5=e1a509558876db58fb6667ba140137ad
-PR = r1
+PR = r2
 DEPENDS = gmp
 DEPENDS_virtclass-native = 
 
@@ -15,10 +15,13 @@ inherit autotools gettext
 
 SRC_URI = ${GNU_MIRROR}/coreutils/${BP}.tar.xz \
file://remove-usr-local-lib-from-m4.patch \
+   file://disable_doc_man.patch \
   
 SRC_URI[md5sum] = bcb135ce553493a45aba01b39eb3920a
 SRC_URI[sha256sum] = 
0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d
 
+EXTRA_OECONF += --enable-install-program=hostname
+
 EXTRA_OECONF_virtclass-native = --without-gmp
 
 # [ gets a special treatment and is not included in this
@@ -29,9 +32,8 @@ bindir_progs = base64 basename chcon cksum comm csplit cut 
dir dircolors dirnam
 sha384sum sha512sum shred shuf sort split stat stdbuf sum tac 
tail tee test timeout\
 tr truncate tsort tty unexpand uniq unlink uptime users vdir 
wc who whoami yes df
 
-# hostname gets a special treatment and is not included in this
 base_bindir_progs = cat chgrp chmod chown cp date dd echo false kill ln ls 
mkdir \
- mknod mv pwd rm rmdir sleep stty sync touch true uname
+ mknod mv pwd rm rmdir sleep stty sync touch true uname 
hostname
 
 sbindir_progs= chroot
 
@@ -71,7 +73,6 @@ pkg_prerm_${PN} () {
for i in ${sbindir_progs}; do update-alternatives --remove $i $i.${PN}; 
done
 
# The special cases
-   update-alternatives --remove hostname hostname.${PN}
update-alternatives --remove uptime uptime.${PN}
update-alternatives --remove '[' 'lbracket.${PN}'
 }
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/4] Self Hosted Image: Added Task and Images

2011-11-24 Thread Dexuan Cui
From: Saul Wold s...@linux.intel.com

This is the first pass of creating a self hosted image, this task
and image can pass bitbake's sanity check (if modified to remove the
cvs check) and can build psuedo, albit very slowly on qemu.

Signed-off-by: Saul Wold s...@linux.intel.com
Signed-off-by: Dexuan Cui dexuan@intel.com
Signed-off-by: Zhai Edwin edwin.z...@intel.com
---
 meta/recipes-core/images/self-hosted-image.bb |   11 ++
 meta/recipes-core/tasks/task-self-hosted.bb   |  174 +
 2 files changed, 185 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-core/images/self-hosted-image.bb
 create mode 100644 meta/recipes-core/tasks/task-self-hosted.bb

diff --git a/meta/recipes-core/images/self-hosted-image.bb 
b/meta/recipes-core/images/self-hosted-image.bb
new file mode 100644
index 000..7ddba9c
--- /dev/null
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -0,0 +1,11 @@
+IMAGE_INSTALL = task-core-boot task-core-apps-console task-core-ssh-openssh 
task-self-hosted
+
+POKY_EXTRA_INSTALL = \
+task-self-hosted \
+
+
+IMAGE_ROOTFS_EXTRA_SPACE = 1048576
+
+inherit core-image
+
+PR = r0
diff --git a/meta/recipes-core/tasks/task-self-hosted.bb 
b/meta/recipes-core/tasks/task-self-hosted.bb
new file mode 100644
index 000..c218f43
--- /dev/null
+++ b/meta/recipes-core/tasks/task-self-hosted.bb
@@ -0,0 +1,174 @@
+#
+# Copyright (C) 2010 Intel Corporation
+#
+
+DESCRIPTION = Create Basic Image Tasks
+PR = r0
+LICENSE = MIT
+LIC_FILES_CHKSUM = 
file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
+
+PACKAGES = \
+task-self-hosted \
+task-self-hosted-debug \
+task-self-hosted-sdk \
+task-self-hosted-extended \
+task-self-hosted-graphics \
+
+
+ALLOW_EMPTY = 1
+
+RDEPENDS_task-self-hosted = \
+task-self-hosted-debug \
+task-self-hosted-sdk \
+task-self-hosted-extended \
+task-self-hosted-graphics \
+
+
+# eglibc-utils: for rpcgen
+RDEPENDS_task-self-hosted-sdk = \
+sed \
+mktemp \
+eglibc-utils \
+autoconf \
+automake \
+binutils-symlinks \
+binutils \
+cpp \
+cpp-symlinks \
+ccache \
+gcc \
+gcc-symlinks \
+g++ \
+g++-symlinks \
+gettext \
+make \
+intltool \
+libstdc++ \
+libstdc++-dev \
+libtool \
+perl-module-re \
+perl-module-text-wrap \
+coreutils \
+diffutils \
+pkgconfig \
+findutils \
+quilt \
+less \
+distcc \
+ldd \
+file \
+tcl \
+
+
+RDEPENDS_task-self-hosted-debug =  \
+gdb \
+gdbserver \
+tcf-agent \
+rsync \
+strace
+
+
+RDEPENDS_task-self-hosted-extended = \
+binutils \
+bzip2 \
+chkconfig \
+chrpath \
+curl \
+dhcp-client \
+diffstat \
+diffutils \
+elfutils \
+expat \
+gamin \
+gdbm \
+git \
+gettext \
+gettext-runtime \
+grep \
+groff \
+gawk \
+hdparm \
+libaio \
+libxml2 \
+libusb1 \
+lrzsz \
+lsof \
+lzo \
+man \
+man-pages \
+mc \
+mdadm \
+minicom \
+mtools \
+ncurses \
+neon \
+openssl \
+opkg \
+opkg-utils \
+parted \
+patch \
+perl \
+perl-modules \
+perl-dev \
+pth \
+python \
+python-compile \
+python-compiler \
+python-core \
+python-curses \
+python-datetime \
+python-distutils \
+python-elementtree \
+python-fcntl \
+python-logging \
+python-misc \
+python-multiprocessing \
+python-netclient \
+python-netserver \
+python-pickle \
+python-re \
+python-rpm \
+python-shell \
+python-sqlite3 \
+python-subprocess \
+python-textutils \
+python-xmlrpc \
+python-email \
+python-unixadmin \
+python-compression \
+quota \
+readline \
+rpm \
+screen \
+setserial \
+strace \
+subversion \
+sysstat \
+tar \
+gzip \
+tcl \
+texi2html \
+texinfo \
+usbutils \
+unzip \
+watchdog \
+wget \
+which \
+xinetd \
+zip \
+zlib \
+cpio \
+
+
+
+RDEPENDS_task-self-hosted-graphics = \
+python-pygtk \
+mesa-dri \
+mesa-dri-dev \
+libglu \
+libglu-dev \
+libsdl \
+libsdl-dev \
+libx11-dev \
+
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/4] self-hosted-image: the first set of patch

2011-11-24 Thread Dexuan Cui
This is the first patchset for the task Build Applianc: self-hosted-image:
https://wiki.yoctoproject.org/wiki/Build_Appliance_Design

The only notable issue left is:
there is an eglibc_initial do_insall failure that seems be caused by make-3.82.
If we downgrade to make-3.81(the hacking patch is at
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=gzhai/build-applianceid=981a37e3e031e7c96361c1c170050ab3cdbadf6c),
bitbake core-image-minimal in the target can build fine. The built image can
run fine with host's qemu (in target, runqemu doesn't work yet as at least
sudo is absent -- we're fixing this).

The above patchset was done by the Build Appliance development team, including
Saul, Edwin and me.

Though there are still some known issues, now we want to share the patches.
Please review, comment and merge them(if they seem good :-).


Thanks!

-- Dexuan, on behalf of the team


The following changes since commit dc2d701207435b0dbd521a11d152f11d0f18d11e:

  apt: Fix locale header and hardcoded libname issues (2011-11-23 23:41:09 
+)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/self-hosted-v2
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/self-hosted-v2

Dexuan Cui (2):
  gcc-package-target.inc: add the symbol link /lib/cpp
  coreutils: build and install hostname

Saul Wold (2):
  runqemu: look for *image* to be more flexible for image names
  Self Hosted Image: Added Task and Images

 .../coreutils/coreutils-8.14/disable_doc_man.patch |   36 
 meta/recipes-core/coreutils/coreutils_8.14.bb  |9 +-
 meta/recipes-core/images/self-hosted-image.bb  |   11 ++
 meta/recipes-core/tasks/task-self-hosted.bb|  174 
 meta/recipes-devtools/gcc/gcc-4.6.inc  |2 +-
 meta/recipes-devtools/gcc/gcc-package-target.inc   |2 +
 scripts/runqemu|4 +-
 7 files changed, 231 insertions(+), 7 deletions(-)
 create mode 100644 
meta/recipes-core/coreutils/coreutils-8.14/disable_doc_man.patch
 create mode 100644 meta/recipes-core/images/self-hosted-image.bb
 create mode 100644 meta/recipes-core/tasks/task-self-hosted.bb

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] qemu-config: use pkg_postinst to generate the proper shutdown.desktop

2011-09-22 Thread Dexuan Cui
[YOCTO #1507]

We need to remove the file qemuarm/shutdown.desktop, or else, on qemuarm,
due to the PACKAGE_ARCH overriding from all to qemuarm in base.bbclass,
the generated deb file will be stored at
tmp/deploy/deb/qemuarm/qemu-config_1.0-r21_allarch.deb rather than
tmp/deploy/deb/all/qemu-config_1.0-r21_all.deb, and the package qemu-config
won't be installable -- task-base finally rdepends on qemu-config, so we get
the do_rootfs failure:

The following packages have unmet dependencies:
|   task-base-extended: Depends: task-base but it is not going to be installed
| E: Broken packages

There is also a generic shutdown.desktop, we can keep it and use a proper
pkg_postinst to cope with the case of qemuarm.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-bsp/qemu-config/qemu-config.bb|7 ++-
 .../qemu-config/qemuarm/shutdown.desktop   |   10 --
 2 files changed, 6 insertions(+), 11 deletions(-)
 delete mode 100644 
meta/recipes-bsp/qemu-config/qemu-config/qemuarm/shutdown.desktop

diff --git a/meta/recipes-bsp/qemu-config/qemu-config.bb 
b/meta/recipes-bsp/qemu-config/qemu-config.bb
index 70a113e..ebf957a 100644
--- a/meta/recipes-bsp/qemu-config/qemu-config.bb
+++ b/meta/recipes-bsp/qemu-config/qemu-config.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa
 
 COMPATIBLE_MACHINE = (qemuarm|qemux86|qemumips|qemuppc)
 
-PR = r21
+PR = r22
 
 SRC_URI = file://distcc.sh \
file://anjuta-remote-run \
@@ -32,6 +32,11 @@ do_install() {
 install qemu-autostart ${D}/etc/init.d/
 }
 
+pkg_postinst_${PN} () {
+grep -q qemuarm $D${sysconfdir}/hostname  \
+sed -i $D${datadir}/applications/shutdown.desktop -e 
's/^Exec=halt/Exec=reboot/'
+}
+
 RDEPENDS_${PN} = distcc dbus-x11 task-core-nfs-server oprofileui-server rsync 
bash
 
 inherit update-rc.d allarch
diff --git a/meta/recipes-bsp/qemu-config/qemu-config/qemuarm/shutdown.desktop 
b/meta/recipes-bsp/qemu-config/qemu-config/qemuarm/shutdown.desktop
deleted file mode 100644
index b973d43..000
--- a/meta/recipes-bsp/qemu-config/qemu-config/qemuarm/shutdown.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Type=Application
-Name=Shutdown
-Comment=Close down the machine safely
-Exec=reboot
-Icon=system-shutdown
-Terminal=false
-Categories=Utility;
-StartupNotify=true
\ No newline at end of file
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] fix to bug 1086

2011-09-19 Thread Dexuan Cui
The following changes since commit 843f9af47ffccb7ffdf3039c560bc3e4c88175a2:

  sanity.bbclass: add a sanity check for KDE 4.x konsole in TERMCMD (2011-09-18 
15:58:58 -0700)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/bug-1086
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/bug-1086

Dexuan Cui (1):
  deb packages support: switch from /var/dpkg to /var/lib/dpkg

 meta/classes/package_deb.bbclass   |   10 +-
 meta/classes/populate_sdk_deb.bbclass  |4 ++--
 meta/classes/rootfs_deb.bbclass|   20 ++--
 meta/recipes-devtools/apt/apt-native_0.7.14.bb |2 +-
 meta/recipes-devtools/apt/apt_0.7.14.bb|2 +-
 meta/recipes-devtools/apt/files/apt.conf   |4 ++--
 .../dpkg/run-postinsts/run-postinsts   |2 +-
 .../dpkg/run-postinsts/run-postinsts.awk   |2 +-
 meta/recipes-devtools/dpkg/run-postinsts_1.0.bb|2 +-
 .../update-alternatives-dpkg.inc   |6 +++---
 10 files changed, 27 insertions(+), 27 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] deb packages support: switch from /var/dpkg to /var/lib/dpkg

2011-09-19 Thread Dexuan Cui
[YOCTO #1086]

The pach was backported from OE:
http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/classes/package_deb.bbclass   |   10 +-
 meta/classes/populate_sdk_deb.bbclass  |4 ++--
 meta/classes/rootfs_deb.bbclass|   20 ++--
 meta/recipes-devtools/apt/apt-native_0.7.14.bb |2 +-
 meta/recipes-devtools/apt/apt_0.7.14.bb|2 +-
 meta/recipes-devtools/apt/files/apt.conf   |4 ++--
 .../dpkg/run-postinsts/run-postinsts   |2 +-
 .../dpkg/run-postinsts/run-postinsts.awk   |2 +-
 meta/recipes-devtools/dpkg/run-postinsts_1.0.bb|2 +-
 .../update-alternatives-dpkg.inc   |6 +++---
 10 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 5a32047..6733e64 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -135,11 +135,11 @@ package_install_internal_deb () {
 
export APT_CONFIG=${STAGING_ETCDIR_NATIVE}/apt/apt-${task}.conf
 
-   mkdir -p ${target_rootfs}/var/dpkg/info
-   mkdir -p ${target_rootfs}/var/dpkg/updates
+   mkdir -p ${target_rootfs}/var/lib/dpkg/info
+   mkdir -p ${target_rootfs}/var/lib/dpkg/updates
 
-${target_rootfs}/var/dpkg/status
-${target_rootfs}/var/dpkg/available
+${target_rootfs}/var/lib/dpkg/status
+${target_rootfs}/var/lib/dpkg/available
 
apt-get update
 
@@ -179,7 +179,7 @@ package_install_internal_deb () {
done
 
# Mark all packages installed
-   sed -i -e s/Status: install ok unpacked/Status: install ok 
installed/; ${target_rootfs}/var/dpkg/status
+   sed -i -e s/Status: install ok unpacked/Status: install ok 
installed/; ${target_rootfs}/var/lib/dpkg/status
 }
 
 deb_log_check() {
diff --git a/meta/classes/populate_sdk_deb.bbclass 
b/meta/classes/populate_sdk_deb.bbclass
index 2cff69e..be7b552 100644
--- a/meta/classes/populate_sdk_deb.bbclass
+++ b/meta/classes/populate_sdk_deb.bbclass
@@ -52,8 +52,8 @@ fakeroot populate_sdk_deb () {
populate_sdk_post_deb ${SDK_OUTPUT}/${SDKPATHNATIVE}
 
#move remainings
-   install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/var/dpkg
-   mv ${SDK_OUTPUT}/var/dpkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}/var/dpkg
+   install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/var/lib/dpkg
+   mv ${SDK_OUTPUT}/var/lib/dpkg/* 
${SDK_OUTPUT}/${SDKPATHNATIVE}/var/lib/dpkg
rm -rf ${SDK_OUTPUT}/var
 
populate_sdk_log_check populate_sdk
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index e03e80b..bab8e1e 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -13,7 +13,7 @@ opkglibdir = ${localstatedir}/lib/opkg
 fakeroot rootfs_deb_do_rootfs () {
set +e
 
-   mkdir -p ${IMAGE_ROOTFS}/var/dpkg/alternatives
+   mkdir -p ${IMAGE_ROOTFS}/var/lib/dpkg/alternatives
 
# update index
package_update_index_deb
@@ -36,15 +36,15 @@ fakeroot rootfs_deb_do_rootfs () {
export OPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
 
_flag () {
-   sed -i -e /^Package: $2\$/{n; s/Status: install ok .*/Status: 
install ok $1/;} ${IMAGE_ROOTFS}/var/dpkg/status
+   sed -i -e /^Package: $2\$/{n; s/Status: install ok .*/Status: 
install ok $1/;} ${IMAGE_ROOTFS}/var/lib/dpkg/status
}
_getflag () {
-   cat ${IMAGE_ROOTFS}/var/dpkg/status | sed -n -e /^Package: 
$2\$/{n; s/Status: install ok .*/$1/; p}
+   cat ${IMAGE_ROOTFS}/var/lib/dpkg/status | sed -n -e /^Package: 
$2\$/{n; s/Status: install ok .*/$1/; p}
}
 
# Attempt to run preinsts
# Mark packages with preinst failures as unpacked
-   for i in ${IMAGE_ROOTFS}/var/dpkg/info/*.preinst; do
+   for i in ${IMAGE_ROOTFS}/var/lib/dpkg/info/*.preinst; do
if [ -f $i ]  ! sh $i; then
_flag unpacked `basename $i .preinst`
fi
@@ -52,7 +52,7 @@ fakeroot rootfs_deb_do_rootfs () {
 
# Attempt to run postinsts
# Mark packages with postinst failures as unpacked
-   for i in ${IMAGE_ROOTFS}/var/dpkg/info/*.postinst; do
+   for i in ${IMAGE_ROOTFS}/var/lib/dpkg/info/*.postinst; do
if [ -f $i ]  ! sh $i configure; then
_flag unpacked `basename $i .postinst`
fi
@@ -65,12 +65,12 @@ fakeroot rootfs_deb_do_rootfs () {
 
# Hacks to allow opkg's update-alternatives and opkg to coexist for now
mkdir -p ${IMAGE_ROOTFS}${opkglibdir}
-   if [ -e ${IMAGE_ROOTFS}/var/dpkg/alternatives ]; then
-   rmdir ${IMAGE_ROOTFS}/var/dpkg/alternatives
+   if [ -e ${IMAGE_ROOTFS}/var/lib/dpkg/alternatives

[OE-core] [PATCH 0/1] a new patch to bug 1070

2011-09-14 Thread Dexuan Cui
The following changes since commit 372fffc4e289f88388de55665b1c5d766b956b37:

  dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternatives 
(2011-09-13 21:08:37 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/deb
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/deb

Dexuan Cui (1):
  package_deb.bbclass, populate_sdk_deb.bbclass: fix
meta-toolchain-gmae build

 meta/classes/package_deb.bbclass  |   10 --
 meta/classes/populate_sdk_deb.bbclass |6 +-
 2 files changed, 9 insertions(+), 7 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] fix to bug 1070

2011-09-13 Thread Dexuan Cui
The following changes since commit 8fce8180c802ad187c4df44c17207bfb026ce6c7:

  shadow: add patch for useradd lossage (2011-09-09 18:42:47 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/deb
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/deb

Dexuan Cui (1):
  dpkg: fix pkg_postinst_dpkg, don't supply
{bindir}/update-alternatives

 meta/recipes-devtools/dpkg/dpkg.inc |   19 ---
 meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb |2 +-
 2 files changed, 9 insertions(+), 12 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternatives

2011-09-13 Thread Dexuan Cui
[YOCTO #1070].

The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native,
${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist.
I think OE's version(do_install_prepend) at
http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc
is correct, so let's change to OE's version.

And, bth dpkg and update-alternatives-cworth supply
/usr/bin/update-alternatives and this causes conflict. e.g., bug 1070.
We can resolve the issue by ask dpkg not to supply the binary.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-devtools/dpkg/dpkg.inc |   19 ---
 meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb |2 +-
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc 
b/meta/recipes-devtools/dpkg/dpkg.inc
index aa5f90e..8c2511d 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -2,7 +2,7 @@ DESCRIPTION = Package maintenance system for Debian.
 LICENSE = GPL
 SECTION = base
 
-INC_PR = r4
+INC_PR = r5
 
 SRC_URI = ${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2 \
file://ignore_extra_fields.patch
@@ -20,17 +20,14 @@ inherit autotools gettext perlnative
 
 DPKG_INIT_POSITION = 98
 
-pkg_postinst_dpkg () {
-#!/bin/sh
-if [ x$D != x ]; then
-   install -d $D/${sysconfdir}/rcS.d
+do_install_prepend () {
+   install -d ${D}/${sysconfdir}/rcS.d
# this happens at S98 where our good 'ole packages script used to run
-   echo -e #!/bin/sh
-   dpkg --configure -a
-   rm -f /${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
-  ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
-   chmod 0755 $D/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
-fi
+   printf #!/bin/sh
+dpkg --configure -a
+rm -f ${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
+  ${D}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
+   chmod 0755 ${D}/${sysconfdir}/rcS.d/S${DPKG_INIT_POSITION}configure
 }
 
 do_configure () {
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb 
b/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
index 91535d3..99197c0 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
@@ -20,6 +20,6 @@ EXTRA_OECONF = --without-static-progs \
 
 BBCLASSEXTEND = native
 
-do_install_append_virtclass-native () {
+do_install_append () {
rm ${D}${bindir}/update-alternatives
 }
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/5] default-providers.inc: define update-alternatives and -native properly

2011-09-06 Thread Dexuan Cui
For DEB packaging, we should use the -dpkg versions;
For IPK packaging, we should use the -cworth and opkg versions.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/conf/distro/include/default-providers.inc |5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta/conf/distro/include/default-providers.inc 
b/meta/conf/distro/include/default-providers.inc
index d51ac64..f818f37 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -6,15 +6,14 @@ PREFERRED_PROVIDER_virtual/db-native ?= db-native
 PREFERRED_PROVIDER_virtual/xserver ?= xserver-xf86
 PREFERRED_PROVIDER_virtual/xserver-xf86 ?= xserver-xf86-dri-lite
 PREFERRED_PROVIDER_virtual/libgl ?= mesa-xlib
-PREFERRED_PROVIDER_virtual/update-alternatives ?= update-alternatives-cworth
-PREFERRED_PROVIDER_virtual/update-alternatives-native ?= opkg-native
+PREFERRED_PROVIDER_virtual/update-alternatives-native ?= 
${@base_conditional('IMAGE_PKGTYPE', 'deb', 'update-alternatives-dpkg-native', 
'opkg-native', d)}
 PREFERRED_PROVIDER_virtual/libx11 ?= libx11-trim
 PREFERRED_PROVIDER_xf86-video-intel ?= xf86-video-intel
 
 #
 # Default virtual runtime providers
 #
-VIRTUAL-RUNTIME_update-alternatives ?= update-alternatives-cworth
+VIRTUAL-RUNTIME_update-alternatives ?= ${@base_conditional('IMAGE_PKGTYPE', 
'deb', 'update-alternatives-dpkg', 'update-alternatives-cworth', d)}
 
 #
 # Default recipe providers
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/5] populate_sdk_deb.bbclass: add the missing parameter - for tar

2011-09-06 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/classes/populate_sdk_deb.bbclass |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/populate_sdk_deb.bbclass 
b/meta/classes/populate_sdk_deb.bbclass
index 1bf1b95..40516b8 100644
--- a/meta/classes/populate_sdk_deb.bbclass
+++ b/meta/classes/populate_sdk_deb.bbclass
@@ -6,7 +6,7 @@ populate_sdk_post_deb () {
 
local target_rootfs=$1
 
-   tar -cf -C ${STAGING_ETCDIR_NATIVE} -ps apt | tar -xf - -C 
${target_rootfs}/etc
+   tar -cf - -C ${STAGING_ETCDIR_NATIVE} -ps apt | tar -xf - -C 
${target_rootfs}/etc
 }
 
 fakeroot populate_sdk_deb () {
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/5] opkg: it should Rdepend on update-alternatives-cworth

2011-09-06 Thread Dexuan Cui
VIRTUAL-RUNTIME_update-alternatives could be
update-alternatives-cworth or
update-alternatives-dpkg.
But opkg can only Rdepend on the former.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-devtools/opkg/opkg_0.1.8.bb |4 ++--
 meta/recipes-devtools/opkg/opkg_svn.bb   |4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/opkg/opkg_0.1.8.bb 
b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
index 18cf042..36e2355 100644
--- a/meta/recipes-devtools/opkg/opkg_0.1.8.bb
+++ b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
@@ -3,7 +3,7 @@ require opkg.inc
 PROVIDES += virtual/update-alternatives
 RPROVIDES_update-alternatives-cworth += update-alternatives
 RCONFLICTS_update-alternatives-cworth = update-alternatives-dpkg
-RDEPENDS_${PN} = ${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base
+RDEPENDS_${PN} = update-alternatives-cworth opkg-config-base
 RDEPENDS_${PN}_virtclass-native = 
 RDEPENDS_${PN}_virtclass-nativesdk = 
 PACKAGE_ARCH_update-alternatives-cworth = all
@@ -13,7 +13,7 @@ SRC_URI = http://opkg.googlecode.com/files/opkg-${PV}.tar.gz 
\
file://headerfix.patch \
 
 
-PR = r4
+PR = r5
 
 PACKAGES =+ libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} 
update-alternatives-cworth${PKGSUFFIX}
 
diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb 
b/meta/recipes-devtools/opkg/opkg_svn.bb
index 099a373..7fb74d5 100644
--- a/meta/recipes-devtools/opkg/opkg_svn.bb
+++ b/meta/recipes-devtools/opkg/opkg_svn.bb
@@ -3,7 +3,7 @@ require opkg.inc
 PROVIDES += virtual/update-alternatives
 RPROVIDES_update-alternatives-cworth += update-alternatives
 RCONFLICTS_update-alternatives-cworth = update-alternatives-dpkg
-RDEPENDS_${PN} = ${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base
+RDEPENDS_${PN} = update-alternatives-cworth opkg-config-base
 RDEPENDS_${PN}_virtclass-native = 
 RDEPENDS_${PN}_virtclass-nativesdk = 
 PACKAGE_ARCH_update-alternatives-cworth = all
@@ -17,7 +17,7 @@ S = ${WORKDIR}/trunk
 
 SRCREV = 625
 PV = 0.1.8+svnr${SRCPV}
-PR = r2
+PR = r3
 
 PACKAGES =+ libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} 
update-alternatives-cworth${PKGSUFFIX}
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 01/10] bluez-hcidump: upgrade from 2.0 to 2.1

2011-08-16 Thread Dexuan Cui
[YOCTO #1371]

Recently bluez4 was updated from 4.82 to 4.96 and bluez-hcidump can't build:
src/hcidump.c:54:24: error: redefinition of 'ntoh64'.

In 2.1 the duplicated definition of ntoh64 was removed.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../{bluez-hcidump_2.0.bb = bluez-hcidump_2.1.bb} |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/bluez/{bluez-hcidump_2.0.bb = 
bluez-hcidump_2.1.bb} (83%)

diff --git a/meta/recipes-connectivity/bluez/bluez-hcidump_2.0.bb 
b/meta/recipes-connectivity/bluez/bluez-hcidump_2.1.bb
similarity index 83%
rename from meta/recipes-connectivity/bluez/bluez-hcidump_2.0.bb
rename to meta/recipes-connectivity/bluez/bluez-hcidump_2.1.bb
index c271ed2..ce84f58 100644
--- a/meta/recipes-connectivity/bluez/bluez-hcidump_2.0.bb
+++ b/meta/recipes-connectivity/bluez/bluez-hcidump_2.1.bb
@@ -11,8 +11,8 @@ PR = r0
 
 SRC_URI = 
http://www.kernel.org/pub/linux/bluetooth/bluez-hcidump-${PV}.tar.gz;
 
-SRC_URI[md5sum] = 5c2e3ef0a68b2845047867ba51ff8ac9
-SRC_URI[sha256sum] = 
b3b64fd0b18301df07d3aaf34c037c1e4808b4aaf702294822d62b5424f617fd
+SRC_URI[md5sum] = b160f0672276398344eebe9df1b37a2c
+SRC_URI[sha256sum] = 
a6cc20b95b6b1a28ff336aad91e124555231628689225c1155e8cd7aac1af86d
 S = ${WORKDIR}/bluez-hcidump-${PV}
 
 EXTRA_OECONF = --with-bluez-libs=${STAGING_LIBDIR} 
--with-bluez-includes=${STAGING_INCDIR}
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 00/10] fixes to 1371 and 1330, and upgrades to some recipes

2011-08-16 Thread Dexuan Cui
The following changes since commit 13db5f420ca9bff98561f80d78958278734ad1f4:

  distro-tracking: Update info for gpgme, libassuan, apr... after last upgrade. 
(2011-08-15 15:26:04 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/master
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Dexuan Cui (10):
  bluez-hcidump: upgrade from 2.0 to 2.1
  tcf-agent: add openssl into DEPENDS
  cronie: upgrade from 1.4.7 to 1.4.8
  mdadm: upgrade mdadm from 3.2.1 to 3.2.2
  util-macros: upgrade from 1.14.0 to the latest version 0.15.0
  freetype: upgrade from 2.4.4 to 2.4.6
  xproto: upgrade from 7.0.21 to 7.0.22
  glproto: upgrade from 1.4.13 to 1.4.14
  dri2proto: upgrade from 2.4 to 2.6
  distro_tracking_fields.inc: update the info for the following recipes

 .../conf/distro/include/distro_tracking_fields.inc |   56 +++---
 .../{bluez-hcidump_2.0.bb = bluez-hcidump_2.1.bb} |4 +-
 meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb   |4 +-
 .../cronie/{cronie_1.4.7.bb = cronie_1.4.8.bb}|6 +-
 .../mdadm/fix_for_compilation_with_gcc-4.6.0.patch |  174 
 .../mdadm/{mdadm_3.2.1.bb = mdadm_3.2.2.bb}   |9 +-
 .../no-hardcode.patch  |0
 .../{freetype_2.4.4.bb = freetype_2.4.6.bb}   |8 +-
 .../restore_to_old_xDRI2BufferSwapComplete.patch   |   53 --
 .../{dri2proto_2.4.bb = dri2proto_2.6.bb} |7 +-
 .../restore_the_old_xGLXBufferSwapComplete.patch   |   53 --
 .../{glproto_1.4.13.bb = glproto_1.4.14.bb}   |7 +-
 .../{xproto_7.0.21.bb = xproto_7.0.22.bb} |4 +-
 ...util-macros_1.14.0.bb = util-macros_1.15.0.bb} |4 +-
 14 files changed, 53 insertions(+), 336 deletions(-)
 rename meta/recipes-connectivity/bluez/{bluez-hcidump_2.0.bb = 
bluez-hcidump_2.1.bb} (83%)
 rename meta/recipes-extended/cronie/{cronie_1.4.7.bb = cronie_1.4.8.bb} (94%)
 delete mode 100644 
meta/recipes-extended/mdadm/mdadm/fix_for_compilation_with_gcc-4.6.0.patch
 rename meta/recipes-extended/mdadm/{mdadm_3.2.1.bb = mdadm_3.2.2.bb} (77%)
 rename meta/recipes-graphics/freetype/{freetype-2.4.4 = 
freetype-2.4.6}/no-hardcode.patch (100%)
 rename meta/recipes-graphics/freetype/{freetype_2.4.4.bb = freetype_2.4.6.bb} 
(82%)
 delete mode 100644 
meta/recipes-graphics/xorg-proto/dri2proto/restore_to_old_xDRI2BufferSwapComplete.patch
 rename meta/recipes-graphics/xorg-proto/{dri2proto_2.4.bb = dri2proto_2.6.bb} 
(66%)
 delete mode 100644 
meta/recipes-graphics/xorg-proto/glproto/restore_the_old_xGLXBufferSwapComplete.patch
 rename meta/recipes-graphics/xorg-proto/{glproto_1.4.13.bb = 
glproto_1.4.14.bb} (68%)
 rename meta/recipes-graphics/xorg-proto/{xproto_7.0.21.bb = xproto_7.0.22.bb} 
(72%)
 rename meta/recipes-graphics/xorg-util/{util-macros_1.14.0.bb = 
util-macros_1.15.0.bb} (80%)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 02/10] tcf-agent: add openssl into DEPENDS

2011-08-16 Thread Dexuan Cui
[YOCTO #1330]

If tcf-agent's do_compile happens before openssl does populate_root, we'll
get such a compilation failure:
framework/channel_tcp.c:34:27: fatal error: openssl/ssl.h: No such file or 
directory

Thanks Kumar Gala for reporting this!

Signed-off-by: Dexuan Cui dexuan@intel.com
Cc: Kumar Gala ga...@kernel.crashing.org
---
 meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb 
b/meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb
index 3f97f69..37591c2 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
file://../epl-v10.html;md5=7aa4215a330a0a4f6a1cbf8da1a0879f
 
 SRCREV = 1855
 PV = 0.0+svnr${SRCPV}
-PR = r0
+PR = r1
 
 SRC_URI = 
svn://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk;module=agent;proto=http
 \

http://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk/epl-v10.html;name=epl
 \
@@ -19,7 +19,7 @@ SRC_URI = 
svn://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk;module=ag
 SRC_URI[epl.md5sum] = 7aa4215a330a0a4f6a1cbf8da1a0879f
 SRC_URI[epl.sha256sum] = 
4fd64aeed340d62a64a8da4b371efe0f6d0d745f4d2dbefacba86c646d36bc72
 
-DEPENDS = util-linux
+DEPENDS = util-linux openssl
 RDEPENDS_${PN} = bash
 
 S = ${WORKDIR}/agent
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 05/10] util-macros: upgrade from 1.14.0 to the latest version 0.15.0

2011-08-16 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 ...util-macros_1.14.0.bb = util-macros_1.15.0.bb} |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-util/{util-macros_1.14.0.bb = 
util-macros_1.15.0.bb} (80%)

diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.14.0.bb 
b/meta/recipes-graphics/xorg-util/util-macros_1.15.0.bb
similarity index 80%
rename from meta/recipes-graphics/xorg-util/util-macros_1.14.0.bb
rename to meta/recipes-graphics/xorg-util/util-macros_1.15.0.bb
index 4fa235b..fb1772b 100644
--- a/meta/recipes-graphics/xorg-util/util-macros_1.14.0.bb
+++ b/meta/recipes-graphics/xorg-util/util-macros_1.15.0.bb
@@ -20,5 +20,5 @@ RRECOMMENDS_${PN}-dbg = ${PN}-dev (= ${EXTENDPKGV})
 
 BBCLASSEXTEND = native nativesdk
 
-SRC_URI[md5sum] = cbe57cd7cc492a762466f5280a7ffba8
-SRC_URI[sha256sum] = 
9bd6949b930aadfce32bc9e101008d4c6ff48329ed0e3a467990bee69f574d66
+SRC_URI[md5sum] = c7f0c94126443f6744328a92d2b94cff
+SRC_URI[sha256sum] = 
db05c59c0e7843c398ed2847ba4b5bf54292499e5fcadbb7c38a445bf4347ab8
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 04/10] mdadm: upgrade mdadm from 3.2.1 to 3.2.2

2011-08-16 Thread Dexuan Cui
Remove the patch since 3.2.2 has integrated it.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../mdadm/fix_for_compilation_with_gcc-4.6.0.patch |  174 
 .../mdadm/{mdadm_3.2.1.bb = mdadm_3.2.2.bb}   |9 +-
 2 files changed, 4 insertions(+), 179 deletions(-)
 delete mode 100644 
meta/recipes-extended/mdadm/mdadm/fix_for_compilation_with_gcc-4.6.0.patch
 rename meta/recipes-extended/mdadm/{mdadm_3.2.1.bb = mdadm_3.2.2.bb} (77%)

diff --git 
a/meta/recipes-extended/mdadm/mdadm/fix_for_compilation_with_gcc-4.6.0.patch 
b/meta/recipes-extended/mdadm/mdadm/fix_for_compilation_with_gcc-4.6.0.patch
deleted file mode 100644
index f79511b..000
--- a/meta/recipes-extended/mdadm/mdadm/fix_for_compilation_with_gcc-4.6.0.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-Upstream-Status: Pending
-
-Nitin A Kamble nitin.a.kam...@intel.com 2011/05/06
-
-Fix these compilation errors with gcc 4.6.0
-
-| super1.c: In function 'calc_sb_1_csum':
-| super1.c:114:6: error: variable 'i' set but not used 
[-Werror=unused-but-set-variable]
-| Query.c: In function 'Query':
-| Query.c:38:16: error: variable 'superrno' set but not used 
[-Werror=unused-but-set-variable]
-| super1.c: In function 'examine_super1':
-| super1.c:390:7: error: variable 'me' set but not used 
[-Werror=unused-but-set-variable]
-| cc1: all warnings being treated as errors
-| 
-| make: *** [Query.o] Error 1
-| make: *** Waiting for unfinished jobs
-| mdadm.c: In function 'main':
-| mdadm.c:106:6: error: variable 'auto_update_home' set but not used 
[-Werror=unused-but-set-variable]
-| mdmon.c: In function 'mdmon':
-| mdmon.c:354:6: error: variable 'ignore' set but not used 
[-Werror=unused-but-set-variable]
-| cc1: all warnings being treated as errors
-| 
-| make: *** [mdmon.o] Error 1
-| cc1: all warnings being treated as errors
-| 
-| sysfs.c: In function 'sysfs_uevent':
-| sysfs.c:421:6: error: variable 'n' set but not used 
[-Werror=unused-but-set-variable]
-| cc1: all warnings being treated as errors
-| 
-| make: *** [mdadm.o] Error 1
-| make: *** [super1.o] Error 1
-| cc1: all warnings being treated as errors
-| 
-| make: *** [sysfs.o] Error 1
-| Grow.c: In function 'Grow_reshape':
-| Grow.c:1315:6: error: variable 'changed' set but not used 
[-Werror=unused-but-set-variable]
-| cc1: all warnings being treated as errors
-| 
-| make: *** [Grow.o] Error 1
-| ERROR: oe_runmake failed
-
-Index: mdadm-3.2.1/Grow.c
-===
 mdadm-3.2.1.orig/Grow.c
-+++ mdadm-3.2.1/Grow.c
-@@ -1312,7 +1312,6 @@ int Grow_reshape(char *devname, int fd, 
-   char *subarray = NULL;
- 
-   int frozen;
--  int changed = 0;
-   char *container = NULL;
-   char container_buf[20];
-   int cfd = -1;
-@@ -1479,7 +1478,6 @@ int Grow_reshape(char *devname, int fd, 
-   if (!quiet)
-   fprintf(stderr, Name : component size of %s has been 
set to %lluK\n,
-   devname, size);
--  changed = 1;
-   } else if (array.level != LEVEL_CONTAINER) {
-   size = get_component_size(fd)/2;
-   if (size == 0)
-Index: mdadm-3.2.1/Query.c
-===
 mdadm-3.2.1.orig/Query.c
-+++ mdadm-3.2.1/Query.c
-@@ -35,7 +35,7 @@ int Query(char *dev)
-   int fd = open(dev, O_RDONLY);
-   int vers;
-   int ioctlerr;
--  int superror, superrno;
-+  int superror;
-   struct mdinfo info;
-   mdu_array_info_t array;
-   struct supertype *st = NULL;
-@@ -84,7 +84,6 @@ int Query(char *dev)
-   st = guess_super(fd);
-   if (st) {
-   superror = st-ss-load_super(st, fd, dev);
--  superrno = errno;
-   } else
-   superror = -1;
-   close(fd);
-Index: mdadm-3.2.1/mdadm.c
-===
 mdadm-3.2.1.orig/mdadm.c
-+++ mdadm-3.2.1/mdadm.c
-@@ -103,7 +103,7 @@ int main(int argc, char *argv[])
-   char *shortopt = short_options;
-   int dosyslog = 0;
-   int rebuild_map = 0;
--  int auto_update_home = 0;
-+  int __attribute__((__unused__)) auto_update_home = 0;
-   char *subarray = NULL;
-   char *remove_path = NULL;
-   char *udev_filename = NULL;
-Index: mdadm-3.2.1/mdmon.c
-===
 mdadm-3.2.1.orig/mdmon.c
-+++ mdadm-3.2.1/mdmon.c
-@@ -351,7 +351,6 @@ static int mdmon(char *devname, int devn
-   struct sigaction act;
-   int pfd[2];
-   int status;
--  int ignore;
-   pid_t victim = -1;
-   int victim_sock = -1;
- 
-@@ -459,7 +458,6 @@ static int mdmon(char *devname, int devn
-   if (victim = 0)
-   victim_sock = connect_monitor(container-devname);
- 
--  ignore = chdir(/);
-   if (!takeover  victim  0  victim_sock = 0) {
-   if (fping_monitor(victim_sock) == 0

[OE-core] [PATCH 06/10] freetype: upgrade from 2.4.4 to 2.4.6

2011-08-16 Thread Dexuan Cui
freetype-2.4.6/docs/LICENSE.TXT changed a little to describe more clearly
the compatibility about FreeTypeLicense and GPLv2+, but the actual license
remains unchanged: it's still  LICENSE = FreeTypeLicense | GPLv2+.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../no-hardcode.patch  |0
 .../{freetype_2.4.4.bb = freetype_2.4.6.bb}   |8 
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-graphics/freetype/{freetype-2.4.4 = 
freetype-2.4.6}/no-hardcode.patch (100%)
 rename meta/recipes-graphics/freetype/{freetype_2.4.4.bb = freetype_2.4.6.bb} 
(82%)

diff --git a/meta/recipes-graphics/freetype/freetype-2.4.4/no-hardcode.patch 
b/meta/recipes-graphics/freetype/freetype-2.4.6/no-hardcode.patch
similarity index 100%
rename from meta/recipes-graphics/freetype/freetype-2.4.4/no-hardcode.patch
rename to meta/recipes-graphics/freetype/freetype-2.4.6/no-hardcode.patch
diff --git a/meta/recipes-graphics/freetype/freetype_2.4.4.bb 
b/meta/recipes-graphics/freetype/freetype_2.4.6.bb
similarity index 82%
rename from meta/recipes-graphics/freetype/freetype_2.4.4.bb
rename to meta/recipes-graphics/freetype/freetype_2.4.6.bb
index 661650c..8150dd4 100644
--- a/meta/recipes-graphics/freetype/freetype_2.4.4.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.4.6.bb
@@ -7,9 +7,9 @@ HOMEPAGE = http://www.freetype.org/;
 BUGTRACKER = https://savannah.nongnu.org/bugs/?group=freetype;
 
 LICENSE = FreeTypeLicense | GPLv2+
-LIC_FILES_CHKSUM = 
file://docs/LICENSE.TXT;md5=8bc1a580aeb518100d00a2dd29e68edf \
+LIC_FILES_CHKSUM = 
file://docs/LICENSE.TXT;md5=28d5381b1bef2649c59f20c20bae4f39 \
 file://docs/FTL.TXT;md5=d479e83797f699fe873b38dadd0fcd4c \
-file://docs/GPL.TXT;md5=8ef380476f642c20ebf40fecb0add2ec
+file://docs/GPLv2.TXT;md5=8ef380476f642c20ebf40fecb0add2ec
 
 SECTION = libs
 
@@ -18,8 +18,8 @@ PR = r0
 SRC_URI = ${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
file://no-hardcode.patch
 
-SRC_URI[md5sum] = b3e2b6e2f1c3e0dffa1fd2a0f848b671
-SRC_URI[sha256sum] = 
4b8281c7dc4d375c6b65d3c6f4808e488a313fab47d7be82aad2c871c8480fef
+SRC_URI[md5sum] = 5e6510613f612809d2d7862592b92ab7
+SRC_URI[sha256sum] = 
24a4a57f3a6859887e91f90f93f754cfc7bf9ab9246a3a696435a0c6a7a1e92a
 
 S = ${WORKDIR}/freetype-${PV}
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 07/10] xproto: upgrade from 7.0.21 to 7.0.22

2011-08-16 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../{xproto_7.0.21.bb = xproto_7.0.22.bb} |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-proto/{xproto_7.0.21.bb = xproto_7.0.22.bb} 
(72%)

diff --git a/meta/recipes-graphics/xorg-proto/xproto_7.0.21.bb 
b/meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb
similarity index 72%
rename from meta/recipes-graphics/xorg-proto/xproto_7.0.21.bb
rename to meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb
index 17b3793..54f8482 100644
--- a/meta/recipes-graphics/xorg-proto/xproto_7.0.21.bb
+++ b/meta/recipes-graphics/xorg-proto/xproto_7.0.22.bb
@@ -14,6 +14,6 @@ PE = 1
 EXTRA_OECONF_append =  --enable-specs=no
 BBCLASSEXTEND = native nativesdk
 
-SRC_URI[md5sum] = c5a93a69b701cf81925fab02b35b0d0e
-SRC_URI[sha256sum] = 
38ee2f032c3a9e30504593f8b5e6c1161a6629daba93748a71c6f70c16f65548
+SRC_URI[md5sum] = da0b0eb2f432b7cc1d665b05422a0457
+SRC_URI[sha256sum] = 
ad8397dd2a3de7249d2f3fb3a49444fef71483d43681285936c11911663817a8
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 03/10] cronie: upgrade from 1.4.7 to 1.4.8

2011-08-16 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../cronie/{cronie_1.4.7.bb = cronie_1.4.8.bb}|6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/cronie/{cronie_1.4.7.bb = cronie_1.4.8.bb} (94%)

diff --git a/meta/recipes-extended/cronie/cronie_1.4.7.bb 
b/meta/recipes-extended/cronie/cronie_1.4.8.bb
similarity index 94%
rename from meta/recipes-extended/cronie/cronie_1.4.7.bb
rename to meta/recipes-extended/cronie/cronie_1.4.8.bb
index bb715f2..4cfdfad 100644
--- a/meta/recipes-extended/cronie/cronie_1.4.7.bb
+++ b/meta/recipes-extended/cronie/cronie_1.4.8.bb
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=963ea0772a2adbdcd607a9b2ec320c11 \
 SECTION = utils
 
 DEPENDS += ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}
-PR = r3
+PR = r0
 
 SRC_URI = https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
file://crond.init \
@@ -25,8 +25,8 @@ SRC_URI = 
https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
 PAM_SRC_URI = file://crond_pam_config.patch
 
 
-SRC_URI[md5sum] = dfc26c47756d0c40ee27ae3c7ee98e0d
-SRC_URI[sha256sum] = 
83bae15ae5504454ba74f4142f5db3aa22be594327fea19d2534f65803137fbd
+SRC_URI[md5sum] = 9b1d2ce6db8d1883e06635f437170657
+SRC_URI[sha256sum] = 
a3b910876f255712f1a5c364b74f34b0ceac9f6f3bbc45e854c5722785f513b3
 
 inherit autotools update-rc.d
 
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 09/10] dri2proto: upgrade from 2.4 to 2.6

2011-08-16 Thread Dexuan Cui
The patch has been integrated into 1.4.14 so let's remove it.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../restore_to_old_xDRI2BufferSwapComplete.patch   |   53 
 .../{dri2proto_2.4.bb = dri2proto_2.6.bb} |7 +--
 2 files changed, 3 insertions(+), 57 deletions(-)
 delete mode 100644 
meta/recipes-graphics/xorg-proto/dri2proto/restore_to_old_xDRI2BufferSwapComplete.patch
 rename meta/recipes-graphics/xorg-proto/{dri2proto_2.4.bb = dri2proto_2.6.bb} 
(66%)

diff --git 
a/meta/recipes-graphics/xorg-proto/dri2proto/restore_to_old_xDRI2BufferSwapComplete.patch
 
b/meta/recipes-graphics/xorg-proto/dri2proto/restore_to_old_xDRI2BufferSwapComplete.patch
deleted file mode 100644
index e628f6d..000
--- 
a/meta/recipes-graphics/xorg-proto/dri2proto/restore_to_old_xDRI2BufferSwapComplete.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-Upstream-Status: Inappropriate [backport from upstream]
-
-In May, people already reported the mesa-dri build issue when upgrading to
-glproto-1.4.13 and dri2proto-2.4:
-http://lists.freedesktop.org/archives/mesa-dev/2011-May/007331.html
-
-The story is: Jesse tried to change the definitions of some structs
-in glproto, dri2proto and mesa-dri, but the change in mesa-dri side was 
accepted
-and then reverted, see
-http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc4a3edcf9d414d5098618d5d3b79d8dd90adcc3
-
-so in glproto and driproto's sides, we have to revert the change, too:
-http://cgit.freedesktop.org/xorg/proto/dri2proto/commit/?id=f3c211e1ae183dab5c7529814c9f42af2c29fc6c
-
-We could remove this patch when upgrading to newer glproto, dri2proto and
-mesa-dri in future.
-
-Wed Jun 15 14:33:14 CST 2011
-Dexuan Cui dexuan@intel.com
-

-
-commit f3c211e1ae183dab5c7529814c9f42af2c29fc6c
-Author: Jesse Barnes jbar...@virtuousgeek.org
-Date:   Thu May 5 09:22:39 2011 -0700
-
-Revert dri2proto: make DRI2 swap event match GLX spec
-
-This reverts commit 0ca3778de195a82087d0f07415a1cf8fc94f5b0a.
-
-This broke compatibility by renaming existing struct fields.  So revert
-in favor of a new struct.
-
-diff --git a/dri2proto.h b/dri2proto.h
-index ff76355..9708a4a 100644
 a/dri2proto.h
-+++ b/dri2proto.h
-@@ -290,13 +290,13 @@ typedef struct {
- CARD8 pad;
- CARD16 sequenceNumber B16;
- CARD16 event_type B16;
--CARD16 pad2;
- CARD32 drawable B32;
- CARD32 ust_hi B32;
- CARD32 ust_lo B32;
- CARD32 msc_hi B32;
- CARD32 msc_lo B32;
--CARD32 sbc B32;
-+CARD32 sbc_hi B32;
-+CARD32 sbc_lo B32;
- } xDRI2BufferSwapComplete;
- #define sz_xDRI2BufferSwapComplete 32
- 
diff --git a/meta/recipes-graphics/xorg-proto/dri2proto_2.4.bb 
b/meta/recipes-graphics/xorg-proto/dri2proto_2.6.bb
similarity index 66%
rename from meta/recipes-graphics/xorg-proto/dri2proto_2.4.bb
rename to meta/recipes-graphics/xorg-proto/dri2proto_2.6.bb
index 4861f7d..99c089a 100644
--- a/meta/recipes-graphics/xorg-proto/dri2proto_2.4.bb
+++ b/meta/recipes-graphics/xorg-proto/dri2proto_2.6.bb
@@ -1,5 +1,4 @@
 require xorg-proto-common.inc
-SRC_URI += file://restore_to_old_xDRI2BufferSwapComplete.patch
 
 SUMMARY = DRI2: Direct Rendering Infrastructure 2 headers
 
@@ -11,7 +10,7 @@ LICENSE = MIT
 LIC_FILES_CHKSUM = file://COPYING;md5=2e396fa91834f8786032cad2da5638f3 \
 
file://dri2proto.h;endline=31;md5=22f28bf68d01b533f26195e94b3ed8ca
 
-PR = r1
+PR = r0
 
-SRC_URI[md5sum] = 0cdeb1e95901813385dc9576be272bd3
-SRC_URI[sha256sum] = 
ff156f178d48ab31beeb4be5eb39d5df7540791ba489a8d94c443bb99a2376f1
+SRC_URI[md5sum] = 2eb74959684f47c862081099059a11ab
+SRC_URI[sha256sum] = 
ad82c0b28c19fcd3f91ea1f93956cb666526b41b91f239773b5854b9b1a3b909
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 10/10] distro_tracking_fields.inc: update the info for the following recipes

2011-08-16 Thread Dexuan Cui
cronie
mdadm
freetype
xproto
glproto
dri2proto
util-macros

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../conf/distro/include/distro_tracking_fields.inc |   56 ++--
 1 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc 
b/meta/conf/distro/include/distro_tracking_fields.inc
index c7e5db5..984e330 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -994,13 +994,13 @@ RECIPE_MAINTAINER_pn-quota = Dongxiao Xu 
dongxiao...@intel.com
 
 RECIPE_STATUS_pn-mdadm = green
 RECIPE_DEPENDENCY_CHECK_pn-mdadm = not done
-RECIPE_LATEST_VERSION_pn-mdadm = 3.2.1
+RECIPE_LATEST_VERSION_pn-mdadm = 3.2.2
 RECIPE_NO_OF_PATCHES_pn-mdadm = 0
 RECIPE_INTEL_SECTION_pn-mdadm = base utils
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mdadm = 1+ months
-RECIPE_LATEST_RELEASE_DATE_pn-mdadm = Mar 28, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mdadm = 2+ months
+RECIPE_LATEST_RELEASE_DATE_pn-mdadm = Jun 17, 2011
 RECIPE_COMMENTS_pn-mdadm = 
-RECIPE_LAST_UPDATE_pn-mdadm = Apr 20, 2011
+RECIPE_LAST_UPDATE_pn-mdadm = Aug 16, 2011
 RECIPE_MAINTAINER_pn-mdadm = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-screen = green
@@ -1986,13 +1986,13 @@ RECIPE_MAINTAINER_pn-cpio = Scott Garman 
scott.a.gar...@intel.com
 
 RECIPE_STATUS_pn-cronie = green
 RECIPE_DEPENDENCY_CHECK_pn-cronie = not done
-RECIPE_LATEST_VERSION_pn-cronie = 1.4.7
-RECIPE_MANUAL_CHECK_DATE_pn-cronie = Apr 11, 2011
+RECIPE_LATEST_VERSION_pn-cronie = 1.4.8
+RECIPE_MANUAL_CHECK_DATE_pn-cronie = Aug 16, 2011
 RECIPE_INTEL_SECTION_pn-cronie = base
 RECIPE_NO_OF_PATCHES_pn-cronie = 0
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cronie = 5 months
-RECIPE_LATEST_RELEASE_DATE_pn-cronie = Mar 17, 2011
-RECIPE_LAST_UPDATE_pn-cronie = Apr 11, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cronie = 3 months
+RECIPE_LATEST_RELEASE_DATE_pn-cronie = Jun 27, 2011
+RECIPE_LAST_UPDATE_pn-cronie = Aug 16, 2011
 RECIPE_MAINTAINER_pn-cronie = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-grep = green 
@@ -3839,13 +3839,13 @@ RECIPE_MAINTAINER_pn-fontsproto = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-glproto = green
 DISTRO_PN_ALIAS_pn-glproto = Meego=xorg-x11-proto-glproto
 RECIPE_DEPENDENCY_CHECK_pn-glproto = not done
-RECIPE_LATEST_VERSION_pn-glproto = 1.4.13
+RECIPE_LATEST_VERSION_pn-glproto = 1.4.14
 RECIPE_NO_OF_PATCHES_pn-glproto = 0
 RECIPE_INTEL_SECTION_pn-glproto = x11/libs
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glproto = 9 months
-RECIPE_LATEST_RELEASE_DATE_pn-glproto = May 4, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glproto = 1+ months
+RECIPE_LATEST_RELEASE_DATE_pn-glproto = Jun 29, 2011
 RECIPE_COMMENTS_pn-glproto = 
-RECIPE_LAST_UPDATE_pn-glproto = Jun 13, 2011
+RECIPE_LAST_UPDATE_pn-glproto = Aug 16, 2011
 RECIPE_MAINTAINER_pn-glproto = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-inputproto = green
@@ -4110,13 +4110,13 @@ RECIPE_MAINTAINER_pn-xineramaproto = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-dri2proto = green
 DISTRO_PN_ALIAS_pn-dri2proto = Meego=xorg-x11-proto-dri2proto
 RECIPE_DEPENDENCY_CHECK_pn-dri2proto = not done
-RECIPE_LATEST_VERSION_pn-dri2proto = 2.4
+RECIPE_LATEST_VERSION_pn-dri2proto = 2.6
 RECIPE_NO_OF_PATCHES_pn-dri2proto = 0
 RECIPE_INTEL_SECTION_pn-dri2proto = x11/libs
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dri2proto = 1+ years
-RECIPE_LATEST_RELEASE_DATE_pn-dri2proto = May 4, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dri2proto = 1+ months
+RECIPE_LATEST_RELEASE_DATE_pn-dri2proto = Jun 29, 2011
 RECIPE_COMMENTS_pn-dri2proto = 
-RECIPE_LAST_UPDATE_pn-dri2proto = Jun 13, 2011
+RECIPE_LAST_UPDATE_pn-dri2proto = Aug 16, 2011
 RECIPE_MAINTAINER_pn-dri2proto = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-xcb-proto = green
@@ -4157,13 +4157,13 @@ RECIPE_MAINTAINER_pn-xf86vidmodeproto = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-xproto = green
 DISTRO_PN_ALIAS_pn-xproto = Meego=xorg-x11-proto-xproto 
Fedora=xorg-x11-proto-devel Ubuntu=x11proto-core-dev Debian=x11proto-core-dev 
Opensuse=xorg-x11-proto-devel Mandriva=x11-proto-devel
 RECIPE_DEPENDENCY_CHECK_pn-xproto = not done
-RECIPE_LATEST_VERSION_pn-xproto = 7.0.21
+RECIPE_LATEST_VERSION_pn-xproto = 7.0.22
 RECIPE_NO_OF_PATCHES_pn-xproto = 0
 RECIPE_INTEL_SECTION_pn-xproto = x11/libs
-RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xproto = 3+ months
-RECIPE_LATEST_RELEASE_DATE_pn-xproto = Mar 22, 2011
+RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xproto = 3 months
+RECIPE_LATEST_RELEASE_DATE_pn-xproto = Jun 22, 2011
 RECIPE_COMMENTS_pn-xproto = 
-RECIPE_LAST_UPDATE_pn-xproto = Apr 11, 2011
+RECIPE_LAST_UPDATE_pn-xproto = Aug 16, 2011
 RECIPE_MAINTAINER_pn-xproto = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-liberation-fonts = green
@@ -4494,12 +4494,12 @@ RECIPE_MAINTAINER_pn-xkeyboard-config = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-util-macros = green
 DISTRO_PN_ALIAS_pn-util

[OE-core] [PATCH 1/1] oe-init-build-env, scripts/oe-buildenv-internal: add error detecting for $BDIR

2011-08-02 Thread Dexuan Cui
[YOCTO #671]

readlink -f in Ubuntu 10.04 is buggy: it doesn't ignore a trailing / (e.g.,
readlink -f /tmp/non-existent-dir/ returns nothing, but according to
http://www.gnu.org/s/coreutils/manual/coreutils.pdf it should do that --
hence we get bug 671. It seems Ubuntu 10.10 or even later Ubuntu 11.04,
and other Linux distributions(e.g., Open Suse 11.4) haven't such an issue.

So I think we should detect this and ask Ubuntu 10.04 users to avoid supply
a path with trailing slash here.

Moreever, I also add the detection of non-existent path, e.g.,
source oe-init-build-env /non-existent-dir/build
can be detected and we'll print an error msg.
And, if we get errors in oe-buildenv-internal, we should stop the script
and shouldn't further run.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 oe-init-build-env|6 +++---
 scripts/oe-buildenv-internal |   13 +++--
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/oe-init-build-env b/oe-init-build-env
index 77332a7..cc30a3b 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -35,10 +35,10 @@ else
fi
OEROOT=`readlink -f $OEROOT`
export OEROOT
-   . $OEROOT/scripts/oe-buildenv-internal
-   $OEROOT/scripts/oe-setup-builddir
+   . $OEROOT/scripts/oe-buildenv-internal  \
+$OEROOT/scripts/oe-setup-builddir  \
+[ -n $BUILDDIR ]  cd $BUILDDIR
unset OEROOT
unset BBPATH
-   [ -n $BUILDDIR ]  cd $BUILDDIR
 fi
 
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index c13fc40..117b0c5 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -21,7 +21,7 @@
 # It is assumed OEROOT is already defined when this is called
 if [ -z $OEROOT ]; then
 echo 2 Error: OEROOT is not defined!
-return
+return 1
 fi
 
 if [ x$BDIR = x ]; then
@@ -29,6 +29,15 @@ if [ x$BDIR = x ]; then
 BDIR=build
 else
 BDIR=`readlink -f $1`
+if [ -z $BDIR  ]; then
+if expr $1 : '.*/$' /dev/null; then
+echo 2 Error: please remove any trailing / in the argument.
+else
+PARENTDIR=`dirname $1`
+echo 2 Error: the directory $PARENTDIR doesn't exist?
+fi
+return 1
+fi
 fi
 fi
 if expr $BDIR : '/.*'  /dev/null ; then
@@ -45,7 +54,7 @@ BUILDDIR=`readlink -f $BUILDDIR`
 
 if ! (test -d $BITBAKEDIR); then
 echo 2 Error: The bitbake directory ($BITBAKEDIR) does not exist!  
Please ensure a copy of bitbake exists at this location
-return
+return 1
 fi
 
 PATH=${OEROOT}/scripts:$BITBAKEDIR/bin/:$PATH
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [v2 PATCH 0/2] upgrade tcf-agent to the latest stable revision 0.0+svnr1855

2011-07-22 Thread Dexuan Cui
Changes from the previous version:
1) add DEPENDS = util-linux to resolve the uuid.h issue
 fatal error: uuid/uuid.h: No such file or directory | compilation

2) add RDEPENDS_${PN} = bash
buxybox's sh doesn't work with tcf-agent, so we need bash.

3) update MAKE_OS:
MAKE_OS = `echo ${TARGET_OS} | sed s,^linux.*,GNU/Linux,`
e.g., for qemuarm, we need to change linux-gnueabi to GNU/Linux.
This is necessary due to the new tcf-agent's Makefile's coding.

4) add
+# They don't build on ARM and we don't need them actually.
+CFLAGS += -DSERVICE_RunControl=0 -DSERVICE_Breakpoints=0 \
+-DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_MemoryMap=0 \
+-DSERVICE_StackTrace=0 -DSERVICE_Symbols=0 -DSERVICE_LineNumbers=0 \
+-DSERVICE_Expressions=0

Lianhao and Dexuan tested the v2 patches on qemux86, qemux86-64, qemuarm,
qemuppc and qemumips with both incremental and full building, and runtime
testings.

Thanks,
-- Lianhao and Dexuan

The following changes since commit 068839698fe192d8846c0ed4db65861448e8e524:

  eglibc: fix runtime assertion failure (2011-07-13 12:34:30 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/tcf-agent
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/tcf-agent

Dexuan Cui (2):
  tcf-agent: upgrade to the latest stable revision 0.0+svnr1855
  distro_tracking_fields.inc: update the info for tcf-agent

 .../conf/distro/include/distro_tracking_fields.inc |   12 +-
 .../tcf-agent/tcf-agent/fix_ranlib.patch   |   14 +
 .../tcf-agent/tcf-agent/fix_tcf-agent.init.patch   |   14 +-
 .../tcf-agent/tcf-agent/terminals_agent.patch  | 1027 
 meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb   |   32 +-
 5 files changed, 50 insertions(+), 1049 deletions(-)
 create mode 100644 meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
 delete mode 100644 
meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [v2 PATCH 1/2] tcf-agent: upgrade to the latest stable revision 0.0+svnr1855

2011-07-22 Thread Dexuan Cui
Signed-off-by: Lianhao Lu lianhao...@intel.com
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../tcf-agent/tcf-agent/fix_ranlib.patch   |   14 +
 .../tcf-agent/tcf-agent/fix_tcf-agent.init.patch   |   14 +-
 .../tcf-agent/tcf-agent/terminals_agent.patch  | 1027 
 meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb   |   32 +-
 4 files changed, 44 insertions(+), 1043 deletions(-)
 create mode 100644 meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
 delete mode 100644 
meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch

diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch 
b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
new file mode 100644
index 000..5d70456
--- /dev/null
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
@@ -0,0 +1,14 @@
+Upstream-Status: Inappropriate [poky-specific fix]
+
+--- a/Makefile.inc
 b/Makefile.inc
+@@ -57,6 +57,9 @@
+   ifeq ($(NO_UUID),)
+ LIBS += -luuid
+   endif
++  ifneq ($(RANLIB),)
++RANLIB += $@
++  endif
+ endif
+ 
+ ifneq ($(OPSYS),Windows)
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch 
b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch
index 60b0b27..fefaf04 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch
@@ -2,15 +2,15 @@ Upstream-Status: Inappropriate [poky-specific script]
 
 --- a/Makefile
 +++ b/Makefile
-@@ -32,7 +32,7 @@
-   install -d -m 755 $(INSTALLROOT)$(SBIN)
-   install -d -m 755 $(INSTALLROOT)$(INIT)
+@@ -64,7 +64,7 @@
+   install -d -m 755 $(INSTALLROOT)$(INCLUDE)/tcf/services
install -c $(BINDIR)/agent -m 755 $(INSTALLROOT)$(SBIN)/tcf-agent
--  install -c $(TCF_AGENT_DIR)/main/tcf-agent.init -m 755 
$(INSTALLROOT)$(INIT)/tcf-agent
+   install -c $(BINDIR)/client -m 755 $(INSTALLROOT)$(SBIN)/tcf-client
+-  install -c main/tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
 +  install -c tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
- 
- clean:
-   rm -rf $(BINDIR)
+   install -c config.h -m 755 $(INSTALLROOT)$(INCLUDE)/tcf/config.h
+   install -c -t $(INSTALLROOT)$(INCLUDE)/tcf/framework -m 644 
framework/*.h
+   install -c -t $(INSTALLROOT)$(INCLUDE)/tcf/services -m 644 services/*.h
 --- /dev/null
 +++ b/tcf-agent.init
 @@ -0,0 +1,78 @@
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch 
b/meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch
deleted file mode 100644
index aed62fa..000
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch
+++ /dev/null
@@ -1,1027 +0,0 @@
-Upstream-Status: Inappropriate [source code; we'll remove it when upgrading 
tcf-agent in future]
-
-Index: org.eclipse.tm.tcf.terminals.agent/terminals.c
-===
 org.eclipse.tm.tcf.terminals.agent/terminals.c (revision 0)
-+++ org.eclipse.tm.tcf.terminals.agent/terminals.c (revision 0)
-@@ -0,0 +1,846 @@
-+/***
-+ * Copyright (c) 2008 Wind River Systems, Inc. and others.
-+ * All rights reserved. This program and the accompanying materials
-+ * are made available under the terms of the Eclipse Public License v1.0
-+ * and Eclipse Distribution License v1.0 which accompany this distribution.
-+ * The Eclipse Public License is available at
-+ * http://www.eclipse.org/legal/epl-v10.html
-+ * and the Eclipse Distribution License is available at
-+ * http://www.eclipse.org/org/documents/edl-v10.php.
-+ *
-+ * Contributors:
-+ * Wind River Systems - initial API and implementation
-+ 
***/
-+
-+/*
-+ * Sample TCF service implementation.
-+ */
-+
-+#include config.h
-+#include stdlib.h
-+#include stdio.h
-+#include string.h
-+#include errno.h
-+#include fcntl.h
-+#include signal.h
-+#include assert.h
-+#include termios.h
-+#ifndef TIOCGWINSZ
-+#include sys/ioctl.h
-+#endif
-+#include framework/myalloc.h
-+#include framework/protocol.h
-+#include framework/trace.h
-+#include framework/context.h
-+#include framework/json.h
-+#include framework/asyncreq.h
-+#include framework/exceptions.h
-+#include framework/waitpid.h
-+#include framework/signames.h
-+#include services/streamsservice.h
-+#include terminals.h
-+
-+#define TERMINALS_DEBUG 1
-+
-+#define TERMINALS_NO_LOGIN 0
-+
-+static const char * TERMINALS = Terminals;
-+
-+#if defined(WIN32)
-+#  include tlhelp32.h
-+#  ifdef _MSC_VER
-+#pragma warning(disable:4201) /* nonstandard extension used : nameless 
struct/union (in winternl.h) */
-+#include winternl.h
-+#  else
-+#include ntdef.h
-+#  endif
-+#  ifndef STATUS_INFO_LENGTH_MISMATCH
-+#   define STATUS_INFO_LENGTH_MISMATCH  ((NTSTATUS)0xC004L

[OE-core] [v2 PATCH 2/2] distro_tracking_fields.inc: update the info for tcf-agent

2011-07-22 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../conf/distro/include/distro_tracking_fields.inc |   12 ++--
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc 
b/meta/conf/distro/include/distro_tracking_fields.inc
index efb4c0b..4de543e 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -2781,17 +2781,17 @@ RECIPE_MAINTAINER_pn-latencytop = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-tcf-agent = green
 DISTRO_PN_ALIAS_pn-tcf-agent = WindRiver 
upstream=http://www.eclipse.org/dsdp/tm/;
 RECIPE_DEPENDENCY_CHECK_pn-tcf-agent = not done
-RECIPE_LATEST_VERSION_pn-tcf-agent = 0.3.0+svnr1078
-RECIPE_MANUAL_CHECK_DATE_pn-tcf-agent = June 29, 2011
-RECIPE_NO_UPDATE_REASON_pn-tcf-agent = Do not upgrade to version: (998)? 
because upstraem hasn't defined a formal release tag.
+RECIPE_LATEST_VERSION_pn-tcf-agent = 0.0+svnr1855
+RECIPE_MANUAL_CHECK_DATE_pn-tcf-agent = Jul 21, 2011
+RECIPE_NO_UPDATE_REASON_pn-tcf-agent = 1855 is the latest stable revision
 RECIPE_NO_OF_PATCHES_pn-tcf-agent = 2
-RECIPE_PATCH_pn-tcf-agent+terminals_agent = we might get the patch from 
git://git.yoctoproject.org/eclipse-poky.git in future
 RECIPE_PATCH_pn-tcf-agent+fix_tcf-agent.init = a proper script 
/etc/init.d/tcf-agent
+RECIPE_PATCH_pn-tcf-agent+fix_ranlib = need to pass arguments to RANLIB
 RECIPE_INTEL_SECTION_pn-tcf-agent = sdk-tools
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tcf-agent = 1+ years
-RECIPE_LATEST_RELEASE_DATE_pn-tcf-agent = 07/2010
+RECIPE_LATEST_RELEASE_DATE_pn-tcf-agent = Jul 07, 2011
 RECIPE_COMMENTS_pn-tcf-agent = 
-RECIPE_LAST_UPDATE_pn-tcf-agent = Jul 23, 2010
+RECIPE_LAST_UPDATE_pn-tcf-agent = Jul 21, 2011
 RECIPE_MAINTAINER_pn-tcf-agent = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-liburcu = green
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2] upgrade tcf-agent to the latest stable revision 0.0+svnr1855

2011-07-21 Thread Dexuan Cui
The following changes since commit 068839698fe192d8846c0ed4db65861448e8e524:

  eglibc: fix runtime assertion failure (2011-07-13 12:34:30 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/tcf-agent
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/tcf-agent

Dexuan Cui (2):
  tcf-agent: upgrade to the latest stable revision 0.0+svnr1855
  distro_tracking_fields.inc: update the info for tcf-agent

 .../conf/distro/include/distro_tracking_fields.inc |   12 +-
 .../tcf-agent/tcf-agent/fix_ranlib.patch   |   14 +
 .../tcf-agent/tcf-agent/fix_tcf-agent.init.patch   |   14 +-
 .../tcf-agent/tcf-agent/terminals_agent.patch  | 1027 
 meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb   |   21 +-
 5 files changed, 40 insertions(+), 1048 deletions(-)
 create mode 100644 meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
 delete mode 100644 
meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] distro_tracking_fields.inc: update the info for tcf-agent

2011-07-21 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../conf/distro/include/distro_tracking_fields.inc |   12 ++--
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc 
b/meta/conf/distro/include/distro_tracking_fields.inc
index efb4c0b..4de543e 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -2781,17 +2781,17 @@ RECIPE_MAINTAINER_pn-latencytop = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-tcf-agent = green
 DISTRO_PN_ALIAS_pn-tcf-agent = WindRiver 
upstream=http://www.eclipse.org/dsdp/tm/;
 RECIPE_DEPENDENCY_CHECK_pn-tcf-agent = not done
-RECIPE_LATEST_VERSION_pn-tcf-agent = 0.3.0+svnr1078
-RECIPE_MANUAL_CHECK_DATE_pn-tcf-agent = June 29, 2011
-RECIPE_NO_UPDATE_REASON_pn-tcf-agent = Do not upgrade to version: (998)? 
because upstraem hasn't defined a formal release tag.
+RECIPE_LATEST_VERSION_pn-tcf-agent = 0.0+svnr1855
+RECIPE_MANUAL_CHECK_DATE_pn-tcf-agent = Jul 21, 2011
+RECIPE_NO_UPDATE_REASON_pn-tcf-agent = 1855 is the latest stable revision
 RECIPE_NO_OF_PATCHES_pn-tcf-agent = 2
-RECIPE_PATCH_pn-tcf-agent+terminals_agent = we might get the patch from 
git://git.yoctoproject.org/eclipse-poky.git in future
 RECIPE_PATCH_pn-tcf-agent+fix_tcf-agent.init = a proper script 
/etc/init.d/tcf-agent
+RECIPE_PATCH_pn-tcf-agent+fix_ranlib = need to pass arguments to RANLIB
 RECIPE_INTEL_SECTION_pn-tcf-agent = sdk-tools
 RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tcf-agent = 1+ years
-RECIPE_LATEST_RELEASE_DATE_pn-tcf-agent = 07/2010
+RECIPE_LATEST_RELEASE_DATE_pn-tcf-agent = Jul 07, 2011
 RECIPE_COMMENTS_pn-tcf-agent = 
-RECIPE_LAST_UPDATE_pn-tcf-agent = Jul 23, 2010
+RECIPE_LAST_UPDATE_pn-tcf-agent = Jul 21, 2011
 RECIPE_MAINTAINER_pn-tcf-agent = Dexuan Cui dexuan@intel.com
 
 RECIPE_STATUS_pn-liburcu = green
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] tcf-agent: upgrade to the latest stable revision 0.0+svnr1855

2011-07-21 Thread Dexuan Cui
Signed-off-by: Lianhao Lu lianhao...@intel.com
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../tcf-agent/tcf-agent/fix_ranlib.patch   |   14 +
 .../tcf-agent/tcf-agent/fix_tcf-agent.init.patch   |   14 +-
 .../tcf-agent/tcf-agent/terminals_agent.patch  | 1027 
 meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb   |   21 +-
 4 files changed, 34 insertions(+), 1042 deletions(-)
 create mode 100644 meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
 delete mode 100644 
meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch

diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch 
b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
new file mode 100644
index 000..5d70456
--- /dev/null
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_ranlib.patch
@@ -0,0 +1,14 @@
+Upstream-Status: Inappropriate [poky-specific fix]
+
+--- a/Makefile.inc
 b/Makefile.inc
+@@ -57,6 +57,9 @@
+   ifeq ($(NO_UUID),)
+ LIBS += -luuid
+   endif
++  ifneq ($(RANLIB),)
++RANLIB += $@
++  endif
+ endif
+ 
+ ifneq ($(OPSYS),Windows)
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch 
b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch
index 60b0b27..fefaf04 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch
@@ -2,15 +2,15 @@ Upstream-Status: Inappropriate [poky-specific script]
 
 --- a/Makefile
 +++ b/Makefile
-@@ -32,7 +32,7 @@
-   install -d -m 755 $(INSTALLROOT)$(SBIN)
-   install -d -m 755 $(INSTALLROOT)$(INIT)
+@@ -64,7 +64,7 @@
+   install -d -m 755 $(INSTALLROOT)$(INCLUDE)/tcf/services
install -c $(BINDIR)/agent -m 755 $(INSTALLROOT)$(SBIN)/tcf-agent
--  install -c $(TCF_AGENT_DIR)/main/tcf-agent.init -m 755 
$(INSTALLROOT)$(INIT)/tcf-agent
+   install -c $(BINDIR)/client -m 755 $(INSTALLROOT)$(SBIN)/tcf-client
+-  install -c main/tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
 +  install -c tcf-agent.init -m 755 $(INSTALLROOT)$(INIT)/tcf-agent
- 
- clean:
-   rm -rf $(BINDIR)
+   install -c config.h -m 755 $(INSTALLROOT)$(INCLUDE)/tcf/config.h
+   install -c -t $(INSTALLROOT)$(INCLUDE)/tcf/framework -m 644 
framework/*.h
+   install -c -t $(INSTALLROOT)$(INCLUDE)/tcf/services -m 644 services/*.h
 --- /dev/null
 +++ b/tcf-agent.init
 @@ -0,0 +1,78 @@
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch 
b/meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch
deleted file mode 100644
index aed62fa..000
--- a/meta/recipes-devtools/tcf-agent/tcf-agent/terminals_agent.patch
+++ /dev/null
@@ -1,1027 +0,0 @@
-Upstream-Status: Inappropriate [source code; we'll remove it when upgrading 
tcf-agent in future]
-
-Index: org.eclipse.tm.tcf.terminals.agent/terminals.c
-===
 org.eclipse.tm.tcf.terminals.agent/terminals.c (revision 0)
-+++ org.eclipse.tm.tcf.terminals.agent/terminals.c (revision 0)
-@@ -0,0 +1,846 @@
-+/***
-+ * Copyright (c) 2008 Wind River Systems, Inc. and others.
-+ * All rights reserved. This program and the accompanying materials
-+ * are made available under the terms of the Eclipse Public License v1.0
-+ * and Eclipse Distribution License v1.0 which accompany this distribution.
-+ * The Eclipse Public License is available at
-+ * http://www.eclipse.org/legal/epl-v10.html
-+ * and the Eclipse Distribution License is available at
-+ * http://www.eclipse.org/org/documents/edl-v10.php.
-+ *
-+ * Contributors:
-+ * Wind River Systems - initial API and implementation
-+ 
***/
-+
-+/*
-+ * Sample TCF service implementation.
-+ */
-+
-+#include config.h
-+#include stdlib.h
-+#include stdio.h
-+#include string.h
-+#include errno.h
-+#include fcntl.h
-+#include signal.h
-+#include assert.h
-+#include termios.h
-+#ifndef TIOCGWINSZ
-+#include sys/ioctl.h
-+#endif
-+#include framework/myalloc.h
-+#include framework/protocol.h
-+#include framework/trace.h
-+#include framework/context.h
-+#include framework/json.h
-+#include framework/asyncreq.h
-+#include framework/exceptions.h
-+#include framework/waitpid.h
-+#include framework/signames.h
-+#include services/streamsservice.h
-+#include terminals.h
-+
-+#define TERMINALS_DEBUG 1
-+
-+#define TERMINALS_NO_LOGIN 0
-+
-+static const char * TERMINALS = Terminals;
-+
-+#if defined(WIN32)
-+#  include tlhelp32.h
-+#  ifdef _MSC_VER
-+#pragma warning(disable:4201) /* nonstandard extension used : nameless 
struct/union (in winternl.h) */
-+#include winternl.h
-+#  else
-+#include ntdef.h
-+#  endif
-+#  ifndef STATUS_INFO_LENGTH_MISMATCH
-+#   define STATUS_INFO_LENGTH_MISMATCH  ((NTSTATUS)0xC004L

[OE-core] [PATCH 0/1] the fix to bug 1208

2011-07-07 Thread Dexuan Cui
The following changes since commit ad2363278f0ea86fcf3464f8f6073d3a3d06be63:

  uclibc: Fix compilation in thumb mode (2011-07-02 00:02:24 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/distro
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/distro

Dexuan Cui (1):
  powertop: inherit update-alternatives and use a higher priority than
busybox

 meta/recipes-kernel/powertop/powertop_1.13.bb |8 +++-
 1 files changed, 7 insertions(+), 1 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] powertop: inherit update-alternatives and use a higher priority than busybox

2011-07-07 Thread Dexuan Cui
busybox-1.18.4 installs /bin/powertop and the powertop recipe installs
/usr/bin/powertop. So, in PATH, if /bin appears before /usr/bin, we would
run the version offered by busybox, which has a very limited function (e.g.,
no parameter is accepted) and this causes trouble to eclipse plugin.

We can use update-alternatives for powertop with higher priority to resolve
the issue.

Fixes [YOCTO #1208]

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-kernel/powertop/powertop_1.13.bb |8 +++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/powertop/powertop_1.13.bb 
b/meta/recipes-kernel/powertop/powertop_1.13.bb
index dff4fcd..472a2bb 100644
--- a/meta/recipes-kernel/powertop/powertop_1.13.bb
+++ b/meta/recipes-kernel/powertop/powertop_1.13.bb
@@ -11,7 +11,7 @@ DEPENDS = virtual/libintl ncurses
 # powertop 1.13 needs lspci
 RDEPENDS_${PN} = pciutils
 
-PR = r0
+PR = r1
 
 SRC_URI = 
http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \
file://stub_out_the_ncurses_calls_in_dump_mode.patch
@@ -22,6 +22,12 @@ SRC_URI[sha256sum] = 
2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcd
 CFLAGS += ${LDFLAGS}
 EXTRA_OEMAKE = VERSION=\${PV}\
 
+inherit update-alternatives
+ALTERNATIVE_NAME = powertop
+ALTERNATIVE_PATH = ${bindir}/powertop
+ALTERNATIVE_LINK = ${base_bindir}/powertop
+ALTERNATIVE_PRIORITY = 100
+
 do_configure() {
# We do not build ncurses with wide char support
sed -i -e s/lncursesw/lncurses/ ${S}/Makefile
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] busybox: bump PR to enable largefile support

2011-07-01 Thread Dexuan Cui
The following changes since commit 4d60d32a60ae0fae1002b27cd7d20c28532f4932:

  poky.conf: add largefile support into DISTRO_FEATURES (2011-07-01 17:35:26 
+0800)

Dexuan Cui (1):
  busybox: bump PR to enable largefile support

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/mkswap
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/mkswap

 meta/recipes-core/busybox/busybox_1.18.4.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] busybox: bump PR to enable largefile support

2011-07-01 Thread Dexuan Cui
[YOCTO #1205 ]

In the previous commit we enable largefile setting in
meta-yocto/conf/distro/poky.conf, so we need to re-build busybox to
actually enable it.

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-core/busybox/busybox_1.18.4.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox_1.18.4.bb 
b/meta/recipes-core/busybox/busybox_1.18.4.bb
index cb41ac6..5883cc6 100644
--- a/meta/recipes-core/busybox/busybox_1.18.4.bb
+++ b/meta/recipes-core/busybox/busybox_1.18.4.bb
@@ -1,5 +1,5 @@
 require busybox.inc
-PR = r4
+PR = r5
 
 SRC_URI = http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball 
\
file://udhcpscript.patch \
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/3] fix to bug #1099, updates to Upstream-Status and distro_tracking_fields.inc

2011-06-29 Thread Dexuan Cui
The following changes since commit a4f3e006e1f2fd93f156012af2a05adccf41d065:

  u-boot-mkimage: bump version to 2011.03 (2011-06-28 17:13:19 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/master
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Dexuan Cui (3):
  grub: add -fno-reorder-functions into STAGE2_COMPILE
  lttng-ust: change the patch's Upstream-Status to Accepted.
  distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for
screen and tcf-agent

 .../conf/distro/include/distro_tracking_fields.inc |3 +-
 .../grub/grub-0.97/no-reorder-functions.patch  |   31 
 meta/recipes-bsp/grub/grub_0.97.bb |5 ++-
 .../lttng/lttng-ust/uclibc-sched_getcpu.patch  |2 +-
 4 files changed, 37 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-bsp/grub/grub-0.97/no-reorder-functions.patch

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/3] grub: add -fno-reorder-functions into STAGE2_COMPILE

2011-06-29 Thread Dexuan Cui
This is used to work around a gcc-4.6's bug about the option.

[YOCTO #1099]

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../grub/grub-0.97/no-reorder-functions.patch  |   31 
 meta/recipes-bsp/grub/grub_0.97.bb |5 ++-
 2 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-bsp/grub/grub-0.97/no-reorder-functions.patch

diff --git a/meta/recipes-bsp/grub/grub-0.97/no-reorder-functions.patch 
b/meta/recipes-bsp/grub/grub-0.97/no-reorder-functions.patch
new file mode 100644
index 000..70037e4
--- /dev/null
+++ b/meta/recipes-bsp/grub/grub-0.97/no-reorder-functions.patch
@@ -0,0 +1,31 @@
+Upstream-Status: Inappropriate [disable feature]
+
+After the commit tcmode-default: switch to gcc 4.6.0 for x86, x86-64  arm,
+we got bug 1099 (http://bugzilla.yoctoproject.org/show_bug.cgi?id=1099):
+
+Running install --stage2=/ssd/boot/grub/stage2 /boot/grub/stage1(hd0)
+ /boot/grub/stage2 p /boot/grub/menu list failed
+Error 6: Mismatched or corrupt version of stage1/stage2
+
+This turned out to be a gcc's bug. See
+https://bugs.gentoo.org/show_bug.cgi?id=360513
+http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333
+
+Upstream gcc seems uninterested in the bug, so at present we can disable the
+option as a workaround. Thanks Ryan Hill for the investigation and the
+workaround patch.
+
+Dexuan Cui dexuan@intel.com
+Wed Jun 29 20:21:39 CST 2011
+
+--- grub-0.97/stage2/Makefile.am.orig
 grub-0.97/stage2/Makefile.am
+@@ -79,7 +79,7 @@
+ HERCULES_FLAGS =
+ endif
+ 
+-STAGE2_COMPILE = $(STAGE2_CFLAGS) -fno-builtin -nostdinc \
++STAGE2_COMPILE = $(STAGE2_CFLAGS) -fno-reorder-functions -fno-builtin 
-nostdinc \
+   $(NETBOOT_FLAGS) $(SERIAL_FLAGS) $(HERCULES_FLAGS)
+ 
+ STAGE1_5_LINK = -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000
diff --git a/meta/recipes-bsp/grub/grub_0.97.bb 
b/meta/recipes-bsp/grub/grub_0.97.bb
index 131d942..ffacb61 100644
--- a/meta/recipes-bsp/grub/grub_0.97.bb
+++ b/meta/recipes-bsp/grub/grub_0.97.bb
@@ -11,10 +11,11 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b \
 
file://grub/main.c;beginline=3;endline=9;md5=22a5f28d2130fff9f2a17ed54be90ed6
 
 RDEPENDS_${PN} = diffutils
-PR = r3
+PR = r6
 
 SRC_URI = ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz; \
-  file://autohell.patch;apply=yes 
+file://no-reorder-functions.patch \
+file://autohell.patch 
 
 SRC_URI[md5sum] = cd3f3eb54446be6003156158d51f4884
 SRC_URI[sha256sum] = 
4e1d15d12dbd3e9208111d6b806ad5a9857ca8850c47877d36575b904559260b
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/3] distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and tcf-agent

2011-06-29 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../conf/distro/include/distro_tracking_fields.inc |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc 
b/meta/conf/distro/include/distro_tracking_fields.inc
index e9594cf..6699ab7 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -1001,6 +1001,7 @@ RECIPE_MAINTAINER_pn-mdadm = Dexuan Cui 
dexuan@intel.com
 RECIPE_STATUS_pn-screen = green
 RECIPE_DEPENDENCY_CHECK_pn-screen = not done
 RECIPE_LATEST_VERSION_pn-screen = 4.0.3
+RECIPE_MANUAL_CHECK_DATE_pn-screen = June 29, 2011
 RECIPE_NO_OF_PATCHES_pn-screen = 2
 RECIPE_PATCH_pn-screen+screen_4.0.3-11+lenny1.diff.gz = Debian's enhancement
 RECIPE_PATCH_pn-screen+configure = fix configure.in to make the build pass
@@ -2773,7 +2774,7 @@ RECIPE_STATUS_pn-tcf-agent = green
 DISTRO_PN_ALIAS_pn-tcf-agent = WindRiver 
upstream=http://www.eclipse.org/dsdp/tm/;
 RECIPE_DEPENDENCY_CHECK_pn-tcf-agent = not done
 RECIPE_LATEST_VERSION_pn-tcf-agent = 0.3.0+svnr1078
-RECIPE_MANUAL_CHECK_DATE_pn-tcf-agent = June 13, 2011
+RECIPE_MANUAL_CHECK_DATE_pn-tcf-agent = June 29, 2011
 RECIPE_NO_UPDATE_REASON_pn-tcf-agent = Do not upgrade to version: (998)? 
because upstraem hasn't defined a formal release tag.
 RECIPE_NO_OF_PATCHES_pn-tcf-agent = 2
 RECIPE_PATCH_pn-tcf-agent+terminals_agent = we might get the patch from 
git://git.yoctoproject.org/eclipse-poky.git in future
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/3] lttng-ust: change the patch's Upstream-Status to Accepted.

2011-06-29 Thread Dexuan Cui
Signed-off-by: Dexuan Cui dexuan@intel.com
---
 .../lttng/lttng-ust/uclibc-sched_getcpu.patch  |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/lttng/lttng-ust/uclibc-sched_getcpu.patch 
b/meta/recipes-kernel/lttng/lttng-ust/uclibc-sched_getcpu.patch
index a6aa6a7..f4ea196 100644
--- a/meta/recipes-kernel/lttng/lttng-ust/uclibc-sched_getcpu.patch
+++ b/meta/recipes-kernel/lttng/lttng-ust/uclibc-sched_getcpu.patch
@@ -6,7 +6,7 @@ this header is not needed even in eglibc case so it can be 
removed
 
 Signed-off-by: Khem Raj raj.k...@gmail.com
 
-Upstream-Status: Submitted
+Upstream-Status: Accepted
 
 Index: ust-0.12/libust/tracer.h
 ===
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] base.bbclass: show layer's branches/revisions in the banner info

2011-06-27 Thread Dexuan Cui
The following changes since commit a1f79a7896b6411669b3ccada6204d2695e80fc5:

  runqueue.py: Add umask task control (2011-06-24 12:23:12 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/banner
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/banner

Dexuan Cui (1):
  base.bbclass: show layer's branches/revisions in the banner info

 meta/classes/base.bbclass |   14 +-
 1 files changed, 13 insertions(+), 1 deletions(-)

-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


  1   2   >