eggdbus: port from openembedded.

Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Bian Naimeng 2014-11-14 17:20:04 +08:00 committed by Martin Jansa
parent 19153a5797
commit edcf03b5fb
3 changed files with 95 additions and 0 deletions

View File

@ -0,0 +1,34 @@
Upstream-Status: Inappropriate [configuration]
Index: eggdbus-0.6/docs/eggdbus/Makefile.am
===================================================================
--- eggdbus-0.6.orig/docs/eggdbus/Makefile.am
+++ eggdbus-0.6/docs/eggdbus/Makefile.am
@@ -87,11 +87,7 @@ HTML_IMAGES = \
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=
-if ENABLE_GTK_DOC
-include $(top_srcdir)/gtk-doc.make
-else
CLEANFILES =
-endif
CLEANFILES += *~ \
eggdbus-scan.* \
Index: eggdbus-0.6/docs/tests/Makefile.am
===================================================================
--- eggdbus-0.6.orig/docs/tests/Makefile.am
+++ eggdbus-0.6/docs/tests/Makefile.am
@@ -65,11 +65,7 @@ HTML_IMAGES = \
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=
-if ENABLE_GTK_DOC
-include $(top_srcdir)/gtk-doc.make
-else
CLEANFILES =
-endif
CLEANFILES += *~ \
tests-scan.* \

View File

@ -0,0 +1,28 @@
Upstream-Status: Inappropriate [configuration]
Index: eggdbus-0.6/src/eggdbus/Makefile.am
===================================================================
--- eggdbus-0.6.orig/src/eggdbus/Makefile.am
+++ eggdbus-0.6/src/eggdbus/Makefile.am
@@ -130,7 +130,7 @@ BUILT_SOURCES = \
$(NULL)
eggdbus-built-sources.stamp : eggdbus-binding-tool Makefile.am org.freedesktop.DBus.xml org.freedesktop.DBus.Peer.xml org.freedesktop.DBus.Properties.xml org.freedesktop.DBus.Introspectable.xml eggdbus-glib-genmarshal
- EGG_DBUS_GENMARSHAL=$(top_builddir)/src/eggdbus/eggdbus-glib-genmarshal $(top_builddir)/src/eggdbus/eggdbus-binding-tool \
+ EGG_DBUS_GENMARSHAL=eggdbus-glib-genmarshal eggdbus-binding-tool \
--namespace EggDBus \
--dbus-namespace org.freedesktop.DBus \
--interfaces-only \
Index: eggdbus-0.6/src/tests/Makefile.am
===================================================================
--- eggdbus-0.6.orig/src/tests/Makefile.am
+++ eggdbus-0.6/src/tests/Makefile.am
@@ -25,7 +25,7 @@ BUILT_SOURCES = \
$(NULL)
test-built-sources.stamp : Makefile.am $(top_builddir)/src/eggdbus/eggdbus-binding-tool com.example.Frob.xml com.example.Tweak.xml com.example.Twiddle.xml
- EGG_DBUS_GENMARSHAL=$(top_builddir)/src/eggdbus/eggdbus-glib-genmarshal $(top_builddir)/src/eggdbus/eggdbus-binding-tool \
+ EGG_DBUS_GENMARSHAL=eggdbus-glib-genmarshal eggdbus-binding-tool \
--namespace "Test" \
--dbus-namespace "com.example" \
--include-header testtypes.h \

View File

@ -0,0 +1,33 @@
SUMMARY = "An alternative to dbug-glib."
DESCRIPTION = "An alternative to dbus-glib. It is designed specifically to \
make it comfortable to work with very large and potentially \
complex D-Bus services like e.g. DeviceKit-disks"
HOMEPAGE = "http://cgit.freedesktop.org/~david/eggdbus"
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \
file://src/eggdbus/eggdbus.h;md5=6b312aef57ed8d738b3f131ad037d6c2"
DEPENDS = "dbus glib-2.0 dbus-glib eggdbus-native"
DEPENDS_class-native = "dbus-native glib-2.0-native dbus-glib-native"
SRC_URI = "http://cgit.freedesktop.org/~david/${BPN}/snapshot/${BPN}-${PV}.tar.bz2 \
file://gtk-doc.patch \
"
SRC_URI_append_class-target = "file://marshal.patch"
SRC_URI[md5sum] = "0a111faa54dfba2cf432c2c8e8a76e06"
SRC_URI[sha256sum] = "3ad26e271c1a879bafcd181e065fe0ed53b542299a773c3188c9edb25b895ed1"
inherit autotools gtk-doc
EXTRA_OECONF = " --disable-man-pages "
BBCLASSEXTEND = "native"
PARALLEL_MAKE = ""
do_configure_prepend() {
# Create ChangeLog to walk around automake error.
# " Makefile.am: error: required file './ChangeLog' not found "
touch ${S}/ChangeLog
}