diff --git a/recipes-ti/matrix/matrix-gui-submenus_1.0.bb b/recipes-ti/matrix/matrix-gui-submenus_1.0.bb index b517ce2b..9dfb1b31 100644 --- a/recipes-ti/matrix/matrix-gui-submenus_1.0.bb +++ b/recipes-ti/matrix/matrix-gui-submenus_1.0.bb @@ -39,6 +39,8 @@ do_install(){ } PACKAGES += "${PN}-arm ${PN}-3d ${PN}-cryptos ${PN}-display ${PN}-ethernet ${PN}-multimedia ${PN}-power ${PN}-pru ${PN}-qt4 ${PN}-settings ${PN}-usb ${PN}-wifi" +# This should be automatic, but isn't :( +PROVIDES += "${PACKAGES}" # All submenu packages should depend on matrix-gui being installed RDEPENDS += matrix-gui diff --git a/recipes-ti/matrix/matrix-gui/init b/recipes-ti/matrix/matrix-gui/init index 41f89cf2..c9253d4f 100644 --- a/recipes-ti/matrix/matrix-gui/init +++ b/recipes-ti/matrix/matrix-gui/init @@ -12,21 +12,22 @@ export QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0 case "$1" in start) chvt 4 - if [ ! -f /etc/pointercal ] ; then - echo -n "Calibrating touchscreen (first time only)" - ts_calibrate - echo "." - fi # Temporarily create the /dev/input/touchscreen0 symlink if it is # not already present. On devices like am335x the driver does not # report the right string in /sys/devices/platform/tsc/input/input0/modalias # to match the regular expression in /etc/udev/rules.d/local.rules # to have this symlink created automatically. - if [ ! -e /dev/input/touchscreen0 ] + if [ -e /dev/input/event0 ] then # assume we are going to use event0 ln -s /dev/input/event0 /dev/input/touchscreen0 + + if [ ! -f /etc/pointercal ] ; then + echo -n "Calibrating touchscreen (first time only)" + ts_calibrate + echo "." + fi fi if [ -e $PIDFILE ]; then diff --git a/recipes-ti/matrix/matrix-gui_2.0.bb b/recipes-ti/matrix/matrix-gui_2.0.bb index f9981b4c..60b1a040 100644 --- a/recipes-ti/matrix/matrix-gui_2.0.bb +++ b/recipes-ti/matrix/matrix-gui_2.0.bb @@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://scripts/jquery-1.6.2.min.js;md5=a1a8cb16a060f6280a767 SECTION = "multimedia" -PR = "r1" +PR = "r2" inherit allarch BRANCH ?= "master" -SRCREV = "c6db82baffcd96b20e67aa5cfdb4c0c98ef208b9" +SRCREV = "9f5d27fec216f223c43b48fa146edf4a4bb7aa24" SRC_URI = "git://gitorious.org/matrix-gui-v2/matrix-gui-v2.git;protocol=git;branch=${BRANCH} \ file://matrix-gui.service"