mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
matchbox-keyboard: autostart keyboard on keyboardless devices
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3744 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -4,14 +4,14 @@
|
|||||||
|
|
||||||
CMD=""
|
CMD=""
|
||||||
|
|
||||||
if [ "$DISPLAY_CAN_ROTATE" = "1" ]; then
|
if [ "$HAVE_KEYBOARD" = "0" ]; then
|
||||||
|
CMD="matchbox-keyboard -d"
|
||||||
|
elif [ "$DISPLAY_CAN_ROTATE" = "1" ]; then
|
||||||
if [ "$HAVE_KEYBOARD_PORTRAIT" = "1" -a "$HAVE_KEYBOARD_LANDSCAPE" = "0" ]; then
|
if [ "$HAVE_KEYBOARD_PORTRAIT" = "1" -a "$HAVE_KEYBOARD_LANDSCAPE" = "0" ]; then
|
||||||
CMD="matchbox-keyboard -d -o landscape"
|
CMD="matchbox-keyboard -d -o landscape"
|
||||||
elif [ "$HAVE_KEYBOARD_LANDSCAPE" = "1" -a "$HAVE_KEYBOARD_PORTRAIT" = "0" ]; then
|
elif [ "$HAVE_KEYBOARD_LANDSCAPE" = "1" -a "$HAVE_KEYBOARD_PORTRAIT" = "0" ]; then
|
||||||
CMD="matchbox-keyboard -d -o portrait"
|
CMD="matchbox-keyboard -d -o portrait"
|
||||||
fi
|
fi
|
||||||
elif [ "$HAVE_KEYBOARD" = "0" ]; then
|
|
||||||
CMD="matchbox-keyboard -d"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Delay to make sure the window manager is active
|
# Delay to make sure the window manager is active
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2"
|
|||||||
RDEPENDS = "formfactor"
|
RDEPENDS = "formfactor"
|
||||||
SECTION = "x11"
|
SECTION = "x11"
|
||||||
PV = "0.0+svnr${SRCREV}"
|
PV = "0.0+svnr${SRCREV}"
|
||||||
|
PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
|
SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
|
||||||
file://configure_fix.patch;patch=1;maxrev=1819 \
|
file://configure_fix.patch;patch=1;maxrev=1819 \
|
||||||
|
|||||||
Reference in New Issue
Block a user