diff options
author | Koen Kooi <koen@openembedded.org> | 2009-07-28 11:32:08 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-07-28 11:32:08 +0200 |
commit | 19862d4b2f0b03fcb800e41cb2279266a29262a2 (patch) | |
tree | bd125f1bcc5862173c0e32aec0184c8a9add0228 | |
parent | 1d5ab38e312a724337e438098cd8ec960f1758d8 (diff) | |
parent | 0945dd486a086197190808d5755ddf8dc877141e (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded into org.openembedded.dev
-rw-r--r-- | classes/oestats-client.bbclass | 7 | ||||
-rw-r--r-- | conf/distro/angstrom-2008.1.conf | 1 | ||||
-rw-r--r-- | recipes/e2fsprogs-libs/e2fsprogs-libs.inc | 2 | ||||
-rw-r--r-- | recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.2.bb | 2 | ||||
-rw-r--r-- | recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb | 2 | ||||
-rw-r--r-- | recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.8.bb | 2 | ||||
-rw-r--r-- | recipes/xorg-lib/libx11-trim/makekeys-update.patch | 87 | ||||
-rw-r--r-- | recipes/xorg-lib/libx11-trim_1.1.5.bb | 3 |
8 files changed, 97 insertions, 9 deletions
diff --git a/classes/oestats-client.bbclass b/classes/oestats-client.bbclass index e6b8485385..e4e6206ac4 100644 --- a/classes/oestats-client.bbclass +++ b/classes/oestats-client.bbclass @@ -50,7 +50,12 @@ def oestats_send(d, server, action, vars = {}, files = {}): "Content-type": "multipart/form-data; boundary=%s" % bound, "Content-length": str(len(body))} - # send request using urllib2, proxies should be auto-detected + proxy = bb.data.getVar('HTTP_PROXY', d, True ) + if (proxy): + phl = urllib2.ProxyHandler({'http' : proxy}) + opener = urllib2.build_opener(phl) + urllib2.install_opener(opener) + actionURL = "%s%s" %(server, action) req = urllib2.Request(actionURL, body, headers); response = urllib2.urlopen(req) diff --git a/conf/distro/angstrom-2008.1.conf b/conf/distro/angstrom-2008.1.conf index 4a2e750ef4..d5e09af068 100644 --- a/conf/distro/angstrom-2008.1.conf +++ b/conf/distro/angstrom-2008.1.conf @@ -155,6 +155,7 @@ PREFERRED_PROVIDER_tslib-conf ?= "tslib" PREFERRED_PROVIDER_libgpewidget ?= "libgpewidget" PREFERRED_PROVIDER_ntp ?= "ntp" PREFERRED_PROVIDER_hotplug = "udev" +PREFERRED_PROVIDER_opkg ?= "opkg-nogpg" PREFERRED_PROVIDER_libxss = "libxss" PREFERRED_PROVIDER_bluez-utils-dbus = "bluez-utils" PREFERRED_PROVIDER_bluez-libs = "bluez4" diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc index 517771c11b..45618b008c 100644 --- a/recipes/e2fsprogs-libs/e2fsprogs-libs.inc +++ b/recipes/e2fsprogs-libs/e2fsprogs-libs.inc @@ -4,7 +4,7 @@ SECTION = "base" PRIORITY = "optional" DEPENDS = "util-linux-ng" -inherit autotools_stage pkgconfig +inherit autotools_stage gettext pkgconfig SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ file://configure.patch;patch=1 \ diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.2.bb b/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.2.bb index 53afbaabe7..bca87ced96 100644 --- a/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.2.bb +++ b/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.2.bb @@ -6,8 +6,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ file://mkinstalldirs.patch;patch=1 \ " -DEPENDS = "gettext-native" - EXTRA_OECONF += " --enable-elf-shlibs " do_compile_prepend () { diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb b/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb index 47e543c238..999456550b 100644 --- a/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb +++ b/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb @@ -4,8 +4,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ file://mkinstalldirs.patch;patch=1 \ " -DEPENDS += "gettext-native" - EXTRA_OECONF += " --enable-elf-shlibs " do_compile_prepend () { diff --git a/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.8.bb b/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.8.bb index f9a67af2f7..1eca5f35f0 100644 --- a/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.8.bb +++ b/recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.8.bb @@ -2,8 +2,6 @@ require e2fsprogs-libs.inc SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ " -DEPENDS += "gettext-native" - EXTRA_OECONF += " --enable-elf-shlibs " do_configure() { diff --git a/recipes/xorg-lib/libx11-trim/makekeys-update.patch b/recipes/xorg-lib/libx11-trim/makekeys-update.patch new file mode 100644 index 0000000000..323dbbbbbd --- /dev/null +++ b/recipes/xorg-lib/libx11-trim/makekeys-update.patch @@ -0,0 +1,87 @@ +From f8613deafdc7c6f3be49c3448e011426bcfdf78e Mon Sep 17 00:00:00 2001 +From: Holger Hans Peter Freyther <zecke@selfish.org> +Date: Tue, 28 Jul 2009 03:20:20 +0200 +Subject: [PATCH] makekeys.c: Replace with the latest version to fix a segfault + +Fix a crash.. +--- + src/util/makekeys.c | 28 +++++++++++++++++----------- + 1 files changed, 17 insertions(+), 11 deletions(-) + +diff --git a/src/util/makekeys.c b/src/util/makekeys.c +index 214ea5c..3fe8a96 100644 +--- a/src/util/makekeys.c ++++ b/src/util/makekeys.c +@@ -36,13 +36,10 @@ from The Open Group. + #include <X11/keysymdef.h> + #include <stdio.h> + #include <stdlib.h> +-#if defined(macII) && !defined(__STDC__) /* stdlib.h fails to define these */ +-char *malloc(); +-#endif /* macII */ + + typedef unsigned long Signature; + +-#define KTNUM 3000 ++#define KTNUM 4000 + + static struct info { + char *name; +@@ -52,11 +49,11 @@ static struct info { + #define MIN_REHASH 15 + #define MATCHES 10 + +-char tab[KTNUM]; +-unsigned short offsets[KTNUM]; +-unsigned short indexes[KTNUM]; +-KeySym values[KTNUM]; +-char buf[1024]; ++static char tab[KTNUM]; ++static unsigned short offsets[KTNUM]; ++static unsigned short indexes[KTNUM]; ++static KeySym values[KTNUM]; ++static char buf[1024]; + + int + main(int argc, char *argv[]) +@@ -103,12 +100,11 @@ main(int argc, char *argv[]) + key); + continue; + } +- name = malloc((unsigned)strlen(key)+1); ++ name = strdup(key); + if (!name) { + fprintf(stderr, "makekeys: out of memory!\n"); + exit(1); + } +- (void)strcpy(name, key); + info[ksnum].name = name; + ksnum++; + if (ksnum == KTNUM) { +@@ -157,6 +153,11 @@ next1: ; + } + + z = best_z; ++ if (z == 0) { ++ fprintf(stderr, "makekeys: failed to find small enough hash!\n" ++ "Try increasing KTNUM in makekeys.c\n"); ++ exit(1); ++ } + printf("#ifdef NEEDKTABLE\n"); + printf("const unsigned char _XkeyTable[] = {\n"); + printf("0,\n"); +@@ -237,6 +238,11 @@ next2: ; + } + + z = best_z; ++ if (z == 0) { ++ fprintf(stderr, "makekeys: failed to find small enough hash!\n" ++ "Try increasing KTNUM in makekeys.c\n"); ++ exit(1); ++ } + for (i = z; --i >= 0;) + offsets[i] = 0; + for (i = 0; i < ksnum; i++) { +-- +1.6.3.3 + diff --git a/recipes/xorg-lib/libx11-trim_1.1.5.bb b/recipes/xorg-lib/libx11-trim_1.1.5.bb index e99b2a07b0..9d08d25d81 100644 --- a/recipes/xorg-lib/libx11-trim_1.1.5.bb +++ b/recipes/xorg-lib/libx11-trim_1.1.5.bb @@ -14,7 +14,8 @@ PR = "r1" XORG_PN = "libX11" LEAD_SONAME = "libX11.so" -SRC_URI += "file://include_fix.patch;patch=1" +SRC_URI += "file://include_fix.patch;patch=1 \ + file://makekeys-update.patch;patch=1" EXTRA_OECONF += "--with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.h" #EXTRA_OECONF += "--disable-xlocale --disable-xcms --with-xcb" |