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 Signed-off-by: Thomas Zimmermann <[email protected]> --- 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 diff --git a/recipes/dbus/dbus-c++-native_git.bb b/recipes/dbus/dbus-c++-native_git.bb new file mode 100644 index 0000000..dd43f91 --- /dev/null +++ b/recipes/dbus/dbus-c++-native_git.bb @@ -0,0 +1,21 @@ +require dbus-c++_git.bb +inherit native + +FILESDIR = "[email protected](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() { + : +} + diff --git a/recipes/dbus/dbus-c++-native_svn.bb b/recipes/dbus/dbus-c++-native_svn.bb deleted file mode 100644 index 5599aeb..0000000 --- a/recipes/dbus/dbus-c++-native_svn.bb +++ /dev/null @@ -1,21 +0,0 @@ -require dbus-c++_${PV}.bb -inherit native - -FILESDIR = "[email protected](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() { - : -} - diff --git a/recipes/dbus/dbus-c++_git.bb b/recipes/dbus/dbus-c++_git.bb new file mode 100644 index 0000000..06e1cb3 --- /dev/null +++ b/recipes/dbus/dbus-c++_git.bb @@ -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.*" + diff --git a/recipes/dbus/dbus-c++_svn.bb b/recipes/dbus/dbus-c++_svn.bb deleted file mode 100644 index 80e6f14..0000000 --- a/recipes/dbus/dbus-c++_svn.bb +++ /dev/null @@ -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.*" - -- 1.7.0.4
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
