dbus, dbus-glib, dbus-python: update to 0.91/0.71
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sat, 29 Jul 2006 23:28:26 +0000 (23:28 +0000)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Sat, 29 Jul 2006 23:28:26 +0000 (23:28 +0000)
packages/dbus/dbus-0.91/.mtn2git_empty [new file with mode: 0644]
packages/dbus/dbus-0.91/dbus-1.init [moved from packages/dbus/dbus-0.90/dbus-1.init with 100% similarity]
packages/dbus/dbus-0.91/fix-segfault.patch [moved from packages/dbus/dbus-0.90/fix-segfault.patch with 100% similarity]
packages/dbus/dbus-glib-native_0.71.bb [new file with mode: 0644]
packages/dbus/dbus-glib/dbus-glib-0.70-fix-includes.patch [deleted file]
packages/dbus/dbus-glib_0.71.bb [moved from packages/dbus/dbus-glib_0.70.bb with 94% similarity]
packages/dbus/dbus-native_0.91.bb [new file with mode: 0644]
packages/dbus/dbus-python/dbus-python-0.70-fix-binary-modules-dir.patch [deleted file]
packages/dbus/dbus-python_0.71.bb [moved from packages/dbus/dbus-python_0.70.bb with 79% similarity]
packages/dbus/dbus_0.91.bb [moved from packages/dbus/dbus_0.90.bb with 100% similarity]

diff --git a/packages/dbus/dbus-0.91/.mtn2git_empty b/packages/dbus/dbus-0.91/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/dbus/dbus-glib-native_0.71.bb b/packages/dbus/dbus-glib-native_0.71.bb
new file mode 100644 (file)
index 0000000..81a15c9
--- /dev/null
@@ -0,0 +1,22 @@
+SECTION = "base"
+PR = "r0"
+HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
+DESCRIPTION = "message bus system for applications to talk to one another"
+LICENSE = "GPL"
+DEPENDS = "expat glib-2.0 virtual/libintl dbus-native"
+
+SRC_URI = "http://freedesktop.org/software/dbus/releases/dbus-glib-${PV}.tar.gz \
+          file://cross.patch;patch=1"
+
+inherit autotools pkgconfig gettext native
+
+S = "${WORKDIR}/dbus-glib-${PV}"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-glib"
+DEPENDS = "glib-2.0-native"
+
+do_stage() {
+        oe_runmake install
+        install -d ${STAGING_DATADIR}/dbus
+        install -m 0644 tools/dbus-bus-introspect.xml ${STAGING_DATADIR}/dbus
+        install -m 0644 tools/dbus-glib-bindings.h ${STAGING_DATADIR}/dbus
+}
diff --git a/packages/dbus/dbus-glib/dbus-glib-0.70-fix-includes.patch b/packages/dbus/dbus-glib/dbus-glib-0.70-fix-includes.patch
deleted file mode 100644 (file)
index 68edc54..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- dbus-glib-0.70/dbus/Makefile.am.fix_includes       2006-07-17 13:00:39.000000000 -0400
-+++ dbus-glib-0.70/dbus/Makefile.am    2006-07-17 20:09:00.000000000 -0400
-@@ -38,13 +38,13 @@
-       dbus-gvalue.c                           \
-       dbus-gvalue.h                           \
-       dbus-gthread.c                          \
--      dbus-glib.h                             \
--      dbus-glib-lowlevel.h                    \
--      dbus-glib-error-enum.h                  \
-       $(DBUS_GLIB_INTERNALS)
- libdbus_glib_HEADERS =                  \
--      dbus-gtype-specialized.h
-+      dbus-gtype-specialized.h        \
-+      dbus-glib.h                     \
-+        dbus-glib-lowlevel.h          \
-+        dbus-glib-error-enum.h
- libdbus_glibdir = $(includedir)/dbus-1.0/dbus
-
similarity index 94%
rename from packages/dbus/dbus-glib_0.70.bb
rename to packages/dbus/dbus-glib_0.71.bb
index 304e7ac..6bb69ba 100644 (file)
@@ -7,7 +7,6 @@ DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native"
 
 SRC_URI = "http://freedesktop.org/software/dbus/releases/dbus-glib-${PV}.tar.gz \
           file://cross.patch;patch=1 \
-          file://dbus-glib-0.70-fix-includes.patch;patch=1 \
           file://no-examples.patch;patch=1 \
           file://no-introspect.patch;patch=1"
 
diff --git a/packages/dbus/dbus-native_0.91.bb b/packages/dbus/dbus-native_0.91.bb
new file mode 100644 (file)
index 0000000..e176787
--- /dev/null
@@ -0,0 +1,26 @@
+DEFAULT_PREFERENCE="-1"
+
+SECTION = "base"
+PR = "r0"
+HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
+DESCRIPTION = "message bus system for applications to talk to one another"
+LICENSE = "GPL"
+
+S = "${WORKDIR}/dbus-${PV}"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus"
+DEPENDS = "glib-2.0-native"
+
+SRC_URI = "http://freedesktop.org/software/dbus/releases/dbus-${PV}.tar.gz \
+          file://cross.patch;patch=1 \
+          file://tmpdir.patch;patch=1"
+
+inherit autotools pkgconfig gettext native
+
+EXTRA_OECONF = "--disable-qt  --disable-qt3 --disable-gtk --disable-tests \
+               --disable-checks --disable-xml-docs --disable-doxygen-docs \
+               --with-xml=expat --without-x"
+
+do_stage () {
+       oe_runmake install
+       autotools_stage_all
+}
diff --git a/packages/dbus/dbus-python/dbus-python-0.70-fix-binary-modules-dir.patch b/packages/dbus/dbus-python/dbus-python-0.70-fix-binary-modules-dir.patch
deleted file mode 100644 (file)
index 17b78d9..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- dbus-python-0.70/setup.py.fix-binary-modules-dir   2006-07-17 20:30:07.000000000 -0400
-+++ dbus-python-0.70/setup.py  2006-07-17 20:30:22.000000000 -0400
-@@ -92,12 +92,12 @@
-         "dbus/_util",
-     ],
-     ext_modules=[
--        Extension("dbus_bindings", ["dbus/dbus_bindings.pyx"],
-+        Extension("dbus/dbus_bindings", ["dbus/dbus_bindings.pyx"],
-             include_dirs=dbus_includes,
-             libraries=["dbus-1"],
-         ),
--        Extension("dbus_glib_bindings", ["dbus/dbus_glib_bindings.pyx"],
-+        Extension("dbus/dbus_glib_bindings", ["dbus/dbus_glib_bindings.pyx"],
-             include_dirs=dbus_glib_includes,
-             libraries=["dbus-glib-1", "dbus-1", "glib-2.0"],
-             define_macros=[
-
similarity index 79%
rename from packages/dbus/dbus-python_0.70.bb
rename to packages/dbus/dbus-python_0.71.bb
index 7bfbc93..7c80a1b 100644 (file)
@@ -9,7 +9,6 @@ PR = "r0"
 DEPENDS = "python-native"
 
 SRC_URI = "http://freedesktop.org/software/dbus/releases/dbus-python-${PV}.tar.gz \
-          file://cross.patch;patch=1 \
-          file://dbus-python-0.70-fix-binary-modules-dir.patch;patch=1"
+          file://cross.patch;patch=1"
 
 inherit distutils