Re: [oe] [meta-oe][PATCH] llvm3.2: new recipe

2013-06-11 Thread Marcin Juszkiewicz
W dniu 11.06.2013 09:48, Khem Raj pisze:
 On Sun, Jun 2, 2013 at 2:55 AM, Marcin Juszkiewicz
 mar...@juszkiewicz.com.pl wrote:
 W dniu 02.06.2013 11:33, Jonathan Liu pisze:
 +def get_llvm_arch(d):
 +import bb;
 +
 +arch = bb.data.getVar('TARGET_ARCH', d, 1)
 +
 +if arch == x86_64 or arch == i486 or arch == i586 or arch == 
 i686:
 +arch = x86
 +elif arch == x86_64:
 +arch = x86_64
 +elif arch == arm:
 +arch = arm
 +elif arch == mipsel or arch == mips:
 +arch = mips
 +elif arch == powerpc or arch == powerpc64:
 +arch = powerpc
 +else:
 +bb.warn(%s does not support %s yet % (bb.data.getVar('PN', d, 
 1), arch) );
 +
 +return arch

 Can we get rid of such blocks? They are worthless and only generate
 extra support questions when OE newbies use OE with 'not supported'
 architectures.

 why do you think they are worthless ? when they give good information
 instead of failing to build and then generating support question 
 which need more work to come to same conclusion

$ MACHINE=genericarmv8 bitbake nano
llvm is not supported
openjdk is not supported
another-thing-you-do-not-care-for-this-build is not supported

This is how your builds look for not supported architectures.

OE has COMPATIBLE_HOST variable which can be used by recipe maintainers
to mark which architectures are supported.
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] llvm3.2: new recipe

2013-06-11 Thread Marcin Juszkiewicz
W dniu 11.06.2013 10:03, Khem Raj pisze:
 On Tue, Jun 11, 2013 at 12:55 AM, Marcin Juszkiewicz
 W dniu 11.06.2013 09:48, Khem Raj pisze:

 why do you think they are worthless ? when they give good information
 instead of failing to build and then generating support question
 which need more work to come to same conclusion

 $ MACHINE=genericarmv8 bitbake nano
 llvm is not supported
 openjdk is not supported
 another-thing-you-do-not-care-for-this-build is not supported
 
 it could be said if you do not care for such recipes then BBMASK them
 and message
 well may be it could be make bb.note instead of bb.warn to make it
 more of FYI kind of thing

NOTE: llvm does not support aarch64 yet looks better. But still is
worthless.

 This is how your builds look for not supported architectures.

 OE has COMPATIBLE_HOST variable which can be used by recipe maintainers
 to mark which architectures are supported.

 in this case arch does not map to what OE's target arch is so you have
 to do it twice if you want to use COMPATIBLE_HOST

It has 7 OE architectures: i.86, x86_64, arm, mips(el), powerpc(64)
which are then mapped into 5 llvm ones. Can be gathered into one
COMPATIBLE_HOST (copied from kexec-tools):

COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*|mips.*)-(linux)'

mips.* probably needs to be changed to mips(el)? to not cover mips64.

 and suppose a non supported arch becomes supported you have to change
 both places.

Once it gets supported you will need to add/edit recipe anyway.
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] llvm3.2: new recipe

2013-06-11 Thread Marcin Juszkiewicz
W dniu 11.06.2013 11:07, Khem Raj pisze:
 
 On Jun 11, 2013, at 1:54 AM, Marcin Juszkiewicz mar...@juszkiewicz.com.pl 
 wrote:
 
 in this case arch does not map to what OE's target arch is so you have
 to do it twice if you want to use COMPATIBLE_HOST

 It has 7 OE architectures: i.86, x86_64, arm, mips(el), powerpc(64)
 which are then mapped into 5 llvm ones. Can be gathered into one
 COMPATIBLE_HOST (copied from kexec-tools):

 COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*|mips.*)-(linux)'

 mips.* probably needs to be changed to mips(el)? to not cover mips64.
 
 and how will you fold it into -DLLVM_TARGETS_TO_BUILD=arch
 
 where arch is not same as OE's target arch so you need the mapping function
 anyway was my point.

+def get_llvm_arch(d):
+import bb;
+
+arch = bb.data.getVar('TARGET_ARCH', d, 1)
+
+if arch == x86_64 or arch == i486 or arch == i586 or arch ==
i686:
+arch = x86
+elif arch == x86_64:
+arch = x86_64
+elif arch == arm:
+arch = arm
+elif arch == mipsel or arch == mips:
+arch = mips
+elif arch == powerpc or arch == powerpc64:
+arch = powerpc
+
+return arch

And done. If you try to build recipe secured by COMPATIBLE_HOST for not
compatible architecture then you have to deal with effects.
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] llvm3.2: new recipe

2013-06-02 Thread Marcin Juszkiewicz
W dniu 02.06.2013 11:33, Jonathan Liu pisze:
 +def get_llvm_arch(d):
 +import bb;
 +
 +arch = bb.data.getVar('TARGET_ARCH', d, 1)
 +
 +if arch == x86_64 or arch == i486 or arch == i586 or arch == 
 i686:
 +arch = x86
 +elif arch == x86_64:
 +arch = x86_64
 +elif arch == arm:
 +arch = arm
 +elif arch == mipsel or arch == mips:
 +arch = mips
 +elif arch == powerpc or arch == powerpc64:
 +arch = powerpc
 +else:
 +bb.warn(%s does not support %s yet % (bb.data.getVar('PN', d, 1), 
 arch) );
 +
 +return arch

Can we get rid of such blocks? They are worthless and only generate
extra support questions when OE newbies use OE with 'not supported'
architectures.
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] mysql: depend on zlib to not build own one

2013-05-23 Thread Marcin Juszkiewicz
When mysql does not detect zlib during configure then their copy of
zlib 1.2.3 is built. That leads to problems during rootfs creation:

|  * check_data_file_clashes: Package libz-staticdev wants to install file 
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/genericarmv8-oe-linux/linaro-image-lamp/1.0-r0/rootfs/usr/lib/libz.a
|   But that file is already provided by package  * libmysqlclient-staticdev
|  * opkg_install_cmd: Cannot install package libz-staticdev.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/mysql/mysql5_5.1.40.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc 
b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
index 3d79e19..3b3a42d 100644
--- a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
+++ b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
@@ -4,7 +4,7 @@ SECTION = libs
 LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=477ab0a4c8ca64b482b3f2a365d0fdfa
 
-DEPENDS = ncurses
+DEPENDS = ncurses zlib
 PR = r11
 
 SRC_URI = http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \
-- 
1.8.1.2

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] modphp: update to 5.4.14

2013-04-25 Thread Marcin Juszkiewicz
Only build tested.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../modphp/files/php-5.3.14-aconf259.patch | 209 -
 meta-webserver/recipes-php/modphp/modphp5.inc  |   1 -
 meta-webserver/recipes-php/modphp/modphp_5.3.19.bb |   5 -
 meta-webserver/recipes-php/modphp/modphp_5.4.14.bb |   4 +
 4 files changed, 4 insertions(+), 215 deletions(-)
 delete mode 100644 
meta-webserver/recipes-php/modphp/files/php-5.3.14-aconf259.patch
 delete mode 100644 meta-webserver/recipes-php/modphp/modphp_5.3.19.bb
 create mode 100644 meta-webserver/recipes-php/modphp/modphp_5.4.14.bb

diff --git a/meta-webserver/recipes-php/modphp/files/php-5.3.14-aconf259.patch 
b/meta-webserver/recipes-php/modphp/files/php-5.3.14-aconf259.patch
deleted file mode 100644
index bda0aef..000
--- a/meta-webserver/recipes-php/modphp/files/php-5.3.14-aconf259.patch
+++ /dev/null
@@ -1,209 +0,0 @@
-Patch from fedora to support autoconf 2.59+
-
-referrence to:
-https://bugs.php.net/bug.php?id=50291
-http://lists.fedoraproject.org/pipermail/scm-commits/2012-June/807312.html
-
-Signed-off-by: Jackie Huang jackie.hu...@windriver.com

-diff --git a/build/buildcheck.sh b/build/buildcheck.sh
-index de16264..4b05c28 100755
 a/build/buildcheck.sh
-+++ b/build/buildcheck.sh
-@@ -28,33 +28,23 @@ if test -z $PHP_AUTOCONF; then
-   PHP_AUTOCONF='autoconf'
- fi
- 
--# autoconf 2.13 or newer
-+# autoconf 2.59 or newer
- ac_version=`$PHP_AUTOCONF --version 2/dev/null|head -n 1|sed -e 
's/^[^0-9]*//' -e 's/[a-z]* *$//'`
- if test -z $ac_version; then
- echo buildconf: autoconf not found.
--echoYou need autoconf version 2.13 or newer installed
-+echoYou need autoconf version 2.59 or newer installed
- echoto build PHP from SVN.
- exit 1
- fi
- IFS=.; set $ac_version; IFS=' '
--if test $1 = 2 -a $2 -lt 13 || test $1 -lt 2; then
-+if test $1 = 2 -a $2 -lt 59 || test $1 -lt 2; then
- echo buildconf: autoconf version $ac_version found.
--echoYou need autoconf version 2.13 or newer installed
-+echoYou need autoconf version 2.59 or newer installed
- echoto build PHP from SVN.
- exit 1
- fi
- 
--if test $1 = 2 -a $2 -gt 59; then
--  echo buildconf: You need autoconf 2.59 or lower to build this version of 
PHP.
--  echoYou are currently trying to use $ac_version
--  echoMost distros have separate autoconf 2.13 or 2.59 packages.
--  echoOn Debian/Ubuntu both autoconf2.13 and autoconf2.59 
packages exist.
--  echoInstall autoconf2.13 and set the PHP_AUTOCONF env var to 
--  echoautoconf2.13 and try again.
--  exit 1
--else
--  echo buildconf: autoconf version $ac_version (ok)
--fi
-+echo buildconf: autoconf version $ac_version (ok)
- 
- if test $1 = 2 -a $2 -ge 50; then
-   ./vcsclean
-diff --git a/configure.in b/configure.in
-index f48ce4f..6851512 100644
 a/configure.in
-+++ b/configure.in
-@@ -1,28 +1,6 @@
- ## $Id$ -*- autoconf -*-
- dnl ## Process this file with autoconf to produce a configure script.
- 
--divert(1)
--
--dnl ## Diversion 1 is the autoconf + automake setup phase. We also
--dnl ## set the PHP version, deal with platform-specific compile
--dnl ## options and check for the basic compile tools.
--
--dnl ## Diversion 2 is the initial checking of OS features, programs,
--dnl ## libraries and so on.
--
--dnl ## In diversion 3 we check for compile-time options to the PHP
--dnl ## core and how to deal with different system dependencies. 
--dnl ## This includes whether debugging or short tags are enabled
--dnl ## and the default behaviour of php.ini options.
--dnl ## This is also where an SAPI interface is selected (choosing between
--dnl ## Apache module, CGI etc.)
--
--dnl ## In diversion 4 we check user-configurable general settings.
--
--dnl ## In diversion 5 we check which extensions should be compiled.
--dnl ## All of these are normally in the extension directories.
--dnl ## Diversion 5 is the last one.  Here we generate files and clean up.
--
- dnl include Zend specific macro definitions first
- dnl -
- sinclude(Zend/acinclude.m4)
-@@ -30,8 +8,10 @@ sinclude(Zend/acinclude.m4)
- dnl Basic autoconf + automake initialization, generation of config.nice.
- dnl -
- 
--AC_PREREQ(2.13)
-+AC_PREREQ(2.59)
- AC_INIT(README.GIT-RULES)
-+ifdef([AC_PRESERVE_HELP_ORDER], [AC_PRESERVE_HELP_ORDER], [])
-+
- 
- PHP_CONFIG_NICE(config.nice)
- 
-@@ -290,14 +270,6 @@ sinclude(TSRM/threads.m4)
- sinclude(TSRM/tsrm.m4)
- 
- 
--divert(2)
--
--dnl ## Diversion 2 is where we set PHP-specific options and come up
--dnl ## with reasonable default values for them. We check for pthreads here
--dnl ## because the information is needed by the SAPI configuration.
--dnl ## This is also where an SAPI interface is selected (choosing between
--dnl

[oe] [meta-oe][PATCH v2] memcached: add 1.4.15

2013-04-23 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-support/memcached/memcached_1.4.15.bb | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 
meta-networking/recipes-support/memcached/memcached_1.4.15.bb

diff --git a/meta-networking/recipes-support/memcached/memcached_1.4.15.bb 
b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
new file mode 100644
index 000..016eaeb
--- /dev/null
+++ b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = Free  open source, high-performance, distributed memory object 
\
+caching system, generic in nature, but intended for use in speeding up dynamic 
\
+web applications by alleviating database load.
+HOMEPAGE = http://memcached.org/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff
+
+SRC_URI = http://memcached.googlecode.com/files/memcached-${PV}.tar.gz;
+
+SRC_URI[md5sum] = 36ea966f5a29655be1746bf4949f7f69
+SRC_URI[sha256sum] = 
169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4
+
+DEPENDS = libevent
+
+inherit autotools
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH v5] libmemcached: add 1.0.15 and 1.0.7 versions

2013-04-23 Thread Marcin Juszkiewicz
1.0.15 is latest
1.0.7 is required by HipHopVM

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../libmemcached/files/crosscompile.patch  | 30 ++
 .../recipes-support/libmemcached/libmemcached.inc  | 10 
 .../libmemcached/libmemcached_1.0.15.bb|  6 +
 .../libmemcached/libmemcached_1.0.7.bb |  4 +++
 4 files changed, 50 insertions(+)
 create mode 100644 
meta-networking/recipes-support/libmemcached/files/crosscompile.patch
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached.inc
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb

diff --git 
a/meta-networking/recipes-support/libmemcached/files/crosscompile.patch 
b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
new file mode 100644
index 000..63511bf
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
@@ -0,0 +1,30 @@
+ libmemcached/backtrace.cc |3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- libmemcached-1.0.15.orig/libmemcached/backtrace.cc
 libmemcached-1.0.15/libmemcached/backtrace.cc
+@@ -75,10 +75,11 @@ void custom_backtrace(void)
+ {
+   for (int x= 0; x  stack_frames; x++) 
+   {
+ bool was_demangled= false;
+ 
++#if USE_DEMANGLE == 1
+ if (USE_DEMANGLE)
+ {
+ #ifdef HAVE_DLFCN_H
+   Dl_info dlinfo;
+   if (dladdr(backtrace_buffer[x], dlinfo))
+@@ -107,11 +108,11 @@ void custom_backtrace(void)
+   dlinfo.dli_fname);
+ }
+   }
+ #endif
+ }
+-
++#endif
+ if (was_demangled == false)
+ {
+   fprintf(stderr, ?%d  %p in %s\n, x, backtrace_buffer[x], 
symbollist[x]);
+ }
+   }
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc 
b/meta-networking/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 000..448a15d
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = open source C/C++ client library and tools for the memcached 
server
+DEPENDS = libevent util-linux
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=865490941c91ba790f0ea78dec93bd60
+
+SRC_URI = 
http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz;
+
+TARGET_LDFLAGS += -luuid
+
+inherit autotools gettext pkgconfig
diff --git 
a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb 
b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 000..18232b4
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@
+require libmemcached.inc
+
+SRC_URI += file://crosscompile.patch
+
+SRC_URI[md5sum] = 616297a1aedefc52b3f6922eda5d559a
+SRC_URI[sha256sum] = 
dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb 
b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 000..cdf8415
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,4 @@
+require libmemcached.inc
+
+SRC_URI[md5sum] = d59a462a92d296f76bff2d9bc72b2516
+SRC_URI[sha256sum] = 
3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] openldap: do not link to ICU

2013-04-19 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../openldap/openldap-2.4.23/kill-icu.patch| 30 ++
 .../recipes-support/openldap/openldap_2.4.23.bb|  1 +
 2 files changed, 31 insertions(+)
 create mode 100644 
meta-oe/recipes-support/openldap/openldap-2.4.23/kill-icu.patch

diff --git a/meta-oe/recipes-support/openldap/openldap-2.4.23/kill-icu.patch 
b/meta-oe/recipes-support/openldap/openldap-2.4.23/kill-icu.patch
new file mode 100644
index 000..dcf5411
--- /dev/null
+++ b/meta-oe/recipes-support/openldap/openldap-2.4.23/kill-icu.patch
@@ -0,0 +1,30 @@
+From: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+slapd depends on ICU if it was built first.
+
+Upstream-status: inappropiate [embedded specific]
+---
+ configure.in |8 
+ 1 file changed, 8 deletions(-)
+
+--- openldap-2.4.23.orig/configure.in
 openldap-2.4.23/configure.in
+@@ -2045,18 +2045,10 @@ if test $ol_enable_ndb != no ; then
+   SLAPD_LIBS=$SLAPD_LIBS \$(SLAPD_NDB_LIBS)
+   fi
+ fi
+ 
+ dnl 
+-dnl International Components for Unicode
+-OL_ICU
+-if test $ol_icu = no ; then
+-  AC_MSG_WARN([ICU not available])
+-else
+-  ICU_LIBS=$ol_icu
+-fi
+-dnl 
+ dnl
+ dnl Check for Cyrus SASL
+ dnl
+ WITH_SASL=no
+ ol_link_sasl=no
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb 
b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
index 1c6c32f..9a7c118 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
@@ -15,6 +15,7 @@ LDAP_VER = ${@'.'.join(d.getVar('PV',1).split('.')[0:2])}
 
 SRC_URI = ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${P}.tgz;
 SRC_URI += file://openldap-m4-pthread.patch
+SRC_URI += file://kill-icu.patch
 SRC_URI += file://initscript
 SRC_URI[md5sum] = 90150b8c0d0192e10b30157e68844ddf
 SRC_URI[sha256sum] = 
5a5ede91d5e8ab3c7f637620aa29a3b96eb34318a8b26c8eef2d2c789fc055e3
-- 
1.8.1.2


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


[oe] openldap and icu

2013-04-18 Thread Marcin Juszkiewicz
Hi

As one of our Linaro builds failed in nasty way I decided to take a look
and discovered something ugly.

bitbake -ccleansstate openldap
bitbake icu
bitbake openldap
rm -rf TMPDIR
bitbake openldap

99% that it will fail...

Where the problem is? in openldap sources: build/openldap.m4 has this:

-
dnl International Components for Unicode (ICU)
AC_DEFUN([OL_ICU],
[ol_icu=no
AC_CHECK_HEADERS( unicode/utypes.h )
if test $ac_cv_header_unicode_utypes_h = yes ; then
dnl OL_ICULIBS=-licui18n -licuuc -licudata
OL_ICULIBS=-licuuc -licudata

AC_CACHE_CHECK([for ICU libraries], [ol_cv_lib_icu], [
ol_LIBS=$LIBS
LIBS=$OL_ICULIBS $LIBS
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include unicode/utypes.h
]], [[
(void) u_errorName(0);
]])],[ol_cv_lib_icu=yes],[ol_cv_lib_icu=no])
LIBS=$ol_LIBS
])

if test $ol_cv_lib_icu != no ; then
ol_icu=$OL_ICULIBS
AC_DEFINE(HAVE_ICU,1,[define if you actually have ICU])
fi
fi
])
-

which is called by configure.in:

-
dnl International Components for Unicode
OL_ICU
if test $ol_icu = no ; then
AC_MSG_WARN([ICU not available])
else
ICU_LIBS=$ol_icu
fi
-

Now the question is: will we kill ICU dependency or will we add it into
build dependencies?

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


[oe] [meta-oe][PATCH] v4l-utils: make it build for AArch64

2013-04-16 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-multimedia/v4l2apps/files/openat.patch | 38 ++
 .../recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb |  1 +
 2 files changed, 39 insertions(+)
 create mode 100644 meta-oe/recipes-multimedia/v4l2apps/files/openat.patch

diff --git a/meta-oe/recipes-multimedia/v4l2apps/files/openat.patch 
b/meta-oe/recipes-multimedia/v4l2apps/files/openat.patch
new file mode 100644
index 000..6cbd528
--- /dev/null
+++ b/meta-oe/recipes-multimedia/v4l2apps/files/openat.patch
@@ -0,0 +1,38 @@
+From ac8eb4d8e1c16b907e795da123a032869c77c56f Mon Sep 17 00:00:00 2001
+From: Riku Voipio riku.voi...@linaro.org
+Date: Tue, 22 Jan 2013 12:44:48 +0200
+Subject: [PATCH] libv4lsyscall-priv.h: use openat when available
+
+New architectures such as 64-Bit arm build kernels without legacy
+system calls - Such as the the no-at system calls. Thus, use
+SYS_openat whenever it is available.
+
+Signed-off-by: Riku Voipio riku.voi...@linaro.org
+Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com
+
+Upstream-status: backport
+---
+ lib/libv4lconvert/libv4lsyscall-priv.h |5 +
+ 1 file changed, 5 insertions(+)
+
+diff --git a/lib/libv4lconvert/libv4lsyscall-priv.h 
b/lib/libv4lconvert/libv4lsyscall-priv.h
+index 2dac49a..cdd38bc 100644
+--- a/lib/libv4lconvert/libv4lsyscall-priv.h
 b/lib/libv4lconvert/libv4lsyscall-priv.h
+@@ -72,8 +72,13 @@ typedef off_t __off_t;
+ 
+ #ifndef CONFIG_SYS_WRAPPER
+ 
++#ifdef SYS_openat
++#define SYS_OPEN(file, oflag, mode) \
++  syscall(SYS_openat, AT_FDCWD, (const char *)(file), (int)(oflag), 
(mode_t)(mode))
++#else
+ #define SYS_OPEN(file, oflag, mode) \
+   syscall(SYS_open, (const char *)(file), (int)(oflag), (mode_t)(mode))
++#endif
+ #define SYS_CLOSE(fd) \
+   syscall(SYS_close, (int)(fd))
+ #define SYS_IOCTL(fd, cmd, arg) \
+-- 
+1.7.10.4
+
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb 
b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
index 91a4ab8..c00f119 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
@@ -13,6 +13,7 @@ inherit autotools gettext
 PROVIDES = libv4l
 
 SRC_URI = git://linuxtv.org/v4l-utils.git;protocol=git \
+   file://openat.patch \
 
 # 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 - v0.8.8 tag
 SRCREV = 0298efdcd1153b8f719b9164548a3f0546f0cb7c
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] php: update to 5.4.14

2013-04-16 Thread Marcin Juszkiewicz
Build tested for AArch64 and x86.
Runtime tested on x86.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-devtools/php/php.inc   |  4 +-
 .../recipes-devtools/php/php/phar-makefile.patch   |  8 +--
 .../recipes-devtools/php/php/php-m4-divert.patch   | 83 --
 .../recipes-devtools/php/php/php_exec_native.patch | 26 ---
 .../php/{php_5.3.19.bb = php_5.4.14.bb}   |  5 +-
 5 files changed, 26 insertions(+), 100 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/php/php/php-m4-divert.patch
 rename meta-oe/recipes-devtools/php/{php_5.3.19.bb = php_5.4.14.bb} (75%)

diff --git a/meta-oe/recipes-devtools/php/php.inc 
b/meta-oe/recipes-devtools/php/php.inc
index 176d4a1..225c3d7 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -64,7 +64,9 @@ do_install_append_pn-php-native() {
 # fixme
 do_install_append_pn-php() {
 install -d ${D}/${sysconfdir}/
-mv ${D}/${STAGING_DIR_NATIVE}/${sysconfdir}/* ${D}/${sysconfdir}/
+if [ -d ${D}/${STAGING_DIR_NATIVE}/${sysconfdir} ];then
+ mv ${D}/${STAGING_DIR_NATIVE}/${sysconfdir}/* ${D}/${sysconfdir}/
+fi
 rm -rf ${D}/${TMPDIR}
 rm -rf ${D}/.registry
 rm -rf ${D}/.channels
diff --git a/meta-oe/recipes-devtools/php/php/phar-makefile.patch 
b/meta-oe/recipes-devtools/php/php/phar-makefile.patch
index 9d1dc7b..6fde251 100644
--- a/meta-oe/recipes-devtools/php/php/phar-makefile.patch
+++ b/meta-oe/recipes-devtools/php/php/phar-makefile.patch
@@ -4,8 +4,8 @@ index fc93d1d..9a8cd65 100755
 +++ b/ext/phar/Makefile.frag
 @@ -6,19 +6,8 @@ pharcmd: $(builddir)/phar.php $(builddir)/phar.phar
  
-PHP_PHARCMD_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 
'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0'
-PHP_PHARCMD_EXECUTABLE = ` \
+ PHP_PHARCMD_SETTINGS = -d 'open_basedir=' -d 'output_buffering=0' -d 
'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0'
+ PHP_PHARCMD_EXECUTABLE = ` \
 -  if test -x $(top_builddir)/$(SAPI_CLI_PATH); then \
 -  $(top_srcdir)/build/shtool echo -n -- 
$(top_builddir)/$(SAPI_CLI_PATH) -n; \
 -  if test x$(PHP_MODULES) != x; then \
@@ -21,6 +21,6 @@ index fc93d1d..9a8cd65 100755
 -  fi;`
 +  $(top_srcdir)/build/shtool echo -n -- $(PHP_EXECUTABLE); `
 +
-PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- 
$(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT);`
+ PHP_PHARCMD_BANG = `$(top_srcdir)/build/shtool echo -n -- 
$(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT);`
  
-$(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc
+ $(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc
diff --git a/meta-oe/recipes-devtools/php/php/php-m4-divert.patch 
b/meta-oe/recipes-devtools/php/php/php-m4-divert.patch
deleted file mode 100644
index dfc7b64..000
--- a/meta-oe/recipes-devtools/php/php/php-m4-divert.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-Patch taken from
-
-http://cvs.pld-linux.org/cgi-bin/cvsweb/packages/php/php-m4-divert.patch?rev=1.1
-
-diff -ur php-5.2.10.org/configure.in php-5.2.10/configure.in
 php-5.2.10.org/configure.in2009-06-17 14:22:41.0 +0200
-+++ php-5.2.10/configure.in2009-08-18 12:16:25.317640253 +0200
-@@ -1,7 +1,7 @@
- ## $Id: configure.in,v 1.579.2.52.2.139 2009/06/17 12:22:41 iliaa Exp $ -*- 
autoconf -*-
- dnl ## Process this file with autoconf to produce a configure script.
- 
--divert(1)
-+divert(1001)
- 
- dnl ## Diversion 1 is the autoconf + automake setup phase. We also
- dnl ## set the PHP version, deal with platform-specific compile
-@@ -263,7 +263,7 @@
- sinclude(TSRM/tsrm.m4)
- 
- 
--divert(2)
-+divert(1002)
- 
- dnl ## Diversion 2 is where we set PHP-specific options and come up
- dnl ## with reasonable default values for them. We check for pthreads here
-@@ -302,7 +302,7 @@
-   PTHREADS_FLAGS
- fi
- 
--divert(3)
-+divert(1003)
- 
- dnl ## In diversion 3 we check for compile-time options to the PHP
- dnl ## core and how to deal with different system dependencies.
-@@ -661,7 +661,7 @@
-   PHP_CRYPT_R_STYLE
- fi
- 
--divert(4)
-+divert(1004)
- 
- dnl ## In diversion 4 we check user-configurable general settings.
- 
-@@ -902,7 +902,7 @@
-   AC_MSG_RESULT([using system default])
- fi
- 
--divert(5)
-+divert(1005)
- 
- dnl ## In diversion 5 we check which extensions should be compiled.
- dnl ## All of these are normally in the extension directories.
-diff -ur php-5.2.10.org/ext/standard/config.m4 
php-5.2.10/ext/standard/config.m4
 php-5.2.10.org/ext/standard/config.m4  2007-07-11 13:56:03.0 
+0200
-+++ php-5.2.10/ext/standard/config.m4  2009-08-18 12:16:25.317640253 +0200
-@@ -1,6 +1,6 @@
- dnl $Id: config.m4,v 1.80.2.3.2.3 2007/07/11 11:56:03 jani Exp $ -*- autoconf 
-*-
- 
--divert(3)dnl
-+divert(1003)dnl
- 
- dnl
- dnl Check if flush should be called explicitly after buffered io
-@@ -205,7 +205,7

[oe] [meta-oe][PATCH] gpsd: s/gpsd-dev/${PN}-dev to make bitbake happy

2013-04-15 Thread Marcin Juszkiewicz
WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} 
${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig 
${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la 
${base_libdir}/*.la) replaces original key FILES_gpsd-dev ( 
${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc).

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb 
b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
index e98d795..ceb700a 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
@@ -91,7 +91,7 @@ pkg_postrm_${PN}-conf() {
 
 PACKAGES =+ libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf 
gpsd-gpsctl gps-utils
 
-FILES_gpsd-dev += ${libdir}/pkgconfdir/libgpsd.pc 
${libdir}/pkgconfdir/libgps.pc
+FILES_${PN}-dev += ${libdir}/pkgconfdir/libgpsd.pc 
${libdir}/pkgconfdir/libgps.pc
 
 FILES_python-pygps-dbg +=  ${libdir}/python*/site-packages/gps/.debug
 
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH v2] tbb: update to 4.1 Update 3 version from 20130314

2013-04-15 Thread Marcin Juszkiewicz
ARMv7a support was added in 4.1 Update 3
Older ARM cores support was added by me.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../tbb/allow-to-build-for-older-arm-cores.patch   | 30 ++
 meta-oe/recipes-support/tbb/tbb_4.1.bb |  7 ++---
 2 files changed, 34 insertions(+), 3 deletions(-)
 create mode 100644 
meta-oe/recipes-support/tbb/tbb/allow-to-build-for-older-arm-cores.patch

diff --git 
a/meta-oe/recipes-support/tbb/tbb/allow-to-build-for-older-arm-cores.patch 
b/meta-oe/recipes-support/tbb/tbb/allow-to-build-for-older-arm-cores.patch
new file mode 100644
index 000..cd2ec94
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/allow-to-build-for-older-arm-cores.patch
@@ -0,0 +1,30 @@
+From: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+Description: Allow to build TBB for ARM cores older than ARMv7a
+
+| ../../include/tbb/machine/gcc_armv7.h:39:2: error: #error Threading
+Building Blocks ARM port requires an ARMv7-a architecture.
+| make[1]: *** [concurrent_hash_map.o] Error 1
+
+https://bugs.launchpad.net/linaro-oe/+bug/1167144
+
+Upstream-status: pending
+
+---
+ include/tbb/tbb_machine.h |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- tbb41_20130314oss.orig/include/tbb/tbb_machine.h
 tbb41_20130314oss/include/tbb/tbb_machine.h
+@@ -237,11 +237,11 @@ template struct atomic_selector8 {
+ #include machine/linux_intel64.h
+ #elif __ia64__
+ #include machine/linux_ia64.h
+ #elif __powerpc__
+ #include machine/mac_ppc.h
+-#elif __arm__
++#elif __ARM_ARCH_7A__
+ #include machine/gcc_armv7.h
+ #elif __TBB_GCC_BUILTIN_ATOMICS_PRESENT
+ #include machine/gcc_generic.h
+ #endif
+ #include machine/linux_common.h
diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb 
b/meta-oe/recipes-support/tbb/tbb_4.1.bb
index a159321..96137bc 100644
--- a/meta-oe/recipes-support/tbb/tbb_4.1.bb
+++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb
@@ -6,17 +6,18 @@ DESCRIPTION = Parallelism library for C++ - runtime files \
 HOMEPAGE = http://threadingbuildingblocks.org/;
 LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=2c7f2caf277a3933e3acdf7f89d54cc1
-PRDATE = 20130116
+PRDATE = 20130314
 PR = r${PRDATE}
 
 SRC_URI = 
http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_${PRDATE}oss_src.tgz
 \
file://cross-compile.patch \
+   file://allow-to-build-for-older-arm-cores.patch \
file://tbb.pc
 
 S = ${WORKDIR}/tbb41_${PRDATE}oss/
 
-SRC_URI[md5sum] = 3809790e1001a1b32d59c9fee590ee85
-SRC_URI[sha256sum] = 
4ae2c10899e3b6ef2f686013ec5901fc658444ca90178efaca6014b0665c34b6
+SRC_URI[md5sum] = ed4af7ccfa122f16cf9920b241633a3a
+SRC_URI[sha256sum] = 
32fd5979971b772caa96d40646cee585ed0070516ba2dbbcb1f9b6033d08a92d
 
 do_compile() {
 oe_runmake compiler=gcc arch=${HOST_ARCH} runtime=cc4
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] tbb: update to 4.1 Update 3 version from 20130314

2013-04-04 Thread Marcin Juszkiewicz
ARMv7a support was added

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/tbb/tbb_4.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb 
b/meta-oe/recipes-support/tbb/tbb_4.1.bb
index 2337bdd..48427ee 100644
--- a/meta-oe/recipes-support/tbb/tbb_4.1.bb
+++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb
@@ -6,7 +6,7 @@ DESCRIPTION = Parallelism library for C++ - runtime files \
 HOMEPAGE = http://threadingbuildingblocks.org/;
 LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=2c7f2caf277a3933e3acdf7f89d54cc1
-PRDATE = 20130116
+PRDATE = 20130314
 PR = r${PRDATE}
 
 SRC_URI = 
http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_${PRDATE}oss_src.tgz
 \
@@ -15,8 +15,8 @@ SRC_URI = 
http://threadingbuildingblocks.org/sites/default/files/software_relea
 
 S = ${WORKDIR}/tbb41_${PRDATE}oss/
 
-SRC_URI[md5sum] = 3809790e1001a1b32d59c9fee590ee85
-SRC_URI[sha256sum] = 
4ae2c10899e3b6ef2f686013ec5901fc658444ca90178efaca6014b0665c34b6
+SRC_URI[md5sum] = ed4af7ccfa122f16cf9920b241633a3a
+SRC_URI[sha256sum] = 
32fd5979971b772caa96d40646cee585ed0070516ba2dbbcb1f9b6033d08a92d
 
 do_compile() {
 oe_runmake compiler=gcc arch=${HOST_ARCH} runtime=cc4
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] libvpx: do not hardcode -mfloat-api=softfp for ARM builds

2013-04-04 Thread Marcin Juszkiewicz
| Configuring for target 'armv7-linux-gcc'
|   enabling armv7
|   enabling armv6
|   enabling armv5te
|   enabling fast_unaligned
| Unable to invoke compiler: arm-oe-linux-gnueabi-gcc  -march=armv7-a -marm 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon 
--sysroot=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv7a
 -O2 -pipe -g -feliminate-unused-debug-types -fPIC -march=armv7-a 
-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3 -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement 
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wno-unused
|
| Configuration failed. This could reflect a misconfiguration of your
| toolchains, improper options selected, or another problem. If you
| don't see any useful error messages above, the next step is to look
| at the configure error log file (config.err) to determine what
| configure was trying to do when it died.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../libvpx/do-not-hardcode-softfp-float-api.patch   | 21 +
 meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb |  1 +
 2 files changed, 22 insertions(+)
 create mode 100644 
meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch

diff --git 
a/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch 
b/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch
new file mode 100644
index 000..bac599d
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch
@@ -0,0 +1,21 @@
+---
+ build/make/configure.sh |4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- libvpx-v0.9.5.orig/build/make/configure.sh
 libvpx-v0.9.5/build/make/configure.sh
+@@ -659,12 +659,12 @@ process_common_toolchain() {
+ if enabled iwmmxt || enabled iwmmxt2
+ then
+ check_add_asflags -mcpu=${tgt_isa}
+ elif enabled armv7
+ then
+-check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon 
-mfloat-abi=softfp  #-ftree-vectorize
+-check_add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp  
#-march=armv7-a
++check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon   
#-ftree-vectorize
++check_add_asflags -mcpu=cortex-a8 -mfpu=neon   #-march=armv7-a
+ else
+ check_add_cflags -march=${tgt_isa}
+ check_add_asflags -march=${tgt_isa}
+ fi
+ 
diff --git a/meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb 
b/meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb
index 2236524..878d5e2 100644
--- a/meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb
+++ b/meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = 
file://LICENSE;md5=6e8dee932c26f2dab503abf70c96d8bb
 PR = ${INC_PR}.0
 
 SRC_URI += file://libvpx-configure-support-blank-prefix.patch \
+file://do-not-hardcode-softfp-float-api.patch \
 file://CVE-2010-4203.patch \
 
 
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH v2] libvpx: do not hardcode -mfloat-api=softfp for ARM builds

2013-04-04 Thread Marcin Juszkiewicz
| Configuring for target 'armv7-linux-gcc'
|   enabling armv7
|   enabling armv6
|   enabling armv5te
|   enabling fast_unaligned
| Unable to invoke compiler: arm-oe-linux-gnueabi-gcc  -march=armv7-a -marm 
-mthumb-interwork -mfloat-abi=hard -mfpu=neon 
--sysroot=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv7a
 -O2 -pipe -g -feliminate-unused-debug-types -fPIC -march=armv7-a 
-mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3 -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement 
-Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wno-unused
|
| Configuration failed. This could reflect a misconfiguration of your
| toolchains, improper options selected, or another problem. If you
| don't see any useful error messages above, the next step is to look
| at the configure error log file (config.err) to determine what
| configure was trying to do when it died.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../libvpx/do-not-hardcode-softfp-float-api.patch  | 28 ++
 meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb|  1 +
 2 files changed, 29 insertions(+)
 create mode 100644 
meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch

diff --git 
a/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch 
b/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch
new file mode 100644
index 000..d871694
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/webm/libvpx/do-not-hardcode-softfp-float-api.patch
@@ -0,0 +1,28 @@
+From: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-Status: Inappopriate [upstream has it done in other way]
+
+Problem is solved upstream but we have quite old version so backporting patches
+is waste of time.
+
+---
+ build/make/configure.sh |4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- libvpx-v0.9.5.orig/build/make/configure.sh
 libvpx-v0.9.5/build/make/configure.sh
+@@ -659,12 +659,12 @@ process_common_toolchain() {
+ if enabled iwmmxt || enabled iwmmxt2
+ then
+ check_add_asflags -mcpu=${tgt_isa}
+ elif enabled armv7
+ then
+-check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon 
-mfloat-abi=softfp  #-ftree-vectorize
+-check_add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp  
#-march=armv7-a
++check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon   
#-ftree-vectorize
++check_add_asflags -mcpu=cortex-a8 -mfpu=neon   #-march=armv7-a
+ else
+ check_add_cflags -march=${tgt_isa}
+ check_add_asflags -march=${tgt_isa}
+ fi
+ 
diff --git a/meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb 
b/meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb
index 2236524..878d5e2 100644
--- a/meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb
+++ b/meta-oe/recipes-multimedia/webm/libvpx_0.9.5.bb
@@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = 
file://LICENSE;md5=6e8dee932c26f2dab503abf70c96d8bb
 PR = ${INC_PR}.0
 
 SRC_URI += file://libvpx-configure-support-blank-prefix.patch \
+file://do-not-hardcode-softfp-float-api.patch \
 file://CVE-2010-4203.patch \
 
 
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] gperftools: add 2.0

2013-03-27 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 ...ix-for-make-install-error-regarding-src-w.patch | 580 +
 .../recipes-support/gperftools/gperftools_2.0.bb   |  13 +
 2 files changed, 593 insertions(+)
 create mode 100644 
meta-oe/recipes-support/gperftools/gperftools-2.0/0001-issue-473-Fix-for-make-install-error-regarding-src-w.patch
 create mode 100644 meta-oe/recipes-support/gperftools/gperftools_2.0.bb

diff --git 
a/meta-oe/recipes-support/gperftools/gperftools-2.0/0001-issue-473-Fix-for-make-install-error-regarding-src-w.patch
 
b/meta-oe/recipes-support/gperftools/gperftools-2.0/0001-issue-473-Fix-for-make-install-error-regarding-src-w.patch
new file mode 100644
index 000..cbd4a08
--- /dev/null
+++ 
b/meta-oe/recipes-support/gperftools/gperftools-2.0/0001-issue-473-Fix-for-make-install-error-regarding-src-w.patch
@@ -0,0 +1,580 @@
+Upstream-Status: backport
+
+From baaf0188295582ca68df03f70baa13d96a88e2eb Mon Sep 17 00:00:00 2001
+From: chapp...@gmail.com chapp...@gmail.com
+Date: Sun, 4 Nov 2012 17:41:47 +
+Subject: [PATCH] issue-473: Fix for make install error regarding 
src/windows/google/tcmalloc.h
+
+git-svn-id: http://gperftools.googlecode.com/svn/trunk@174 
6b5cf1ce-ec42-a296-1ba9-69fdba395a50
+---
+ Makefile.am |  20 +++
+ Makefile.in | 194 ++--
+ 2 files changed, 106 insertions(+), 108 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index d1cc29d..f932e8d 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -126,8 +126,7 @@ googleinclude_HEADERS =\
+src/google/malloc_hook_c.h \
+src/google/profiler.h  \
+src/google/stacktrace.h\
+-   src/google/tcmalloc.h\
+-   src/windows/google/tcmalloc.h
++   src/google/tcmalloc.h
+ 
+ docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
+ # This is for HTML and other documentation you want to install.
+@@ -437,9 +436,8 @@ S_TCMALLOC_MINIMAL_INCLUDES = src/common.h \
+ SG_TCMALLOC_MINIMAL_INCLUDES = src/gperftools/malloc_hook.h \
+src/gperftools/malloc_hook_c.h \
+src/gperftools/malloc_extension.h \
+-   src/gperftools/malloc_extension_c.h \
+-   src/gperftools/stacktrace.h
+-TCMALLOC_MINIMAL_INCLUDES = $(S_TCMALLOC_MINIMAL_INCLUDES) 
$(SG_TCMALLOC_MINIMAL_INCLUDES)
++   src/gperftools/malloc_extension_c.h
++TCMALLOC_MINIMAL_INCLUDES = $(S_TCMALLOC_MINIMAL_INCLUDES) 
$(SG_TCMALLOC_MINIMAL_INCLUDES) $(SG_STACKTRACE_INCLUDES)
+ perftoolsinclude_HEADERS += $(SG_TCMALLOC_MINIMAL_INCLUDES)
+ 
+ ### Making the library
+@@ -847,10 +845,10 @@ S_TCMALLOC_INCLUDES = $(S_TCMALLOC_MINIMAL_INCLUDES) \
+   src/base/sysinfo.h \
+   src/base/thread_lister.h \
+   src/heap-profile-table.h
+-SG_TCMALLOC_INCLUDES = $(SG_TCMALLOC_MINIMAL_INCLUDES) \
+-   src/gperftools/heap-profiler.h \
++SG_TCMALLOC_INCLUDES = src/gperftools/heap-profiler.h \
+src/gperftools/heap-checker.h
+-TCMALLOC_INCLUDES = $(S_TCMALLOC_INCLUDES) $(SG_TCMALLOC_INCLUDES)
++TCMALLOC_INCLUDES = $(S_TCMALLOC_INCLUDES) $(SG_TCMALLOC_MINIMAL_INCLUDES) \
++  $(SG_TCMALLOC_INCLUDES) $(SG_STACKTRACE_INCLUDES)
+ perftoolsinclude_HEADERS += $(SG_TCMALLOC_INCLUDES)
+ 
+ ### Making the library
+@@ -1191,9 +1189,9 @@ S_CPU_PROFILER_INCLUDES = src/profiledata.h \
+   src/base/sysinfo.h \
+   $(SPINLOCK_INCLUDES) \
+   $(LOGGING_INCLUDES)
+-SG_CPU_PROFILER_INCLUDES = src/gperftools/profiler.h \
+-   src/gperftools/stacktrace.h
+-CPU_PROFILER_INCLUDES = $(S_CPU_PROFILER_INCLUDES) $(SG_CPU_PROFILER_INCLUDES)
++SG_CPU_PROFILER_INCLUDES = src/gperftools/profiler.h
++CPU_PROFILER_INCLUDES = $(S_CPU_PROFILER_INCLUDES) 
$(SG_CPU_PROFILER_INCLUDES) \
++  $(SG_STACKTRACE_INCLUDES)
+ perftoolsinclude_HEADERS += $(SG_CPU_PROFILER_INCLUDES)
+ 
+ ### Making the library
+diff --git a/Makefile.in b/Makefile.in
+index 191754d..9550535 100644
+--- a/Makefile.in
 b/Makefile.in
+@@ -349,7 +349,7 @@ am__libprofiler_la_SOURCES_DIST = src/profiler.cc \
+ @WITH_CPU_PROFILER_TRUE@am__objects_2 = $(am__objects_1) \
+ @WITH_CPU_PROFILER_TRUE@  $(am__objects_1)
+ @WITH_CPU_PROFILER_TRUE@am__objects_3 = $(am__objects_2) \
+-@WITH_CPU_PROFILER_TRUE@  $(am__objects_1)
++@WITH_CPU_PROFILER_TRUE@  $(am__objects_1) $(am__objects_1)
+ @WITH_CPU_PROFILER_TRUE@am_libprofiler_la_OBJECTS = profiler.lo \
+ @WITH_CPU_PROFILER_TRUE@  profile-handler.lo profiledata.lo \
+ @WITH_CPU_PROFILER_TRUE@  $(am__objects_3)
+@@ -439,26 +439,27 @@ am__libtcmalloc_la_SOURCES_DIST = src/tcmalloc.cc 
src/common.h \
+   src/gperftools

[oe] [meta-oe][PATCH] tbb: add 4.1 20130116 version (4.1 update 2)

2013-03-26 Thread Marcin Juszkiewicz
Intel® Threading Building Blocks (Intel® TBB) lets you easily write
parallel C++ programs that take full advantage of multicore performance,
that are portable and composable, and that have future-proof
scalability.

Natively supports only x86(-64) targets with fallbacks for non-supported
architectures. There is a work at Linaro to add AArch64 and ARMv7a
support.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-support/tbb/tbb/cross-compile.patch| 25 +
 meta-oe/recipes-support/tbb/tbb/tbb.pc | 11 
 meta-oe/recipes-support/tbb/tbb_4.1.bb | 31 ++
 3 files changed, 67 insertions(+)
 create mode 100644 meta-oe/recipes-support/tbb/tbb/cross-compile.patch
 create mode 100644 meta-oe/recipes-support/tbb/tbb/tbb.pc
 create mode 100644 meta-oe/recipes-support/tbb/tbb_4.1.bb

diff --git a/meta-oe/recipes-support/tbb/tbb/cross-compile.patch 
b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
new file mode 100644
index 000..b970a37
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
@@ -0,0 +1,25 @@
+Author: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-Status: unsuitable
+---
+ build/linux.gcc.inc |5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+--- tbb41_20121003oss.orig/build/linux.gcc.inc
 tbb41_20121003oss/build/linux.gcc.inc
+@@ -40,12 +40,13 @@ DYLIB_KEY = -shared
+ EXPORT_KEY = -Wl,--version-script,
+ LIBDL = -ldl
+ 
+ TBB_NOSTRICT = 1
+ 
+-CPLUS = g++
+-CONLY = gcc
++CPLUS = $(CXX)
++CONLY = $(CC)
++CPLUS_FLAGS = $(CXXFLAGS)
+ LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
+ LIBS += -lpthread -lrt
+ LINK_FLAGS = -Wl,-rpath-link=.
+ C_FLAGS = $(CPLUS_FLAGS)
+ # gcc 4.4 and higher support -std=c++0x
diff --git a/meta-oe/recipes-support/tbb/tbb/tbb.pc 
b/meta-oe/recipes-support/tbb/tbb/tbb.pc
new file mode 100644
index 000..644b64f
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/tbb.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Threading Building Blocks
+Description: Intel's parallelism library for C++
+URL: http://www.threadingbuildingblocks.org/
+Version: 3.0+r018
+Libs: -L${libdir} -ltbb
+Cflags: -I${includedir} 
diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb 
b/meta-oe/recipes-support/tbb/tbb_4.1.bb
new file mode 100644
index 000..2337bdd
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = Parallelism library for C++ - runtime files \
+ TBB is a library that helps you leverage multi-core processor \
+ performance without having to be a threading expert. It represents a \
+ higher-level, task-based parallelism that abstracts platform details \
+ and threading mechanism for performance and scalability.
+HOMEPAGE = http://threadingbuildingblocks.org/;
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=2c7f2caf277a3933e3acdf7f89d54cc1
+PRDATE = 20130116
+PR = r${PRDATE}
+
+SRC_URI = 
http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_${PRDATE}oss_src.tgz
 \
+   file://cross-compile.patch \
+   file://tbb.pc
+
+S = ${WORKDIR}/tbb41_${PRDATE}oss/
+
+SRC_URI[md5sum] = 3809790e1001a1b32d59c9fee590ee85
+SRC_URI[sha256sum] = 
4ae2c10899e3b6ef2f686013ec5901fc658444ca90178efaca6014b0665c34b6
+
+do_compile() {
+oe_runmake compiler=gcc arch=${HOST_ARCH} runtime=cc4
+}
+
+do_install() {
+install -d ${D}${includedir} ${D}${libdir}/pkgconfig
+rm ${S}/include/tbb/index.html -f
+cp -a ${S}/include/tbb ${D}${includedir}
+install -m 0755 ${B}/build/linux_*_release/lib*.so* ${D}${libdir}
+install -m 0644 ${WORKDIR}/tbb.pc ${D}${libdir}/pkgconfig
+}
-- 
1.8.1.2


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


Re: [oe] [PATCH] tbb: add 4.1 20130116 version (4.1 update 2)

2013-03-26 Thread Marcin Juszkiewicz
W dniu 26.03.2013 06:59, Khem Raj pisze:
 On Mar 25, 2013, at 2:20 AM, Marcin Juszkiewicz

 +do_compile() { +oe_runmake compiler=gcc arch=${HOST_ARCH}
 runtime=cc4.7_libc2.17_kernel3.8 tbb tbbmalloc +}

 hmmm do you have to encode the tools versions like that, say in
 future we move to gcc 4.8 or kernel 3.9 will this need adjusting too?

If runtime is not defined it is created based on host system so can be
totally wrong. From quick look at makefiles there is only compiler part
checked for cc3 or cc4 - to add some arguments to flags.

New version sent.

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


[oe] [meta-oe][PATCH] libmcrypt: add 2.5.8

2013-03-26 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb

diff --git a/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb 
b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
new file mode 100644
index 000..a169390
--- /dev/null
+++ b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = Replacement for the old crypt() package and crypt(1) command, 
with extensions.
+HOMEPAGE = http://mcrypt.sourceforge.net/;
+LICENSE = LGPLv2.1
+LIC_FILES_CHKSUM = file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff
+DEPENDS = libtool
+
+SRC_URI = 
${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz
+
+SRC_URI[md5sum] = 0821830d930a86a5c69110837c55b7da
+SRC_URI[sha256sum] = 
e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e
+
+inherit autotools gettext binconfig
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] gperftools: add 2.0

2013-03-26 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/gperftools/gperftools_2.0.bb | 11 +++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-oe/recipes-support/gperftools/gperftools_2.0.bb

diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.0.bb 
b/meta-oe/recipes-support/gperftools/gperftools_2.0.bb
new file mode 100644
index 000..1717752
--- /dev/null
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.0.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = Fast, multi-threaded malloc() and nifty performance analysis 
tools
+HOMEPAGE = http://code.google.com/p/gperftools/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a
+
+SRC_URI = 
${DEBIAN_MIRROR}/main/g/google-perftools/google-perftools_${PV}.orig.tar.gz
+
+SRC_URI[md5sum] = 13f6e8961bc6a26749783137995786b6
+SRC_URI[sha256sum] = 
7de3dd91f018825b1e7d332af1edace15c6211f430186febede1835069861080
+
+inherit autotools
-- 
1.8.1.2


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


[oe] [PATCH] glog: add 0.3.3 version

2013-03-25 Thread Marcin Juszkiewicz
The glog library implements application-level logging. This library
provides logging APIs based on C++-style streams and various helper
macros.

glog.inc cause meta-linaro has glog_svn.bb recipe as well

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/glog/glog.inc  | 9 +
 meta-oe/recipes-support/glog/glog_0.3.3.bb | 6 ++
 2 files changed, 15 insertions(+)
 create mode 100644 meta-oe/recipes-support/glog/glog.inc
 create mode 100644 meta-oe/recipes-support/glog/glog_0.3.3.bb

diff --git a/meta-oe/recipes-support/glog/glog.inc 
b/meta-oe/recipes-support/glog/glog.inc
new file mode 100644
index 000..97f3728
--- /dev/null
+++ b/meta-oe/recipes-support/glog/glog.inc
@@ -0,0 +1,9 @@
+DESCRIPTION = The glog library implements application-level logging. This \
+library provides logging APIs based on C++-style streams and various helper \
+macros.
+HOMEPAGE = https://code.google.com/p/google-glog/;
+
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b
+
+inherit autotools pkgconfig
diff --git a/meta-oe/recipes-support/glog/glog_0.3.3.bb 
b/meta-oe/recipes-support/glog/glog_0.3.3.bb
new file mode 100644
index 000..de3f076
--- /dev/null
+++ b/meta-oe/recipes-support/glog/glog_0.3.3.bb
@@ -0,0 +1,6 @@
+require glog.inc
+
+SRC_URI = http://google-glog.googlecode.com/files/glog-${PV}.tar.gz;
+
+SRC_URI[md5sum] = a6fd2c22f8996846e34c763422717c18
+SRC_URI[sha256sum] = 
fbf90c2285ba0561db7a40f8a4eefb9aa963e7d399bd450363e959929fe849d0
-- 
1.8.1.2


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


[oe] [PATCH] tbb: add 4.1 20130116 version (4.1 update 2)

2013-03-25 Thread Marcin Juszkiewicz
Intel® Threading Building Blocks (Intel® TBB) lets you easily write
parallel C++ programs that take full advantage of multicore performance,
that are portable and composable, and that have future-proof
scalability.

Natively supports only x86(-64) targets with fallbacks for non-supported
architectures. There is a work at Linaro to add AArch64 and ARMv7a
support.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-support/tbb/tbb/cross-compile.patch| 25 +
 meta-oe/recipes-support/tbb/tbb/tbb.pc | 11 
 meta-oe/recipes-support/tbb/tbb_4.1.bb | 31 ++
 3 files changed, 67 insertions(+)
 create mode 100644 meta-oe/recipes-support/tbb/tbb/cross-compile.patch
 create mode 100644 meta-oe/recipes-support/tbb/tbb/tbb.pc
 create mode 100644 meta-oe/recipes-support/tbb/tbb_4.1.bb

diff --git a/meta-oe/recipes-support/tbb/tbb/cross-compile.patch 
b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
new file mode 100644
index 000..930a861
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
@@ -0,0 +1,25 @@
+Author: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-Status: Inappropriate [embedded specific]
+---
+ build/linux.gcc.inc |5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+--- tbb41_20121003oss.orig/build/linux.gcc.inc
 tbb41_20121003oss/build/linux.gcc.inc
+@@ -40,12 +40,13 @@ DYLIB_KEY = -shared
+ EXPORT_KEY = -Wl,--version-script,
+ LIBDL = -ldl
+ 
+ TBB_NOSTRICT = 1
+ 
+-CPLUS = g++
+-CONLY = gcc
++CPLUS = $(CXX)
++CONLY = $(CC)
++CPLUS_FLAGS = $(CXXFLAGS)
+ LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
+ LIBS += -lpthread -lrt
+ LINK_FLAGS = -Wl,-rpath-link=.
+ C_FLAGS = $(CPLUS_FLAGS)
+ # gcc 4.4 and higher support -std=c++0x
diff --git a/meta-oe/recipes-support/tbb/tbb/tbb.pc 
b/meta-oe/recipes-support/tbb/tbb/tbb.pc
new file mode 100644
index 000..644b64f
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/tbb.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Threading Building Blocks
+Description: Intel's parallelism library for C++
+URL: http://www.threadingbuildingblocks.org/
+Version: 3.0+r018
+Libs: -L${libdir} -ltbb
+Cflags: -I${includedir} 
diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb 
b/meta-oe/recipes-support/tbb/tbb_4.1.bb
new file mode 100644
index 000..5f7c8a5
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = Parallelism library for C++ - runtime files \
+ TBB is a library that helps you leverage multi-core processor \
+ performance without having to be a threading expert. It represents a \
+ higher-level, task-based parallelism that abstracts platform details \
+ and threading mechanism for performance and scalability.
+HOMEPAGE = http://threadingbuildingblocks.org/;
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=2c7f2caf277a3933e3acdf7f89d54cc1
+PRDATE = 20130116
+PR = r${PRDATE}
+
+SRC_URI = 
http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_${PRDATE}oss_src.tgz
 \
+   file://cross-compile.patch \
+   file://tbb.pc
+
+S = ${WORKDIR}/tbb41_${PRDATE}oss/
+
+SRC_URI[md5sum] = 3809790e1001a1b32d59c9fee590ee85
+SRC_URI[sha256sum] = 
4ae2c10899e3b6ef2f686013ec5901fc658444ca90178efaca6014b0665c34b6
+
+do_compile() {
+oe_runmake compiler=gcc arch=${HOST_ARCH} runtime=cc4.7_libc2.17_kernel3.8 
tbb tbbmalloc
+}
+
+do_install() {
+install -d ${D}${includedir} ${D}${libdir}/pkgconfig
+rm ${S}/include/tbb/index.html -f
+cp -a ${S}/include/tbb ${D}${includedir}
+install -m 0755 ${B}/build/linux_*_release/lib*.so* ${D}${libdir}
+install -m 0644 ${WORKDIR}/tbb.pc ${D}${libdir}/pkgconfig
+}
-- 
1.8.1.2


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


[oe] [PATCH] powertop: add 2.3

2013-03-25 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/powertop/powertop_2.3.bb | 12 
 1 file changed, 12 insertions(+)
 create mode 100644 meta-oe/recipes-support/powertop/powertop_2.3.bb

diff --git a/meta-oe/recipes-support/powertop/powertop_2.3.bb 
b/meta-oe/recipes-support/powertop/powertop_2.3.bb
new file mode 100644
index 000..c289ac6
--- /dev/null
+++ b/meta-oe/recipes-support/powertop/powertop_2.3.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = Linux tool to diagnose issues with power consumption and power 
management.
+HOMEPAGE = http://01.org/powertop/;
+DEPENDS = ncurses virtual/gettext libnl pciutils
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e
+
+SRC_URI = 
http://01.org/powertop/sites/default/files/downloads/powertop-${PV}.tar.gz;
+
+SRC_URI[md5sum] = dc03608f20e56cdc99d121a6191556f6
+SRC_URI[sha256sum] = 
b8c1add69afee28c77dca56fdcedb4a46820f3a71c86aae7891b0c5c595cd744
+
+inherit autotools
-- 
1.8.1.2


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


Re: [oe] [PATCH] powertop: add 2.3

2013-03-25 Thread Marcin Juszkiewicz
W dniu 25.03.2013 10:30, Paul Eggleton pisze:
 On Monday 25 March 2013 10:25:59 Marcin Juszkiewicz wrote:
 Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
 ---
  meta-oe/recipes-support/powertop/powertop_2.3.bb | 12 
  1 file changed, 12 insertions(+)
  create mode 100644 meta-oe/recipes-support/powertop/powertop_2.3.bb
 
 powertop is in OE-Core, if you want to update it please update it there.

Thanks, sent.


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


[oe] [meta-oe][PATCH] libunwind: add 1.1 version

2013-03-25 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/libunwind/libunwind.inc| 12 
 meta-oe/recipes-support/libunwind/libunwind_1.1.bb |  4 
 2 files changed, 16 insertions(+)
 create mode 100644 meta-oe/recipes-support/libunwind/libunwind.inc
 create mode 100644 meta-oe/recipes-support/libunwind/libunwind_1.1.bb

diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc 
b/meta-oe/recipes-support/libunwind/libunwind.inc
new file mode 100644
index 000..f028766
--- /dev/null
+++ b/meta-oe/recipes-support/libunwind/libunwind.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = a portable and efficient C programming interface (API) to 
determine the call-chain of a program
+HOMEPAGE = http://www.nongnu.org/libunwind;
+LICENSE = MIT
+LIC_FILES_CHKSUM = file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5
+
+SRC_URI = 
http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz;
+
+inherit autotools
+
+EXTRA_OECONF_arm = --enable-debug-frame
+
+BBCLASSEXTEND = native
diff --git a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb 
b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
new file mode 100644
index 000..bc38e36
--- /dev/null
+++ b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
@@ -0,0 +1,4 @@
+require libunwind.inc
+
+SRC_URI[md5sum] = fb4ea2f6fbbe45bf032cd36e586883ce
+SRC_URI[sha256sum] = 
9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] libmcrypt: add 2.5.8

2013-03-25 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-support/libmcrypt/libmcrypt_2.5.8.bb   | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb

diff --git a/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb 
b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
new file mode 100644
index 000..0cbe189
--- /dev/null
+++ b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = Replacement for the old crypt() package and crypt(1) command, 
with extensions.
+HOMEPAGE = http://mcrypt.sourceforge.net/;
+LICENSE = LGPLv2.1
+LIC_FILES_CHKSUM = file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff
+
+SRC_URI = 
${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz
+
+SRC_URI[md5sum] = 0821830d930a86a5c69110837c55b7da
+SRC_URI[sha256sum] = 
e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e
+
+inherit autotools gettext binconfig
+
+do_configure() {
+   gnu-configize --force
+#  libtoolize --force --copy
+   autoconf
+   oe_runconf
+}
+
+do_install_append() {
+   rm ${D}${libdir}/libmcrypt -r
+}
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] openldap: do not strip during install

2013-03-21 Thread Marcin Juszkiewicz
Before:
WARNING: File '/usr/lib/openldap/slapd' from openldap was already stripped, 
this will prevent future debugging!
WARNING: File '/usr/bin/ldapsearch' from openldap was already stripped, this 
will prevent future debugging!
WARNING: File '/usr/bin/ldapmodify' from openldap was already stripped, this 
will prevent future debugging!
WARNING: File '/usr/bin/ldapdelete' from openldap was already stripped, this 
will prevent future debugging!
WARNING: File '/usr/bin/ldapmodrdn' from openldap was already stripped, this 
will prevent future debugging!
WARNING: File '/usr/bin/ldappasswd' from openldap was already stripped, this 
will prevent future debugging!
WARNING: File '/usr/bin/ldapwhoami' from openldap was already stripped, this 
will prevent future debugging!
WARNING: File '/usr/bin/ldapcompare' from openldap was already stripped, this 
will prevent future debugging!
WARNING: File '/usr/bin/ldapexop' from openldap was already stripped, this will 
prevent future debugging!
WARNING: File '/usr/bin/ldapurl' from openldap was already stripped, this will 
prevent future debugging!

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch | 2 +-
 meta-oe/recipes-support/openldap/openldap_2.4.23.bb  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch 
b/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
index 9d7640c..2992b70 100644
--- a/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
+++ b/meta-oe/recipes-support/openldap/openldap-2.4.23/install-strip.patch
@@ -8,7 +8,7 @@
$(CC) $(LT_CFLAGS) $(LDFLAGS) $(LTFLAGS_MOD)
  
 -LTINSTALL = $(LIBTOOL) --mode=install $(INSTALL) 
-+LTINSTALL = STRIPPROG=@STRIP@ $(LIBTOOL) --mode=install 
$(top_srcdir)/contrib/ldapc++/install-sh -c
++LTINSTALL = STRIPPROG= $(LIBTOOL) --mode=install 
$(top_srcdir)/contrib/ldapc++/install-sh -c
  LTFINISH = $(LIBTOOL) --mode=finish
  
  # Misc UNIX commands used in build environment
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb 
b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
index 319c50d..1c6c32f 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.23.bb
@@ -19,6 +19,7 @@ SRC_URI += file://initscript
 SRC_URI[md5sum] = 90150b8c0d0192e10b30157e68844ddf
 SRC_URI[sha256sum] = 
5a5ede91d5e8ab3c7f637620aa29a3b96eb34318a8b26c8eef2d2c789fc055e3
 
+PR = r1
 # The original top.mk used INSTALL, not INSTALL_STRIP_PROGRAM when
 # installing .so and executables, this fails in cross compilation
 # environments
-- 
1.8.1.2


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


Re: [oe] [meta-kde][PATCH] cyrus-sasl: Make pkg_postinst/rm package specfic

2013-03-20 Thread Marcin Juszkiewicz
W dniu 20.03.2013 09:51, Khem Raj pisze:
 ERROR: QA Issue:
 /b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
 Variable pkg_postinst is set as not being package specific, please fix
 this.

meta-openembedded has 2.1.26 in meta-networking so meta-kde copy should
be removed.

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


Re: [oe] [meta-kde][PATCH] cyrus-sasl: Make pkg_postinst/rm package specfic

2013-03-20 Thread Marcin Juszkiewicz
W dniu 20.03.2013 10:32, Samuel Stirtzel pisze:
 2013/3/20 Marcin Juszkiewicz marcin.juszkiew...@linaro.org:
 W dniu 20.03.2013 09:51, Khem Raj pisze:
 ERROR: QA Issue:
 /b/kraj/angstrom/sources/meta-kde/recipes-misc-support/cyrus-sasl_2.1.19.bb:
 Variable pkg_postinst is set as not being package specific, please fix
 this.

 meta-openembedded has 2.1.26 in meta-networking so meta-kde copy should
 be removed.

 
 Hi, it seems there are some differences in the recipes, maybe we can
 work through them.
 
 Is BDB 5 working correctly with this version, without the patch [1]?

It built properly against db 5.3.21 - support was added upsteam.


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


[oe] ATTENTION: OpenEmbedded layers from Linaro have new structure

2013-03-13 Thread Marcin Juszkiewicz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello

Today I made several changes to OpenEmbedded layers hosted on
git.linaro.org:

- - meta-aarch64
- - meta-linaro

Meta-aarch64 is now empty and is obsolete. Probably will be removed from
server in about month or two.
Meta-linaro repository got new structure based on meta-openembedded one
and contains three layers:

- - meta-aarch64
- - meta-linaro
- - meta-linaro-toolchain

Today meta-aarch64 is just a copy of old one but everything not related
to ARMv8 will be moved from it to meta-linaro.

Meta-linaro-toolchain contains just gcc-linaro and support for external
Linaro cross toolchains (armv7a and armv8 ones).

I considered creation of meta-aarch64-arm-toolchain one with ARM Ltd.
version of gcc but it is not often used option so can stay where it is
now (meta-aarch64).

Instructions how to start building for ARMv8 (with OE) are in wiki:
https://wiki.linaro.org/HowTo/ARMv8/OpenEmbedded

Note that any scripts present in 'meta-aarch64' got dropped. If you want
easy way then use 'jenkins-setup' scripts like it is described in wiki.
They are written to be as easy to use as possible.

If you have any problems/questions: reply to this email.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJRQJERAAoJECbKqQEReiUeKFgQAMUYDB1ymQs8ZspWVynJVJMQ
InFsFQUd/QZCgNB9GcG6IepzmViHeMlIxNQ7u+KFABGV8uAz8gwdgcPtWwa/dc1b
wu8u84mmwy77WBIMuX087AiXdg8WhJDJz5sztBoK2PL8Ljn1TFB/R17Ew90eN3zn
o1DpPnbgMGs67phNiTy8GiQxyaaLZub0ZZZ5v00tWdt7x4vazw6n2r8/o+wzGLj2
536KI13Sepso2dg2mrpqzrwVH8KFP7S/rRiDdKI4Gw9FlTPiaiEEadX7OPKx8YC5
j1WIR0u66LCSe+F3NsfNfEgTOXPGVUNgqvemwGYXQuOLUKz7nnnkEdVRUegSuEVj
+bZsgzFunghOsvEgX4ynxLVXgOrkiH4PPMhD+OWcB1pso9+ZdVFTVO2oGOnDg9pK
ov7lidEoUDDIZqHxjy5cV36jDnXt8BTI9uEIjVo9gH/0g/67QImXHVONcppg2MfM
GDfhYorkah3VTo9zgHZKCDEIstT1OsCSg+PNeKCAN6fDUdmnzGxCJNEj2CaRAzaI
vJekxAK0+ptscJ9c+bUmAtcBK+XRvJ9K3naN+apUm13Y6INwKuS68knWzOJc0xhd
rpPQ2EcYd8FP1gspjNJPyQKWr2pAUGQkOGkhHrsrb4nj6mkMDDgZ2ET1x8uxI056
vMRn7PKF7x3bItUP9NzA
=GNf7
-END PGP SIGNATURE-

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


[oe] [meta-oe][PATCH] gperftools: add 2.0

2013-02-25 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/gperftools/gperftools_2.0.bb | 11 +++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-oe/recipes-support/gperftools/gperftools_2.0.bb

diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.0.bb 
b/meta-oe/recipes-support/gperftools/gperftools_2.0.bb
new file mode 100644
index 000..1717752
--- /dev/null
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.0.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = Fast, multi-threaded malloc() and nifty performance analysis 
tools
+HOMEPAGE = http://code.google.com/p/gperftools/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a
+
+SRC_URI = 
${DEBIAN_MIRROR}/main/g/google-perftools/google-perftools_${PV}.orig.tar.gz
+
+SRC_URI[md5sum] = 13f6e8961bc6a26749783137995786b6
+SRC_URI[sha256sum] = 
7de3dd91f018825b1e7d332af1edace15c6211f430186febede1835069861080
+
+inherit autotools
-- 
1.8.1.2


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


[oe] Building with gcc-4.6 is not working

2013-02-21 Thread Marcin Juszkiewicz
Hi

OE moved some time ago to gcc-4.7 as default. But for some
builds I need to use older version which is now in
meta-openembedded/toolchain-layer.
But such builds fail for both gcc-linaro-4.6 and gcc-4.6:

NOTE: Executing RunQueue Tasks
ERROR: Error executing a python function in
/tmp/del/oe46/meta-linaro/recipes-devtools/gcc/gcc-cross-initial_linaro-4.6.bb:
CalledProcessError: Command 'tar -cf - -C
/tmp/del/oe46/build/tmp-eglibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/gcc-cross-initial/linaro-4.6-r5/pkgdata
-ps . | tar -xf - -C
/tmp/del/oe46/build/tmp-eglibc/pkgdata/armv7ahf-vfp-neon-oe-linux-gnueabi'
returned non-zero exit status 2 with output tar:
/tmp/del/oe46/build/tmp-eglibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/gcc-cross-initial/linaro-4.6-r5/pkgdata:
Cannot chdir: No such file or directory
tar: Error is not recoverable: exiting now
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors


ERROR: The stack trace of python calls that resulted in this
exception/failure was:
ERROR:   File sstate_task_postfunc, line 10, in module
ERROR: ERROR:   File sstate_task_postfunc, line 4, in sstate_task_postfunc
ERROR: ERROR:   File sstate.bbclass, line 76, in sstate_install
ERROR: ERROR:   File
/tmp/del/oe46/openembedded-core/meta/lib/oe/path.py, line 85, in copytree
ERROR: check_output(cmd, shell=True, stderr=subprocess.STDOUT)
ERROR: ERROR:   File
/tmp/del/oe46/openembedded-core/meta/lib/oe/path.py, line 155, in
check_output
ERROR: raise CalledProcessError(retcode, cmd, output=output)
ERROR: ERROR: The code that was being executed was:
ERROR:  0006:bb.build.exec_func(intercept, d)
ERROR:  0007:sstate_package(shared_state, d)
ERROR:  0008:
ERROR:  0009:
ERROR:  *** 0010:sstate_task_postfunc(d)
ERROR:  0011:
ERROR: [From file: 'sstate_task_postfunc', lineno: 10, function: module]
ERROR:  0001:
ERROR:  0002:def sstate_task_postfunc(d):
ERROR:  0003:shared_state = sstate_state_fromvars(d)
ERROR:  *** 0004:sstate_install(shared_state, d)
ERROR:  0005:for intercept in shared_state['interceptfuncs']:
ERROR:  0006:bb.build.exec_func(intercept, d)
ERROR:  0007:sstate_package(shared_state, d)
ERROR:  0008:
ERROR: [From file: 'sstate_task_postfunc', lineno: 4, function:
sstate_task_postfunc]
ERROR:  0072:f.close()
ERROR:  0073:
ERROR:  0074:# Run the actual file install
ERROR:  0075:for state in ss['dirs']:
ERROR:  *** 0076:oe.path.copytree(state[1], state[2])
ERROR:  0077:
ERROR:  0078:for postinst in (d.getVar('SSTATEPOSTINSTFUNCS',
True) or '').split():
ERROR:  0079:bb.build.exec_func(postinst, d)
ERROR:  0080:
ERROR: [From file: 'sstate.bbclass', lineno: 76, function: sstate_install]
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in:
/tmp/del/oe46/build/tmp-eglibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/gcc-cross-initial/linaro-4.6-r5/temp/log.do_packagedata.1989
ERROR: Task 9
(/tmp/del/oe46/meta-linaro/recipes-devtools/gcc/gcc-cross-initial_linaro-4.6.bb,
do_packagedata) failed with exit code '1'
NOTE: Tasks Summary: Attempted 206 tasks of which 205 didn't need to be
rerun and 1 failed.
No currently running tasks (204 of 211)

Summary: 1 task failed:

/tmp/del/oe46/meta-linaro/recipes-devtools/gcc/gcc-cross-initial_linaro-4.6.bb,
do_packagedata

12:40 hrw@puchatek:build$ cat
tmp-eglibc/work/armv7ahf-vfp-neon-oe-linux-gnueabi/gcc-cross-initial/linaro-4.6-r5/temp/log.task_order
do_fetch (29286): log.do_fetch.29286
do_populate_lic (7366): log.do_populate_lic.7366
do_configure (8396): log.do_configure.8396
do_compile (10582): log.do_compile.10582
do_install (1146): log.do_install.1146
do_packagedata (1706): log.do_packagedata.1706
do_populate_sysroot (1707): log.do_populate_sysroot.1707
do_packagedata (1989): log.do_packagedata.1989

But when I do same build with gcc-linaro-4.7 task order is different:

aarch64-oe-linux/ x86_64-linux/ 12:46 hrw@puchatek:build$ cat
tmp-eglibc/work/aarch64-oe-linux/gcc-cross-initial/linaro-4.7-r9/temp/log.task_order
do_cleansstate (3000): log.do_cleansstate.3000
do_fetch (3632): log.do_fetch.3632
do_configure (4335): log.do_configure.4335
do_populate_lic (4336): log.do_populate_lic.4336
do_compile (5923): log.do_compile.5923
do_install (29169): log.do_install.29169
do_populate_sysroot (29707): log.do_populate_sysroot.29707


How to solve the problem?


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


[oe] [meta-oe][PATCH] onig: do not use system headers

2013-02-21 Thread Marcin Juszkiewicz
When build on host with older eglibc (Ubuntu 12.04) build fails with:

/tmp/OE/build/tmp-eglibc/sysroots/genericarmv8/usr/include/bits/predefs.h:23:3: 
error: #error Never use bits/predefs.h directly; include stdc-predef.h 
instead.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../onig/files/do-not-use-system-headers.patch | 44 ++
 meta-oe/recipes-support/onig/onig_5.9.3.bb |  3 +-
 2 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch

diff --git a/meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch 
b/meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch
new file mode 100644
index 000..b93602a
--- /dev/null
+++ b/meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch
@@ -0,0 +1,44 @@
+Author: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+When build on host with older eglibc (Ubuntu 12.04) build fails with:
+
+/tmp/OE/build/tmp-eglibc/sysroots/genericarmv8/usr/include/bits/predefs.h:23:3:
 error: #error Never use bits/predefs.h directly; include stdc-predef.h 
instead.
+
+Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-Status: Inappropriate [embedded specific]
+
+---
+ Makefile.am|2 +-
+ sample/Makefile.am |2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- onig-5.9.3.orig/Makefile.am
 onig-5.9.3/Makefile.am
+@@ -4,11 +4,11 @@ sampledir = $(top_srcdir)/sample
+ libname = libonig.la
+
+ ACLOCAL_AMFLAGS = -I m4
+ #AM_CFLAGS = -DNOT_RUBY
+ AM_CFLAGS =
+-INCLUDES  = -I$(top_srcdir) -I$(includedir)
++INCLUDES  = -I$(top_srcdir)
+
+ SUBDIRS = . sample
+
+ include_HEADERS = oniguruma.h oniggnu.h onigposix.h
+ lib_LTLIBRARIES = $(libname)
+--- onig-5.9.3.orig/sample/Makefile.am
 onig-5.9.3/sample/Makefile.am
+@@ -1,10 +1,10 @@
+ noinst_PROGRAMS = encode listcap names posix simple sql syntax crnl
+
+ libname = $(top_builddir)/libonig.la
+ LDADD   = $(libname)
+-INCLUDES  = -I$(top_srcdir) -I$(includedir)
++INCLUDES  = -I$(top_srcdir)
+
+ encode_SOURCES  = encode.c
+ listcap_SOURCES = listcap.c
+ names_SOURCES   = names.c
+ posix_SOURCES   = posix.c
diff --git a/meta-oe/recipes-support/onig/onig_5.9.3.bb 
b/meta-oe/recipes-support/onig/onig_5.9.3.bb
index 230e585..f67ceed 100644
--- a/meta-oe/recipes-support/onig/onig_5.9.3.bb
+++ b/meta-oe/recipes-support/onig/onig_5.9.3.bb
@@ -5,7 +5,8 @@ HOMEPAGE = http://www.geocities.jp/kosako3/oniguruma/;
 LICENSE = BSD
 LIC_FILES_CHKSUM = file://COPYING;md5=0d4861b5bc0c392a5aa90d9d76ebd86f
 
-SRC_URI = http://www.geocities.jp/kosako3/oniguruma/archive/onig-${PV}.tar.gz;
+SRC_URI = http://www.geocities.jp/kosako3/oniguruma/archive/onig-${PV}.tar.gz 
\
+   file://do-not-use-system-headers.patch
 
 SRC_URI[md5sum] = 0d4eda2066d3c92970842a6790ce897a
 SRC_URI[sha256sum] = 
c3bba66b2a84760e6582c40881db97c839d94f327870009724bb8b4d0c051f2a
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] onig: do not use system headers

2013-02-20 Thread Marcin Juszkiewicz
When build on host with older eglibc (Ubuntu 12.04) build fails with:

/tmp/OE/build/tmp-eglibc/sysroots/genericarmv8/usr/include/bits/predefs.h:23:3: 
error: #error Never use bits/predefs.h directly; include stdc-predef.h 
instead.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../onig/files/do-not-use-system-headers.patch | 44 ++
 meta-oe/recipes-support/onig/onig_5.9.3.bb |  3 +-
 2 files changed, 46 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch

diff --git a/meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch 
b/meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch
new file mode 100644
index 000..859446f
--- /dev/null
+++ b/meta-oe/recipes-support/onig/files/do-not-use-system-headers.patch
@@ -0,0 +1,44 @@
+Author: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+When build on host with older eglibc (Ubuntu 12.04) build fails with:
+
+/tmp/OE/build/tmp-eglibc/sysroots/genericarmv8/usr/include/bits/predefs.h:23:3:
 error: #error Never use bits/predefs.h directly; include stdc-predef.h 
instead.
+
+Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-Status: not valid (OE specific patch)
+
+---
+ Makefile.am|2 +-
+ sample/Makefile.am |2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- onig-5.9.3.orig/Makefile.am
 onig-5.9.3/Makefile.am
+@@ -4,11 +4,11 @@ sampledir = $(top_srcdir)/sample
+ libname = libonig.la
+
+ ACLOCAL_AMFLAGS = -I m4
+ #AM_CFLAGS = -DNOT_RUBY
+ AM_CFLAGS =
+-INCLUDES  = -I$(top_srcdir) -I$(includedir)
++INCLUDES  = -I$(top_srcdir)
+
+ SUBDIRS = . sample
+
+ include_HEADERS = oniguruma.h oniggnu.h onigposix.h
+ lib_LTLIBRARIES = $(libname)
+--- onig-5.9.3.orig/sample/Makefile.am
 onig-5.9.3/sample/Makefile.am
+@@ -1,10 +1,10 @@
+ noinst_PROGRAMS = encode listcap names posix simple sql syntax crnl
+
+ libname = $(top_builddir)/libonig.la
+ LDADD   = $(libname)
+-INCLUDES  = -I$(top_srcdir) -I$(includedir)
++INCLUDES  = -I$(top_srcdir)
+
+ encode_SOURCES  = encode.c
+ listcap_SOURCES = listcap.c
+ names_SOURCES   = names.c
+ posix_SOURCES   = posix.c
diff --git a/meta-oe/recipes-support/onig/onig_5.9.3.bb 
b/meta-oe/recipes-support/onig/onig_5.9.3.bb
index 230e585..f67ceed 100644
--- a/meta-oe/recipes-support/onig/onig_5.9.3.bb
+++ b/meta-oe/recipes-support/onig/onig_5.9.3.bb
@@ -5,7 +5,8 @@ HOMEPAGE = http://www.geocities.jp/kosako3/oniguruma/;
 LICENSE = BSD
 LIC_FILES_CHKSUM = file://COPYING;md5=0d4861b5bc0c392a5aa90d9d76ebd86f
 
-SRC_URI = http://www.geocities.jp/kosako3/oniguruma/archive/onig-${PV}.tar.gz;
+SRC_URI = http://www.geocities.jp/kosako3/oniguruma/archive/onig-${PV}.tar.gz 
\
+   file://do-not-use-system-headers.patch
 
 SRC_URI[md5sum] = 0d4eda2066d3c92970842a6790ce897a
 SRC_URI[sha256sum] = 
c3bba66b2a84760e6582c40881db97c839d94f327870009724bb8b4d0c051f2a
-- 
1.8.1.2


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


Re: [oe] [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch

2013-02-18 Thread Marcin Juszkiewicz
W dniu 16.02.2013 06:21, Martin Jansa pisze:
 On Thu, Feb 07, 2013 at 11:51:00AM +0100, Marcin Juszkiewicz wrote:
 Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
 ---
  meta-oe/recipes-support/libunwind/files/aarch64.patch | 19 
 +++
  meta-oe/recipes-support/libunwind/libunwind.inc   | 12 
  meta-oe/recipes-support/libunwind/libunwind_1.1.bb|  6 ++
  3 files changed, 37 insertions(+)
  create mode 100644 meta-oe/recipes-support/libunwind/files/aarch64.patch
  create mode 100644 meta-oe/recipes-support/libunwind/libunwind.inc
  create mode 100644 meta-oe/recipes-support/libunwind/libunwind_1.1.bb
 
 Does not build for qemuarm:

10:07 hrw@puchatek:build$ find tmp-eglibc/deploy/ipk/ -name libunwind_1.1*
tmp-eglibc/deploy/ipk/armv5te/libunwind_1.1-r0_armv5te.ipk
tmp-eglibc/deploy/ipk/armv7ahf-vfp-neon/libunwind_1.1-r0_armv7ahf-vfp-neon.ipk

Built fine for qemuarm and genericarmv7a here.

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


[oe] [meta-oe][PATCH 8/8] libmemcached: add 1.0.15 and 1.0.7 versions

2013-02-17 Thread Marcin Juszkiewicz
1.0.15 is latest
1.0.7 is required by HipHopVM

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../libmemcached/files/crosscompile.patch  | 30 ++
 .../recipes-support/libmemcached/libmemcached.inc  | 10 
 .../libmemcached/libmemcached_1.0.15.bb|  6 +
 .../libmemcached/libmemcached_1.0.7.bb |  8 ++
 4 files changed, 54 insertions(+)
 create mode 100644 
meta-networking/recipes-support/libmemcached/files/crosscompile.patch
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached.inc
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb

diff --git 
a/meta-networking/recipes-support/libmemcached/files/crosscompile.patch 
b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
new file mode 100644
index 000..63511bf
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
@@ -0,0 +1,30 @@
+ libmemcached/backtrace.cc |3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- libmemcached-1.0.15.orig/libmemcached/backtrace.cc
 libmemcached-1.0.15/libmemcached/backtrace.cc
+@@ -75,10 +75,11 @@ void custom_backtrace(void)
+ {
+   for (int x= 0; x  stack_frames; x++) 
+   {
+ bool was_demangled= false;
+ 
++#if USE_DEMANGLE == 1
+ if (USE_DEMANGLE)
+ {
+ #ifdef HAVE_DLFCN_H
+   Dl_info dlinfo;
+   if (dladdr(backtrace_buffer[x], dlinfo))
+@@ -107,11 +108,11 @@ void custom_backtrace(void)
+   dlinfo.dli_fname);
+ }
+   }
+ #endif
+ }
+-
++#endif
+ if (was_demangled == false)
+ {
+   fprintf(stderr, ?%d  %p in %s\n, x, backtrace_buffer[x], 
symbollist[x]);
+ }
+   }
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc 
b/meta-networking/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 000..448a15d
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = open source C/C++ client library and tools for the memcached 
server
+DEPENDS = libevent util-linux
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=865490941c91ba790f0ea78dec93bd60
+
+SRC_URI = 
http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz;
+
+TARGET_LDFLAGS += -luuid
+
+inherit autotools gettext pkgconfig
diff --git 
a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb 
b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 000..18232b4
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@
+require libmemcached.inc
+
+SRC_URI += file://crosscompile.patch
+
+SRC_URI[md5sum] = 616297a1aedefc52b3f6922eda5d559a
+SRC_URI[sha256sum] = 
dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb 
b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 000..0aa3050
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,8 @@
+require libmemcached.inc
+
+SRC_URI[md5sum] = d59a462a92d296f76bff2d9bc72b2516
+SRC_URI[sha256sum] = 
3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81
+
+do_configure_prepend_aarch64() {
+export ac_cv_c_endian=little
+}
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] libmemcached: add 1.0.15 and 1.0.7 versions

2013-02-15 Thread Marcin Juszkiewicz
1.0.15 is latest
1.0.7 is required by HipHopVM

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../libmemcached/files/crosscompile.patch  | 30 ++
 .../recipes-support/libmemcached/libmemcached.inc  | 10 
 .../libmemcached/libmemcached_1.0.15.bb|  6 +
 .../libmemcached/libmemcached_1.0.7.bb |  8 ++
 .../recipes-support/libunwind/files/aarch64.patch  |  8 ++
 5 files changed, 62 insertions(+)
 create mode 100644 
meta-networking/recipes-support/libmemcached/files/crosscompile.patch
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached.inc
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb

diff --git 
a/meta-networking/recipes-support/libmemcached/files/crosscompile.patch 
b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
new file mode 100644
index 000..63511bf
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/files/crosscompile.patch
@@ -0,0 +1,30 @@
+ libmemcached/backtrace.cc |3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- libmemcached-1.0.15.orig/libmemcached/backtrace.cc
 libmemcached-1.0.15/libmemcached/backtrace.cc
+@@ -75,10 +75,11 @@ void custom_backtrace(void)
+ {
+   for (int x= 0; x  stack_frames; x++) 
+   {
+ bool was_demangled= false;
+ 
++#if USE_DEMANGLE == 1
+ if (USE_DEMANGLE)
+ {
+ #ifdef HAVE_DLFCN_H
+   Dl_info dlinfo;
+   if (dladdr(backtrace_buffer[x], dlinfo))
+@@ -107,11 +108,11 @@ void custom_backtrace(void)
+   dlinfo.dli_fname);
+ }
+   }
+ #endif
+ }
+-
++#endif
+ if (was_demangled == false)
+ {
+   fprintf(stderr, ?%d  %p in %s\n, x, backtrace_buffer[x], 
symbollist[x]);
+ }
+   }
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc 
b/meta-networking/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 000..448a15d
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = open source C/C++ client library and tools for the memcached 
server
+DEPENDS = libevent util-linux
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=865490941c91ba790f0ea78dec93bd60
+
+SRC_URI = 
http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz;
+
+TARGET_LDFLAGS += -luuid
+
+inherit autotools gettext pkgconfig
diff --git 
a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb 
b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 000..18232b4
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@
+require libmemcached.inc
+
+SRC_URI += file://crosscompile.patch
+
+SRC_URI[md5sum] = 616297a1aedefc52b3f6922eda5d559a
+SRC_URI[sha256sum] = 
dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb 
b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 000..0aa3050
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,8 @@
+require libmemcached.inc
+
+SRC_URI[md5sum] = d59a462a92d296f76bff2d9bc72b2516
+SRC_URI[sha256sum] = 
3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81
+
+do_configure_prepend_aarch64() {
+export ac_cv_c_endian=little
+}
diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch 
b/meta-oe/recipes-support/libunwind/files/aarch64.patch
index 9ea8d83..bb19747 100644
--- a/meta-oe/recipes-support/libunwind/files/aarch64.patch
+++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
@@ -1,3 +1,11 @@
+Author: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-Status: unsuitable
+
+We need to port it for AArch64 first. This patch just makes it die during
+compilation.
+
+https://bugs.launchpad.net/linaro-aarch64/+bug/1099810
 ---
  configure.ac |2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] python-numpy: update to 1.7.0

2013-02-14 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../python/python-numpy/aarch64.patch  | 41 --
 ...hon-numpy_1.7.0rc1.bb = python-numpy_1.7.0.bb} | 17 -
 2 files changed, 7 insertions(+), 51 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
 rename meta-oe/recipes-devtools/python/{python-numpy_1.7.0rc1.bb = 
python-numpy_1.7.0.bb} (81%)

diff --git a/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch 
b/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
deleted file mode 100644
index 8d66615..000
--- a/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 7d7a5939dcf5821d9f381d57bfa2012568ef6b82 Mon Sep 17 00:00:00 2001
-From: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
-Date: Thu, 10 Jan 2013 21:49:01 +0100
-Subject: [PATCH] Added support for AArch64 architecture
-
-Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
-
-Upstream-Status: backport

- numpy/core/include/numpy/npy_cpu.h| 2 ++
- numpy/core/include/numpy/npy_endian.h | 1 +
- 2 files changed, 3 insertions(+)
-
-diff --git a/numpy/core/include/numpy/npy_cpu.h 
b/numpy/core/include/numpy/npy_cpu.h
-index 8a29788..9707a7a 100644
 a/numpy/core/include/numpy/npy_cpu.h
-+++ b/numpy/core/include/numpy/npy_cpu.h
-@@ -66,6 +66,8 @@
- #define NPY_CPU_MIPSEL
- #elif defined(__MIPSEB__)
- #define NPY_CPU_MIPSEB
-+#elif defined(__aarch64__)
-+#define NPY_CPU_AARCH64
- #else
- #error Unknown CPU, please report this to numpy maintainers with \
- information about your platform (OS, CPU and compiler)
-diff --git a/numpy/core/include/numpy/npy_endian.h 
b/numpy/core/include/numpy/npy_endian.h
-index aa5ed8b..4e3349f 100644
 a/numpy/core/include/numpy/npy_endian.h
-+++ b/numpy/core/include/numpy/npy_endian.h
-@@ -25,6 +25,7 @@
- || defined(NPY_CPU_IA64)\
- || defined(NPY_CPU_ALPHA)   \
- || defined(NPY_CPU_ARMEL)   \
-+|| defined(NPY_CPU_AARCH64) \
- || defined(NPY_CPU_SH_LE)   \
- || defined(NPY_CPU_MIPSEL)
- #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
--- 
-1.8.0
-
diff --git a/meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb 
b/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb
similarity index 81%
rename from meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb
rename to meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb
index 2e4bd6a..bbe4e63 100644
--- a/meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb
+++ b/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb
@@ -2,14 +2,10 @@ DESCRIPTION = A sophisticated Numeric Processing Package for 
Python
 SECTION = devel/python
 LICENSE = PSF
 LIC_FILES_CHKSUM = file://LICENSE.txt;md5=f87832d854acbade6e9f5c601c8b30b1
-PR = r0
-PV = 1.6.99+1.7.0rc1
-REALPV = 1.7.0rc1
 
-SRC_URI = ${SOURCEFORGE_MIRROR}/numpy/numpy-${REALPV}.tar.gz \
-   ${CONFIGFILESURI} \
-   file://aarch64.patch \
- 
+SRC_URI = ${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
+   ${CONFIGFILESURI} 
+
 CONFIGFILESURI ?= 
 
 CONFIGFILESURI_aarch64 = file://config.h \
@@ -22,7 +18,7 @@ CONFIGFILESURI_mipsel = file://config.h \
   file://numpyconfig.h \
  
 
-S = ${WORKDIR}/numpy-${REALPV}
+S = ${WORKDIR}/numpy-${PV}
 
 inherit distutils
 
@@ -36,8 +32,9 @@ do_compile_prepend() {
 }
 
 FILES_${PN}-staticdev += ${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a
-SRC_URI[md5sum] = a4719f5a1853bc0f8892a5956d5c4229
-SRC_URI[sha256sum] = 
45ea23622f72d86bc3614446d668ee962c0475ee7b91a93ef85a5e0493962de5
+
+SRC_URI[md5sum] = 4fa54e40b6a243416f0248123b6ec332
+SRC_URI[sha256sum] = 
f4fa70b7edbab65ee6432eb63743f5489f1919c614632b20b2fb45aa7e682ac6
 
 # install what is needed for numpy.test()
 RDEPENDS_${PN} = python-unittest \
-- 
1.8.1.2


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


[oe] [meta-oe][PATCH] cyrus-sasl2: add 2.1.26

2013-02-08 Thread Marcin Juszkiewicz
I took recipe from OE classic, updated, cleaned and got it build. I use
it only as build dependency - did not checked binaries from ${PN}-bin.

There are RPATH problems to solve:

WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/saslpasswd2
WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/pluginviewer
WARNING: QA Issue: package cyrus-sasl-bin contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl-bin/usr/sbin/sasldblistusers2
WARNING: QA Issue: package cyrus-sasl contains bad RPATH
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/lib
in file
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/cyrus-sasl/2.1.26-r0/packages-split/cyrus-sasl/usr/lib/sasl2/libsasldb.so.3.0.0

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../cyrus-sasl/cyrus-sasl_2.1.26.bb| 42 ++
 1 file changed, 42 insertions(+)
 create mode 100644 
meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb

diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb 
b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
new file mode 100644
index 000..44336f0
--- /dev/null
+++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = Generic client/server library for SASL authentication.
+SECTION = console/network
+DEPENDS = openssl virtual/db
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=3f55e0974e3d6db00ca6f57f2d206396
+
+SRC_URI = ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${PV}.tar.gz 
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += --with-dblib=berkeley \
+ --with-bdb-libdir=${STAGING_LIBDIR} \
+ --with-bdb-incdir=${STAGING_INCDIR} \
+ --without-pam --without-opie --without-des
+
+do_configure_prepend () {
+rm -f acinclude.m4 config/libtool.m4
+}
+
+do_compile_prepend () {
+cd include
+${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} makemd5.c -o makemd5
+touch makemd5.o makemd5.lo makemd5
+cd ..
+}
+
+pkg_postinst_${PN}-bin () {
+grep cyrus /etc/passwd || adduser --disabled-password 
--home=/var/spool/mail --ingroup mail -g Cyrus sasl cyrus
+echo cyrus | saslpasswd2 -p -c cyrus
+chgrp mail /etc/sasldb2
+}
+
+SRC_URI[md5sum] = a7f4e5e559a0e37b3ffc438c9456e425
+SRC_URI[sha256sum] = 
8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3
+
+PACKAGES =+ ${PN}-bin
+
+FILES_${PN}   += ${libdir}/sasl2/*.so.*
+FILES_${PN}-bin   += ${bindir}
+FILES_${PN}-dev   += ${libdir}/sasl2/*.so ${libdir}/sasl2/*.la
+FILES_${PN}-dbg   += ${libdir}/sasl2/.debug
+FILES_${PN}-staticdev += ${libdir}/sasl2/*.a
-- 
1.8.0


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


[oe] [meta-oe][PATCH 4/8] memcached: add 1.4.15

2013-02-08 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-support/memcached/memcached_1.4.15.bb | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 
meta-networking/recipes-support/memcached/memcached_1.4.15.bb

diff --git a/meta-networking/recipes-support/memcached/memcached_1.4.15.bb 
b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
new file mode 100644
index 000..b6d436e
--- /dev/null
+++ b/meta-networking/recipes-support/memcached/memcached_1.4.15.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = Free  open source, high-performance, distributed memory object 
\
+caching system, generic in nature, but intended for use in speeding up dynamic 
\
+web applications by alleviating database load.
+HOMEPAGE = http://memcached.org/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff
+
+SRC_URI = http://memcached.googlecode.com/files/memcached-${PV}.tar.gz;
+
+SRC_URI[md5sum] = 36ea966f5a29655be1746bf4949f7f69
+SRC_URI[sha256sum] = 
169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4
+
+DEPENDS = libevent
+
+inherit autotools
+
+do_configure_prepend_aarch64() {
+   export ac_cv_c_endian=little
+}
-- 
1.8.0


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


[oe] [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions

2013-02-08 Thread Marcin Juszkiewicz
1.0.15 is latest
1.0.7 is required by HipHopVM

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-networking/recipes-support/libmemcached/libmemcached.inc  | 10 ++
 .../recipes-support/libmemcached/libmemcached_1.0.15.bb|  6 ++
 .../recipes-support/libmemcached/libmemcached_1.0.7.bb |  8 
 3 files changed, 24 insertions(+)
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached.inc
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
 create mode 100644 
meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb

diff --git a/meta-networking/recipes-support/libmemcached/libmemcached.inc 
b/meta-networking/recipes-support/libmemcached/libmemcached.inc
new file mode 100644
index 000..448a15d
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = open source C/C++ client library and tools for the memcached 
server
+DEPENDS = libevent util-linux
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=865490941c91ba790f0ea78dec93bd60
+
+SRC_URI = 
http://launchpad.net/libmemcached/1.0/${PV}/+download/libmemcached-${PV}.tar.gz;
+
+TARGET_LDFLAGS += -luuid
+
+inherit autotools gettext pkgconfig
diff --git 
a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb 
b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
new file mode 100644
index 000..18232b4
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.15.bb
@@ -0,0 +1,6 @@
+require libmemcached.inc
+
+SRC_URI += file://crosscompile.patch
+
+SRC_URI[md5sum] = 616297a1aedefc52b3f6922eda5d559a
+SRC_URI[sha256sum] = 
dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325
diff --git a/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb 
b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
new file mode 100644
index 000..0aa3050
--- /dev/null
+++ b/meta-networking/recipes-support/libmemcached/libmemcached_1.0.7.bb
@@ -0,0 +1,8 @@
+require libmemcached.inc
+
+SRC_URI[md5sum] = d59a462a92d296f76bff2d9bc72b2516
+SRC_URI[sha256sum] = 
3efa86c9733eaad55d7119cb16769424e2aa6c22b3392e8f973946fce6678d81
+
+do_configure_prepend_aarch64() {
+export ac_cv_c_endian=little
+}
-- 
1.8.0


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


Re: [oe] [meta-oe][PATCH] cyrus-sasl2: add 2.1.26

2013-02-08 Thread Marcin Juszkiewicz
W dniu 08.02.2013 18:13, Paul Eggleton pisze:
 On Friday 08 February 2013 18:06:19 Marcin Juszkiewicz wrote:
 I took recipe from OE classic, updated, cleaned and got it build. I use
 it only as build dependency - did not checked binaries from ${PN}-bin.
 
 FYI there is a cyrus-sasl 2.1.19 recipe in meta-kde; not sure how that 
 compares with this one (and clearly we would prefer to have it in a more 
 appropriate layer than meta-kde).

Thanks for info.

2.1.19 from meta-kde does not generate packages (-dev and -dbg are done
but empty). They keep patches from OE classic and add new one but those
are not needed in 2.1.26 cause upstream supports db5 now.


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


[oe] Some recipes from my work on HipHopVM

2013-02-07 Thread Marcin Juszkiewicz
Some time ago I started working on porting HipHopVM for AArch64
platform. My job was to identify and build all dependencies. Effect of
it is in this patchset.

I added them to meta-oe/recipes-support/ just to show them and get
suggestions where to move them. Some may be useful for people outside of
HHVM (which is 64bit only and (iirc) supports x86-64 now).

For most of them I will have updates during next months.


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


[oe] [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8

2013-02-07 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-support/libmcrypt/libmcrypt_2.5.8.bb   | 22 ++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb

diff --git a/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb 
b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
new file mode 100644
index 000..0cbe189
--- /dev/null
+++ b/meta-oe/recipes-support/libmcrypt/libmcrypt_2.5.8.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = Replacement for the old crypt() package and crypt(1) command, 
with extensions.
+HOMEPAGE = http://mcrypt.sourceforge.net/;
+LICENSE = LGPLv2.1
+LIC_FILES_CHKSUM = file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff
+
+SRC_URI = 
${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz
+
+SRC_URI[md5sum] = 0821830d930a86a5c69110837c55b7da
+SRC_URI[sha256sum] = 
e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e
+
+inherit autotools gettext binconfig
+
+do_configure() {
+   gnu-configize --force
+#  libtoolize --force --copy
+   autoconf
+   oe_runconf
+}
+
+do_install_append() {
+   rm ${D}${libdir}/libmcrypt -r
+}
-- 
1.8.0


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


[oe] [meta-oe][PATCH 8/8] google-perftools: add 2.0

2013-02-07 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/google-perftools/gperftools_2.0.bb | 11 +++
 1 file changed, 11 insertions(+)
 create mode 100644 meta-oe/recipes-support/google-perftools/gperftools_2.0.bb

diff --git a/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb 
b/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
new file mode 100644
index 000..1717752
--- /dev/null
+++ b/meta-oe/recipes-support/google-perftools/gperftools_2.0.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = Fast, multi-threaded malloc() and nifty performance analysis 
tools
+HOMEPAGE = http://code.google.com/p/gperftools/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a
+
+SRC_URI = 
${DEBIAN_MIRROR}/main/g/google-perftools/google-perftools_${PV}.orig.tar.gz
+
+SRC_URI[md5sum] = 13f6e8961bc6a26749783137995786b6
+SRC_URI[sha256sum] = 
7de3dd91f018825b1e7d332af1edace15c6211f430186febede1835069861080
+
+inherit autotools
-- 
1.8.0


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


[oe] [meta-oe][PATCH 1/8] google-glog: added svn version

2013-02-07 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/google-glog/google-glog_svn.bb | 17 +
 1 file changed, 17 insertions(+)
 create mode 100644 meta-oe/recipes-support/google-glog/google-glog_svn.bb

diff --git a/meta-oe/recipes-support/google-glog/google-glog_svn.bb 
b/meta-oe/recipes-support/google-glog/google-glog_svn.bb
new file mode 100644
index 000..b70aa82
--- /dev/null
+++ b/meta-oe/recipes-support/google-glog/google-glog_svn.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = The glog library implements application-level logging. This \
+library provides logging APIs based on C++-style streams and various helper \
+macros.
+HOMEPAGE = https://code.google.com/p/google-glog/;
+
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b
+
+SRC_URI = svn://google-glog.googlecode.com/svn/;module=trunk;protocol=http
+
+SRCREV = ${AUTOREV}
+
+PV = 0.3.2+svn${SRCPV}
+
+S = ${WORKDIR}/trunk
+
+inherit autotools pkgconfig
-- 
1.8.0


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


[oe] [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch

2013-02-07 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/libunwind/files/aarch64.patch | 19 +++
 meta-oe/recipes-support/libunwind/libunwind.inc   | 12 
 meta-oe/recipes-support/libunwind/libunwind_1.1.bb|  6 ++
 3 files changed, 37 insertions(+)
 create mode 100644 meta-oe/recipes-support/libunwind/files/aarch64.patch
 create mode 100644 meta-oe/recipes-support/libunwind/libunwind.inc
 create mode 100644 meta-oe/recipes-support/libunwind/libunwind_1.1.bb

diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch 
b/meta-oe/recipes-support/libunwind/files/aarch64.patch
new file mode 100644
index 000..9ea8d83
--- /dev/null
+++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
@@ -0,0 +1,19 @@
+---
+ configure.ac |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- libunwind-1.1.orig/configure.ac
 libunwind-1.1/configure.ac
+@@ -135,11 +135,11 @@ AM_CONDITIONAL(OS_HPUX, expr x$target_os
+ AM_CONDITIONAL(OS_FREEBSD, expr x$target_os : xfreebsd /dev/null)
+ 
+ AC_MSG_CHECKING([for ELF helper width])
+ case ${target_arch} in
+ (arm|hppa|ppc32|x86|sh) use_elf32=yes; AC_MSG_RESULT([32]);;
+-(ia64|ppc64|x86_64)use_elf64=yes; AC_MSG_RESULT([64]);;
++(ia64|ppc64|x86_64|aarch64)use_elf64=yes; AC_MSG_RESULT([64]);;
+ (mips) use_elfxx=yes; AC_MSG_RESULT([xx]);;
+ *) AC_MSG_ERROR([Unknown ELF target: ${target_arch}])
+ esac
+ AM_CONDITIONAL(USE_ELF32, [test x$use_elf32 = xyes])
+ AM_CONDITIONAL(USE_ELF64, [test x$use_elf64 = xyes])
diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc 
b/meta-oe/recipes-support/libunwind/libunwind.inc
new file mode 100644
index 000..f028766
--- /dev/null
+++ b/meta-oe/recipes-support/libunwind/libunwind.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = a portable and efficient C programming interface (API) to 
determine the call-chain of a program
+HOMEPAGE = http://www.nongnu.org/libunwind;
+LICENSE = MIT
+LIC_FILES_CHKSUM = file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5
+
+SRC_URI = 
http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz;
+
+inherit autotools
+
+EXTRA_OECONF_arm = --enable-debug-frame
+
+BBCLASSEXTEND = native
diff --git a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb 
b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
new file mode 100644
index 000..dd6b63c
--- /dev/null
+++ b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
@@ -0,0 +1,6 @@
+require libunwind.inc
+
+SRC_URI += file://aarch64.patch
+
+SRC_URI[md5sum] = fb4ea2f6fbbe45bf032cd36e586883ce
+SRC_URI[sha256sum] = 
9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a
-- 
1.8.0


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


[oe] [meta-oe][PATCH 3/8] oniguruma: add 5.9.3 version

2013-02-07 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/onig/onig_5.9.3.bb | 15 +++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-oe/recipes-support/onig/onig_5.9.3.bb

diff --git a/meta-oe/recipes-support/onig/onig_5.9.3.bb 
b/meta-oe/recipes-support/onig/onig_5.9.3.bb
new file mode 100644
index 000..230e585
--- /dev/null
+++ b/meta-oe/recipes-support/onig/onig_5.9.3.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = Regular expressions library. The characteristics of this \
+library is that different character encoding for every regular expression \
+object can be specified.
+HOMEPAGE = http://www.geocities.jp/kosako3/oniguruma/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=0d4861b5bc0c392a5aa90d9d76ebd86f
+
+SRC_URI = http://www.geocities.jp/kosako3/oniguruma/archive/onig-${PV}.tar.gz;
+
+SRC_URI[md5sum] = 0d4eda2066d3c92970842a6790ce897a
+SRC_URI[sha256sum] = 
c3bba66b2a84760e6582c40881db97c839d94f327870009724bb8b4d0c051f2a
+
+DEPENDS = libevent
+
+inherit autotools binconfig
-- 
1.8.0


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


[oe] [meta-oe][PATCH 4/8] memcached: add 1.4.15

2013-02-07 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/memcached/memcached_1.4.15.bb | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-oe/recipes-support/memcached/memcached_1.4.15.bb

diff --git a/meta-oe/recipes-support/memcached/memcached_1.4.15.bb 
b/meta-oe/recipes-support/memcached/memcached_1.4.15.bb
new file mode 100644
index 000..b6d436e
--- /dev/null
+++ b/meta-oe/recipes-support/memcached/memcached_1.4.15.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = Free  open source, high-performance, distributed memory object 
\
+caching system, generic in nature, but intended for use in speeding up dynamic 
\
+web applications by alleviating database load.
+HOMEPAGE = http://memcached.org/;
+LICENSE = BSD
+LIC_FILES_CHKSUM = file://COPYING;md5=7e5ded7363d335e1bb18013ca08046ff
+
+SRC_URI = http://memcached.googlecode.com/files/memcached-${PV}.tar.gz;
+
+SRC_URI[md5sum] = 36ea966f5a29655be1746bf4949f7f69
+SRC_URI[sha256sum] = 
169721ab7a7531add6ae9f6b14b6b5641725fe0b1f0bdf5c3a4327725901e2b4
+
+DEPENDS = libevent
+
+inherit autotools
+
+do_configure_prepend_aarch64() {
+   export ac_cv_c_endian=little
+}
-- 
1.8.0


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


[oe] [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support

2013-02-07 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-support/tbb/tbb/cross-compile.patch|  25 +++
 meta-oe/recipes-support/tbb/tbb/tbb.pc |  11 +
 .../recipes-support/tbb/tbb/tbb41-aarch64.patch| 233 +
 meta-oe/recipes-support/tbb/tbb_4.1.bb |  31 +++
 4 files changed, 300 insertions(+)
 create mode 100644 meta-oe/recipes-support/tbb/tbb/cross-compile.patch
 create mode 100644 meta-oe/recipes-support/tbb/tbb/tbb.pc
 create mode 100644 meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch
 create mode 100644 meta-oe/recipes-support/tbb/tbb_4.1.bb

diff --git a/meta-oe/recipes-support/tbb/tbb/cross-compile.patch 
b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
new file mode 100644
index 000..b970a37
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/cross-compile.patch
@@ -0,0 +1,25 @@
+Author: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-Status: unsuitable
+---
+ build/linux.gcc.inc |5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+--- tbb41_20121003oss.orig/build/linux.gcc.inc
 tbb41_20121003oss/build/linux.gcc.inc
+@@ -40,12 +40,13 @@ DYLIB_KEY = -shared
+ EXPORT_KEY = -Wl,--version-script,
+ LIBDL = -ldl
+ 
+ TBB_NOSTRICT = 1
+ 
+-CPLUS = g++
+-CONLY = gcc
++CPLUS = $(CXX)
++CONLY = $(CC)
++CPLUS_FLAGS = $(CXXFLAGS)
+ LIB_LINK_FLAGS = $(DYLIB_KEY) -Wl,-soname=$(BUILDING_LIBRARY)
+ LIBS += -lpthread -lrt
+ LINK_FLAGS = -Wl,-rpath-link=.
+ C_FLAGS = $(CPLUS_FLAGS)
+ # gcc 4.4 and higher support -std=c++0x
diff --git a/meta-oe/recipes-support/tbb/tbb/tbb.pc 
b/meta-oe/recipes-support/tbb/tbb/tbb.pc
new file mode 100644
index 000..644b64f
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/tbb.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Threading Building Blocks
+Description: Intel's parallelism library for C++
+URL: http://www.threadingbuildingblocks.org/
+Version: 3.0+r018
+Libs: -L${libdir} -ltbb
+Cflags: -I${includedir} 
diff --git a/meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch 
b/meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch
new file mode 100644
index 000..3366f87
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/tbb41-aarch64.patch
@@ -0,0 +1,233 @@
+Author: Leif Lindholm leif.lindh...@linaro.org
+
+Upstream-Status: not there yet
+
+https://bugs.launchpad.net/linaro-aarch64/+bug/1091353
+
+diff --git a/build/linux.inc b/build/linux.inc
+index bdad142..7db323c 100644
+--- a/build/linux.inc
 b/build/linux.inc
+@@ -104,6 +104,9 @@ endif
+ ifeq ($(arch),sparc)
+ def_prefix = lin64
+ endif
++ifeq ($(arch),aarch64)
++def_prefix = lin64
++endif
+ ifeq (,$(def_prefix))
+ ifeq (64,$(findstring 64,$(arch)))
+ def_prefix = lin64
+diff --git a/include/tbb/machine/linux_aarch64.h 
b/include/tbb/machine/linux_aarch64.h
+new file mode 100644
+index 000..e3ebc36
+--- /dev/null
 b/include/tbb/machine/linux_aarch64.h
+@@ -0,0 +1,153 @@
++/*
++Copyright 2013 Linaro  All Rights Reserved.
++
++This file is part of Threading Building Blocks.
++
++Threading Building Blocks is free software; you can redistribute it
++and/or modify it under the terms of the GNU General Public License
++version 2 as published by the Free Software Foundation.
++
++Threading Building Blocks is distributed in the hope that it will be
++useful, but WITHOUT ANY WARRANTY; without even the implied warranty
++of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++GNU General Public License for more details.
++
++You should have received a copy of the GNU General Public License
++along with Threading Building Blocks; if not, write to the Free Software
++Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
++
++As a special exception, you may use this file as part of a free software
++library without restriction.  Specifically, if other files instantiate
++templates or use macros or inline functions from this file, or you compile
++this file and link it with other files to produce an executable, this
++file does not by itself cause the resulting executable to be covered by
++the GNU General Public License.  This exception does not however
++invalidate any other reasons why the executable file might be covered by
++the GNU General Public License.
++*/
++
++/*
++This is the TBB implementation for the ARM AArch64 architecture.
++*/ 
++
++#ifndef __TBB_machine_H
++#error Do not include this file directly; include tbb_machine.h instead
++#endif
++
++#if !(__aarch64__)
++#error Threading Building Blocks AArch64 port requires an AArch64 
architecture.
++#endif
++
++#include sys/param.h
++#include unistd.h
++
++#define __TBB_WORDSIZE 8
++
++#ifndef __BYTE_ORDER__
++// Hopefully endianness can be validly determined at runtime.
++// This may silently fail in some embedded

[oe] [meta-oe][PATCH] python-numpy: add 1.7.0rc1

2013-02-05 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../python/python-numpy/aarch64.patch  |  41 ++
 .../python/python-numpy/aarch64/_numpyconfig.h |  30 +
 .../python/python-numpy/aarch64/config.h   | 139 +
 ...hon-numpy_1.4.1.bb = python-numpy_1.7.0rc1.bb} |  33 +++--
 4 files changed, 236 insertions(+), 7 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
 create mode 100644 
meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
 create mode 100644 
meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h
 rename meta-oe/recipes-devtools/python/{python-numpy_1.4.1.bb = 
python-numpy_1.7.0rc1.bb} (50%)

diff --git a/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch 
b/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
new file mode 100644
index 000..8d66615
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
@@ -0,0 +1,41 @@
+From 7d7a5939dcf5821d9f381d57bfa2012568ef6b82 Mon Sep 17 00:00:00 2001
+From: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+Date: Thu, 10 Jan 2013 21:49:01 +0100
+Subject: [PATCH] Added support for AArch64 architecture
+
+Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-Status: backport
+---
+ numpy/core/include/numpy/npy_cpu.h| 2 ++
+ numpy/core/include/numpy/npy_endian.h | 1 +
+ 2 files changed, 3 insertions(+)
+
+diff --git a/numpy/core/include/numpy/npy_cpu.h 
b/numpy/core/include/numpy/npy_cpu.h
+index 8a29788..9707a7a 100644
+--- a/numpy/core/include/numpy/npy_cpu.h
 b/numpy/core/include/numpy/npy_cpu.h
+@@ -66,6 +66,8 @@
+ #define NPY_CPU_MIPSEL
+ #elif defined(__MIPSEB__)
+ #define NPY_CPU_MIPSEB
++#elif defined(__aarch64__)
++#define NPY_CPU_AARCH64
+ #else
+ #error Unknown CPU, please report this to numpy maintainers with \
+ information about your platform (OS, CPU and compiler)
+diff --git a/numpy/core/include/numpy/npy_endian.h 
b/numpy/core/include/numpy/npy_endian.h
+index aa5ed8b..4e3349f 100644
+--- a/numpy/core/include/numpy/npy_endian.h
 b/numpy/core/include/numpy/npy_endian.h
+@@ -25,6 +25,7 @@
+ || defined(NPY_CPU_IA64)\
+ || defined(NPY_CPU_ALPHA)   \
+ || defined(NPY_CPU_ARMEL)   \
++|| defined(NPY_CPU_AARCH64) \
+ || defined(NPY_CPU_SH_LE)   \
+ || defined(NPY_CPU_MIPSEL)
+ #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
+-- 
+1.8.0
+
diff --git 
a/meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h 
b/meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
new file mode 100644
index 000..be57ac2
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
@@ -0,0 +1,30 @@
+#define NPY_HAVE_ENDIAN_H 1
+#define NPY_SIZEOF_SHORT SIZEOF_SHORT
+#define NPY_SIZEOF_INT SIZEOF_INT
+#define NPY_SIZEOF_LONG SIZEOF_LONG
+#define NPY_SIZEOF_FLOAT 4
+#define NPY_SIZEOF_COMPLEX_FLOAT 8
+#define NPY_SIZEOF_DOUBLE 8
+#define NPY_SIZEOF_COMPLEX_DOUBLE 16
+#define NPY_SIZEOF_LONGDOUBLE 16
+#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
+#define NPY_SIZEOF_PY_INTPTR_T 8
+#define NPY_SIZEOF_PY_LONG_LONG 8
+#define NPY_SIZEOF_LONGLONG 8
+#define NPY_NO_SMP 0
+#define NPY_HAVE_DECL_ISNAN
+#define NPY_HAVE_DECL_ISINF
+#define NPY_HAVE_DECL_ISFINITE
+#define NPY_HAVE_DECL_SIGNBIT
+#define NPY_USE_C99_COMPLEX 1
+#define NPY_HAVE_COMPLEX_DOUBLE 1
+#define NPY_HAVE_COMPLEX_FLOAT 1
+#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
+#define NPY_USE_C99_FORMATS 1
+#define NPY_VISIBILITY_HIDDEN __attribute__((visibility(hidden)))
+#define NPY_ABI_VERSION 0x0109
+#define NPY_API_VERSION 0x0007
+
+#ifndef __STDC_FORMAT_MACROS
+#define __STDC_FORMAT_MACROS 1
+#endif
diff --git a/meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h 
b/meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h
new file mode 100644
index 000..c30b868
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h
@@ -0,0 +1,139 @@
+#define HAVE_ENDIAN_H 1
+#define SIZEOF_PY_INTPTR_T 8
+#define SIZEOF_PY_LONG_LONG 8
+#define MATHLIB m
+#define HAVE_SIN 1
+#define HAVE_COS 1
+#define HAVE_TAN 1
+#define HAVE_SINH 1
+#define HAVE_COSH 1
+#define HAVE_TANH 1
+#define HAVE_FABS 1
+#define HAVE_FLOOR 1
+#define HAVE_CEIL 1
+#define HAVE_SQRT 1
+#define HAVE_LOG10 1
+#define HAVE_LOG 1
+#define HAVE_EXP 1
+#define HAVE_ASIN 1
+#define HAVE_ACOS 1
+#define HAVE_ATAN 1
+#define HAVE_FMOD 1
+#define HAVE_MODF 1
+#define HAVE_FREXP 1
+#define HAVE_LDEXP 1
+#define HAVE_RINT 1
+#define HAVE_TRUNC 1
+#define HAVE_EXP2 1
+#define HAVE_LOG2 1
+#define HAVE_ATAN2 1
+#define HAVE_POW 1
+#define HAVE_NEXTAFTER 1
+#define HAVE_SINF 1
+#define HAVE_COSF 1
+#define HAVE_TANF 1
+#define HAVE_SINHF 1
+#define HAVE_COSHF 1
+#define HAVE_TANHF 1
+#define HAVE_FABSF 1
+#define HAVE_FLOORF 1
+#define HAVE_CEILF 1
+#define HAVE_RINTF 1

Re: [oe] [meta-oe][[RFC][PATCH] nodejs: add 0.8.18

2013-01-30 Thread Marcin Juszkiewicz
W dniu 30.01.2013 10:03, Koen Kooi pisze:

 I should learn to never trust blogposts from people running ubuntu
 on arm.

And you still read my blog? :D

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


[oe] [meta-oe][PATCH 2/2] python-numpy: add 1.7.0-rc1

2013-01-29 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../python/python-numpy/aarch64.patch  |  41 ++
 .../python/python-numpy/aarch64/_numpyconfig.h |  30 +
 .../python/python-numpy/aarch64/config.h   | 139 +
 ...python-numpy_1.4.1.bb = python-numpy_1.7.0.bb} |  33 +++--
 4 files changed, 236 insertions(+), 7 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
 create mode 100644 
meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
 create mode 100644 
meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h
 rename meta-oe/recipes-devtools/python/{python-numpy_1.4.1.bb = 
python-numpy_1.7.0.bb} (50%)

diff --git a/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch 
b/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
new file mode 100644
index 000..60d0d00
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
@@ -0,0 +1,41 @@
+From 7d7a5939dcf5821d9f381d57bfa2012568ef6b82 Mon Sep 17 00:00:00 2001
+From: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+Date: Thu, 10 Jan 2013 21:49:01 +0100
+Subject: [PATCH] Added support for AArch64 architecture
+
+Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-status: backport
+---
+ numpy/core/include/numpy/npy_cpu.h| 2 ++
+ numpy/core/include/numpy/npy_endian.h | 1 +
+ 2 files changed, 3 insertions(+)
+
+diff --git a/numpy/core/include/numpy/npy_cpu.h 
b/numpy/core/include/numpy/npy_cpu.h
+index 8a29788..9707a7a 100644
+--- a/numpy/core/include/numpy/npy_cpu.h
 b/numpy/core/include/numpy/npy_cpu.h
+@@ -66,6 +66,8 @@
+ #define NPY_CPU_MIPSEL
+ #elif defined(__MIPSEB__)
+ #define NPY_CPU_MIPSEB
++#elif defined(__aarch64__)
++#define NPY_CPU_AARCH64
+ #else
+ #error Unknown CPU, please report this to numpy maintainers with \
+ information about your platform (OS, CPU and compiler)
+diff --git a/numpy/core/include/numpy/npy_endian.h 
b/numpy/core/include/numpy/npy_endian.h
+index aa5ed8b..4e3349f 100644
+--- a/numpy/core/include/numpy/npy_endian.h
 b/numpy/core/include/numpy/npy_endian.h
+@@ -25,6 +25,7 @@
+ || defined(NPY_CPU_IA64)\
+ || defined(NPY_CPU_ALPHA)   \
+ || defined(NPY_CPU_ARMEL)   \
++|| defined(NPY_CPU_AARCH64) \
+ || defined(NPY_CPU_SH_LE)   \
+ || defined(NPY_CPU_MIPSEL)
+ #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
+-- 
+1.8.0
+
diff --git 
a/meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h 
b/meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
new file mode 100644
index 000..be57ac2
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-numpy/aarch64/_numpyconfig.h
@@ -0,0 +1,30 @@
+#define NPY_HAVE_ENDIAN_H 1
+#define NPY_SIZEOF_SHORT SIZEOF_SHORT
+#define NPY_SIZEOF_INT SIZEOF_INT
+#define NPY_SIZEOF_LONG SIZEOF_LONG
+#define NPY_SIZEOF_FLOAT 4
+#define NPY_SIZEOF_COMPLEX_FLOAT 8
+#define NPY_SIZEOF_DOUBLE 8
+#define NPY_SIZEOF_COMPLEX_DOUBLE 16
+#define NPY_SIZEOF_LONGDOUBLE 16
+#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
+#define NPY_SIZEOF_PY_INTPTR_T 8
+#define NPY_SIZEOF_PY_LONG_LONG 8
+#define NPY_SIZEOF_LONGLONG 8
+#define NPY_NO_SMP 0
+#define NPY_HAVE_DECL_ISNAN
+#define NPY_HAVE_DECL_ISINF
+#define NPY_HAVE_DECL_ISFINITE
+#define NPY_HAVE_DECL_SIGNBIT
+#define NPY_USE_C99_COMPLEX 1
+#define NPY_HAVE_COMPLEX_DOUBLE 1
+#define NPY_HAVE_COMPLEX_FLOAT 1
+#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
+#define NPY_USE_C99_FORMATS 1
+#define NPY_VISIBILITY_HIDDEN __attribute__((visibility(hidden)))
+#define NPY_ABI_VERSION 0x0109
+#define NPY_API_VERSION 0x0007
+
+#ifndef __STDC_FORMAT_MACROS
+#define __STDC_FORMAT_MACROS 1
+#endif
diff --git a/meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h 
b/meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h
new file mode 100644
index 000..c30b868
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-numpy/aarch64/config.h
@@ -0,0 +1,139 @@
+#define HAVE_ENDIAN_H 1
+#define SIZEOF_PY_INTPTR_T 8
+#define SIZEOF_PY_LONG_LONG 8
+#define MATHLIB m
+#define HAVE_SIN 1
+#define HAVE_COS 1
+#define HAVE_TAN 1
+#define HAVE_SINH 1
+#define HAVE_COSH 1
+#define HAVE_TANH 1
+#define HAVE_FABS 1
+#define HAVE_FLOOR 1
+#define HAVE_CEIL 1
+#define HAVE_SQRT 1
+#define HAVE_LOG10 1
+#define HAVE_LOG 1
+#define HAVE_EXP 1
+#define HAVE_ASIN 1
+#define HAVE_ACOS 1
+#define HAVE_ATAN 1
+#define HAVE_FMOD 1
+#define HAVE_MODF 1
+#define HAVE_FREXP 1
+#define HAVE_LDEXP 1
+#define HAVE_RINT 1
+#define HAVE_TRUNC 1
+#define HAVE_EXP2 1
+#define HAVE_LOG2 1
+#define HAVE_ATAN2 1
+#define HAVE_POW 1
+#define HAVE_NEXTAFTER 1
+#define HAVE_SINF 1
+#define HAVE_COSF 1
+#define HAVE_TANF 1
+#define HAVE_SINHF 1
+#define HAVE_COSHF 1
+#define HAVE_TANHF 1
+#define HAVE_FABSF 1
+#define HAVE_FLOORF 1
+#define HAVE_CEILF 1
+#define HAVE_RINTF 1
+#define

Re: [oe] best practice for different projects on the same board

2013-01-25 Thread Marcin Juszkiewicz
W dniu 25.01.2013 12:19, Jaap de Jong pisze:
 Hi All,
 I'm wondering what the best practice would be in the following situation.
 We have a board that is going to be used in several projects.
 The set of basic packages is the same but every project might have some
 minor and perhaps sometimes major differences in f.i. config files.
 I don't want to make a copy of the base project for every upcoming new
 project. I would really like to handle with the differences only.
 What is the best approach for this?

Create conf/machine/board1.conf and describe everything there. Set
kernel etc. Then create conf/machine/board2.conf which will require
conf/machine/board1.conf and then change what is needed.

This way you have two values of MACHINE variable which you can use in
all recipes you need to modify for boards. And you are able to do builds
with one TMPDIR so most of builds will be reused.


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


[oe] FOSDEM giveaway

2013-01-23 Thread Marcin Juszkiewicz
Hello

As there will be many of OE developers at FOSDEM I want to ask does
someone wants something from list:

1. Sim-One r1.3
2. Atmel AT91SAM9M10-EKES
3. Koala nanoPC
4. Nokia Internet Tablet 770
5. PC Engines Alix.1c
6. Leather case for Sharp Zaurus c7x0
7. Docking station for Sharp Zaurus SL-6000

I got them in different moments of time. All should be in working
condition. I can get them with me to FOSDEM and give to anyone
interested. No support, no warranty etc.

I will close list on Thursday 31st January at 05:59 CET.

More details:

1. VGA output, FastEthernet, 8MB flash on board, SD slot, 64MB ram. Was
supported in OE classic as simone. There are stability problems which
can be solved by using U-Boot configured for 16bit memory access
(instead of 32bit one) resulting in halfing memory. I add box and serial
console kable (DB9 - RJ45).

I got it in November 2009 due to my work on merging EP93xx toolchain
improvements into OpenEmbedded. Serial number #0006 ;)

2. Brand new in original box. Never reflashed, still have WinCE and
Ångström on internal flash. WQVGA screen, FastEthernet, SD slot.

Got it at FOSDEM 2011.

3. Very slow 486sx (no FPU) with 300MHz clock and 128MB ram. Needs
CompactFlash card to boot. Came with 4GB one but I can not find it. I
add power supply. No serial ports ;( Has good GPU so can be used for big
screen static images displays. No audio so no Doom :(

Got it at FOSDEM 2009

4. Nokia 770 - one of first tablets ever. In my opinion total failure
(but I got it in 2007). Takes Nokia power supply with thin pin iirc.

Got it at FOSDEM 2007.

5. AMD Geode LX 500MHz and 256MB ram. Boots from CompactFlash or 2.5
hdd (IDE44 connector on board). Takes one PCI and one miniPCI card. I
add PCI riser and IDE44 cable (if find). Can add old wifi minipci card
if requested (prism so 11b only).

Got it in August 2007. Currently board is flashed with Coreboot to get
fast bootup - but I lost video output during the process ;(

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


[oe] [meta-oe][PATCH] libc-client: create empty libc-client package to satisfy deps of -dev one

2013-01-23 Thread Marcin Juszkiewicz
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for 
packagegroup-core-standalone-hhvm-sdk-target:
 *  libc-client (= 2007e-r1) *

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb 
b/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb
index 9faa2f8..1ecbe68 100644
--- a/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb
+++ b/meta-oe/recipes-devtools/libc-client/libc-client_2007e.bb
@@ -32,3 +32,4 @@ do_install() {
 install c-client/c-client.a ${D}${libdir}/libc-client.a
 }
 
+ALLOW_EMPTY_${PN} = 1
-- 
1.8.0


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


Re: [oe] [meta-oe][PATCH] php: cleanup QA warnings

2013-01-19 Thread Marcin Juszkiewicz
W dniu 19.01.2013 11:03, Martin Jansa pisze:
 I think this /home is still there:
 php-5.3.19: php: Files/directories were installed but not shipped
   /home
   /home/jenkins
   /home/jenkins/oe
   /home/jenkins/oe/shr-core-branches
   /home/jenkins/oe/shr-core-branches/shr-core

It is ${TMPDIR} not /home/ - if you have idea how to find out where it
is and how to safely remove it...

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


[oe] [meta-oe][PATCH] php: cleanup QA warnings

2013-01-17 Thread Marcin Juszkiewicz
php-native had:

WARNING: The recipe php-native is trying to install files into a shared area 
when those files already exist. Those files and their manifest location are:
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.filemap
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.lock
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.depdblock
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.depdb
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/pear.php.net.reg
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/pecl.php.net.reg
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/doc.php.net.reg
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/__uri.reg
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/.alias/pear.txt
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/.alias/pecl.txt
  
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/lib/php/.channels/.alias/phpdocs.txt
Please verify which package should provide the above files.

php had:

WARNING: QA Issue: php: Files/directories were installed but not shipped
  /.filemap
  /.lock
  /.depdblock
  /.depdb
  /var
  /.registry
  /.channels
  /home
  /var/run
  /var/log
  /var/volatile
  /var/volatile/run
  /var/volatile/log
  /etc/php-fpm.conf.default
  /.registry/.channel.pecl.php.net
  /.registry/.channel.doc.php.net
  /.registry/.channel.__uri
  /.channels/pear.php.net.reg
  /.channels/pecl.php.net.reg
  /.channels/doc.php.net.reg
  /.channels/__uri.reg
  /.channels/.alias
  /.channels/.alias/pear.txt
  /.channels/.alias/pecl.txt
  /.channels/.alias/phpdocs.txt
  /home/hrw
  /home/hrw/HDD
  /home/hrw/HDD/devel
  /home/hrw/HDD/devel/canonical
  /home/hrw/HDD/devel/canonical/aarch64
  /home/hrw/HDD/devel/canonical/aarch64/openembedded
  /home/hrw/HDD/devel/canonical/aarch64/openembedded/build

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-devtools/php/php.inc | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/php/php.inc 
b/meta-oe/recipes-devtools/php/php.inc
index 5e5a087..928d3d2 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -7,7 +7,7 @@ DEPENDS = zlib libxml2 virtual/libiconv php-native 
lemon-native mysql5 \
libc-client openssl sqlite3
 DEPENDS_virtclass-native = zlib-native libxml2-native
 
-INC_PR = r3
+INC_PR = r4
 
 SRC_URI = http://www.php.net/distributions/php-${PV}.tar.bz2;
 
@@ -55,14 +55,22 @@ do_install  () {
 oe_runmake 'INSTALL_ROOT=${D}' install
 }
 
+do_install_append_pn-php-native() {
+rm -rf ${D}/${libdir}/php/.registry
+rm -rf ${D}/${libdir}/php/.channels
+rm -rf ${D}/${libdir}/php/.[a-z]*
+}
+
 # fixme
 do_install_append_pn-php() {
 install -d ${D}/${sysconfdir}/
 mv ${D}/${STAGING_DIR_NATIVE}/${sysconfdir}/* ${D}/${sysconfdir}/
-rm -rf ${D}/${STAGING_DIR_NATIVE}
+rm -rf ${D}/${TMPDIR}
 rm -rf ${D}/.registry
 rm -rf ${D}/.channels
 rm -rf ${D}/.[a-z]*
+rm -rf ${D}/var
+rm -f  ${D}/${sysconfdir}/php-fpm.conf.default
 sed -i 's:${STAGING_DIR_NATIVE}::g' ${D}/${sysconfdir}/pear.conf
 install -m 0644 ${WORKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf
 install -d ${D}/${sysconfdir}/apache2/conf.d
-- 
1.8.0


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


[oe] [meta-oe][PATCH] libav: add support for AArch64

2013-01-11 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../0001-configure-enable-pic-for-AArch64.patch| 27 ++
 meta-oe/recipes-multimedia/libav/libav_0.8.3.bb|  5 
 2 files changed, 32 insertions(+)
 create mode 100644 
meta-oe/recipes-multimedia/libav/libav-0.8.3/0001-configure-enable-pic-for-AArch64.patch

diff --git 
a/meta-oe/recipes-multimedia/libav/libav-0.8.3/0001-configure-enable-pic-for-AArch64.patch
 
b/meta-oe/recipes-multimedia/libav/libav-0.8.3/0001-configure-enable-pic-for-AArch64.patch
new file mode 100644
index 000..27d1d4a
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/libav/libav-0.8.3/0001-configure-enable-pic-for-AArch64.patch
@@ -0,0 +1,27 @@
+From 58db99e98f615d79ea90cac8f4bcf11c94e3e7c7 Mon Sep 17 00:00:00 2001
+From: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+Date: Thu, 10 Jan 2013 12:42:19 +0100
+Subject: [PATCH] configure: enable pic for AArch64
+
+Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+
+Upstream-status: Backport
+---
+ configure |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- git.orig/configure
 git/configure
+@@ -2390,11 +2390,11 @@ EOF
+ 
+ check_host_cflags -std=c99
+ check_host_cflags -Wall
+ 
+ case $arch in
+-alpha|ia64|mips|parisc|sparc)
++alpha|ia64|mips|parisc|sparc|aarch64)
+ spic=$shared
+ ;;
+ x86)
+ subarch=x86_32
+ check_cc EOF  subarch=x86_64
diff --git a/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb 
b/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
index 66a32c9..10bdfa7 100644
--- a/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
+++ b/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
@@ -1,5 +1,10 @@
 require libav.inc
 
+FILESEXTRAPATHS_prepend := ${THISDIR}/libav-0.8.3:
+
+SRC_URI_append =  \
+  file://0001-configure-enable-pic-for-AArch64.patch \
+
 LIC_FILES_CHKSUM = file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
 
file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
-- 
1.8.0


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


[oe] [meta-oe][PATCH 2/2] libav: move --enable-postproc to 0.8.3 recipe

2013-01-10 Thread Marcin Juszkiewicz
libav 9.1 does not have this option.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-multimedia/libav/libav.inc  | 1 -
 meta-oe/recipes-multimedia/libav/libav_0.8.3.bb | 5 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-multimedia/libav/libav.inc 
b/meta-oe/recipes-multimedia/libav/libav.inc
index cd1204f..e85ae29 100644
--- a/meta-oe/recipes-multimedia/libav/libav.inc
+++ b/meta-oe/recipes-multimedia/libav/libav.inc
@@ -32,7 +32,6 @@ EXTRA_OECONF =  \
 --enable-shared \
 --enable-pthreads \
 --enable-gpl \
---enable-postproc \
 --enable-avfilter \
 \
 --cross-prefix=${TARGET_PREFIX} \
diff --git a/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb 
b/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
index 10bdfa7..e7d6c02 100644
--- a/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
+++ b/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
@@ -5,6 +5,11 @@ FILESEXTRAPATHS_prepend := ${THISDIR}/libav-0.8.3:
 SRC_URI_append =  \
   file://0001-configure-enable-pic-for-AArch64.patch \
 
+
+EXTRA_OECONF +=  \
+--enable-postproc \
+
+
 LIC_FILES_CHKSUM = file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
 
file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
-- 
1.8.0


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


[oe] [meta-oe][PATCH 1/2] libav: add support for AArch64

2013-01-10 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../0001-configure-enable-pic-for-AArch64.patch| 25 ++
 meta-oe/recipes-multimedia/libav/libav_0.8.3.bb|  5 +
 2 files changed, 30 insertions(+)
 create mode 100644 
meta-oe/recipes-multimedia/libav/libav-0.8.3/0001-configure-enable-pic-for-AArch64.patch

diff --git 
a/meta-oe/recipes-multimedia/libav/libav-0.8.3/0001-configure-enable-pic-for-AArch64.patch
 
b/meta-oe/recipes-multimedia/libav/libav-0.8.3/0001-configure-enable-pic-for-AArch64.patch
new file mode 100644
index 000..1894bb5
--- /dev/null
+++ 
b/meta-oe/recipes-multimedia/libav/libav-0.8.3/0001-configure-enable-pic-for-AArch64.patch
@@ -0,0 +1,25 @@
+From 58db99e98f615d79ea90cac8f4bcf11c94e3e7c7 Mon Sep 17 00:00:00 2001
+From: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+Date: Thu, 10 Jan 2013 12:42:19 +0100
+Subject: [PATCH] configure: enable pic for AArch64
+
+Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
+---
+ configure |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- git.orig/configure
 git/configure
+@@ -2390,11 +2390,11 @@ EOF
+ 
+ check_host_cflags -std=c99
+ check_host_cflags -Wall
+ 
+ case $arch in
+-alpha|ia64|mips|parisc|sparc)
++alpha|ia64|mips|parisc|sparc|aarch64)
+ spic=$shared
+ ;;
+ x86)
+ subarch=x86_32
+ check_cc EOF  subarch=x86_64
diff --git a/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb 
b/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
index 66a32c9..10bdfa7 100644
--- a/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
+++ b/meta-oe/recipes-multimedia/libav/libav_0.8.3.bb
@@ -1,5 +1,10 @@
 require libav.inc
 
+FILESEXTRAPATHS_prepend := ${THISDIR}/libav-0.8.3:
+
+SRC_URI_append =  \
+  file://0001-configure-enable-pic-for-AArch64.patch \
+
 LIC_FILES_CHKSUM = file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
 
file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \
-- 
1.8.0


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


[oe] [meta-oe][PATCH] libass: add missing dependency on fribidi

2013-01-09 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-multimedia/libass/libass.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-multimedia/libass/libass.inc 
b/meta-oe/recipes-multimedia/libass/libass.inc
index f398d49..28d6caa 100644
--- a/meta-oe/recipes-multimedia/libass/libass.inc
+++ b/meta-oe/recipes-multimedia/libass/libass.inc
@@ -5,7 +5,7 @@ SECTION = libs/multimedia
 LICENSE = ISC
 LIC_FILES_CHKSUM = file://COPYING;md5=8ae98663bac55afe5d989919d296f28a
 
-DEPENDS = enca fontconfig freetype libpng
+DEPENDS = enca fontconfig freetype libpng fribidi
 
 INC_PR = r1
 
-- 
1.8.0


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


[oe] Problem with libtoolize in libmcrypt

2013-01-08 Thread Marcin Juszkiewicz
I have to build libmcrypt. Wrote first version of recipe (attached) and got 
into libtool problem:

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Tainting hash to force rebuild of task 
/home/hrw/HDD/devel/canonical/aarch64/openembedded/repos/meta-aarch64/recipes/libmcrypt/libmcrypt_2.5.8.bb,
 do_configure
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_configure (see 
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/temp/log.do_configure.24548
 for further information)
ERROR: Logfile of failure stored in: 
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/temp/log.do_configure.24548
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'common-linux', 
'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.12.6
| Copyright (C) 2012 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later 
http://gnu.org/licenses/gpl-2.0.html
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| | Written by Tom Tromey tro...@redhat.com
|and Alexandre Duret-Lutz a...@gnu.org.
| AUTOV is 1.12
| NOTE: Executing ACLOCAL=aclocal 
--system-acdir=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/aclocal-copy/
 
--automake-acdir=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
 autoreconf --verbose --install --force --exclude=autopoint -I 
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/lib/
| autoreconf: Entering directory `.'
| autoreconf: configure.in: not using Gettext
| autoreconf: running: aclocal 
--system-acdir=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/aclocal-copy/
 
--automake-acdir=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
 -I 
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/lib/
 -I 
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/lib/
 --force
| aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
| autoreconf: configure.in: tracing
| autoreconf: configure.in: adding subdirectory libltdl to autoreconf
| autoreconf: Entering directory `libltdl'
| aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
| acinclude.m4:3740: warning: the serial number must appear before any macro 
definition
| autoreconf: running: libtoolize --copy --force
| libtoolize: putting auxiliary files in `..'.
| libtoolize: copying file `../ltmain.sh'
| libtoolize: putting auxiliary files in `..'.
| libtoolize: `config/compile' not found in 
`/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv8/usr/share/libtool'
| autoreconf: libtoolize failed with exit status: 1
| ERROR: autoreconf execution failed.
| ERROR: Function failed: do_configure (see 
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/aarch64-oe-linux/libmcrypt/2.5.8-r0/temp/log.do_configure.24548
 for further information)
ERROR: Task 3 
(/home/hrw/HDD/devel/canonical/aarch64/openembedded/repos/meta-aarch64/recipes/libmcrypt/libmcrypt_2.5.8.bb,
 do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 253 tasks of which 252 didn't need to be rerun 
and 1 failed.


config/compile is only present in build-arch sysroot. Ideas what is wrong?

LICENSE = LGPLv2.1
LIC_FILES_CHKSUM = file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff

SRC_URI = 
${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz

SRC_URI[md5sum] = 0821830d930a86a5c69110837c55b7da
SRC_URI[sha256sum] = 
e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e

inherit autotools gettext binconfig
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] oe-core 2.6 kernel support

2012-12-18 Thread Marcin Juszkiewicz
W dniu 18.12.2012 17:41, Marco pisze:
 Il 18/12/2012 17:38, Phil Blundell ha scritto:
 On Tue, 2012-12-18 at 17:19 +0100, Marco wrote:
 Paul had kindly pointed me to the meta-handheld stuff so I tried oe-core
 + meta-handheld and I built:
akita - ok (3.2.32-git)
hx4700 - ok (3.0.1)
h3600 - fails (2.6.29)

 In what way does it fail?

Check
http://git.linaro.org/gitweb?p=kernel/linaro-aarch64.git;a=commit;h=05e926ae805a4ef80a2c27194303a21c9ddaf5f8
for solution. It's for arm64 but you can adapt it for arm.

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


[oe] [meta-oe][PATCH 6/7] florence: added gnome-doc-utils and libnotify to dependencies

2012-12-13 Thread Marcin Juszkiewicz
gnome-doc-utils due to this:

| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal 
--system-acdir=/home/hrw/HDD/devel/canonical/aarch64/CLEAN/build/tmp-eglibc/work/aarch64-oe-linux/florence/0.5.1-r1/florence-0.5.1/aclocal-copy/
 
--automake-acdir=/home/hrw/HDD/devel/canonical/aarch64/CLEAN/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
 --force
| autoreconf: configure.ac: tracing
| autoreconf: configure.ac: not using Libtool
| autoreconf: running: 
/home/hrw/HDD/devel/canonical/aarch64/CLEAN/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
 --force
| autoreconf: running: 
/home/hrw/HDD/devel/canonical/aarch64/CLEAN/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/autoheader
 --force
| autoreconf: running: automake --foreign --add-missing --copy --force-missing
| gnome-doc-utils.make:63: error: HAVE_GNOME_DOC_UTILS does not appear in 
AM_CONDITIONAL
| docs/Makefile.am:1:   'gnome-doc-utils.make' included from here
| gnome-doc-utils.make:143: error: ENABLE_SK does not appear in AM_CONDITIONAL
| docs/Makefile.am:1:   'gnome-doc-utils.make' included from here
| gnome-doc-utils.make:192: error: ENABLE_SK does not appear in AM_CONDITIONAL
| docs/Makefile.am:1:   'gnome-doc-utils.make' included from here
| src/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or 
'*_CPPFLAGS')
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.

libnotify due to:

| configure:7503: checking for LIBNOTIFY
| configure:7510: $PKG_CONFIG --exists --print-errors libnotify
| Package libnotify was not found in the pkg-config search path.
| Perhaps you should add the directory containing `libnotify.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'libnotify' found

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/florence/florence_0.5.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/florence/florence_0.5.1.bb 
b/meta-oe/recipes-support/florence/florence_0.5.1.bb
index dcbcefa..56d8914 100644
--- a/meta-oe/recipes-support/florence/florence_0.5.1.bb
+++ b/meta-oe/recipes-support/florence/florence_0.5.1.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552
 
 PR = r1
 
-DEPENDS = gtk+ libxml2 libglade librsvg libxtst gconf cairo intltool-native
+DEPENDS = gtk+ libxml2 libglade librsvg libxtst gconf cairo intltool-native 
gnome-doc-utils libnotify
 
 SRC_URI = 
http://switch.dl.sourceforge.net/project/florence/florence/0.5.1/florence-0.5.1.tar.bz2
 \
file://0001-Fix-glib-includes.patch
-- 
1.8.0


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


[oe] [meta-oe][PATCH 5/7] xorg-sgml-doctools: added LIC_FILES_CHKSUM

2012-12-13 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-graphics/xorg-doc/xorg-sgml-doctools_1.7.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-graphics/xorg-doc/xorg-sgml-doctools_1.7.bb 
b/meta-oe/recipes-graphics/xorg-doc/xorg-sgml-doctools_1.7.bb
index 502723c..a75c41d 100644
--- a/meta-oe/recipes-graphics/xorg-doc/xorg-sgml-doctools_1.7.bb
+++ b/meta-oe/recipes-graphics/xorg-doc/xorg-sgml-doctools_1.7.bb
@@ -1,4 +1,7 @@
 require xorg-doc-common.inc
+
+LIC_FILES_CHKSUM = file://COPYING;md5=c8c6c808cd3c797a07b24e443af1c449
+
 PE = 1
 PR = ${INC_PR}.0
 
-- 
1.8.0


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


[oe] [meta-oe][PATCH 4/7] xterm: added gnu-configize for AArch64 support

2012-12-13 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-graphics/xorg-app/xterm_277.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_277.bb 
b/meta-oe/recipes-graphics/xorg-app/xterm_277.bb
index f68e23c..18abe35 100644
--- a/meta-oe/recipes-graphics/xorg-app/xterm_277.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xterm_277.bb
@@ -15,6 +15,7 @@ EXTRA_OECONF =  --x-includes=${STAGING_INCDIR} \
  --disable-setuid
 
 do_configure() {
+gnu-configize --force
 sed -e s%/usr/contrib/X11R6%${STAGING_LIBDIR}%g -i configure
 oe_runconf
 }
-- 
1.8.0


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


[oe] [meta-oe][PATCH 1/7] modemmanager: update to 0.6.0.0

2012-12-13 Thread Marcin Juszkiewicz
All *.a files moved to -staticdev

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../dont-include-private-glib-headers.patch| 94 --
 ...modemmanager_0.5.bb = modemmanager_0.6.0.0.bb} | 16 ++--
 2 files changed, 8 insertions(+), 102 deletions(-)
 delete mode 100644 
meta-oe/recipes-connectivity/networkmanager/modemmanager/dont-include-private-glib-headers.patch
 rename meta-oe/recipes-connectivity/networkmanager/{modemmanager_0.5.bb = 
modemmanager_0.6.0.0.bb} (59%)

diff --git 
a/meta-oe/recipes-connectivity/networkmanager/modemmanager/dont-include-private-glib-headers.patch
 
b/meta-oe/recipes-connectivity/networkmanager/modemmanager/dont-include-private-glib-headers.patch
deleted file mode 100644
index 71dffc0..000
--- 
a/meta-oe/recipes-connectivity/networkmanager/modemmanager/dont-include-private-glib-headers.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-From 28f64090dfa15097587bbea69209df10b8ab8593 Mon Sep 17 00:00:00 2001
-From: Aleksander Morgado aleksan...@lanedo.com
-Date: Mon, 24 Oct 2011 19:09:11 +
-Subject: core: don't include private headers from glib
-
-The glib/gtypes.h is now considered private, and only glib.h should be
-included directly.

-diff --git a/src/mm-at-serial-port.h b/src/mm-at-serial-port.h
-index 5d5f13f..cec5dc3 100644
 a/src/mm-at-serial-port.h
-+++ b/src/mm-at-serial-port.h
-@@ -18,7 +18,6 @@
- #define MM_AT_SERIAL_PORT_H
- 
- #include glib.h
--#include glib/gtypes.h
- #include glib-object.h
- 
- #include mm-serial-port.h
-diff --git a/src/mm-manager.h b/src/mm-manager.h
-index 1c98458..c6a64bd 100644
 a/src/mm-manager.h
-+++ b/src/mm-manager.h
-@@ -17,7 +17,6 @@
- #ifndef MM_MANAGER_H
- #define MM_MANAGER_H
- 
--#include glib/gtypes.h
- #include glib-object.h
- #include dbus/dbus-glib.h
- #include mm-modem.h
-diff --git a/src/mm-modem-base.h b/src/mm-modem-base.h
-index 933aae1..be11af6 100644
 a/src/mm-modem-base.h
-+++ b/src/mm-modem-base.h
-@@ -18,7 +18,6 @@
- #define MM_MODEM_BASE_H
- 
- #include glib.h
--#include glib/gtypes.h
- #include glib-object.h
- 
- #include mm-port.h
-diff --git a/src/mm-plugin-base.h b/src/mm-plugin-base.h
-index 4b0932c..5b049a4 100644
 a/src/mm-plugin-base.h
-+++ b/src/mm-plugin-base.h
-@@ -17,7 +17,6 @@
- #define MM_PLUGIN_BASE_H
- 
- #include glib.h
--#include glib/gtypes.h
- #include glib-object.h
- 
- #define G_UDEV_API_IS_SUBJECT_TO_CHANGE
-diff --git a/src/mm-port.h b/src/mm-port.h
-index 4bcffd4..df935db 100644
 a/src/mm-port.h
-+++ b/src/mm-port.h
-@@ -17,7 +17,6 @@
- #define MM_PORT_H
- 
- #include glib.h
--#include glib/gtypes.h
- #include glib-object.h
- 
- typedef enum {
-diff --git a/src/mm-qcdm-serial-port.h b/src/mm-qcdm-serial-port.h
-index 2786ee8..605016d 100644
 a/src/mm-qcdm-serial-port.h
-+++ b/src/mm-qcdm-serial-port.h
-@@ -18,7 +18,6 @@
- #define MM_QCDM_SERIAL_PORT_H
- 
- #include glib.h
--#include glib/gtypes.h
- #include glib-object.h
- 
- #include mm-serial-port.h
-diff --git a/src/mm-serial-port.h b/src/mm-serial-port.h
-index eb12cbb..9450926 100644
 a/src/mm-serial-port.h
-+++ b/src/mm-serial-port.h
-@@ -18,7 +18,6 @@
- #define MM_SERIAL_PORT_H
- 
- #include glib.h
--#include glib/gtypes.h
- #include glib-object.h
- 
- #include mm-port.h
---
-cgit v0.9.0.2-2-gbebe
diff --git a/meta-oe/recipes-connectivity/networkmanager/modemmanager_0.5.bb 
b/meta-oe/recipes-connectivity/networkmanager/modemmanager_0.6.0.0.bb
similarity index 59%
rename from meta-oe/recipes-connectivity/networkmanager/modemmanager_0.5.bb
rename to meta-oe/recipes-connectivity/networkmanager/modemmanager_0.6.0.0.bb
index 55e083a..a58685b 100644
--- a/meta-oe/recipes-connectivity/networkmanager/modemmanager_0.5.bb
+++ b/meta-oe/recipes-connectivity/networkmanager/modemmanager_0.6.0.0.bb
@@ -3,23 +3,23 @@ DEPENDS = ppp udev glib-2.0
 LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f
 
-PR = r1
+PR = r0
 
 inherit gnome gettext
 
-SRC_URI = 
${GNOME_MIRROR}/ModemManager/${@gnome_verdir(${PV})}/ModemManager-${PV}.tar.bz2
 \
-file://dont-include-private-glib-headers.patch 
+SRC_URI = 
${GNOME_MIRROR}/ModemManager/${@gnome_verdir(${PV})}/ModemManager-${PV}.tar.xz
 
-SRC_URI[md5sum] = cd04109506e88bf4c4cd3e7ce0034c08
-SRC_URI[sha256sum] = 
108de70537b1193634883fa6b3642b130a23f4c04d901cb15caeceb486af6152
+SRC_URI[md5sum] = f32640f6672d997ec0887307186e9639
+SRC_URI[sha256sum] = 
d4468300cf4aa7baf21c8564fa515e578056f34de5a64f452b053331f89e8ae2
 
 S = ${WORKDIR}/ModemManager-${PV}
 
 FILES_${PN}-dbg += ${libdir}/ModemManager/.debug \
 ${libdir}/pppd/*/.debug
-FILES_${PN}-dev += ${datadir}/dbus-1/interfaces \
-${libdir}/ModemManager/*a \
-${libdir}/pppd/*/*a
+FILES_${PN}-dev += ${datadir}/dbus-1/interfaces
+FILES_${PN}-staticdev += \
+  ${libdir}/ModemManager/*.a \
+  ${libdir}/pppd/*/*.a
 FILES_${PN} += ${datadir}/dbus-1

[oe] [meta-oe][PATCH 2/7] samba: added gnu-configize for AArch64 support

2012-12-13 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb 
b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
index 7985199..4750ecb 100644
--- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
+++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
@@ -50,6 +50,7 @@ EXTRA_OECONF += \

 
 do_configure() {
+   gnu-configize --force
oe_runconf
 }
 
-- 
1.8.0


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


[oe] Another set of changes from world build

2012-12-13 Thread Marcin Juszkiewicz
My world build with all meta-openembedded layers gave me 56 failures. I fixed
some of them and will take a look at rest later.


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


[oe] [meta-oe][PATCH 7/7] florence: move to meta-gnome due to libnotify

2012-12-13 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-support/florence/files/0001-Fix-glib-includes.patch   | 0
 {meta-oe = meta-gnome}/recipes-support/florence/florence_0.5.1.bb| 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename {meta-oe = 
meta-gnome}/recipes-support/florence/files/0001-Fix-glib-includes.patch (100%)
 rename {meta-oe = meta-gnome}/recipes-support/florence/florence_0.5.1.bb 
(100%)

diff --git 
a/meta-oe/recipes-support/florence/files/0001-Fix-glib-includes.patch 
b/meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch
similarity index 100%
rename from meta-oe/recipes-support/florence/files/0001-Fix-glib-includes.patch
rename to meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch
diff --git a/meta-oe/recipes-support/florence/florence_0.5.1.bb 
b/meta-gnome/recipes-support/florence/florence_0.5.1.bb
similarity index 100%
rename from meta-oe/recipes-support/florence/florence_0.5.1.bb
rename to meta-gnome/recipes-support/florence/florence_0.5.1.bb
-- 
1.8.0


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


[oe] [meta-oe][PATCH 3/7] dialog: added gnu-configize for AArch64 support

2012-12-13 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-extended/dialog/dialog.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-extended/dialog/dialog.inc 
b/meta-oe/recipes-extended/dialog/dialog.inc
index 03b0aa7..27e4e60 100644
--- a/meta-oe/recipes-extended/dialog/dialog.inc
+++ b/meta-oe/recipes-extended/dialog/dialog.inc
@@ -19,6 +19,7 @@ EXTRA_OECONF = --with-ncurses \
 --disable-rpath-hack
 
 do_configure() {
+gnu-configize --force
 sed -i 's,${cf_ncuconfig_root}6-config,${cf_ncuconfig_root}-config,g' -i 
configure
 oe_runconf
 }
-- 
1.8.0


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


Re: [oe] [meta-oe][PATCH 5/7] xorg-sgml-doctools: added LIC_FILES_CHKSUM

2012-12-13 Thread Marcin Juszkiewicz
W dniu 13.12.2012 12:03, Martin Jansa pisze:
 On Thu, Dec 13, 2012 at 11:35:27AM +0100, Marcin Juszkiewicz wrote:
 Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
 
 This was already part of my previous pull request which was merged
 yesterday, are you using latest meta-openembedded?

Oops, looks like I used tree before your changes landed. So my patch is
not needed.

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


[oe] [PATCH 1/2] gcc-cross-canadian 4.6: fix dependencies to be nativesdk-* not *-nativesdk

2012-12-12 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 toolchain-layer/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb 
b/toolchain-layer/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb
index e0af4aa..788391a 100644
--- a/toolchain-layer/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb
+++ b/toolchain-layer/recipes-devtools/gcc/gcc-cross-canadian_4.6.bb
@@ -5,8 +5,8 @@ require recipes-devtools/gcc/gcc-cross-canadian.inc
 require recipes-devtools/gcc/gcc-configure-sdk.inc
 require recipes-devtools/gcc/gcc-package-sdk.inc
 
-DEPENDS += gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk
-RDEPENDS_${PN} += mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk
+DEPENDS += nativesdk-gmp nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils
+RDEPENDS_${PN} += nativesdk-mpfr nativesdk-libmpc nativesdk-elfutils
 
 SYSTEMHEADERS = /usr/include
 SYSTEMLIBS = /lib/
-- 
1.8.0


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


[oe] [PATCH 2/2] libgcc: s/virtclass/class/ to make it up-to-date

2012-12-12 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 toolchain-layer/recipes-devtools/gcc/libgcc_4.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toolchain-layer/recipes-devtools/gcc/libgcc_4.6.bb 
b/toolchain-layer/recipes-devtools/gcc/libgcc_4.6.bb
index 8529755..4dade08 100644
--- a/toolchain-layer/recipes-devtools/gcc/libgcc_4.6.bb
+++ b/toolchain-layer/recipes-devtools/gcc/libgcc_4.6.bb
@@ -5,7 +5,7 @@ INHIBIT_DEFAULT_DEPS = 1
 DEPENDS = virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++
 
 PKGSUFFIX = 
-PKGSUFFIX_virtclass-nativesdk = -nativesdk
+PKGSUFFIX_class-nativesdk = -nativesdk
 
 PACKAGES = \
   ${PN} \
-- 
1.8.0


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


[oe] [PATCH] postgresql: disable spinlocks for AArch64

2012-12-12 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/postgresql/postgresql.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc 
b/meta-oe/recipes-support/postgresql/postgresql.inc
index eeda729..4e7aec2 100644
--- a/meta-oe/recipes-support/postgresql/postgresql.inc
+++ b/meta-oe/recipes-support/postgresql/postgresql.inc
@@ -19,6 +19,7 @@ inherit autotools pkgconfig
 
 EXTRA_OECONF = --disable-rpath
 EXTRA_OECONF_sh4 = --disable-spinlocks --disable-rpath
+EXTRA_OECONF_aarch64 += --disable-spinlocks
 
 do_compile_append() {
  cp /usr/sbin/zic ${S}/src/timezone/
-- 
1.8.0


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


[oe] Why I got /usr/lib64 with AArch64?

2012-12-12 Thread Marcin Juszkiewicz
Hello

I am doing world build to find out what in OE does not want to build for
AArch64 (armv8, 64-bit arm) architecture.

One of entries was libimobiledevice which failed at configure stage. But
fault was somewhere else: usbmuxd got library and pkg-config files
stored in /usr/lib64/ dir which was not picked up.

I looked a bit and suspect cmake (as usbmuxd uses it) but no idea why it
went that way.

Can someone help?

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


Re: [oe] php-cgi cannot install package

2012-12-04 Thread Marcin Juszkiewicz
W dniu 04.12.2012 13:29, Jack Mitchell pisze:
 I tried to build the recently commited PHP changes today and received
 this error at do_rootfs, any ideas?
 
 The only package I select is php-cgi through IMAGE_INSTALL.

Good catch. Looks like enabling FPM disabled CGI interface.

But for performance reasons I suggest switch to FPM.


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


Re: [oe] [meta-webserver][PATCH 1/7] mysql: upgrade to 5.1.66

2012-11-30 Thread Marcin Juszkiewicz
W dniu 25.11.2012 18:25, Eric Bénard pisze:
 Signed-off-by: Eric Bénard e...@eukrea.com
 ---
  .../recipes-support/mysql/mysql5-native_5.1.40.bb  |  24 ---
  .../recipes-support/mysql/mysql5-native_5.1.66.bb  |  24 +++

5.1.66 crashes on AArch64. Will debug it soon but do not hold because of
it (I can keep local copy of 5.1.40 until fix).


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


Re: [oe] [meta-oe][PATCH 1/3] php: upgrade to 5.3.19

2012-11-28 Thread Marcin Juszkiewicz
For whole patchset as it works great on AArch64:

Acked-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org


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


Re: [oe] [meta-oe][PATCH 3/3] php: enable php-fpm

2012-11-28 Thread Marcin Juszkiewicz
W dniu 27.11.2012 17:16, Eric Bénard pisze:
 - php-fpm is an alternative PHP FastCGI implementation which seems to
 be now prefered to php-fcgi
 - this patch enable the build of php-fpm and packages it in its own
 package
 - it's tested with hiawatha on an armv5te target

I tested with Apache 2.4.3 on AArch64 target. Works fine after extra 3
lines of configuration. I wonder what would be best place for those -
maybe php-fpm-apache?

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


[oe] [meta-oe][PATCH] php: add apache configuration for php-fpm

2012-11-28 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-devtools/php/php.inc   | 8 ++--
 meta-oe/recipes-devtools/php/php_5.3.19.bb | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/php/php.inc 
b/meta-oe/recipes-devtools/php/php.inc
index 7850c1e..5e5a087 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -7,7 +7,7 @@ DEPENDS = zlib libxml2 virtual/libiconv php-native 
lemon-native mysql5 \
libc-client openssl sqlite3
 DEPENDS_virtclass-native = zlib-native libxml2-native
 
-INC_PR = r2
+INC_PR = r3
 
 SRC_URI = http://www.php.net/distributions/php-${PV}.tar.bz2;
 
@@ -65,6 +65,8 @@ do_install_append_pn-php() {
 rm -rf ${D}/.[a-z]*
 sed -i 's:${STAGING_DIR_NATIVE}::g' ${D}/${sysconfdir}/pear.conf
 install -m 0644 ${WORKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf
+install -d ${D}/${sysconfdir}/apache2/conf.d
+install -m 0644 ${WORKDIR}/php-fpm-apache.conf 
${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf
 install -d ${D}${sysconfdir}/init.d
 sed -i 's:=/usr/sbin:=${sbindir}:g' ${S}/sapi/fpm/init.d.php-fpm
 sed -i 's:=/etc:=${sysconfdir}:g' ${S}/sapi/fpm/init.d.php-fpm
@@ -72,7 +74,7 @@ do_install_append_pn-php() {
 install -m 0755 ${S}/sapi/fpm/init.d.php-fpm 
${D}${sysconfdir}/init.d/php-fpm
 }
 
-PACKAGES = ${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-pear ${PN}-dev 
${PN}-staticdev ${PN}-doc ${PN}
+PACKAGES = ${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 
${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}
 
 RDEPENDS_${PN}-pear = ${PN}
 RDEPENDS_${PN}-cli = ${PN}
@@ -86,7 +88,9 @@ FILES_${PN}-doc += ${libdir}/php/doc
 FILES_${PN}-cli = ${bindir}/php
 FILES_${PN}-cgi = ${bindir}/php-cgi
 FILES_${PN}-fpm = ${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf 
${datadir}/fpm ${sysconfdir}/init.d/php-fpm
+FILES_${PN}-fpm-apache2 = ${sysconfdir}/apache2/conf.d/php-fpm.conf
 CONFFILES_${PN}-fpm = ${sysconfdir}/php-fpm.conf
+CONFFILES_${PN}-fpm-apache2 = ${sysconfdir}/apache2/conf.d/php-fpm.conf
 INITSCRIPT_NAME_${PN}-fpm = php-fpm
 INITSCRIPT_PARAMS_${PN}-fpm = defaults 60
 FILES_${PN}-pear = ${bindir}/pear* ${bindir}/pecl ${libdir}/php/PEAR \
diff --git a/meta-oe/recipes-devtools/php/php_5.3.19.bb 
b/meta-oe/recipes-devtools/php/php_5.3.19.bb
index 27baa1d..8204104 100644
--- a/meta-oe/recipes-devtools/php/php_5.3.19.bb
+++ b/meta-oe/recipes-devtools/php/php_5.3.19.bb
@@ -15,6 +15,7 @@ SRC_URI_append_pn-php += file://iconv.patch \
 file://php_exec_native.patch \
 file://fix-fpm-cross-compile.patch \
 file://php-fpm.conf \
+file://php-fpm-apache.conf \
 
 
 SRC_URI[md5sum] = e1d2a3ec7849d4b3032bd1abf1916aa4
-- 
1.8.0


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


[oe] [meta-oe][PATCH] php: add apache configuration for php-fpm

2012-11-28 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-devtools/php/php.inc | 8 ++--
 meta-oe/recipes-devtools/php/php/php-fpm-apache.conf | 6 ++
 meta-oe/recipes-devtools/php/php_5.3.19.bb   | 1 +
 3 files changed, 13 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/php/php/php-fpm-apache.conf

diff --git a/meta-oe/recipes-devtools/php/php.inc 
b/meta-oe/recipes-devtools/php/php.inc
index 7850c1e..5e5a087 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -7,7 +7,7 @@ DEPENDS = zlib libxml2 virtual/libiconv php-native 
lemon-native mysql5 \
libc-client openssl sqlite3
 DEPENDS_virtclass-native = zlib-native libxml2-native
 
-INC_PR = r2
+INC_PR = r3
 
 SRC_URI = http://www.php.net/distributions/php-${PV}.tar.bz2;
 
@@ -65,6 +65,8 @@ do_install_append_pn-php() {
 rm -rf ${D}/.[a-z]*
 sed -i 's:${STAGING_DIR_NATIVE}::g' ${D}/${sysconfdir}/pear.conf
 install -m 0644 ${WORKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf
+install -d ${D}/${sysconfdir}/apache2/conf.d
+install -m 0644 ${WORKDIR}/php-fpm-apache.conf 
${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf
 install -d ${D}${sysconfdir}/init.d
 sed -i 's:=/usr/sbin:=${sbindir}:g' ${S}/sapi/fpm/init.d.php-fpm
 sed -i 's:=/etc:=${sysconfdir}:g' ${S}/sapi/fpm/init.d.php-fpm
@@ -72,7 +74,7 @@ do_install_append_pn-php() {
 install -m 0755 ${S}/sapi/fpm/init.d.php-fpm 
${D}${sysconfdir}/init.d/php-fpm
 }
 
-PACKAGES = ${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-pear ${PN}-dev 
${PN}-staticdev ${PN}-doc ${PN}
+PACKAGES = ${PN}-dbg ${PN}-cli ${PN}-cgi ${PN}-fpm ${PN}-fpm-apache2 
${PN}-pear ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}
 
 RDEPENDS_${PN}-pear = ${PN}
 RDEPENDS_${PN}-cli = ${PN}
@@ -86,7 +88,9 @@ FILES_${PN}-doc += ${libdir}/php/doc
 FILES_${PN}-cli = ${bindir}/php
 FILES_${PN}-cgi = ${bindir}/php-cgi
 FILES_${PN}-fpm = ${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf 
${datadir}/fpm ${sysconfdir}/init.d/php-fpm
+FILES_${PN}-fpm-apache2 = ${sysconfdir}/apache2/conf.d/php-fpm.conf
 CONFFILES_${PN}-fpm = ${sysconfdir}/php-fpm.conf
+CONFFILES_${PN}-fpm-apache2 = ${sysconfdir}/apache2/conf.d/php-fpm.conf
 INITSCRIPT_NAME_${PN}-fpm = php-fpm
 INITSCRIPT_PARAMS_${PN}-fpm = defaults 60
 FILES_${PN}-pear = ${bindir}/pear* ${bindir}/pecl ${libdir}/php/PEAR \
diff --git a/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf 
b/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf
new file mode 100644
index 000..77cdd82
--- /dev/null
+++ b/meta-oe/recipes-devtools/php/php/php-fpm-apache.conf
@@ -0,0 +1,6 @@
+# Taken from http://wiki.apache.org/httpd/PHP-FPM
+
+LoadModule proxy_module  lib/apache2/modules/mod_proxy.so
+LoadModule proxy_fcgi_module lib/apache2/modules/mod_proxy_fcgi.so
+
+ProxyPassMatch ^/(.*\.php(/.*)?)$ 
fcgi://127.0.0.1:9000/usr/share/apache2/htdocs/
diff --git a/meta-oe/recipes-devtools/php/php_5.3.19.bb 
b/meta-oe/recipes-devtools/php/php_5.3.19.bb
index 27baa1d..8204104 100644
--- a/meta-oe/recipes-devtools/php/php_5.3.19.bb
+++ b/meta-oe/recipes-devtools/php/php_5.3.19.bb
@@ -15,6 +15,7 @@ SRC_URI_append_pn-php += file://iconv.patch \
 file://php_exec_native.patch \
 file://fix-fpm-cross-compile.patch \
 file://php-fpm.conf \
+file://php-fpm-apache.conf \
 
 
 SRC_URI[md5sum] = e1d2a3ec7849d4b3032bd1abf1916aa4
-- 
1.8.0


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


[oe] [meta-oe][PATCH] xfsprogs: updated to 3.1.8, added gnu-configize

2012-11-28 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../remove-install-as-user.patch  | 0
 .../xfsprogs/{xfsprogs_3.1.7.bb = xfsprogs_3.1.8.bb} | 8 +---
 2 files changed, 5 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/xfsprogs/{xfsprogs-3.1.7 = 
xfsprogs-3.1.8}/remove-install-as-user.patch (100%)
 rename meta-oe/recipes-support/xfsprogs/{xfsprogs_3.1.7.bb = 
xfsprogs_3.1.8.bb} (86%)

diff --git 
a/meta-oe/recipes-support/xfsprogs/xfsprogs-3.1.7/remove-install-as-user.patch 
b/meta-oe/recipes-support/xfsprogs/xfsprogs-3.1.8/remove-install-as-user.patch
similarity index 100%
rename from 
meta-oe/recipes-support/xfsprogs/xfsprogs-3.1.7/remove-install-as-user.patch
rename to 
meta-oe/recipes-support/xfsprogs/xfsprogs-3.1.8/remove-install-as-user.patch
diff --git a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb 
b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb
similarity index 86%
rename from meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb
rename to meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb
index 3bc4897..f83561d 100644
--- a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb
+++ b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.8.bb
@@ -5,13 +5,14 @@ LICENSE = GPLv2
 LICENSE_libhandle = LGPLv2.1
 LIC_FILES_CHKSUM = file://doc/COPYING;md5=dbdb5f4329b7e7145de650e9ecd4ac2a
 DEPENDS = util-linux
-PR = r1
+PR = r0
 
 SRC_URI = ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz \
file://remove-install-as-user.patch \
 
-SRC_URI[md5sum] = 049cf9873794ea49d0bb3f12d45748a4
-SRC_URI[sha256sum] = 
e150914210ac5fd29c098ef0fd94bdec51d2fb231cf9faa765c16ec6d75c8eaa
+
+SRC_URI[md5sum] = f70b2e7200d4c29f0af1cf70e7be1db6
+SRC_URI[sha256sum] = 
74409e2e3748074999df25c00f722621659a0bd3607e677f0bcc4373b8c93eab
 
 inherit autotools
 
@@ -26,6 +27,7 @@ FILES_libhandle = ${base_libdir}/libhandle${SOLIBS}
 EXTRA_OECONF = --enable-gettext=no
 do_configure () {
export DEBUG=-DNDEBUG
+   gnu-configize --force
oe_runconf
 }
 
-- 
1.8.0


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


[oe] [meta-oe][PATCH] zsh: added gnu-configize to do_configure()

2012-11-28 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-extended/zsh/zsh.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-extended/zsh/zsh.inc 
b/meta-oe/recipes-extended/zsh/zsh.inc
index cacce91..9713cfc 100644
--- a/meta-oe/recipes-extended/zsh/zsh.inc
+++ b/meta-oe/recipes-extended/zsh/zsh.inc
@@ -35,6 +35,7 @@ ALTERNATIVE_PRIORITY = 100
 export AUTOHEADER = true
 
 do_configure () {
+gnu-configize --force
 oe_runconf
 }
 
-- 
1.8.0


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


[oe] [meta-oe][PATCH 7/9] midori: move to meta-gnome due to libnotify

2012-11-23 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 {meta-oe = meta-gnome}/recipes-connectivity/midori/midori_0.4.6.bb | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename {meta-oe = meta-gnome}/recipes-connectivity/midori/midori_0.4.6.bb 
(100%)

diff --git a/meta-oe/recipes-connectivity/midori/midori_0.4.6.bb 
b/meta-gnome/recipes-connectivity/midori/midori_0.4.6.bb
similarity index 100%
rename from meta-oe/recipes-connectivity/midori/midori_0.4.6.bb
rename to meta-gnome/recipes-connectivity/midori/midori_0.4.6.bb
-- 
1.8.0


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


[oe] [meta-oe][PATCH 2/9] openmotif: remove due to lack of libxp in repository

2012-11-23 Thread Marcin Juszkiewicz
ERROR: Nothing PROVIDES 'libxp' (but 
/home/hrw/HDD/devel/canonical/aarch64/meta-openembedded/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
 DEPENDS on or otherwise requires it)
ERROR: Required build target 'openmotif' has no buildable providers.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../openmotif/openmotif/configure.patch| 15 -
 .../recipes-support/openmotif/openmotif_2.3.3.bb   | 38 --
 2 files changed, 53 deletions(-)
 delete mode 100644 meta-oe/recipes-support/openmotif/openmotif/configure.patch
 delete mode 100644 meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb

diff --git a/meta-oe/recipes-support/openmotif/openmotif/configure.patch 
b/meta-oe/recipes-support/openmotif/openmotif/configure.patch
deleted file mode 100644
index 8868e80..000
--- a/meta-oe/recipes-support/openmotif/openmotif/configure.patch
+++ /dev/null
@@ -1,15 +0,0 @@
 a/configure.ac~2009-10-27 14:10:23.0 -0200
-+++ b/configure.ac 2011-05-31 10:51:00.207232036 -0300
-@@ -3,12 +3,6 @@
- AC_CONFIG_SRCDIR([lib/Xm/Form.c])
- AC_PREREQ(2.52)
- AC_CONFIG_AUX_DIR(.)
--AC_CHECK_FILE(/usr/X/include/X11/X.h,
--  AC_PREFIX_DEFAULT(/usr/X),
--  AC_PREFIX_DEFAULT(/usr))
--AC_CHECK_FILE(/usr/X11R6/include/X11/X.h,
--  AC_PREFIX_DEFAULT(/usr/X11R6),
--  AC_PREFIX_DEFAULT(/usr))
- 
- dnl AM_MAINTAINER_MODE
- AC_CANONICAL_TARGET
diff --git a/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb 
b/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
deleted file mode 100644
index 2e9c2de..000
--- a/meta-oe/recipes-support/openmotif/openmotif_2.3.3.bb
+++ /dev/null
@@ -1,38 +0,0 @@
-SECTION = libs
-DESCRIPTION = OSM/Motif implementation.
-LICENSE = OGPL
-DEPENDS = xbitmaps virtual/libx11 libxt libxp
-
-LIC_FILES_CHKSUM = file://LICENSE;md5=14f692c82491db3d52419929d2f3b343
-
-SRC_URI = 
http://openmotif.com/files/public_downloads/openmotif/2.3/2.3.3/openmotif-2.3.3.tar.gz
 \
-   file://configure.patch;patch=1
-
-SRC_URI[md5sum] = fd27cd3369d6c7d5ef79eccba524f7be
-SRC_URI[sha256sum] = 
c85f5545e218fa0c59a3789192132d472fc5a33e914a221a568eee4fc10cd103
-
-inherit autotools
-
-PACKAGES += ${PN}-bin
-
-FILES_${PN}-bin = ${bindir}
-
-do_compile() {
-   (
-   # HACK: build a native binaries need during the build
-   unset CC LD CXX CCLD CFLAGS
-   oe_runmake -C config/util CC=${BUILD_CC} LD=${BUILD_LD} 
CXX=${BUILD_CXX} LIBS= makestrs
-)
-if [ $? != 0 ]; then
-exit 1
-fi
-oe_runmake -C lib
-oe_runmake -C include
-}
-
-do_install() {
-oe_runmake DESTDIR=${D} -C lib install
-oe_runmake DESTDIR=${D} -C include install
-}
-
-LEAD_SONAME = libXm.so.4
-- 
1.8.0


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


[oe] Yet another set of 'world' build cleanups

2012-11-23 Thread Marcin Juszkiewicz
I know that meta-oe is not granted to build world buildable. But it is
nice to be able to run bitbake world and have it done something other
then complaining about broken build dependencies.

Parts of that changeset were sent to ML in past but this time I took a
bit of time to clean them.

I moved few recipes to other layers, dropped few and changed some build
dependencies. Not granted that those patches are proper way to do it.


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


[oe] [meta-oe][PATCH 1/9] navit: remove from repository due to lack of gypsy

2012-11-23 Thread Marcin Juszkiewicz
ERROR: Nothing PROVIDES 'gypsy' (but 
meta-openembedded/meta-oe/recipes-navigation/navit/navit_svn.bb DEPENDS on or 
otherwise requires it)
ERROR: Required build target 'navit' has no buildable providers.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-navigation/navit/navit-fpu.inc |  6 --
 meta-oe/recipes-navigation/navit/navit.inc | 88 --
 meta-oe/recipes-navigation/navit/navit/maps.xml| 24 --
 meta-oe/recipes-navigation/navit/navit/navit.xml   | 45 ---
 meta-oe/recipes-navigation/navit/navit/osd.xml | 15 
 meta-oe/recipes-navigation/navit/navit/plugins.xml |  6 --
 meta-oe/recipes-navigation/navit/navit/speech.xml  |  8 --
 .../navit/taking-address-of-temporary-array.patch  | 76 ---
 meta-oe/recipes-navigation/navit/navit_svn.bb  | 10 ---
 9 files changed, 278 deletions(-)
 delete mode 100644 meta-oe/recipes-navigation/navit/navit-fpu.inc
 delete mode 100644 meta-oe/recipes-navigation/navit/navit.inc
 delete mode 100644 meta-oe/recipes-navigation/navit/navit/maps.xml
 delete mode 100644 meta-oe/recipes-navigation/navit/navit/navit.xml
 delete mode 100644 meta-oe/recipes-navigation/navit/navit/osd.xml
 delete mode 100644 meta-oe/recipes-navigation/navit/navit/plugins.xml
 delete mode 100644 meta-oe/recipes-navigation/navit/navit/speech.xml
 delete mode 100644 
meta-oe/recipes-navigation/navit/navit/taking-address-of-temporary-array.patch
 delete mode 100644 meta-oe/recipes-navigation/navit/navit_svn.bb

diff --git a/meta-oe/recipes-navigation/navit/navit-fpu.inc 
b/meta-oe/recipes-navigation/navit/navit-fpu.inc
deleted file mode 100644
index d963702..000
--- a/meta-oe/recipes-navigation/navit/navit-fpu.inc
+++ /dev/null
@@ -1,6 +0,0 @@
-
-def get_navit_fpu_setting(bb, d):
-if d.getVar('TARGET_FPU', 1) in [ 'soft' ]:
-return --enable-avoid-float
-return 
-
diff --git a/meta-oe/recipes-navigation/navit/navit.inc 
b/meta-oe/recipes-navigation/navit/navit.inc
deleted file mode 100644
index dc2370b..000
--- a/meta-oe/recipes-navigation/navit/navit.inc
+++ /dev/null
@@ -1,88 +0,0 @@
-DESCRIPTION = Navit is a car navigation system with routing engine.
-LICENSE = GPLv2 LGPLv2
-LIC_FILES_CHKSUM = file://COPYING;md5=ed539d099d6ce08de6ea0dfed9ecb333 \
-file://LGPL-2;md5=3214f080875748938ba060314b4f727d \
-file://GPL-2;md5=751419260aa954499f7abaabaa882bbe \
-
-
-SECTION = x11/applications
-DEPENDS = glib-2.0 gtk+ qt4-x11-free gd gypsy librsvg-native
-RDEPENDS_${PN} =  ${PN}-icons ${PN}-config 
-RDEPENDS_${PN}-gui-qml = qt4-plugin-imageformat-svg
-RRECOMMENDS_${PN} = gpsd ${PN}-dbus ${PN}-speech-cmdline ${PN}-gui-internal 
${PN}-graphics-gtk
-RSUGGESTS_${PN} = flite-alsa espeak ${PN}-speech-dbus ${PN}-gui-gtk 
${PN}-gui-qml ${PN}-graphics-sdl ${PN}-graphics-qt ${PN}-maptool
-
-PE = 1
-INC_PR = r9
-
-inherit autotools gettext
-
-EXTRA_OECONF +=  \
-  --disable-binding-python \
-  --disable-samplemap \
-  --enable-avoid-unaligned \
-  --enable-graphics-qt-qpainter \
-  --enable-gui-qml \
-  --enable-svg2png-scaling-flag=32 \
-  --disable-speech-speech-dispatcher \
-  --enable-cache-size=20971520 \
-
-
-#  --enable-avoid-float \
-#check for TARGET_FPU=soft and inform configure of the result so it can 
disable some floating points
-require navit-fpu.inc
-EXTRA_OECONF += ${@get_navit_fpu_setting(bb, d)}
-
-PACKAGES =+ ${PN}-maptool ${PN}-config ${PN}-dbus ${PN}-speech-cmdline 
${PN}-speech-dbus ${PN}-gui-gtk ${PN}-gui-internal ${PN}-gui-qml 
${PN}-graphics-sdl ${PN}-graphics-gtk ${PN}-graphics-qt ${PN}-icons
-
-EXTRA_AUTORECONF =  -I m4
-
-CONFFILES_${PN}-config += ${datadir}/navit/navit.default.xml \
-${datadir}/navit/navit.xml \
-${datadir}/navit/maps.xml \
-${datadir}/navit/osd.xml \
-${datadir}/navit/speech.xml \
-${datadir}/navit/plugins.xml \
-   
-
-SRC_URI += file://navit.xml \
-file://maps.xml \
-file://osd.xml \
-file://speech.xml \
-file://plugins.xml \
-   
-
-FILES_${PN} += ${libdir}/${PN}/*/*.so ${datadir}/icons
-FILES_${PN}-dbg += ${libdir}/${PN}/*/.debug
-FILES_${PN}-maptool =  ${bindir}/maptool 
-FILES_${PN}-config =  ${datadir}/navit/*.xml 
-FILES_${PN}-dbus =  ${datadir}/dbus-1/services/ 
${libdir}/${PN}/binding/libbinding_dbus.so 
-FILES_${PN}-speech-cmdline =  ${libdir}/${PN}/speech/libspeech_cmdline.so 
-FILES_${PN}-speech-dbus =  ${libdir}/${PN}/speech/libspeech_dbus.so 
-FILES_${PN}-gui-gtk =  ${libdir}/${PN}/gui/libgui_gtk.so 
-FILES_${PN}-gui-qml =  ${libdir}/${PN}/gui/libgui_qml.so 
${datadir}/navit/skins/ 
-FILES_${PN}-gui-internal =  ${libdir}/${PN}/gui/libgui_internal.so 
-FILES_${PN}-graphics-sdl =  ${libdir}/${PN}/graphics/libgraphics_sdl.so 
-FILES_${PN}-graphics-qt =  
${libdir}/${PN}/graphics/libgraphics_qt_qpainter.so 
-FILES_${PN}-graphics

[oe] [meta-oe][PATCH 4/9] packagegroup-cli-tools: remove mdbus2, mterm2, mkdump, mioctl

2012-11-23 Thread Marcin Juszkiewicz
Missing or unbuildable dependency chain was: ['mdbus2']
Missing or unbuildable dependency chain was: ['mterm2']
Missing or unbuildable dependency chain was: ['mkdump']
Missing or unbuildable dependency chain was: ['mioctl']

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-core/packagegroups/packagegroup-cli-tools.bb | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-cli-tools.bb 
b/meta-oe/recipes-core/packagegroups/packagegroup-cli-tools.bb
index 07fb056..88b62b8 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-cli-tools.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-cli-tools.bb
@@ -4,7 +4,7 @@ SECTION = console
 LICENSE = MIT
 LIC_FILES_CHKSUM = 
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420
 PV = 1.0
-PR = r20
+PR = r21
 
 inherit packagegroup allarch
 
@@ -24,9 +24,7 @@ RDEPENDS_${PN} = \
   iptables \
   lsof \
   mbuffer \
-  mdbus2 \
   mtd-utils \
-  mterm2 \
   nano \
   nfs-utils-client \
   nmon \
@@ -41,8 +39,6 @@ RDEPENDS_${PN}-debug = \
   devmem2 \
   i2c-tools \
   gdb \
-  mkdump \
-  mioctl \
   procps \
   pxaregs \
   s3c24xx-gpio \
-- 
1.8.0


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


[oe] [meta-oe][PATCH 6/9] fbreader: move to meta-gpe due to libgpewidget dependency

2012-11-23 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-support/fbreader/fbreader-0.12.10/Makefile.patch  | 0
 .../recipes-support/fbreader/fbreader-0.12.10/gcc45.patch | 0
 {meta-oe = meta-gpe}/recipes-support/fbreader/fbreader_0.12.10.bb| 0
 {meta-oe = meta-gpe}/recipes-support/fbreader/fbreader_git.bb| 0
 .../files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch | 0
 5 files changed, 0 insertions(+), 0 deletions(-)
 rename {meta-oe = 
meta-gpe}/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch (100%)
 rename {meta-oe = 
meta-gpe}/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch (100%)
 rename {meta-oe = meta-gpe}/recipes-support/fbreader/fbreader_0.12.10.bb 
(100%)
 rename {meta-oe = meta-gpe}/recipes-support/fbreader/fbreader_git.bb (100%)
 rename {meta-oe = 
meta-gpe}/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch
 (100%)

diff --git a/meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch 
b/meta-gpe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch
similarity index 100%
rename from meta-oe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch
rename to meta-gpe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch
diff --git a/meta-oe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch 
b/meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
similarity index 100%
rename from meta-oe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
rename to meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
diff --git a/meta-oe/recipes-support/fbreader/fbreader_0.12.10.bb 
b/meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb
similarity index 100%
rename from meta-oe/recipes-support/fbreader/fbreader_0.12.10.bb
rename to meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb
diff --git a/meta-oe/recipes-support/fbreader/fbreader_git.bb 
b/meta-gpe/recipes-support/fbreader/fbreader_git.bb
similarity index 100%
rename from meta-oe/recipes-support/fbreader/fbreader_git.bb
rename to meta-gpe/recipes-support/fbreader/fbreader_git.bb
diff --git 
a/meta-oe/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch
 
b/meta-gpe/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch
similarity index 100%
rename from 
meta-oe/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch
rename to 
meta-gpe/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch
-- 
1.8.0


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


[oe] [meta-oe][PATCH 3/9] mplayer2: move lame into ENTERPRISE_DISTRO check

2012-11-23 Thread Marcin Juszkiewicz
Lame was in two places in build dependencies.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb 
b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
index 4e3c18b..685a0bb 100644
--- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = Open Source multimedia player.
 SECTION = multimedia
 HOMEPAGE = http://www.mplayerhq.hu/;
 DEPENDS = libvpx live555 libdvdread libtheora virtual/libsdl ffmpeg xsp zlib \
-   libpng jpeg liba52 freetype fontconfig alsa-lib lzo ncurses lame \
+   libpng jpeg liba52 freetype fontconfig alsa-lib lzo ncurses \
libxv virtual/libx11 libass speex \
   ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad liba52 
lame', d)}
 
-- 
1.8.0


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


[oe] [meta-oe][PATCH 9/9] python-phoneutils: drop due to lack of libphone-utils

2012-11-23 Thread Marcin Juszkiewicz
ERROR: Nothing PROVIDES 'libphone-utils' (but 
meta-openembedded/meta-oe/recipes-devtools/python/python-phoneutils_git.bb 
DEPENDS on or otherwise requires it)
ERROR: Required build target 'python-phoneutils' has no buildable providers.

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-devtools/python/python-phoneutils_git.bb | 15 ---
 1 file changed, 15 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/python/python-phoneutils_git.bb

diff --git a/meta-oe/recipes-devtools/python/python-phoneutils_git.bb 
b/meta-oe/recipes-devtools/python/python-phoneutils_git.bb
deleted file mode 100644
index 36f5241..000
--- a/meta-oe/recipes-devtools/python/python-phoneutils_git.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-DESCRIPTION = Python Bindings for libphone-utils
-SECTION = devel/python
-DEPENDS = libphone-utils python-cython-native python-pyrex-native
-RDEPENDS_${PN} = libphone-utils
-LICENSE = LGPLv2.1+
-LIC_FILES_CHKSUM = 
file://phoneutils/c_phoneutils.pyx;endline=18;md5=ca321e4ec3a30a44469b23ebca782665
-
-SRCREV = 8a7c719e0c3f1f8c10f77f17422da02d7177f0dd
-PV = 0.0.2+gitr${SRCPV}
-PR = r5
-
-SRC_URI = 
git://git.shr-project.org/repo/libphone-utils.git;protocol=http;branch=master
-S = ${WORKDIR}/git/src/python
-
-inherit setuptools
-- 
1.8.0


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


[oe] [meta-oe][PATCH 5/9] devilspie2: move to meta-gnome (libwnck is there)

2012-11-23 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 .../recipes-gnome}/devilspie/devilspie2_0.24.bb   | 0
 .../recipes-gnome}/devilspie/files/default.lua| 0
 .../recipes-gnome}/devilspie/files/devilspie2.desktop | 0
 3 files changed, 0 insertions(+), 0 deletions(-)
 rename {meta-oe/recipes-graphics = 
meta-gnome/recipes-gnome}/devilspie/devilspie2_0.24.bb (100%)
 rename {meta-oe/recipes-graphics = 
meta-gnome/recipes-gnome}/devilspie/files/default.lua (100%)
 rename {meta-oe/recipes-graphics = 
meta-gnome/recipes-gnome}/devilspie/files/devilspie2.desktop (100%)

diff --git a/meta-oe/recipes-graphics/devilspie/devilspie2_0.24.bb 
b/meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb
similarity index 100%
rename from meta-oe/recipes-graphics/devilspie/devilspie2_0.24.bb
rename to meta-gnome/recipes-gnome/devilspie/devilspie2_0.24.bb
diff --git a/meta-oe/recipes-graphics/devilspie/files/default.lua 
b/meta-gnome/recipes-gnome/devilspie/files/default.lua
similarity index 100%
rename from meta-oe/recipes-graphics/devilspie/files/default.lua
rename to meta-gnome/recipes-gnome/devilspie/files/default.lua
diff --git a/meta-oe/recipes-graphics/devilspie/files/devilspie2.desktop 
b/meta-gnome/recipes-gnome/devilspie/files/devilspie2.desktop
similarity index 100%
rename from meta-oe/recipes-graphics/devilspie/files/devilspie2.desktop
rename to meta-gnome/recipes-gnome/devilspie/files/devilspie2.desktop
-- 
1.8.0


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


[oe] [meta-oe][PATCH 8/9] obexd: move to meta-gnome due to libical dependency

2012-11-23 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 {meta-oe = meta-gnome}/recipes-connectivity/obex/obexd_0.44.bb | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename {meta-oe = meta-gnome}/recipes-connectivity/obex/obexd_0.44.bb (100%)

diff --git a/meta-oe/recipes-connectivity/obex/obexd_0.44.bb 
b/meta-gnome/recipes-connectivity/obex/obexd_0.44.bb
similarity index 100%
rename from meta-oe/recipes-connectivity/obex/obexd_0.44.bb
rename to meta-gnome/recipes-connectivity/obex/obexd_0.44.bb
-- 
1.8.0


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


[oe] [PATCH] mysql: make it work after $libexec change - LP: #1068759

2012-11-22 Thread Marcin Juszkiewicz
Mysql start scripts assumed that mysqld is in /usr/libexec/ directory.
It was true until 406bd38b4232f9f399ef5ffe0b4fac72ed605a23 landed in
OE-Core.

This changeset fixes mysqld start and initial databases population
scripts.

More: https://bugs.launchpad.net/linaro-oe/+bug/1068759

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/mysql/mysql5_5.1.40.inc | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc 
b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
index 3867a12..af0ddbb 100644
--- a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
+++ b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
@@ -5,7 +5,7 @@ LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=477ab0a4c8ca64b482b3f2a365d0fdfa
 
 DEPENDS = ncurses
-PR = r10
+PR = r11
 
 SRC_URI = http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \
file://configure.in.patch \
@@ -13,7 +13,7 @@ SRC_URI = 
http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \
file://misc.m4.patch \
file://Makefile.am.patch \
file://fix_host_path.patch \
-  file://configure-ps-cache-check.patch \
+   file://configure-ps-cache-check.patch \
file://fix-abi-check-gcc45.patch \
file://my.cnf \
file://mysqld.sh
@@ -36,6 +36,12 @@ EXTRA_OECONF =  --with-atomic-ops=up --with-embedded-server 
--prefix=/usr --sys
 
 do_configure_append() {
  sed -i /comp_err/d ${S}/sql/share/Makefile
+
+ # handle distros with different values of ${libexecdir}
+ libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
+ sed -i -e s:/libexec:/$libexecdir2:g ${S}/scripts/mysql_install_db.sh
+ sed -i -e s:mysqld libexec:mysqld $libexecdir2:g 
${S}/scripts/mysql_install_db.sh
+ sed -i -e s:/libexec:/$libexecdir2:g ${S}/scripts/mysqld_safe.sh
 }
 
 SYSROOT_PREPROCESS_FUNCS += mysql5_sysroot_preprocess
-- 
1.8.0


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


[oe] [meta-oe][PATCH] mysql: make it work after $libexec change - LP: #1068759

2012-11-22 Thread Marcin Juszkiewicz
Mysql start scripts assumed that mysqld is in /usr/libexec/ directory.
It was true until 406bd38b4232f9f399ef5ffe0b4fac72ed605a23 landed in
OE-Core.

This changeset fixes mysqld start and initial databases population
scripts.

More: https://bugs.launchpad.net/linaro-oe/+bug/1068759

Signed-off-by: Marcin Juszkiewicz marcin.juszkiew...@linaro.org
---
 meta-oe/recipes-support/mysql/mysql5_5.1.40.inc | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc 
b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
index 3867a12..af0ddbb 100644
--- a/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
+++ b/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc
@@ -5,7 +5,7 @@ LICENSE = GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=477ab0a4c8ca64b482b3f2a365d0fdfa
 
 DEPENDS = ncurses
-PR = r10
+PR = r11
 
 SRC_URI = http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \
file://configure.in.patch \
@@ -13,7 +13,7 @@ SRC_URI = 
http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \
file://misc.m4.patch \
file://Makefile.am.patch \
file://fix_host_path.patch \
-  file://configure-ps-cache-check.patch \
+   file://configure-ps-cache-check.patch \
file://fix-abi-check-gcc45.patch \
file://my.cnf \
file://mysqld.sh
@@ -36,6 +36,12 @@ EXTRA_OECONF =  --with-atomic-ops=up --with-embedded-server 
--prefix=/usr --sys
 
 do_configure_append() {
  sed -i /comp_err/d ${S}/sql/share/Makefile
+
+ # handle distros with different values of ${libexecdir}
+ libexecdir2=`echo ${libexecdir} | sed -e 's+/usr/++g'`
+ sed -i -e s:/libexec:/$libexecdir2:g ${S}/scripts/mysql_install_db.sh
+ sed -i -e s:mysqld libexec:mysqld $libexecdir2:g 
${S}/scripts/mysql_install_db.sh
+ sed -i -e s:/libexec:/$libexecdir2:g ${S}/scripts/mysqld_safe.sh
 }
 
 SYSROOT_PREPROCESS_FUNCS += mysql5_sysroot_preprocess
-- 
1.8.0


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


Re: [oe] evolution-data-server and php-native broken by libxml2 upgrade in oe-core

2012-11-22 Thread Marcin Juszkiewicz
W dniu 22.11.2012 13:34, Martin Jansa pisze:
 Just FYI:
 
 meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb
 virtual:native:meta-openembedded/meta-oe/recipes-devtools/php/php_5.3.6.bb
 
 are broken after lixml2 upgrade from 2.8.0 to 2.9.0 (oe-core rev
 a65ea43e26866ddc60051c52b2eb226507fae346)
 
 They are pretty low priority for me right now, so I'm just sending this
 e-mail instead of patches :). 
 
 Hrw is already working on php.

I was working on php 5.4.8 which builds with this libxml2 version for
native but fails for my armv8 target.


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


  1   2   3   4   >