Accepting request 927994 from Cloud:OpenStack:Factory

- Update to 1.3.0
    Application:
      * Added French and Portuguese (Brazil) translations
      * The novnc_proxy command (earlier launch.sh) is now able to interface better
        towards Websockify and now has it's own man page
    Library:
      * RTCDataChannel is now supported as a communication channel, an alternative
        to WebSockets
      * Resizes of the viewport are handled in a more modern way. This allows our
        library to not only react on browser window changes, but to size changes of
        the screen element as well
      * Fixed a bug with the Alt key on Firefox
      * Fixed a disconnect that happened when using some VNC servers. The error
        displayed in this case was "Error decoding rect: TypeError"
      * Plain authentication passwords now support longer passwords, which can be
        useful if you're using a password manager
      * Support for Internet Explorer has been dropped. This made it possible to use
        more modern features and clean up a large number of workarounds
- python3-websockify >= 0.9.0 is necessary
    https://github.com/novnc/noVNC/issues/1276#issuecomment-521174077
- Fix patch novnc-1.1.0-fix-interpreter.patch
    * Renamed to patch novnc-1.3.0-fix-interpreter.patch

OBS-URL: https://build.opensuse.org/request/show/927994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/novnc?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2021-10-30 21:13:40 +00:00 committed by Git OBS Bridge
commit 5b14fa67a4
5 changed files with 39 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36c476b26df4684f1002e15c3d7e034c9e6ee4521e5fa8aac37309f954a07a01
size 1356408

3
noVNC-1.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ee8f91514c9ce9f4054d132f5f97167ee87d9faa6630379267e569d789290336
size 661659

View File

@ -5,10 +5,10 @@ Upstream: no
---
Index: utils/launch.sh
Index: utils/novnc_proxy
===================================================================
--- utils/launch.sh.orig
+++ utils/launch.sh
--- a/utils/novnc_proxy
+++ b/utils/novnc_proxy
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/bash

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Fri Oct 22 14:28:42 UTC 2021 - Manu Maier <mmanu84@outlook.de>
- Update to 1.3.0
Application:
* Added French and Portuguese (Brazil) translations
* The novnc_proxy command (earlier launch.sh) is now able to interface better
towards Websockify and now has it's own man page
Library:
* RTCDataChannel is now supported as a communication channel, an alternative
to WebSockets
* Resizes of the viewport are handled in a more modern way. This allows our
library to not only react on browser window changes, but to size changes of
the screen element as well
* Fixed a bug with the Alt key on Firefox
* Fixed a disconnect that happened when using some VNC servers. The error
displayed in this case was "Error decoding rect: TypeError"
* Plain authentication passwords now support longer passwords, which can be
useful if you're using a password manager
* Support for Internet Explorer has been dropped. This made it possible to use
more modern features and clean up a large number of workarounds
- python3-websockify >= 0.9.0 is necessary
https://github.com/novnc/noVNC/issues/1276#issuecomment-521174077
- Fix patch novnc-1.1.0-fix-interpreter.patch
* Renamed to patch novnc-1.3.0-fix-interpreter.patch
-------------------------------------------------------------------
Tue Jul 14 15:28:30 UTC 2020 - Manu Maier <mmanu84@outlook.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package novnc
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,20 +17,16 @@
Name: novnc
Version: 1.2.0
Version: 1.3.0
Release: 0
Summary: VNC client using HTML5 (Web Sockets, Canvas) with encryption support
License: MPL-2.0 AND LGPL-3.0-only
License: LGPL-3.0-only AND MPL-2.0
Group: System/Daemons
URL: https://github.com/novnc/noVNC
Source0: noVNC-%{version}.tar.gz
Patch1: novnc-0.3-manpage.patch
Patch2: novnc-1.1.0-fix-interpreter.patch
%if 0%{?suse_version} < 1330
Requires: python2-websockify
%else
Requires: python3-websockify
%endif
Patch2: novnc-1.3.0-fix-interpreter.patch
Requires: python3-websockify >= 0.9.0
BuildArch: noarch
%description
@ -40,8 +36,7 @@ instances.
%prep
%setup -q -n noVNC-%{version}
%patch1 -p1
%patch2
%autopatch -p1
%build
@ -61,7 +56,7 @@ mkdir -p %{buildroot}/%{_usr}/share/novnc/vendor
cp -rp vendor %{buildroot}/%{_usr}/share/novnc
mkdir -p %{buildroot}/%{_bindir}
install utils/launch.sh %{buildroot}/%{_bindir}/novnc_server
install utils/novnc_proxy %{buildroot}/%{_bindir}/novnc_server
mkdir -p %{buildroot}%{_mandir}/man1/
install -m 444 docs/novnc_server.1 %{buildroot}%{_mandir}/man1/