diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-09-13 00:11:48 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-09-13 00:11:48 -0400 |
| commit | 1902d0a13babdb2b13850dab9baa364be2cadd39 (patch) | |
| tree | 1d07d9630d6f0831aae59a7df4e353bec30040d6 /meta-openstack/recipes-extended/novnc/novnc_git.bb | |
| parent | bd6c1e8fb60d628c5818b60094eff1d3406eb618 (diff) | |
| download | meta-cloud-services-1902d0a13babdb2b13850dab9baa364be2cadd39.tar.gz | |
novnc: introduce no VNC for guest console access
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-extended/novnc/novnc_git.bb')
| -rw-r--r-- | meta-openstack/recipes-extended/novnc/novnc_git.bb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/novnc/novnc_git.bb b/meta-openstack/recipes-extended/novnc/novnc_git.bb new file mode 100644 index 0000000..ee20e3b --- /dev/null +++ b/meta-openstack/recipes-extended/novnc/novnc_git.bb | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | DESCRIPTION = "HTML5 VNC client" | ||
| 2 | HOMEPAGE = "https://github.com/kanaka/noVNC" | ||
| 3 | SECTION = "web" | ||
| 4 | |||
| 5 | PR = "r0" | ||
| 6 | |||
| 7 | LICENSE = "MIT" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ac06308a999996ffc2d24d81b3a39f1b" | ||
| 9 | |||
| 10 | SRCREV = "8f12ca7a5a64144fe548cada332d5d19ef26a1fe" | ||
| 11 | PV = "0.4+git${SRCPV}" | ||
| 12 | |||
| 13 | SRC_URI = "git://github.com/kanaka/noVNC.git" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | RDEPENDS_${PN} += "python-numpy" | ||
| 18 | RDEPENDS_${PN} += "python-novnc" | ||
| 19 | RDEPENDS_${PN} += "python-websockify" | ||
| 20 | |||
| 21 | do_compile() { | ||
| 22 | : | ||
| 23 | } | ||
| 24 | |||
| 25 | do_install() { | ||
| 26 | install -m 755 -d ${D}${bindir}/novnc | ||
| 27 | install -m 755 -d ${D}${datadir}/novnc/include | ||
| 28 | |||
| 29 | install -m 644 ${S}/vnc.html ${D}${datadir}/novnc | ||
| 30 | install -m 644 ${S}/vnc_auto.html ${D}${datadir}/novnc | ||
| 31 | install -m 644 ${S}/images/favicon.ico ${D}${datadir}/novnc | ||
| 32 | install -m 644 ${S}/include/base64.js ${D}${datadir}/novnc/include | ||
| 33 | install -m 644 ${S}/include/des.js ${D}${datadir}/novnc/include | ||
| 34 | install -m 644 ${S}/include/display.js ${D}${datadir}/novnc/include | ||
| 35 | install -m 644 ${S}/include/input.js ${D}${datadir}/novnc/include | ||
| 36 | install -m 644 ${S}/include/logo.js ${D}${datadir}/novnc/include | ||
| 37 | install -m 644 ${S}/include/base.css ${D}${datadir}/novnc/include | ||
| 38 | install -m 644 ${S}/include/blue.css ${D}${datadir}/novnc/include | ||
| 39 | install -m 644 ${S}/include/black.css ${D}${datadir}/novnc/include | ||
| 40 | install -m 644 ${S}/include/playback.js ${D}${datadir}/novnc/include | ||
| 41 | install -m 644 ${S}/include/rfb.js ${D}${datadir}/novnc/include | ||
| 42 | install -m 644 ${S}/include/ui.js ${D}${datadir}/novnc/include | ||
| 43 | install -m 644 ${S}/include/util.js ${D}${datadir}/novnc/include | ||
| 44 | install -m 644 ${S}/include/websock.js ${D}${datadir}/novnc/include | ||
| 45 | install -m 644 ${S}/include/webutil.js ${D}${datadir}/novnc/include | ||
| 46 | install -m 644 ${S}/include/jsunzip.js ${D}${datadir}/novnc/include | ||
| 47 | |||
| 48 | sed -i -e 's:#!/usr/bin/env bash:#!/bin/sh:' ${S}/utils/launch.sh | ||
| 49 | |||
| 50 | install -m 755 ${S}/utils/launch.sh ${D}${bindir}/novnc-launch.sh | ||
| 51 | } | ||
| 52 | |||
