--- /dev/null
+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
+}
+++ /dev/null
---- 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
-
-
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"
--- /dev/null
+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
+}
+++ /dev/null
---- 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=[
-
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