Porting some recipes from openembedded
cover Porting some recipes from openembedded
Porting some recipes from openembedded.
Bian Naimeng (3):
Porting dash from openembedded and upgrade to 0.5.8 Porting anthy from openembedded and upgrade to 9100h Porting eggdbus from openembedded.
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 + meta-oe/recipes-extended/dash/dash_0.5.8.bb | 27 + .../recipes-support/anthy/anthy-native_9100h.bb | 7 + meta-oe/recipes-support/anthy/anthy.inc | 26 + meta-oe/recipes-support/anthy/anthy/2ch_t.patch | 5062 ++++++++++++++++++++ .../anthy/anthy/native-helpers.patch | 50 + .../anthy/anthy/not_build_elc.patch | 16 + .../anthy/anthy/target-helpers.patch | 111 + meta-oe/recipes-support/anthy/anthy_9100h.bb | 23 + 11 files changed, 5425 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 create mode 100644 meta-oe/recipes-extended/dash/dash_0.5.8.bb create mode 100644 meta-oe/recipes-support/anthy/anthy-native_9100h.bb create mode 100644 meta-oe/recipes-support/anthy/anthy.inc create mode 100644 meta-oe/recipes-support/anthy/anthy/2ch_t.patch create mode 100644 meta-oe/recipes-support/anthy/anthy/native-helpers.patch create mode 100644 meta-oe/recipes-support/anthy/anthy/not_build_elc.patch create mode 100644 meta-oe/recipes-support/anthy/anthy/target-helpers.patch create mode 100644 meta-oe/recipes-support/anthy/anthy_9100h.bb
Signature · 1 line
1.9.1
PATCH 1/3 Porting dash from openembedded and upgrade to 0.5.8
--- meta-oe/recipes-extended/dash/dash_0.5.8.bb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-oe/recipes-extended/dash/dash_0.5.8.bb
meta-oe/recipes-extended/dash/dash_0.5.8.bb new file +27 -0
@@ -0,0 +1,27 @@ +DESCRIPTION = "Small and fast POSIX-compliant shell" +HOMEPAGE = "http://gondor.apana.org.au/~herbert/dash/" +SECTION = "System Environment/Shells" +LICENSE = "BSD GPLv2+" + +inherit autotools update-alternatives + +SRC_URI = "http://gondor.apana.org.au/~herbert/dash/files/${PN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "5c152209680dab3c319e8923f6c51378" +SRC_URI[sha256sum] = "c6db3a237747b02d20382a761397563d813b306c020ae28ce25a1c3915fac60f" +LIC_FILES_CHKSUM = "file://COPYING;md5=b5262b4a1a1bff72b48e935531976d2e" + +EXTRA_OECONF += "--bindir=${base_bindir}" + +ALTERNATIVE_${PN} = "sh" +ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" +ALTERNATIVE_TARGET[sh] = "${base_bindir}/dash" +ALTERNATIVE_PRIORITY = "10" + +pkg_postinst_${PN} () { + grep -q "^${base_bindir}/dash$" $D${sysconfdir}/shells || echo ${base_bindir}/dash >> $D${sysconfdir}/shells +} + +pkg_postrm_${PN} () { + printf "$(grep -v "^${base_bindir}/dash$" $D${sysconfdir}/shells)\n" > $D${sysconfdir}/shells +}
Signature · 1 line
1.9.1
Re: [PATCH 1/3] Porting dash from openembedded and upgrade to 0.5.8
meta-oe/recipes-extended/dash/dash_0.5.8.bb line 1
Quoted 13 lines · Bian Naimeng
Signed-off-by Bian Naimeng <[email protected]>--- meta-oe/recipes-extended/dash/dash_0.5.8.bb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-oe/recipes-extended/dash/dash_0.5.8.bbmeta-oe/recipes-extended/dash/dash_0.5.8.bb new file +1
-0@@ -0,0 +1,27 @@ +DESCRIPTION = "Small and fast POSIX-compliant shell"
This should be SUMMARY
This time I'll change it when cherry-picking.
Quoted 34 lines
meta-oe/recipes-extended/dash/dash_0.5.8.bb new file +26
-0+HOMEPAGE = "http://gondor.apana.org.au/~herbert/dash/" +SECTION = "System Environment/Shells" +LICENSE = "BSD GPLv2+" + +inherit autotools update-alternatives + +SRC_URI = "http://gondor.apana.org.au/~herbert/dash/files/${PN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "5c152209680dab3c319e8923f6c51378" +SRC_URI[sha256sum] = "c6db3a237747b02d20382a761397563d813b306c020ae28ce25a1c3915fac60f" +LIC_FILES_CHKSUM = "file://COPYING;md5=b5262b4a1a1bff72b48e935531976d2e" + +EXTRA_OECONF += "--bindir=${base_bindir}" + +ALTERNATIVE_${PN} = "sh" +ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" +ALTERNATIVE_TARGET[sh] = "${base_bindir}/dash" +ALTERNATIVE_PRIORITY = "10" + +pkg_postinst_${PN} () { + grep -q "^${base_bindir}/dash$" $D${sysconfdir}/shells || echo ${base_bindir}/dash >> $D${sysconfdir}/shells +} + +pkg_postrm_${PN} () { + printf "$(grep -v "^${base_bindir}/dash$" $D${sysconfdir}/shells)\n" > $D${sysconfdir}/shells +}Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH 2/3 Porting anthy from openembedded and upgrade to 9100h
In reply to Bian Naimeng--- .../recipes-support/anthy/anthy-native_9100h.bb | 7 + meta-oe/recipes-support/anthy/anthy.inc | 26 + meta-oe/recipes-support/anthy/anthy/2ch_t.patch | 5062 ++++++++++++++++++++ .../anthy/anthy/native-helpers.patch | 50 + .../anthy/anthy/not_build_elc.patch | 16 + .../anthy/anthy/target-helpers.patch | 111 + meta-oe/recipes-support/anthy/anthy_9100h.bb | 23 + 7 files changed, 5295 insertions(+) create mode 100644 meta-oe/recipes-support/anthy/anthy-native_9100h.bb create mode 100644 meta-oe/recipes-support/anthy/anthy.inc create mode 100644 meta-oe/recipes-support/anthy/anthy/2ch_t.patch create mode 100644 meta-oe/recipes-support/anthy/anthy/native-helpers.patch create mode 100644 meta-oe/recipes-support/anthy/anthy/not_build_elc.patch create mode 100644 meta-oe/recipes-support/anthy/anthy/target-helpers.patch create mode 100644 meta-oe/recipes-support/anthy/anthy_9100h.bb
meta-oe/recipes-support/anthy/anthy-native_9100h.bb new file +7 -0
@@ -0,0 +1,7 @@ +require anthy.inc + +PR = "r0" + +SRC_URI += "file://native-helpers.patch " + +inherit native
meta-oe/recipes-support/anthy/anthy.inc new file +26 -0
@@ -0,0 +1,26 @@ +DESCRIPTION = "A Japanese input method" +DESCRIPTION_anthy = "A Japanese input method (backend, dictionary and utility)" +DESCRIPTION_libanthy0 = "Anthy runtime library" +DESCRIPTION_libanthy-dev = "Anthy static library, headers and documets for developers" +AUTHOR = "Anthy Developers <[email protected]>" +HOMEPAGE = "http://anthy.sourceforge.jp" +SECTION = "inputmethods" +SECTION_libanthy0 = "libs/inputmethods" +SECTION_libanthy-dev = "devel/libs" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=11f384074d8e93e263b5664ef08a411a" + +SRC_URI = "http://osdn.dl.sourceforge.jp/anthy/37536/anthy-9100h.tar.gz \ + file://not_build_elc.patch \ + file://2ch_t.patch \ + " + +SRC_URI[md5sum] = "1f558ff7ed296787b55bb1c6cf131108" +SRC_URI[sha256sum] = "d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547" + +inherit autotools pkgconfig + +LEAD_SONAME = "libanthy.so.0" +RDEPENDS_anthy = "libanthy0" +
meta-oe/recipes-support/anthy/anthy/2ch_t.patch new file +5062 -0
2,967 lines not on this page · raw message
meta-oe/recipes-support/anthy/anthy/native-helpers.patch new file +50 -0
50 lines not on this page · raw message
meta-oe/recipes-support/anthy/anthy/not_build_elc.patch new file +16 -0
Lines of this file are not shown. View the raw message.
meta-oe/recipes-support/anthy/anthy/target-helpers.patch new file +111 -0
111 lines not on this page · raw message
meta-oe/recipes-support/anthy/anthy_9100h.bb new file +23 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.9.1
Part of the diff is not shown here. View the raw message.
PATCH 3/3 Porting eggdbus from openembedded.
In reply to Bian Naimeng--- 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
meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch new file +34 -0
@@ -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.* \
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +28 -0
@@ -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 \
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +41 -0
41 lines not on this page · raw message
Signature · 1 line
1.9.1
Re: [PATCH 3/3] Porting eggdbus from openembedded.
Quoted 3 lines · Bian Naimeng
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb | 41++++++++++++++++++++++
eggdbus hasn't been touched since 2009... what's the rationale for adding something that's been unmaintained for five years and has had a replacement in the form of GDBus for four years to meta-oe, instead of your own layer (or porting to GDBus).
Ross
Re: [PATCH 3/3] Porting eggdbus from openembedded.
In reply to Bian NaimengQuoted 90 lines · Bian Naimeng
Signed-off-by Bian Naimeng <[email protected]>--- 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.bbmeta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch new file +34
-0@@ -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.* \meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +28
-0@@ -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 \meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +0
-0
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb line 10
Quoted 10 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +10
-0@@ -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.
Quoted 39 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +31
-0+ +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 +} +Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 3/3] Porting eggdbus from openembedded.
Quoted 104 lines · Martin Jansa
Quoted 90 lines · Bian Naimeng
Signed-off-by Bian Naimeng <[email protected]>--- 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.bbmeta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch new file +34
-0@@ -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.* \meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +28
-0@@ -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 \meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +0
-0meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb line 10
Quoted 10 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +10
-0@@ -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.
Quoted 13 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb line 23
Quoted 13 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +13
-0+ +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 = "http://cgit.freedesktop.org/~david/${BPN}/snapshot/${BPN}-${PV}.tar.bz2 \ file://gtk-doc.patch \
"
SRC_URI_append_class-target = "file://marshal.patch"
would do the same (changed in master-next)
Quoted 9 lines
Quoted 9 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +9
-0+ +SRC_URI[md5sum] = "0a111faa54dfba2cf432c2c8e8a76e06" +SRC_URI[sha256sum] = "3ad26e271c1a879bafcd181e065fe0ed53b542299a773c3188c9edb25b895ed1" + +inherit autotools gtk-doc + +EXTRA_OECONF = " --disable-man-pages " + +BBCLASSEXTEND = "native"
Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb line 40
Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +8
-0+ +PARALLEL_MAKE = "" + +do_configure_prepend() { + # Create ChangeLog to walk around automake error. + # " Makefile.am: error: required file './ChangeLog' not found " + touch ${S}/ChangeLog +}
You should patch configure to pass foreign to automake instead.
Quoted 12 lines
Quoted 9 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +1
-0+Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-develSignature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [PATCH 3/3] Porting eggdbus from openembedded.
Quoted 186 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Jansa
Sent: Wednesday, November 19, 2014 10:56 PM
To: [email protected]
Subject: Re: [oe] [PATCH 3/3] Porting eggdbus from openembedded.Quoted 5 lines · Martin Jansa
Quoted 4 lines · Bian Naimeng
Signed-off-by Bian Naimeng <[email protected]>--- meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch | 34++++++++++++++++++
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch| 28 +++++++++++++++Quoted 1 line
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb | 41++++++++++++++++++++++
Quoted 7 lines
Quoted 7 lines
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.bbQuoted 11 lines
meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch line 3
Quoted 11 lines
meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch new file +3
-0@@ -0,0 +1,34 @@ +Upstream-Status: Inappropriate [configuration] + +Index: eggdbus-0.6/docs/eggdbus/Makefile.am+===================================================================
Quoted 4 lines
Quoted 4 lines
meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch new file +4
-0+--- 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=Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch line 19
Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch new file +7
-0+ +-if ENABLE_GTK_DOC +-include $(top_srcdir)/gtk-doc.make -else CLEANFILES = -endif + + CLEANFILES += *~ \ + eggdbus-scan.* \ +Index: eggdbus-0.6/docs/tests/Makefile.am+===================================================================
Quoted 13 lines
Quoted 13 lines
meta-oe/recipes-core/eggdbus/eggdbus/gtk-doc.patch new file +10
-0+--- 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.* \meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +0
-0Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 3
Quoted 8 lines
index 0000000..a605a34
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +3
-0@@ -0,0 +1,28 @@ +Upstream-Status: Inappropriate [configuration] + +Index: eggdbus-0.6/src/eggdbus/Makefile.am+===================================================================
Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch
Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +3
-0+--- eggdbus-0.6.orig/src/eggdbus/Makefile.am ++++ eggdbus-0.6/src/eggdbus/Makefile.am +@@ -130,7 +130,7 @@ BUILT_SOURCES =\Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch
Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +3
-0+ $(NULL) + + eggdbus-built-sources.stamp : eggdbus-binding-tool Makefile.amorg.freedesktop.DBus.xml org.freedesktop.DBus.Peer.xml org.freedesktop.DBus.Properties.xml org.freedesktop.DBus.Introspectable.xml eggdbus-glib-genmarshal
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 10
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0+-EGG_DBUS_GENMARSHAL=$(top_builddir)/src/eggdbus/eggdbus-glib-g enmarshal $(top_builddir)/src/eggdbus/eggdbus-binding-tool \Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 11
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0++ EGG_DBUS_GENMARSHAL=eggdbus-glib-genmarshaleggdbus-binding-tool
\Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 12
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0+ --namespace EggDBus\Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 13
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0+ --dbus-namespace org.freedesktop.DBus\Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 14
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0+ --interfaces-only\Quoted 2 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 16
Quoted 2 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0+Index: eggdbus-0.6/src/tests/Makefile.am+===================================================================
Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch
Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +3
-0+--- eggdbus-0.6.orig/src/tests/Makefile.am ++++ eggdbus-0.6/src/tests/Makefile.am +@@ -25,7 +25,7 @@ BUILT_SOURCES =\Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch
Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +3
-0+ $(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
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 22
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0+-EGG_DBUS_GENMARSHAL=$(top_builddir)/src/eggdbus/eggdbus-glib-g enmarshal $(top_builddir)/src/eggdbus/eggdbus-binding-tool \Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 23
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0++ EGG_DBUS_GENMARSHAL=eggdbus-glib-genmarshaleggdbus-binding-tool
\Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 24
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0+ --namespace "Test"\Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 25
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0+ --dbus-namespace "com.example"\Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch line 26
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus/marshal.patch new file +1
-0+ --include-header testtypes.h\Quoted 7 lines
Quoted 7 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +0
-0@@ -0,0 +1,41 @@Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb
Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +8
-0+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 \
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb line 9
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +1
-0+file://src/eggdbus/eggdbus.h;md5=6b312aef57ed8d738b3f131ad037d6c2"
Quoted 7 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb line 10
Quoted 1 line
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +1
-0+PR = "r0"Will drop PR and change indentation to use 4 spaces.
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb
Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +3
-0+ +DEPENDS = "dbus glib-2.0 dbus-glib eggdbus-native" +DEPENDS_virtclass-native = "dbus-native glib-2.0-nativedbus-glib-native"
Quoted 2 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb line 15
Quoted 2 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +2
-0+ +BASE_SRC_URI ="http://cgit.freedesktop.org/~david/${BPN}/snapshot/${BPN}-${PV}.tar.b z2 \
Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb line 23
Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +8
-0+ file://gtk-doc.patch \ + " + +SRC_URI = "${BASE_SRC_URI} \ + file://marshal.patch;apply=yes \ + " + +SRC_URI_virtclass-native = "${BASE_SRC_URI}"
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"would do the same (changed in master-next)
Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb
Quoted 3 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +3
-0+ +SRC_URI[md5sum] = "0a111faa54dfba2cf432c2c8e8a76e06" +SRC_URI[sha256sum] ="
3ad26e271c1a879bafcd181e065fe0ed53b542299a773c3188c9edb25b895ed1"Quoted 4 lines
Quoted 4 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +4
-0+ +inherit autotools gtk-doc + +EXTRA_OECONF = " --disable-man-pages "Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb
Quoted 8 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +8
-0+ +BBCLASSEXTEND = "native" + +PARALLEL_MAKE = "" + +do_configure_prepend() { + # Create ChangeLog to walk around automake error. + # " Makefile.am: error: required file './ChangeLog' not found"
Quoted 4 lines
Quoted 2 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb line 40
Quoted 2 lines
meta-oe/recipes-core/eggdbus/eggdbus_0.6.bb new file +2
-0+ touch ${S}/ChangeLog +}You should patch configure to pass foreign to automake instead.
Thanks for your advice.
I will try to fix it, and send a patch for master-next.
thanks,
Bian