-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imsettings is a delivery framework for general input-method configuration Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
meta-ruby/recipes-extended/imsettings/imsettings/gtk-is-required-by-notify.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/*" |