summaryrefslogtreecommitdiffstats
path: root/meta/packages/matchbox-keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/matchbox-keyboard')
-rwxr-xr-xmeta/packages/matchbox-keyboard/files/80matchboxkeyboard6
-rw-r--r--meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb17
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
13elif [ "$HAVE_KEYBOARD" = "1" ]; then 13elif [ "$HAVE_KEYBOARD" = "0" ]; then
14 # Have a physical keyboard, nothing to do 14 CMD="matchbox-keyboard -d"
15 exit
16fi 15fi
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
20if [ "$CMD" ]; then 19if [ "$CMD" ]; then
21 (sleep 2 && $CMD) & 20 (sleep 2 && $CMD) &
22fi 21fi
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 @@
1DESCRIPTION = "Matchbox virtual keyboard for X11" 1DESCRIPTION = "Matchbox virtual keyboard for X11"
2LICENSE = "GPL" 2LICENSE = "GPL"
3DEPENDS = "libfakekey expat libxft gtk+" 3DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2"
4RDEPENDS = "formfactor" 4RDEPENDS = "formfactor"
5SECTION = "x11" 5SECTION = "x11"
6PV = "0.0+svn${SRCDATE}" 6PV = "0.0+svn${SRCDATE}"
7PR = "r5" 7PR = "r7"
8 8
9SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 9SRC_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
14inherit autotools pkgconfig gettext 14inherit autotools pkgconfig gettext
15 15
16EXTRA_OECONF = "--disable-cairo --enable-gtk-im" 16EXTRA_OECONF = "--disable-cairo --enable-gtk-im --enable-applet"
17 17
18PACKAGES += "matchbox-keyboard-im matchbox-keyboard-im-dbg" 18PACKAGES += "matchbox-keyboard-im matchbox-keyboard-im-dbg \
19 matchbox-keyboard-applet matchbox-keyboard-applet-dbg"
19 20
20FILES_${PN} = "${bindir}/* \ 21FILES_${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
25FILES_matchbox-keyboard-im = "${libdir}/gtk-2.0/*/immodules/*.so" 27FILES_matchbox-keyboard-im = "${libdir}/gtk-2.0/*/immodules/*.so"
26FILES_matchbox-keyboard-dbg += "${libdir}/gtk-2.0/*/immodules/.debug" 28FILES_matchbox-keyboard-im-dbg += "${libdir}/gtk-2.0/*/immodules/.debug"
29
30FILES_matchbox-keyboard-applet = "${libdir}/matchbox-panel/*.so"
31FILES_matchbox-keyboard-applet-dbg += "${libdir}/matchbox-panel/.debug"
27 32
28do_install_append () { 33do_install_append () {
29 install -d ${D}/${sysconfdir}/X11/Xsession.d/ 34 install -d ${D}/${sysconfdir}/X11/Xsession.d/