[oe] [PATCH] qte: only export touchscreen setting if ts exists
Denys Dmytriyenko
denis at denix.org
Fri Sep 10 17:58:31 UTC 2010
On Fri, Sep 10, 2010 at 11:27:24AM -0500, Chase Maupin wrote:
> * Changed the qte.sh script to check for whether or not the
> touchscreen exists before exporting QWS_MOUSE_PROTO to use
> the touchscreen. This is so that devices that don't have
> a touchscreen can use the regular mouse support.
> * Bumped the PR
>
> Signed-off-by: Chase Maupin <chase.maupin at ti.com>
Acked-by: Denys Dmytriyenko <denis at denix.org>
> ---
> recipes/qt4/files/qte.sh | 8 +++++---
> recipes/qt4/qt4-embedded.inc | 2 +-
> 2 files changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/recipes/qt4/files/qte.sh b/recipes/qt4/files/qte.sh
> index ddea77d..21d6ecb 100644
> --- a/recipes/qt4/files/qte.sh
> +++ b/recipes/qt4/files/qte.sh
> @@ -1,5 +1,7 @@
> #!/bin/sh
>
> -QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
> -
> -export QWS_MOUSE_PROTO
> +if [ -e /dev/input/touchscreen0 ]
> +then
> + QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
> + export QWS_MOUSE_PROTO
> +fi
> diff --git a/recipes/qt4/qt4-embedded.inc b/recipes/qt4/qt4-embedded.inc
> index 61cd3bf..d756a29 100644
> --- a/recipes/qt4/qt4-embedded.inc
> +++ b/recipes/qt4/qt4-embedded.inc
> @@ -4,7 +4,7 @@ LICENSE = "GPL QPL"
> PRIORITY = "optional"
> HOMEPAGE = "http://www.trolltech.com"
> DEPENDS += "directfb tslib"
> -INC_PR = "r21"
> +INC_PR = "r22"
>
> QT_BASE_NAME ?= "qt4-embedded"
> QT_BASE_LIB ?= "libqt-embedded"
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list