diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-04-14 16:53:55 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 18:05:23 +0100 |
commit | c8044c4a169800db091b97b427692d421431223c (patch) | |
tree | b83a97a6dc94e777c91811cc3106bf640a4a8c0b | |
parent | fdbf32bb766c7e7587782f40df79a1ecbd0fed40 (diff) | |
download | poky-c8044c4a169800db091b97b427692d421431223c.tar.gz |
matchbox-keyboard: Enable GTK+3 IM module
* Build GTK+3 im module (and no GTK+2 by default)
* Fix FILES for this case
(From OE-Core rev: 92436e402ac6222b625bbf99f6f23d39a58720fc)
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb index fb4c6e9166..c7870cf083 100644 --- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb +++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb | |||
@@ -26,7 +26,7 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
26 | 26 | ||
27 | EXTRA_OECONF = "--disable-cairo" | 27 | EXTRA_OECONF = "--disable-cairo" |
28 | 28 | ||
29 | PACKAGECONFIG ??= "gtk2-im applet" | 29 | PACKAGECONFIG ??= "gtk3-im applet" |
30 | PACKAGECONFIG[applet] = "--enable-applet,--disable-applet,matchbox-panel-2" | 30 | PACKAGECONFIG[applet] = "--enable-applet,--disable-applet,matchbox-panel-2" |
31 | PACKAGECONFIG[gtk2-im] = "--enable-gtk-im,--disable-gtk-im,gtk+" | 31 | PACKAGECONFIG[gtk2-im] = "--enable-gtk-im,--disable-gtk-im,gtk+" |
32 | PACKAGECONFIG[gtk3-im] = "--enable-gtk3-im,--disable-gtk3-im,gtk+3" | 32 | PACKAGECONFIG[gtk3-im] = "--enable-gtk3-im,--disable-gtk3-im,gtk+3" |
@@ -39,7 +39,8 @@ FILES_${PN} = "${bindir}/ \ | |||
39 | ${datadir}/pixmaps \ | 39 | ${datadir}/pixmaps \ |
40 | ${datadir}/matchbox-keyboard" | 40 | ${datadir}/matchbox-keyboard" |
41 | 41 | ||
42 | FILES_${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so" | 42 | FILES_${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so \ |
43 | ${libdir}/gtk-3.0/*/immodules/*.so" | ||
43 | 44 | ||
44 | FILES_${PN}-applet = "${libdir}/matchbox-panel/*.so" | 45 | FILES_${PN}-applet = "${libdir}/matchbox-panel/*.so" |
45 | 46 | ||
@@ -49,6 +50,7 @@ do_install_append () { | |||
49 | install -m 755 ${WORKDIR}/80matchboxkeyboard.sh ${D}/${sysconfdir}/X11/Xsession.d/ | 50 | install -m 755 ${WORKDIR}/80matchboxkeyboard.sh ${D}/${sysconfdir}/X11/Xsession.d/ |
50 | 51 | ||
51 | rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la | 52 | rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la |
53 | rm -f ${D}${libdir}/gtk-3.0/*/immodules/*.la | ||
52 | rm -f ${D}${libdir}/matchbox-panel/*.la | 54 | rm -f ${D}${libdir}/matchbox-panel/*.la |
53 | } | 55 | } |
54 | 56 | ||