summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/checksums.ini14
-rw-r--r--packages/cacao/cacao-native_0.98+hg20071001.bb9
-rw-r--r--packages/cacao/cacao.inc27
-rw-r--r--packages/cacao/cacao_0.98+hg20071001.bb21
-rw-r--r--packages/cacao/cacao_0.98+hg20080519.bb12
-rw-r--r--packages/cacao/cacao_0.99.3.bb4
-rw-r--r--packages/cacao/cacaoh-native.inc3
-rw-r--r--packages/cacao/cacaoh-native_0.98+hg20071001.bb7
-rw-r--r--packages/cacao/cacaoh-native_0.98+hg20080519.bb9
-rw-r--r--packages/cacao/cacaoh-native_0.99.3.bb2
-rw-r--r--packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch18
-rw-r--r--packages/cacao/files/cacao-0.98+hg-arm-cacheflush-workaround.patch50
-rw-r--r--packages/cacao/files/cacao-0.98+hg-attachthread.patch89
-rw-r--r--packages/cacao/files/cacao-0.98+hg20080519-build-java-runtime-library-classes.patch53
-rw-r--r--packages/dbus/dbus-1.0.3/0001-Make-the-default-DBus-reply-timeout-configurable.patch78
-rw-r--r--packages/dbus/dbus-1.0.3/sanitize-reply-timeout.patch16
-rw-r--r--packages/dbus/dbus-1.2.1/0001-Make-the-default-DBus-reply-timeout-configurable.patch78
-rw-r--r--packages/dbus/dbus-1.2.1/sanitize-reply-timeout.patch16
-rw-r--r--packages/dbus/dbus.inc3
-rw-r--r--packages/dbus/dbus_1.0.3.bb2
-rw-r--r--packages/dbus/dbus_1.2.1.bb2
21 files changed, 172 insertions, 341 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 394d8af91e..99bc7bae3b 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -1790,21 +1790,13 @@ sha256=f7bf5368309d76e5daf3a89d4d1bea688dac7780742e7a0ae1af19be9316fe22
md5=badb4563a02d4188b478df31fa1b657d
sha256=5c4594f71eab62e24d12c67ae6a6aead306c537cf71e946c4e9fbebbe9786243
-[http://jalimo.evolvis.org/repository/sources/cacao-0.98+hg20071001.tar.bz2]
-md5=9ff10c929bd0cbf15909107c1aff7518
-sha256=fdfdbdfdebefb89af560297796d4861ef4fc939e9dbe8500750909dea8662bee
-
[http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-0.98/cacao-0.98.tar.bz2]
md5=8b8907c8b925761c9410bcadb9705346
sha256=cb9363add825cedf77764fc49a223aaf43f0a9f485b711ba8c92f16b13fff188
-[http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-0.99.1/cacao-0.99.1.tar.bz2]
-md5=a5641452c7ba173060c99ed700950b3d
-sha256=c3b078efa6a417b5dff677497de0ae6ab9f66bb56c6490dcc96f43c082e69e07
-
-[http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-0.99.2/cacao-0.99.2.tar.bz2]
-md5=912e353a26c88ba5f5f59ebb9f688e2f
-sha256=670cd8fccb0749e657ebe72fa01e1b2dfbce3d811fe617136ccb8a39fc0bd5da
+[http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-0.99.3/cacao-0.99.3.tar.bz2]
+md5=db93ab31c6d1b7f1e213771bb81bde58
+sha256=1ea5bd257f755ffcae2c7a1935c37147c7392478922410e0870361eea08b6c27
[http://cairographics.org/releases/cairo-1.2.2.tar.gz]
md5=2460487b1257a5583c889b1b9d2033ec
diff --git a/packages/cacao/cacao-native_0.98+hg20071001.bb b/packages/cacao/cacao-native_0.98+hg20071001.bb
deleted file mode 100644
index 99fd991c1e..0000000000
--- a/packages/cacao/cacao-native_0.98+hg20071001.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require cacao-native.inc
-
-PR = "r1"
-
-SRC_URI = "http://jalimo.evolvis.org/repository/sources/cacao-${PV}.tar.bz2;md5sum=9ff10c929bd0cbf15909107c1aff7518"
-
-# force usage of ecj-initial (but Java5-compatible class library)
-export JAVAC = "${STAGING_BINDIR_NATIVE}/ecj-initial -bootclasspath ${STAGING_DATADIR_NATIVE}/classpath/glibj.zip"
-
diff --git a/packages/cacao/cacao.inc b/packages/cacao/cacao.inc
index 1c7941e4f6..9c10ee155a 100644
--- a/packages/cacao/cacao.inc
+++ b/packages/cacao/cacao.inc
@@ -14,31 +14,18 @@ RPROVIDES_cacao = "java2-runtime"
inherit java autotools update-alternatives
-# Old and new options do not interfere.
+# Configure options compatible with Cacao >= 0.99 only!
EXTRA_OECONF = "\
${@['','--enable-softfloat'][bb.data.getVar('TARGET_FPU',d,1) == 'soft']} \
--enable-debug \
+ --enable-disassembler \
--with-vm-zip=${datadir}/cacao/vm.zip \
--with-cacaoh=${STAGING_BINDIR_NATIVE}/cacaoh-${PV} \
- ${OLD_CACAO_OECONF} \
- ${NEW_CACAO_OECONF} \
- "
-
-# Options needed for Cacao < 0.99 (including hg snapshots)
-OLD_CACAO_OECONF = "\
- --with-classpath-includedir=${STAGING_INCDIR}/classpath \
- --with-classpath-classes=${STAGING_DATADIR}/classpath/glibj.zip \
- --with-target-classpath-classes=${datadir}/classpath/glibj.zip \
- --with-classpath-libdir=${libdir_jni}:${libdir} \
- "
-
-# Options needed for Cacao >= 0.99
-NEW_CACAO_OECONF = "\
- --with-build-java-runtime-library-classes=${STAGING_DATADIR}/classpath/glibj.zip \
- --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \
- --with-java-runtime-library-libdir=${libdir_jni}:${libdir} \
- --with-jni_md_h=${STAGING_INCDIR}/classpath \
- --with-jni_h=${STAGING_INCDIR}/classpath \
+ --with-build-java-runtime-library-classes=${STAGING_DATADIR}/classpath/glibj.zip \
+ --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \
+ --with-java-runtime-library-libdir=${libdir_jni}:${libdir} \
+ --with-jni_md_h=${STAGING_INCDIR}/classpath \
+ --with-jni_h=${STAGING_INCDIR}/classpath \
"
PACKAGES = "${PN} ${PN}-doc ${PN}-dbg"
diff --git a/packages/cacao/cacao_0.98+hg20071001.bb b/packages/cacao/cacao_0.98+hg20071001.bb
deleted file mode 100644
index b8339a133e..0000000000
--- a/packages/cacao/cacao_0.98+hg20071001.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-require cacao.inc
-
-PR = "r11"
-
-SRC_URI = "\
- http://jalimo.evolvis.org/repository/sources/cacao-${PV}.tar.bz2;md5sum=9ff10c929bd0cbf15909107c1aff7518 \
- file://cacao-0.98+svn-classpath_var.patch;patch=1 \
- file://cacao-0.98+hg-arm-cacheflush-fix.patch;patch=1 \
- file://cacao-0.98+hg-attachthread.patch;patch=1 \
- "
-
-EXTRA_OECONF += "\
- --enable-annotations \
- "
-
-# Quirks for Nokia N800:
-# - with mfloat-abi=softfp the runtime fails to run anything
-# - without --enable-softfloat it cannot find files within Jars
-TARGET_CC_ARCH_nokia800 = "-march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=soft"
-
-EXTRA_OECONF_append_nokia800 = "--enable-softfloat"
diff --git a/packages/cacao/cacao_0.98+hg20080519.bb b/packages/cacao/cacao_0.98+hg20080519.bb
deleted file mode 100644
index 2c0a18fd05..0000000000
--- a/packages/cacao/cacao_0.98+hg20080519.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-require cacao.inc
-
-PR = "r3"
-
-SRC_URI = "\
- http://downloads.openmoko.org/sources/cacao-0.98+hg20080519.tar.gz;md5sum=1c6e0530be63ec8a4c0ab2935c2fdc8f \
- file://cacao-${PV}-build-java-runtime-library-classes.patch;patch=1 \
- "
-
-S = "${WORKDIR}/cacao"
-
-DEFAULT_PREFERENCE = "-1"
diff --git a/packages/cacao/cacao_0.99.3.bb b/packages/cacao/cacao_0.99.3.bb
index 63e7227497..2823a9be31 100644
--- a/packages/cacao/cacao_0.99.3.bb
+++ b/packages/cacao/cacao_0.99.3.bb
@@ -1,6 +1,6 @@
require cacao.inc
-PR = "r3"
+PR = "r4"
SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2 \
file://cacao-codegen-arm1.patch;patch=1 \
@@ -8,5 +8,3 @@ SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-
file://cacao-arm-race.patch;patch=1 \
file://vfp-compat.patch;patch=1 \
"
-
-EXTRA_OECONF += "--enable-disassembler"
diff --git a/packages/cacao/cacaoh-native.inc b/packages/cacao/cacaoh-native.inc
index 3dfc7b1b98..a44c5035c6 100644
--- a/packages/cacao/cacaoh-native.inc
+++ b/packages/cacao/cacaoh-native.inc
@@ -9,9 +9,6 @@ S = "${WORKDIR}/cacao-${PV}"
inherit autotools native
EXTRA_OECONF = " \
- --with-classpath-includedir=${STAGING_INCDIR}/classpath \
- --with-classpath-classes=${STAGING_DATADIR}/classpath/glibj.zip \
- \
--with-java-runtime-library-classes=${STAGING_DATADIR}/classpath/glibj.zip \
--with-jni_md_h=${STAGING_INCDIR}/classpath \
--with-jni_h=${STAGING_INCDIR}/classpath \
diff --git a/packages/cacao/cacaoh-native_0.98+hg20071001.bb b/packages/cacao/cacaoh-native_0.98+hg20071001.bb
deleted file mode 100644
index 75f5a306f4..0000000000
--- a/packages/cacao/cacaoh-native_0.98+hg20071001.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require cacaoh-native.inc
-
-PR = "r1"
-
-SRC_URI = "http://jalimo.evolvis.org/repository/sources/cacao-${PV}.tar.bz2;md5sum=9ff10c929bd0cbf15909107c1aff7518"
-
-
diff --git a/packages/cacao/cacaoh-native_0.98+hg20080519.bb b/packages/cacao/cacaoh-native_0.98+hg20080519.bb
deleted file mode 100644
index 7b930c4640..0000000000
--- a/packages/cacao/cacaoh-native_0.98+hg20080519.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require cacaoh-native.inc
-
-PR = "r1"
-
-SRC_URI = "http://downloads.openmoko.org/sources/cacao-0.98+hg20080519.tar.gz;md5sum=1c6e0530be63ec8a4c0ab2935c2fdc8f"
-
-S = "${WORKDIR}/cacao"
-
-DEFAULT_PREFERENCE = "-1"
diff --git a/packages/cacao/cacaoh-native_0.99.3.bb b/packages/cacao/cacaoh-native_0.99.3.bb
index d2d833dff3..a7f59baa7b 100644
--- a/packages/cacao/cacaoh-native_0.99.3.bb
+++ b/packages/cacao/cacaoh-native_0.99.3.bb
@@ -1,5 +1,5 @@
require cacaoh-native.inc
-PR = "r0"
+PR = "r1"
SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2"
diff --git a/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch b/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch
deleted file mode 100644
index 4e63f501ff..0000000000
--- a/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -r df1b780317c3 src/vm/jit/arm/asmpart.S
---- a/src/vm/jit/arm/asmpart.S Thu Jan 17 01:01:35 2008 +0100
-+++ b/src/vm/jit/arm/asmpart.S Mon Jan 21 00:14:41 2008 +0100
-@@ -323,10 +323,11 @@ asm_cacheflush:
- mov a1, #0xff000000
- #endif
-
-+#if defined(__ARM_EABI__)
-+ swi 0x0
-+ ldmfd sp!, {r7}
-+#else
- swi sys_cacheflush
--
--#if defined(__ARM_EABI__)
-- ldmfd sp!, {r7}
- #endif
-
- mov pc, lr
diff --git a/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-workaround.patch b/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-workaround.patch
deleted file mode 100644
index 813cb683f6..0000000000
--- a/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-workaround.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-Index: cacao-0.98+hg7750/src/vm/jit/arm/asmpart.S
-===================================================================
---- cacao-0.98+hg7750.orig/src/vm/jit/arm/asmpart.S 2007-11-28 10:14:51.000000000 +0100
-+++ cacao-0.98+hg7750/src/vm/jit/arm/asmpart.S 2007-11-28 10:15:31.000000000 +0100
-@@ -302,35 +302,21 @@
- * *
- *******************************************************************************/
-
--.equ sys_cacheflush,__ARM_NR_cacheflush /* syscall number for cache flushing */
--
-+.equ sys_cacheflush, 0x9f0002
- asm_cacheflush:
-- add a1, a0, a1
-- mov a2, #0
--
--#if defined(__ARM_EABI__)
-- /* According to EABI, the syscall number should be passed via R7,
-- see "http://wiki.debian.org/ArmEabiPort" for additional details. */
--
-- stmfd sp!, {r7}
-- mov r7, #0x0f0000
-- add r7, r7, #0x000002
--#endif
-+ add a1, a0, a1
-+ mov a2, #0
-
- #if 0
-- /* TWISTI: required on iyonix, maybe a linux-2.4 bug */
-- mov a0, #0x0
-- mov a1, #0xff000000
-+ /* TWISTI: required on iyonix, maybe a linux-2.4 bug */
-+ /* TODO: repeair this! */
-+ /* cacheflush is messed up beyond all repair! */
-+ mov a0, #0x0
-+ mov a1, #0xff000000
- #endif
-
-- swi sys_cacheflush
--
--#if defined(__ARM_EABI__)
-- ldmfd sp!, {r7}
--#endif
--
-- mov pc, lr
--
-+ swi #sys_cacheflush
-+ mov pc, lr
-
- /* disable exec-stacks ********************************************************/
-
diff --git a/packages/cacao/files/cacao-0.98+hg-attachthread.patch b/packages/cacao/files/cacao-0.98+hg-attachthread.patch
deleted file mode 100644
index cda01bcfb2..0000000000
--- a/packages/cacao/files/cacao-0.98+hg-attachthread.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-# Makes the JNI function AttachCurrentThread work properly.
-
-Index: cacao-0.98+hg20071001/src/mm/boehm-gc/include/gc.h
-===================================================================
---- cacao-0.98+hg20071001.orig/src/mm/boehm-gc/include/gc.h 2008-01-15 14:45:41.000000000 +0100
-+++ cacao-0.98+hg20071001/src/mm/boehm-gc/include/gc.h 2008-01-15 14:46:30.000000000 +0100
-@@ -905,6 +905,8 @@
- /* in returned list. */
- extern void GC_thr_init GC_PROTO((void));/* Needed for Solaris/X86 */
-
-+extern void GC_thr_init_foreign GC_PROTO((void));/* Needed for Solaris/X86 */
-+
- #endif /* THREADS && !SRC_M3 */
-
- #if defined(GC_WIN32_THREADS) && !defined(__CYGWIN32__) && !defined(__CYGWIN__)
-Index: cacao-0.98+hg20071001/src/mm/boehm-gc/pthread_support.c
-===================================================================
---- cacao-0.98+hg20071001.orig/src/mm/boehm-gc/pthread_support.c 2008-01-15 14:45:41.000000000 +0100
-+++ cacao-0.98+hg20071001/src/mm/boehm-gc/pthread_support.c 2008-01-15 14:46:30.000000000 +0100
-@@ -864,6 +864,27 @@
- }
- #endif /* GC_NETBSD_THREADS */
-
-+void GC_thr_init_foreign()
-+{
-+# ifndef GC_DARWIN_THREADS
-+ int dummy;
-+# endif
-+ GC_thread t;
-+ LOCK();
-+
-+ /* Add the initial thread, so we can stop it. */
-+ t = GC_new_thread(pthread_self());
-+# ifdef GC_DARWIN_THREADS
-+ t -> stop_info.mach_thread = mach_thread_self();
-+# else
-+ t -> stop_info.stack_ptr = (ptr_t)(&dummy);
-+# endif
-+ t -> flags = DETACHED;
-+
-+ UNLOCK();
-+
-+}
-+
- /* We hold the allocation lock. */
- void GC_thr_init()
- {
-Index: cacao-0.98+hg20071001/src/mm/boehm.c
-===================================================================
---- cacao-0.98+hg20071001.orig/src/mm/boehm.c 2008-01-15 14:45:41.000000000 +0100
-+++ cacao-0.98+hg20071001/src/mm/boehm.c 2008-01-15 14:46:30.000000000 +0100
-@@ -108,6 +108,10 @@
- GC_expand_hp(heapstartsize - heapcurrentsize);
- }
-
-+void gc_init_foreign()
-+{
-+ GC_thr_init_foreign();
-+}
-
- static void gc_ignore_warnings(char *msg, GC_word arg)
- {
-Index: cacao-0.98+hg20071001/src/mm/gc-common.h
-===================================================================
---- cacao-0.98+hg20071001.orig/src/mm/gc-common.h 2008-01-15 14:45:41.000000000 +0100
-+++ cacao-0.98+hg20071001/src/mm/gc-common.h 2008-01-15 14:46:30.000000000 +0100
-@@ -74,6 +74,7 @@
- void gc_finalize_all(void);
- void *gc_out_of_memory(size_t bytes_requested);
-
-+void gc_init_foreign();
-
- /* inlined functions **********************************************************/
-
-Index: cacao-0.98+hg20071001/src/threads/native/threads.c
-===================================================================
---- cacao-0.98+hg20071001.orig/src/threads/native/threads.c 2008-01-15 14:45:41.000000000 +0100
-+++ cacao-0.98+hg20071001/src/threads/native/threads.c 2008-01-15 16:01:22.000000000 +0100
-@@ -1392,7 +1392,10 @@
-
- /* thread is completely initialized */
-
-+ gc_init_foreign();
-+
- threads_thread_state_runnable(thread);
-+ threads_set_current_threadobject(thread);
-
- DEBUGTHREADS("attaching", thread);
-
diff --git a/packages/cacao/files/cacao-0.98+hg20080519-build-java-runtime-library-classes.patch b/packages/cacao/files/cacao-0.98+hg20080519-build-java-runtime-library-classes.patch
deleted file mode 100644
index 7df1c480ea..0000000000
--- a/packages/cacao/files/cacao-0.98+hg20080519-build-java-runtime-library-classes.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-Index: cacao/configure.ac
-===================================================================
---- cacao.orig/configure.ac 2008-06-27 01:23:44.000000000 +0200
-+++ cacao/configure.ac 2008-06-27 01:24:02.000000000 +0200
-@@ -772,6 +772,7 @@
-
- AC_CHECK_WITH_JAVA_RUNTIME_LIBRARY_PREFIX
- AC_CHECK_WITH_JAVA_RUNTIME_LIBRARY_CLASSES
-+AC_CHECK_WITH_BUILD_JAVA_RUNTIME_LIBRARY_CLASSES
-
- if test x"${ENABLE_JRE_LAYOUT}" = "xno"; then
- AC_CHECK_WITH_JAVA_RUNTIME_LIBRARY_LIBDIR
-Index: cacao/m4/java-runtime-library.m4
-===================================================================
---- cacao.orig/m4/java-runtime-library.m4 2008-06-27 01:23:44.000000000 +0200
-+++ cacao/m4/java-runtime-library.m4 2008-06-27 01:24:02.000000000 +0200
-@@ -93,20 +93,32 @@
- AC_DEFINE_UNQUOTED([JAVA_RUNTIME_LIBRARY_CLASSES], "${JAVA_RUNTIME_LIBRARY_CLASSES}", [Java runtime library classes])
- AC_SUBST(JAVA_RUNTIME_LIBRARY_CLASSES)
-
-+dnl where are Java core library classes located at compilation time
-+
-+AC_DEFUN([AC_CHECK_WITH_BUILD_JAVA_RUNTIME_LIBRARY_CLASSES],[
-+AC_MSG_CHECKING(where Java core library classes are located at compile time)
-+AC_ARG_WITH([build-java-runtime-library-classes],
-+ [AS_HELP_STRING(--with-build-java-runtime-library-classes=<path>,path to Java core library classes (includes the name of the file and may be flat) [[default=${JAVA_RUNTIME_LIBRARY_PREFIX}/share/classpath/glibj.zip]])],
-+ [BUILD_JAVA_RUNTIME_LIBRARY_CLASSES=${withval}],
-+ [BUILD_JAVA_RUNTIME_LIBRARY_CLASSES=${JAVA_RUNTIME_LIBRARY_PREFIX}/share/classpath/glibj.zip])
-+AC_MSG_RESULT(${BUILD_JAVA_RUNTIME_LIBRARY_CLASSES})
-+AC_DEFINE_UNQUOTED([BUILD_JAVA_RUNTIME_LIBRARY_CLASSES], "${BUILD_JAVA_RUNTIME_LIBRARY_CLASSES}", [Java core library classes at compile time])
-+AC_SUBST(BUILD_JAVA_RUNTIME_LIBRARY_CLASSES)
-+])
-+
- dnl define BOOTCLASSPATH for Makefiles
- case "${WITH_JAVA_RUNTIME_LIBRARY}" in
- cldc1.1 | gnuclasspath)
-- BOOTCLASSPATH="\$(top_builddir)/src/classes/classes:\$(JAVA_RUNTIME_LIBRARY_CLASSES)"
-+ BOOTCLASSPATH="\$(top_builddir)/src/classes/classes:\$(BUILD_JAVA_RUNTIME_LIBRARY_CLASSES)"
- ;;
- *)
-- BOOTCLASSPATH="\$(JAVA_RUNTIME_LIBRARY_CLASSES)"
-+ BOOTCLASSPATH="\$(BUILD_JAVA_RUNTIME_LIBRARY_CLASSES)"
- ;;
- esac
- AC_SUBST(BOOTCLASSPATH)
- ])
-
--
--dnl where are Java runtime library native libraries installed
-+dnl where are Java runtime library native libraries installed (at compilation time)
-
- AC_DEFUN([AC_CHECK_WITH_JAVA_RUNTIME_LIBRARY_LIBDIR],[
- AC_MSG_CHECKING(where Java runtime library native libraries are installed)
diff --git a/packages/dbus/dbus-1.0.3/0001-Make-the-default-DBus-reply-timeout-configurable.patch b/packages/dbus/dbus-1.0.3/0001-Make-the-default-DBus-reply-timeout-configurable.patch
new file mode 100644
index 0000000000..a38e3db0de
--- /dev/null
+++ b/packages/dbus/dbus-1.0.3/0001-Make-the-default-DBus-reply-timeout-configurable.patch
@@ -0,0 +1,78 @@
+From fb546488e93a1638d377b228bbb0d2ab58462168 Mon Sep 17 00:00:00 2001
+From: Daniel Willmann <daniel@totalueberwachung.de>
+Date: Thu, 2 Oct 2008 15:50:17 +0800
+Subject: [PATCH] Make the default DBus reply timeout configurable
+
+This patch adds an option --with-dbus-default-reply-timeout to configure
+that will set the default reply timeout used by libdbus in milliseconds.
+autoconf and autoheader need to be rerun in order to regenerate the
+correct configure and config.h.in files.
+---
+ configure.in | 9 +++++++++
+ dbus/dbus-connection-internal.h | 3 ---
+ dbus/dbus-pending-call.c | 1 +
+ 3 files changed, 10 insertions(+), 3 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index 62ac387..5c912d7 100644
+--- a/configure.in
++++ b/configure.in
+@@ -88,6 +88,7 @@ AC_ARG_WITH(console-auth-dir, AS_HELP_STRING([--with-console-auth-dir=[dirname]]
+ AC_ARG_WITH(console-owner-file, AS_HELP_STRING([--with-console-owner-file=[filename]],[file whose owner determines current console owner]))
+ AC_ARG_WITH(dbus_user, AS_HELP_STRING([--with-dbus-user=<user>],[User for running the DBUS daemon (messagebus)]))
+ AC_ARG_WITH(dbus_daemondir, AS_HELP_STRING([--with-dbus-daemondir=[dirname]],[Directory for installing the DBUS daemon]))
++AC_ARG_WITH(dbus_default_reply_timeout, AS_HELP_STRING([--with-dbus-default-reply-timeout=[milliseconds]],[Default reply timeout for DBus method calls]))
+
+ AC_DEFINE(DBUS_UNIX,1,[dbus on unix])
+
+@@ -986,6 +987,13 @@ if test x$have_libaudit = xyes ; then
+ AC_DEFINE(HAVE_LIBAUDIT,1,[audit daemon SELinux support])
+ fi
+
++if test -z "$with_dbus_default_reply_timeout" ; then
++ DBUS_DEFAULT_REPLY_TIMEOUT=25000
++else
++ DBUS_DEFAULT_REPLY_TIMEOUT=$with_dbus_default_reply_timeout
++fi
++AC_DEFINE_UNQUOTED(_DBUS_DEFAULT_TIMEOUT_VALUE,$DBUS_DEFAULT_REPLY_TIMEOUT,[default timeout value for dbus calls])
++
+ #### Set up final flags
+ DBUS_CLIENT_CFLAGS=
+ DBUS_CLIENT_LIBS="$THREAD_LIBS"
+@@ -1348,6 +1356,7 @@ echo "
+ Gettext libs (empty OK): ${INTLLIBS}
+ Using XML parser: ${with_xml}
+ Init scripts style: ${with_init_scripts}
++ Default reply timeout: ${DBUS_DEFAULT_REPLY_TIMEOUT}
+ Abstract socket names: ${ac_cv_have_abstract_sockets}
+ System bus socket: ${DBUS_SYSTEM_SOCKET}
+ System bus address: ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS}
+diff --git a/dbus/dbus-connection-internal.h b/dbus/dbus-connection-internal.h
+index df54412..5fe536b 100644
+--- a/dbus/dbus-connection-internal.h
++++ b/dbus/dbus-connection-internal.h
+@@ -41,9 +41,6 @@ typedef enum
+ DBUS_ITERATION_BLOCK = 1 << 2 /**< Block if nothing to do. */
+ } DBusIterationFlags;
+
+-/** default timeout value when waiting for a message reply, 25 seconds */
+-#define _DBUS_DEFAULT_TIMEOUT_VALUE (25 * 1000)
+-
+ void _dbus_connection_lock (DBusConnection *connection);
+ void _dbus_connection_unlock (DBusConnection *connection);
+ DBusConnection * _dbus_connection_ref_unlocked (DBusConnection *connection);
+diff --git a/dbus/dbus-pending-call.c b/dbus/dbus-pending-call.c
+index 51b9378..5a7a5f4 100644
+--- a/dbus/dbus-pending-call.c
++++ b/dbus/dbus-pending-call.c
+@@ -21,6 +21,7 @@
+ *
+ */
+
++#include <config.h>
+ #include "dbus-internals.h"
+ #include "dbus-connection-internal.h"
+ #include "dbus-pending-call-internal.h"
+--
+1.5.6.4
+
diff --git a/packages/dbus/dbus-1.0.3/sanitize-reply-timeout.patch b/packages/dbus/dbus-1.0.3/sanitize-reply-timeout.patch
deleted file mode 100644
index 75ee6bdd6a..0000000000
--- a/packages/dbus/dbus-1.0.3/sanitize-reply-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-# DBus is from the desktop world, systems are _FAST_ there
-# On Embedded, some things might take a bit longer
-# Default session bus timeout is 300 seconds(!), whereas default
-# system bus timeout is only 25 seconds. This increases it to 60.
-# Signed off: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
-Index: dbus-1.2.1/bus/system.conf
-===================================================================
---- dbus-1.2.1.orig/bus/system.conf.in
-+++ dbus-1.2.1/bus/system.conf.in
-@@ -65,4 +65,6 @@
-
- <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
-
-+ <limit name="reply_timeout">60000</limit>
-+
- </busconfig>
diff --git a/packages/dbus/dbus-1.2.1/0001-Make-the-default-DBus-reply-timeout-configurable.patch b/packages/dbus/dbus-1.2.1/0001-Make-the-default-DBus-reply-timeout-configurable.patch
new file mode 100644
index 0000000000..a38e3db0de
--- /dev/null
+++ b/packages/dbus/dbus-1.2.1/0001-Make-the-default-DBus-reply-timeout-configurable.patch
@@ -0,0 +1,78 @@
+From fb546488e93a1638d377b228bbb0d2ab58462168 Mon Sep 17 00:00:00 2001
+From: Daniel Willmann <daniel@totalueberwachung.de>
+Date: Thu, 2 Oct 2008 15:50:17 +0800
+Subject: [PATCH] Make the default DBus reply timeout configurable
+
+This patch adds an option --with-dbus-default-reply-timeout to configure
+that will set the default reply timeout used by libdbus in milliseconds.
+autoconf and autoheader need to be rerun in order to regenerate the
+correct configure and config.h.in files.
+---
+ configure.in | 9 +++++++++
+ dbus/dbus-connection-internal.h | 3 ---
+ dbus/dbus-pending-call.c | 1 +
+ 3 files changed, 10 insertions(+), 3 deletions(-)
+
+diff --git a/configure.in b/configure.in
+index 62ac387..5c912d7 100644
+--- a/configure.in
++++ b/configure.in
+@@ -88,6 +88,7 @@ AC_ARG_WITH(console-auth-dir, AS_HELP_STRING([--with-console-auth-dir=[dirname]]
+ AC_ARG_WITH(console-owner-file, AS_HELP_STRING([--with-console-owner-file=[filename]],[file whose owner determines current console owner]))
+ AC_ARG_WITH(dbus_user, AS_HELP_STRING([--with-dbus-user=<user>],[User for running the DBUS daemon (messagebus)]))
+ AC_ARG_WITH(dbus_daemondir, AS_HELP_STRING([--with-dbus-daemondir=[dirname]],[Directory for installing the DBUS daemon]))
++AC_ARG_WITH(dbus_default_reply_timeout, AS_HELP_STRING([--with-dbus-default-reply-timeout=[milliseconds]],[Default reply timeout for DBus method calls]))
+
+ AC_DEFINE(DBUS_UNIX,1,[dbus on unix])
+
+@@ -986,6 +987,13 @@ if test x$have_libaudit = xyes ; then
+ AC_DEFINE(HAVE_LIBAUDIT,1,[audit daemon SELinux support])
+ fi
+
++if test -z "$with_dbus_default_reply_timeout" ; then
++ DBUS_DEFAULT_REPLY_TIMEOUT=25000
++else
++ DBUS_DEFAULT_REPLY_TIMEOUT=$with_dbus_default_reply_timeout
++fi
++AC_DEFINE_UNQUOTED(_DBUS_DEFAULT_TIMEOUT_VALUE,$DBUS_DEFAULT_REPLY_TIMEOUT,[default timeout value for dbus calls])
++
+ #### Set up final flags
+ DBUS_CLIENT_CFLAGS=
+ DBUS_CLIENT_LIBS="$THREAD_LIBS"
+@@ -1348,6 +1356,7 @@ echo "
+ Gettext libs (empty OK): ${INTLLIBS}
+ Using XML parser: ${with_xml}
+ Init scripts style: ${with_init_scripts}
++ Default reply timeout: ${DBUS_DEFAULT_REPLY_TIMEOUT}
+ Abstract socket names: ${ac_cv_have_abstract_sockets}
+ System bus socket: ${DBUS_SYSTEM_SOCKET}
+ System bus address: ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS}
+diff --git a/dbus/dbus-connection-internal.h b/dbus/dbus-connection-internal.h
+index df54412..5fe536b 100644
+--- a/dbus/dbus-connection-internal.h
++++ b/dbus/dbus-connection-internal.h
+@@ -41,9 +41,6 @@ typedef enum
+ DBUS_ITERATION_BLOCK = 1 << 2 /**< Block if nothing to do. */
+ } DBusIterationFlags;
+
+-/** default timeout value when waiting for a message reply, 25 seconds */
+-#define _DBUS_DEFAULT_TIMEOUT_VALUE (25 * 1000)
+-
+ void _dbus_connection_lock (DBusConnection *connection);
+ void _dbus_connection_unlock (DBusConnection *connection);
+ DBusConnection * _dbus_connection_ref_unlocked (DBusConnection *connection);
+diff --git a/dbus/dbus-pending-call.c b/dbus/dbus-pending-call.c
+index 51b9378..5a7a5f4 100644
+--- a/dbus/dbus-pending-call.c
++++ b/dbus/dbus-pending-call.c
+@@ -21,6 +21,7 @@
+ *
+ */
+
++#include <config.h>
+ #include "dbus-internals.h"
+ #include "dbus-connection-internal.h"
+ #include "dbus-pending-call-internal.h"
+--
+1.5.6.4
+
diff --git a/packages/dbus/dbus-1.2.1/sanitize-reply-timeout.patch b/packages/dbus/dbus-1.2.1/sanitize-reply-timeout.patch
deleted file mode 100644
index 75ee6bdd6a..0000000000
--- a/packages/dbus/dbus-1.2.1/sanitize-reply-timeout.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-# DBus is from the desktop world, systems are _FAST_ there
-# On Embedded, some things might take a bit longer
-# Default session bus timeout is 300 seconds(!), whereas default
-# system bus timeout is only 25 seconds. This increases it to 60.
-# Signed off: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
-Index: dbus-1.2.1/bus/system.conf
-===================================================================
---- dbus-1.2.1.orig/bus/system.conf.in
-+++ dbus-1.2.1/bus/system.conf.in
-@@ -65,4 +65,6 @@
-
- <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>
-
-+ <limit name="reply_timeout">60000</limit>
-+
- </busconfig>
diff --git a/packages/dbus/dbus.inc b/packages/dbus/dbus.inc
index d99fa26455..09e427a7ab 100644
--- a/packages/dbus/dbus.inc
+++ b/packages/dbus/dbus.inc
@@ -9,7 +9,7 @@ SRC_URI = "\
file://cross.patch;patch=1 \
file://tmpdir.patch;patch=1 \
file://fix-install-daemon.patch;patch=1 \
- file://sanitize-reply-timeout.patch;patch=1 \
+ file://0001-Make-the-default-DBus-reply-timeout-configurable.patch;patch=1 \
file://dbus-1.init \
"
@@ -27,6 +27,7 @@ EXTRA_OECONF = "\
--disable-doxygen-docs \
--with-xml=expat \
--with-x \
+ --with-dbus-default-reply-timeout=60000 \
"
do_install_append() {
diff --git a/packages/dbus/dbus_1.0.3.bb b/packages/dbus/dbus_1.0.3.bb
index b3eca63491..b3768ceb1e 100644
--- a/packages/dbus/dbus_1.0.3.bb
+++ b/packages/dbus/dbus_1.0.3.bb
@@ -1,4 +1,4 @@
require dbus.inc
-PR = "r13"
+PR = "r14"
DEFAULT_PREFERENCE = "-1"
diff --git a/packages/dbus/dbus_1.2.1.bb b/packages/dbus/dbus_1.2.1.bb
index 4e4caaa78c..3f586ed12d 100644
--- a/packages/dbus/dbus_1.2.1.bb
+++ b/packages/dbus/dbus_1.2.1.bb
@@ -1,3 +1,3 @@
include dbus.inc
-PR = "r6"
+PR = "r7"