[oe-commits] org.oe.dev add dbus-c++[-native], a native C++ binding to the DBUS API

mickeyl commit openembedded-commits at lists.openembedded.org
Tue Aug 7 11:04:18 UTC 2007


add dbus-c++[-native], a native C++ binding to the DBUS API

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 00c60fb6c30af9fc1a827b370b5a340b7d239eb4
ViewMTN: http://monotone.openembedded.org/revision.psp?id=00c60fb6c30af9fc1a827b370b5a340b7d239eb4
Files:
1
packages/dbus/dbus-c++
packages/dbus/dbus-c++/fix-linking.patch
packages/dbus/dbus-c++-native_svn.bb
packages/dbus/dbus-c++_svn.bb
Diffs:

#
# mt diff -r82da4ff9bb9b3766df121afccfa70223f1cf064c -r00c60fb6c30af9fc1a827b370b5a340b7d239eb4
#
# 
# 
# add_dir "packages/dbus/dbus-c++"
# 
# add_file "packages/dbus/dbus-c++/fix-linking.patch"
#  content [e5f0399bc17b259bc61d3e586878c0e6673e4364]
# 
# add_file "packages/dbus/dbus-c++-native_svn.bb"
#  content [7eb2939e91cca228ceb1c6c1bf08fd50acb9a210]
# 
# add_file "packages/dbus/dbus-c++_svn.bb"
#  content [8b99926fdfa9bd562bdceaf341c89352f338d839]
# 
============================================================
--- packages/dbus/dbus-c++/fix-linking.patch	e5f0399bc17b259bc61d3e586878c0e6673e4364
+++ packages/dbus/dbus-c++/fix-linking.patch	e5f0399bc17b259bc61d3e586878c0e6673e4364
@@ -0,0 +1,13 @@
+Index: dbus/tools/Makefile.am
+===================================================================
+--- dbus.orig/tools/Makefile.am
++++ dbus/tools/Makefile.am
+@@ -16,7 +16,7 @@ endif
+ bin_PROGRAMS = dbusxx-xml2cpp dbusxx-introspect
+ 
+ dbusxx_xml2cpp_SOURCES = xml.h xml.cpp xml2cpp.h xml2cpp.cpp
+-dbusxx_xml2cpp_LDADD = $(libdbus_cxx_la)
++dbusxx_xml2cpp_LDADD = $(libdbus_cxx_la) -lexpat
+ 
+ dbusxx_introspect_SOURCES = introspect.h introspect.cpp
+ dbusxx_introspect_LDADD = $(libdbus_cxx_la)
============================================================
--- packages/dbus/dbus-c++-native_svn.bb	7eb2939e91cca228ceb1c6c1bf08fd50acb9a210
+++ packages/dbus/dbus-c++-native_svn.bb	7eb2939e91cca228ceb1c6c1bf08fd50acb9a210
@@ -0,0 +1,6 @@
+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 = ""
============================================================
--- packages/dbus/dbus-c++_svn.bb	8b99926fdfa9bd562bdceaf341c89352f338d839
+++ packages/dbus/dbus-c++_svn.bb	8b99926fdfa9bd562bdceaf341c89352f338d839
@@ -0,0 +1,23 @@
+DESCRIPTION = "C++ bindings for dbus"
+LICENSE = "LGPL"
+SECTION = "libs"
+DEPENDS = "dbus dbus-c++-native expat"
+
+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,'
+}
+
+do_stage() {
+	autotools_stage_all
+}
+
+FILES_${PN}-dbg += "${bindir}/dbusxx-xml2cpp ${bindir}/dbusxx-introspect"
+FILES_${PN}-dev += "${bindir}/.dev"
+FILES_${PN} = "${libdir}/*.so.*"
+






More information about the Openembedded-commits mailing list