summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-01 19:09:57 +0100
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 0000000000..a8953e5244
--- /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 0000000000..0b2a0903e1
--- /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 0000000000..16f88b3bba
--- /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 0000000000..2e608e8a5c
--- /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 0000000000..fd74826480
--- /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 0000000000..995555e8ba
--- /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 0000000000..86ceb8cf08
--- /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 0000000000..a193a18a2e
--- /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 0000000000..8d43a707d2
--- /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 0000000000..899d360e1a
--- /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 0000000000..e85ef9040c
--- /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 0000000000..68745dd728
--- /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 0000000000..e5d5509de1
--- /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 0000000000..6fc684f6c2
--- /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 0000000000..966632d87e
--- /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 0000000000..03395423da
--- /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 0000000000..ccbc236284
--- /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 0000000000..a84de94ed0
--- /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 0000000000..da7924631e
--- /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 0000000000..0b21b33dcf
--- /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 0000000000..77fa2b4fd6
--- /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 0000000000..f989dd0ccc
--- /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 0000000000..3e18a87c3f
--- /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 0000000000..6103562e0a
--- /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 0000000000..ac02425d51
--- /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 0000000000..6eb40e5d5d
--- /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 0000000000..5d2d1280be
--- /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 0000000000..fe181ad00f
--- /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 0000000000..2e92146a83
--- /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 0000000000..81a2e53ba3
--- /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 0000000000..4670ac4295
--- /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 0000000000..3f9c620ebe
--- /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 0000000000..7d08e73550
--- /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 0000000000..f91d1adf2b
--- /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 0000000000..aefe0800c3
--- /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 0000000000..79f14dea88
--- /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 0000000000..b235e12446
--- /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 0000000000..a3319a23e3
--- /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 0000000000..a59d39b8b1
--- /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 0000000000..1e11222897
--- /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 0000000000..acd446fcd8
--- /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 0000000000..80aa0e7c1c
--- /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 0000000000..b3ca493a01
--- /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 0000000000..04a6680f07
--- /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 0000000000..92b4686545
--- /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 0000000000..c56bac2ca9
--- /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 0000000000..5350c53729
--- /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 0000000000..e8369fd725
--- /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 0000000000..83c9eae36a
--- /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 0000000000..6b56f7e7c8
--- /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 0000000000..67be9dd350
--- /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 0000000000..ed0c02d86c
--- /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 0000000000..1a01f61533
--- /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 0000000000..ee3891f807
--- /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 0000000000..d70dcf2665
--- /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 0000000000..dd908bd7ca
--- /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 0000000000..247e324564
--- /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 0000000000..413de06472
--- /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 0000000000..a2d2f03870
--- /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 0000000000..76f4ca63fd
--- /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 0000000000..d8adc6ba17
--- /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 0000000000..11a7dc5055
--- /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 0000000000..f56f35b9ed
--- /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 0000000000..1c665b5ea4
--- /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 0000000000..5b97c4f9e6
--- /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 0000000000..eb30cccdbe
--- /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 0000000000..f820b7790a
--- /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 0000000000..f0cc41448a
--- /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 0000000000..adba83fb28
--- /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 0000000000..e6d50e3981
--- /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 0000000000..3fff5e0a7d
--- /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 0000000000..839dfd0652
--- /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 0000000000..e8417040de
--- /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 0000000000..a12be729cb
--- /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 0000000000..baed472375
--- /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 0000000000..9291e921d3
--- /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 0000000000..eba3d805d4
--- /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 0000000000..4702abc065
--- /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 0000000000..1c611bdf36
--- /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"
46
47FILES_libicudata = "${libdir}/libicudata.so.*"
48FILES_libicuuc = "${libdir}/libicuuc.so.*"
49FILES_libicui18n = "${libdir}/libicui18n.so.*"
50FILES_libicule = "${libdir}/libicule.so.*"
51FILES_libiculx = "${libdir}/libiculx.so.*"
52FILES_libicutu = "${libdir}/libicutu.so.*"
53FILES_libicuio = "${libdir}/libicuio.so.*"
54
55BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/icu/icu_3.6.bb b/meta/recipes-support/icu/icu_3.6.bb
new file mode 100644
index 0000000000..5042116009
--- /dev/null
+++ b/meta/recipes-support/icu/icu_3.6.bb
@@ -0,0 +1,3 @@
1require icu-3.6.inc
2
3PR = "r6"
diff --git a/meta/recipes-support/iso-codes/iso-codes_3.3.bb b/meta/recipes-support/iso-codes/iso-codes_3.3.bb
new file mode 100644
index 0000000000..23d025f4d2
--- /dev/null
+++ b/meta/recipes-support/iso-codes/iso-codes_3.3.bb
@@ -0,0 +1,14 @@
1SECTION = "libs"
2DESCRIPTION = "ISO language, territory, currency, script codes and their translations"
3PRIORITY = "optional"
4LICENSE = "LGPL"
5SECTION = "libs"
6PACKAGE_ARCH = "all"
7
8SRC_URI = "ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-${PV}.tar.gz"
9
10inherit autotools
11
12FILES_${PN}-dev="${datadir}/pkgconfig/iso-codes.pc"
13FILES_${PN}="${datadir}/xml/iso-codes/ \
14 ${datadir}/iso-codes/"
diff --git a/meta/recipes-support/js/files/buildcc.patch b/meta/recipes-support/js/files/buildcc.patch
new file mode 100644
index 0000000000..26eef218d6
--- /dev/null
+++ b/meta/recipes-support/js/files/buildcc.patch
@@ -0,0 +1,20 @@
1jskwgen should be built by BUILD_CC in cross environment
2
37/23/2010 - created by Qing He <qing.he@intel.com>
4
5diff -uNr js.orig//src/Makefile.ref js/src/Makefile.ref
6--- js.orig//src/Makefile.ref 2009-02-25 21:24:29.000000000 +0800
7+++ js/src/Makefile.ref 2010-07-23 13:26:51.000000000 +0800
8@@ -303,10 +303,10 @@
9
10 $(OBJDIR)/jskwgen.o: jskwgen.c jskeyword.tbl
11 @$(MAKE_OBJDIR)
12- $(CC) -o $@ -c $(CFLAGS) $<
13+ $(BUILD_CC) -o $@ -c $(BUILD_CFLAGS) $<
14
15 $(OBJDIR)/jskwgen$(HOST_BIN_SUFFIX): $(OBJDIR)/jskwgen.$(OBJ_SUFFIX)
16- $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $^
17+ $(BUILD_CC) -o $@ $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $^
18
19 endif
20
diff --git a/meta/recipes-support/js/files/configure.ac b/meta/recipes-support/js/files/configure.ac
new file mode 100644
index 0000000000..41af298455
--- /dev/null
+++ b/meta/recipes-support/js/files/configure.ac
@@ -0,0 +1,28 @@
1AC_INIT
2
3AC_CHECK_SIZEOF([char])
4AC_CHECK_SIZEOF([short])
5AC_CHECK_SIZEOF([int])
6AC_CHECK_SIZEOF([int64_t])
7AC_CHECK_SIZEOF([long])
8AC_CHECK_SIZEOF([long long])
9AC_CHECK_SIZEOF([int *])
10AC_CHECK_SIZEOF([float])
11AC_CHECK_SIZEOF([double])
12
13AC_CHECK_ALIGNOF([char])
14AC_CHECK_ALIGNOF([short])
15AC_CHECK_ALIGNOF([int])
16AC_CHECK_ALIGNOF([int64_t])
17AC_CHECK_ALIGNOF([long])
18AC_CHECK_ALIGNOF([long long])
19AC_CHECK_ALIGNOF([int *])
20AC_CHECK_ALIGNOF([float])
21AC_CHECK_ALIGNOF([double])
22
23AC_C_BIGENDIAN
24
25AC_TYPE_LONG_LONG_INT
26
27AC_CONFIG_HEADER([conf.h])
28AC_OUTPUT
diff --git a/meta/recipes-support/js/files/jsautocfg.h b/meta/recipes-support/js/files/jsautocfg.h
new file mode 100644
index 0000000000..16e38bf8d6
--- /dev/null
+++ b/meta/recipes-support/js/files/jsautocfg.h
@@ -0,0 +1,74 @@
1#ifndef js_cpucfg___
2#define js_cpucfg___
3
4/* AUTOMATICALLY GENERATED - DO NOT EDIT */
5
6#include "../conf.h"
7
8#ifdef WORDS_BIGENDIAN
9# undef IS_LITTLE_ENDIAN
10# define IS_BIG_ENDIAN 1
11#else
12# define IS_LITTLE_ENDIAN 1
13# undef IS_BIG_ENDIAN
14#endif
15
16#define __I_LOG2(n) ( \
17 ((n) == 1)? 0: \
18 ((n) == 2)? 1: \
19 ((n) == 4)? 2: \
20 ((n) == 8)? 3: \
21 ((n) == 16)? 4: \
22 ((n) == 32)? 5: \
23 ((n) == 64)? 6: \
24 ((n) == 128)? 7: \
25 -1)
26
27#define JS_BYTES_PER_BYTE SIZEOF_CHAR
28#define JS_BYTES_PER_SHORT SIZEOF_SHORT
29#define JS_BYTES_PER_INT SIZEOF_INT
30#define JS_BYTES_PER_INT64 SIZEOF_INT64_T
31#define JS_BYTES_PER_LONG SIZEOF_LONG
32#define JS_BYTES_PER_FLOAT SIZEOF_FLOAT
33#define JS_BYTES_PER_DOUBLE SIZEOF_DOUBLE
34#define JS_BYTES_PER_WORD SIZEOF_LONG
35#define JS_BYTES_PER_DWORD SIZEOF_LONG_LONG
36
37#define JS_BITS_PER_BYTE 8L
38#define JS_BITS_PER_SHORT (JS_BITS_PER_BYTE * JS_BYTES_PER_SHORT)
39#define JS_BITS_PER_INT (JS_BITS_PER_BYTE * JS_BYTES_PER_INT)
40#define JS_BITS_PER_INT64 (JS_BITS_PER_BYTE * JS_BYTES_PER_INT64)
41#define JS_BITS_PER_LONG (JS_BITS_PER_BYTE * JS_BYTES_PER_LONG)
42#define JS_BITS_PER_FLOAT (JS_BITS_PER_BYTE * JS_BYTES_PER_GLOAT)
43#define JS_BITS_PER_DOUBLE (JS_BITS_PER_BYTE * JS_BYTES_PER_DOUBLE)
44#define JS_BITS_PER_WORD (JS_BITS_PER_BYTE * JS_BYTES_PER_WORD)
45
46#define JS_BITS_PER_BYTE_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
47#define JS_BITS_PER_SHORT_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
48#define JS_BITS_PER_INT_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
49#define JS_BITS_PER_INT64_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
50#define JS_BITS_PER_LONG_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
51#define JS_BITS_PER_FLOAT_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
52#define JS_BITS_PER_DOUBLE_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
53#define JS_BITS_PER_WORD_LOG2 __I_LOG2(JS_BITS_PER_BYTE)
54
55#define JS_ALIGN_OF_SHORT ALIGNOF_SHORT
56#define JS_ALIGN_OF_INT ALIGNOF_INT
57#define JS_ALIGN_OF_LONG ALIGNOF_LONG
58#define JS_ALIGN_OF_INT64 ALIGNOF_INT64_T
59#define JS_ALIGN_OF_FLOAT ALIGNOF_FLOAT
60#define JS_ALIGN_OF_DOUBLE ALIGNOF_DOUBLE
61#define JS_ALIGN_OF_POINTER ALIGNOF_INT_P
62#define JS_ALIGN_OF_WORD ALIGNOF_LONG
63
64#define JS_BYTES_PER_WORD_LOG2 __I_LOG2(JS_BYTES_PER_WORD)
65#define JS_BYTES_PER_DWORD_LOG2 __I_LOG2(JS_BYTES_PER_DWORDS)
66#define JS_WORDS_PER_DWORD_LOG2 __I_LOG2(JS_BYTES_PER_DWORDS / JS_BYTES_PER_WORD)
67
68#define JS_STACK_GROWTH_DIRECTION (-1)
69
70#ifdef HAVE_LONG_LONG_INT
71# define JS_HAVE_LONG_LONG
72#endif
73
74#endif /* js_cpucfg___ */
diff --git a/meta/recipes-support/js/files/link_with_gcc.patch b/meta/recipes-support/js/files/link_with_gcc.patch
new file mode 100644
index 0000000000..d74b94f378
--- /dev/null
+++ b/meta/recipes-support/js/files/link_with_gcc.patch
@@ -0,0 +1,13 @@
1Index: src/config/Linux_All.mk
2===================================================================
3--- src.orig/config/Linux_All.mk 2005-05-10 19:53:44.000000000 +0000
4+++ src/config/Linux_All.mk 2007-06-18 17:20:05.000000000 +0000
5@@ -47,7 +47,7 @@
6 OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
7
8 RANLIB = echo
9-MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)
10+MKSHLIB = $(CC) -shared $(XMKSHLIBOPTS)
11
12 #.c.o:
13 # $(CC) -c -MD $*.d $(CFLAGS) $<
diff --git a/meta/recipes-support/js/files/usepic.patch b/meta/recipes-support/js/files/usepic.patch
new file mode 100644
index 0000000000..ddd31be9cb
--- /dev/null
+++ b/meta/recipes-support/js/files/usepic.patch
@@ -0,0 +1,24 @@
1Mips needs -fPIC to compile properly. These tests are broken anyway as they test
2the build system architecture, not the target. This is a hack.
3
4RP 10/6/2010
5
6Index: src/config/Linux_All.mk
7===================================================================
8--- src.orig/config/Linux_All.mk 2010-06-10 22:09:43.000000000 +0100
9+++ src/config/Linux_All.mk 2010-06-10 22:09:55.000000000 +0100
10@@ -90,14 +90,10 @@
11 # Use the editline library to provide line-editing support.
12 JS_EDITLINE = 1
13
14-ifeq ($(CPU_ARCH),x86_64)
15 # Use VA_COPY() standard macro on x86-64
16 # FIXME: better use it everywhere
17 OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy
18-endif
19
20-ifeq ($(CPU_ARCH),x86_64)
21 # We need PIC code for shared libraries
22 # FIXME: better patch rules.mk & fdlibm/Makefile*
23 OS_CFLAGS += -DPIC -fPIC
24-endif
diff --git a/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
new file mode 100644
index 0000000000..97cba90d03
--- /dev/null
+++ b/meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb
@@ -0,0 +1,47 @@
1DESCRIPTION = "Spidermonkey: a javascript engine written in C"
2HOMEPAGE = "http://www.mozilla.org/js/spidermonkey/"
3SECTION = "libs"
4
5# the package is licensed under either of the following
6LICENSE = "MPL1.1 | GPLv2+ | LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://jsapi.c;beginline=4;endline=39;md5=347c6bbf4fb4547de1fa5ad830030063"
8PR = "r1"
9
10SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/js-1.8.0-rc1.tar.gz \
11 file://link_with_gcc.patch \
12 file://usepic.patch \
13 file://buildcc.patch;striplevel=2 \
14 file://jsautocfg.h \
15 file://configure.ac"
16
17S = "${WORKDIR}/js/src"
18
19# use local autoconf script to generate a usable jsautocfg.h
20# don't bother with automake
21inherit autotools
22
23do_configure_prepend() {
24 cp -f ${WORKDIR}/configure.ac ${S}
25 cp -f ${WORKDIR}/jsautocfg.h ${S}
26}
27
28EXTRA_OEMAKE = "'CC=${CC}' 'LD=${LD}' 'XCFLAGS=${CFLAGS}' 'XLDFLAGS=${LDFLAGS} -Wl,-soname=libjs' \
29 'BUILD_CC=${BUILD_CC}' 'BUILD_CFLAGS=${BUILD_CFLAGS}' 'BUILD_LDFLAGS=${BUILD_LDFLAGS}'"
30
31PARALLEL_MAKE = ""
32
33do_compile() {
34 oe_runmake -f Makefile.ref JS_EDITLINE=1 PREBUILT_CPUCFG=1 BUILD_OPT=1
35}
36
37do_install() {
38 install -d ${D}${libdir}
39 install -d ${D}${includedir}
40 install -d ${D}${includedir}/js
41 oe_libinstall -so -C Linux_All_OPT.OBJ libjs ${D}${libdir}
42 install -m 0644 ${S}/*.h ${D}${includedir}/js
43}
44
45FILES_${PN} = "${libdir}/lib*.so"
46FILES_${PN}-dev = "${includedir} ${libdir}/lib*.a"
47
diff --git a/meta/recipes-support/libassuan/libassuan_2.0.0.bb b/meta/recipes-support/libassuan/libassuan_2.0.0.bb
new file mode 100644
index 0000000000..11934013ce
--- /dev/null
+++ b/meta/recipes-support/libassuan/libassuan_2.0.0.bb
@@ -0,0 +1,15 @@
1DESCRIPTION = "IPC library used by GnuPG and GPGME"
2HOMEPAGE = "http://www.gnupg.org/related_software/libassuan/"
3BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
4
5LICENSE = "GPLv3 & LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
7 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
8 file://src/assuan.h;endline=20;md5=8a6f091b9d114f0e06aa91cb3460154c \
9 file://src/assuan-defs.h;endline=20;md5=c51ca5e56b000d79d500eee7cd8dc2e5"
10
11DEPENDS = "libgpg-error"
12
13SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-${PV}.tar.bz2"
14
15inherit autotools binconfig
diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
new file mode 100644
index 0000000000..16eaae690c
--- /dev/null
+++ b/meta/recipes-support/libcap/libcap.inc
@@ -0,0 +1,34 @@
1DESCRIPTION = "support for getting/setting POSIX.1e capabilities"
2HOMEPAGE = "http://sites.google.com/site/fullycapable/"
3
4# no specific GPL version required
5LICENSE = "BSD | GPL"
6LIC_FILES_CHKSUM = "file://License;md5=731de803c1ccbcb05a9b3523279c8d7f"
7
8DEPENDS = "libpam attr perl-native"
9
10SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/libcap2/${BPN}-${PV}.tar.bz2"
11
12inherit lib_package
13
14do_configure() {
15 # libcap uses := for compilers, fortunately, it gives us a hint
16 # on what should be replaced with ?=
17 sed -e 's,:=,?=,g' -i Make.Rules
18 sed -e 's,BUILD_CFLAGS ?=,BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules
19}
20
21EXTRA_OEMAKE = "LIBATTR=yes PAM_CAP=yes INDENT= lib=lib"
22EXTRA_OEMAKE_virtclass-native = "LIBATTR=no PAM_CAP=no INDENT= lib=lib"
23
24do_compile() {
25 oe_runmake
26}
27
28do_install() {
29 oe_runmake install DESTDIR="${D}"
30}
31
32# pam files
33FILES_${PN} += "${libdir}/security/*.so"
34FILES_${PN}-dbg += "${libdir}/security/.debug/*.so"
diff --git a/meta/recipes-support/libcap/libcap_2.19.bb b/meta/recipes-support/libcap/libcap_2.19.bb
new file mode 100644
index 0000000000..eb861535e9
--- /dev/null
+++ b/meta/recipes-support/libcap/libcap_2.19.bb
@@ -0,0 +1,3 @@
1require libcap.inc
2
3PR = "r1"
diff --git a/meta/recipes-support/libcheck/libcheck_0.9.8.bb b/meta/recipes-support/libcheck/libcheck_0.9.8.bb
new file mode 100644
index 0000000000..048b8ce622
--- /dev/null
+++ b/meta/recipes-support/libcheck/libcheck_0.9.8.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "Check Test Framework"
2HOMEPAGE = "http://gitorious.org/opensuse/zypper"
3PRIORITY = "optional"
4SECTION = "devel"
5
6LICENSE = "LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=2d5025d4aa3495befef8f17206a5b0a1"
8
9PR = "r0"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz"
12S = "${WORKDIR}/check-${PV}"
13
14inherit autotools pkgconfig
15
16RREPLACES_${PN} = "check (<= 0.9.5)"
diff --git a/meta/recipes-support/libcroco/files/croco.patch b/meta/recipes-support/libcroco/files/croco.patch
new file mode 100644
index 0000000000..572f9de59f
--- /dev/null
+++ b/meta/recipes-support/libcroco/files/croco.patch
@@ -0,0 +1,13 @@
1--- opie/configure.in.old 2006-05-19 20:57:30.000000000 +0100
2+++ opie/configure.in 2006-05-19 20:57:56.000000000 +0100
3@@ -131,8 +131,8 @@
4 dnl Define the CROCO_LIBS and CROCO_CFLAGS variables. These will be used
5 dnl by client application to know where to find croco include files and libs.
6 dnl
7-CROCO_LIBS="-L${libdir} -lcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION"
8-CROCO_CFLAGS="-I${includedir}/libcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION"
9+CROCO_LIBS='-L${libdir}'" -lcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION"
10+CROCO_CFLAGS='-I${includedir}'"/libcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION"
11
12 AC_SUBST(LIBXML2_LIBS)
13 AC_SUBST(LIBXML2_CFLAGS)
diff --git a/meta/recipes-support/libcroco/libcroco_0.6.2.bb b/meta/recipes-support/libcroco/libcroco_0.6.2.bb
new file mode 100644
index 0000000000..2ea33b155b
--- /dev/null
+++ b/meta/recipes-support/libcroco/libcroco_0.6.2.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "The Libcroco project is an effort to build a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit"
2HOMEPAGE = "http://www.gnome.org/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4
5LICENSE = "LGPLv2 & LGPLv2.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
7 file://src/cr-rgb.c;endline=25;md5=1df8189094ba7bbed953225785032826 \
8 file://tests/cr-test-utils.c;endline=21;md5=2382c27934cae1d3792fcb17a6142c4e"
9
10SECTION = "x11/utils"
11DEPENDS = "glib-2.0 libxml2 zlib"
12PR = "r0"
13
14inherit autotools pkgconfig gnome
15
16SRC_URI_append = " file://croco.patch;apply=yes "
diff --git a/meta/recipes-support/libdaemon/libdaemon_0.14.bb b/meta/recipes-support/libdaemon/libdaemon_0.14.bb
new file mode 100644
index 0000000000..b4092fdbb9
--- /dev/null
+++ b/meta/recipes-support/libdaemon/libdaemon_0.14.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons."
2SECTION = "libs"
3AUTHOR = "Lennart Poettering <lennart@poettering.net>"
4HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/"
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
7 file://libdaemon/daemon.h;startline=9;endline=21;md5=94c709a83d8251377c322322176d4ffe"
8PR = "r0"
9
10SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz"
11
12inherit autotools pkgconfig
13
14EXTRA_OECONF = "--disable-lynx"
diff --git a/meta/recipes-support/libevent/libevent_1.4.14b.bb b/meta/recipes-support/libevent/libevent_1.4.14b.bb
new file mode 100644
index 0000000000..4209305512
--- /dev/null
+++ b/meta/recipes-support/libevent/libevent_1.4.14b.bb
@@ -0,0 +1,15 @@
1DESCRIPTION = "an asynchronous event notification library"
2HOMEPAGE = "http://www.monkey.org/~provos/libevent/"
3SECTION = "libs"
4
5LICENSE = "BSD"
6LIC_FILES_CHKSUM = "file://event.c;endline=26;md5=bc20aa63bf60c36c2d8edb77746f6b7c"
7
8PR = "r0"
9
10SRC_URI = "http://www.monkey.org/~provos/${BPN}-${PV}-stable.tar.gz"
11S = "${WORKDIR}/${BPN}-${PV}-stable"
12
13inherit autotools
14
15LEAD_SONAME = "libevent-1.4.so"
diff --git a/meta/recipes-support/libfm/libfm_0.1.12.bb b/meta/recipes-support/libfm/libfm_0.1.12.bb
new file mode 100644
index 0000000000..83e6af8523
--- /dev/null
+++ b/meta/recipes-support/libfm/libfm_0.1.12.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "Library for file management"
2HOMEPAGE = "http://pcmanfm.sourceforge.net/"
3BUGTRACKER = ""
4
5LICENSE = "GPLv2 & GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
7 file://src/fm.h;endline=22;md5=e64555171770a551e3b51cc06fc62f1a \
8 file://src/base/fm-config.h;endline=23;md5=ad0fc418c3cf041eea35ddb3daf37f17"
9
10SECTION = "x11/libs"
11DEPENDS = "gtk+ menu-cache intltool"
12
13PR = "r0"
14
15SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz"
16
17inherit autotools pkgconfig
diff --git a/meta/recipes-support/libfribidi/files/libtool-update.patch b/meta/recipes-support/libfribidi/files/libtool-update.patch
new file mode 100644
index 0000000000..c7031008fd
--- /dev/null
+++ b/meta/recipes-support/libfribidi/files/libtool-update.patch
@@ -0,0 +1,11 @@
1--- fribidi-0.10.4/configure.in~ 2002-05-19 11:06:48.000000000 +0100
2+++ fribidi-0.10.4/configure.in 2004-08-03 17:42:28.000000000 +0100
3@@ -50,7 +50,7 @@
4 AC_PROG_INSTALL
5 AC_PROG_LN_S
6 AC_PROG_MAKE_SET
7-AC_PROG_RANLIB
8+#AC_PROG_RANLIB
9 AC_PATH_PROG(SED, sed, $PATH)
10
11
diff --git a/meta/recipes-support/libfribidi/libfribidi_0.10.4.bb b/meta/recipes-support/libfribidi/libfribidi_0.10.4.bb
new file mode 100644
index 0000000000..a9850fe52d
--- /dev/null
+++ b/meta/recipes-support/libfribidi/libfribidi_0.10.4.bb
@@ -0,0 +1,23 @@
1DESCRIPTION = "Fribidi library for bidirectional text"
2SECTION = "libs"
3PRIORITY = "optional"
4
5inherit autotools pkgconfig
6
7PR = "r0"
8
9S = "${WORKDIR}/fribidi-${PV}"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/fribidi/fribidi-${PV}.tar.bz2 \
12 file://libtool-update.patch;patch=1"
13
14#PACKAGES += " ${PN}-bin"
15FILES_${PN} = "${libdir}/lib*.so.*"
16#FILES_${PN}-bin = "${libdir}/uu*"
17
18do_configure_prepend () {
19# this version of libtool is old - we have to nobble this file to get it to litoolize
20 rm ltconfig
21 rm aclocal.m4
22 rm acinclude.m4
23}
diff --git a/meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch b/meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch
new file mode 100644
index 0000000000..24a59787a2
--- /dev/null
+++ b/meta/recipes-support/libgcrypt/files/add-pkgconfig-support.patch
@@ -0,0 +1,49 @@
1Index: libgcrypt-1.2.4/configure.ac
2===================================================================
3--- libgcrypt-1.2.4.orig/configure.ac 2008-03-19 22:14:50.000000000 +0000
4+++ libgcrypt-1.2.4/configure.ac 2008-03-19 22:14:58.000000000 +0000
5@@ -807,6 +807,7 @@
6 doc/Makefile
7 src/Makefile
8 src/gcrypt.h
9+src/libgcrypt.pc
10 src/libgcrypt-config
11 tests/Makefile
12 w32-dll/Makefile
13Index: libgcrypt-1.2.4/src/libgcrypt.pc.in
14===================================================================
15--- /dev/null 1970-01-01 00:00:00.000000000 +0000
16+++ libgcrypt-1.2.4/src/libgcrypt.pc.in 2008-03-19 22:14:58.000000000 +0000
17@@ -0,0 +1,32 @@
18+# Process this file with autoconf to produce a pkg-config metadata file.
19+# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation
20+# Author: Simon Josefsson
21+#
22+# This file is free software; as a special exception the author gives
23+# unlimited permission to copy and/or distribute it, with or without
24+# modifications, as long as this notice is preserved.
25+#
26+# This file is distributed in the hope that it will be useful, but
27+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
28+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
29+
30+prefix=@prefix@
31+exec_prefix=@exec_prefix@
32+libdir=@libdir@
33+includedir=@includedir@
34+
35+# API info
36+api_version=@LIBGCRYPT_CONFIG_API_VERSION@
37+
38+# Misc information.
39+symmetric_ciphers=@LIBGCRYPT_CIPHERS@
40+asymmetric_ciphers=@LIBGCRYPT_PUBKEY_CIPHERS@
41+digests=@LIBGCRYPT_DIGESTS@
42+
43+Name: libgcrypt
44+Description: GNU crypto library
45+URL: http://www.gnupg.org
46+Version: @VERSION@
47+Libs: -L${libdir} -lgcrypt
48+Libs.private: -L${libdir} -lgpg-error
49+Cflags: -I${includedir}
diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
new file mode 100644
index 0000000000..08fe7992fa
--- /dev/null
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -0,0 +1,31 @@
1DESCRIPTION = "A general purpose cryptographic library based on the code from GnuPG"
2HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/"
3BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
4SECTION = "libs"
5PRIORITY = "optional"
6
7# helper program gcryptrnd and getrandom are under GPL, rest LGPL
8LICENSE = "GPLv2+ & LGPLv2.1+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
10 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
11
12DEPENDS = "libgpg-error"
13
14SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
15 file://add-pkgconfig-support.patch"
16
17inherit autotools binconfig pkgconfig
18
19EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
20
21# libgcrypt.pc is added locally and thus installed here
22do_install_append() {
23 install -d ${D}/${libdir}/pkgconfig
24 install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
25}
26
27ARM_INSTRUCTION_SET = "arm"
28
29# move libgcrypt-config into -dev package
30FILES_${PN} = "${libdir}/lib*.so.*"
31FILES_${PN}-dev += "${bindir} ${libdir}/pkgconfig/*.pc"
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.4.6.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.4.6.bb
new file mode 100644
index 0000000000..a592437913
--- /dev/null
+++ b/meta/recipes-support/libgcrypt/libgcrypt_1.4.6.bb
@@ -0,0 +1,3 @@
1require libgcrypt.inc
2
3PR = "r0"
diff --git a/meta/recipes-support/libgdbus/libgdbus_git.bb b/meta/recipes-support/libgdbus/libgdbus_git.bb
new file mode 100644
index 0000000000..f0101f9925
--- /dev/null
+++ b/meta/recipes-support/libgdbus/libgdbus_git.bb
@@ -0,0 +1,10 @@
1HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php"
2SUMMARY = "Moblin Glib D-Bus integration"
3LICENSE = "GPL LGPL"
4DEPENDS = "glib-2.0 dbus"
5PV = "0.0+git${SRCREV}"
6S = "${WORKDIR}/git"
7
8SRC_URI = "git://git.kernel.org/pub/scm/bluetooth/libgdbus.git;protocol=git"
9
10inherit autotools pkgconfig
diff --git a/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch b/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch
new file mode 100644
index 0000000000..49e47d874e
--- /dev/null
+++ b/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch
@@ -0,0 +1,53 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6Index: libgpg-error-1.8/configure.ac
7===================================================================
8--- libgpg-error-1.8.orig/configure.ac 2010-05-06 06:01:08.000000000 -0700
9+++ libgpg-error-1.8/configure.ac 2010-07-21 02:20:20.923261305 -0700
10@@ -140,6 +140,7 @@
11 AC_SUBST(GPG_ERROR_CONFIG_CFLAGS)
12 AC_SUBST(GPG_ERROR_CONFIG_ISUBDIRAFTER)
13 AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config])
14+AC_CONFIG_FILES([src/gpg-error.pc])
15
16
17 # Special defines for certain platforms
18Index: libgpg-error-1.8/src/Makefile.am
19===================================================================
20--- libgpg-error-1.8.orig/src/Makefile.am 2010-04-14 02:16:44.000000000 -0700
21+++ libgpg-error-1.8/src/Makefile.am 2010-07-21 02:22:36.655012496 -0700
22@@ -37,13 +37,15 @@
23 bin_SCRIPTS = gpg-error-config
24 m4datadir = $(datadir)/aclocal
25 m4data_DATA = gpg-error.m4
26+pkgconfigdir = $(libdir)/pkgconfig
27+pkgconfig_DATA = gpg-error.pc
28
29 EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \
30 mkerrnos.awk errnos.in README \
31 mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \
32 mkheader.awk gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \
33 err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \
34- gpg-error.def.in versioninfo.rc.in
35+ gpg-error.def.in versioninfo.rc.in gpg-error.pc.in
36
37 BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \
38 err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h \
39Index: libgpg-error-1.8/src/gpg-error.pc.in
40===================================================================
41--- /dev/null 1970-01-01 00:00:00.000000000 +0000
42+++ libgpg-error-1.8/src/gpg-error.pc.in 2010-07-21 02:20:20.923261305 -0700
43@@ -0,0 +1,10 @@
44+prefix=@prefix@
45+exec_prefix=@exec_prefix@
46+libdir=@libdir@
47+includedir=@includedir@
48+
49+Name: gpg-error
50+Description: a library that defines common error values for all GnuPG components
51+Version: @VERSION@
52+Libs: -L{libdir} -lgpg-error
53+Cflags: -I${includedir}
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.8.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.8.bb
new file mode 100644
index 0000000000..120feecafa
--- /dev/null
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.8.bb
@@ -0,0 +1,24 @@
1DESCRIPTION = "a small library that defines common error values for all GnuPG components"
2HOMEPAGE = "http://www.gnupg.org/related_software/libgpg-error/"
3BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
4
5LICENSE = "GPLv2+ & LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
7 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
8 file://src/gpg-error.h;endline=23;md5=83c16c8f5cea85affa1ff270a6f4fcff \
9 file://src/init.c;endline=20;md5=b69742f2a8827d494c6f6a4b1768416c"
10
11
12SECTION = "libs"
13LICENSE = "GPLv2+ & LGPLv2.1+"
14DEPENDS = "gettext"
15PR = "r0"
16
17SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \
18 file://pkgconfig.patch;"
19
20# move libgpg-error-config into -dev package
21FILES_${PN} = "${libdir}/lib*.so.*"
22FILES_${PN}-dev += "${bindir}/*"
23
24inherit autotools binconfig pkgconfig
diff --git a/meta/recipes-support/libiconv/libiconv_1.9.2.bb b/meta/recipes-support/libiconv/libiconv_1.9.2.bb
new file mode 100644
index 0000000000..d427dcef83
--- /dev/null
+++ b/meta/recipes-support/libiconv/libiconv_1.9.2.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "GNU libiconv - libiconv is for you if your application needs to support \
2multiple character encodings, but that support lacks from your system."
3HOMEPAGE = "http://www.gnu.org/software/libiconv"
4SECTION = "libs"
5PRIORITY = "optional"
6NOTES = "Needs to be stripped down to: ascii iso8859-1 eucjp iso-2022jp gb utf8"
7PROVIDES = "virtual/libiconv"
8PR = "r4"
9LICENSE = "LGPL"
10SRC_URI = "ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-${PV}.tar.gz"
11
12S = "${WORKDIR}/libiconv-${PV}"
13
14inherit autotools pkgconfig
15
16EXTRA_OECONF += "--enable-shared --enable-static"
17
18do_configure () {
19 rm -f m4/libtool.m4 libcharset/m4/libtool.m4
20 autotools_do_configure
21}
diff --git a/meta/recipes-support/libmpc/libmpc.inc b/meta/recipes-support/libmpc/libmpc.inc
new file mode 100644
index 0000000000..6e18e588be
--- /dev/null
+++ b/meta/recipes-support/libmpc/libmpc.inc
@@ -0,0 +1,6 @@
1DESCRIPTION = "Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. It is built upon and follows the same principles as Mpfr"
2HOMEPAGE = "http://www.multiprecision.org/"
3LICENSE = "LGPLv2"
4SECTION = "libs"
5
6inherit autotools
diff --git a/meta/recipes-support/libmpc/libmpc_0.8.2.bb b/meta/recipes-support/libmpc/libmpc_0.8.2.bb
new file mode 100644
index 0000000000..1792066e77
--- /dev/null
+++ b/meta/recipes-support/libmpc/libmpc_0.8.2.bb
@@ -0,0 +1,14 @@
1require libmpc.inc
2
3DEPENDS = "gmp mpfr"
4
5PR = "r0"
6
7SRC_URI = "http://www.multiprecision.org/mpc/download/mpc-${PV}.tar.gz"
8S = "${WORKDIR}/mpc-${PV}"
9
10SRC_URI[md5sum] = "5b34aa804d514cc295414a963aedb6bf"
11SRC_URI[sha256sum] = "e664603757251fd8a352848276497a4c79b7f8b21fd8aedd5cc0598a38fee3e4"
12
13BBCLASSEXTEND = "native nativesdk"
14
diff --git a/meta/recipes-support/libnl/libnl/compilefix.patch b/meta/recipes-support/libnl/libnl/compilefix.patch
new file mode 100644
index 0000000000..f75ff282af
--- /dev/null
+++ b/meta/recipes-support/libnl/libnl/compilefix.patch
@@ -0,0 +1,12 @@
1Index: libnl-1.1/include/netlink-local.h
2===================================================================
3--- libnl-1.1.orig/include/netlink-local.h 2009-09-04 10:10:09.000000000 +0100
4+++ libnl-1.1/include/netlink-local.h 2009-09-04 10:10:15.000000000 +0100
5@@ -26,6 +26,7 @@
6 #include <sys/socket.h>
7 #include <inttypes.h>
8 #include <assert.h>
9+#include <limits.h>
10
11 #include <arpa/inet.h>
12 #include <netdb.h>
diff --git a/meta/recipes-support/libnl/libnl/local-includes.patch b/meta/recipes-support/libnl/libnl/local-includes.patch
new file mode 100644
index 0000000000..5af463004b
--- /dev/null
+++ b/meta/recipes-support/libnl/libnl/local-includes.patch
@@ -0,0 +1,11 @@
1--- libnl-1.0-pre6/Makefile.opts.in.orig 2006-08-24 14:57:42.000000000 +0200
2+++ libnl-1.0-pre6/Makefile.opts.in 2006-08-24 14:58:20.000000000 +0200
3@@ -10,7 +10,7 @@
4 #
5
6 CC := @CC@
7-CFLAGS := @CFLAGS@
8+CFLAGS := -I./include -I. -I../include @CFLAGS@
9 LDFLAGS := @LDFLAGS@
10 CPPFLAGS := @CPPFLAGS@
11 PACKAGE_NAME := @PACKAGE_NAME@
diff --git a/meta/recipes-support/libnl/libnl_1.1.bb b/meta/recipes-support/libnl/libnl_1.1.bb
new file mode 100644
index 0000000000..683df9159f
--- /dev/null
+++ b/meta/recipes-support/libnl/libnl_1.1.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "libnl is a library for applications dealing with netlink sockets."
2HOMEPAGE = "http://www.infradead.org/~tgr/libnl/"
3SECTION = "libs/network"
4PRIORITY = "optional"
5
6LICENSE = "LGPLv2.1"
7LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc \
8 file://src/utils.c;beginline=4;endline=9;md5=6e99dfba5cfd64e92b4eb2c7b31e5e4e"
9
10PR = "r1"
11
12SRC_URI= "http://www.infradead.org/~tgr/libnl/files/${PN}-${PV}.tar.gz \
13 file://local-includes.patch;apply=yes \
14 file://compilefix.patch;apply=yes"
15
16inherit autotools pkgconfig
diff --git a/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch b/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch
new file mode 100644
index 0000000000..00cf5d7431
--- /dev/null
+++ b/meta/recipes-support/liboil/liboil-0.3.17/no-tests.patch
@@ -0,0 +1,22 @@
1--- liboil-0.3.9/liboil/liboilfunction.c.old 2006-09-18 13:03:20.000000000 +0100
2+++ liboil-0.3.9/liboil/liboilfunction.c 2006-09-18 13:04:10.000000000 +0100
3@@ -345,7 +345,9 @@
4 return;
5 }
6
7- test = oil_test_new (klass);
8+ klass->chosen_impl = klass->reference_impl;
9+ klass->func = klass->reference_impl->func;
10+/* test = oil_test_new (klass);
11 if (test == NULL) {
12 OIL_ERROR ("failed to test function class %s", klass->name);
13 return;
14@@ -385,7 +387,7 @@
15 klass->chosen_impl = min_impl;
16 klass->func = min_impl->func;
17
18- oil_test_free (test);
19+ oil_test_free (test);*/
20 }
21
22 static void
diff --git a/meta/recipes-support/liboil/liboil_0.3.17.bb b/meta/recipes-support/liboil/liboil_0.3.17.bb
new file mode 100644
index 0000000000..8ba303069d
--- /dev/null
+++ b/meta/recipes-support/liboil/liboil_0.3.17.bb
@@ -0,0 +1,20 @@
1DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs."
2HOMEPAGE = "http://liboil.freedesktop.org/"
3BUGTRACKER = "https://bugs.freedesktop.org/"
4
5LICENSE = "BSD"
6LIC_FILES_CHKSUM = "file://COPYING;md5=ad80780d9c5205d63481a0184e199a15 \
7 file://liboil/liboil.h;endline=28;md5=95c794a66b88800d949fed17e437d9fb \
8 file://liboil/liboilcpu.c;endline=28;md5=89da69a61d88eedcba066f42353fb75a \
9 file://examples/example1.c;endline=29;md5=9d4dad9fcbbdf0441ee063f8af5170c9 \
10 file://testsuite/trans.c;endline=29;md5=380ecd43121fe3dcc0d8d7e5984f283d"
11
12DEPENDS = "glib-2.0"
13PR = "r2"
14
15SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \
16 file://no-tests.patch;patch=1"
17
18inherit autotools pkgconfig
19
20ARM_INSTRUCTION_SET = "arm"
diff --git a/meta/recipes-support/libpcre/files/pcre-cross.patch b/meta/recipes-support/libpcre/files/pcre-cross.patch
new file mode 100644
index 0000000000..0626fb347a
--- /dev/null
+++ b/meta/recipes-support/libpcre/files/pcre-cross.patch
@@ -0,0 +1,25 @@
1To be upstreamable, this patch requires check for *_FOR_BUILD, otherwise
2it needs to pass special variables.
3
4It would be nice to implement per-target compiler specification to
5automake, as it is done for linker.
6
7Even better it would be nice to implement native build time targets in
8automake.
9
10Index: pcre-7.6/Makefile.am
11===================================================================
12--- pcre-7.6.orig/Makefile.am 2008-01-23 17:58:28.000000000 +0000
13+++ pcre-7.6/Makefile.am 2008-04-03 22:32:00.000000000 +0000
14@@ -147,6 +147,11 @@
15
16 noinst_PROGRAMS += dftables
17 dftables_SOURCES = dftables.c
18+dftables_LINK = $(LINK_FOR_BUILD) -o $@
19+dftables_LDFLAGS = $(LDFLAGS_FOR_BUILD)
20+
21+dftables.o: $(srcdir)/dftables.c
22+ $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) -o $@ $(srcdir)/dftables.c
23
24 pcre_chartables.c: dftables$(EXEEXT)
25 ./dftables$(EXEEXT) $@
diff --git a/meta/recipes-support/libpcre/libpcre_8.10.bb b/meta/recipes-support/libpcre/libpcre_8.10.bb
new file mode 100644
index 0000000000..840d74a658
--- /dev/null
+++ b/meta/recipes-support/libpcre/libpcre_8.10.bb
@@ -0,0 +1,53 @@
1DESCRIPTION = "Perl-compatible regular expression library. PCRE has its own native \
2API, but a set of 'wrapper' functions that are based on the POSIX API \
3are also supplied in the library libpcreposix. Note that this just \
4provides a POSIX calling interface to PCRE; the regular expressions \
5themselves still follow Perl syntax and semantics. The header file for \
6the POSIX-style functions is called pcreposix.h."
7SECTION = "devel"
8PR = "r4"
9LICENSE = "BSD"
10SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \
11 file://pcre-cross.patch;patch=1"
12S = "${WORKDIR}/pcre-${PV}"
13
14PROVIDES = "pcre"
15
16inherit autotools binconfig
17
18PARALLEL_MAKE = ""
19
20CFLAGS_append = " -D_REENTRANT"
21CXXFLAGS_powerpc += "-lstdc++"
22EXTRA_OECONF = " --with-link-size=2 --enable-newline-is-lf --with-match-limit=10000000 --enable-rebuild-chartables --enable-utf8"
23
24do_compile () {
25 # stop libtool from trying to link with host libraries - fix from #33
26 # this resolve build problem on amd64 - #1015
27 if [ -e ${S}/${TARGET_SYS}-libtool ] ; then
28 sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool
29 else
30 ln -sf ${S}/libtool ${S}/${TARGET_SYS}-libtool
31 sed -i 's:-L\$:-L${STAGING_LIBDIR} -L\$:' ${S}/${TARGET_SYS}-libtool
32 fi
33
34 # The generation of dftables can lead to timestamp problems with ccache
35 # because the generated config.h seems newer. It is sufficient to ensure that the
36 # attempt to build dftables inside make will actually work (foo_FOR_BUILD is
37 # only used for this).
38 oe_runmake CC_FOR_BUILD="${BUILD_CC}" CFLAGS_FOR_BUILD="-DLINK_SIZE=2 -I${S}/include" LINK_FOR_BUILD="${BUILD_CC} -L${S}/lib"
39}
40
41python populate_packages_prepend () {
42 pcre_libdir = bb.data.expand('${libdir}', d)
43 pcre_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
44 do_split_packages(d, pcre_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'libpcre %s development package', extra_depends='${PN}-dev', allow_links=True)
45 do_split_packages(d, pcre_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'libpcre %s development package', extra_depends='${PN}-dev')
46 do_split_packages(d, pcre_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'libpcre %s development package', extra_depends='${PN}-dev')
47 do_split_packages(d, pcre_libdir, '^lib(.*)\.so\.*', 'lib%s', 'libpcre %s library', extra_depends='', allow_links=True)
48}
49
50FILES_${PN} = "${libdir}/libpcre.so.*"
51FILES_${PN}-dev += "${bindir}/*"
52
53BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/libproxy/libproxy_0.4.3.bb b/meta/recipes-support/libproxy/libproxy_0.4.3.bb
new file mode 100644
index 0000000000..6c0b7a50c6
--- /dev/null
+++ b/meta/recipes-support/libproxy/libproxy_0.4.3.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "A library that provides automatic proxy configuration management"
2HOMEPAGE = "http://code.google.com/p/libproxy/"
3BUGTRACKER = "http://code.google.com/p/libproxy/issues/list"
4SECTION = "libs"
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \
7 file://utils/proxy.c;beginline=1;endline=18;md5=55152a1006d7dafbef32baf9c30a99c0"
8
9
10DEPENDS = "virtual/libx11 xmu gconf-dbus"
11
12SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz"
13
14PR = "r1"
15
16inherit cmake pkgconfig
17
18EXTRA_OECMAKE = "-DWITH_WEBKIT=no -DWITH_GNOME=yes -DWITH_KDE4=no \
19 -DWITH_PYTHON=no -DWITH_PERL=no -DWITH_MOZJS=no -DWITH_NM=no"
20
21FILES_${PN}-dbg += "${libdir}/libproxy/0.4.2/plugins/"
22
23do_configure_prepend() {
24 export HOST_SYS=${HOST_SYS}
25 export BUILD_SYS=${BUILD_SYS}
26}
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.31.2.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.31.2.bb
new file mode 100644
index 0000000000..9a00e07da0
--- /dev/null
+++ b/meta/recipes-support/libsoup/libsoup-2.4_2.31.2.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "An HTTP library implementation in C"
2HOMEPAGE = "http://www.gnome.org/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4
5LICENSE = "LGPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
7
8SECTION = "x11/gnome/libs"
9PR = "r0"
10
11DEPENDS = "glib-2.0 gnutls libxml2 libproxy sqlite3 libgnome-keyring"
12
13SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.31/libsoup-${PV}.tar.bz2"
14S = "${WORKDIR}/libsoup-${PV}"
15
16inherit autotools pkgconfig
17
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bb
new file mode 100644
index 0000000000..f48ac3d6c9
--- /dev/null
+++ b/meta/recipes-support/libsoup/libsoup-2.4_2.4.1.bb
@@ -0,0 +1,11 @@
1DESCRIPTION = "An HTTP library implementation in C"
2LICENSE = "GPL"
3SECTION = "x11/gnome/libs"
4
5DEPENDS = "glib-2.0 gnutls libxml2"
6
7SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.4/libsoup-${PV}.tar.bz2"
8S = "${WORKDIR}/libsoup-${PV}"
9
10inherit autotools pkgconfig
11
diff --git a/meta/recipes-support/libsoup/libsoup_2.2.100.bb b/meta/recipes-support/libsoup/libsoup_2.2.100.bb
new file mode 100644
index 0000000000..94efb7f676
--- /dev/null
+++ b/meta/recipes-support/libsoup/libsoup_2.2.100.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "An HTTP library implementation in C"
2LICENSE = "GPL"
3SECTION = "x11/gnome/libs"
4PR = "r1"
5
6DEPENDS = "glib-2.0 gnutls libxml2"
7
8SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${PN}/2.2/${PN}-${PV}.tar.bz2"
9
10inherit autotools pkgconfig
11
12FILES_${PN} = "${libdir}/lib*.so.*"
13FILES_${PN}-dev = "${includedir}/ ${libdir}/"
14FILES_${PN}-doc = "${datadir}/"
diff --git a/meta/recipes-support/liburcu/liburcu_0.4.6.bb b/meta/recipes-support/liburcu/liburcu_0.4.6.bb
new file mode 100644
index 0000000000..503b561d37
--- /dev/null
+++ b/meta/recipes-support/liburcu/liburcu_0.4.6.bb
@@ -0,0 +1,24 @@
1DESCRIPTION = "The userspace read-copy update library by Mathieu Desnoyers"
2HOMEPAGE = "http://lttng.org/urcu"
3BUGTRACKER = "n/a"
4
5LICENSE = "LGPLv2.1+ & MIT-style"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=b472dc110d38774921e1d5ccb0065fff \
7 file://urcu.h;beginline=4;endline=32;md5=4de0d68d3a997643715036d2209ae1d9 \
8 file://urcu/uatomic_arch_x86.h;beginline=4;endline=21;md5=220552f72c55b102f2ee35929734ef42"
9
10PR = "r0"
11
12SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2"
13
14S = "${WORKDIR}/userspace-rcu-${PV}"
15
16inherit autotools
17
18# liburcu, which is only used by lttng-ust, may not build on other
19# platforms, e.g., on ARM, liburcu is only supported on ARMv7l while poky
20# only supports armv4/armv4t/armv5te. 1 more example: liburcu doesn't support
21# MIPS now.
22# So here let us first suppport x86/powerpc platforms now.
23COMPATIBLE_HOST = '(x86_64.*|i.86.*|powerpc.*)-linux'
24
diff --git a/meta/recipes-support/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch b/meta/recipes-support/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch
new file mode 100644
index 0000000000..501ba3fb29
--- /dev/null
+++ b/meta/recipes-support/libusb/libusb-compat-0.1.3/0.1.0-beta1-gcc3.4-fix.patch
@@ -0,0 +1,13 @@
1Index: libusb-compat-0.1.0-beta1/configure.ac
2===================================================================
3--- libusb-compat-0.1.0-beta1.orig/configure.ac 2008-07-21 13:14:42.000000000 +0200
4+++ libusb-compat-0.1.0-beta1/configure.ac 2008-07-21 13:15:03.000000000 +0200
5@@ -55,7 +55,7 @@
6 CFLAGS="$saved_cflags"
7
8 AC_DEFINE([API_EXPORTED], [__attribute__((visibility("default")))], [Default visibility])
9-AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
10+AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wshadow"
11 AC_SUBST(AM_CFLAGS)
12
13 AC_CONFIG_FILES([libusb.pc] [libusb-config] [Makefile] [libusb/Makefile] [examples/Makefile])
diff --git a/meta/recipes-support/libusb/libusb-compat_0.1.3.bb b/meta/recipes-support/libusb/libusb-compat_0.1.3.bb
new file mode 100644
index 0000000000..e8d6338e57
--- /dev/null
+++ b/meta/recipes-support/libusb/libusb-compat_0.1.3.bb
@@ -0,0 +1,23 @@
1DESCRIPTION = "libusb-0.1 compatible layer for libusb1, a drop-in replacement \
2that aims to look, feel and behave exactly like libusb-0.1"
3HOMEPAGE = "http://www.libusb.org/"
4BUGTRACKER = "http://www.libusb.org/report"
5SECTION = "libs"
6
7LICENSE = "LGPLv2.1+"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=f2ac5f3ac4835e8f91324a26a590a423"
9DEPENDS = "libusb1"
10
11# Few packages are known not to work with libusb-compat (e.g. libmtp-1.0.0),
12# so here libusb-0.1 is removed completely instead of adding virtual/libusb0.
13# Besides, libusb-0.1 uses a per 1ms polling that hurts a lot to power
14# consumption.
15PROVIDES = "libusb"
16
17PE = "1"
18PR = "r0"
19
20SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-compat-${PV}.tar.bz2 \
21 file://0.1.0-beta1-gcc3.4-fix.patch"
22
23inherit autotools pkgconfig binconfig
diff --git a/meta/recipes-support/libusb/libusb1_1.0.8.bb b/meta/recipes-support/libusb/libusb1_1.0.8.bb
new file mode 100644
index 0000000000..26a535ab4e
--- /dev/null
+++ b/meta/recipes-support/libusb/libusb1_1.0.8.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "userspace library to access USB (version 1.0)"
2HOMEPAGE = "http://libusb.sf.net"
3BUGTRACKER = "http://www.libusb.org/report"
4SECTION = "libs"
5
6LICENSE = "LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
8
9PR = "r0"
10
11SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2"
12S = "${WORKDIR}/libusb-${PV}"
13
14inherit autotools pkgconfig
diff --git a/meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch b/meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch
new file mode 100644
index 0000000000..d21663896f
--- /dev/null
+++ b/meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch
@@ -0,0 +1,22 @@
1Index: libxslt-1.1.22/libexslt.pc.in
2===================================================================
3--- libxslt-1.1.22.orig/libexslt.pc.in 2008-03-19 16:52:20.000000000 +0000
4+++ libxslt-1.1.22/libexslt.pc.in 2008-03-19 16:55:49.000000000 +0000
5@@ -8,5 +8,5 @@
6 Version: @LIBEXSLT_VERSION@
7 Description: EXSLT Extension library
8 Requires: libxml-2.0
9-Libs: @EXSLT_LIBDIR@ @EXSLT_LIBS@
10+Libs: -lexslt @EXSLT_LIBDIR@ @M_LIBS@
11 Cflags: @EXSLT_INCLUDEDIR@
12Index: libxslt-1.1.22/libxslt.pc.in
13===================================================================
14--- libxslt-1.1.22.orig/libxslt.pc.in 2008-03-19 16:52:20.000000000 +0000
15+++ libxslt-1.1.22/libxslt.pc.in 2008-03-19 16:55:38.000000000 +0000
16@@ -8,5 +8,5 @@
17 Version: @VERSION@
18 Description: XSLT library version 2.
19 Requires: libxml-2.0
20-Libs: @XSLT_LIBDIR@ @XSLT_LIBS@
21+Libs: -lxslt @XSLT_LIBDIR@ @M_LIBS@
22 Cflags: @XSLT_INCLUDEDIR@
diff --git a/meta/recipes-support/libxslt/libxslt_1.1.26.bb b/meta/recipes-support/libxslt/libxslt_1.1.26.bb
new file mode 100644
index 0000000000..b5726974f1
--- /dev/null
+++ b/meta/recipes-support/libxslt/libxslt_1.1.26.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "GNOME XSLT library"
2HOMEPAGE = "http://xmlsoft.org/XSLT/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=0cd9a07afbeb24026c9b03aecfeba458"
7
8SECTION = "libs"
9PRIORITY = "optional"
10DEPENDS = "libxml2 (>=2.6.27)"
11PR = "r0"
12
13SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \
14 file://pkgconfig_fix.patch;patch=1"
15S = "${WORKDIR}/libxslt-${PV}"
16
17inherit autotools pkgconfig
18
19EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto"
20
21PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
22
23FILES_${PN}-dev += "${bindir}/xslt-config"
24FILES_${PN}-utils += "${bindir}"
25
26BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/lzo/lzo-2.03/acinclude.m4 b/meta/recipes-support/lzo/lzo-2.03/acinclude.m4
new file mode 100644
index 0000000000..c4d2ccd5b5
--- /dev/null
+++ b/meta/recipes-support/lzo/lzo-2.03/acinclude.m4
@@ -0,0 +1,358 @@
1
2AC_DEFUN([mfx_ACC_CHECK_ENDIAN], [
3AC_C_BIGENDIAN([AC_DEFINE(ACC_ABI_BIG_ENDIAN,1,[Define to 1 if your machine is big endian.])],[AC_DEFINE(ACC_ABI_LITTLE_ENDIAN,1,[Define to 1 if your machine is little endian.])])
4])#
5
6AC_DEFUN([mfx_ACC_CHECK_HEADERS], [
7AC_HEADER_TIME
8AC_CHECK_HEADERS([assert.h ctype.h dirent.h errno.h fcntl.h float.h limits.h malloc.h memory.h setjmp.h signal.h stdarg.h stddef.h stdint.h stdio.h stdlib.h string.h strings.h time.h unistd.h utime.h sys/stat.h sys/time.h sys/types.h sys/wait.h])
9])#
10
11AC_DEFUN([mfx_ACC_CHECK_FUNCS], [
12AC_CHECK_FUNCS(access alloca atexit atoi atol chmod chown ctime difftime fstat gettimeofday gmtime localtime longjmp lstat memcmp memcpy memmove memset mktime qsort raise setjmp signal snprintf strcasecmp strchr strdup strerror strftime stricmp strncasecmp strnicmp strrchr strstr time umask utime vsnprintf)
13])#
14
15
16AC_DEFUN([mfx_ACC_CHECK_SIZEOF], [
17AC_CHECK_SIZEOF(short)
18AC_CHECK_SIZEOF(int)
19AC_CHECK_SIZEOF(long)
20
21AC_CHECK_SIZEOF(long long)
22AC_CHECK_SIZEOF(__int16)
23AC_CHECK_SIZEOF(__int32)
24AC_CHECK_SIZEOF(__int64)
25
26AC_CHECK_SIZEOF(void *)
27AC_CHECK_SIZEOF(size_t)
28AC_CHECK_SIZEOF(ptrdiff_t)
29])#
30
31
32# /***********************************************************************
33# // Check for ACC_conformance
34# ************************************************************************/
35
36AC_DEFUN([mfx_ACC_ACCCHK], [
37mfx_tmp=$1
38mfx_save_CPPFLAGS=$CPPFLAGS
39dnl in Makefile.in $(INCLUDES) will be before $(CPPFLAGS), so we mimic this here
40test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS"
41
42AC_MSG_CHECKING([whether your compiler passes the ACC conformance test])
43
44AC_LANG_CONFTEST([AC_LANG_PROGRAM(
45[[#define ACC_CONFIG_NO_HEADER 1
46#include "acc/acc.h"
47#include "acc/acc_incd.h"
48#undef ACCCHK_ASSERT
49#define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT_HEADER(expr)
50#include "acc/acc_chk.ch"
51#undef ACCCHK_ASSERT
52static void test_acc_compile_time_assert(void) {
53#define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr)
54#include "acc/acc_chk.ch"
55#undef ACCCHK_ASSERT
56}
57#undef NDEBUG
58#include <assert.h>
59static int test_acc_run_time_assert(int r) {
60#define ACCCHK_ASSERT(expr) assert(expr);
61#include "acc/acc_chk.ch"
62#undef ACCCHK_ASSERT
63return r;
64}
65]], [[
66test_acc_compile_time_assert();
67if (test_acc_run_time_assert(1) != 1) return 1;
68]]
69)])
70
71mfx_tmp=FAILED
72_AC_COMPILE_IFELSE([], [mfx_tmp=yes])
73rm -f conftest.$ac_ext conftest.$ac_objext
74
75CPPFLAGS=$mfx_save_CPPFLAGS
76
77AC_MSG_RESULT([$mfx_tmp])
78case x$mfx_tmp in
79 xpassed | xyes) ;;
80 *)
81 AC_MSG_NOTICE([])
82 AC_MSG_NOTICE([Your compiler failed the ACC conformance test - for details see ])
83 AC_MSG_NOTICE([`config.log'. Please check that log file and consider sending])
84 AC_MSG_NOTICE([a patch or bug-report to <${PACKAGE_BUGREPORT}>.])
85 AC_MSG_NOTICE([Thanks for your support.])
86 AC_MSG_NOTICE([])
87 AC_MSG_ERROR([ACC conformance test failed. Stop.])
88dnl AS_EXIT
89 ;;
90esac
91])# mfx_ACC_ACCCHK
92
93
94# /***********************************************************************
95# // Check for ACC_conformance
96# ************************************************************************/
97
98AC_DEFUN([mfx_MINIACC_ACCCHK], [
99mfx_tmp=$1
100mfx_save_CPPFLAGS=$CPPFLAGS
101dnl in Makefile.in $(INCLUDES) will be before $(CPPFLAGS), so we mimic this here
102test "X$mfx_tmp" = "X" || CPPFLAGS="$mfx_tmp $CPPFLAGS"
103
104AC_MSG_CHECKING([whether your compiler passes the ACC conformance test])
105
106AC_LANG_CONFTEST([AC_LANG_PROGRAM(
107[[#define ACC_CONFIG_NO_HEADER 1
108#define ACC_WANT_ACC_INCD_H 1
109#include $2
110
111#define ACC_WANT_ACC_CHK_CH 1
112#undef ACCCHK_ASSERT
113#define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT_HEADER(expr)
114#include $2
115
116#define ACC_WANT_ACC_CHK_CH 1
117#undef ACCCHK_ASSERT
118#define ACCCHK_ASSERT(expr) ACC_COMPILE_TIME_ASSERT(expr)
119static void test_acc_compile_time_assert(void) {
120#include $2
121}
122
123#undef NDEBUG
124#include <assert.h>
125#define ACC_WANT_ACC_CHK_CH 1
126#undef ACCCHK_ASSERT
127#define ACCCHK_ASSERT(expr) assert(expr);
128static int test_acc_run_time_assert(int r) {
129#include $2
130return r;
131}
132]], [[
133test_acc_compile_time_assert();
134if (test_acc_run_time_assert(1) != 1) return 1;
135]]
136)])
137
138mfx_tmp=FAILED
139_AC_COMPILE_IFELSE([], [mfx_tmp=yes])
140rm -f conftest.$ac_ext conftest.$ac_objext
141
142CPPFLAGS=$mfx_save_CPPFLAGS
143
144AC_MSG_RESULT([$mfx_tmp])
145case x$mfx_tmp in
146 xpassed | xyes) ;;
147 *)
148 AC_MSG_NOTICE([])
149 AC_MSG_NOTICE([Your compiler failed the ACC conformance test - for details see ])
150 AC_MSG_NOTICE([`config.log'. Please check that log file and consider sending])
151 AC_MSG_NOTICE([a patch or bug-report to <${PACKAGE_BUGREPORT}>.])
152 AC_MSG_NOTICE([Thanks for your support.])
153 AC_MSG_NOTICE([])
154 AC_MSG_ERROR([ACC conformance test failed. Stop.])
155dnl AS_EXIT
156 ;;
157esac
158])# mfx_MINIACC_ACCCHK
159
160
161
162# serial 1
163
164AC_DEFUN([mfx_PROG_CPPFLAGS], [
165AC_MSG_CHECKING([whether the C preprocessor needs special flags])
166
167AC_LANG_CONFTEST([AC_LANG_PROGRAM(
168[[#include <limits.h>
169#if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
170# include "your C preprocessor is broken 1"
171#elif (0xffffu == 0xfffffffful)
172# include "your C preprocessor is broken 2"
173#elif (32767 >= ULONG_MAX) || (65535u >= ULONG_MAX)
174# include "your C preprocessor is broken 3"
175#endif
176]], [[ ]]
177)])
178
179mfx_save_CPPFLAGS=$CPPFLAGS
180mfx_tmp=ERROR
181for mfx_arg in "" -no-cpp-precomp
182do
183 CPPFLAGS="$mfx_arg $mfx_save_CPPFLAGS"
184 _AC_COMPILE_IFELSE([],
185[mfx_tmp=$mfx_arg
186break])
187done
188CPPFLAGS=$mfx_save_CPPFLAGS
189rm -f conftest.$ac_ext conftest.$ac_objext
190case x$mfx_tmp in
191 x)
192 AC_MSG_RESULT([none needed]) ;;
193 xERROR)
194 AC_MSG_RESULT([ERROR])
195 AC_MSG_ERROR([your C preprocessor is broken - for details see config.log])
196 ;;
197 *)
198 AC_MSG_RESULT([$mfx_tmp])
199 CPPFLAGS="$mfx_tmp $CPPFLAGS"
200 ;;
201esac
202])# mfx_PROG_CPPFLAGS
203
204
205
206# serial 3
207
208AC_DEFUN([mfx_CHECK_HEADER_SANE_LIMITS_H], [
209AC_CACHE_CHECK([whether limits.h is sane],
210mfx_cv_header_sane_limits_h,
211[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <limits.h>
212#if (32767 >= 4294967295ul) || (65535u >= 4294967295ul)
213# if defined(__APPLE__) && defined(__GNUC__)
214# error "your preprocessor is broken - use compiler option -no-cpp-precomp"
215# else
216# include "your preprocessor is broken"
217# endif
218#endif
219#define MFX_0xffff 0xffff
220#define MFX_0xffffffffL 4294967295ul
221#if !defined(CHAR_BIT) || (CHAR_BIT != 8)
222# include "error CHAR_BIT"
223#endif
224#if !defined(UCHAR_MAX)
225# include "error UCHAR_MAX 1"
226#endif
227#if !defined(USHRT_MAX)
228# include "error USHRT_MAX 1"
229#endif
230#if !defined(UINT_MAX)
231# include "error UINT_MAX 1"
232#endif
233#if !defined(ULONG_MAX)
234# include "error ULONG_MAX 1"
235#endif
236#if !defined(SHRT_MAX)
237# include "error SHRT_MAX 1"
238#endif
239#if !defined(INT_MAX)
240# include "error INT_MAX 1"
241#endif
242#if !defined(LONG_MAX)
243# include "error LONG_MAX 1"
244#endif
245#if (UCHAR_MAX < 1)
246# include "error UCHAR_MAX 2"
247#endif
248#if (USHRT_MAX < 1)
249# include "error USHRT_MAX 2"
250#endif
251#if (UINT_MAX < 1)
252# include "error UINT_MAX 2"
253#endif
254#if (ULONG_MAX < 1)
255# include "error ULONG_MAX 2"
256#endif
257#if (UCHAR_MAX < 0xff)
258# include "error UCHAR_MAX 3"
259#endif
260#if (USHRT_MAX < MFX_0xffff)
261# include "error USHRT_MAX 3"
262#endif
263#if (UINT_MAX < MFX_0xffff)
264# include "error UINT_MAX 3"
265#endif
266#if (ULONG_MAX < MFX_0xffffffffL)
267# include "error ULONG_MAX 3"
268#endif
269#if (USHRT_MAX > UINT_MAX)
270# include "error USHRT_MAX vs UINT_MAX"
271#endif
272#if (UINT_MAX > ULONG_MAX)
273# include "error UINT_MAX vs ULONG_MAX"
274#endif
275]], [[
276#if (USHRT_MAX == MFX_0xffff)
277{ typedef char a_short2a[1 - 2 * !(sizeof(short) == 2)]; }
278#elif (USHRT_MAX >= MFX_0xffff)
279{ typedef char a_short2b[1 - 2 * !(sizeof(short) > 2)]; }
280#endif
281#if (UINT_MAX == MFX_0xffff)
282{ typedef char a_int2a[1 - 2 * !(sizeof(int) == 2)]; }
283#elif (UINT_MAX >= MFX_0xffff)
284{ typedef char a_int2b[1 - 2 * !(sizeof(int) > 2)]; }
285#endif
286#if (ULONG_MAX == MFX_0xffff)
287{ typedef char a_long2a[1 - 2 * !(sizeof(long) == 2)]; }
288#elif (ULONG_MAX >= MFX_0xffff)
289{ typedef char a_long2b[1 - 2 * !(sizeof(long) > 2)]; }
290#endif
291#if (USHRT_MAX == MFX_0xffffffffL)
292{ typedef char a_short4a[1 - 2 * !(sizeof(short) == 4)]; }
293#elif (USHRT_MAX >= MFX_0xffffffffL)
294{ typedef char a_short4b[1 - 2 * !(sizeof(short) > 4)]; }
295#endif
296#if (UINT_MAX == MFX_0xffffffffL)
297{ typedef char a_int4a[1 - 2 * !(sizeof(int) == 4)]; }
298#elif (UINT_MAX >= MFX_0xffffffffL)
299{ typedef char a_int4b[1 - 2 * !(sizeof(int) > 4)]; }
300#endif
301#if (ULONG_MAX == MFX_0xffffffffL)
302{ typedef char a_long4a[1 - 2 * !(sizeof(long) == 4)]; }
303#elif (ULONG_MAX >= MFX_0xffffffffL)
304{ typedef char a_long4b[1 - 2 * !(sizeof(long) > 4)]; }
305#endif
306]])],
307[mfx_cv_header_sane_limits_h=yes],
308[mfx_cv_header_sane_limits_h=no])])
309])
310
311# /***********************************************************************
312# // standard
313# ************************************************************************/
314
315AC_DEFUN([mfx_LZO_CHECK_ENDIAN], [
316AC_C_BIGENDIAN([AC_DEFINE(LZO_ABI_BIG_ENDIAN,1,[Define to 1 if your machine is big endian.])],[AC_DEFINE(LZO_ABI_LITTLE_ENDIAN,1,[Define to 1 if your machine is little endian.])])
317])#
318
319
320# /***********************************************************************
321# //
322# ************************************************************************/
323
324dnl more types which are not yet covered by ACC
325
326AC_DEFUN([mfx_CHECK_SIZEOF], [
327AC_CHECK_SIZEOF(__int32)
328AC_CHECK_SIZEOF(intmax_t)
329AC_CHECK_SIZEOF(uintmax_t)
330AC_CHECK_SIZEOF(intptr_t)
331AC_CHECK_SIZEOF(uintptr_t)
332
333AC_CHECK_SIZEOF(float)
334AC_CHECK_SIZEOF(double)
335AC_CHECK_SIZEOF(long double)
336
337AC_CHECK_SIZEOF(dev_t)
338AC_CHECK_SIZEOF(fpos_t)
339AC_CHECK_SIZEOF(mode_t)
340AC_CHECK_SIZEOF(off_t)
341AC_CHECK_SIZEOF(ssize_t)
342AC_CHECK_SIZEOF(time_t)
343])#
344
345
346
347AC_DEFUN([mfx_CHECK_LIB_WINMM], [
348if test "X$GCC" = Xyes; then
349case $host_os in
350cygwin* | mingw* | pw32*)
351 test "X$LIBS" != "X" && LIBS="$LIBS "
352 LIBS="${LIBS}-lwinmm" ;;
353*)
354 ;;
355esac
356fi
357])#
358
diff --git a/meta/recipes-support/lzo/lzo-2.03/autofoo.patch b/meta/recipes-support/lzo/lzo-2.03/autofoo.patch
new file mode 100644
index 0000000000..5762f4c6e2
--- /dev/null
+++ b/meta/recipes-support/lzo/lzo-2.03/autofoo.patch
@@ -0,0 +1,17 @@
1---
2 configure.ac | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5Index: lzo-2.02/configure.ac
6===================================================================
7--- lzo-2.02.orig/configure.ac 2007-08-08 15:28:14.000000000 +0100
8+++ lzo-2.02/configure.ac 2007-08-08 15:28:21.000000000 +0100
9@@ -47,7 +47,7 @@ AC_CANONICAL_TARGET
10 AM_MAINTAINER_MODE
11
12 if test -z "$ac_abs_top_srcdir"; then
13- _AC_SRCPATHS(.)
14+ _AC_SRCDIRS(.)
15 fi
16 if test -r .Conf.settings1; then
17 . ./.Conf.settings1
diff --git a/meta/recipes-support/lzo/lzo_2.03.bb b/meta/recipes-support/lzo/lzo_2.03.bb
new file mode 100644
index 0000000000..9657d97e59
--- /dev/null
+++ b/meta/recipes-support/lzo/lzo_2.03.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "Lossless data compression library"
2HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/"
3SECTION = "libs"
4PRIORITY = "optional"
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=8cad52263e636e25377bc18420118101 \
7 file://src/lzo_init.c;beginline=5;endline=33;md5=094776237523b2e93124cf09b9c76aef"
8PR = "r0"
9
10SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \
11 file://autofoo.patch \
12 file://acinclude.m4"
13
14inherit autotools
15
16EXTRA_OECONF = "--enable-shared"
17
18do_configure_prepend () {
19 cp ${WORKDIR}/acinclude.m4 ${S}/
20}
21
22BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/mpfr/mpfr.inc b/meta/recipes-support/mpfr/mpfr.inc
new file mode 100644
index 0000000000..dbb859fe3e
--- /dev/null
+++ b/meta/recipes-support/mpfr/mpfr.inc
@@ -0,0 +1,6 @@
1DESCRIPTION = "A C library for multiple-precision floating-point computations with exact rounding"
2HOMEPAGE = "http://www.mpfr.org/"
3LICENSE = "LGPLv3+"
4SECTION = "devel"
5
6inherit autotools
diff --git a/meta/recipes-support/mpfr/mpfr_3.0.0.bb b/meta/recipes-support/mpfr/mpfr_3.0.0.bb
new file mode 100644
index 0000000000..188a5d95cd
--- /dev/null
+++ b/meta/recipes-support/mpfr/mpfr_3.0.0.bb
@@ -0,0 +1,9 @@
1require mpfr.inc
2
3DEPENDS = "gmp"
4PR = "r0"
5
6SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.bz2"
7S = "${WORKDIR}/mpfr-${PV}"
8
9BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/neon/neon-0.29.3/pkgconfig.patch b/meta/recipes-support/neon/neon-0.29.3/pkgconfig.patch
new file mode 100644
index 0000000000..6256d9ab2b
--- /dev/null
+++ b/meta/recipes-support/neon/neon-0.29.3/pkgconfig.patch
@@ -0,0 +1,16 @@
1---
2 neon.pc.in | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5--- neon-0.28.1.orig/neon.pc.in
6+++ neon-0.28.1/neon.pc.in
7@@ -4,8 +4,8 @@ libdir=@libdir@
8 includedir=@includedir@
9
10 Name: neon
11 Description: HTTP/WebDAV client library
12 Version: @NEON_VERSION@
13-Libs.private: @NEON_LIBS@
14+Libs.private: -L${libdir} -lz -lgcrypt -lgpg-error -lexpat -lgnutls
15 Libs: -L${libdir} -lneon @NEON_PC_LIBS@
16 Cflags: -I${includedir}/neon @NEON_CFLAGS@
diff --git a/meta/recipes-support/neon/neon_0.29.3.bb b/meta/recipes-support/neon/neon_0.29.3.bb
new file mode 100644
index 0000000000..bb18893f9e
--- /dev/null
+++ b/meta/recipes-support/neon/neon_0.29.3.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "neon is an HTTP and WebDAV client library, with a C interface."
2HOMEPAGE = "http://www.webdav.org/neon/"
3SECTION = "libs"
4LICENSE = "LGPLv2+"
5LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \
6 file://src/ne_utils.h;beginline=1;endline=20;md5=2caca609538eddaa6f6adf120a218037"
7DEPENDS = "zlib libxml2 expat time gnutls"
8
9PR = "r0"
10
11SRC_URI = "http://www.webdav.org/${PN}/${P}.tar.gz \
12 file://pkgconfig.patch;patch=1"
13
14inherit autotools binconfig lib_package pkgconfig
15
16EXTRA_OECONF = "--with-ssl=gnutls --with-libxml2 --with-expat --enable-shared"
diff --git a/meta/recipes-support/ohm/ohm/fix_configure.patch b/meta/recipes-support/ohm/ohm/fix_configure.patch
new file mode 100644
index 0000000000..e4b774e785
--- /dev/null
+++ b/meta/recipes-support/ohm/ohm/fix_configure.patch
@@ -0,0 +1,39 @@
1Index: git/configure.in
2===================================================================
3--- git.orig/configure.in 2007-12-19 13:43:52.000000000 +0000
4+++ git/configure.in 2008-03-06 23:59:57.000000000 +0000
5@@ -201,9 +201,6 @@
6 # Like AC_CHECK_HEADER, but it uses the already-computed -I directories.
7 AC_DEFUN(AC_CHECK_X_HEADER, [
8 ac_save_CPPFLAGS="$CPPFLAGS"
9- if test \! -z "$includedir" ; then
10- CPPFLAGS="$CPPFLAGS -I$includedir"
11- fi
12 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13 AC_CHECK_HEADER([$1],[$2],[$3],[$4])
14 CPPFLAGS="$ac_save_CPPFLAGS"])
15@@ -211,9 +208,6 @@
16 # Like AC_TRY_COMPILE, but it uses the already-computed -I directories.
17 AC_DEFUN(AC_TRY_X_COMPILE, [
18 ac_save_CPPFLAGS="$CPPFLAGS"
19- if test \! -z "$includedir" ; then
20- CPPFLAGS="$CPPFLAGS -I$includedir"
21- fi
22 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
23 AC_TRY_COMPILE([$1], [$2], [$3], [$4])
24 CPPFLAGS="$ac_save_CPPFLAGS"])
25@@ -224,14 +218,8 @@
26 ac_save_CPPFLAGS="$CPPFLAGS"
27 ac_save_LDFLAGS="$LDFLAGS"
28 # ac_save_LIBS="$LIBS"
29- if test \! -z "$includedir" ; then
30- CPPFLAGS="$CPPFLAGS -I$includedir"
31- fi
32 # note: $X_CFLAGS includes $x_includes
33 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
34- if test \! -z "$libdir" ; then
35- LDFLAGS="$LDFLAGS -L$libdir"
36- fi
37 # note: $X_LIBS includes $x_libraries
38 LDFLAGS="$LDFLAGS $ALL_X_LIBS"
39 AC_CHECK_LIB([$1], [$2], [$3], [$4], [$5])
diff --git a/meta/recipes-support/ohm/ohm_git.bb b/meta/recipes-support/ohm/ohm_git.bb
new file mode 100644
index 0000000000..2ba78b35ab
--- /dev/null
+++ b/meta/recipes-support/ohm/ohm_git.bb
@@ -0,0 +1,44 @@
1DESCRIPTION = "Open Hardware Manager"
2HOMEPAGE = "http://freedesktop.org/Software/ohm"
3LICENSE = "LGPL"
4
5DEPENDS = "gtk+ dbus-glib intltool-native hal"
6RDEPENDS_${PN} += "udev hal-info"
7SRC_URI = "git://anongit.freedesktop.org/git/ohm/;protocol=git \
8 file://fix_configure.patch;patch=1"
9
10PV = "0.1.2+git-locrev${SRCREV}"
11PR = "r1"
12
13S = "${WORKDIR}/git"
14
15inherit autotools pkgconfig
16
17EXTRA_OECONF = "--with-distro=debian \
18 --without-xauth \
19 --disable-gtk-doc \
20 --disable-docbook-docs"
21
22do_configure_prepend() {
23 touch gtk-doc.make
24}
25
26OE_LT_RPATH_ALLOW=":${libdir}/libohm:"
27OE_LT_RPATH_ALLOW[export]="1"
28
29PACKAGES =+ "libohm ohm-plugin-x11"
30
31FILES_${PN}-dev += "${libdir}/ohm/*.a"
32
33FILES_${PN} = "${sysconfdir} \
34 ${bindir}/* \
35 ${sbindir}/* \
36 ${libdir}/ohm/*.so \
37 "
38
39FILES_libohm = "${libdir}/libohm.so.*"
40FILES_ohm-plugin-x11 = "${libdir}/ohm/libohm_x*.so \
41 ${libdir}/ohm/libohm_idle.so \
42 ${sysconfdir}/ohm/plugins.d/x* \
43 ${sysconfdir}/ohm/plugins.d/idle* \
44 "
diff --git a/meta/recipes-support/openobex/files/disable-cable-test.patch b/meta/recipes-support/openobex/files/disable-cable-test.patch
new file mode 100644
index 0000000000..95b636dd8f
--- /dev/null
+++ b/meta/recipes-support/openobex/files/disable-cable-test.patch
@@ -0,0 +1,16 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- openobex-1.2/apps/Makefile.am~disable-cable-test
7+++ openobex-1.2/apps/Makefile.am
8@@ -6,7 +6,7 @@
9 obex_io.c obex_io.h \
10 obex_put_common.c obex_put_common.h
11
12-bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test
13+bin_PROGRAMS = irxfer obex_tcp irobex_palm3
14
15 obex_test_SOURCES = \
16 obex_test.c obex_test.h \
diff --git a/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch b/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch
new file mode 100644
index 0000000000..20ac70bd1e
--- /dev/null
+++ b/meta/recipes-support/openobex/files/libusb_crosscompile_check.patch
@@ -0,0 +1,13 @@
1Index: openobex-1.5/acinclude.m4
2===================================================================
3--- openobex-1.5.orig/acinclude.m4 2009-02-08 18:30:22.000000000 +0000
4+++ openobex-1.5/acinclude.m4 2009-07-31 09:55:46.000000000 +0100
5@@ -158,7 +158,7 @@
6 ;;
7 *)
8 PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, AC_MSG_RESULT(no))
9- AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, REQUIRES="libusb")
10+ REQUIRES="libusb"
11 ;;
12 esac
13 AC_SUBST(USB_CFLAGS)
diff --git a/meta/recipes-support/openobex/openobex_1.5.bb b/meta/recipes-support/openobex/openobex_1.5.bb
new file mode 100644
index 0000000000..dc07ae1353
--- /dev/null
+++ b/meta/recipes-support/openobex/openobex_1.5.bb
@@ -0,0 +1,23 @@
1DESCRIPTION = "The Openobex project is an open source implementation of the \
2Object Exchange (OBEX) protocol."
3HOMEPAGE = "http://openobex.triq.net"
4SECTION = "libs"
5PROVIDES = "openobex-apps"
6DEPENDS = "libusb bluez4"
7LICENSE = "GPL"
8PR = "r4"
9
10SRC_URI = "${KERNELORG_MIRROR}/pub/linux/bluetooth/openobex-${PV}.tar.gz \
11 file://disable-cable-test.patch;patch=1 \
12 file://libusb_crosscompile_check.patch;patch=1"
13
14inherit autotools binconfig pkgconfig
15
16EXTRA_OECONF = "--enable-apps --enable-syslog --enable-dump \
17 --with-usb=${STAGING_LIBDIR}/.. --with-bluez=${STAGING_LIBDIR}/.."
18
19# how to stop shlibrename from renaming -apps?
20PACKAGES += "openobex-apps"
21FILES_${PN} = "${libdir}/lib*.so.*"
22FILES_${PN}-dev += "${bindir}/openobex-config"
23FILES_${PN}-apps = "${bindir}/*"
diff --git a/meta/recipes-support/popt/popt_1.16.bb b/meta/recipes-support/popt/popt_1.16.bb
new file mode 100644
index 0000000000..347c0fc4a4
--- /dev/null
+++ b/meta/recipes-support/popt/popt_1.16.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "The popt library for parsing command line options."
2HOMEPAGE = "http://rpm5.org/"
3SECTION = "libs"
4DEPENDS = "gettext"
5
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://COPYING;md5=cb0613c30af2a8249b8dcc67d3edb06d"
8PR = "r0"
9
10SRC_URI = "http://rpm5.org/files/popt/popt-${PV}.tar.gz"
11
12inherit autotools
13
14BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/pth/pth_2.0.7.bb b/meta/recipes-support/pth/pth_2.0.7.bb
new file mode 100644
index 0000000000..8ee3cd4cd1
--- /dev/null
+++ b/meta/recipes-support/pth/pth_2.0.7.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "GNU Portable Threads"
2HOMEPAGE = "http://www.gnu.org/software/pth/"
3SECTION = "libs"
4PRIORITY = "optional"
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;beginline=12;endline=15;md5=a48af114a80c222cafd37f24370a77b1"
7PR = "r1"
8
9SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz"
10
11PARALLEL_MAKE=""
12
13inherit autotools binconfig
14
15do_configure() {
16 gnu-configize
17 oe_runconf
18}
19
20FILES_${PN} = "${libdir}/libpth.so.*"
21FILES_${PN}-dev += "${bindir}/pth-config"
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
new file mode 100644
index 0000000000..c2e5487019
--- /dev/null
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
@@ -0,0 +1,28 @@
1DESCRIPTION = "shared MIME database and spec"
2HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info"
3SECTION = "base"
4
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
7
8DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native"
9DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native"
10PR = "r0"
11
12SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2"
13
14inherit autotools pkgconfig gettext
15
16EXTRA_OECONF = "--disable-update-mimedb"
17
18FILES_${PN} += "${datadir}/mime"
19FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc"
20
21do_install_append() {
22 update-mime-database ${D}${datadir}/mime
23
24 # we do not need it on device and it is huge
25 rm ${D}${datadir}/mime/packages/freedesktop.org.xml
26}
27
28BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info_0.71.bb b/meta/recipes-support/shared-mime-info/shared-mime-info_0.71.bb
new file mode 100644
index 0000000000..fc64c2b0e0
--- /dev/null
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info_0.71.bb
@@ -0,0 +1 @@
require shared-mime-info.inc
diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc
new file mode 100644
index 0000000000..709e3016b8
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3.inc
@@ -0,0 +1,33 @@
1DESCRIPTION = "An Embeddable SQL Database Engine"
2HOMEPAGE = "http://www.sqlite.org"
3SECTION = "libs"
4PRIORITY = "optional"
5DEPENDS = "readline ncurses tcl-native"
6LICENSE = "PD"
7
8SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \
9 file://libtool.patch"
10
11S = "${WORKDIR}/sqlite-${PV}"
12
13inherit autotools pkgconfig
14
15EXTRA_OECONF = "--disable-tcl --enable-shared \
16 --enable-threadsafe"
17export config_BUILD_CC = "${BUILD_CC}"
18export config_BUILD_CFLAGS = "${BUILD_CFLAGS}"
19export config_BUILD_LIBS = "${BUILD_LDFLAGS}"
20export config_TARGET_CC = "${CC}"
21export config_TARGET_LINK = "${CCLD}"
22export config_TARGET_CFLAGS = "${CFLAGS}"
23export config_TARGET_LFLAGS = "${LDFLAGS}"
24
25PACKAGES = "lib${PN} lib${PN}-dev lib${PN}-doc ${PN} ${PN}-dbg"
26FILES_${PN} = "${bindir}/*"
27FILES_lib${PN} = "${libdir}/*.so.*"
28FILES_lib${PN}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \
29 ${libdir}/pkgconfig ${includedir}"
30FILES_lib${PN}-doc = "${docdir} ${mandir} ${infodir}"
31AUTO_LIBNAME_PKGS = "lib${PN}"
32
33BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/sqlite/sqlite3/libtool.patch b/meta/recipes-support/sqlite/sqlite3/libtool.patch
new file mode 100644
index 0000000000..ccf9993ed2
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3/libtool.patch
@@ -0,0 +1,25 @@
1Index: sqlite-3.2.1/Makefile.in
2===================================================================
3--- sqlite-3.2.1.orig/Makefile.in 2005-03-23 17:09:39.000000000 +0100
4+++ sqlite-3.2.1/Makefile.in 2005-04-25 23:11:20.000000000 +0200
5@@ -15,7 +15,10 @@
6 # The toplevel directory of the source tree. This is the directory
7 # that contains this "Makefile.in" and the "configure.in" script.
8 #
9-TOP = @srcdir@
10+TOP = $(srcdir)
11+srcdir = @srcdir@
12+top_srcdir = @top_srcdir@
13+top_builddir = .
14
15 # C Compiler and options for use in building executables that
16 # will run on the platform that is doing the build.
17@@ -96,7 +99,7 @@
18 exec_prefix = @exec_prefix@
19 libdir = @libdir@
20 INSTALL = @INSTALL@
21-LIBTOOL = ./libtool
22+LIBTOOL = @LIBTOOL@
23 ALLOWRELEASE = @ALLOWRELEASE@
24
25 # libtool compile/link/install
diff --git a/meta/recipes-support/sqlite/sqlite3_3.6.23.1.bb b/meta/recipes-support/sqlite/sqlite3_3.6.23.1.bb
new file mode 100644
index 0000000000..5075dd35b7
--- /dev/null
+++ b/meta/recipes-support/sqlite/sqlite3_3.6.23.1.bb
@@ -0,0 +1,3 @@
1require sqlite3.inc
2
3PR = "r1"
diff --git a/meta/recipes-support/vte/vte.inc b/meta/recipes-support/vte/vte.inc
new file mode 100644
index 0000000000..6138f8ca01
--- /dev/null
+++ b/meta/recipes-support/vte/vte.inc
@@ -0,0 +1,14 @@
1DESCRIPTION = "vte is a virtual terminal emulator"
2BUGTRACKER = "https://bugzilla.gnome.org/buglist.cgi?product=vte"
3LICENSE = "LGPLv2.1+"
4DEPENDS = " glib-2.0 gtk+ intltool-native ncurses"
5RDEPENDS_libvte = "vte-termcap"
6
7inherit gnome
8
9EXTRA_OECONF = "--disable-gtk-doc --disable-python"
10
11PACKAGES =+ "libvte vte-termcap"
12FILES_libvte = "${libdir}/*.so.* ${libexecdir}/gnome-pty-helper"
13FILES_vte-dbg =+ ${libexecdir}/.debug"
14FILES_vte-termcap = "${datadir}/vte/termcap"
diff --git a/meta/recipes-support/vte/vte_0.24.3.bb b/meta/recipes-support/vte/vte_0.24.3.bb
new file mode 100644
index 0000000000..1953101f82
--- /dev/null
+++ b/meta/recipes-support/vte/vte_0.24.3.bb
@@ -0,0 +1,5 @@
1require vte.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
4
5PR = "r0"