diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2015-11-27 15:48:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-07 13:40:14 +0000 |
commit | 8b11ed8a75a15328bbd22d100a976cc669b84b58 (patch) | |
tree | 9b93d0fcd8fd973943ca61f126cae47066113922 /meta/recipes-qt/qt-demo | |
parent | 0baadc8a98daa14090b04e728fb5a44af3f545c8 (diff) | |
download | poky-8b11ed8a75a15328bbd22d100a976cc669b84b58.tar.gz |
qt4: remove recipes and classes
Qt4 is no longer supportd upstream, but it is still needed for LSB compliancy.
Qt4 recipes have been moved to a separate meta-qt4 layer to be consistent with
meta-qt3 and meta-qt5.
(From OE-Core rev: cb89d2b25b4edb1241bc5426a69a6bc44df9be2c)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt-demo')
-rw-r--r-- | meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init | 55 | ||||
-rw-r--r-- | meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb | 19 |
2 files changed, 0 insertions, 74 deletions
diff --git a/meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init b/meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init deleted file mode 100644 index 21f0273e2a..0000000000 --- a/meta/recipes-qt/qt-demo/qt-demo-init/qtdemo-init +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | set -e | ||
4 | |||
5 | if [ -x /usr/bin/qtdemo ]; then | ||
6 | QTDEMO="qtdemo" | ||
7 | else | ||
8 | QTDEMO="qtdemoE -qws" | ||
9 | fi | ||
10 | |||
11 | case "$1" in | ||
12 | start) | ||
13 | echo "Starting qtdemo" | ||
14 | if [ -f /etc/profile.d/tslib.sh ]; then | ||
15 | . /etc/profile.d/tslib.sh | ||
16 | fi | ||
17 | if [ -e "$TSLIB_TSDEVICE" ]; then | ||
18 | if [ ! -f /etc/pointercal ]; then | ||
19 | /usr/bin/ts_calibrate | ||
20 | fi | ||
21 | if [ "$QTDEMO" = "qtdemo" ]; then | ||
22 | Xorg & | ||
23 | export DISPLAY=:0 | ||
24 | $QTDEMO & | ||
25 | else | ||
26 | QWS_MOUSE_PROTO=tslib:$TSLIB_TSDEVICE $QTDEMO & | ||
27 | fi | ||
28 | else | ||
29 | if [ "$QTDEMO" = "qtdemo" ]; then | ||
30 | Xorg & | ||
31 | export DISPLAY=:0 | ||
32 | fi | ||
33 | $QTDEMO & | ||
34 | fi | ||
35 | ;; | ||
36 | stop) | ||
37 | echo "Stopping qtdemo" | ||
38 | if [ "$QTDEMO" = "qtdemo" ]; then | ||
39 | killall Xorg | ||
40 | killall qtdemo | ||
41 | else | ||
42 | killall qtdemoE | ||
43 | fi | ||
44 | ;; | ||
45 | restart) | ||
46 | $0 stop | ||
47 | $0 start | ||
48 | ;; | ||
49 | *) | ||
50 | echo "usage: $0 { start | stop | restart }" >&2 | ||
51 | exit 1 | ||
52 | ;; | ||
53 | esac | ||
54 | |||
55 | exit 0 | ||
diff --git a/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb b/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb deleted file mode 100644 index aa1b0b62f2..0000000000 --- a/meta/recipes-qt/qt-demo/qt-demo-init_0.1.bb +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | SUMMARY = "Init script for qtdemo" | ||
2 | LICENSE = "MIT" | ||
3 | SRC_URI = "file://qtdemo-init" | ||
4 | PR = "r3" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
7 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
8 | |||
9 | S = "${WORKDIR}" | ||
10 | |||
11 | do_install() { | ||
12 | install -d ${D}${sysconfdir}/init.d/ | ||
13 | install -m 0755 ${WORKDIR}/qtdemo-init ${D}${sysconfdir}/init.d/qtdemo | ||
14 | } | ||
15 | |||
16 | inherit update-rc.d allarch | ||
17 | |||
18 | INITSCRIPT_NAME = "qtdemo" | ||
19 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 19 0 1 6 ." | ||