diff options
author | Bian Naimeng <biannm@cn.fujitsu.com> | 2014-11-14 17:20:04 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-17 13:11:57 +0100 |
commit | edcf03b5fb576dbeae3784471aec8c2b7a9a04a8 (patch) | |
tree | 4a05ca936fab83f07cee2a0b9b0d4edc7ef093e2 /meta-oe/recipes-core | |
parent | 19153a5797c8c484bccc773505cbceff15b14cc6 (diff) | |
download | meta-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.patch | 34 | ||||
-rw-r--r-- | meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch | 28 | ||||
-rw-r--r-- | meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb | 33 |
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 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: 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.* \ | ||
19 | Index: 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 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: 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 \ | ||
16 | Index: 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 @@ | |||
1 | SUMMARY = "An alternative to dbug-glib." | ||
2 | DESCRIPTION = "An alternative to dbus-glib. It is designed specifically to \ | ||
3 | make it comfortable to work with very large and potentially \ | ||
4 | complex D-Bus services like e.g. DeviceKit-disks" | ||
5 | |||
6 | HOMEPAGE = "http://cgit.freedesktop.org/~david/eggdbus" | ||
7 | LICENSE = "LGPLv2+" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \ | ||
9 | file://src/eggdbus/eggdbus.h;md5=6b312aef57ed8d738b3f131ad037d6c2" | ||
10 | |||
11 | DEPENDS = "dbus glib-2.0 dbus-glib eggdbus-native" | ||
12 | DEPENDS_class-native = "dbus-native glib-2.0-native dbus-glib-native" | ||
13 | |||
14 | SRC_URI = "http://cgit.freedesktop.org/~david/${BPN}/snapshot/${BPN}-${PV}.tar.bz2 \ | ||
15 | file://gtk-doc.patch \ | ||
16 | " | ||
17 | SRC_URI_append_class-target = "file://marshal.patch" | ||
18 | SRC_URI[md5sum] = "0a111faa54dfba2cf432c2c8e8a76e06" | ||
19 | SRC_URI[sha256sum] = "3ad26e271c1a879bafcd181e065fe0ed53b542299a773c3188c9edb25b895ed1" | ||
20 | |||
21 | inherit autotools gtk-doc | ||
22 | |||
23 | EXTRA_OECONF = " --disable-man-pages " | ||
24 | |||
25 | BBCLASSEXTEND = "native" | ||
26 | |||
27 | PARALLEL_MAKE = "" | ||
28 | |||
29 | do_configure_prepend() { | ||
30 | # Create ChangeLog to walk around automake error. | ||
31 | # " Makefile.am: error: required file './ChangeLog' not found " | ||
32 | touch ${S}/ChangeLog | ||
33 | } | ||