summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorBian Naimeng <biannm@cn.fujitsu.com>2014-11-14 17:20:04 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-17 13:11:57 +0100
commitedcf03b5fb576dbeae3784471aec8c2b7a9a04a8 (patch)
tree4a05ca936fab83f07cee2a0b9b0d4edc7ef093e2 /meta-oe/recipes-core
parent19153a5797c8c484bccc773505cbceff15b14cc6 (diff)
downloadmeta-openembedded-edcf03b5fb576dbeae3784471aec8c2b7a9a04a8.tar.gz
eggdbus: port from openembedded.
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch34
-rw-r--r--meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch28
-rw-r--r--meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb33
3 files changed, 95 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch b/meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch
new file mode 100644
index 000000000..abd7ff416
--- /dev/null
+++ b/meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch
@@ -0,0 +1,34 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: eggdbus-0.6/docs/eggdbus/Makefile.am
4===================================================================
5--- eggdbus-0.6.orig/docs/eggdbus/Makefile.am
6+++ eggdbus-0.6/docs/eggdbus/Makefile.am
7@@ -87,11 +87,7 @@ HTML_IMAGES = \
8 # Extra options to supply to gtkdoc-fixref
9 FIXXREF_OPTIONS=
10
11-if ENABLE_GTK_DOC
12-include $(top_srcdir)/gtk-doc.make
13-else
14 CLEANFILES =
15-endif
16
17 CLEANFILES += *~ \
18 eggdbus-scan.* \
19Index: eggdbus-0.6/docs/tests/Makefile.am
20===================================================================
21--- eggdbus-0.6.orig/docs/tests/Makefile.am
22+++ eggdbus-0.6/docs/tests/Makefile.am
23@@ -65,11 +65,7 @@ HTML_IMAGES = \
24 # Extra options to supply to gtkdoc-fixref
25 FIXXREF_OPTIONS=
26
27-if ENABLE_GTK_DOC
28-include $(top_srcdir)/gtk-doc.make
29-else
30 CLEANFILES =
31-endif
32
33 CLEANFILES += *~ \
34 tests-scan.* \
diff --git a/meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch b/meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch
new file mode 100644
index 000000000..a605a34c8
--- /dev/null
+++ b/meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch
@@ -0,0 +1,28 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: eggdbus-0.6/src/eggdbus/Makefile.am
4===================================================================
5--- eggdbus-0.6.orig/src/eggdbus/Makefile.am
6+++ eggdbus-0.6/src/eggdbus/Makefile.am
7@@ -130,7 +130,7 @@ BUILT_SOURCES = \
8 $(NULL)
9
10 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
11- EGG_DBUS_GENMARSHAL=$(top_builddir)/src/eggdbus/eggdbus-glib-genmarshal $(top_builddir)/src/eggdbus/eggdbus-binding-tool \
12+ EGG_DBUS_GENMARSHAL=eggdbus-glib-genmarshal eggdbus-binding-tool \
13 --namespace EggDBus \
14 --dbus-namespace org.freedesktop.DBus \
15 --interfaces-only \
16Index: eggdbus-0.6/src/tests/Makefile.am
17===================================================================
18--- eggdbus-0.6.orig/src/tests/Makefile.am
19+++ eggdbus-0.6/src/tests/Makefile.am
20@@ -25,7 +25,7 @@ BUILT_SOURCES = \
21 $(NULL)
22
23 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
24- EGG_DBUS_GENMARSHAL=$(top_builddir)/src/eggdbus/eggdbus-glib-genmarshal $(top_builddir)/src/eggdbus/eggdbus-binding-tool \
25+ EGG_DBUS_GENMARSHAL=eggdbus-glib-genmarshal eggdbus-binding-tool \
26 --namespace "Test" \
27 --dbus-namespace "com.example" \
28 --include-header testtypes.h \
diff --git a/meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb b/meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb
new file mode 100644
index 000000000..cc28ec77c
--- /dev/null
+++ b/meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb
@@ -0,0 +1,33 @@
1SUMMARY = "An alternative to dbug-glib."
2DESCRIPTION = "An alternative to dbus-glib. It is designed specifically to \
3make it comfortable to work with very large and potentially \
4complex D-Bus services like e.g. DeviceKit-disks"
5
6HOMEPAGE = "http://cgit.freedesktop.org/~david/eggdbus"
7LICENSE = "LGPLv2+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \
9 file://src/eggdbus/eggdbus.h;md5=6b312aef57ed8d738b3f131ad037d6c2"
10
11DEPENDS = "dbus glib-2.0 dbus-glib eggdbus-native"
12DEPENDS_class-native = "dbus-native glib-2.0-native dbus-glib-native"
13
14SRC_URI = "http://cgit.freedesktop.org/~david/${BPN}/snapshot/${BPN}-${PV}.tar.bz2 \
15 file://gtk-doc.patch \
16"
17SRC_URI_append_class-target = "file://marshal.patch"
18SRC_URI[md5sum] = "0a111faa54dfba2cf432c2c8e8a76e06"
19SRC_URI[sha256sum] = "3ad26e271c1a879bafcd181e065fe0ed53b542299a773c3188c9edb25b895ed1"
20
21inherit autotools gtk-doc
22
23EXTRA_OECONF = " --disable-man-pages "
24
25BBCLASSEXTEND = "native"
26
27PARALLEL_MAKE = ""
28
29do_configure_prepend() {
30 # Create ChangeLog to walk around automake error.
31 # " Makefile.am: error: required file './ChangeLog' not found "
32 touch ${S}/ChangeLog
33}