diff options
Diffstat (limited to 'meta/packages/matchbox-keyboard')
-rwxr-xr-x | meta/packages/matchbox-keyboard/files/80matchboxkeyboard | 6 | ||||
-rw-r--r-- | meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb | 17 |
2 files changed, 13 insertions, 10 deletions
diff --git a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard index 60d9ff0e5d..8af3bd59a5 100755 --- a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard +++ b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard | |||
@@ -10,9 +10,8 @@ if [ "$DISPLAY_CAN_ROTATE" = "1" ]; then | |||
10 | elif [ "$HAVE_KEYBOARD_LANDSCAPE" = "1" -a "$HAVE_KEYBOARD_PORTRAIT" = "0" ]; then | 10 | elif [ "$HAVE_KEYBOARD_LANDSCAPE" = "1" -a "$HAVE_KEYBOARD_PORTRAIT" = "0" ]; then |
11 | CMD="matchbox-keyboard -d -o portrait" | 11 | CMD="matchbox-keyboard -d -o portrait" |
12 | fi | 12 | fi |
13 | elif [ "$HAVE_KEYBOARD" = "1" ]; then | 13 | elif [ "$HAVE_KEYBOARD" = "0" ]; then |
14 | # Have a physical keyboard, nothing to do | 14 | CMD="matchbox-keyboard -d" |
15 | exit | ||
16 | fi | 15 | fi |
17 | 16 | ||
18 | # Delay to make sure the window manager is active | 17 | # Delay to make sure the window manager is active |
@@ -20,4 +19,3 @@ fi | |||
20 | if [ "$CMD" ]; then | 19 | if [ "$CMD" ]; then |
21 | (sleep 2 && $CMD) & | 20 | (sleep 2 && $CMD) & |
22 | fi | 21 | fi |
23 | |||
diff --git a/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb b/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb index a179883a58..20461a40d7 100644 --- a/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb +++ b/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | DESCRIPTION = "Matchbox virtual keyboard for X11" | 1 | DESCRIPTION = "Matchbox virtual keyboard for X11" |
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | DEPENDS = "libfakekey expat libxft gtk+" | 3 | DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2" |
4 | RDEPENDS = "formfactor" | 4 | RDEPENDS = "formfactor" |
5 | SECTION = "x11" | 5 | SECTION = "x11" |
6 | PV = "0.0+svn${SRCDATE}" | 6 | PV = "0.0+svn${SRCDATE}" |
7 | PR = "r5" | 7 | PR = "r7" |
8 | 8 | ||
9 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ | 9 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ |
10 | file://80matchboxkeyboard" | 10 | file://80matchboxkeyboard" |
@@ -13,17 +13,22 @@ S = "${WORKDIR}/${PN}" | |||
13 | 13 | ||
14 | inherit autotools pkgconfig gettext | 14 | inherit autotools pkgconfig gettext |
15 | 15 | ||
16 | EXTRA_OECONF = "--disable-cairo --enable-gtk-im" | 16 | EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet" |
17 | 17 | ||
18 | PACKAGES += "matchbox-keyboard-im matchbox-keyboard-im-dbg" | 18 | PACKAGES += "matchbox-keyboard-im matchbox-keyboard-im-dbg \ |
19 | matchbox-keyboard-applet matchbox-keyboard-applet-dbg" | ||
19 | 20 | ||
20 | FILES_${PN} = "${bindir}/* \ | 21 | FILES_${PN} = "${bindir}/* \ |
21 | ${sysconfdir} \ | 22 | ${sysconfdir} \ |
22 | ${datadir}/applications \ | 23 | ${datadir}/applications \ |
23 | ${datadir}/pixmaps \ | 24 | ${datadir}/pixmaps \ |
24 | ${datadir}/matchbox-keyboard" | 25 | ${datadir}/matchbox-keyboard" |
26 | |||
25 | FILES_matchbox-keyboard-im = "${libdir}/gtk-2.0/*/immodules/*.so" | 27 | FILES_matchbox-keyboard-im = "${libdir}/gtk-2.0/*/immodules/*.so" |
26 | FILES_matchbox-keyboard-dbg += "${libdir}/gtk-2.0/*/immodules/.debug" | 28 | FILES_matchbox-keyboard-im-dbg += "${libdir}/gtk-2.0/*/immodules/.debug" |
29 | |||
30 | FILES_matchbox-keyboard-applet = "${libdir}/matchbox-panel/*.so" | ||
31 | FILES_matchbox-keyboard-applet-dbg += "${libdir}/matchbox-panel/.debug" | ||
27 | 32 | ||
28 | do_install_append () { | 33 | do_install_append () { |
29 | install -d ${D}/${sysconfdir}/X11/Xsession.d/ | 34 | install -d ${D}/${sysconfdir}/X11/Xsession.d/ |