[pve-devel] [PATCH] novnc : upgrade to 0.5.1

Alexandre Derumier aderumier at odiso.com
Wed Jun 24 01:03:29 CEST 2015


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 Makefile              | 6 +++---
 debian/changelog      | 6 ++++++
 debian/patches/series | 1 -
 pveui.js              | 3 ++-
 4 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 1a80ab4..877b203 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
 RELEASE=4.0
 
 PACKAGE=novnc-pve
-PKGREL=8
+PKGREL=1
 
 NOVNCDIR=novnc
 NOVNCSRC=${NOVNCDIR}.tgz
-NOVNCVER=0.4
+NOVNCVER=0.5.1
 
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 GITVERSION:=$(shell cat .git/refs/heads/master)
@@ -34,7 +34,7 @@ deb ${DEB}: ${TARSRC}
 .PHONY: download
 download:
 	rm -rf ${NOVNCDIR}
-	git clone git://github.com/kanaka/noVNC ${NOVNCDIR}
+	git clone --branch v${NOVNCVER} git://github.com/kanaka/noVNC ${NOVNCDIR}
 	tar czf ${NOVNCSRC} ${NOVNCDIR}
 
 .PHONY: upload
diff --git a/debian/changelog b/debian/changelog
index 75a1b66..1a1bb18 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+novnc-pve (0.5.1-1) unstable; urgency=medium
+
+   * bump to 0.5.1
+
+ -- Proxmox Support Team <support at proxmox.com>  Fri, 24 Jun 2015 00:55:45 +0200
+
 novnc-pve (0.4-8) unstable; urgency=medium
 
   * make it work with new pve lxc API
diff --git a/debian/patches/series b/debian/patches/series
index fdf1d7a..d2b6fee 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-fix-websocket-binary-support-test.patch
 fix-base-css.patch
diff --git a/pveui.js b/pveui.js
index b4bae62..acf84ac 100644
--- a/pveui.js
+++ b/pveui.js
@@ -681,7 +681,8 @@ start: function(callback) {
 
     UI.initSetting('repeaterID', '');
 
-    UI.rfb = RFB({'target': $D('noVNC_canvas'),
+    
+    UI.rfb = new RFB({'target': $D('noVNC_canvas'),
                   'onUpdateState': UI.updateState,
                   'onXvpInit': UI.updateXvpVisualState,
                   'onClipboard': UI.clipReceive,
-- 
2.1.4



More information about the pve-devel mailing list