diff options
author | Richard Purdie <richard@openedhand.com> | 2008-08-19 16:06:48 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-08-19 16:06:48 +0000 |
commit | 4453d53007f4dfe8c45a094acd3cc6924d6cf075 (patch) | |
tree | bfd7f592bc5de2387a65f37deb47fd9062444cfc /meta/packages/matchbox-keyboard | |
parent | b116e4057da8f34fee6ccfaa01b0776484ce6196 (diff) | |
download | poky-4453d53007f4dfe8c45a094acd3cc6924d6cf075.tar.gz |
matchbox-keyboard: Change session script to start it after the desktop using dbus-wait removing the dodgy sleep call
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5073 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/matchbox-keyboard')
-rwxr-xr-x | meta/packages/matchbox-keyboard/files/80matchboxkeyboard.shbg (renamed from meta/packages/matchbox-keyboard/files/80matchboxkeyboard) | 6 | ||||
-rw-r--r-- | meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard.shbg index 7c775af0eb..e6745c5695 100755 --- a/meta/packages/matchbox-keyboard/files/80matchboxkeyboard +++ b/meta/packages/matchbox-keyboard/files/80matchboxkeyboard.shbg | |||
@@ -14,8 +14,10 @@ elif [ "$DISPLAY_CAN_ROTATE" = "1" ]; then | |||
14 | fi | 14 | fi |
15 | fi | 15 | fi |
16 | 16 | ||
17 | # Delay to make sure the window manager is active | ||
18 | 17 | ||
19 | if [ "$CMD" ]; then | 18 | if [ "$CMD" ]; then |
20 | { sleep 2 ; $CMD ; } & | 19 | # Delay to make sure the window manager is active |
20 | # by waiting for the desktop to say its finished loading | ||
21 | dbus-wait org.matchbox_project.desktop Loaded | ||
22 | $CMD | ||
21 | fi | 23 | fi |
diff --git a/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb b/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb index 13635cbaf1..7afe8eb60f 100644 --- a/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb +++ b/meta/packages/matchbox-keyboard/matchbox-keyboard_svn.bb | |||
@@ -1,14 +1,14 @@ | |||
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+ matchbox-panel-2" | 3 | DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2" |
4 | RDEPENDS = "formfactor" | 4 | RDEPENDS = "formfactor dbus-wait" |
5 | SECTION = "x11" | 5 | SECTION = "x11" |
6 | PV = "0.0+svnr${SRCREV}" | 6 | PV = "0.0+svnr${SRCREV}" |
7 | PR = "r2" | 7 | PR = "r3" |
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://configure_fix.patch;patch=1;maxrev=1819 \ | 10 | file://configure_fix.patch;patch=1;maxrev=1819 \ |
11 | file://80matchboxkeyboard" | 11 | file://80matchboxkeyboard.shbg" |
12 | 12 | ||
13 | S = "${WORKDIR}/${PN}" | 13 | S = "${WORKDIR}/${PN}" |
14 | 14 | ||
@@ -33,7 +33,7 @@ FILES_matchbox-keyboard-applet-dbg += "${libdir}/matchbox-panel/.debug" | |||
33 | 33 | ||
34 | do_install_append () { | 34 | do_install_append () { |
35 | install -d ${D}/${sysconfdir}/X11/Xsession.d/ | 35 | install -d ${D}/${sysconfdir}/X11/Xsession.d/ |
36 | install -m 755 ${WORKDIR}/80matchboxkeyboard ${D}/${sysconfdir}/X11/Xsession.d/ | 36 | install -m 755 ${WORKDIR}/80matchboxkeyboard.shbg ${D}/${sysconfdir}/X11/Xsession.d/ |
37 | } | 37 | } |
38 | 38 | ||
39 | pkg_postinst_matchbox-keyboard-im () { | 39 | pkg_postinst_matchbox-keyboard-im () { |