summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBian Naimeng <biannm@cn.fujitsu.com>2015-06-18 14:27:24 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-06-23 12:41:53 +0200
commite48d73e842a236b4a76ab6761e1addc1f40fbd0b (patch)
treeaae71eb4fa2462698984727e5bdf0e3f19b65d1e
parente9ea7bed891373c4bf767daa7e8bac3891122f1b (diff)
downloadmeta-openembedded-e48d73e842a236b4a76ab6761e1addc1f40fbd0b.tar.gz
imsettings: add new recipe
imsettings is a delivery framework for general input-method configuration Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch18
-rw-r--r--meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb29
2 files changed, 47 insertions, 0 deletions
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 000000000..d42358d69
--- /dev/null
+++ b/meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch
@@ -0,0 +1,18 @@
1gtk+ is required by linnotify. So make sure gtk be linked before libnotify
2
3Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
4
5diff -Nurp imsettings-1.6.7.orig/configure.ac imsettings-1.6.7/configure.ac
6--- imsettings-1.6.7.orig/configure.ac 2013-11-26 16:09:09.000000000 +0800
7+++ imsettings-1.6.7/configure.ac 2014-12-30 11:27:44.370003209 +0800
8@@ -93,8 +93,8 @@ PKG_CHECK_MODULES(LIBNOTIFY, libnotify,
9 has_old_libnotify=yes
10 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= $GTK_REQUIRED)
11 AC_DEFINE(HAS_OLD_LIBNOTIFY,, [Using older libnotify])
12- IMDAEMON_CFLAGS="$GTK_CFLAGS $LIBNOTIFY_OLD_CFLAGS"
13- IMDAEMON_LIBS="$GTK_LIBS $LIBNOTIFY_OLD_LIBS"],[
14+ IMDAEMON_CFLAGS="$LIBNOTIFY_OLD_CFLAGS $GTK_CFLAGS"
15+ IMDAEMON_LIBS="$LIBNOTIFY_OLD_LIBS $GTK_LIBS"],[
16 has_old_libnotify=no
17 IMDAEMON_CFLAGS="$LIBNOTIFY_CFLAGS"
18 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 000000000..91443d7b6
--- /dev/null
+++ b/meta-ruby/recipes-extended/imsettings/imsettings_1.6.8.bb
@@ -0,0 +1,29 @@
1SUMMARY = "Delivery framework for general Input Method configuration"
2DESCRIPTION = "IMSettings is a framework that delivers Input Method \
3settings and applies the changes so they take effect \
4immediately without any need to restart applications \
5or the desktop. \
6This package contains the core DBus services and some utilities."
7HOMEPAGE = "http://code.google.com/p/imsettings/"
8SECTION = "Applications/System"
9
10inherit autotools gtk-doc
11
12SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2 \
13 file://gtk-is-required-by-notify.patch"
14
15SRC_URI[md5sum] = "c31429f1d60e36d7f811f871c75b6c41"
16SRC_URI[sha256sum] = "2620ffbf9a6dc842dbf994b4773d4fe355eb77076ccf33f726ba63f16c0d08ba"
17
18LICENSE = "LGPLv2+"
19LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
20
21EXTRA_OECONF = "--with-xinputsh=50-xinput.sh \
22 --disable-static \
23 "
24
25DEPENDS = "gtk+ gconf libnotify dbus-glib libgxim"
26
27RDEPENDS_${PN} += "bash"
28
29FILES_${PN} += "${datadir}/dbus-1/*"