dbus 1.1.4 update to 1.1.20 (new default version)
authorMichael Lauer <mickey@vanille-media.de>
Wed, 27 Feb 2008 18:08:17 +0000 (18:08 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Wed, 27 Feb 2008 18:08:17 +0000 (18:08 +0000)
12 files changed:
packages/dbus/dbus-1.1.20/.mtn2git_empty [moved from packages/dbus/dbus-1.1.4/.mtn2git_empty with 100% similarity]
packages/dbus/dbus-1.1.20/cross.patch [moved from packages/dbus/dbus-1.1.4/cross.patch with 100% similarity]
packages/dbus/dbus-1.1.20/dbus-1.init [moved from packages/dbus/dbus-1.1.4/dbus-1.init with 100% similarity]
packages/dbus/dbus-1.1.20/fix-dbus-launch-x11.patch [new file with mode: 0644]
packages/dbus/dbus-1.1.20/fix-install-daemon.patch [moved from packages/dbus/dbus-1.1.4/fix-install-daemon.patch with 100% similarity]
packages/dbus/dbus-1.1.20/tmpdir.patch [moved from packages/dbus/dbus-1.1.4/tmpdir.patch with 100% similarity]
packages/dbus/dbus-native_1.0.2.bb
packages/dbus/dbus-native_1.1.20.bb [moved from packages/dbus/dbus-native_1.1.4.bb with 82% similarity]
packages/dbus/dbus.inc
packages/dbus/dbus_1.0.2.bb
packages/dbus/dbus_1.1.20.bb [new file with mode: 0644]
packages/dbus/dbus_1.1.4.bb [deleted file]

diff --git a/packages/dbus/dbus-1.1.20/fix-dbus-launch-x11.patch b/packages/dbus/dbus-1.1.20/fix-dbus-launch-x11.patch
new file mode 100644 (file)
index 0000000..20c8d1b
--- /dev/null
@@ -0,0 +1,14 @@
+Index: dbus-1.1.20/tools/dbus-launch.c
+===================================================================
+--- dbus-1.1.20.orig/tools/dbus-launch.c
++++ dbus-1.1.20/tools/dbus-launch.c
+@@ -966,7 +966,9 @@ main (int argc, char **argv)
+       char write_pid_fd_as_string[MAX_FD_LEN];
+       char write_address_fd_as_string[MAX_FD_LEN];
++#ifdef DBUS_BUILD_X11
+       xdisplay = NULL;
++#endif
+       if (close_stderr)
+       do_close_stderr ();
index ebd57b2..0149ab3 100644 (file)
@@ -1,5 +1,6 @@
 require dbus.inc
-DEFAULT_PREFERENCE = "1"
+
+DEFAULT_PREFERENCE = "-1"
 
 inherit native
 
@@ -25,4 +26,3 @@ do_stage() {
 do_install() {
        :
 }
-
similarity index 82%
rename from packages/dbus/dbus-native_1.1.4.bb
rename to packages/dbus/dbus-native_1.1.20.bb
index a006965..c97a6c6 100644 (file)
@@ -5,9 +5,10 @@ DEPENDS = "glib-2.0-native libxml2-native expat-native"
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-${PV}"
 
 SRC_URI = "\
-  http://freedesktop.org/software/dbus/releases/dbus-${PV}.tar.gz \
+  http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
   file://cross.patch;patch=1 \
   file://tmpdir.patch;patch=1 \
+  file://fix-dbus-launch-x11.patch;patch=1 \
   file://dbus-1.init \
 "
 
index a8fd31d..bca7585 100644 (file)
@@ -4,10 +4,8 @@ SECTION = "base"
 LICENSE = "GPL"
 DEPENDS = "expat glib-2.0 virtual/libintl"
 
-DEFAULT_PREFERENCE = "-1"
-
 SRC_URI = "\
-  http://freedesktop.org/software/dbus/releases/dbus/dbus-${PV}.tar.gz \
+  http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
   file://cross.patch;patch=1 \
   file://tmpdir.patch;patch=1 \
   file://fix-install-daemon.patch;patch=1 \
index e803cb7..da0a298 100644 (file)
@@ -1,6 +1,4 @@
 require dbus.inc
-DEFAULT_PREFERENCE = "1"
-
-PR = "r9"
-
+PR = "r10"
 
+DEFAULT_PREFERENCE = "-1"
diff --git a/packages/dbus/dbus_1.1.20.bb b/packages/dbus/dbus_1.1.20.bb
new file mode 100644 (file)
index 0000000..247e465
--- /dev/null
@@ -0,0 +1,5 @@
+include dbus.inc
+
+PR = "r0"
+
+SRC_URI += "file://fix-dbus-launch-x11.patch;patch=1"
diff --git a/packages/dbus/dbus_1.1.4.bb b/packages/dbus/dbus_1.1.4.bb
deleted file mode 100644 (file)
index 7838e55..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-include dbus.inc
-
-PR = "r2"