diff options
author | Jonathan Bauer | 2011-06-21 16:02:15 +0200 |
---|---|---|
committer | Jonathan Bauer | 2011-06-21 16:02:15 +0200 |
commit | a16c2f6e25459951798d47df079ddaa7be41400a (patch) | |
tree | f7d2c114cd552b3b60014f109c69488b1c817f2e /src | |
parent | more cleanups (diff) | |
download | fbgui-a16c2f6e25459951798d47df079ddaa7be41400a.tar.gz fbgui-a16c2f6e25459951798d47df079ddaa7be41400a.tar.xz fbgui-a16c2f6e25459951798d47df079ddaa7be41400a.zip |
using cmake instead of qmake
Diffstat (limited to 'src')
-rwxr-xr-x | src/testApp.sh | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/testApp.sh b/src/testApp.sh deleted file mode 100755 index 9b46385..0000000 --- a/src/testApp.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -# Script now simply passes all arguments to the fbgui call. -# Use: ./testApp.sh [OPTIONS] -# OPTIONS: -# -h, --help prints help -# -D <level>, --debug=<level> sets debug level [0,1] -# -u <url>, --url=<url> sets URL to load -# -d <dir>, --download=<dir> sets download directory -# -c <path>, --config=<path> sets path to config file -# -t <path>, --trigger=<path> sets path to file triggering URL load -# -s <path>, --serial=<path> sets path to serial number file -# -# Note: all path are expected to be absolute. - -# clean /tmp/fbgui -rm -rf /tmp/fbgui -rm /tmp/fbgui_trigger - -# path to script (including script name) -script_path="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")" - -# to get the path only: use dirname which strips the filename from a path -working_path=`dirname "$script_path"` - -# construct unique display_id based on user, needed for multi-user qvfb usage -display_id=$(grep -n $(whoami) /etc/passwd| head -n 1|awk -F : '{print $1}') - -# Start QT's virtual framebuffer with proper display_id -/usr/local/Trolltech/Qt-4.7.2/bin/qvfb -width 1024 -height 768 -qwsdisplay :$display_id & -# quick sleep to wait for qvfb loading -sleep 0.2 -# Start fbgui connecting to QVFb with display_id from above. -$working_path/fbgui -display QVFb:$display_id $@ -# Check if fbbrowser is not running, if so kill the qvfb. -if [ $(ps aux | grep -v grep | grep -c fbgui) -eq 1 ] -then - echo "fbgui is still running ..." -else - echo "fbgui stopped running, killing qvfb ..." - killall qvfb -fi |