dbus-c++
Hi,
i need dbus-c++-native, but dev.openwengo.org is gone.
I want to change the host to the unofficial git i found on
http://www.freedesktop.org/wiki/Software/dbus-c%2B%2B because the official tells me that there is no such repo.
Also i defined a PV for this package.
Is this patch ok for everyone?
Regards
Thomas
From c136297e3a0fae5dbb48f465ef52acbc8fabd865 Mon Sep 17 00:00:00 2001
From: Thomas Zimmermann <[email protected]>
Date: Mon, 19 Apr 2010 20:22:33 +0200
Subject: [PATCH] dbus-c++: dev.openwengo.org is gone
* switch host to new git repo
* define correct verion
* bump PE because no PV was defined before
--- recipes/dbus/dbus-c++-native_git.bb | 21 +++++++++++++++++++++ recipes/dbus/dbus-c++-native_svn.bb | 21 --------------------- recipes/dbus/dbus-c++_git.bb | 23 +++++++++++++++++++++++ recipes/dbus/dbus-c++_svn.bb | 20 -------------------- 4 files changed, 44 insertions(+), 41 deletions(-) create mode 100644 recipes/dbus/dbus-c++-native_git.bb delete mode 100644 recipes/dbus/dbus-c++-native_svn.bb create mode 100644 recipes/dbus/dbus-c++_git.bb delete mode 100644 recipes/dbus/dbus-c++_svn.bb
recipes/dbus/dbus-c++-native_git.bb new file +21 -0
@@ -0,0 +1,21 @@ +require dbus-c++_git.bb +inherit native + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-c++" +# actually dbus-native and expat-native, but even the bearest build machine should have that nowadays... +DEPENDS = "" + +do_compile() { + oe_runmake -C src libdbus-c++-1.la + oe_runmake -C tools dbusxx-xml2cpp + install -m 0755 tools/dbusxx-xml2cpp ${STAGING_BINDIR_NATIVE} +} + +do_stage() { + autotools_stage_all +} + +do_install() { + : +} +
recipes/dbus/dbus-c++-native_svn.bb deleted +0 -21
@@ -1,21 +0,0 @@ -require dbus-c++_${PV}.bb -inherit native - -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-c++" -# actually dbus-native and expat-native, but even the bearest build machine should have that nowadays... -DEPENDS = "" - -do_compile() { - oe_runmake -C src libdbus-c++-1.la - oe_runmake -C tools dbusxx-xml2cpp - install -m 0755 tools/dbusxx-xml2cpp ${STAGING_BINDIR_NATIVE} -} - -do_stage() { - autotools_stage_all -} - -do_install() { - : -} -
recipes/dbus/dbus-c++_git.bb new file +23 -0
@@ -0,0 +1,23 @@ +DESCRIPTION = "C++ bindings for dbus" +LICENSE = "LGPL" +SECTION = "libs" +DEPENDS = "dbus dbus-c++-native expat" +SRCREV = "530a887913d3b0dd7091eabb8eef8e3c279e3bb8" + +PE = "1" +PV = "0.5.0+gitr${SRCPV}" + +SRC_URI = "git://gitorious.org/dbus-cplusplus/mainline.git;protocol=git" +# file://fix-linking.patch;patch=1" +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +do_compile_prepend() { + find . -name "Makefile.am" |xargs sed -i -e 's,$(top_builddir)/tools/dbusxx-xml2cpp,dbusxx-xml2cpp,' +} + +FILES_${PN}-dbg += "${bindir}/dbusxx-xml2cpp ${bindir}/dbusxx-introspect" +FILES_${PN}-dev += "${bindir}/.dev" +FILES_${PN} = "${libdir}/*.so.*" +
recipes/dbus/dbus-c++_svn.bb deleted +0 -20
@@ -1,20 +0,0 @@ -DESCRIPTION = "C++ bindings for dbus" -LICENSE = "LGPL" -SECTION = "libs" -DEPENDS = "dbus dbus-c++-native expat" -SRCREV = "13131" - -SRC_URI = "svn://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs;module=dbus;proto=http" -# file://fix-linking.patch;patch=1" -S = "${WORKDIR}/dbus" - -inherit autotools pkgconfig - -do_compile_prepend() { - find . -name "Makefile.am" |xargs sed -i -e 's,$(top_builddir)/tools/dbusxx-xml2cpp,dbusxx-xml2cpp,' -} - -FILES_${PN}-dbg += "${bindir}/dbusxx-xml2cpp ${bindir}/dbusxx-introspect" -FILES_${PN}-dev += "${bindir}/.dev" -FILES_${PN} = "${libdir}/*.so.*" -
Signature · 1 line
1.7.0.4
Quoted 8 lines · Thomas Zimmermann
Hi,
i need dbus-c++-native, but dev.openwengo.org is gone.
I want to change the host to the unofficial git i found on
http://www.freedesktop.org/wiki/Software/dbus-c%2B%2B because the official tells me that there is no such repo.
Also i defined a PV for this package.Is this patch ok for everyone?
Some progress on that? would be possible to add dbusxx-introspect too?
Regards
Niko