* [meta-ruby][PATCH] imsettings: add new recipe
@ 2015-06-18 6:27 Bian Naimeng
2015-06-23 11:39 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Bian Naimeng @ 2015-06-18 6:27 UTC (permalink / raw)
To: openembedded-devel
imsettings is a delivery framework for general input-method configuration
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
---
.../imsettings/gtk-is-required-by-notify.patch | 18 ++++++++++++++
.../imsettings/imsettings_1.6.8.bb | 29 ++++++++++++++++++++++
2 files changed, 47 insertions(+)
create mode 100644 meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch
create mode 100644 meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
diff --git a/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch b/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch
new file mode 100644
index 0000000..d42358d
--- /dev/null
+++ b/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch
@@ -0,0 +1,18 @@
+gtk+ is required by linnotify. So make sure gtk be linked before libnotify
+
+Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
+
+diff -Nurp imsettings-1.6.7.orig/configure.ac imsettings-1.6.7/configure.ac
+--- imsettings-1.6.7.orig/configure.ac 2013-11-26 16:09:09.000000000 +0800
++++ imsettings-1.6.7/configure.ac 2014-12-30 11:27:44.370003209 +0800
+@@ -93,8 +93,8 @@ PKG_CHECK_MODULES(LIBNOTIFY, libnotify,
+ has_old_libnotify=yes
+ PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
+ AC_DEFINE(HAS_OLD_LIBNOTIFY,, [Using older libnotify])
+- IMDAEMON_CFLAGS="$GTK_CFLAGS $LIBNOTIFY_OLD_CFLAGS"
+- IMDAEMON_LIBS="$GTK_LIBS $LIBNOTIFY_OLD_LIBS"],[
++ IMDAEMON_CFLAGS="$LIBNOTIFY_OLD_CFLAGS $GTK_CFLAGS"
++ IMDAEMON_LIBS="$LIBNOTIFY_OLD_LIBS $GTK_LIBS"],[
+ has_old_libnotify=no
+ IMDAEMON_CFLAGS="$LIBNOTIFY_CFLAGS"
+ IMDAEMON_LIBS="$LIBNOTIFY_LIBS"])
diff --git a/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb b/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
new file mode 100644
index 0000000..91443d7
--- /dev/null
+++ b/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
@@ -0,0 +1,29 @@
+SUMMARY = "Delivery framework for general Input Method configuration"
+DESCRIPTION = "IMSettings is a framework that delivers Input Method \
+settings and applies the changes so they take effect \
+immediately without any need to restart applications \
+or the desktop. \
+This package contains the core DBus services and some utilities."
+HOMEPAGE = "http://code.google.com/p/imsettings/"
+SECTION = "Applications/System"
+
+inherit autotools gtk-doc
+
+SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2 \
+ file://gtk-is-required-by-notify.patch"
+
+SRC_URI[md5sum] = "c31429f1d60e36d7f811f871c75b6c41"
+SRC_URI[sha256sum] = "2620ffbf9a6dc842dbf994b4773d4fe355eb77076ccf33f726ba63f16c0d08ba"
+
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
+
+EXTRA_OECONF = "--with-xinputsh=50-xinput.sh \
+ --disable-static \
+ "
+
+DEPENDS = "gtk+ gconf libnotify dbus-glib libgxim"
+
+RDEPENDS_${PN} += "bash"
+
+FILES_${PN} += "${datadir}/dbus-1/*"
--
1.8.4.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-ruby][PATCH] imsettings: add new recipe
2015-06-18 6:27 [meta-ruby][PATCH] imsettings: add new recipe Bian Naimeng
@ 2015-06-23 11:39 ` Martin Jansa
2015-06-24 5:39 ` Bian, Naimeng
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-06-23 11:39 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 5264 bytes --]
On Thu, Jun 18, 2015 at 02:27:24PM +0800, Bian Naimeng wrote:
> imsettings is a delivery framework for general input-method configuration
>
> Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
> ---
> .../imsettings/gtk-is-required-by-notify.patch | 18 ++++++++++++++
> .../imsettings/imsettings_1.6.8.bb | 29 ++++++++++++++++++++++
> 2 files changed, 47 insertions(+)
> create mode 100644 meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch
> create mode 100644 meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
>
> diff --git a/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch b/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch
> new file mode 100644
> index 0000000..d42358d
> --- /dev/null
> +++ b/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch
> @@ -0,0 +1,18 @@
> +gtk+ is required by linnotify. So make sure gtk be linked before libnotify
> +
> +Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
> +
> +diff -Nurp imsettings-1.6.7.orig/configure.ac imsettings-1.6.7/configure.ac
> +--- imsettings-1.6.7.orig/configure.ac 2013-11-26 16:09:09.000000000 +0800
> ++++ imsettings-1.6.7/configure.ac 2014-12-30 11:27:44.370003209 +0800
> +@@ -93,8 +93,8 @@ PKG_CHECK_MODULES(LIBNOTIFY, libnotify,
> + has_old_libnotify=yes
> + PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
> + AC_DEFINE(HAS_OLD_LIBNOTIFY,, [Using older libnotify])
> +- IMDAEMON_CFLAGS="$GTK_CFLAGS $LIBNOTIFY_OLD_CFLAGS"
> +- IMDAEMON_LIBS="$GTK_LIBS $LIBNOTIFY_OLD_LIBS"],[
> ++ IMDAEMON_CFLAGS="$LIBNOTIFY_OLD_CFLAGS $GTK_CFLAGS"
> ++ IMDAEMON_LIBS="$LIBNOTIFY_OLD_LIBS $GTK_LIBS"],[
> + has_old_libnotify=no
> + IMDAEMON_CFLAGS="$LIBNOTIFY_CFLAGS"
> + IMDAEMON_LIBS="$LIBNOTIFY_LIBS"])
> diff --git a/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb b/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
> new file mode 100644
> index 0000000..91443d7
> --- /dev/null
> +++ b/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
> @@ -0,0 +1,29 @@
> +SUMMARY = "Delivery framework for general Input Method configuration"
> +DESCRIPTION = "IMSettings is a framework that delivers Input Method \
> +settings and applies the changes so they take effect \
> +immediately without any need to restart applications \
> +or the desktop. \
> +This package contains the core DBus services and some utilities."
> +HOMEPAGE = "http://code.google.com/p/imsettings/"
> +SECTION = "Applications/System"
> +
> +inherit autotools gtk-doc
> +
> +SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2 \
> + file://gtk-is-required-by-notify.patch"
> +
> +SRC_URI[md5sum] = "c31429f1d60e36d7f811f871c75b6c41"
> +SRC_URI[sha256sum] = "2620ffbf9a6dc842dbf994b4773d4fe355eb77076ccf33f726ba63f16c0d08ba"
> +
> +LICENSE = "LGPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
> +
> +EXTRA_OECONF = "--with-xinputsh=50-xinput.sh \
> + --disable-static \
> + "
> +
> +DEPENDS = "gtk+ gconf libnotify dbus-glib libgxim"
> +
> +RDEPENDS_${PN} += "bash"
> +
> +FILES_${PN} += "${datadir}/dbus-1/*"
Fails to build:
| NOTE: Executing intltoolize --copy --force --automake
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/imsettings/1.6.8-r0/build/aclocal-copy/" autoreconf --verbose --install --force --exclude=autopoint -I /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/imsettings/1.6.8-r0/imsettings-1.6.8/m4macros/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/imsettings/1.6.8-r0/build/aclocal-copy/ -I /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/imsettings/1.6.8-r0/imsettings-1.6.8/m4macros/ -I /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/imsettings/1.6.8-r0/imsettings-1.6.8/m4macros/ --force \
| aclocal: error: non-option arguments are not accepted: '\'.
| aclocal: Try '/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/aclocal --help' for more information.
| autoreconf: aclocal failed with exit status: 1
| ERROR: autoreconf execution failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/imsettings/1.6.8-r0/temp/log.do_configure.6158)
NOTE: recipe imsettings-1.6.8-r0: task do_configure: Failed
ERROR: Task 11347 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb, do_configure) failed with exit code '1'
> --
> 1.8.4.2
>
> --
> _______________________________________________
> 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-ruby][PATCH] imsettings: add new recipe
2015-06-23 11:39 ` Martin Jansa
@ 2015-06-24 5:39 ` Bian, Naimeng
0 siblings, 0 replies; 3+ messages in thread
From: Bian, Naimeng @ 2015-06-24 5:39 UTC (permalink / raw)
To: openembedded-devel
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Martin Jansa
> Sent: Tuesday, June 23, 2015 7:40 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-ruby][PATCH] imsettings: add new recipe
>
> On Thu, Jun 18, 2015 at 02:27:24PM +0800, Bian Naimeng wrote:
> > imsettings is a delivery framework for general input-method
> > configuration
> >
> > Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
> > ---
> > .../imsettings/gtk-is-required-by-notify.patch | 18 ++++++++++++++
> > .../imsettings/imsettings_1.6.8.bb | 29
> ++++++++++++++++++++++
> > 2 files changed, 47 insertions(+)
> > create mode 100644
> > meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-no
> > tify.patch create mode 100644
> > meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
> >
> > diff --git
> > a/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-
> > notify.patch
> > b/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-
> > notify.patch
> > new file mode 100644
> > index 0000000..d42358d
> > --- /dev/null
> > +++ b/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required
> > +++ -by-notify.patch
> > @@ -0,0 +1,18 @@
> > +gtk+ is required by linnotify. So make sure gtk be linked before
> > +gtk+ libnotify
> > +
> > +Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
> > +
> > +diff -Nurp imsettings-1.6.7.orig/configure.ac
> imsettings-1.6.7/configure.ac
> > +--- imsettings-1.6.7.orig/configure.ac 2013-11-26
> 16:09:09.000000000 +0800
> > ++++ imsettings-1.6.7/configure.ac 2014-12-30 11:27:44.370003209 +0800
> > +@@ -93,8 +93,8 @@ PKG_CHECK_MODULES(LIBNOTIFY, libnotify,
> > + has_old_libnotify=yes
> > + PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
> > + AC_DEFINE(HAS_OLD_LIBNOTIFY,, [Using older libnotify])
> > +- IMDAEMON_CFLAGS="$GTK_CFLAGS $LIBNOTIFY_OLD_CFLAGS"
> > +- IMDAEMON_LIBS="$GTK_LIBS $LIBNOTIFY_OLD_LIBS"],[
> > ++ IMDAEMON_CFLAGS="$LIBNOTIFY_OLD_CFLAGS $GTK_CFLAGS"
> > ++ IMDAEMON_LIBS="$LIBNOTIFY_OLD_LIBS $GTK_LIBS"],[
> > + has_old_libnotify=no
> > + IMDAEMON_CFLAGS="$LIBNOTIFY_CFLAGS"
> > + IMDAEMON_LIBS="$LIBNOTIFY_LIBS"])
> > diff --git a/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
> > b/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
> > new file mode 100644
> > index 0000000..91443d7
> > --- /dev/null
> > +++ b/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
> > @@ -0,0 +1,29 @@
> > +SUMMARY = "Delivery framework for general Input Method configuration"
> > +DESCRIPTION = "IMSettings is a framework that delivers Input Method \
> > +settings and applies the changes so they take effect \ immediately
> > +without any need to restart applications \ or the desktop. \ This
> > +package contains the core DBus services and some utilities."
> > +HOMEPAGE = "http://code.google.com/p/imsettings/"
> > +SECTION = "Applications/System"
> > +
> > +inherit autotools gtk-doc
> > +
> > +SRC_URI =
> "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2 \
> > + file://gtk-is-required-by-notify.patch"
> > +
> > +SRC_URI[md5sum] = "c31429f1d60e36d7f811f871c75b6c41"
> > +SRC_URI[sha256sum] =
> "2620ffbf9a6dc842dbf994b4773d4fe355eb77076ccf33f726ba63f16c0d08ba"
> > +
> > +LICENSE = "LGPLv2+"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
> > +
> > +EXTRA_OECONF = "--with-xinputsh=50-xinput.sh \
> > + --disable-static \
> > + "
> > +
> > +DEPENDS = "gtk+ gconf libnotify dbus-glib libgxim"
> > +
> > +RDEPENDS_${PN} += "bash"
> > +
> > +FILES_${PN} += "${datadir}/dbus-1/*"
>
> Fails to build:
> | NOTE: Executing intltoolize --copy --force --automake
> | NOTE: Executing ACLOCAL="aclocal
> | --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-
> | oe-linux-gnueabi/imsettings/1.6.8-r0/build/aclocal-copy/" autoreconf
> | --verbose --install --force --exclude=autopoint -I
> | /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueab
> | i/imsettings/1.6.8-r0/imsettings-1.6.8/m4macros/
> | autoreconf: Entering directory `.'
> | autoreconf: configure.ac: not using Gettext
> | autoreconf: running: aclocal
> | --system-acdir=/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-
> | oe-linux-gnueabi/imsettings/1.6.8-r0/build/aclocal-copy/ -I
> | /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueab
> | i/imsettings/1.6.8-r0/imsettings-1.6.8/m4macros/ -I
> | /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueab
> | i/imsettings/1.6.8-r0/imsettings-1.6.8/m4macros/ --force \
> | aclocal: error: non-option arguments are not accepted: '\'.
> | aclocal: Try
> '/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/a
> clocal --help' for more information.
> | autoreconf: aclocal failed with exit status: 1
> | ERROR: autoreconf execution failed.
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_configure (log file is located at
> | /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueab
> | i/imsettings/1.6.8-r0/temp/log.do_configure.6158)
> NOTE: recipe imsettings-1.6.8-r0: task do_configure: Failed
> ERROR: Task 11347
> (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-ruby/recipes-exten
> ded/imsettings/imsettings_1.6.8.bb, do_configure) failed with exit code '1'
>
Thanks for your test.
It has been fixed in the V2 patch.
Thanks
Bian
> > --
> > 1.8.4.2
> >
> > --
> > _______________________________________________
> > 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-24 5:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-18 6:27 [meta-ruby][PATCH] imsettings: add new recipe Bian Naimeng
2015-06-23 11:39 ` Martin Jansa
2015-06-24 5:39 ` Bian, Naimeng
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.