summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 18:09:11 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 18:09:57 (GMT)
commitd62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch)
treef36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support
parentcaab7fc509bf27706ff3248689f6afd04225cfda (diff)
downloadpoky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/apr/apr-util/configfix.patch49
-rw-r--r--meta/recipes-support/apr/apr-util/configure_fixes.patch27
-rw-r--r--meta/recipes-support/apr/apr-util/configure_fixes.patch.old25
-rw-r--r--meta/recipes-support/apr/apr-util_1.3.4.bb27
-rw-r--r--meta/recipes-support/apr/apr/cleanup.patch42
-rw-r--r--meta/recipes-support/apr/apr/configfix.patch51
-rw-r--r--meta/recipes-support/apr/apr/configure_fixes.patch66
-rw-r--r--meta/recipes-support/apr/apr_1.3.3.bb34
-rw-r--r--meta/recipes-support/aspell/aspell_0.60.6.bb15
-rw-r--r--meta/recipes-support/atk/atk.inc14
-rw-r--r--meta/recipes-support/atk/atk_1.30.0.bb10
-rw-r--r--meta/recipes-support/attr/acl.inc26
-rw-r--r--meta/recipes-support/attr/acl_2.2.49.bb3
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/double-free.patch18
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/memory-leak-in-copy.patch50
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/memory-leak2.patch18
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch21
-rw-r--r--meta/recipes-support/attr/attr-2.4.44/thinko-in-restore.patch19
-rw-r--r--meta/recipes-support/attr/attr.inc20
-rw-r--r--meta/recipes-support/attr/attr_2.4.44.bb9
-rw-r--r--meta/recipes-support/attr/ea-acl.inc35
-rw-r--r--meta/recipes-support/attr/files/relative-libdir.patch23
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch41
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/fix-security.patch43
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/x64fix.patch23
-rw-r--r--meta/recipes-support/beecrypt/beecrypt_4.1.2.bb21
-rw-r--r--meta/recipes-support/boost/boost-36.inc149
-rw-r--r--meta/recipes-support/boost/boost-jam-native.inc31
-rw-r--r--meta/recipes-support/boost/boost-jam-native_3.1.18.bb4
-rw-r--r--meta/recipes-support/boost/boost_1.44.0.bb27
-rw-r--r--meta/recipes-support/boost/files/1.34.1-gcc43.patch224
-rw-r--r--meta/recipes-support/boost/files/arm-intrinsics.patch53
-rw-r--r--meta/recipes-support/boost/files/atomic_count_gcc_atomicity.patch13
-rw-r--r--meta/recipes-support/boost/files/gcc41.patch14
-rw-r--r--meta/recipes-support/boost/files/gcc43.patch256
-rw-r--r--meta/recipes-support/boost/files/linux-uclibc.patch10
-rw-r--r--meta/recipes-support/boost/files/unit_test_log10f.patch20
-rw-r--r--meta/recipes-support/curl/curl/noldlibpath.patch74
-rw-r--r--meta/recipes-support/curl/curl/pkgconfig_fix.patch35
-rw-r--r--meta/recipes-support/curl/curl_7.21.0.bb54
-rw-r--r--meta/recipes-support/db/db/arm-thumb-mutex.patch36
-rw-r--r--meta/recipes-support/db/db/configure_fixes.patch18
-rw-r--r--meta/recipes-support/db/db_4.2.52.bb97
-rw-r--r--meta/recipes-support/db/db_4.3.29.bb89
-rw-r--r--meta/recipes-support/enchant/enchant_1.6.0.bb22
-rw-r--r--meta/recipes-support/gdbm/gdbm-1.8.3/libtool-mode.patch20
-rw-r--r--meta/recipes-support/gdbm/gdbm-1.8.3/makefile.patch59
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.8.3.bb16
-rw-r--r--meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch31
-rw-r--r--meta/recipes-support/gmp/gmp.inc16
-rw-r--r--meta/recipes-support/gmp/gmp/amd64.patch14
-rw-r--r--meta/recipes-support/gmp/gmp/configure.patch195
-rw-r--r--meta/recipes-support/gmp/gmp/sh4-asmfix.patch26
-rw-r--r--meta/recipes-support/gmp/gmp/use-includedir.patch13
-rw-r--r--meta/recipes-support/gmp/gmp_4.2.1.bb14
-rw-r--r--meta/recipes-support/gmp/gmp_5.0.1.bb7
-rw-r--r--meta/recipes-support/gnutls/gnutls-2.8.6/configure-fix.patch64
-rw-r--r--meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-openssl.patch124
-rw-r--r--meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-texinfo-euro.patch16
-rw-r--r--meta/recipes-support/gnutls/gnutls.inc44
-rw-r--r--meta/recipes-support/gnutls/gnutls_2.8.6.bb7
-rw-r--r--meta/recipes-support/gnutls/libtasn1_2.7.bb21
-rw-r--r--meta/recipes-support/gpgme/gpgme-1.3.0/disable_gpgconf_check.patch38
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.3.0.bb25
-rwxr-xr-xmeta/recipes-support/hal/files/20hal58
-rw-r--r--meta/recipes-support/hal/files/autoconf.diff11
-rw-r--r--meta/recipes-support/hal/files/hal-right-input-h.patch29
-rw-r--r--meta/recipes-support/hal/files/sg-inhibit.patch24
-rw-r--r--meta/recipes-support/hal/hal-info.inc22
-rw-r--r--meta/recipes-support/hal/hal-info_20091130.bb1
-rw-r--r--meta/recipes-support/hal/hal-info_git.bb9
-rw-r--r--meta/recipes-support/hal/hal.inc85
-rw-r--r--meta/recipes-support/hal/hal/configure_fix.patch60
-rw-r--r--meta/recipes-support/hal/hal_0.5.14.bb14
-rw-r--r--meta/recipes-support/hal/hal_git.bb12
-rw-r--r--meta/recipes-support/icu/files/gccfix.patch13
-rw-r--r--meta/recipes-support/icu/files/noldlibpath.patch47
-rw-r--r--meta/recipes-support/icu/files/use-g++-for-linking.patch67
-rw-r--r--meta/recipes-support/icu/icu-3.6.inc55
-rw-r--r--meta/recipes-support/icu/icu_3.6.bb3
-rw-r--r--meta/recipes-support/iso-codes/iso-codes_3.3.bb14
-rw-r--r--meta/recipes-support/js/files/buildcc.patch20
-rw-r--r--meta/recipes-support/js/files/configure.ac28
-rw-r--r--meta/recipes-support/js/files/jsautocfg.h74
-rw-r--r--meta/recipes-support/js/files/link_with_gcc.patch13
-rw-r--r--meta/recipes-support/js/files/usepic.patch24
-rw-r--r--meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb47
-rw-r--r--meta/recipes-support/libassuan/libassuan_2.0.0.bb15
-rw-r--r--meta/recipes-support/libcap/libcap.inc34
-rw-r--r--meta/recipes-support/libcap/libcap_2.19.bb3
-rw-r--r--meta/recipes-support/libcheck/libcheck_0.9.8.bb16
-rw-r--r--meta/recipes-support/libcroco/files/croco.patch13
-rw-r--r--meta/recipes-support/libcroco/libcroco_0.6.2.bb16
-rw-r--r--meta/recipes-support/libdaemon/libdaemon_0.14.bb14
-rw-r--r--meta/recipes-support/libevent/libevent_1.4.14b.bb15
-rw-r--r--meta/recipes-support/libfm/libfm_0.1.12.bb17
-rw-r--r--meta/recipes-support/libfribidi/files/libtool-update.patch11
-rw-r--r--meta/recipes-support/libfribidi/libfribidi_0.10.4.bb23
-rw-r--r--meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch49
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc31
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt_1.4.6.bb3
-rw-r--r--meta/recipes-support/libgdbus/libgdbus_git.bb10
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch53
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.8.bb24
-rw-r--r--meta/recipes-support/libiconv/libiconv_1.9.2.bb21
-rw-r--r--meta/recipes-support/libmpc/libmpc.inc6
-rw-r--r--meta/recipes-support/libmpc/libmpc_0.8.2.bb14
-rw-r--r--meta/recipes-support/libnl/libnl/compilefix.patch12
-rw-r--r--meta/recipes-support/libnl/libnl/local-includes.patch11
-rw-r--r--meta/recipes-support/libnl/libnl_1.1.bb16
-rw-r--r--meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch22
-rw-r--r--meta/recipes-support/liboil/liboil_0.3.17.bb20
-rw-r--r--meta/recipes-support/libpcre/files/pcre-cross.patch25
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.10.bb53
-rw-r--r--meta/recipes-support/libproxy/libproxy_0.4.3.bb26
-rw-r--r--meta/recipes-support/libsoup/libsoup-2.4_2.31.2.bb17
-rw-r--r--meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bb11
-rw-r--r--meta/recipes-support/libsoup/libsoup_2.2.100.bb14
-rw-r--r--meta/recipes-support/liburcu/liburcu_0.4.6.bb24
-rw-r--r--meta/recipes-support/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch13
-rw-r--r--meta/recipes-support/libusb/libusb-compat_0.1.3.bb23
-rw-r--r--meta/recipes-support/libusb/libusb1_1.0.8.bb14
-rw-r--r--meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch22
-rw-r--r--meta/recipes-support/libxslt/libxslt_1.1.26.bb26
-rw-r--r--meta/recipes-support/lzo/lzo-2.03/acinclude.m4358
-rw-r--r--meta/recipes-support/lzo/lzo-2.03/autofoo.patch17
-rw-r--r--meta/recipes-support/lzo/lzo_2.03.bb22
-rw-r--r--meta/recipes-support/mpfr/mpfr.inc6
-rw-r--r--meta/recipes-support/mpfr/mpfr_3.0.0.bb9
-rw-r--r--meta/recipes-support/neon/neon-0.29.3/pkgconfig.patch16
-rw-r--r--meta/recipes-support/neon/neon_0.29.3.bb16
-rw-r--r--meta/recipes-support/ohm/ohm/fix_configure.patch39
-rw-r--r--meta/recipes-support/ohm/ohm_git.bb44
-rw-r--r--meta/recipes-support/openobex/files/disable-cable-test.patch16
-rw-r--r--meta/recipes-support/openobex/files/libusb_crosscompile_check.patch13
-rw-r--r--meta/recipes-support/openobex/openobex_1.5.bb23
-rw-r--r--meta/recipes-support/popt/popt_1.16.bb14
-rw-r--r--meta/recipes-support/pth/pth_2.0.7.bb21
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info.inc28
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info_0.71.bb1
-rw-r--r--meta/recipes-support/sqlite/sqlite3.inc33
-rw-r--r--meta/recipes-support/sqlite/sqlite3/libtool.patch25
-rw-r--r--meta/recipes-support/sqlite/sqlite3_3.6.23.1.bb3
-rw-r--r--meta/recipes-support/vte/vte.inc14
-rw-r--r--meta/recipes-support/vte/vte_0.24.3.bb5
145 files changed, 4896 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr-util/configfix.patch b/meta/recipes-support/apr/apr-util/configfix.patch
new file mode 100644
index 0000000..a8953e5
--- /dev/null
+++ b/meta/recipes-support/apr/apr-util/configfix.patch
@@ -0,0 +1,49 @@
1Index: apr-util-1.3.4/apu-config.in
2===================================================================
3--- apr-util-1.3.4.orig/apu-config.in 2009-01-12 17:08:06.000000000 +0000
4+++ apr-util-1.3.4/apu-config.in 2009-01-12 17:09:00.000000000 +0000
5@@ -134,14 +134,7 @@
6 exit 0
7 ;;
8 --includes)
9- if test "$location" = "installed"; then
10 flags="$flags -I$includedir $INCLUDES"
11- elif test "$location" = "source"; then
12- flags="$flags -I$APU_SOURCE_DIR/include $INCLUDES"
13- else
14- # this is for VPATH builds
15- flags="$flags -I$APU_BUILD_DIR/include -I$APU_SOURCE_DIR/include $INCLUDES"
16- fi
17 ;;
18 --ldflags)
19 flags="$flags $LDFLAGS"
20@@ -155,28 +148,10 @@
21 exit 0
22 ;;
23 --link-ld)
24- if test "$location" = "installed"; then
25- ### avoid using -L if libdir is a "standard" location like /usr/lib
26 flags="$flags -L$libdir -l$APRUTIL_LIBNAME"
27- else
28- flags="$flags -L$APU_BUILD_DIR -l$APRUTIL_LIBNAME"
29- fi
30 ;;
31 --link-libtool)
32- # If the LA_FILE exists where we think it should be, use it. If we're
33- # installed and the LA_FILE does not exist, assume to use -L/-l
34- # (the LA_FILE may not have been installed). If we're building ourselves,
35- # we'll assume that at some point the .la file be created.
36- if test -f "$LA_FILE"; then
37- flags="$flags $LA_FILE"
38- elif test "$location" = "installed"; then
39- ### avoid using -L if libdir is a "standard" location like /usr/lib
40- # Since the user is specifying they are linking with libtool, we
41- # *know* that -R will be recognized by libtool.
42- flags="$flags -L$libdir -R$libdir -l$APRUTIL_LIBNAME"
43- else
44- flags="$flags $LA_FILE"
45- fi
46+ flags="$flags -l$APRUTIL_LIBNAME"
47 ;;
48 --apu-la-file)
49 if test -f "$LA_FILE"; then
diff --git a/meta/recipes-support/apr/apr-util/configure_fixes.patch b/meta/recipes-support/apr/apr-util/configure_fixes.patch
new file mode 100644
index 0000000..0b2a090
--- /dev/null
+++ b/meta/recipes-support/apr/apr-util/configure_fixes.patch
@@ -0,0 +1,27 @@
1Index: apr-util-1.3.4/configure.in
2===================================================================
3--- apr-util-1.3.4.orig/configure.in
4+++ apr-util-1.3.4/configure.in
5@@ -8,14 +8,14 @@ AC_INIT(export_vars.sh.in)
6 AC_CONFIG_HEADER(include/private/apu_config.h)
7 AC_CONFIG_AUX_DIR(build)
8
9-sinclude(build/apu-conf.m4)
10-sinclude(build/apu-iconv.m4)
11-sinclude(build/apu-hints.m4)
12-sinclude(build/apr_common.m4)
13-sinclude(build/find_apr.m4)
14-sinclude(build/dbm.m4)
15-sinclude(build/dbd.m4)
16-sinclude(build/dso.m4)
17+#sinclude(build/apu-conf.m4)
18+#sinclude(build/apu-iconv.m4)
19+#sinclude(build/apu-hints.m4)
20+#sinclude(build/apr_common.m4)
21+#sinclude(build/find_apr.m4)
22+#sinclude(build/dbm.m4)
23+#sinclude(build/dbd.m4)
24+#sinclude(build/dso.m4)
25
26 dnl Generate ./config.nice for reproducing runs of configure
27 dnl
diff --git a/meta/recipes-support/apr/apr-util/configure_fixes.patch.old b/meta/recipes-support/apr/apr-util/configure_fixes.patch.old
new file mode 100644
index 0000000..16f88b3
--- /dev/null
+++ b/meta/recipes-support/apr/apr-util/configure_fixes.patch.old
@@ -0,0 +1,25 @@
1Index: apr-util-1.2.12/configure.in
2===================================================================
3--- apr-util-1.2.12.orig/configure.in 2008-03-08 19:15:00.000000000 +0000
4+++ apr-util-1.2.12/configure.in 2008-03-08 19:15:13.000000000 +0000
5@@ -8,13 +8,13 @@
6 AC_CONFIG_HEADER(include/private/apu_config.h)
7 AC_CONFIG_AUX_DIR(build)
8
9-sinclude(build/apu-conf.m4)
10-sinclude(build/apu-iconv.m4)
11-sinclude(build/apu-hints.m4)
12-sinclude(build/apr_common.m4)
13-sinclude(build/find_apr.m4)
14-sinclude(build/dbm.m4)
15-sinclude(build/dbd.m4)
16+#sinclude(build/apu-conf.m4)
17+#sinclude(build/apu-iconv.m4)
18+#sinclude(build/apu-hints.m4)
19+#sinclude(build/apr_common.m4)
20+#sinclude(build/find_apr.m4)
21+#sinclude(build/dbm.m4)
22+#sinclude(build/dbd.m4)
23
24 dnl Generate ./config.nice for reproducing runs of configure
25 dnl
diff --git a/meta/recipes-support/apr/apr-util_1.3.4.bb b/meta/recipes-support/apr/apr-util_1.3.4.bb
new file mode 100644
index 0000000..2e608e8
--- /dev/null
+++ b/meta/recipes-support/apr/apr-util_1.3.4.bb
@@ -0,0 +1,27 @@
1DESCRIPTION = "Apache Portable Runtime (APR) companion library"
2SECTION = "libs"
3DEPENDS = "apr expat gdbm"
4LICENSE = "Apache License, Version 2.0"
5
6PR = "r5"
7
8SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.gz \
9 file://configfix.patch;patch=1 \
10 file://configure_fixes.patch;patch=1"
11
12EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \
13 --with-dbm=gdbm \
14 --with-gdbm=${STAGING_DIR_HOST}${prefix} \
15 --without-sqlite2 \
16 --without-sqlite3 \
17 --with-expat=${STAGING_DIR_HOST}${prefix}"
18
19
20inherit autotools lib_package binconfig
21
22OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
23
24do_configure_prepend() {
25 cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
26}
27
diff --git a/meta/recipes-support/apr/apr/cleanup.patch b/meta/recipes-support/apr/apr/cleanup.patch
new file mode 100644
index 0000000..fd74826
--- /dev/null
+++ b/meta/recipes-support/apr/apr/cleanup.patch
@@ -0,0 +1,42 @@
1Index: apr-1.3.3/build/buildcheck.sh
2===================================================================
3--- apr-1.3.3.orig/build/buildcheck.sh 2009-01-15 13:32:33.000000000 +0000
4+++ apr-1.3.3/build/buildcheck.sh 2009-01-15 13:33:06.000000000 +0000
5@@ -32,35 +32,4 @@
6 echo "buildconf: autoconf version $ac_version (ok)"
7 fi
8
9-# Sample libtool --version outputs:
10-# ltmain.sh (GNU libtool) 1.3.3 (1.385.2.181 1999/07/02 15:49:11)
11-# ltmain.sh (GNU libtool 1.1361 2004/01/02 23:10:52) 1.5a
12-# output is multiline from 1.5 onwards
13-
14-# Require libtool 1.4 or newer
15-libtool=`build/PrintPath glibtool libtool libtool15 libtool14`
16-lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
17-if test -z "$lt_pversion"; then
18-echo "buildconf: libtool not found."
19-echo " You need libtool version 1.4 or newer installed"
20-echo " to build APR from SVN."
21-exit 1
22-fi
23-lt_version=`echo $lt_pversion|sed -e 's/\([a-z]*\)$/.\1/'`
24-IFS=.; set $lt_version; IFS=' '
25-lt_status="good"
26-if test "$1" = "1"; then
27- if test "$2" -lt "4"; then
28- lt_status="bad"
29- fi
30-fi
31-if test $lt_status = "good"; then
32- echo "buildconf: libtool version $lt_pversion (ok)"
33- exit 0
34-fi
35-
36-echo "buildconf: libtool version $lt_pversion found."
37-echo " You need libtool version 1.4 or newer installed"
38-echo " to build APR from SVN."
39-
40-exit 1
41+exit 0
42\ No newline at end of file
diff --git a/meta/recipes-support/apr/apr/configfix.patch b/meta/recipes-support/apr/apr/configfix.patch
new file mode 100644
index 0000000..995555e
--- /dev/null
+++ b/meta/recipes-support/apr/apr/configfix.patch
@@ -0,0 +1,51 @@
1Index: apr-1.3.3/apr-config.in
2===================================================================
3--- apr-1.3.3.orig/apr-config.in 2009-01-12 15:16:31.000000000 +0000
4+++ apr-1.3.3/apr-config.in 2009-01-12 15:19:25.000000000 +0000
5@@ -152,14 +152,7 @@
6 flags="$flags $LDFLAGS"
7 ;;
8 --includes)
9- if test "$location" = "installed"; then
10 flags="$flags -I$includedir $EXTRA_INCLUDES"
11- elif test "$location" = "source"; then
12- flags="$flags -I$APR_SOURCE_DIR/include $EXTRA_INCLUDES"
13- else
14- # this is for VPATH builds
15- flags="$flags -I$APR_BUILD_DIR/include -I$APR_SOURCE_DIR/include $EXTRA_INCLUDES"
16- fi
17 ;;
18 --srcdir)
19 echo $APR_SOURCE_DIR
20@@ -181,29 +167,14 @@
21 exit 0
22 ;;
23 --link-ld)
24- if test "$location" = "installed"; then
25- ### avoid using -L if libdir is a "standard" location like /usr/lib
26- flags="$flags -L$libdir -l${APR_LIBNAME}"
27- else
28- ### this surely can't work since the library is in .libs?
29- flags="$flags -L$APR_BUILD_DIR -l${APR_LIBNAME}"
30- fi
31+ flags="$flags -l${APR_LIBNAME}"
32 ;;
33 --link-libtool)
34 # If the LA_FILE exists where we think it should be, use it. If we're
35 # installed and the LA_FILE does not exist, assume to use -L/-l
36 # (the LA_FILE may not have been installed). If we're building ourselves,
37 # we'll assume that at some point the .la file be created.
38- if test -f "$LA_FILE"; then
39- flags="$flags $LA_FILE"
40- elif test "$location" = "installed"; then
41- ### avoid using -L if libdir is a "standard" location like /usr/lib
42- # Since the user is specifying they are linking with libtool, we
43- # *know* that -R will be recognized by libtool.
44- flags="$flags -L$libdir -R$libdir -l${APR_LIBNAME}"
45- else
46- flags="$flags $LA_FILE"
47- fi
48+ flags="$flags -l${APR_LIBNAME}"
49 ;;
50 --shlib-path-var)
51 echo "$SHLIBPATH_VAR"
diff --git a/meta/recipes-support/apr/apr/configure_fixes.patch b/meta/recipes-support/apr/apr/configure_fixes.patch
new file mode 100644
index 0000000..86ceb8c
--- /dev/null
+++ b/meta/recipes-support/apr/apr/configure_fixes.patch
@@ -0,0 +1,66 @@
1Index: apr-1.3.3/configure.in
2===================================================================
3--- apr-1.3.3.orig/configure.in
4+++ apr-1.3.3/configure.in
5@@ -794,39 +794,6 @@ AC_CHECK_FUNCS([mmap munmap shm_open shm
6 create_area])
7
8 APR_CHECK_DEFINE(MAP_ANON, sys/mman.h)
9-AC_CHECK_FILE(/dev/zero)
10-
11-# Not all systems can mmap /dev/zero (such as HP-UX). Check for that.
12-if test "$ac_cv_func_mmap" = "yes" &&
13- test "$ac_cv_file__dev_zero" = "yes"; then
14- AC_MSG_CHECKING(for mmap that can map /dev/zero)
15- AC_TRY_RUN([
16-#include <sys/types.h>
17-#include <sys/stat.h>
18-#include <fcntl.h>
19-#ifdef HAVE_SYS_MMAN_H
20-#include <sys/mman.h>
21-#endif
22- int main()
23- {
24- int fd;
25- void *m;
26- fd = open("/dev/zero", O_RDWR);
27- if (fd < 0) {
28- return 1;
29- }
30- m = mmap(0, sizeof(void*), PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
31- if (m == (void *)-1) { /* aka MAP_FAILED */
32- return 2;
33- }
34- if (munmap(m, sizeof(void*)) < 0) {
35- return 3;
36- }
37- return 0;
38- }], [], [ac_cv_file__dev_zero=no], [ac_cv_file__dev_zero=no])
39-
40- AC_MSG_RESULT($ac_cv_file__dev_zero)
41-fi
42
43 # Now we determine which one is our anonymous shmem preference.
44 haveshmgetanon="0"
45@@ -1518,13 +1485,14 @@ else
46 bigendian=0
47 fi
48
49-APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>
50-#include <sys/uio.h>],struct iovec,0)
51-if test "$ac_cv_sizeof_struct_iovec" = "0"; then
52- have_iovec=0
53-else
54- have_iovec=1
55-fi
56+#APR_CHECK_SIZEOF_EXTENDED([#include <sys/types.h>
57+##include <sys/uio.h>],struct iovec,0)
58+#if test "$ac_cv_sizeof_struct_iovec" = "0"; then
59+# have_iovec=0
60+#else
61+# have_iovec=1
62+#fi
63+have_iovec=1
64
65 AC_SUBST(voidp_size)
66 AC_SUBST(short_value)
diff --git a/meta/recipes-support/apr/apr_1.3.3.bb b/meta/recipes-support/apr/apr_1.3.3.bb
new file mode 100644
index 0000000..a193a18
--- /dev/null
+++ b/meta/recipes-support/apr/apr_1.3.3.bb
@@ -0,0 +1,34 @@
1DESCRIPTION = "Apache Portable Runtime (APR) library"
2SECTION = "libs"
3LICENSE = "Apache License, Version 2.0"
4
5PR = "r5"
6
7SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \
8 file://configure_fixes.patch;patch=1 \
9 file://cleanup.patch;patch=1 \
10 file://configfix.patch;patch=1"
11
12inherit autotools lib_package binconfig
13
14OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
15
16do_configure_prepend() {
17 cd ${S}
18 ./buildconf
19}
20
21SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess"
22
23apr_sysroot_preprocess () {
24 d=${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/apr
25 install -d $d/
26 cp ${S}/build/apr_rules.mk $d/
27 sed -i s,apr_builddir=.*,apr_builddir=,g $d/apr_rules.mk
28 sed -i s,apr_builders=.*,apr_builders=,g $d/apr_rules.mk
29 sed -i s,LIBTOOL=.*,LIBTOOL=\$\(SHELL\)\ ${TARGET_PREFIX}libtool,g $d/apr_rules.mk
30 sed -i s,\$\(apr_builders\),${STAGING_DATADIR}/apr/,g $d/apr_rules.mk
31 cp ${S}/build/mkdir.sh $d/
32 cp ${S}/build/make_exports.awk $d/
33 cp ${S}/build/make_var_export.awk $d/
34}
diff --git a/meta/recipes-support/aspell/aspell_0.60.6.bb b/meta/recipes-support/aspell/aspell_0.60.6.bb
new file mode 100644
index 0000000..8d43a70
--- /dev/null
+++ b/meta/recipes-support/aspell/aspell_0.60.6.bb
@@ -0,0 +1,15 @@
1SRC_URI = "ftp://ftp.gnu.org/gnu/aspell/aspell-${PV}.tar.gz"
2DESCRIPTION = "GNU Aspell spell-checker"
3SECTION = "console/utils"
4LICENSE="LGPL"
5
6PACKAGES += "libaspell libpspell libpspell-dev aspell-utils"
7
8FILES_${PN}-dbg += "${libdir}/aspell-0.60/.debu*"
9FILES_libaspell = "${libdir}/libaspell.so.* ${libdir}/aspell*"
10FILES_aspell-utils = "${bindir}/word-list-compress ${bindir}/aspell-import ${bindir}/run-with-aspell ${bindir}/pre*"
11FILES_${PN} = "${bindir}/aspell"
12FILES_libpspell = "${libdir}/libpspell.so.*"
13FILES_libpspell-dev = "${libdir}/libpspell* ${bindir}/pspell-config ${includedir}/pspell"
14
15inherit autotools gettext
diff --git a/meta/recipes-support/atk/atk.inc b/meta/recipes-support/atk/atk.inc
new file mode 100644
index 0000000..899d360
--- /dev/null
+++ b/meta/recipes-support/atk/atk.inc
@@ -0,0 +1,14 @@
1DESCRIPTION = "An accessibility toolkit for GNOME."
2HOMEPAGE = "http://live.gnome.org/GAP/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4
5LICENSE = "LGPLv2 & LGPLv2+"
6
7SECTION = "x11/libs"
8PRIORITY = "optional"
9
10DEPENDS = "glib-2.0 gtk-doc-native"
11
12inherit autotools pkgconfig
13
14EXTRA_OECONF = "--disable-glibtest"
diff --git a/meta/recipes-support/atk/atk_1.30.0.bb b/meta/recipes-support/atk/atk_1.30.0.bb
new file mode 100644
index 0000000..e85ef90
--- /dev/null
+++ b/meta/recipes-support/atk/atk_1.30.0.bb
@@ -0,0 +1,10 @@
1require atk.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
4 file://atk/atkutil.c;endline=20;md5=db21b0bdbef9da4dc6eb122debc9f9bc \
5 file://atk/atk.h;endline=20;md5=c58238d688c24387376d6c69d06248a7"
6
7SRC_URI = "http://download.gnome.org/sources/atk/1.30/${PN}-${PV}.tar.bz2"
8
9
10
diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc
new file mode 100644
index 0000000..68745dd
--- /dev/null
+++ b/meta/recipes-support/attr/acl.inc
@@ -0,0 +1,26 @@
1DESCRIPTION = "utilities for access control list"
2HOMEPAGE = "http://savannah.nongnu.org/projects/acl/"
3SECTION = "libs"
4
5LICENSE = "LGPLv2.1+ & GPLv2+"
6LICENSE_${PN} = "GPLv2+"
7LICENSE_lib${PN} = "LGPLv2.1+"
8LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
9 file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"
10
11DEPENDS = "attr"
12SRC_URI = "http://mirror.cinquix.com/pub/savannah/acl/${BP}.src.tar.gz"
13
14require ea-acl.inc
15
16# avoid RPATH hardcode to staging dir
17do_configure_append() {
18 sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\',
19 ${S}/config.status
20}
21
22# libdir should point to .la
23do_install_append() {
24 sed -i ${D}${libdir}/libacl.la -e \
25 s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',
26}
diff --git a/meta/recipes-support/attr/acl_2.2.49.bb b/meta/recipes-support/attr/acl_2.2.49.bb
new file mode 100644
index 0000000..e5d5509
--- /dev/null
+++ b/meta/recipes-support/attr/acl_2.2.49.bb
@@ -0,0 +1,3 @@
1require acl.inc
2
3PR = "r0"
diff --git a/meta/recipes-support/attr/attr-2.4.44/double-free.patch b/meta/recipes-support/attr/attr-2.4.44/double-free.patch
new file mode 100644
index 0000000..6fc684f
--- /dev/null
+++ b/meta/recipes-support/attr/attr-2.4.44/double-free.patch
@@ -0,0 +1,18 @@
1commit 5b28eb3b0e0430ce6af28edc9100ca23299d1218
2Author: Kamil Dudka <kdudka@redhat.com>
3Date: Thu Jun 3 15:29:54 2010 +0200
4
5 attr_parse_attr_conf: eliminate a double free
6
7diff --git a/libattr/attr_copy_action.c b/libattr/attr_copy_action.c
8index 030bbf5..2697328 100644
9--- a/libattr/attr_copy_action.c
10+++ b/libattr/attr_copy_action.c
11@@ -81,6 +81,7 @@ repeat:
12 fclose(file);
13 file = NULL;
14 free(text);
15+ text = NULL;
16 size_guess *= 2;
17 goto repeat;
18 }
diff --git a/meta/recipes-support/attr/attr-2.4.44/memory-leak-in-copy.patch b/meta/recipes-support/attr/attr-2.4.44/memory-leak-in-copy.patch
new file mode 100644
index 0000000..966632d
--- /dev/null
+++ b/meta/recipes-support/attr/attr-2.4.44/memory-leak-in-copy.patch
@@ -0,0 +1,50 @@
1commit 972b42a67393f762936e74d3ce929914181f5f28
2Author: Brandon Philips <brandon@ifup.org>
3Date: Thu Dec 17 17:15:57 2009 -0800
4
5 libattr: fix memory leak in attr_copy_action()
6
7 stanse found that attr_copy_action returns before freeing the memory
8 allocated for text.
9
10 Move fopen() above the malloc so this is not a problem.
11
12 Fixes this bug:
13 https://bugzilla.novell.com/show_bug.cgi?id=564735
14
15 Signed-off-by: Brandon Philips <bphilips@suse.de>
16
17diff --git a/libattr/attr_copy_action.c b/libattr/attr_copy_action.c
18index 0d7aca5..dc94224 100644
19--- a/libattr/attr_copy_action.c
20+++ b/libattr/attr_copy_action.c
21@@ -53,7 +53,7 @@ free_attr_actions(void)
22 static int
23 attr_parse_attr_conf(struct error_context *ctx)
24 {
25- char *text, *t;
26+ char *text = NULL, *t;
27 size_t size_guess = 4096, len;
28 FILE *file;
29 char *pattern = NULL;
30@@ -64,15 +64,16 @@ attr_parse_attr_conf(struct error_context *ctx)
31 return 0;
32
33 repeat:
34- text = malloc(size_guess + 1);
35- if (!text)
36- goto fail;
37-
38 if ((file = fopen(ATTR_CONF, "r")) == NULL) {
39 if (errno == ENOENT)
40 return 0;
41 goto fail;
42 }
43+
44+ text = malloc(size_guess + 1);
45+ if (!text)
46+ goto fail;
47+
48 len = fread(text, 1, size_guess, file);
49 if (ferror(file))
50 goto fail;
diff --git a/meta/recipes-support/attr/attr-2.4.44/memory-leak2.patch b/meta/recipes-support/attr/attr-2.4.44/memory-leak2.patch
new file mode 100644
index 0000000..0339542
--- /dev/null
+++ b/meta/recipes-support/attr/attr-2.4.44/memory-leak2.patch
@@ -0,0 +1,18 @@
1commit 42f50a130d144ffbc01738f15da9d4f1b57505bd
2Author: Kamil Dudka <kdudka@redhat.com>
3Date: Thu Jun 3 15:23:04 2010 +0200
4
5 attr_parse_attr_conf: eliminate a memory leak
6
7diff --git a/libattr/attr_copy_action.c b/libattr/attr_copy_action.c
8index dc94224..030bbf5 100644
9--- a/libattr/attr_copy_action.c
10+++ b/libattr/attr_copy_action.c
11@@ -129,6 +129,7 @@ repeat:
12
13 t += strcspn(t, "\n");
14 }
15+ free(text);
16 return 0;
17
18 parse_error:
diff --git a/meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch b/meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch
new file mode 100644
index 0000000..ccbc236
--- /dev/null
+++ b/meta/recipes-support/attr/attr-2.4.44/pull-in-string.h.patch
@@ -0,0 +1,21 @@
1commit 235cdd2af498d288f1af1142e7a23fbd16dff907
2Author: Mike Frysinger <vapier@gentoo.org>
3Date: Fri Jan 8 21:53:19 2010 -0500
4
5 quote: pull in string.h for strchr prototype
6
7 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
8 Signed-off-by: Brandon Philips <brandon@ifup.org>
9
10diff --git a/libmisc/quote.c b/libmisc/quote.c
11index f98c887..bf8f9eb 100644
12--- a/libmisc/quote.c
13+++ b/libmisc/quote.c
14@@ -20,6 +20,7 @@
15 #include <stdio.h>
16 #include <stdlib.h>
17 #include <ctype.h>
18+#include <string.h>
19 #include "misc.h"
20
21 const char *quote(const char *str, const char *quote_chars)
diff --git a/meta/recipes-support/attr/attr-2.4.44/thinko-in-restore.patch b/meta/recipes-support/attr/attr-2.4.44/thinko-in-restore.patch
new file mode 100644
index 0000000..a84de94
--- /dev/null
+++ b/meta/recipes-support/attr/attr-2.4.44/thinko-in-restore.patch
@@ -0,0 +1,19 @@
1commit e8d568c696692eed5c92d5a35498e1c26e13d6b3
2Author: Kamil Dudka <kdudka@redhat.com>
3Date: Thu Jun 3 15:30:19 2010 +0200
4
5 setfattr.c: fix thinko in restore()
6
7diff --git a/setfattr/setfattr.c b/setfattr/setfattr.c
8index 491c25a..0a14cfa 100644
9--- a/setfattr/setfattr.c
10+++ b/setfattr/setfattr.c
11@@ -120,7 +120,7 @@ int restore(const char *filename)
12 break;
13 line++;
14 if (strncmp(l, "# file: ", 8) != 0) {
15- if (filename) {
16+ if (file != stdin) {
17 fprintf(stderr, _("%s: %s: No filename found "
18 "in line %d, aborting\n"),
19 progname, filename, backup_line);
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc
new file mode 100644
index 0000000..da79246
--- /dev/null
+++ b/meta/recipes-support/attr/attr.inc
@@ -0,0 +1,20 @@
1DESCRIPTION = "utilities for manipulating filesystem extended attributes"
2HOMEPAGE = "http://savannah.nongnu.org/projects/attr/"
3SECTION = "libs"
4
5LICENSE = "LGPLv2.1+ & GPLv2+"
6LICENSE_${PN} = "GPLv2+"
7LICENSE_lib${PN} = "LGPLv2.1+"
8LIC_FILES_CHKSUM = "file://doc/COPYING;md5=2d0aa14b3fce4694e4f615e30186335f \
9 file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \
10 file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb"
11
12SRC_URI = "http://nongnu.askapache.com/attr/${BP}.src.tar.gz"
13
14require ea-acl.inc
15
16# libdir should point to .la
17do_install_append() {
18 sed -i ${D}${libdir}/libattr.la -e \
19 s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',
20}
diff --git a/meta/recipes-support/attr/attr_2.4.44.bb b/meta/recipes-support/attr/attr_2.4.44.bb
new file mode 100644
index 0000000..0b21b33
--- /dev/null
+++ b/meta/recipes-support/attr/attr_2.4.44.bb
@@ -0,0 +1,9 @@
1require attr.inc
2
3PR = "r1"
4
5SRC_URI += "file://memory-leak-in-copy.patch \
6 file://memory-leak2.patch \
7 file://double-free.patch \
8 file://pull-in-string.h.patch \
9 file://thinko-in-restore.patch"
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
new file mode 100644
index 0000000..77fa2b4
--- /dev/null
+++ b/meta/recipes-support/attr/ea-acl.inc
@@ -0,0 +1,35 @@
1# this build system is mostly shared by attr and acl
2
3DEPENDS =+ "gettext"
4
5SRC_URI += "file://relative-libdir.patch;striplevel=0"
6
7inherit autotools
8
9# the package comes with a custom config.h.in, it cannot be
10# overwritten by autoheader
11export AUTOHEADER = "true"
12EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
13
14EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}"
15
16do_install () {
17 oe_runmake install install-lib install-dev DIST_ROOT="${D}"
18}
19
20PACKAGES =+ "lib${PN} lib${PN}-dev lib${PN}-doc"
21
22FILES_lib${PN} = "${base_libdir}/lib*.so.*"
23
24FILES_lib${PN}-dev = "${includedir} \
25 ${libdir}/lib*.so \
26 ${libdir}/lib*.a \
27 ${libdir}/lib*.la \
28 ${base_libdir}/lib*.so \
29 ${base_libdir}/lib*.a \
30 ${base_libdir}/lib*.la"
31
32FILES_lib${PN}-doc = "${mandir}/man2 \
33 ${mandir}/man3"
34
35BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/attr/files/relative-libdir.patch b/meta/recipes-support/attr/files/relative-libdir.patch
new file mode 100644
index 0000000..f989dd0
--- /dev/null
+++ b/meta/recipes-support/attr/files/relative-libdir.patch
@@ -0,0 +1,23 @@
1use relative path in symbolic links, or it fails in staging
2sed expression from udev
3
47/29/2010 - created by Qing He <qing.he@intel.com>
5
6diff -u include.orig/buildmacros include/buildmacros
7--- include.orig/buildmacros 2010-07-29 17:39:48.000000000 +0800
8+++ include/buildmacros 2010-07-29 18:20:34.000000000 +0800
9@@ -88,9 +88,11 @@
10 ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \
11 ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_LIB_DIR); \
12 if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \
13- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
14- ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
15- ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \
16+ rel_lib_prefix=$$(echo $(PKG_LIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
17+ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \
18+ ../$(INSTALL) -S $$rel_lib_prefix$(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \
19+ rel_devlib_prefix=$$(echo $(PKG_DEVLIB_DIR) | sed 's,\(^/\|\)[^/][^/]*,..,g'); \
20+ ../$(INSTALL) -S $$rel_devlib_prefix$(PKG_LIB_DIR)/$(LIBNAME).so $(PKG_DEVLIB_DIR)/$(LIBNAME).so; \
21 fi
22 else
23 INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC)
diff --git a/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
new file mode 100644
index 0000000..3e18a87
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
@@ -0,0 +1,41 @@
1We are unable to run code at configure time in a cross environemnt, but as we
2control the build we can be fairly certain this dependency is met.
3
4JL 05/07/10
5Index: beecrypt-4.1.2/configure.ac
6===================================================================
7--- beecrypt-4.1.2.orig/configure.ac 2004-12-21 11:37:56.000000000 +0000
8+++ beecrypt-4.1.2/configure.ac 2010-07-05 16:09:50.390083494 +0100
9@@ -243,32 +243,6 @@
10 # Predefines and checks for C++ API support
11 AH_TEMPLATE([CPPGLUE],[Define to 1 if you want to include the C++ code])
12
13-if test "$ac_with_cplusplus" = yes; then
14- AC_MSG_CHECKING([for IBM's ICU library version >= 2.8])
15- AC_LANG_PUSH(C)
16- AC_RUN_IFELSE([
17- AC_LANG_PROGRAM([[#include <unicode/uversion.h>]],[[
18- #if U_ICU_VERSION_MAJOR_NUM < 2
19- exit(1);
20- #elif U_ICU_VERSION_MAJOR_NUM == 2
21- # if U_ICU_VERSION_MINOR_NUM < 8
22- exit(1);
23- # else
24- exit(0);
25- # endif
26- #else
27- exit(0);
28- #endif
29- ]])],[
30- AC_MSG_RESULT([yes])
31- ],[
32- AC_MSG_RESULT([no])
33- AC_MSG_WARN([disabling cplusplus])
34- ac_with_cplusplus=no
35- ])
36- AC_LANG_POP(C)
37-fi
38-
39 if test "$ac_with_cplusplus" = yes ; then
40 AC_DEFINE([CPPGLUE],1)
41 fi
diff --git a/meta/recipes-support/beecrypt/beecrypt/fix-security.patch b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
new file mode 100644
index 0000000..6103562
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
@@ -0,0 +1,43 @@
1Fix visibility of various C++ functions, inspired by a similar patch in the Fink
2project:
3http://www.mail-archive.com/fink-commits@lists.sourceforge.net/msg75742.html
4
5JL 05/07/10
6Index: beecrypt-4.1.2/c++/security/Security.h
7===================================================================
8--- beecrypt-4.1.2.orig/c++/security/Security.h 2010-07-05 17:15:34.811273306 +0100
9+++ beecrypt-4.1.2/c++/security/Security.h 2010-07-05 17:15:38.696388531 +0100
10@@ -75,8 +75,6 @@
11 public:
12 typedef vector<const Provider*> provider_vector;
13 typedef provider_vector::iterator provider_vector_iterator;
14-
15- private:
16 struct spi
17 {
18 Object* cspi;
19@@ -91,6 +89,7 @@
20 static spi* getSpi(const String& algo, const String& type, const Provider&) throw (NoSuchAlgorithmException);
21 static spi* getFirstSpi(const String& type);
22
23+ private:
24 static const String& getKeyStoreDefault();
25
26 static bool _init;
27Index: beecrypt-4.1.2/c++/beeyond/BeeCertificate.h
28===================================================================
29--- beecrypt-4.1.2.orig/c++/beeyond/BeeCertificate.h 2004-11-03 09:37:27.000000000 +0000
30+++ beecrypt-4.1.2/c++/beeyond/BeeCertificate.h 2010-07-05 17:16:25.216332324 +0100
31@@ -150,11 +150,11 @@
32 mutable String* str;
33
34 BeeCertificate();
35- BeeCertificate(InputStream& in) throw (IOException);
36
37 bytearray* encodeTBS() const;
38
39 public:
40+ BeeCertificate(InputStream& in) throw (IOException);
41 BeeCertificate(const BeeCertificate&);
42 virtual ~BeeCertificate();
43
diff --git a/meta/recipes-support/beecrypt/beecrypt/x64fix.patch b/meta/recipes-support/beecrypt/beecrypt/x64fix.patch
new file mode 100644
index 0000000..ac02425
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/x64fix.patch
@@ -0,0 +1,23 @@
1Don't have 64 appended to the libdir for 64bit platforms.
2
3JL 05/07/10
4Index: beecrypt-4.1.2/configure.ac
5===================================================================
6--- beecrypt-4.1.2.orig/configure.ac 2010-07-05 16:39:43.000000000 +0100
7+++ beecrypt-4.1.2/configure.ac 2010-07-05 16:40:27.521082866 +0100
8@@ -585,15 +585,6 @@
9
10 # Check where to install the libraries
11 bc_libalt=
12-case $target_os in
13-linux*)
14- case $bc_target_arch in
15- powerpc64 | s390x | x86_64)
16- bc_libalt="64"
17- ;;
18- esac
19- ;;
20-esac
21 AC_SUBST(LIBALT,$bc_libalt)
22
23 # Generate output files.
diff --git a/meta/recipes-support/beecrypt/beecrypt_4.1.2.bb b/meta/recipes-support/beecrypt/beecrypt_4.1.2.bb
new file mode 100644
index 0000000..6eb40e5
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt_4.1.2.bb
@@ -0,0 +1,21 @@
1# Beecrypt OE build file
2# Copyright (C) 2004-2005, Advanced Micro Devices, Inc. All Rights Reserved
3# Released under the MIT license (see packages/COPYING)
4
5DESCRIPTION="Beecrypt is a general-purpose cryptography library."
6HOMEPAGE="http://sourceforge.net/projects/beecrypt"
7SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \
8 file://x64fix.patch \
9 file://disable-icu-check.patch \
10 file://fix-security.patch"
11
12DEPENDS = "icu"
13
14PR = "r0"
15
16inherit autotools
17acpaths=""
18
19EXTRA_OECONF="--with-arch=${TARGET_ARCH} --without-python --enable-shared --enable-static"
20
21BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/boost/boost-36.inc b/meta/recipes-support/boost/boost-36.inc
new file mode 100644
index 0000000..5d2d128
--- /dev/null
+++ b/meta/recipes-support/boost/boost-36.inc
@@ -0,0 +1,149 @@
1# The Boost web site provides free peer-reviewed portable
2# C++ source libraries. The emphasis is on libraries which
3# work well with the C++ Standard Library. The libraries are
4# intended to be widely useful, and are in regular use by
5# thousands of programmers across a broad spectrum of applications.
6DESCRIPTION = "Free peer-reviewed portable C++ source libraries"
7HOMEPAGE = "http://www.boost.org/"
8SECTION = "libs"
9DEPENDS = "boost-jam-native zlib"
10PRIORITY = "optional"
11LICENSE = "Boost Software License"
12PR = "r3"
13
14ARM_INSTRUCTION_SET = "arm"
15BOOST_VER = "${@"_".join(bb.data.getVar("PV",d,1).split("."))}"
16BOOST_MAJ = "${@"_".join(bb.data.getVar("PV",d,1).split(".")[0:2])}"
17BOOST_P = "boost_${BOOST_VER}"
18
19BOOST_LIBS = "\
20 date_time \
21 filesystem \
22 graph \
23 iostreams \
24 program_options \
25 regex \
26 signals \
27 system \
28 test \
29 thread \
30 "
31
32# FIXME: for some reason this fails on powerpc
33#BOOST_LIBS += "serialization"
34
35# To enable python, uncomment the following:
36#BOOST_LIBS += "python"
37#DEPENDS += "python"
38#PYTHON_ROOT = "${STAGING_DIR_HOST}/${prefix}"
39#PYTHON_VERSION = "2.5"
40
41S = "${WORKDIR}/${BOOST_P}"
42
43# Make a package for each library, plus -dev
44PACKAGES = "${PN}-dbg ${BOOST_PACKAGES}"
45python __anonymous () {
46 import bb
47
48 packages = []
49 extras = []
50 for lib in bb.data.getVar('BOOST_LIBS', d, 1).split( ):
51 pkg = "boost-%s" % lib.replace("_", "-")
52 extras.append("--with-%s" % lib)
53 packages.append(pkg)
54 if not bb.data.getVar("FILES_%s" % pkg, d, 1):
55 bb.data.setVar("FILES_%s" % pkg, "${libdir}/libboost_%s*.so.*" % lib, d)
56 bb.data.setVar("BOOST_PACKAGES", " ".join(packages), d)
57 bb.data.setVar("BJAM_EXTRA", " ".join(extras), d)
58}
59
60# Override the contents of specific packages
61FILES_boost-serialization = "${libdir}/libboost_serialization*.so.* \
62 ${libdir}/libboost_wserialization*.so.*"
63FILES_boost-test = "${libdir}/libboost_prg_exec_monitor*.so.* \
64 ${libdir}/libboost_unit_test_framework*.so.*"
65
66# -dev last to pick up the remaining stuff
67PACKAGES += "${PN}-dev"
68FILES_${PN}-dev = "${includedir} ${libdir}/libboost_*.so ${libdir}/libboost_*.a"
69
70# "boost" is a metapackage which pulls in all boost librabries
71PACKAGES += "${PN}"
72RRECOMMENDS_${PN} += "${BOOST_PACKAGES}"
73ALLOW_EMPTY_${PN} = "1"
74
75# to avoid GNU_HASH QA errors added LDFLAGS to ARCH; a little bit dirty but at least it works
76TARGET_CC_ARCH += " ${LDFLAGS}"
77
78# Oh yippee, a new build system, it's sooo cooool I could eat my own
79# foot. inlining=on lets the compiler choose, I think. At least this
80# stuff is documented...
81# NOTE: if you leave <debug-symbols>on then in a debug build the build sys
82# objcopy will be invoked, and that won't work. Building debug apparently
83# requires hacking gcc-tools.jam
84#
85# Sometimes I wake up screaming. Famous figures are gathered in the nightmare,
86# Steve Bourne, Larry Wall, the whole of the ANSI C committee. They're just
87# standing there, waiting, but the truely terrifying thing is what they carry
88# in their hands. At first sight each seems to bear the same thing, but it is
89# not so for the forms in their grasp are ever so slightly different one from
90# the other. Each is twisted in some grotesque way from the other to make each
91# an unspeakable perversion impossible to perceive without the onset of madness.
92# True insanity awaits anyone who perceives all of these horrors together.
93#
94# Quotation marks, there might be an easier way to do this, but I can't find
95# it. The problem is that the user.hpp configuration file must receive a
96# pre-processor macro defined as the appropriate string - complete with "'s
97# around it. (<> is a possibility here but the danger to that is that the
98# failure case interprets the < and > as shell redirections, creating
99# random files in the source tree.)
100#
101#bjam: '-DBOOST_PLATFORM_CONFIG=\"config\"'
102#do_compile: '-sGCC=... '"'-DBOOST_PLATFORM_CONFIG=\"config\"'"
103SQD = '"'
104EQD = '\"'
105#boost.bb: "... '-sGCC=... '${SQD}'-DBOOST_PLATFORM_CONFIG=${EQD}config${EQD}'${SQD} ..."
106BJAM_CONF = "${SQD}'-DBOOST_PLATFORM_CONFIG=${EQD}boost/config/platform/${TARGET_OS}.hpp${EQD}'${SQD}"
107
108# bzip2 and zip are disabled because... they're broken - the compilation simply
109# isn't working with bjam. I guess they will fix it, but who needs it? This
110# only affects the (new in 33) iostream library.
111BJAM_TOOLS = "-sTOOLS=gcc \
112 '-sGCC=${CC} '${BJAM_CONF} \
113 '-sGXX=${CXX} '${BJAM_CONF} \
114 '-sGCC_INCLUDE_DIRECTORY=${STAGING_INCDIR}' \
115 '-sGCC_STDLIB_DIRECTORY=${STAGING_LIBDIR}' \
116 '-sNO_BZIP2=1' \
117 '-sNO_ZLIB=1' \
118 '-sBUILD=release <optimization>space <inlining>on <debug-symbols>off' \
119 '-sPYTHON_VERSION=${PYTHON_VERSION}' \
120 '--layout=system' \
121 "
122
123BJAM_OPTS = '${BJAM_TOOLS} \
124 --builddir=${S}/${TARGET_SYS} \
125 --with-python-root=${PYTHON_ROOT} \
126 ${BJAM_EXTRA}'
127
128
129do_configure_prepend() {
130 cp -f boost/config/platform/linux.hpp boost/config/platform/linux-gnueabi.hpp
131
132 echo 'using gcc : 4.3.1 : ${CXX} : compileflags -DBOOST_SP_USE_PTHREADS -I${includedir} linkflags -L${libdir} ;' >> ${S}/tools/build/v2/user-config.jam
133}
134
135do_compile() {
136 set -ex
137 bjam ${BJAM_OPTS} --prefix=${prefix} \
138 --exec-prefix=${exec_prefix} \
139 --libdir=${libdir} \
140 --includedir=${includedir}
141}
142
143do_install() {
144 set -ex
145 bjam ${BJAM_OPTS} \
146 --libdir=${D}${libdir} \
147 --includedir=${D}${includedir} \
148 install
149}
diff --git a/meta/recipes-support/boost/boost-jam-native.inc b/meta/recipes-support/boost/boost-jam-native.inc
new file mode 100644
index 0000000..fe181ad
--- /dev/null
+++ b/meta/recipes-support/boost/boost-jam-native.inc
@@ -0,0 +1,31 @@
1# The Boost web site provides free peer-reviewed portable
2# C++ source libraries. The emphasis is on libraries which
3# work well with the C++ Standard Library. The libraries are
4# intended to be widely useful, and are in regular use by
5# thousands of programmers across a broad spectrum of applications.
6DESCRIPTION = "Make system for boost (native)"
7HOMEPAGE = "http://www.boost.org/"
8SECTION = "devel"
9PRIORITY = "optional"
10LICENSE = "Boost Software License"
11PR = "r0"
12
13SRC_URI = "${SOURCEFORGE_MIRROR}/boost/boost-jam-${PV}.tgz"
14S = "${WORKDIR}/boost-jam-${PV}"
15
16inherit native
17
18do_compile() {
19 set -ex
20 rm -rf bin.*
21 ./build.sh gcc
22}
23
24# This is too terrible - the build script doesn't give any good
25# way I can see to find out where the binaries are placed, so
26# rely on only one bin.foo directory being created.
27do_install () {
28 set -ex
29 install -d ${D}${bindir}/
30 install -c -m 755 bin.*/bjam ${D}${bindir}/
31}
diff --git a/meta/recipes-support/boost/boost-jam-native_3.1.18.bb b/meta/recipes-support/boost/boost-jam-native_3.1.18.bb
new file mode 100644
index 0000000..2e92146
--- /dev/null
+++ b/meta/recipes-support/boost/boost-jam-native_3.1.18.bb
@@ -0,0 +1,4 @@
1include boost-jam-native.inc
2
3SRC_URI = "${SOURCEFORGE_MIRROR}/boost/boost-jam-${PV}.tgz"
4
diff --git a/meta/recipes-support/boost/boost_1.44.0.bb b/meta/recipes-support/boost/boost_1.44.0.bb
new file mode 100644
index 0000000..81a2e53
--- /dev/null
+++ b/meta/recipes-support/boost/boost_1.44.0.bb
@@ -0,0 +1,27 @@
1include boost-36.inc
2
3LICENSE = "boost"
4LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
5
6PR = "r0"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2 \
9 file://arm-intrinsics.patch \
10 "
11
12BJAM_OPTS = '${BJAM_TOOLS} \
13 --builddir=${S}/${TARGET_SYS} \
14 ${BJAM_EXTRA}'
15
16# build only mt libraries and install symlinks for compatibility
17BJAM_EXTRA += "threading=multi"
18do_install_append() {
19 for lib in ${BOOST_LIBS}; do
20 if [ -e ${D}${libdir}/libboost_${lib}.a ]; then
21 ln -s libboost_${lib}.a ${D}${libdir}/libboost_${lib}-mt.a
22 fi
23 if [ -e ${D}${libdir}/libboost_${lib}.so ]; then
24 ln -s libboost_${lib}.so ${D}${libdir}/libboost_${lib}-mt.so
25 fi
26 done
27}
diff --git a/meta/recipes-support/boost/files/1.34.1-gcc43.patch b/meta/recipes-support/boost/files/1.34.1-gcc43.patch
new file mode 100644
index 0000000..4670ac4
--- /dev/null
+++ b/meta/recipes-support/boost/files/1.34.1-gcc43.patch
@@ -0,0 +1,224 @@
1Index: boost_1_34_1/boost/archive/polymorphic_iarchive.hpp
2===================================================================
3--- boost_1_34_1.orig/boost/archive/polymorphic_iarchive.hpp 2005-12-11 07:12:51.000000000 +0100
4+++ boost_1_34_1/boost/archive/polymorphic_iarchive.hpp 2008-09-20 20:55:21.000000000 +0200
5@@ -17,6 +17,7 @@
6 // See http://www.boost.org for updates, documentation, and revision history.
7
8 #include <cstddef> // std::size_t
9+#include <climits>
10 #include <boost/config.hpp>
11
12 #if defined(BOOST_NO_STDC_NAMESPACE)
13Index: boost_1_34_1/boost/archive/polymorphic_oarchive.hpp
14===================================================================
15--- boost_1_34_1.orig/boost/archive/polymorphic_oarchive.hpp 2006-02-12 06:43:06.000000000 +0100
16+++ boost_1_34_1/boost/archive/polymorphic_oarchive.hpp 2008-09-20 20:55:21.000000000 +0200
17@@ -17,6 +17,7 @@
18 // See http://www.boost.org for updates, documentation, and revision history.
19
20 #include <cstddef> // size_t
21+#include <climits>
22 #include <string>
23
24 #include <boost/config.hpp>
25Index: boost_1_34_1/boost/date_time/date_facet.hpp
26===================================================================
27--- boost_1_34_1.orig/boost/date_time/date_facet.hpp 2005-09-05 23:10:50.000000000 +0200
28+++ boost_1_34_1/boost/date_time/date_facet.hpp 2008-09-20 20:55:21.000000000 +0200
29@@ -429,7 +429,7 @@
30 typedef std::basic_string<CharT> string_type;
31 typedef CharT char_type;
32 typedef boost::date_time::period_parser<date_type, CharT> period_parser_type;
33- typedef special_values_parser<date_type,CharT> special_values_parser_type;
34+ typedef boost::date_time::special_values_parser<date_type,CharT> special_values_parser_type;
35 typedef std::vector<std::basic_string<CharT> > input_collection_type;
36 typedef format_date_parser<date_type, CharT> format_date_parser_type;
37 // date_generators stuff goes here
38Index: boost_1_34_1/boost/mpl/zip_view.hpp
39===================================================================
40--- boost_1_34_1.orig/boost/mpl/zip_view.hpp 2004-09-02 17:40:42.000000000 +0200
41+++ boost_1_34_1/boost/mpl/zip_view.hpp 2008-09-20 20:55:21.000000000 +0200
42@@ -37,7 +37,7 @@
43 typedef zip_iterator<
44 typename transform1<
45 IteratorSeq
46- , next<_1>
47+ , boost::mpl::next<_1>
48 >::type
49 > next;
50 };
51@@ -48,8 +48,8 @@
52 struct zip_view
53 {
54 private:
55- typedef typename transform1< Sequences, begin<_1> >::type first_ones_;
56- typedef typename transform1< Sequences, end<_1> >::type last_ones_;
57+ typedef typename transform1< Sequences, boost::mpl::begin<_1> >::type first_ones_;
58+ typedef typename transform1< Sequences, boost::mpl::end<_1> >::type last_ones_;
59
60 public:
61 typedef nested_begin_end_tag tag;
62Index: boost_1_34_1/boost/python/detail/def_helper.hpp
63===================================================================
64--- boost_1_34_1.orig/boost/python/detail/def_helper.hpp 2004-09-16 03:00:28.000000000 +0200
65+++ boost_1_34_1/boost/python/detail/def_helper.hpp 2008-09-20 20:55:21.000000000 +0200
66@@ -155,7 +155,7 @@
67 , T3 const&
68 , T4 const&
69 , default_call_policies
70- , keywords<0>
71+ , boost::python::detail::keywords<0>
72 , char const*
73 , void(not_specified::*)() // A function pointer type which is never an
74 // appropriate default implementation
75Index: boost_1_34_1/boost/regex/v4/basic_regex_creator.hpp
76===================================================================
77--- boost_1_34_1.orig/boost/regex/v4/basic_regex_creator.hpp 2006-07-16 18:06:38.000000000 +0200
78+++ boost_1_34_1/boost/regex/v4/basic_regex_creator.hpp 2008-09-20 20:55:21.000000000 +0200
79@@ -24,6 +24,8 @@
80 # include BOOST_ABI_PREFIX
81 #endif
82
83+#include <climits>
84+
85 namespace boost{
86
87 namespace re_detail{
88Index: boost_1_34_1/boost/regex/v4/basic_regex.hpp
89===================================================================
90--- boost_1_34_1.orig/boost/regex/v4/basic_regex.hpp 2007-06-05 19:28:18.000000000 +0200
91+++ boost_1_34_1/boost/regex/v4/basic_regex.hpp 2008-09-20 20:55:21.000000000 +0200
92@@ -23,6 +23,8 @@
93 # include BOOST_ABI_PREFIX
94 #endif
95
96+#include <climits>
97+
98 namespace boost{
99 #ifdef BOOST_MSVC
100 #pragma warning(push)
101Index: boost_1_34_1/boost/regex/v4/basic_regex_parser.hpp
102===================================================================
103--- boost_1_34_1.orig/boost/regex/v4/basic_regex_parser.hpp 2006-12-20 18:19:05.000000000 +0100
104+++ boost_1_34_1/boost/regex/v4/basic_regex_parser.hpp 2008-09-20 20:55:21.000000000 +0200
105@@ -23,6 +23,8 @@
106 # include BOOST_ABI_PREFIX
107 #endif
108
109+#include <climits>
110+
111 namespace boost{
112 namespace re_detail{
113
114Index: boost_1_34_1/boost/regex/v4/cpp_regex_traits.hpp
115===================================================================
116--- boost_1_34_1.orig/boost/regex/v4/cpp_regex_traits.hpp 2007-01-15 12:09:44.000000000 +0100
117+++ boost_1_34_1/boost/regex/v4/cpp_regex_traits.hpp 2008-09-20 20:55:21.000000000 +0200
118@@ -41,6 +41,7 @@
119
120 #include <istream>
121 #include <ios>
122+#include <climits>
123
124 #ifdef BOOST_HAS_ABI_HEADERS
125 # include BOOST_ABI_PREFIX
126Index: boost_1_34_1/boost/regex/v4/perl_matcher.hpp
127===================================================================
128--- boost_1_34_1.orig/boost/regex/v4/perl_matcher.hpp 2006-10-18 14:55:30.000000000 +0200
129+++ boost_1_34_1/boost/regex/v4/perl_matcher.hpp 2008-09-20 20:55:21.000000000 +0200
130@@ -18,6 +18,8 @@
131 # include BOOST_ABI_PREFIX
132 #endif
133
134+#include <climits>
135+
136 namespace boost{
137 namespace re_detail{
138
139Index: boost_1_34_1/boost/regex/v4/regex_split.hpp
140===================================================================
141--- boost_1_34_1.orig/boost/regex/v4/regex_split.hpp 2005-01-21 18:22:38.000000000 +0100
142+++ boost_1_34_1/boost/regex/v4/regex_split.hpp 2008-09-20 20:55:21.000000000 +0200
143@@ -21,6 +21,8 @@
144 #ifndef BOOST_REGEX_SPLIT_HPP
145 #define BOOST_REGEX_SPLIT_HPP
146
147+#include <climits>
148+
149 namespace boost{
150
151 #ifdef BOOST_HAS_ABI_HEADERS
152Index: boost_1_34_1/boost/regex/v4/states.hpp
153===================================================================
154--- boost_1_34_1.orig/boost/regex/v4/states.hpp 2005-09-20 14:01:25.000000000 +0200
155+++ boost_1_34_1/boost/regex/v4/states.hpp 2008-09-20 20:55:21.000000000 +0200
156@@ -23,6 +23,8 @@
157 # include BOOST_ABI_PREFIX
158 #endif
159
160+#include <climits>
161+
162 namespace boost{
163 namespace re_detail{
164
165Index: boost_1_34_1/boost/serialization/collection_traits.hpp
166===================================================================
167--- boost_1_34_1.orig/boost/serialization/collection_traits.hpp 2005-06-21 07:19:04.000000000 +0200
168+++ boost_1_34_1/boost/serialization/collection_traits.hpp 2008-09-20 20:55:21.000000000 +0200
169@@ -22,6 +22,7 @@
170 // compiles recognize the same set of primitive types, the possibility
171 // exists for archives to be non-portable if class information for primitive
172 // types is included. This is addressed by the following macros.
173+#include <climits>
174 #include <boost/config.hpp>
175 #include <boost/mpl/integral_c.hpp>
176 #include <boost/mpl/integral_c_tag.hpp>
177Index: boost_1_34_1/boost/spirit/phoenix/operators.hpp
178===================================================================
179--- boost_1_34_1.orig/boost/spirit/phoenix/operators.hpp 2006-08-25 18:27:30.000000000 +0200
180+++ boost_1_34_1/boost/spirit/phoenix/operators.hpp 2008-09-20 20:55:21.000000000 +0200
181@@ -24,6 +24,7 @@
182 #include <boost/spirit/phoenix/composite.hpp>
183 #include <boost/config.hpp>
184 #include <boost/mpl/if.hpp>
185+#include <climits>
186
187 ///////////////////////////////////////////////////////////////////////////////
188 namespace phoenix {
189Index: boost_1_34_1/boost/test/test_tools.hpp
190===================================================================
191--- boost_1_34_1.orig/boost/test/test_tools.hpp 2007-02-22 18:57:29.000000000 +0100
192+++ boost_1_34_1/boost/test/test_tools.hpp 2008-09-20 20:55:21.000000000 +0200
193@@ -42,6 +42,7 @@
194 #include <boost/mpl/or.hpp>
195
196 // STL
197+#include <climits>
198 #include <cstddef> // for std::size_t
199 #include <iosfwd>
200
201Index: boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp
202===================================================================
203--- boost_1_34_1.orig/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2006-12-20 17:38:24.000000000 +0100
204+++ boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2008-09-20 20:55:21.000000000 +0200
205@@ -16,6 +16,7 @@
206 #include <string>
207 #include <cstdio>
208 #include <cstdarg>
209+#include <cstring>
210 #if defined(BOOST_SPIRIT_DEBUG)
211 #include <iostream>
212 #endif // defined(BOOST_SPIRIT_DEBUG)
213Index: boost_1_34_1/boost/wave/util/flex_string.hpp
214===================================================================
215--- boost_1_34_1.orig/boost/wave/util/flex_string.hpp 2006-04-25 19:21:01.000000000 +0200
216+++ boost_1_34_1/boost/wave/util/flex_string.hpp 2008-09-20 20:55:21.000000000 +0200
217@@ -94,6 +94,7 @@
218 #include <limits>
219 #include <stdexcept>
220 #include <cstddef>
221+#include <cstring>
222
223 // this must occur after all of the includes and before any code appears
224 #ifdef BOOST_HAS_ABI_HEADERS
diff --git a/meta/recipes-support/boost/files/arm-intrinsics.patch b/meta/recipes-support/boost/files/arm-intrinsics.patch
new file mode 100644
index 0000000..3f9c620
--- /dev/null
+++ b/meta/recipes-support/boost/files/arm-intrinsics.patch
@@ -0,0 +1,53 @@
18/17/2010 - rebased to 1.44 by Qing He <qing.he@intel.com>
2
3diff --git a/boost/smart_ptr/detail/atomic_count_sync.hpp b/boost/smart_ptr/detail/atomic_count_sync.hpp
4index b6359b5..78b1cc2 100644
5--- a/boost/smart_ptr/detail/atomic_count_sync.hpp
6+++ b/boost/smart_ptr/detail/atomic_count_sync.hpp
7@@ -33,17 +33,46 @@ public:
8
9 long operator++()
10 {
11+#ifdef __ARM_ARCH_7A__
12+ int v1, tmp;
13+ asm volatile ("1: \n\t"
14+ "ldrex %0, %1 \n\t"
15+ "add %0 ,%0, #1 \n\t"
16+ "strex %2, %0, %1 \n\t"
17+ "cmp %2, #0 \n\t"
18+ "bne 1b \n\t"
19+ : "=&r" (v1), "+Q"(value_), "=&r"(tmp)
20+ );
21+#else
22 return __sync_add_and_fetch( &value_, 1 );
23+#endif
24 }
25
26 long operator--()
27 {
28+#ifdef __ARM_ARCH_7A__
29+ int v1, tmp;
30+ asm volatile ("1: \n\t"
31+ "ldrex %0, %1 \n\t"
32+ "sub %0 ,%0, #1 \n\t"
33+ "strex %2, %0, %1 \n\t"
34+ "cmp %2, #0 \n\t"
35+ "bne 1b \n\t"
36+ : "=&r" (v1), "+Q"(value_), "=&r"(tmp)
37+ );
38+ return value_;
39+#else
40 return __sync_add_and_fetch( &value_, -1 );
41+#endif
42 }
43
44 operator long() const
45 {
46+#if __ARM_ARCH_7A__
47+ return value_;
48+#else
49 return __sync_fetch_and_add( &value_, 0 );
50+#endif
51 }
52
53 private:
diff --git a/meta/recipes-support/boost/files/atomic_count_gcc_atomicity.patch b/meta/recipes-support/boost/files/atomic_count_gcc_atomicity.patch
new file mode 100644
index 0000000..7d08e73
--- /dev/null
+++ b/meta/recipes-support/boost/files/atomic_count_gcc_atomicity.patch
@@ -0,0 +1,13 @@
1Index: boost_1_33_1/boost/detail/atomic_count_gcc.hpp
2===================================================================
3--- boost_1_33_1.orig/boost/detail/atomic_count_gcc.hpp 2008-05-01 20:43:45.000000000 +0200
4+++ boost_1_33_1/boost/detail/atomic_count_gcc.hpp 2008-05-01 20:43:55.000000000 +0200
5@@ -17,7 +17,7 @@
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8
9-#include <bits/atomicity.h>
10+#include <ext/atomicity.h>
11
12 namespace boost
13 {
diff --git a/meta/recipes-support/boost/files/gcc41.patch b/meta/recipes-support/boost/files/gcc41.patch
new file mode 100644
index 0000000..f91d1ad
--- /dev/null
+++ b/meta/recipes-support/boost/files/gcc41.patch
@@ -0,0 +1,14 @@
1diff -ur boost_1_33_1.orig/boost/bind.hpp boost_1_33_1/boost/bind.hpp
2--- boost_1_33_1.orig/boost/bind.hpp 2008-10-11 10:30:03.000000000 +0200
3+++ boost_1_33_1/boost/bind.hpp 2008-10-11 10:41:25.000000000 +0200
4@@ -28,6 +28,10 @@
5 #include <boost/bind/arg.hpp>
6 #include <boost/detail/workaround.hpp>
7
8+#if __GNUC__ == 4 && __GNUC_MINOR__ == 1
9+# include <boost/visit_each.hpp>
10+#endif
11+
12 // Borland-specific bug, visit_each() silently fails to produce code
13
14 #if defined(__BORLANDC__)
diff --git a/meta/recipes-support/boost/files/gcc43.patch b/meta/recipes-support/boost/files/gcc43.patch
new file mode 100644
index 0000000..aefe080
--- /dev/null
+++ b/meta/recipes-support/boost/files/gcc43.patch
@@ -0,0 +1,256 @@
1diff -aNru boost_1_34_1-ORIGINAL/boost/archive/polymorphic_iarchive.hpp boost_1_34_1/boost/archive/polymorphic_iarchive.hpp
2--- boost_1_34_1-ORIGINAL/boost/archive/polymorphic_iarchive.hpp 2005-12-11 00:12:51.000000000 -0600
3+++ boost_1_34_1/boost/archive/polymorphic_iarchive.hpp 2008-03-03 03:08:59.000000000 -0600
4@@ -17,6 +17,7 @@
5 // See http://www.boost.org for updates, documentation, and revision history.
6
7 #include <cstddef> // std::size_t
8+#include <climits>
9 #include <boost/config.hpp>
10
11 #if defined(BOOST_NO_STDC_NAMESPACE)
12diff -aNru boost_1_34_1-ORIGINAL/boost/archive/polymorphic_oarchive.hpp boost_1_34_1/boost/archive/polymorphic_oarchive.hpp
13--- boost_1_34_1-ORIGINAL/boost/archive/polymorphic_oarchive.hpp 2006-02-11 23:43:06.000000000 -0600
14+++ boost_1_34_1/boost/archive/polymorphic_oarchive.hpp 2008-03-03 03:08:59.000000000 -0600
15@@ -17,6 +17,7 @@
16 // See http://www.boost.org for updates, documentation, and revision history.
17
18 #include <cstddef> // size_t
19+#include <climits>
20 #include <string>
21
22 #include <boost/config.hpp>
23diff -aNru boost_1_34_1-ORIGINAL/boost/date_time/date_facet.hpp boost_1_34_1/boost/date_time/date_facet.hpp
24--- boost_1_34_1-ORIGINAL/boost/date_time/date_facet.hpp 2005-09-05 16:10:50.000000000 -0500
25+++ boost_1_34_1/boost/date_time/date_facet.hpp 2008-03-03 03:08:59.000000000 -0600
26@@ -429,7 +429,7 @@
27 typedef std::basic_string<CharT> string_type;
28 typedef CharT char_type;
29 typedef boost::date_time::period_parser<date_type, CharT> period_parser_type;
30- typedef special_values_parser<date_type,CharT> special_values_parser_type;
31+ typedef boost::date_time::special_values_parser<date_type,CharT> special_values_parser_type;
32 typedef std::vector<std::basic_string<CharT> > input_collection_type;
33 typedef format_date_parser<date_type, CharT> format_date_parser_type;
34 // date_generators stuff goes here
35diff -aNru boost_1_34_1-ORIGINAL/boost/mpl/zip_view.hpp boost_1_34_1/boost/mpl/zip_view.hpp
36--- boost_1_34_1-ORIGINAL/boost/mpl/zip_view.hpp 2004-09-02 10:40:42.000000000 -0500
37+++ boost_1_34_1/boost/mpl/zip_view.hpp 2008-03-03 03:08:59.000000000 -0600
38@@ -37,7 +37,7 @@
39 typedef zip_iterator<
40 typename transform1<
41 IteratorSeq
42- , next<_1>
43+ , boost::mpl::next<_1>
44 >::type
45 > next;
46 };
47@@ -48,8 +48,8 @@
48 struct zip_view
49 {
50 private:
51- typedef typename transform1< Sequences, begin<_1> >::type first_ones_;
52- typedef typename transform1< Sequences, end<_1> >::type last_ones_;
53+ typedef typename transform1< Sequences, boost::mpl::begin<_1> >::type first_ones_;
54+ typedef typename transform1< Sequences, boost::mpl::end<_1> >::type last_ones_;
55
56 public:
57 typedef nested_begin_end_tag tag;
58diff -aNru boost_1_34_1-ORIGINAL/boost/python/detail/def_helper.hpp boost_1_34_1/boost/python/detail/def_helper.hpp
59--- boost_1_34_1-ORIGINAL/boost/python/detail/def_helper.hpp 2004-09-15 20:00:28.000000000 -0500
60+++ boost_1_34_1/boost/python/detail/def_helper.hpp 2008-03-03 03:08:59.000000000 -0600
61@@ -155,7 +155,7 @@
62 , T3 const&
63 , T4 const&
64 , default_call_policies
65- , keywords<0>
66+ , boost::python::detail::keywords<0>
67 , char const*
68 , void(not_specified::*)() // A function pointer type which is never an
69 // appropriate default implementation
70diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex_creator.hpp boost_1_34_1/boost/regex/v4/basic_regex_creator.hpp
71--- boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex_creator.hpp 2006-07-16 11:06:38.000000000 -0500
72+++ boost_1_34_1/boost/regex/v4/basic_regex_creator.hpp 2008-03-03 03:08:59.000000000 -0600
73@@ -24,6 +24,8 @@
74 # include BOOST_ABI_PREFIX
75 #endif
76
77+#include <climits>
78+
79 namespace boost{
80
81 namespace re_detail{
82diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex.hpp boost_1_34_1/boost/regex/v4/basic_regex.hpp
83--- boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex.hpp 2007-06-05 12:28:18.000000000 -0500
84+++ boost_1_34_1/boost/regex/v4/basic_regex.hpp 2008-03-03 03:08:59.000000000 -0600
85@@ -23,6 +23,8 @@
86 # include BOOST_ABI_PREFIX
87 #endif
88
89+#include <climits>
90+
91 namespace boost{
92 #ifdef BOOST_MSVC
93 #pragma warning(push)
94diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex_parser.hpp boost_1_34_1/boost/regex/v4/basic_regex_parser.hpp
95--- boost_1_34_1-ORIGINAL/boost/regex/v4/basic_regex_parser.hpp 2006-12-20 11:19:05.000000000 -0600
96+++ boost_1_34_1/boost/regex/v4/basic_regex_parser.hpp 2008-03-03 03:08:59.000000000 -0600
97@@ -23,6 +23,8 @@
98 # include BOOST_ABI_PREFIX
99 #endif
100
101+#include <climits>
102+
103 namespace boost{
104 namespace re_detail{
105
106diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/cpp_regex_traits.hpp boost_1_34_1/boost/regex/v4/cpp_regex_traits.hpp
107--- boost_1_34_1-ORIGINAL/boost/regex/v4/cpp_regex_traits.hpp 2007-01-15 05:09:44.000000000 -0600
108+++ boost_1_34_1/boost/regex/v4/cpp_regex_traits.hpp 2008-03-03 03:08:59.000000000 -0600
109@@ -41,6 +41,7 @@
110
111 #include <istream>
112 #include <ios>
113+#include <climits>
114
115 #ifdef BOOST_HAS_ABI_HEADERS
116 # include BOOST_ABI_PREFIX
117diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/perl_matcher.hpp boost_1_34_1/boost/regex/v4/perl_matcher.hpp
118--- boost_1_34_1-ORIGINAL/boost/regex/v4/perl_matcher.hpp 2006-10-18 07:55:30.000000000 -0500
119+++ boost_1_34_1/boost/regex/v4/perl_matcher.hpp 2008-03-03 03:08:59.000000000 -0600
120@@ -18,6 +18,8 @@
121 # include BOOST_ABI_PREFIX
122 #endif
123
124+#include <climits>
125+
126 namespace boost{
127 namespace re_detail{
128
129diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/regex_split.hpp boost_1_34_1/boost/regex/v4/regex_split.hpp
130--- boost_1_34_1-ORIGINAL/boost/regex/v4/regex_split.hpp 2005-01-21 11:22:38.000000000 -0600
131+++ boost_1_34_1/boost/regex/v4/regex_split.hpp 2008-03-03 03:08:59.000000000 -0600
132@@ -21,6 +21,8 @@
133 #ifndef BOOST_REGEX_SPLIT_HPP
134 #define BOOST_REGEX_SPLIT_HPP
135
136+#include <climits>
137+
138 namespace boost{
139
140 #ifdef BOOST_HAS_ABI_HEADERS
141diff -aNru boost_1_34_1-ORIGINAL/boost/regex/v4/states.hpp boost_1_34_1/boost/regex/v4/states.hpp
142--- boost_1_34_1-ORIGINAL/boost/regex/v4/states.hpp 2005-09-20 07:01:25.000000000 -0500
143+++ boost_1_34_1/boost/regex/v4/states.hpp 2008-03-03 03:08:59.000000000 -0600
144@@ -23,6 +23,8 @@
145 # include BOOST_ABI_PREFIX
146 #endif
147
148+#include <climits>
149+
150 namespace boost{
151 namespace re_detail{
152
153diff -aNru boost_1_34_1-ORIGINAL/boost/serialization/collection_traits.hpp boost_1_34_1/boost/serialization/collection_traits.hpp
154--- boost_1_34_1-ORIGINAL/boost/serialization/collection_traits.hpp 2005-06-21 00:19:04.000000000 -0500
155+++ boost_1_34_1/boost/serialization/collection_traits.hpp 2008-03-03 03:09:49.000000000 -0600
156@@ -22,6 +22,7 @@
157 // compiles recognize the same set of primitive types, the possibility
158 // exists for archives to be non-portable if class information for primitive
159 // types is included. This is addressed by the following macros.
160+#include <climits>
161 #include <boost/config.hpp>
162 #include <boost/mpl/integral_c.hpp>
163 #include <boost/mpl/integral_c_tag.hpp>
164diff -aNru boost_1_34_1-ORIGINAL/boost/spirit/phoenix/operators.hpp boost_1_34_1/boost/spirit/phoenix/operators.hpp
165--- boost_1_34_1-ORIGINAL/boost/spirit/phoenix/operators.hpp 2006-08-25 11:27:30.000000000 -0500
166+++ boost_1_34_1/boost/spirit/phoenix/operators.hpp 2008-03-03 03:08:59.000000000 -0600
167@@ -24,6 +24,7 @@
168 #include <boost/spirit/phoenix/composite.hpp>
169 #include <boost/config.hpp>
170 #include <boost/mpl/if.hpp>
171+#include <climits>
172
173 ///////////////////////////////////////////////////////////////////////////////
174 namespace phoenix {
175diff -aNru boost_1_34_1-ORIGINAL/boost/test/test_tools.hpp boost_1_34_1/boost/test/test_tools.hpp
176--- boost_1_34_1-ORIGINAL/boost/test/test_tools.hpp 2007-02-22 11:57:29.000000000 -0600
177+++ boost_1_34_1/boost/test/test_tools.hpp 2008-03-03 03:08:59.000000000 -0600
178@@ -42,6 +42,7 @@
179 #include <boost/mpl/or.hpp>
180
181 // STL
182+#include <climits>
183 #include <cstddef> // for std::size_t
184 #include <iosfwd>
185
186diff -aNru boost_1_34_1-ORIGINAL/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp
187--- boost_1_34_1-ORIGINAL/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2006-12-20 10:38:24.000000000 -0600
188+++ boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2008-03-03 03:08:59.000000000 -0600
189@@ -16,6 +16,7 @@
190 #include <string>
191 #include <cstdio>
192 #include <cstdarg>
193+#include <cstring>
194 #if defined(BOOST_SPIRIT_DEBUG)
195 #include <iostream>
196 #endif // defined(BOOST_SPIRIT_DEBUG)
197diff -aNru boost_1_34_1-ORIGINAL/boost/wave/util/flex_string.hpp boost_1_34_1/boost/wave/util/flex_string.hpp
198--- boost_1_34_1-ORIGINAL/boost/wave/util/flex_string.hpp 2006-04-25 12:21:01.000000000 -0500
199+++ boost_1_34_1/boost/wave/util/flex_string.hpp 2008-03-03 03:08:59.000000000 -0600
200@@ -94,6 +94,7 @@
201 #include <limits>
202 #include <stdexcept>
203 #include <cstddef>
204+#include <cstring>
205
206 // this must occur after all of the includes and before any code appears
207 #ifdef BOOST_HAS_ABI_HEADERS
208
209--- boost_1_33_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2008-07-05 01:50:04.000000000 +0200
210+++ boost_1_34_1/boost/wave/cpplexer/re2clex/cpp_re2c_lexer.hpp 2006-12-20 17:38:24.000000000 +0100
211@@ -295,17 +325,20 @@
212
213 lex_functor(IteratorT const &first, IteratorT const &last,
214 PositionT const &pos, boost::wave::language_support language)
215- : lexer(first, last, pos, language)
216+ : re2c_lexer(first, last, pos, language)
217 {}
218 virtual ~lex_functor() {}
219
220 // get the next token from the input stream
221- token_type get() { return lexer.get(); }
222- void set_position(PositionT const &pos)
223- { lexer.set_position(pos); }
224+ token_type get() { return re2c_lexer.get(); }
225+ void set_position(PositionT const &pos) { re2c_lexer.set_position(pos); }
226+#if BOOST_WAVE_SUPPORT_PRAGMA_ONCE != 0
227+ bool has_include_guards(std::string& guard_name) const
228+ { return re2c_lexer.has_include_guards(guard_name); }
229+#endif
230
231 private:
232- lexer<IteratorT, PositionT> lexer;
233+ lexer<IteratorT, PositionT> re2c_lexer;
234 };
235
236 ///////////////////////////////////////////////////////////////////////////////
237@@ -338,7 +371,7 @@
238 // It is coupled to the iterator type to allow to decouple the lexer/iterator
239 // configurations at compile time.
240 //
241-// This function is declared inside the cpp_slex_token.hpp file, which is
242+// This function is declared inside the cpp_lex_token.hpp file, which is
243 // referenced by the source file calling the lexer and the source file, which
244 // instantiates the lex_functor. But is is defined here, so it will be
245 // instantiated only while compiling the source file, which instantiates the
246@@ -356,8 +389,8 @@
247 IteratorT const &last, PositionT const &pos,
248 boost::wave::language_support language)
249 {
250- return new re2clex::lex_functor<IteratorT, PositionT>(first, last, pos,
251- language);
252+ using re2clex::lex_functor;
253+ return new lex_functor<IteratorT, PositionT>(first, last, pos, language);
254 }
255
256 #undef BOOST_WAVE_RE2C_NEW_LEXER_INLINE
diff --git a/meta/recipes-support/boost/files/linux-uclibc.patch b/meta/recipes-support/boost/files/linux-uclibc.patch
new file mode 100644
index 0000000..79f14de
--- /dev/null
+++ b/meta/recipes-support/boost/files/linux-uclibc.patch
@@ -0,0 +1,10 @@
1--- /dev/null 1969-12-31 16:00:00.000000000 -0800
2+++ boost_1_32_0/boost/config/platform/linux-uclibc.hpp 2005-07-05 14:51:56.237294460 -0700
3@@ -0,0 +1,7 @@
4+// Modifications required to support uClibC libc implementation.
5+// Default to Linux...
6+#include "linux.hpp"
7+
8+// Override anything uClibC doesn't support.
9+// At present (0.9.27) the nl_types.h header exists but is not implemented
10+#undef BOOST_HAS_NL_TYPES_H
diff --git a/meta/recipes-support/boost/files/unit_test_log10f.patch b/meta/recipes-support/boost/files/unit_test_log10f.patch
new file mode 100644
index 0000000..b235e12
--- /dev/null
+++ b/meta/recipes-support/boost/files/unit_test_log10f.patch
@@ -0,0 +1,20 @@
1--- boost_1_32_0/libs/test/src/unit_test_result.cpp.orig 2005-07-05 11:00:53.887594850 -0700
2+++ boost_1_32_0/libs/test/src/unit_test_result.cpp 2005-07-05 11:01:20.683533034 -0700
3@@ -144,7 +144,7 @@
4 unit_test_counter num_passed, unit_test_counter num_failed )
5 {
6 unit_test_counter total_test_cases = num_passed + num_failed;
7- std::size_t width = static_cast<std::size_t>( std::log10( (float)(std::max)( num_passed, num_failed ) ) ) + 1;
8+ std::size_t width = static_cast<std::size_t>( std::log10( (double)(std::max)( num_passed, num_failed ) ) ) + 1;
9
10 where_to << std::setw( indent ) << "" << std::setw( width ) << num_passed
11 << " test " << ps_name( num_passed != 1, "case" ) << " out of " << total_test_cases << " passed\n"
12@@ -158,7 +158,7 @@
13 {
14 unit_test_counter total_assertions = num_passed + num_failed;
15 std::size_t width = total_assertions > 0
16- ? static_cast<std::size_t>( std::log10( (float)(std::max)( num_passed, num_failed ) ) ) + 1
17+ ? static_cast<std::size_t>( std::log10( (double)(std::max)( num_passed, num_failed ) ) ) + 1
18 : 1;
19
20 where_to << std::setw( indent ) << "" << std::setw( width ) << num_passed
diff --git a/meta/recipes-support/curl/curl/noldlibpath.patch b/meta/recipes-support/curl/curl/noldlibpath.patch
new file mode 100644
index 0000000..a3319a2
--- /dev/null
+++ b/meta/recipes-support/curl/curl/noldlibpath.patch
@@ -0,0 +1,74 @@
1Manipulating LD_LIBRARY_PATH can totally break builds when cross compiling.
2Since we never run compiled binaries for the target, we should *never* need
3to change LD_LIBRARY_PATH.
4
5RP 9/6/2010
6
7Index: curl-7.20.0/configure.ac
8===================================================================
9--- curl-7.20.0.orig/configure.ac 2010-06-09 11:06:30.000000000 +0100
10+++ curl-7.20.0/configure.ac 2010-06-09 11:04:25.000000000 +0100
11@@ -1461,9 +1461,10 @@
12 dnl linker doesn't search through, we need to add it to LD_LIBRARY_PATH
13 dnl to prevent further configure tests to fail due to this
14
15- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_OPENSSL"
16- export LD_LIBRARY_PATH
17- AC_MSG_NOTICE([Added $LIB_OPENSSL to LD_LIBRARY_PATH])
18+ #LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$LIB_OPENSSL"
19+ #export LD_LIBRARY_PATH
20+ #AC_MSG_NOTICE([Added $LIB_OPENSSL to LD_LIBRARY_PATH])
21+ :
22 fi
23 fi
24
25@@ -1684,9 +1686,10 @@
26 dnl LD_LIBRARY_PATH to prevent further configure tests to fail
27 dnl due to this
28
29- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlslib"
30- export LD_LIBRARY_PATH
31- AC_MSG_NOTICE([Added $gtlslib to LD_LIBRARY_PATH])
32+ #LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$gtlslib"
33+ #export LD_LIBRARY_PATH
34+ #AC_MSG_NOTICE([Added $gtlslib to LD_LIBRARY_PATH])
35+ :
36 fi
37 fi
38
39@@ -1696,6 +1699,8 @@
40
41 fi dnl OPENSSL != 1
42
43+AC_SUBST(GNUTLS_REQUIRED)
44+
45 dnl ----------------------------------------------------
46 dnl NSS. Only check if GnuTLS and OpenSSL are not enabled
47 dnl ----------------------------------------------------
48@@ -1781,9 +1786,10 @@
49 dnl LD_LIBRARY_PATH to prevent further configure tests to fail
50 dnl due to this
51
52- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$nssprefix/lib$libsuff"
53- export LD_LIBRARY_PATH
54- AC_MSG_NOTICE([Added $nssprefix/lib$libsuff to LD_LIBRARY_PATH])
55+ #LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$nssprefix/lib$libsuff"
56+ #export LD_LIBRARY_PATH
57+ #AC_MSG_NOTICE([Added $nssprefix/lib$libsuff to LD_LIBRARY_PATH])
58+ :
59 fi
60
61 fi
62@@ -1881,9 +1887,9 @@
63 dnl libssh2_version is a post 1.0 addition
64 AC_CHECK_FUNCS( libssh2_version )
65
66- LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DIR_SSH2"
67- export LD_LIBRARY_PATH
68- AC_MSG_NOTICE([Added $DIR_SSH2 to LD_LIBRARY_PATH])
69+ #LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DIR_SSH2"
70+ #export LD_LIBRARY_PATH
71+ #AC_MSG_NOTICE([Added $DIR_SSH2 to LD_LIBRARY_PATH])
72 fi
73 else
74 dnl no libssh2, revert back to clean variables
diff --git a/meta/recipes-support/curl/curl/pkgconfig_fix.patch b/meta/recipes-support/curl/curl/pkgconfig_fix.patch
new file mode 100644
index 0000000..a59d39b
--- /dev/null
+++ b/meta/recipes-support/curl/curl/pkgconfig_fix.patch
@@ -0,0 +1,35 @@
1Index: curl-7.20.0/libcurl.pc.in
2===================================================================
3--- curl-7.20.0.orig/libcurl.pc.in 2009-11-17 18:11:07.000000000 +0000
4+++ curl-7.20.0/libcurl.pc.in 2010-03-25 12:13:26.814051066 +0000
5@@ -35,6 +35,7 @@
6 URL: http://curl.haxx.se/
7 Description: Library to transfer files with ftp, http, etc.
8 Version: @VERSION@
9-Libs: -L${libdir} -lcurl @LIBS@
10-Libs.private: @LIBCURL_LIBS@ @LIBS@
11+Requires.private: @GNUTLS_REQUIRED@
12+Libs: -L${libdir} -lcurl
13+Libs.private: -ldl -lz
14 Cflags: -I${includedir}
15Index: curl-7.20.0/configure.ac
16===================================================================
17--- curl-7.20.0.orig/configure.ac 2010-02-04 21:41:46.000000000 +0000
18+++ curl-7.20.0/configure.ac 2010-03-25 12:12:18.673129001 +0000
19@@ -1668,6 +1668,7 @@
20 AC_SUBST(USE_GNUTLS, [1])
21 GNUTLS_ENABLED=1
22 USE_GNUTLS="yes"
23+ GNUTLS_REQUIRED="gnutls"
24 curl_ssl_msg="enabled (GnuTLS)"
25 ],
26 [
27@@ -1696,6 +1697,8 @@
28
29 fi dnl OPENSSL != 1
30
31+AC_SUBST(GNUTLS_REQUIRED)
32+
33 dnl ----------------------------------------------------
34 dnl NSS. Only check if GnuTLS and OpenSSL are not enabled
35 dnl ----------------------------------------------------
diff --git a/meta/recipes-support/curl/curl_7.21.0.bb b/meta/recipes-support/curl/curl_7.21.0.bb
new file mode 100644
index 0000000..1e11222
--- /dev/null
+++ b/meta/recipes-support/curl/curl_7.21.0.bb
@@ -0,0 +1,54 @@
1DESCRIPTION = "Command line tool and library for client-side URL transfers."
2HOMEPAGE = "http://curl.haxx.se/"
3BUGTRACKER = "http://curl.haxx.se/mail/list.cgi?list=curl-tracker"
4SECTION = "console/network"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac"
7
8DEPENDS = "zlib gnutls"
9DEPENDS_virtclass-native = "zlib-native"
10DEPENDS_virtclass-nativesdk = "zlib-nativesdk"
11PR = "r0"
12
13SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
14 file://noldlibpath.patch \
15 file://pkgconfig_fix.patch"
16
17inherit autotools pkgconfig binconfig
18
19EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
20 --with-gnutls=${STAGING_BINDIR_CROSS}/ \
21 --without-ssl \
22 --without-libssh2 \
23 --with-random=/dev/urandom \
24 --without-libidn \
25 --enable-crypto-auth \
26 "
27
28do_configure_prepend() {
29 sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac
30}
31
32PACKAGES += "${PN}-certs libcurl libcurl-dev libcurl-doc"
33
34FILES_${PN} = "${bindir}/curl"
35
36FILES_${PN}-certs = "${datadir}/curl/curl-*"
37PACKAGE_ARCH_${PN}-certs = "all"
38
39FILES_${PN}-doc = "${mandir}/man1/curl.1"
40
41FILES_lib${PN} = "${libdir}/lib*.so.*"
42RRECOMMENDS_lib${PN} += "${PN}-certs"
43FILES_lib${PN}-dev = "${includedir} \
44 ${libdir}/lib*.so \
45 ${libdir}/lib*.a \
46 ${libdir}/lib*.la \
47 ${libdir}/pkgconfig \
48 ${datadir}/aclocal \
49 ${bindir}/*-config"
50
51FILES_lib${PN}-doc = "${mandir}/man3 \
52 ${mandir}/man1/curl-config.1"
53
54BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/db/db/arm-thumb-mutex.patch b/meta/recipes-support/db/db/arm-thumb-mutex.patch
new file mode 100644
index 0000000..acd446f
--- /dev/null
+++ b/meta/recipes-support/db/db/arm-thumb-mutex.patch
@@ -0,0 +1,36 @@
1--- db-4.3.29-dist/../dbinc/mutex.h 2005-11-15 07:33:27.761042518 -0800
2+++ db-4.3.29-dist/../dbinc/mutex.h 2005-11-15 07:55:24.823920060 -0800
3@@ -470,6 +470,25 @@
4 #ifdef LOAD_ACTUAL_MUTEX_CODE
5 #define MUTEX_SET_TEST 1 /* gcc/arm: 0 is clear, 1 is set. */
6
7+#if defined __thumb__
8+#define MUTEX_SET(tsl) ({ \
9+ int __r, __p; \
10+ asm volatile( \
11+ ".align 2\n\t" \
12+ "bx pc\n\t" \
13+ "nop\n\t" \
14+ ".arm\n\t" \
15+ "swpb %0, %2, [%3]\n\t" \
16+ "eor %0, %0, #1\n\t" \
17+ "orr %1, pc, #1\n\t" \
18+ "bx %1\n\t" \
19+ ".force_thumb" \
20+ : "=&r" (__r), "=r" (__p) \
21+ : "r" (1), "r" (tsl) \
22+ ); \
23+ __r & 1; \
24+})
25+#else
26 #define MUTEX_SET(tsl) ({ \
27 int __r; \
28 asm volatile( \
29@@ -480,6 +499,7 @@
30 ); \
31 __r & 1; \
32 })
33+#endif
34
35 #define MUTEX_UNSET(tsl) (*(volatile tsl_t *)(tsl) = 0)
36 #define MUTEX_INIT(tsl) MUTEX_UNSET(tsl)
diff --git a/meta/recipes-support/db/db/configure_fixes.patch b/meta/recipes-support/db/db/configure_fixes.patch
new file mode 100644
index 0000000..80aa0e7
--- /dev/null
+++ b/meta/recipes-support/db/db/configure_fixes.patch
@@ -0,0 +1,18 @@
1If LD is a binary name + parameters db will fail to work out its GNU ld
2and disable shared libraries. We don't want this.
3
4RP - 22/11/2007
5
6Index: dist/configure
7===================================================================
8--- dist.orig/configure 2007-11-23 00:47:27.000000000 +0000
9+++ dist/configure 2007-11-23 00:53:22.000000000 +0000
10@@ -5658,7 +5661,7 @@ if test "${lt_cv_prog_gnu_ld+set}" = set
11 echo $ECHO_N "(cached) $ECHO_C" >&6
12 else
13 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14-case `"$LD" -v 2>&1 </dev/null` in
15+case `$LD -v 2>&1 </dev/null` in
16 *GNU* | *'with BFD'*)
17 lt_cv_prog_gnu_ld=yes
18 ;;
diff --git a/meta/recipes-support/db/db_4.2.52.bb b/meta/recipes-support/db/db_4.2.52.bb
new file mode 100644
index 0000000..b3ca493
--- /dev/null
+++ b/meta/recipes-support/db/db_4.2.52.bb
@@ -0,0 +1,97 @@
1# Version 4 of the Berkeley DB from Sleepycat
2#
3# At present this package only installs the DB code
4# itself (shared libraries, .a in the dev package),
5# documentation and headers.
6#
7# The headers have the same names as those as v3
8# of the DB, only one version can be used *for dev*
9# at once - DB3 and DB4 can both be installed on the
10# same system at the same time if really necessary.
11SECTION = "libs"
12DESCRIPTION = "Berkeley DB v4."
13HOMEPAGE = "http://www.oracle.com/technology/products/berkeley-db/db/index.html"
14LICENSE = "BSD Sleepycat"
15VIRTUAL_NAME = "virtual/db"
16VIRTUAL_NAME_virtclass-native = "virtual/db-native"
17
18CONFLICTS = "db3"
19CONFLICTS_virtclass-native = "db3-native"
20PR = "r8"
21
22SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz \
23 file://configure_fixes.patch;patch=1 "
24#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5"
25#TODO SRC_URI += "file://arm-thumb-mutex.patch;patch=1"
26
27inherit autotools
28
29# Put virtual/db in any appropriate provider of a
30# relational database, use it as a dependency in
31# place of a specific db and use:
32#
33# PREFERRED_PROVIDER_virtual/db
34#
35# to select the correct db in the build (distro) .conf
36PROVIDES += "${VIRTUAL_NAME}"
37
38# bitbake isn't quite clever enough to deal with sleepycat,
39# the distribution sits in the expected directory, but all
40# the builds must occur from a sub-directory. The following
41# persuades bitbake to go to the right place
42S = "${WORKDIR}/db-${PV}/dist"
43B = "${WORKDIR}/db-${PV}/build_unix"
44
45# The executables go in a separate package - typically there
46# is no need to install these unless doing real database
47# management on the system.
48PACKAGES += " ${PN}-bin"
49
50# Package contents
51FILES_${PN} = "${libdir}/libdb-4*so*"
52FILES_${PN}-bin = "${bindir}/*"
53# The dev package has the .so link (as in db3) and the .a's -
54# it is therefore incompatible (cannot be installed at the
55# same time) as the db3 package
56FILES_${PN}-dev = "${includedir} ${libdir}/*"
57
58#configuration - set in local.conf to override
59DB4_CONFIG ?= " --disable-cryptography --disable-queue --disable-replication --disable-verify --enable-hash"
60EXTRA_OECONF = "${DB4_CONFIG}"
61
62# Override the MUTEX setting here, the POSIX library is
63# the default - "POSIX/pthreads/library".
64# Don't ignore the nice SWP instruction on the ARM:
65# These enable the ARM assembler mutex code, this won't
66# work with thumb compilation...
67ARM_MUTEX = "--with-mutex=ARM/gcc-assembly"
68MUTEX = ""
69MUTEX_arm = "${ARM_MUTEX}"
70MUTEX_armeb = "${ARM_MUTEX}"
71EXTRA_OECONF += "${MUTEX}"
72
73ARM_INSTRUCTION_SET = "arm"
74
75# Cancel the site stuff - it's set for db3 and destroys the
76# configure.
77CONFIG_SITE = ""
78do_configure() {
79 rm -f ${S}/config.sub
80 cp ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/config.sub
81 oe_runconf
82}
83
84do_install_append() {
85 # The docs end up in /usr/docs - not right.
86 if test -d "${D}/${prefix}/docs"
87 then
88 mkdir -p "${D}/${datadir}"
89 test ! -d "${D}/${docdir}" || rm -rf "${D}/${docdir}"
90 mv "${D}/${prefix}/docs" "${D}/${docdir}"
91 fi
92}
93
94# The db package contains symlinks that trip up insane
95INSANE_SKIP_db = "1"
96
97BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/db/db_4.3.29.bb b/meta/recipes-support/db/db_4.3.29.bb
new file mode 100644
index 0000000..04a6680
--- /dev/null
+++ b/meta/recipes-support/db/db_4.3.29.bb
@@ -0,0 +1,89 @@
1# Has issues with eds
2DEFAULT_PREFERENCE = "-1"
3
4# Version 4 of the Berkeley DB from Sleepycat
5#
6# At present this package only installs the DB code
7# itself (shared libraries, .a in the dev package),
8# documentation and headers.
9#
10# The headers have the same names as those as v3
11# of the DB, only one version can be used *for dev*
12# at once - DB3 and DB4 can both be installed on the
13# same system at the same time if really necessary.
14SECTION = "libs"
15DESCRIPTION = "Berkeley DB v4."
16HOMEPAGE = "http://www.oracle.com/technology/products/berkeley-db/db/index.html"
17LICENSE = "BSD Sleepycat"
18VIRTUAL_NAME ?= "virtual/db"
19CONFLICTS = "db3"
20PR = "r8"
21
22SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz"
23#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5"
24SRC_URI += "file://arm-thumb-mutex.patch;patch=1"
25
26inherit autotools
27
28# Put virtual/db in any appropriate provider of a
29# relational database, use it as a dependency in
30# place of a specific db and use:
31#
32# PREFERRED_PROVIDER_virtual/db
33#
34# to select the correct db in the build (distro) .conf
35PROVIDES += "${VIRTUAL_NAME}"
36
37# bitbake isn't quite clever enough to deal with sleepycat,
38# the distribution sits in the expected directory, but all
39# the builds must occur from a sub-directory. The following
40# persuades bitbake to go to the right place
41S = "${WORKDIR}/db-${PV}/dist"
42B = "${WORKDIR}/db-${PV}/build_unix"
43
44# The executables go in a separate package - typically there
45# is no need to install these unless doing real database
46# management on the system.
47PACKAGES += " ${PN}-bin"
48
49# Package contents
50FILES_${PN} = "${libdir}/libdb-4*so*"
51FILES_${PN}-bin = "${bindir}/*"
52# The dev package has the .so link (as in db3) and the .a's -
53# it is therefore incompatible (cannot be installed at the
54# same time) as the db3 package
55FILES_${PN}-dev = "${includedir} ${libdir}/*"
56
57#configuration - set in local.conf to override
58# All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix)
59DB4_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-statistics --disable-verify --enable-compat185"
60
61EXTRA_OECONF = "${DB4_CONFIG}"
62
63# Override the MUTEX setting here, the POSIX library is
64# the default - "POSIX/pthreads/library".
65# Don't ignore the nice SWP instruction on the ARM:
66# These enable the ARM assembler mutex code, this won't
67# work with thumb compilation...
68ARM_MUTEX = "--with-mutex=ARM/gcc-assembly"
69MUTEX = ""
70MUTEX_arm = "${ARM_MUTEX}"
71MUTEX_armeb = "${ARM_MUTEX}"
72EXTRA_OECONF += "${MUTEX}"
73
74# Cancel the site stuff - it's set for db3 and destroys the
75# configure.
76CONFIG_SITE = ""
77do_configure() {
78 oe_runconf
79}
80
81do_install_append() {
82 # The docs end up in /usr/docs - not right.
83 if test -d "${D}/${prefix}/docs"
84 then
85 mkdir -p "${D}/${datadir}"
86 test ! -d "${D}/${docdir}" || rmdir "${D}/${docdir}"
87 mv "${D}/${prefix}/docs" "${D}/${docdir}"
88 fi
89}
diff --git a/meta/recipes-support/enchant/enchant_1.6.0.bb b/meta/recipes-support/enchant/enchant_1.6.0.bb
new file mode 100644
index 0000000..92b4686
--- /dev/null
+++ b/meta/recipes-support/enchant/enchant_1.6.0.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "Enchant Spell checker API Library"
2SECTION = "libs"
3HOMEPAGE = "http://www.abisource.com/projects/enchant/"
4BUGTRACKER = "http://bugzilla.abisource.com/enter_bug.cgi?product=Enchant"
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=dfcbabf9131dc9a95febef6753a2958b \
7 file://src/enchant.h;beginline=1;endline=29;md5=8d881caa1d37523567e1d8f726675a18"
8DEPENDS = "aspell glib-2.0"
9RDEPENDS = "aspell"
10
11inherit autotools pkgconfig
12
13PR = "r0"
14
15SRC_URI = "http://www.abisource.com/downloads/enchant/${PV}/enchant-${PV}.tar.gz"
16
17EXTRA_OECONF = "--with-aspell-prefix=${STAGING_DIR_HOST}${prefix} --enable-aspell --disable-binreloc"
18
19FILES_${PN} = "${bindir} ${libdir}/*${SOLIBS} ${datadir}/${PN} ${libdir}/${PN}/*.so"
20FILES_${PN}-dev += "${libdir}/${PN}/*{SOLIBSDEV} ${libdir}/${PN}/*.la ${libdir}/${PN}/*.a"
21
22export CXXFLAGS += " -L${STAGING_LIBDIR} -lstdc++ "
diff --git a/meta/recipes-support/gdbm/gdbm-1.8.3/libtool-mode.patch b/meta/recipes-support/gdbm/gdbm-1.8.3/libtool-mode.patch
new file mode 100644
index 0000000..c56bac2
--- /dev/null
+++ b/meta/recipes-support/gdbm/gdbm-1.8.3/libtool-mode.patch
@@ -0,0 +1,20 @@
1--- gdbm-1.8.3/Makefile.in.orig 2006-02-16 15:17:25.000000000 +0000
2+++ gdbm-1.8.3/Makefile.in 2006-02-16 15:18:08.000000000 +0000
3@@ -131,7 +131,7 @@
4 $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
5 $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir) \
6 $(DESTDIR)$(infodir)
7- $(LIBTOOL) $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la
8+ $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la
9 $(INSTALL_DATA) gdbm.h \
10 $(DESTDIR)$(includedir)/gdbm.h
11 $(INSTALL_DATA) $(srcdir)/gdbm.3 \
12@@ -142,7 +142,7 @@
13 install-compat:
14 $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
15 $(DESTDIR)$(includedir)
16- $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
17+ $(LIBTOOL) --mode=install $(INSTALL) -c libgdbm_compat.la \
18 $(DESTDIR)$(libdir)/libgdbm_compat.la
19 $(INSTALL_DATA) $(srcdir)/dbm.h \
20 $(DESTDIR)$(includedir)/dbm.h
diff --git a/meta/recipes-support/gdbm/gdbm-1.8.3/makefile.patch b/meta/recipes-support/gdbm/gdbm-1.8.3/makefile.patch
new file mode 100644
index 0000000..5350c53
--- /dev/null
+++ b/meta/recipes-support/gdbm/gdbm-1.8.3/makefile.patch
@@ -0,0 +1,59 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6--- gdbm-1.8.3/Makefile.in~makefile
7+++ gdbm-1.8.3/Makefile.in
8@@ -22,6 +22,7 @@
9 TEXI2DVI = texi2dvi
10
11 DEFS =
12+DESTDIR =
13
14 # Where the system [n]dbm routines are...
15 LIBS = @LIBS@ -lc
16@@ -127,26 +128,26 @@
17 progs: $(PROGS)
18
19 install: libgdbm.la gdbm.h gdbm.info
20- $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
21- $(INSTALL_ROOT)$(includedir) $(INSTALL_ROOT)$(man3dir) \
22- $(INSTALL_ROOT)$(infodir)
23- $(LIBTOOL) $(INSTALL) -c libgdbm.la $(INSTALL_ROOT)$(libdir)/libgdbm.la
24- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) gdbm.h \
25- $(INSTALL_ROOT)$(includedir)/gdbm.h
26- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.3 \
27- $(INSTALL_ROOT)$(man3dir)/gdbm.3
28- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/gdbm.info \
29- $(INSTALL_ROOT)$(infodir)/gdbm.info
30+ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
31+ $(DESTDIR)$(includedir) $(DESTDIR)$(man3dir) \
32+ $(DESTDIR)$(infodir)
33+ $(LIBTOOL) $(INSTALL) -c libgdbm.la $(DESTDIR)$(libdir)/libgdbm.la
34+ $(INSTALL_DATA) gdbm.h \
35+ $(DESTDIR)$(includedir)/gdbm.h
36+ $(INSTALL_DATA) $(srcdir)/gdbm.3 \
37+ $(DESTDIR)$(man3dir)/gdbm.3
38+ $(INSTALL_DATA) $(srcdir)/gdbm.info \
39+ $(DESTDIR)$(infodir)/gdbm.info
40
41 install-compat:
42- $(srcdir)/mkinstalldirs $(INSTALL_ROOT)$(libdir) \
43- $(INSTALL_ROOT)$(includedir)
44+ $(srcdir)/mkinstalldirs $(DESTDIR)$(libdir) \
45+ $(DESTDIR)$(includedir)
46 $(LIBTOOL) $(INSTALL) -c libgdbm_compat.la \
47- $(INSTALL_ROOT)$(libdir)/libgdbm_compat.la
48- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/dbm.h \
49- $(INSTALL_ROOT)$(includedir)/dbm.h
50- $(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP) $(srcdir)/ndbm.h \
51- $(INSTALL_ROOT)$(includedir)/ndbm.h
52+ $(DESTDIR)$(libdir)/libgdbm_compat.la
53+ $(INSTALL_DATA) $(srcdir)/dbm.h \
54+ $(DESTDIR)$(includedir)/dbm.h
55+ $(INSTALL_DATA) $(srcdir)/ndbm.h \
56+ $(DESTDIR)$(includedir)/ndbm.h
57
58 #libgdbm.a: $(OBJS) gdbm.h
59 # rm -f libgdbm.a
diff --git a/meta/recipes-support/gdbm/gdbm_1.8.3.bb b/meta/recipes-support/gdbm/gdbm_1.8.3.bb
new file mode 100644
index 0000000..e8369fd
--- /dev/null
+++ b/meta/recipes-support/gdbm/gdbm_1.8.3.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "GNU dbm is a set of database routines that use extensible hashing."
2HOMEPAGE = "http://www.gnu.org/software/gdbm/"
3SECTION = "libs"
4PRIORITY = "optional"
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d8e20eece214df8ef953ed5857862150"
7
8PR = "r4"
9
10SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
11 file://makefile.patch;patch=1 \
12 file://libtool-mode.patch;patch=1"
13
14inherit autotools
15
16BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch b/meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch
new file mode 100644
index 0000000..83c9eae
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp-4.2.1/disable-stdc.patch
@@ -0,0 +1,31 @@
1# "extern inline" in traditional gcc means that the function should be
2# inlined wherever it's seen, while in C99, "extern inline" means that i
3# the function should only be inlined where the inline definition is
4# seen while in other places it's not inlined:
5# http://gcc.gnu.org/ml/gcc/2006-11/msg00006.html
6#
7# gmp checks "--std=gnu99" to use C99 convention however it internally
8# defines some "extern inline" functions in gmp.h, which is included
9# by mainly .c files and finally lead a flood of redefinition function
10# errors when linking objects together.
11#
12# So disable C99/ANSI detection to stick to tranditional gcc behavior
13#
14# by Kevin Tian <kevin.tian@intel.com>, 2010-08-13
15#
16# (this patch is licensed under GPLv2+)
17
18diff --git a/configure.in b/configure.in
19index 450cc92..aab0b59 100644
20--- a/configure.in
21+++ b/configure.in
22@@ -1869,9 +1869,7 @@ AC_SUBST(DEFN_LONG_LONG_LIMB)
23
24 # The C compiler and preprocessor, put into ANSI mode if possible.
25 AC_PROG_CC
26-AC_PROG_CC_STDC
27 AC_PROG_CPP
28-GMP_H_ANSI
29
30
31 # The C compiler on the build system, and associated tests.
diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc
new file mode 100644
index 0000000..6b56f7e
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp.inc
@@ -0,0 +1,16 @@
1SECTION = "devel"
2DESCRIPTION = "GNU multiprecision arithmetic library"
3HOMEPAGE = "http://www.swox.com/gmp/"
4LICENSE = "GPLv3 LGPLv3"
5
6SRC_URI = "ftp://ftp.gnu.org/gnu/gmp/gmp-${PV}.tar.bz2 \
7 file://configure.patch \
8 file://amd64.patch "
9
10inherit autotools
11
12ARM_INSTRUCTION_SET = "arm"
13
14acpaths = ""
15
16BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/gmp/gmp/amd64.patch b/meta/recipes-support/gmp/gmp/amd64.patch
new file mode 100644
index 0000000..67be9dd
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp/amd64.patch
@@ -0,0 +1,14 @@
1--- gmp-4.1.4/longlong.h.orig 2004-04-22 00:34:28.000000000 +0200
2+++ gmp-4.1.4/longlong.h 2005-07-18 01:13:06.000000000 +0200
3@@ -738,8 +738,10 @@
4 count is only an int. */
5 #define count_trailing_zeros(count, x) \
6 do { \
7+ UDItype __cbtmp; \
8 ASSERT ((x) != 0); \
9- __asm__ ("bsfq %1,%q0" : "=r" (count) : "rm" ((UDItype)(x))); \
10+ __asm__ ("bsfq %1,%0" : "=r" (__cbtmp) : "rm" ((UDItype)(x))); \
11+ (count) = __cbtmp; \
12 } while (0)
13 #endif /* x86_64 */
14
diff --git a/meta/recipes-support/gmp/gmp/configure.patch b/meta/recipes-support/gmp/gmp/configure.patch
new file mode 100644
index 0000000..ed0c02d
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp/configure.patch
@@ -0,0 +1,195 @@
1 acinclude.m4 | 26 ++++++++++++++------------
2 configure.in | 24 +++++++++---------------
3 2 files changed, 23 insertions(+), 27 deletions(-)
4
5Index: gmp-5.0.1/acinclude.m4
6===================================================================
7--- gmp-5.0.1.orig/acinclude.m4
8+++ gmp-5.0.1/acinclude.m4
9@@ -30,20 +30,20 @@ dnl a_out.exe - OpenVMS DEC C called
10 dnl conftest.exe - various DOS compilers
11
12
13-define(IA64_PATTERN,
14+define([IA64_PATTERN],
15 [[ia64*-*-* | itanium-*-* | itanium2-*-*]])
16
17 dnl Need to be careful not to match m6811, m6812, m68hc11 and m68hc12, all
18 dnl of which config.sub accepts. (Though none of which are likely to work
19 dnl with GMP.)
20 dnl
21-define(M68K_PATTERN,
22+define([M68K_PATTERN],
23 [[m68k-*-* | m68[0-9][0-9][0-9]-*-*]])
24
25-define(POWERPC64_PATTERN,
26+define([POWERPC64_PATTERN],
27 [[powerpc64-*-* | powerpc64le-*-* | powerpc620-*-* | powerpc630-*-* | powerpc970-*-* | power[3-9]-*-*]])
28
29-define(X86_PATTERN,
30+define([X86_PATTERN],
31 [[i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-* | viac3*-*-* | geode*-*-* | atom-*-*]])
32
33 define(X86_64_PATTERN,
34@@ -64,7 +64,7 @@ dnl x86 -> x86
35 dnl x86/k6 -> k6
36 dnl x86/k6/mmx -> k6_mmx
37
38-define(GMP_FAT_SUFFIX,
39+define([GMP_FAT_SUFFIX],
40 [[$1=`echo $2 | sed -e '/\//s:^[^/]*/::' -e 's:[\\/]:_:g'`]])
41
42
43@@ -73,7 +73,7 @@ dnl ----------------------------------
44 dnl Emit code to remove any occurrence of ITEM from $LISTVAR. ITEM can be a
45 dnl shell expression like $foo if desired.
46
47-define(GMP_REMOVE_FROM_LIST,
48+define([GMP_REMOVE_FROM_LIST],
49 [remove_from_list_tmp=
50 for remove_from_list_i in $[][$1]; do
51 if test $remove_from_list_i = [$2]; then :;
52@@ -89,12 +89,12 @@ dnl GMP_STRIP_PATH(subdir)
53 dnl ----------------------
54 dnl Strip entries */subdir from $path and $fat_path.
55
56-define(GMP_STRIP_PATH,
57+define([GMP_STRIP_PATH],
58 [GMP_STRIP_PATH_VAR(path, [$1])
59 GMP_STRIP_PATH_VAR(fat_path, [$1])
60 ])
61
62-define(GMP_STRIP_PATH_VAR,
63+define([GMP_STRIP_PATH_VAR],
64 [tmp_path=
65 for i in $[][$1]; do
66 case $i in
67@@ -115,7 +115,7 @@ dnl
68 dnl Dummy value for GMP_LIMB_BITS is enough
69 dnl for all current configure-time uses of gmp.h.
70
71-define(GMP_INCLUDE_GMP_H,
72+define([GMP_INCLUDE_GMP_H],
73 [[#define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */
74 #define GMP_NAIL_BITS $GMP_NAIL_BITS
75 #define GMP_LIMB_BITS 123
76@@ -130,7 +130,7 @@ dnl Expand at autoconf time to the valu
77 dnl FILE. The regexps here aren't very rugged, but are enough for gmp.
78 dnl /dev/null as a parameter prevents a hang if $2 is accidentally omitted.
79
80-define(GMP_HEADER_GETVAL,
81+define([GMP_HEADER_GETVAL],
82 [patsubst(patsubst(
83 esyscmd([grep "^#define $1 " $2 /dev/null 2>/dev/null]),
84 [^.*$1[ ]+],[]),
85@@ -144,7 +144,7 @@ dnl The gmp version number, extracted f
86 dnl autoconf time. Two digits like 3.0 if patchlevel <= 0, or three digits
87 dnl like 3.0.1 if patchlevel > 0.
88
89-define(GMP_VERSION,
90+define([GMP_VERSION],
91 [GMP_HEADER_GETVAL(__GNU_MP_VERSION,gmp-h.in)[]dnl
92 .GMP_HEADER_GETVAL(__GNU_MP_VERSION_MINOR,gmp-h.in)[]dnl
93 .GMP_HEADER_GETVAL(__GNU_MP_VERSION_PATCHLEVEL,gmp-h.in)])
94@@ -1506,7 +1506,9 @@ esac
95 echo ["define(<CONFIG_TOP_SRCDIR>,<\`$tmp'>)"] >>$gmp_tmpconfigm4
96
97 # All CPUs use asm-defs.m4
98-echo ["include][(CONFIG_TOP_SRCDIR\`/mpn/asm-defs.m4')"] >>$gmp_tmpconfigm4i
99+echo -n ["include("] >>$gmp_tmpconfigm4i
100+echo -n ["CONFIG_TOP_SRCDIR\`/mpn/asm-defs.m4'"] >>$gmp_tmpconfigm4i
101+echo [")"] >>$gmp_tmpconfigm4i
102 ])
103
104
105Index: gmp-5.0.1/configure.in
106===================================================================
107--- gmp-5.0.1.orig/configure.in
108+++ gmp-5.0.1/configure.in
109@@ -29,12 +29,6 @@ AC_REVISION($Revision$)
110 AC_PREREQ(2.59)
111 AC_INIT(GNU MP, GMP_VERSION, gmp-bugs@gmplib.org, gmp)
112 AC_CONFIG_SRCDIR(gmp-impl.h)
113-m4_pattern_forbid([^[ \t]*GMP_])
114-m4_pattern_allow(GMP_LDFLAGS)
115-m4_pattern_allow(GMP_LIMB_BITS)
116-m4_pattern_allow(GMP_MPARAM_H_SUGGEST)
117-m4_pattern_allow(GMP_NAIL_BITS)
118-m4_pattern_allow(GMP_NUMB_BITS)
119
120 # If --target is not used then $target_alias is empty, but if say
121 # "./configure athlon-pc-freebsd3.5" is used, then all three of
122@@ -303,7 +297,7 @@ AH_VERBATIM([HAVE_HOST_CPU_1],
123 # After GMP specific searches and tests, the standard autoconf AC_PROG_CC is
124 # called. User selections of CC etc are respected.
125 #
126-# Care is taken not to use macros like AC_TRY_COMPILE during the GMP
127+# Care is taken not to use macros like AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) during the GMP
128 # pre-testing, since they of course depend on AC_PROG_CC, and also some of
129 # them cache their results, which is not wanted.
130 #
131@@ -395,7 +389,7 @@ abilist="standard"
132 # FIXME: We'd like to prefer an ANSI compiler, perhaps by preferring
133 # c89 over cc here. But note that on HP-UX c89 provides a castrated
134 # environment, and would want to be excluded somehow. Maybe
135-# AC_PROG_CC_STDC already does enough to stick cc into ANSI mode and
136+# already does enough to stick cc into ANSI mode and
137 # we don't need to worry.
138 #
139 cclist="gcc cc"
140@@ -1580,7 +1574,7 @@ esac
141 CFLAGS_or_unset=${CFLAGS-'(unset)'}
142 CPPFLAGS_or_unset=${CPPFLAGS-'(unset)'}
143
144-cat >&AC_FD_CC <<EOF
145+cat >&AS_MESSAGE_LOG_FD() <<EOF
146 User:
147 ABI=$ABI
148 CC=$CC
149@@ -1987,7 +1981,6 @@ AC_SUBST(DEFN_LONG_LONG_LIMB)
150
151 # The C compiler and preprocessor, put into ANSI mode if possible.
152 AC_PROG_CC
153-AC_PROG_CC_STDC
154 AC_PROG_CPP
155 GMP_H_ANSI
156
157@@ -2010,11 +2003,11 @@ AC_SUBST(CCAS)
158
159 # The C++ compiler, if desired.
160 want_cxx=no
161+AC_PROG_CXX
162 if test $enable_cxx != no; then
163 test_CXXFLAGS=${CXXFLAGS+set}
164- AC_PROG_CXX
165
166- echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&AC_FD_CC
167+ echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&AS_MESSAGE_LOG_FD()
168 cxxflags_ac_prog_cxx=$CXXFLAGS
169 cxxflags_list=ac_prog_cxx
170
171@@ -2120,7 +2113,7 @@ case $host in
172 esac
173
174
175-cat >&AC_FD_CC <<EOF
176+cat >&AS_MESSAGE_LOG_FD() <<EOF
177 Decided:
178 ABI=$ABI
179 CC=$CC
180@@ -3376,7 +3369,7 @@ GMP_FINISH
181 # FIXME: Upcoming version of autoconf/automake may not like broken lines.
182 # Right now automake isn't accepting the new AC_CONFIG_FILES scheme.
183
184-AC_OUTPUT(Makefile \
185+AC_CONFIG_FILES([Makefile \
186 mpbsd/Makefile mpf/Makefile mpn/Makefile mpq/Makefile \
187 mpz/Makefile printf/Makefile scanf/Makefile cxx/Makefile \
188 tests/Makefile tests/devel/Makefile tests/mpbsd/Makefile \
189@@ -3385,4 +3378,5 @@ AC_OUTPUT(Makefile \
190 tests/cxx/Makefile \
191 doc/Makefile tune/Makefile \
192 demos/Makefile demos/calc/Makefile demos/expr/Makefile \
193- gmp.h:gmp-h.in mp.h:mp-h.in)
194+ gmp.h:gmp-h.in mp.h:mp-h.in])
195+AC_OUTPUT
diff --git a/meta/recipes-support/gmp/gmp/sh4-asmfix.patch b/meta/recipes-support/gmp/gmp/sh4-asmfix.patch
new file mode 100644
index 0000000..1a01f61
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp/sh4-asmfix.patch
@@ -0,0 +1,26 @@
1--- gmp-4.1.4/mpn/sh/add_n.s 2005/11/17 08:44:00 1.1
2+++ gmp-4.1.4/mpn/sh/add_n.s 2005/11/17 08:18:57
3@@ -29,8 +29,8 @@
4
5 .text
6 .align 2
7- .global ___gmpn_add_n
8-___gmpn_add_n:
9+ .global __gmpn_add_n
10+__gmpn_add_n:
11 mov #0,r3 ! clear cy save reg
12
13 Loop: mov.l @r5+,r1
14--- gmp-4.1.4/mpn/sh/sub_n.s 2005/11/17 08:44:04 1.1
15+++ gmp-4.1.4/mpn/sh/sub_n.s 2005/11/17 08:18:59
16@@ -29,8 +29,8 @@
17
18 .text
19 .align 2
20- .global ___gmpn_sub_n
21-___gmpn_sub_n:
22+ .global __gmpn_sub_n
23+__gmpn_sub_n:
24 mov #0,r3 ! clear cy save reg
25
26 Loop: mov.l @r5+,r1
diff --git a/meta/recipes-support/gmp/gmp/use-includedir.patch b/meta/recipes-support/gmp/gmp/use-includedir.patch
new file mode 100644
index 0000000..ee3891f
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp/use-includedir.patch
@@ -0,0 +1,13 @@
1Index: gmp-4.2.4/Makefile.am
2===================================================================
3--- gmp-4.2.4.orig/Makefile.am 2008-09-10 19:31:27.000000000 +0000
4+++ gmp-4.2.4/Makefile.am 2009-07-06 20:19:19.000000000 +0000
5@@ -106,7 +106,7 @@
6 # but anyone knowledgable enough to be playing with exec_prefix will be able
7 # to address that.
8 #
9-includeexecdir = $(exec_prefix)/include
10+includeexecdir = $(includedir)
11 include_HEADERS = $(GMPXX_HEADERS_OPTION)
12 nodist_includeexec_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION)
13 lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
diff --git a/meta/recipes-support/gmp/gmp_4.2.1.bb b/meta/recipes-support/gmp/gmp_4.2.1.bb
new file mode 100644
index 0000000..d70dcf2
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp_4.2.1.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers"
2HOMEPAGE = "http://gmplib.org/"
3BUGTRACKER = "http://gmplib.org/mailman/listinfo/gmp-bugs"
4# demo is licensed under GPLv2+, which however we don't package at all
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a \
7 file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \
8 file://gmp-h.in;startline=6;endline=21;md5=5e25ffd16996faba8c1cd27b04b16099"
9PR = "r0"
10
11SRC_URI = "ftp://ftp.gnu.org/gnu/gmp/${BP}.tar.bz2 \
12 file://disable-stdc.patch"
13
14inherit autotools
diff --git a/meta/recipes-support/gmp/gmp_5.0.1.bb b/meta/recipes-support/gmp/gmp_5.0.1.bb
new file mode 100644
index 0000000..dd908bd
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp_5.0.1.bb
@@ -0,0 +1,7 @@
1require gmp.inc
2
3PR = "r0"
4
5SRC_URI_append += "file://sh4-asmfix.patch \
6 file://use-includedir.patch "
7
diff --git a/meta/recipes-support/gnutls/gnutls-2.8.6/configure-fix.patch b/meta/recipes-support/gnutls/gnutls-2.8.6/configure-fix.patch
new file mode 100644
index 0000000..247e324
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls-2.8.6/configure-fix.patch
@@ -0,0 +1,64 @@
1rebased from original configure_madness.patch
2
3libtasn1 provides an .pc file in upstream,
4and a libgcrypt.pc is added in libgcrypt recipe,
5so use Requires.private for these two.
6
7against 2.8.6
8
907/02/2010 - qhe
10
11---
12diff --git a/lib/configure.ac b/lib/configure.ac
13index 80d3375..1a486f7 100644
14--- a/lib/configure.ac
15+++ b/lib/configure.ac
16@@ -81,8 +81,8 @@ fi
17
18 lgl_INIT
19
20-LIBGNUTLS_LIBS="-L${libdir} -lgnutls $LIBS"
21-LIBGNUTLS_CFLAGS="-I${includedir}"
22+LIBGNUTLS_LIBS="-lgnutls $LIBS"
23+LIBGNUTLS_CFLAGS=""
24 AC_SUBST(LIBGNUTLS_LIBS)
25 AC_SUBST(LIBGNUTLS_CFLAGS)
26
27diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in
28index 3b01c17..de31469 100644
29--- a/lib/gnutls.pc.in
30+++ b/lib/gnutls.pc.in
31@@ -20,6 +20,6 @@ Name: GnuTLS
32 Description: Transport Security Layer implementation for the GNU system
33 URL: http://www.gnu.org/software/gnutls/
34 Version: @VERSION@
35+Requires.private: libgcrypt, libtasn1
36 Libs: -L${libdir} -lgnutls
37-Libs.private: @LIBGNUTLS_LIBS@ @LTLIBTASN1@
38 Cflags: -I${includedir}
39diff --git a/libextra/configure.ac b/libextra/configure.ac
40index c08e73f..3313886 100644
41--- a/libextra/configure.ac
42+++ b/libextra/configure.ac
43@@ -40,8 +40,8 @@ LIBGNUTLS_EXTRA_HOOKS
44
45 xgl_INIT
46
47-LIBGNUTLS_EXTRA_LIBS="-L${libdir} -lgnutls-extra $LZO_LIBS $LIBGNUTLS_LIBS"
48-LIBGNUTLS_EXTRA_CFLAGS="-I${includedir}"
49+LIBGNUTLS_EXTRA_LIBS="-lgnutls-extra $LZO_LIBS $LIBGNUTLS_LIBS"
50+LIBGNUTLS_EXTRA_CFLAGS=""
51 AC_SUBST(LIBGNUTLS_EXTRA_LIBS)
52 AC_SUBST(LIBGNUTLS_EXTRA_CFLAGS)
53
54diff --git a/libextra/gnutls-extra.pc.in b/libextra/gnutls-extra.pc.in
55index 9e7b8f6..e228ec9 100644
56--- a/libextra/gnutls-extra.pc.in
57+++ b/libextra/gnutls-extra.pc.in
58@@ -21,5 +21,5 @@ URL: http://www.gnu.org/software/gnutls/
59 Requires: gnutls
60 Version: @VERSION@
61 Libs: -L${libdir} -lgnutls-extra
62-Libs.private: @LIBGNUTLS_EXTRA_LIBS@
63+Libs.private: -llzo2
64 Cflags: -I${includedir}
diff --git a/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-openssl.patch b/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-openssl.patch
new file mode 100644
index 0000000..413de06
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-openssl.patch
@@ -0,0 +1,124 @@
1Index: gnutls-1.6.0/libextra/gnutls_openssl.c
2===================================================================
3--- gnutls-1.6.0.orig/libextra/gnutls_openssl.c 2006-08-13 22:34:09.000000000 +0200
4+++ gnutls-1.6.0/libextra/gnutls_openssl.c 2006-12-12 15:07:59.002227000 +0100
5@@ -256,12 +256,17 @@
6 ssl->rfd = (gnutls_transport_ptr_t) - 1;
7 ssl->wfd = (gnutls_transport_ptr_t) - 1;
8
9+ ssl->ssl_peek_buffer = NULL;
10+ ssl->ssl_peek_buffer_size = ssl->ssl_peek_avail = 0;
11+
12 return ssl;
13 }
14
15 void
16 SSL_free (SSL * ssl)
17 {
18+ if (ssl->ssl_peek_buffer)
19+ free(ssl->ssl_peek_buffer);
20 gnutls_certificate_free_credentials (ssl->gnutls_cred);
21 gnutls_deinit (ssl->gnutls_state);
22 free (ssl);
23@@ -285,6 +290,7 @@
24 SSL_set_fd (SSL * ssl, int fd)
25 {
26 gnutls_transport_set_ptr (ssl->gnutls_state, GNUTLS_INT_TO_POINTER (fd));
27+ ssl->rfd = ssl->wfd = fd;
28 return 1;
29 }
30
31@@ -310,6 +316,17 @@
32 return 1;
33 }
34
35+int SSL_get_rfd(SSL *ssl)
36+{
37+ return ssl->rfd;
38+}
39+
40+int SSL_get_wfd(SSL *ssl)
41+{
42+ return ssl->wfd;
43+}
44+
45+
46 void
47 SSL_set_bio (SSL * ssl, BIO * rbio, BIO * wbio)
48 {
49@@ -325,6 +342,8 @@
50 int
51 SSL_pending (SSL * ssl)
52 {
53+ if (ssl->ssl_peek_avail)
54+ return ssl->ssl_peek_avail;
55 return gnutls_record_check_pending (ssl->gnutls_state);
56 }
57
58@@ -480,11 +499,50 @@
59 return 1;
60 }
61
62+int SSL_peek(SSL *ssl, void *buf, int len)
63+{
64+ if (len > ssl->ssl_peek_buffer_size) {
65+ ssl->ssl_peek_buffer = realloc (ssl->ssl_peek_buffer, len);
66+ ssl->ssl_peek_buffer_size = len;
67+ }
68+
69+ if (ssl->ssl_peek_avail == 0) {
70+
71+ int ret;
72+
73+ ret = gnutls_record_recv(ssl->gnutls_state, ssl->ssl_peek_buffer, len);
74+ ssl->last_error = ret;
75+
76+ if (ret > 0)
77+ ssl->ssl_peek_avail += ret;
78+ }
79+
80+ if (len > ssl->ssl_peek_avail)
81+ len = ssl->ssl_peek_avail;
82+
83+ memcpy (buf, ssl->ssl_peek_buffer, len);
84+
85+ return len;
86+}
87+
88 int
89 SSL_read (SSL * ssl, void *buf, int len)
90 {
91 int ret;
92
93+ if (ssl->ssl_peek_avail) {
94+ int n = (ssl->ssl_peek_avail > len) ? len : ssl->ssl_peek_avail;
95+
96+ memcpy (buf, ssl->ssl_peek_buffer, n);
97+
98+ if (ssl->ssl_peek_avail > n)
99+ memmove (ssl->ssl_peek_buffer, ssl->ssl_peek_buffer + n, ssl->ssl_peek_avail - n);
100+
101+ ssl->ssl_peek_avail -= n;
102+
103+ return n;
104+ }
105+
106 ret = gnutls_record_recv (ssl->gnutls_state, buf, len);
107 ssl->last_error = ret;
108
109Index: gnutls-1.6.0/includes/gnutls/openssl.h
110===================================================================
111--- gnutls-1.6.0.orig/libextra/includes/gnutls/openssl.h 2006-03-08 11:44:58.000000000 +0100
112+++ gnutls-1.6.0/libextra/includes/gnutls/openssl.h 2006-12-12 15:07:26.032227000 +0100
113@@ -164,6 +164,11 @@
114
115 gnutls_transport_ptr_t rfd;
116 gnutls_transport_ptr_t wfd;
117+
118+ char *ssl_peek_buffer;
119+ size_t ssl_peek_buffer_size;
120+ size_t ssl_peek_avail;
121+
122 };
123
124 #define rbio gnutls_state
diff --git a/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-texinfo-euro.patch b/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-texinfo-euro.patch
new file mode 100644
index 0000000..a2d2f03
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-texinfo-euro.patch
@@ -0,0 +1,16 @@
1The version of texinfo in Debian Sarge does not understand the @euro{} command.
2This patch replaces the @euro{} command with the word "euro".
3
4--- gnutls-1.3.5/doc/gnutls.texi.orig 2006-04-26 08:06:40.918268000 +0930
5+++ gnutls-1.3.5/doc/gnutls.texi 2006-04-26 08:06:52.446515440 +0930
6@@ -11,8 +11,8 @@
7 long as it is difficult enough to generate two different messages with
8 the same hash algorithm output. In that case the same signature could
9 be used as a proof for both messages. Nobody wants to sign an innocent
10-message of donating 1 @euro{} to Greenpeace and find out that he
11-donated 1.000.000 @euro{} to Bad Inc.
12+message of donating 1 euro to Greenpeace and find out that he
13+donated 1.000.000 euro to Bad Inc.
14
15 For a hash algorithm to be called cryptographic the following three
16 requirements must hold
diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc
new file mode 100644
index 0000000..76f4ca6
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -0,0 +1,44 @@
1DESCRIPTION = "GNU Transport Layer Security Library"
2HOMEPAGE = "http://www.gnu.org/software/gnutls/"
3BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls"
4DEPENDS = "zlib lzo gettext libtasn1 libgcrypt (>= 1.4.2)"
5
6LICENSE = "GPLv3+ & LGPLv2.1+"
7LICENSE_${PN} = "LGPLv2.1+"
8LICENSE_${PN}-xx = "GPLv2.1+"
9LICENSE_${PN}-bin = "GPLv3+"
10LICENSE_${PN}-extra = "GPLv3+"
11LICENSE_${PN}-openssl = "GPLv3+"
12LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
13 file://lib/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
14 file://libextra/COPYING;md5=d32239bcb673463ab874e80d47fae504"
15
16SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2"
17
18inherit autotools binconfig pkgconfig
19
20EXTRA_OECONF="--with-included-opencdk --with-included-libcfg --disable-rpath \
21 --with-libtasn1-prefix=${STAGING_DIR_HOST}${prefix} \
22 --with-libgcrypt-prefix=${STAGING_DIR_HOST}${prefix} \
23 --with-libz-prefix=${STAGING_DIR_HOST}${prefix} --with-lzo --disable-guile"
24
25do_configure_prepend() {
26 for dir in . lib libextra; do
27 rm ${dir}/aclocal.m4 ${dir}/m4/libtool.m4 ${dir}/m4/lt*.m4
28 done
29}
30
31PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin ${PN}-xx"
32
33FILES_${PN} = "${libdir}/libgnutls.so.*"
34FILES_${PN}-bin = "${bindir}/gnutls-serv \
35 ${bindir}/gnutls-cli \
36 ${bindir}/srptool \
37 ${bindir}/psktool \
38 ${bindir}/certtool \
39 ${bindir}/gnutls-srpcrypt"
40
41FILES_${PN}-dev += "${bindir}/*-config ${bindir}/gnutls-cli-debug"
42FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"
43FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
44FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*"
diff --git a/meta/recipes-support/gnutls/gnutls_2.8.6.bb b/meta/recipes-support/gnutls/gnutls_2.8.6.bb
new file mode 100644
index 0000000..d8adc6b
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls_2.8.6.bb
@@ -0,0 +1,7 @@
1require gnutls.inc
2
3PR = "r0"
4
5SRC_URI += "file://gnutls-openssl.patch \
6 file://gnutls-texinfo-euro.patch \
7 file://configure-fix.patch"
diff --git a/meta/recipes-support/gnutls/libtasn1_2.7.bb b/meta/recipes-support/gnutls/libtasn1_2.7.bb
new file mode 100644
index 0000000..11a7dc5
--- /dev/null
+++ b/meta/recipes-support/gnutls/libtasn1_2.7.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "Library for ASN.1 and DER manipulation"
2HOMEPAGE = "http://www.gnu.org/software/libtasn1/"
3
4LICENSE = "GPLv3+ & LGPLv2.1+"
5LICENSE_${PN}-bin = "GPLv3+"
6LICENSE_${PN} = "LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
8 file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
9 file://README;endline=8;md5=c3803a3e8ca5ab5eb1e5912faa405351"
10
11RREPLACES_${PN}-bin = "libtasn1 (<< 2.7)"
12
13PR = "r0"
14
15SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/libtasn1/libtasn1-${PV}.tar.gz"
16
17inherit autotools binconfig lib_package
18
19AUTOTOOLS_STAGE_PKGCONFIG = "1"
20
21BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/gpgme/gpgme-1.3.0/disable_gpgconf_check.patch b/meta/recipes-support/gpgme/gpgme-1.3.0/disable_gpgconf_check.patch
new file mode 100644
index 0000000..f56f35b
--- /dev/null
+++ b/meta/recipes-support/gpgme/gpgme-1.3.0/disable_gpgconf_check.patch
@@ -0,0 +1,38 @@
1From 1.2.0, gpgme will check if gpgconf & g13(from 1.3.0) exist, and cause
2configure failure if not founding them in cross-compile environment. We can
3add the gnupg-native to get them, but still have some issues:
4
51. need add new package: libksba, update libassuan(not in sato), and extend
6 native support in some other packages(libgcrypt, libgpg-error, pth...)
72. Even we have gnupg, the g13 only exist in development branch, so that we
8 still have the g13 check failure in configure.
9
10I have searched the compile log, and found gpgconf/g13 are not used. So use a
11simple method here, throw a warning mesg rather than an error here just like in
12non-cross-compile environment.
13
14Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
15
16
17Index: gpgme-1.3.0/configure.ac
18===================================================================
19--- gpgme-1.3.0.orig/configure.ac 2010-07-21 09:38:09.000000000 +0800
20+++ gpgme-1.3.0/configure.ac 2010-07-21 09:39:19.000000000 +0800
21@@ -574,7 +574,7 @@
22 *** Could not find gpgconf, install gpgconf or use --with-gpgconf=PATH to enable it
23 ***])
24 else
25- AC_MSG_ERROR([
26+ AC_MSG_WARN([
27 ***
28 *** Can not determine path to gpgconf when cross-compiling, use --with-gpgconf=PATH
29 ***])
30@@ -670,7 +670,7 @@
31 *** Could not find g13, install g13 or use --with-g13=PATH to enable it
32 ***])
33 else
34- AC_MSG_ERROR([
35+ AC_MSG_WARN([
36 ***
37 *** Can not determine path to g13 when cross-compiling, use --with-g13=PATH
38 ***])
diff --git a/meta/recipes-support/gpgme/gpgme_1.3.0.bb b/meta/recipes-support/gpgme/gpgme_1.3.0.bb
new file mode 100644
index 0000000..1c665b5
--- /dev/null
+++ b/meta/recipes-support/gpgme/gpgme_1.3.0.bb
@@ -0,0 +1,25 @@
1DESCRIPTION = "GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management"
2HOMEPAGE = "http://www.gnupg.org/gpgme.html"
3BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
4
5LICENSE = "GPLv2+ & LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://COPYING.LESSER;md5=bbb461211a33b134d42ed5ee802b37ff \
8 file://src/gpgme.h;endline=23;md5=2775a99d3dd524c4f848ff1c59093038 \
9 file://src/engine.h;endline=22;md5=e96acfaab1cff82dd8fbefddd2f5c436"
10
11SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.bz2 \
12 file://disable_gpgconf_check.patch;patch=1;pnum=1"
13DEPENDS = "libgpg-error libassuan pth"
14PR = "r0"
15
16EXTRA_OECONF = "--with-pth=${STAGING_DIR_HOST} --without-pth-test \
17 --with-gpg=${bindir}/gpg --without-gpgsm"
18
19inherit autotools binconfig
20
21PACKAGES =+ "${PN}-pth ${PN}-pthread"
22FILES_${PN}-pth = "${libdir}/libgpgme-pth.so.*"
23FILES_${PN}-pthread = "${libdir}/libgpgme-pthread.so.*"
24FILES_${PN} = "${libdir}/libgpgme.so.*"
25FILES_${PN}-dev += "${bindir}/gpgme-config"
diff --git a/meta/recipes-support/hal/files/20hal b/meta/recipes-support/hal/files/20hal
new file mode 100755
index 0000000..5b97c4f
--- /dev/null
+++ b/meta/recipes-support/hal/files/20hal
@@ -0,0 +1,58 @@
1#! /bin/sh
2#
3# hal Start the Daemon that stores device informations
4# for the Hardware abstraction layer
5#
6# Written by Martin Waitz based on skeleton code
7# written by Miquel van Smoorenburg <miquels@cistron.nl>.
8# Modified for Debian
9# by Ian Murdock <imurdock@gnu.ai.mit.edu>.
10#
11
12PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
13DAEMON=/usr/sbin/hald
14PIDDIR=/var/run/hald
15PIDFILE=$PIDDIR/hald.pid
16NAME=hald
17DAEMONUSER=haldaemon
18DESC="Hardware abstraction layer"
19
20test -x $DAEMON || exit 0
21
22set -e
23
24do_start() {
25 if [ ! -d $PIDDIR ]; then
26 mkdir -p $PIDDIR
27 chown $DAEMONUSER:$DAEMONUSER $PIDDIR
28 fi
29 echo "Starting $DESC" "$NAME"
30 start-stop-daemon --start --pidfile $PIDFILE \
31 --exec $DAEMON -- $DAEMON_OPTS
32}
33
34do_stop() {
35 echo "Stopping $DESC" "$NAME"
36 start-stop-daemon --stop --quiet --pidfile $PIDFILE \
37 --exec $DAEMON
38}
39
40case "$1" in
41 start)
42 do_start
43 ;;
44 stop)
45 do_stop
46 ;;
47 restart|force-reload)
48 do_stop
49 sleep 5
50 do_start
51 ;;
52 *)
53 echo "Usage: $0 {start|stop|restart|force-reload}" >&2
54 exit 1
55 ;;
56esac
57
58exit 0
diff --git a/meta/recipes-support/hal/files/autoconf.diff b/meta/recipes-support/hal/files/autoconf.diff
new file mode 100644
index 0000000..eb30ccc
--- /dev/null
+++ b/meta/recipes-support/hal/files/autoconf.diff
@@ -0,0 +1,11 @@
1--- hal-0.5.9/configure.in~ 2007-04-03 05:36:44.000000000 +0100
2+++ hal-0.5.9/configure.in 2007-04-03 10:29:39.000000000 +0100
3@@ -6,7 +6,7 @@
4 # Patches for that is welcome.
5 #
6
7-AC_PREREQ(2.59c)
8+AC_PREREQ(2.59)
9 AC_INIT(hal, 0.5.9, david@fubar.dk)
10 AM_INIT_AUTOMAKE(hal, 0.5.9)
11 AM_CONFIG_HEADER(config.h)
diff --git a/meta/recipes-support/hal/files/hal-right-input-h.patch b/meta/recipes-support/hal/files/hal-right-input-h.patch
new file mode 100644
index 0000000..f820b77
--- /dev/null
+++ b/meta/recipes-support/hal/files/hal-right-input-h.patch
@@ -0,0 +1,29 @@
1diff --git a/configure.in b/configure.in
2index e76ff51..5e8cc21 100644
3--- a/configure.in
4+++ b/configure.in
5@@ -983,6 +983,11 @@ AC_ARG_WITH([linux-input-header],
6 [Use an given Linux input.h rather than that installed on the system (<linux/input.h>)]))
7 if test "x$with_linux_input_header" != "x"; then
8 AC_DEFINE_UNQUOTED(HAL_LINUX_INPUT_HEADER_H, "$with_linux_input_header", [If set, the header to use instead of <linux/input.h>])
9+ LINUX_INPUT_H=$with_linux_input_header
10+ AC_SUBST(LINUX_INPUT_H)
11+else
12+ LINUX_INPUT_H=/usr/include/linux/input.h
13+ AC_SUBST(LINUX_INPUT_H)
14 fi
15
16 dnl
17diff --git a/tools/Makefile.am b/tools/Makefile.am
18index ae03edd..7d1cbab 100644
19--- a/tools/Makefile.am
20+++ b/tools/Makefile.am
21@@ -79,7 +79,7 @@ endif
22 if BUILD_KEYMAPS
23
24 if HAVE_GPERF
25-hal-setup-keymap-keys.txt: /usr/include/linux/input.h
26+hal-setup-keymap-keys.txt: @LINUX_INPUT_H@
27 awk '/^#define.*KEY_/ { if ($$2 != "KEY_MAX") { print substr($$2, 5) } }' < $< > $@
28
29 hal-setup-keymap-hash-name.gperf: hal-setup-keymap-keys.txt
diff --git a/meta/recipes-support/hal/files/sg-inhibit.patch b/meta/recipes-support/hal/files/sg-inhibit.patch
new file mode 100644
index 0000000..f0cc414
--- /dev/null
+++ b/meta/recipes-support/hal/files/sg-inhibit.patch
@@ -0,0 +1,24 @@
1--- hal-0.5.9.1/hald/linux/probing/linux_dvd_rw_utils.c.old 2007-08-03 17:24:12.000000000 +0100
2+++ hal-0.5.9.1/hald/linux/probing/linux_dvd_rw_utils.c 2007-08-03 17:25:06.000000000 +0100
3@@ -58,6 +58,10 @@
4
5 #include "linux_dvd_rw_utils.h"
6
7+#if defined(SG_FLAG_UNUSED_LUN_INHIBIT)
8+# define SG_FLAG_LUN_INHIBIT SG_FLAG_UNUSED_LUN_INHIBIT
9+#endif
10+
11 typedef enum {
12 NONE = CGC_DATA_NONE, // 3
13 READ = CGC_DATA_READ, // 2
14@@ -153,8 +153,8 @@
15 errno = EIO;
16 ret = -1;
17 if (cmd->sg_io.masked_status & CHECK_CONDITION) {
18- CREAM_ON_ERRNO (cmd->sg_io.sbp);
19- ret = ERRCODE (cmd->sg_io.sbp);
20+ CREAM_ON_ERRNO ((char*)cmd->sg_io.sbp);
21+ ret = ERRCODE ((char*)cmd->sg_io.sbp);
22 if (ret == 0)
23 ret = -1;
24 }
diff --git a/meta/recipes-support/hal/hal-info.inc b/meta/recipes-support/hal/hal-info.inc
new file mode 100644
index 0000000..adba83f
--- /dev/null
+++ b/meta/recipes-support/hal/hal-info.inc
@@ -0,0 +1,22 @@
1DESCRIPTION = "Hardware Abstraction Layer device information"
2HOMEPAGE = "http://hal.freedesktop.org/"
3BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=hal"
4SECTION = "unknown"
5
6LICENSE = "GPLv2 | AFL"
7LIC_FILES_CHKSUM = "file://COPYING;md5=ae484909bad0cf11c8e2071cee6bd4dc"
8
9SRC_URI = "http://hal.freedesktop.org/releases/${PN}-${PV}.tar.gz"
10
11inherit autotools pkgconfig
12
13EXTRA_OECONF = "--disable-recall --disable-video"
14
15do_configure() {
16 gnu-configize
17 libtoolize --force
18 oe_runconf
19}
20
21PACKAGE_ARCH = "all"
22FILES_${PN} += "${datadir}/hal/"
diff --git a/meta/recipes-support/hal/hal-info_20091130.bb b/meta/recipes-support/hal/hal-info_20091130.bb
new file mode 100644
index 0000000..e6d50e3
--- /dev/null
+++ b/meta/recipes-support/hal/hal-info_20091130.bb
@@ -0,0 +1 @@
require hal-info.inc
diff --git a/meta/recipes-support/hal/hal-info_git.bb b/meta/recipes-support/hal/hal-info_git.bb
new file mode 100644
index 0000000..3fff5e0
--- /dev/null
+++ b/meta/recipes-support/hal/hal-info_git.bb
@@ -0,0 +1,9 @@
1require hal-info.inc
2
3PV = "${SRCDATE}+git"
4PR = "r0"
5
6SRC_URI = "git://anongit.freedesktop.org/hal-info/;protocol=git;rev=HAL_INFO_20091130"
7S = "${WORKDIR}/git"
8
9DEFAULT_PREFERENCE = "-1"
diff --git a/meta/recipes-support/hal/hal.inc b/meta/recipes-support/hal/hal.inc
new file mode 100644
index 0000000..839dfd0
--- /dev/null
+++ b/meta/recipes-support/hal/hal.inc
@@ -0,0 +1,85 @@
1DESCRIPTION = "Hardware Abstraction Layer"
2HOMEPAGE = "http://freedesktop.org/Software/hal"
3BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=hal"
4SECTION = "unknown"
5
6LICENSE = "GPLv2+ | AFL"
7LIC_FILES_CHKSUM = "file://COPYING;md5=5b5ffd59fbb7c2fff6de76c94177af31"
8
9DEPENDS = "virtual/kernel dbus-glib udev util-linux intltool intltool-native expat libusb gperf-native"
10RDEPENDS += "udev hal-info"
11
12SRC_URI = "http://hal.freedesktop.org/releases/hal-${PV}.tar.gz \
13 file://20hal"
14
15inherit autotools pkgconfig
16
17
18LEAD_SONAME = "libhal.so"
19
20# machines with pci and acpi get a machine dependant hal
21EXTRA_OECONF = "--with-hwdata=${datadir}/hwdata \
22 --with-expat=${STAGING_LIBDIR}/.. \
23 --with-dbus-sys=${sysconfdir}/dbus-1/system.d \
24 --with-hotplug=${sysconfdir}/hotplug.d \
25 --disable-docbook-docs \
26 --disable-policy-kit \
27 --disable-pmu \
28 --disable-pnp-ids \
29 ${@base_contains('COMBINED_FEATURES', 'pci', '--enable-pci --enable-pci-ids', '--disable-pci --disable-pci-ids',d)} \
30 ${@base_contains('MACHINE_FEATURES', 'acpi', '--enable-acpi', '--disable-acpi',d)} \
31 "
32
33MY_ARCH := "${PACKAGE_ARCH}"
34PACKAGE_ARCH = "${@base_contains('MACHINE_FEATURES', 'acpi', '${MACHINE_ARCH}', '${MY_ARCH}',d)}"
35PACKAGE_ARCH = "${@base_contains('MACHINE_FEATURES', 'pci', '${MACHINE_ARCH}', '${MY_ARCH}',d)}"
36PACKAGE_ARCH_emenlow := "${PACKAGE_ARCH}"
37
38do_install_append() {
39 install -d ${D}/etc/dbus-1/event.d
40 install -m 0755 ${WORKDIR}/20hal ${D}/etc/dbus-1/event.d
41}
42
43# At the time the postinst runs, dbus might not be setup so only restart if running
44pkg_postinst_hal () {
45 # can't do this offline
46 if [ "x$D" != "x" ]; then
47 exit 1
48 fi
49
50 grep haldaemon /etc/group || addgroup haldaemon
51 grep haldaemon /etc/passwd || adduser --disabled-password --system --home /var/run/hald --no-create-home haldaemon --ingroup haldaemon -g HAL
52
53 # add volatile after new user/grp are created
54 echo "d root root 0700 /var/run/hald none" > /etc/default/volatiles/99_hal
55 echo "d haldaemon haldaemon 0755 /var/cache/hald none" >> /etc/default/volatiles/99_hal
56 /etc/init.d/populate-volatile.sh update
57
58 DBUSPID=`pidof dbus-daemon`
59
60 if [ "x$DBUSPID" != "x" ]; then
61 /etc/init.d/dbus-1 force-reload
62 fi
63}
64
65pkg_postrm_hal () {
66 deluser haldaemon || true
67 delgroup haldaemon || true
68}
69
70FILES_${PN} = "${sysconfdir} \
71 ${bindir}/lshal \
72 ${bindir}/hal-find-by-capability \
73 ${bindir}/hal-find-by-property \
74 ${bindir}/hal-device \
75 ${bindir}/hal-get-property \
76 ${bindir}/hal-set-property \
77 ${bindir}/hal-lock \
78 ${bindir}/hal-is-caller-locked-out \
79 ${sbindir} \
80 ${libdir}/libhal.so.* \
81 ${libdir}/libhal-storage.so.* \
82 ${libdir}/hal \
83 ${libexecdir} \
84 ${datadir}/hal/fdi \
85 ${datadir}/hal/scripts"
diff --git a/meta/recipes-support/hal/hal/configure_fix.patch b/meta/recipes-support/hal/hal/configure_fix.patch
new file mode 100644
index 0000000..e841704
--- /dev/null
+++ b/meta/recipes-support/hal/hal/configure_fix.patch
@@ -0,0 +1,60 @@
1The AC_LANG sections upset libtool 2.2.2, as do .cpp files without a call
2to AC_PROG_CXX. Easiest solution is to patch this out for now.
3
4RP - 14/4/08
5
6Index: hal-0.5.9.1/configure.in
7===================================================================
8--- hal-0.5.9.1.orig/configure.in 2008-04-14 22:41:49.000000000 +0100
9+++ hal-0.5.9.1/configure.in 2008-04-14 22:43:13.000000000 +0100
10@@ -345,32 +345,8 @@
11 fi
12
13 dnl Check for libsmbios
14-AC_LANG_PUSH([C++])
15-AC_CHECK_LIB(smbios, SMBIOSFreeMemory, LIB_SMBIOS=yes , LIB_SMBIOS=no )
16-AC_LANG_POP([C++])
17-if test "$LIB_SMBIOS" = "yes" ; then
18- AC_MSG_CHECKING([for libsmbios >= 0.13.4])
19- AC_TRY_RUN(
20- #include <smbios/version.h>
21- int main ()
22- {
23- int major ;
24- int minor ;
25- int micro ;
26-
27- if ( sscanf( LIBSMBIOS_RELEASE_VERSION , "%d.%d.%d", &major, &minor, &micro ) == 3 ) {
28- if ((major == 0 && minor == 13 && micro >= 4) ||
29- (major >= 0 && minor > 13)) {
30- return 0;
31- }
32- }
33- return 1;
34- } , [USE_SMBIOS=yes; AC_MSG_RESULT(yes); AM_CONDITIONAL(HAVE_SMBIOS,true)],
35- [USE_SMBIOS=no; AC_MSG_RESULT(failed); AM_CONDITIONAL(HAVE_SMBIOS,false)])
36-else
37- USE_SMBIOS=no
38- AM_CONDITIONAL(HAVE_SMBIOS,false)
39-fi
40+USE_SMBIOS=no
41+AM_CONDITIONAL(HAVE_SMBIOS,false)
42
43 AC_ARG_WITH([libpci],
44 [AS_HELP_STRING([--without-libpci],
45Index: hal-0.5.9.1/hald/linux/addons/Makefile.am
46===================================================================
47--- hal-0.5.9.1.orig/hald/linux/addons/Makefile.am 2008-04-14 22:45:18.000000000 +0100
48+++ hal-0.5.9.1/hald/linux/addons/Makefile.am 2008-04-14 22:46:05.000000000 +0100
49@@ -60,11 +60,6 @@
50 hald_addon_usb_csr_LDADD = $(top_builddir)/libhal/libhal.la -lusb @GLIB_LIBS@
51 endif
52
53-if BUILD_DELL
54-libexec_PROGRAMS += hald-addon-dell-backlight
55-hald_addon_dell_backlight_SOURCES = addon-dell-backlight.cpp ../../logger.c
56-hald_addon_dell_backlight_LDADD = $(top_builddir)/libhal/libhal.la -lsmbios @GLIB_LIBS@
57-endif
58 endif
59
60 hald_addon_acpi_SOURCES = addon-acpi.c ../../logger.c ../../util_helper.c
diff --git a/meta/recipes-support/hal/hal_0.5.14.bb b/meta/recipes-support/hal/hal_0.5.14.bb
new file mode 100644
index 0000000..a12be72
--- /dev/null
+++ b/meta/recipes-support/hal/hal_0.5.14.bb
@@ -0,0 +1,14 @@
1require hal.inc
2
3PR = "r2"
4
5EXTRA_OECONF += "--with-linux-input-header=${STAGING_INCDIR}/linux/input.h"
6EXTRA_OEMAKE += "-e 'udevrulesdir=$(sysconfdir)/udev/rules.d'"
7
8PACKAGES =+ "libhal libhal-storage"
9
10FILES_libhal = "${libdir}/libhal.so.*"
11FILES_libhal-storage = "${libdir}/libhal-storage.so.*"
12
13FILES_${PN} =+ "${bindir}/hal-disable-polling \
14 ${bindir}/hal-setup-keymap"
diff --git a/meta/recipes-support/hal/hal_git.bb b/meta/recipes-support/hal/hal_git.bb
new file mode 100644
index 0000000..baed472
--- /dev/null
+++ b/meta/recipes-support/hal/hal_git.bb
@@ -0,0 +1,12 @@
1require hal.inc
2
3PV = "0.5.9.1+git${SRCDATE}"
4PR = "r7"
5
6SRC_URI = "git://anongit.freedesktop.org/hal/;protocol=git \
7 file://20hal \
8 file://99_hal"
9
10S = "${WORKDIR}/git"
11
12DEFAULT_PREFERENCE = "-1"
diff --git a/meta/recipes-support/icu/files/gccfix.patch b/meta/recipes-support/icu/files/gccfix.patch
new file mode 100644
index 0000000..9291e92
--- /dev/null
+++ b/meta/recipes-support/icu/files/gccfix.patch
@@ -0,0 +1,13 @@
1Index: source/layoutex/ParagraphLayout.cpp
2===================================================================
3--- source.orig/layoutex/ParagraphLayout.cpp 2009-06-30 11:48:47.000000000 +0100
4+++ source/layoutex/ParagraphLayout.cpp 2009-06-30 11:49:06.000000000 +0100
5@@ -798,7 +798,7 @@
6
7 return nullLanguageCode;
8 }
9-#elif
10+#else
11
12 // TODO - dummy implementation for right now...
13 le_int32 ParagraphLayout::getLanguageCode(const Locale *locale)
diff --git a/meta/recipes-support/icu/files/noldlibpath.patch b/meta/recipes-support/icu/files/noldlibpath.patch
new file mode 100644
index 0000000..eba3d80
--- /dev/null
+++ b/meta/recipes-support/icu/files/noldlibpath.patch
@@ -0,0 +1,47 @@
1Setting LD_LIBRARY_PATH is a really bad idea when cross compiling. Simplest way
2to disable this is to rename the variable as per the patch below, then its
3harmless. This is a hack.
4
5RP 10/6/2010
6
7Index: source/config/Makefile.inc.in
8===================================================================
9--- source.orig/config/Makefile.inc.in 2010-06-10 21:49:19.000000000 +0100
10+++ source/config/Makefile.inc.in 2010-06-10 21:49:46.000000000 +0100
11@@ -126,7 +126,7 @@
12 ##################################################################
13 # Environment variable to set a runtime search path
14 # (Overridden when necessary in -mh files)
15-LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH
16+LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH2
17
18 # Versioned target for a shared library
19 FINAL_SO_TARGET = $(SO_TARGET).$(SO_TARGET_VERSION)
20Index: source/icudefs.mk.in
21===================================================================
22--- source.orig/icudefs.mk.in 2010-06-10 21:51:03.000000000 +0100
23+++ source/icudefs.mk.in 2010-06-10 21:51:09.000000000 +0100
24@@ -150,7 +150,7 @@
25 SHLIB.cc= $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared
26
27 # Environment variable to set a runtime search path
28-LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH
29+LDLIBRARYPATH_ENVVAR = LD_LIBRARY_PATH2
30
31 # Versioned target for a shared library.
32 FINAL_SO_TARGET = $(SO_TARGET).$(SO_TARGET_VERSION)
33Index: source/tools/genrb/gendtjar.pl
34===================================================================
35--- source.orig/tools/genrb/gendtjar.pl 2010-06-10 21:51:36.000000000 +0100
36+++ source/tools/genrb/gendtjar.pl 2010-06-10 21:52:03.000000000 +0100
37@@ -68,8 +68,8 @@
38 $icuLibDir = abs_path($icuBinDir."/../lib");
39 $path .=":$icuBinDir:$icuLibDir";
40
41- $libpath = $ENV{'LD_LIBRARY_PATH'}.":$icuLibDir";
42- $ENV{'LD_LIBRARY_PATH'} = $libpath;
43+ $libpath = $ENV{'LD_LIBRARY_PATH2'}.":$icuLibDir";
44+ $ENV{'LD_LIBRARY_PATH2'} = $libpath;
45
46 #print ("##### LD_LIBRARY_PATH = $ENV{'LD_LIBRARY_PATH'}\n");
47
diff --git a/meta/recipes-support/icu/files/use-g++-for-linking.patch b/meta/recipes-support/icu/files/use-g++-for-linking.patch
new file mode 100644
index 0000000..4702abc
--- /dev/null
+++ b/meta/recipes-support/icu/files/use-g++-for-linking.patch
@@ -0,0 +1,67 @@
1---
2 tools/genccode/Makefile.in | 2 +-
3 tools/gencmn/Makefile.in | 2 +-
4 tools/genrb/Makefile.in | 2 +-
5 tools/pkgdata/Makefile.in | 2 +-
6 4 files changed, 4 insertions(+), 4 deletions(-)
7
8--- source.orig/tools/genccode/Makefile.in
9+++ source/tools/genccode/Makefile.in
10@@ -76,11 +76,11 @@ check-local: all-local
11 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
12 cd $(top_builddir) \
13 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
14
15 $(TARGET) : $(OBJECTS)
16- $(LINK.c) $(OUTOPT)$@ $^ $(LIBS)
17+ $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
18
19
20 %.$(SECTION): $(srcdir)/%.$(SECTION).in
21 cd $(top_builddir) \
22 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
23--- source.orig/tools/gencmn/Makefile.in
24+++ source/tools/gencmn/Makefile.in
25@@ -76,11 +76,11 @@ check-local: all-local
26 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
27 cd $(top_builddir) \
28 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
29
30 $(TARGET) : $(OBJECTS)
31- $(LINK.c) $(OUTOPT)$@ $^ $(LIBS)
32+ $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
33
34 %.$(SECTION): $(srcdir)/%.$(SECTION).in
35 cd $(top_builddir) \
36 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
37
38--- source.orig/tools/genrb/Makefile.in
39+++ source/tools/genrb/Makefile.in
40@@ -84,11 +84,11 @@ Makefile: $(srcdir)/Makefile.in $(top_b
41
42 $(TARGET) : $(OBJECTS)
43 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
44
45 $(DERB) : $(DERB_OBJ)
46- $(LINK.c) $(OUTOPT)$@ $^ $(LIBS)
47+ $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
48
49
50 # This line is needed to serialize builds when the gmake -j option is used.
51 $(TARGET_STUB_NAME).$(SECTION): $(DERB_STUB_NAME).$(SECTION)
52
53--- source.orig/tools/pkgdata/Makefile.in
54+++ source/tools/pkgdata/Makefile.in
55@@ -81,11 +81,11 @@ check-local: all-local
56 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
57 cd $(top_builddir) \
58 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
59
60 $(TARGET) : $(OBJECTS)
61- $(LINK.c) $(OUTOPT)$@ $^ $(LIBS)
62+ $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
63
64
65 %.$(SECTION): $(srcdir)/%.$(SECTION).in
66 cd $(top_builddir) \
67 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
diff --git a/meta/recipes-support/icu/icu-3.6.inc b/meta/recipes-support/icu/icu-3.6.inc
new file mode 100644
index 0000000..1c611bd
--- /dev/null
+++ b/meta/recipes-support/icu/icu-3.6.inc
@@ -0,0 +1,55 @@
1DESCRIPTION = "The International Component for Unicode (ICU) is a mature, portable set of C/C++ and Java libraries for Unicode support, software internationalization (I18N) and globalization (G11N), giving applications the same results on all platforms."
2HOMEPAGE = "http://www-01.ibm.com/software/globalization/icu/index.jsp"
3
4BASE_SRC_URI = "ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz \
5 file://gccfix.patch;apply=yes \
6 file://use-g++-for-linking.patch;apply=yes"
7SRC_URI = "${BASE_SRC_URI} \
8 file://noldlibpath.patch;apply=yes"
9SRC_URI_virtclass-native = "${BASE_SRC_URI}"
10
11LICENSE = "ICU"
12LIC_FILES_CHKSUM = "file://../license.html;md5=5c94767cedb5d6987c902ac850ded2c6"
13DEPENDS = "icu-native"
14DEPENDS_virtclass-native = ""
15
16S = "${WORKDIR}/icu/source"
17
18PARALLEL_MAKE = ""
19FULL_OPTIMIZATION_arm = "-Os"
20
21inherit autotools pkgconfig binconfig
22
23do_configure() {
24 libtoolize --force
25 gnu-configize --force
26 oe_runconf
27 if [ "${PN}" != "icu-native" ]; then
28 # In the non-native case we need to make substitutions to use
29 # the native versions of the tools
30 for i in */Makefile* */*.inc */*/Makefile* */*/*.inc */*/*.inc.in ; do
31 sed -i -e 's:$(INVOKE) $(BINDIR)/:$(INVOKE) :g' $i
32 sed -i -e 's:$(BINDIR)/::g' $i
33 done
34 fi
35}
36
37do_compile() {
38 oe_runmake 'CXX=${CXX}'
39}
40
41do_install_append() {
42 chmod +x ${D}${libdir}/lib*
43}
44
45PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"