From 70c64fa30bd8cfdeddf0fdfec6f7d3250548c143 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Wed, 10 Jun 2015 16:54:00 +0200 Subject: [PATCH] feature #3748: Add SPICE libs --- src/sunstone/public/app/main.js | 39 ++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/src/sunstone/public/app/main.js b/src/sunstone/public/app/main.js index 4a6e7dd3bd..cc848fdd9e 100644 --- a/src/sunstone/public/app/main.js +++ b/src/sunstone/public/app/main.js @@ -51,7 +51,10 @@ require.config({ 'nouislider': '../vendor/4.0/nouislider/jquery.nouislider.min', /* VNC */ - 'vnc-util': '../bower_components/no-vnc/include/util' + 'vnc-util': '../bower_components/no-vnc/include/util', + + /* VNC */ + 'spice': '../bower_components/spice-html5/main' }, shim: { /* jQuery */ @@ -160,6 +163,40 @@ require.config({ 'vnc-util': { exports: 'Util' }, + + /* VNC */ + 'spice': { + exports: 'SpiceMainConn', + deps: [ + '../bower_components/spice-html5/spicearraybuffer', + '../bower_components/spice-html5/enums', + '../bower_components/spice-html5/atKeynames', + '../bower_components/spice-html5/utils', + '../bower_components/spice-html5/png', + '../bower_components/spice-html5/lz', + '../bower_components/spice-html5/quic', + '../bower_components/spice-html5/bitmap', + '../bower_components/spice-html5/spicedataview', + '../bower_components/spice-html5/spicetype', + '../bower_components/spice-html5/spicemsg', + '../bower_components/spice-html5/wire', + '../bower_components/spice-html5/spiceconn', + '../bower_components/spice-html5/display', + '../bower_components/spice-html5/inputs', + '../bower_components/spice-html5/webm', + '../bower_components/spice-html5/playback', + '../bower_components/spice-html5/simulatecursor', + '../bower_components/spice-html5/cursor', + '../bower_components/spice-html5/thirdparty/jsbn', + '../bower_components/spice-html5/thirdparty/rsa', + '../bower_components/spice-html5/thirdparty/prng4', + '../bower_components/spice-html5/thirdparty/rng', + '../bower_components/spice-html5/thirdparty/sha1', + '../bower_components/spice-html5/ticket', + '../bower_components/spice-html5/resize', + '../bower_components/spice-html5/filexfer' + ] + } } });