Graham Gower | 1 Dec 2010 01:19
Picon

[oe] [PATCH] iputils_20071127.bb: Don't build ipv6 utils if DISTRO_FEATURES lacks ipv6.


Signed-off-by: Graham Gower <graham.gower <at> gmail.com>
---
 recipes/iputils/iputils_20071127.bb |   29 ++++++++++++++++++++---------
 1 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/recipes/iputils/iputils_20071127.bb b/recipes/iputils/iputils_20071127.bb
index e5861eb..bcb35c4 100644
--- a/recipes/iputils/iputils_20071127.bb
+++ b/recipes/iputils/iputils_20071127.bb
 <at>  <at>  -5,7 +5,7  <at>  <at>  SECTION = "console/network"
 LICENSE ="BSD"
 DEPENDS = "docbook-utils-native sgmlspl-native"

-PR = "r2"
+PR = "r3"

 DEFAULT_PREFERENCE_angstrom = "2"

 <at>  <at>  -22,10 +22,14  <at>  <at>  SRC_URI = "http://ftp.de.debian.org/debian/pool/main/i/iputils/iputils_${PV}.ori

 S = "${WORKDIR}/iputils_20071127.orig"

-PACKAGES += "${PN}-ping ${PN}-ping6 ${PN}-arping ${PN}-tracepath ${PN}-tracepath6 ${PN}-traceroute6"
+PACKAGES_IPV4 = "${PN}-ping ${PN}-arping ${PN}-tracepath"
+PACKAGES_IPV6 = "${PN}-ping6 ${PN}-tracepath6 ${PN}-traceroute6"
+all_pkgs = "${PACKAGES_IPV4} \
+	${ <at> base_contains('DISTRO_FEATURES', 'ipv6', '${PACKAGES_IPV6}', '', d)}"
+PACKAGES += "${all_pkgs}"

(Continue reading)

Graham Gower | 1 Dec 2010 03:31
Picon

[oe] [PATCH] gzip_1.4.bb: Fix do_install for DISTRO=micro.

mv: `/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/gzip-1.4-r3/image/bin/gunzip' and
`/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/gzip-1.4-r3/image/bin/gunzip' are the same file

Signed-off-by: Graham Gower <graham.gower <at> gmail.com>
---
 recipes/gzip/gzip_1.4.bb |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/recipes/gzip/gzip_1.4.bb b/recipes/gzip/gzip_1.4.bb
index eb89f79..020e31a 100644
--- a/recipes/gzip/gzip_1.4.bb
+++ b/recipes/gzip/gzip_1.4.bb
 <at>  <at>  -19,10 +19,12  <at>  <at>  alternatives = "gunzip gzip zcat"
 do_install () {
     autotools_do_install
     # Move files into /bin (FHS)
-    install -d ${D}${base_bindir}
-    for file in ${D}${bindir}/*; do
-        mv $file ${D}${base_bindir}/
-    done
+    if [ "${base_bindir}" != "${bindir}" ]; then
+        install -d ${D}${base_bindir}
+        for file in ${D}${bindir}/*; do
+            mv $file ${D}${base_bindir}/
+        done
+    fi
 }

 do_install_append_pn-gzip () {
--

-- 
(Continue reading)

Graham Gower | 1 Dec 2010 04:01
Picon

[oe] [PATCH] e2fsprogs_1.41.9.bb: Fix build for uclibc when DISTRO_FEATURES lacks largefile.

	CC llseek.c
llseek.c:65:22: error: expected declaration specifiers or '...' before '_llseek'
llseek.c:65:43: error: expected declaration specifiers or '...' before 'fd'
llseek.c:65:60: error: expected declaration specifiers or '...' before 'offset_high'
llseek.c:66:19: error: expected declaration specifiers or '...' before 'offset_low'
llseek.c:66:44: error: expected declaration specifiers or '...' before 'result'
llseek.c:67:18: error: expected declaration specifiers or '...' before 'origin'
llseek.c: In function '_syscall5':
llseek.c:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
llseek.c:91:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
llseek.c:65:1: error: parameter name omitted
llseek.c:65:22: error: parameter name omitted
llseek.c:65:43: error: parameter name omitted
llseek.c:66:4: error: parameter name omitted
llseek.c:66:19: error: parameter name omitted
llseek.c:67:4: error: parameter name omitted
llseek.c:114:1: error: expected '{' at end of input
make[2]: *** [llseek.o] Error 1

Signed-off-by: Graham Gower <graham.gower <at> gmail.com>
---
 .../e2fsprogs/e2fsprogs-1.41.9/llseek-uclibc.patch |   24 ++++++++++++++++++++
 recipes/e2fsprogs/e2fsprogs_1.41.9.bb              |    4 ++-
 2 files changed, 27 insertions(+), 1 deletions(-)
 create mode 100644 recipes/e2fsprogs/e2fsprogs-1.41.9/llseek-uclibc.patch

diff --git a/recipes/e2fsprogs/e2fsprogs-1.41.9/llseek-uclibc.patch b/recipes/e2fsprogs/e2fsprogs-1.41.9/llseek-uclibc.patch
new file mode 100644
index 0000000..026db2a
--- /dev/null
(Continue reading)

Graham Gower | 1 Dec 2010 04:10
Picon

[oe] [PATCH] debianutils.inc: Fix do_install for DISTRO=micro.

mv:
`/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/debianutils-2.30-r2/image/bin/run-parts.debianutils'
and
`/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/debianutils-2.30-r2/image/bin/run-parts.debianutils'
are the same file

Signed-off-by: Graham Gower <graham.gower <at> gmail.com>
---
 recipes/debianutils/debianutils.inc |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/recipes/debianutils/debianutils.inc b/recipes/debianutils/debianutils.inc
index 9d32606..1ad766d 100644
--- a/recipes/debianutils/debianutils.inc
+++ b/recipes/debianutils/debianutils.inc
 <at>  <at>  -11,11 +11,13  <at>  <at>  do_install_append() {
     for app in ${D}${sbindir}/* ${D}${bindir}/*; do
         mv $app $app.${PN}
     done
-    # Debian places some utils into ${base_bindir} as does busybox
-    install -d ${D}${base_bindir}
-    for app in run-parts.${PN} tempfile.${PN}; do
-        mv ${D}${bindir}/$app ${D}${base_bindir}/$app
-    done
+    if [ "${base_bindir}" != "${bindir}" ]; then
+        # Debian places some utils into ${base_bindir} as does busybox
+        install -d ${D}${base_bindir}
+        for app in run-parts.${PN} tempfile.${PN}; do
+            mv ${D}${bindir}/$app ${D}${base_bindir}/$app
+        done
(Continue reading)

Graham Gower | 1 Dec 2010 04:18
Picon

[oe] [PATCH] openssl.inc: Use cp -L, busybox cp doesn't support the long option.


Reported by andyzammy on IRC.

| oe_libinstall: cd /home/rofl/Desktop/oe/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/i686-linux/openssl-native-1.0.0b-r13.1/openssl-1.0.0b
| cp: unrecognized option '--dereference'
| BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) multi-call binary
|
| Usage: cp [OPTION]... SOURCE DEST
|
| Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY
|
| Options:
| 	-a	Same as -dpR
| 	-d,-P	Preserve links
| 	-H,-L	Dereference all symlinks (default)
| 	-p	Preserve file attributes if possible
| 	-f	Force overwrite
| 	-i	Prompt before overwrite
| 	-R,-r	Recurse directories
| 	-l,-s	Create (sym)links
|
| ERROR: Function do_install failed

Signed-off-by: Graham Gower <graham.gower <at> gmail.com>
---
 recipes/openssl/openssl.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc
index 3091b4e..bcebc4a 100644
(Continue reading)

Chris Larson | 1 Dec 2010 05:31
Gravatar

Re: [oe] [PATCH] debianutils.inc: Fix do_install for DISTRO=micro.

On Tue, Nov 30, 2010 at 8:10 PM, Graham Gower <graham.gower <at> gmail.com> wrote:
> mv:
`/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/debianutils-2.30-r2/image/bin/run-parts.debianutils'
and
`/mnt/oe/tmp/work/mipsel-oe-linux-uclibc/debianutils-2.30-r2/image/bin/run-parts.debianutils'
are the same file
>
> Signed-off-by: Graham Gower <graham.gower <at> gmail.com>

Acked-by: Chris Larson <chris_larson <at> mentor.com>

--

-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
Jayen Ashar | 1 Dec 2010 05:47
Picon
Picon
Favicon
Gravatar

[oe] [PATCH] qwt: QT_LIBINFIX not being resolved when running qmake

Fixed a problem where qmake would create a directory called 'obj${QT_LIBINFIX}'
instead of resolving the QT_LIBINFIX variable and creating the appropriately
resolved directory.

Signed-off-by: Jayen Ashar <jayen <at> cse.unsw.edu.au>
---
 recipes/qwt/qwt.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/qwt/qwt.inc b/recipes/qwt/qwt.inc
index 62c8656..89035c1 100644
--- a/recipes/qwt/qwt.inc
+++ b/recipes/qwt/qwt.inc
 <at>  <at>  -10,7 +10,7  <at>  <at>  SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt"
 S = "${WORKDIR}/qwt-${PV}"

 do_configure_prepend() {
-	sed -i -e 's:RELEASE_SUFFIX      = :RELEASE_SUFFIX      = ${QT_LIBINFIX}:' *.pri
+	sed -i -e 's:RELEASE_SUFFIX      = :RELEASE_SUFFIX      = $\${QT_LIBINFIX}:' *.pri
 	sed -i -e s:lqwt:lqwt${QT_LIBINFIX}:g -e s:/usr/local/qwt-$\${QwtVersion}:${prefix}:g *.prf
 	sed -e 's/#CONFIG     += QwtExamples/CONFIG     += QwtExamples/g' -i qwtconfig.pri
 	sed -i -e s:/usr/local/qwt-${PV}:${D}${prefix}:g ${S}/*.pri
--

-- 
1.7.0.4
Martin Jansa | 1 Dec 2010 07:07
Picon
Gravatar

[oe] [PATCHv2] kernel.bbclass: put bluez-dtl1-workaround to DEPENDS directly

* DEPENDS_kernel-module-dtl1-cs aren't probably included in run queue
* RDEPENDS_kernel-module-dtl1-cs probably also doesn't put it to run queue,
  because kernel-module-* are created by
  PACKAGES_DYNAMIC += "kernel-module-*"
  so not even known before even building kernel, but does work ok in runtime
* bluez-dtl1-workaround is small and fast to build so won't hurt to
  build even when kernel doesn't have this bluez module enabled in
  defconfig

Signed-off-by: Martin Jansa <Martin.Jansa <at> gmail.com>
---
 classes/kernel.bbclass     |    3 +--
 recipes/tasks/task-base.bb |    4 ----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 7039d27..422bcd7 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
 <at>  <at>  -1,7 +1,7  <at>  <at> 
 inherit linux-kernel-base module_strip

 PROVIDES += "virtual/kernel"
-DEPENDS += "virtual/${TARGET_PREFIX}gcc
virtual/${TARGET_PREFIX}depmod-${ <at> get_kernelmajorversion('${PV}')}
virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules"
+DEPENDS += "virtual/${TARGET_PREFIX}gcc
virtual/${TARGET_PREFIX}depmod-${ <at> get_kernelmajorversion('${PV}')}
virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules bluez-dtl1-workaround"

(Continue reading)

Eric Bénard | 1 Dec 2010 07:48
Favicon

Re: [oe] [PATCH] qwt: QT_LIBINFIX not being resolved when running qmake

On 01/12/2010 05:47, Jayen Ashar wrote:
> Fixed a problem where qmake would create a directory called 'obj${QT_LIBINFIX}'
> instead of resolving the QT_LIBINFIX variable and creating the appropriately
> resolved directory.
>
> Signed-off-by: Jayen Ashar<jayen <at> cse.unsw.edu.au>
> ---
>   recipes/qwt/qwt.inc |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/qwt/qwt.inc b/recipes/qwt/qwt.inc
> index 62c8656..89035c1 100644
> --- a/recipes/qwt/qwt.inc
> +++ b/recipes/qwt/qwt.inc
>  <at>  <at>  -10,7 +10,7  <at>  <at>  SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt"
>   S = "${WORKDIR}/qwt-${PV}"
>
>   do_configure_prepend() {
> -	sed -i -e 's:RELEASE_SUFFIX      = :RELEASE_SUFFIX      = ${QT_LIBINFIX}:' *.pri
> +	sed -i -e 's:RELEASE_SUFFIX      = :RELEASE_SUFFIX      = $\${QT_LIBINFIX}:' *.pri
>   	sed -i -e s:lqwt:lqwt${QT_LIBINFIX}:g -e s:/usr/local/qwt-$\${QwtVersion}:${prefix}:g *.prf
>   	sed -e 's/#CONFIG     += QwtExamples/CONFIG     += QwtExamples/g' -i qwtconfig.pri
>   	sed -i -e s:/usr/local/qwt-${PV}:${D}${prefix}:g ${S}/*.pri

Are you using the release branch ?

this should be fixed in 26002b31b7232ee71249cc39fd8184d80ecb9ec2

Eric
(Continue reading)

Marcin Juszkiewicz | 1 Dec 2010 08:40
Picon
Gravatar

Re: [oe] Commit Access for Graham Gower (grg)

Dnia wtorek, 30 listopada 2010 o 19:42:23 Stefan Schmidt napisał(a):

> Indeed. Actually I wonder why he does not already have commit access.

I am also surprised - I thought that he has r/w already.

So I support giving r/w access to Graham Gower.

Regards, 
--

-- 
JID:      hrw <at> jabber.org
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Gmane