[Kimchi-devel] [PATCH 0/6 V2] Use installed spice-html5 package when possible

Zhou Zheng Sheng zhshzhou at linux.vnet.ibm.com
Fri Oct 17 07:29:38 UTC 2014


Reviewed-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>

Tested-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>

Tested on Fedora 20.
1. Build and yum install RPM, spice-html5 is installed automatically,
VNC and Spice work correctly.
2. Run from source code with spice-html5 and without spice-html5, spice
work correctly.

on 2014/10/15 20:57, Aline Manera wrote:
> V1 -> V2:
> - Check novnc/spice directory exists otherwise fallback to default directory
>   /usr/share/<novnc|spice-html5>
> - Fix conditional to properly use --with-spice-html5 in kimchi.spec.fedora.in
> 
> Aline Manera (6):
>   Import the latest spice-html5 code into Kimchi
>   Modify spice_auto.html for Kimchi proposals
>   Add new spice-html5 code to Kimchi build process
>   Update Kimchi to use the installed spice-html5
>   Delete former imported spice code
>   Update COPYING content to expose the imported code
> 
>  COPYING                               |   10 +-
>  configure.ac                          |   15 +-
>  contrib/DEBIAN/control.in             |    3 +-
>  contrib/kimchi.spec.fedora.in         |   30 +-
>  contrib/kimchi.spec.suse.in           |   24 +-
>  docs/README.md                        |   10 +-
>  src/kimchi/Makefile.am                |   11 +-
>  src/kimchi/config.py.in               |   42 +-
>  tests/test_config.py.in               |   15 +-
>  ui/Makefile.am                        |    2 +-
>  ui/css/Makefile.am                    |    2 -
>  ui/css/spice/Makefile.am              |   20 -
>  ui/css/spice/spice.css                |  115 ---
>  ui/js/Makefile.am                     |    2 -
>  ui/js/spice/Makefile.am               |   22 -
>  ui/js/spice/atKeynames.js             |  183 -----
>  ui/js/spice/bitmap.js                 |   51 --
>  ui/js/spice/cursor.js                 |   92 ---
>  ui/js/spice/display.js                |  806 --------------------
>  ui/js/spice/enums.js                  |  282 -------
>  ui/js/spice/inputs.js                 |  251 -------
>  ui/js/spice/jsbn.js                   |  589 ---------------
>  ui/js/spice/lz.js                     |  166 ----
>  ui/js/spice/main.js                   |  176 -----
>  ui/js/spice/png.js                    |  256 -------
>  ui/js/spice/prng4.js                  |   79 --
>  ui/js/spice/quic.js                   | 1335 ---------------------------------
>  ui/js/spice/rng.js                    |  102 ---
>  ui/js/spice/rsa.js                    |  146 ----
>  ui/js/spice/sha1.js                   |  346 ---------
>  ui/js/spice/spiceconn.js              |  447 -----------
>  ui/js/spice/spicedataview.js          |   96 ---
>  ui/js/spice/spicemsg.js               |  883 ----------------------
>  ui/js/spice/spicetype.js              |  480 ------------
>  ui/js/spice/ticket.js                 |  250 ------
>  ui/js/spice/utils.js                  |  261 -------
>  ui/js/spice/wire.js                   |  123 ---
>  ui/js/src/kimchi.api.js               |    2 +-
>  ui/pages/spice.html.tmpl              |  140 ----
>  ui/spice-html5/Makefile.am            |   25 +
>  ui/spice-html5/atKeynames.js          |  183 +++++
>  ui/spice-html5/bitmap.js              |   51 ++
>  ui/spice-html5/css/Makefile.am        |   20 +
>  ui/spice-html5/css/spice.css          |  118 +++
>  ui/spice-html5/cursor.js              |  110 +++
>  ui/spice-html5/display.js             |  823 ++++++++++++++++++++
>  ui/spice-html5/enums.js               |  324 ++++++++
>  ui/spice-html5/inputs.js              |  280 +++++++
>  ui/spice-html5/lz.js                  |  166 ++++
>  ui/spice-html5/main.js                |  231 ++++++
>  ui/spice-html5/pages/Makefile.am      |   20 +
>  ui/spice-html5/pages/spice_auto.html  |  200 +++++
>  ui/spice-html5/playback.js            |  278 +++++++
>  ui/spice-html5/png.js                 |  256 +++++++
>  ui/spice-html5/quic.js                | 1335 +++++++++++++++++++++++++++++++++
>  ui/spice-html5/resize.js              |   70 ++
>  ui/spice-html5/simulatecursor.js      |  202 +++++
>  ui/spice-html5/spicearraybuffer.js    |   58 ++
>  ui/spice-html5/spiceconn.js           |  460 ++++++++++++
>  ui/spice-html5/spicedataview.js       |  120 +++
>  ui/spice-html5/spicemsg.js            | 1047 ++++++++++++++++++++++++++
>  ui/spice-html5/spicetype.js           |  473 ++++++++++++
>  ui/spice-html5/thirdparty/Makefile.am |   20 +
>  ui/spice-html5/thirdparty/jsbn.js     |  589 +++++++++++++++
>  ui/spice-html5/thirdparty/prng4.js    |   79 ++
>  ui/spice-html5/thirdparty/rng.js      |  102 +++
>  ui/spice-html5/thirdparty/rsa.js      |  146 ++++
>  ui/spice-html5/thirdparty/sha1.js     |  346 +++++++++
>  ui/spice-html5/ticket.js              |  250 ++++++
>  ui/spice-html5/utils.js               |  265 +++++++
>  ui/spice-html5/webm.js                |  553 ++++++++++++++
>  ui/spice-html5/wire.js                |  123 +++
>  72 files changed, 9425 insertions(+), 7763 deletions(-)
>  delete mode 100644 ui/css/spice/Makefile.am
>  delete mode 100644 ui/css/spice/spice.css
>  delete mode 100644 ui/js/spice/Makefile.am
>  delete mode 100644 ui/js/spice/atKeynames.js
>  delete mode 100644 ui/js/spice/bitmap.js
>  delete mode 100644 ui/js/spice/cursor.js
>  delete mode 100644 ui/js/spice/display.js
>  delete mode 100644 ui/js/spice/enums.js
>  delete mode 100644 ui/js/spice/inputs.js
>  delete mode 100644 ui/js/spice/jsbn.js
>  delete mode 100644 ui/js/spice/lz.js
>  delete mode 100644 ui/js/spice/main.js
>  delete mode 100644 ui/js/spice/png.js
>  delete mode 100644 ui/js/spice/prng4.js
>  delete mode 100644 ui/js/spice/quic.js
>  delete mode 100644 ui/js/spice/rng.js
>  delete mode 100644 ui/js/spice/rsa.js
>  delete mode 100644 ui/js/spice/sha1.js
>  delete mode 100644 ui/js/spice/spiceconn.js
>  delete mode 100644 ui/js/spice/spicedataview.js
>  delete mode 100644 ui/js/spice/spicemsg.js
>  delete mode 100644 ui/js/spice/spicetype.js
>  delete mode 100644 ui/js/spice/ticket.js
>  delete mode 100644 ui/js/spice/utils.js
>  delete mode 100644 ui/js/spice/wire.js
>  delete mode 100644 ui/pages/spice.html.tmpl
>  create mode 100644 ui/spice-html5/Makefile.am
>  create mode 100644 ui/spice-html5/atKeynames.js
>  create mode 100644 ui/spice-html5/bitmap.js
>  create mode 100644 ui/spice-html5/css/Makefile.am
>  create mode 100644 ui/spice-html5/css/spice.css
>  create mode 100644 ui/spice-html5/cursor.js
>  create mode 100644 ui/spice-html5/display.js
>  create mode 100644 ui/spice-html5/enums.js
>  create mode 100644 ui/spice-html5/inputs.js
>  create mode 100644 ui/spice-html5/lz.js
>  create mode 100644 ui/spice-html5/main.js
>  create mode 100644 ui/spice-html5/pages/Makefile.am
>  create mode 100644 ui/spice-html5/pages/spice_auto.html
>  create mode 100644 ui/spice-html5/playback.js
>  create mode 100644 ui/spice-html5/png.js
>  create mode 100644 ui/spice-html5/quic.js
>  create mode 100644 ui/spice-html5/resize.js
>  create mode 100644 ui/spice-html5/simulatecursor.js
>  create mode 100644 ui/spice-html5/spicearraybuffer.js
>  create mode 100644 ui/spice-html5/spiceconn.js
>  create mode 100644 ui/spice-html5/spicedataview.js
>  create mode 100644 ui/spice-html5/spicemsg.js
>  create mode 100644 ui/spice-html5/spicetype.js
>  create mode 100644 ui/spice-html5/thirdparty/Makefile.am
>  create mode 100644 ui/spice-html5/thirdparty/jsbn.js
>  create mode 100644 ui/spice-html5/thirdparty/prng4.js
>  create mode 100644 ui/spice-html5/thirdparty/rng.js
>  create mode 100644 ui/spice-html5/thirdparty/rsa.js
>  create mode 100644 ui/spice-html5/thirdparty/sha1.js
>  create mode 100644 ui/spice-html5/ticket.js
>  create mode 100644 ui/spice-html5/utils.js
>  create mode 100644 ui/spice-html5/webm.js
>  create mode 100644 ui/spice-html5/wire.js
> 


-- 
Zhou Zheng Sheng / 周征晟
E-mail: zhshzhou at linux.vnet.ibm.com
Telephone: 86-10-82454397




More information about the Kimchi-devel mailing list