All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 3/3] Porting eggdbus from openembedded.
Date: Fri, 14 Nov 2014 13:01:38 +0100	[thread overview]
Message-ID: <20141114120138.GE2458@jama> (raw)
In-Reply-To: <1415956804-56497-4-git-send-email-biannm@cn.fujitsu.com>

[-- Attachment #1: Type: text/plain, Size: 5920 bytes --]

On Fri, Nov 14, 2014 at 05:20:04PM +0800, Bian Naimeng wrote:
> Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
> ---
>  meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch | 34 ++++++++++++++++++
>  meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch | 28 +++++++++++++++
>  meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb        | 41 ++++++++++++++++++++++
>  3 files changed, 103 insertions(+)
>  create mode 100644 meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch
>  create mode 100644 meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch
>  create mode 100644 meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb
> 
> 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 0000000..abd7ff4
> --- /dev/null
> +++ b/meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch
> @@ -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.*			\
> 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 0000000..a605a34
> --- /dev/null
> +++ b/meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch
> @@ -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										\
> 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 0000000..cfc9f8a
> --- /dev/null
> +++ b/meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb
> @@ -0,0 +1,41 @@
> +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"
> +PR = "r0"

Will drop PR and change indentation to use 4 spaces.

> +
> +DEPENDS = "dbus glib-2.0 dbus-glib eggdbus-native"
> +DEPENDS_virtclass-native = "dbus-native glib-2.0-native dbus-glib-native"
> +
> +BASE_SRC_URI = "http://cgit.freedesktop.org/~david/${BPN}/snapshot/${BPN}-${PV}.tar.bz2 \
> +		file://gtk-doc.patch \
> +		"
> +
> +SRC_URI = "${BASE_SRC_URI} \
> +	   file://marshal.patch;apply=yes \
> +	  "
> +
> +SRC_URI_virtclass-native = "${BASE_SRC_URI}"
> +
> +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
> +}
> +
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  parent reply	other threads:[~2014-11-14 12:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14  9:20 [PATCH 0/3] Porting some recipes from openembedded Bian Naimeng
2014-11-14  9:20 ` [PATCH 1/3] Porting dash from openembedded and upgrade to 0.5.8 Bian Naimeng
2014-11-14 12:00   ` Martin Jansa
2014-11-14  9:20 ` [PATCH 2/3] Porting anthy from openembedded and upgrade to 9100h Bian Naimeng
2014-11-14  9:20 ` [PATCH 3/3] Porting eggdbus from openembedded Bian Naimeng
2014-11-14 11:12   ` Burton, Ross
2014-11-14 12:01   ` Martin Jansa [this message]
2014-11-19 14:55     ` Martin Jansa
2014-11-20  0:29       ` Bian, Naimeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141114120138.GE2458@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.