turbovnc: new package
PATCH 1/1 turbovnc: new package
TurboVNC, a high-performance VNC.
--- package/Config.in | 1 + package/turbovnc/Config.in | 16 ++++++++++++++++ package/turbovnc/turbovnc.hash | 5 +++++ package/turbovnc/turbovnc.mk | 21 +++++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 package/turbovnc/Config.in create mode 100644 package/turbovnc/turbovnc.hash create mode 100644 package/turbovnc/turbovnc.mk
package/Config.in +1 -0
@@ -330,6 +330,7 @@ comment "X applications" source "package/qt-webkit-kiosk/Config.in" source "package/rdesktop/Config.in" source "package/synergy/Config.in" + source "package/turbovnc/Config.in" source "package/wmctrl/Config.in" source "package/x11vnc/Config.in" source "package/xdotool/Config.in"
package/turbovnc/Config.in new file +16 -0
@@ -0,0 +1,16 @@ +config BR2_PACKAGE_TURBOVNC + bool "turbovnc" + help + TurboVNC is a high-performance, enterprise-quality version + of VNC based on TightVNC, TigerVNC, and X.org. + It contains a variant of Tight encoding that is tuned for + maximum performance and compression with 3D applications + (VirtualGL), video, and other image-intensive workloads. + TurboVNC, in combination with VirtualGL, provides a + complete solution for remotely displaying 3D applications + with interactive performance. TurboVNC's high-speed encoding + methods have been adopted by TigerVNC and libvncserver, + and TurboVNC is also compatible with any other TightVNC + derivative. + + https://turbovnc.org
package/turbovnc/turbovnc.hash new file +5 -0
@@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/turbovnc/files/2.1.2/ +md5 9d04b26d40664d0d8072e8b1828f69c4 turbovnc-2.1.2.tar.gz +sha1 cd99a27cee86f0680410133beb25da1d6f35a3ea turbovnc-2.1.2.tar.gz +# Locally computed +sha256 2389f76eafc48412b980a61280ffb8d111dacd9e51d5e3df2112f505558b48d4 turbovnc-2.1.2.tar.gz
package/turbovnc/turbovnc.mk new file +21 -0
@@ -0,0 +1,21 @@ +################################################################################ +# +# turbovnc +# +################################################################################ + +TURBOVNC_VERSION = 2.1.2 +TURBOVNC_SOURCE = turbovnc-$(TURBOVNC_VERSION).tar.gz +TURBOVNC_SITE = https://downloads.sourceforge.net/project/turbovnc/$(TURBOVNC_VERSION) +TURBOVNC_DEPENDENCIES = jpeg-turbo linux-pam openssl perl xfont_font-misc-misc xlib_libICE xlib_libSM xlib_libX11 \ + xlib_libXext xlib_libXau xlib_libXdmcp +TURBOVNC_LICENSE = GPL-2.0, MIT (putty), Dual FTL/GPL-2.0+ (freetype) \ + bzip2 license (bzip2) +TURBOVNC_LICENSE_FILES = doc/LICENSE.txt doc/LICENSE-PuTTY.txt \ + unix/Xvnc/extras/freetype2/doc/LICENSE.txt \ + unix/Xvnc/lib/bzip2/LICENSE + +# Build just server +TURBOVNC_CONF_OPTS += -DTVNC_BUILDJAVA=0 -DTVNC_BUILDNATIVE=0 + +$(eval $(cmake-package))
Signature · 1 line
2.7.3
PATCH 1/1 turbovnc: new package
Hi Stefan,
Quoted 65 lines · Stefan Fr?berg
TurboVNC, a high-performance VNC.
Signed-off-by Stefan Fr?berg <[email protected]>--- package/Config.in | 1 + package/turbovnc/Config.in | 16 ++++++++++++++++ package/turbovnc/turbovnc.hash | 5 +++++ package/turbovnc/turbovnc.mk | 21 +++++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 package/turbovnc/Config.in create mode 100644 package/turbovnc/turbovnc.hash create mode 100644 package/turbovnc/turbovnc.mkpackage/Config.in +1
-0@@ -330,6 +330,7 @@ comment "X applications" source "package/qt-webkit-kiosk/Config.in" source "package/rdesktop/Config.in" source "package/synergy/Config.in" + source "package/turbovnc/Config.in" source "package/wmctrl/Config.in" source "package/x11vnc/Config.in" source "package/xdotool/Config.in"package/turbovnc/Config.in new file +16
-0@@ -0,0 +1,16 @@ +config BR2_PACKAGE_TURBOVNC + bool "turbovnc" + help + TurboVNC is a high-performance, enterprise-quality version + of VNC based on TightVNC, TigerVNC, and X.org. + It contains a variant of Tight encoding that is tuned for + maximum performance and compression with 3D applications + (VirtualGL), video, and other image-intensive workloads. + TurboVNC, in combination with VirtualGL, provides a + complete solution for remotely displaying 3D applications + with interactive performance. TurboVNC's high-speed encoding + methods have been adopted by TigerVNC and libvncserver, + and TurboVNC is also compatible with any other TightVNC + derivative. + + https://turbovnc.orgpackage/turbovnc/turbovnc.hash new file +5
-0@@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/turbovnc/files/2.1.2/ +md5 9d04b26d40664d0d8072e8b1828f69c4 turbovnc-2.1.2.tar.gz +sha1 cd99a27cee86f0680410133beb25da1d6f35a3ea turbovnc-2.1.2.tar.gz +# Locally computed +sha256 2389f76eafc48412b980a61280ffb8d111dacd9e51d5e3df2112f505558b48d4 turbovnc-2.1.2.tar.gzpackage/turbovnc/turbovnc.mk new file +1
-0@@ -0,0 +1,21 @@ +################################################################################
package/turbovnc/turbovnc.mk line 11
Quoted 10 lines
package/turbovnc/turbovnc.mk new file +10
-0+# +# turbovnc +# +################################################################################ + +TURBOVNC_VERSION = 2.1.2 +TURBOVNC_SOURCE = turbovnc-$(TURBOVNC_VERSION).tar.gz +TURBOVNC_SITE = https://downloads.sourceforge.net/project/turbovnc/$(TURBOVNC_VERSION) +TURBOVNC_DEPENDENCIES = jpeg-turbo linux-pam openssl perl xfont_font-misc-misc xlib_libICE xlib_libSM xlib_libX11 \ + xlib_libXext xlib_libXau xlib_libXdmcp
You need to select these dependencies in Config.in to make sure that they actually get built. Don't forget to propagate their dependencies as well. As far as I can see perl is a run-time only dependency, so there is no need to list it here, since build order doesn't matter. Same goes for xfont_font-misc-misc, I guess.
unix/Xvnc/README indicates that linux-pam is an optional dependency. Having linux-pam optional would allow building turbovnc with musl libc.
package/turbovnc/turbovnc.mk line 13
Quoted 2 lines
package/turbovnc/turbovnc.mk new file +2
-0+TURBOVNC_LICENSE = GPL-2.0, MIT (putty), Dual FTL/GPL-2.0+ (freetype) \ + bzip2 license (bzip2)
The README.txt file mentions also the zlib license.
package/turbovnc/turbovnc.mk line 16
Quoted 3 lines
package/turbovnc/turbovnc.mk new file +3
-0+TURBOVNC_LICENSE_FILES = doc/LICENSE.txt doc/LICENSE-PuTTY.txt \ + unix/Xvnc/extras/freetype2/doc/LICENSE.txt \ + unix/Xvnc/lib/bzip2/LICENSE
README.txt should also be here. Adding hashes for these files would also be nice.
package/turbovnc/turbovnc.mk line 21
Quoted 4 lines
package/turbovnc/turbovnc.mk new file +4
-0+# Build just server +TURBOVNC_CONF_OPTS += -DTVNC_BUILDJAVA=0 -DTVNC_BUILDNATIVE=0 + +$(eval $(cmake-package))
baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 turbovnc: new package
Hi Stefan,
Please keep the list on Cc.
Quoted 2 lines · Stefan Fr?berg
Oh, so I should put like select
BR2_PACKAGE_OPENSSL, etc ... into Config.in ?
Yes.
Quoted 8 lines
(been so very long from my last time of adding new package to buildroot).
Yes, you are right, perl is needed for just vncserver script that is nothing more than messy
wrapper for TurboVNC version of Xvnc binary.
And if I remember correctly, the vncserver script complained about missing xfont.
Quoted 7 lines
I will make the changes.
BTW, there is also init script included but god it looks messy and complicated
(allkind of stuff like handling Gnome 3 and KDE and so on, things that
buildroot not yet have in package list) ....
Should I make my own, simpler init script ?
This script (unix/vncserver.init.in) also requires bash. So unless you make bash a run-time dependency, you'll need to provide a simpler script, or none. An init script is not a hard requirement.
Quoted 7 lines
Also, for some strange reason, TurboVNC has hardcoded xstartup.turbovnc while other
VNC implementations use just xstartup and all the docs in the Net tell that you should add
your window/desktop/etc whatever you want to start, into $HOME/.vnc/xstartup file like this for example:
Quoted 8 lines
#!/bin/sh
exec startfluxboxShould I do a patch that would keep TurboVNC behavior in sync with other VNCs ? Or maybe just add switch to
vncserver script in the init file? (I think there was something like -xstartup or something that could
be given to specify xstartup file name)
Buildroot generally does not make changes to upstream package behaviour.
baruch
Quoted 101 lines
31.10.2017, 6:58, Baruch Siach kirjoitti:
Quoted 100 lines · Stefan Fr?berg
Quoted 65 lines
TurboVNC, a high-performance VNC.
Signed-off-by Stefan Fr?berg <[email protected]>--- package/Config.in | 1 + package/turbovnc/Config.in | 16 ++++++++++++++++ package/turbovnc/turbovnc.hash | 5 +++++ package/turbovnc/turbovnc.mk | 21 +++++++++++++++++++++ 4 files changed, 43 insertions(+)create mode 100644 package/turbovnc/Config.in create mode 100644 package/turbovnc/turbovnc.hash create mode 100644
package/turbovnc/turbovnc.mkpackage/Config.in +1
-0@@ -330,6 +330,7 @@ comment "X applications" source "package/qt-webkit-kiosk/Config.in" source "package/rdesktop/Config.in" source "package/synergy/Config.in" + source "package/turbovnc/Config.in" source "package/wmctrl/Config.in" source "package/x11vnc/Config.in" source "package/xdotool/Config.in"package/turbovnc/Config.in new file +16
-0@@ -0,0 +1,16 @@ +config BR2_PACKAGE_TURBOVNC + bool "turbovnc" + help + TurboVNC is a high-performance, enterprise-quality version + of VNC based on TightVNC, TigerVNC, and X.org. + It contains a variant of Tight encoding that is tuned for + maximum performance and compression with 3D applications + (VirtualGL), video, and other image-intensive workloads. + TurboVNC, in combination with VirtualGL, provides a + complete solution for remotely displaying 3D applications + with interactive performance. TurboVNC's high-speed encoding + methods have been adopted by TigerVNC and libvncserver, + and TurboVNC is also compatible with any other TightVNC + derivative. + + https://turbovnc.orgpackage/turbovnc/turbovnc.hash new file +5
-0@@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/turbovnc/files/2.1.2/ +md5 9d04b26d40664d0d8072e8b1828f69c4 turbovnc-2.1.2.tar.gz +sha1 cd99a27cee86f0680410133beb25da1d6f35a3ea turbovnc-2.1.2.tar.gz +# Locally computed +sha256 2389f76eafc48412b980a61280ffb8d111dacd9e51d5e3df2112f505558b48d4 turbovnc-2.1.2.tar.gzpackage/turbovnc/turbovnc.mk new file +1
-0@@ -0,0 +1,21 @@ +################################################################################package/turbovnc/turbovnc.mk line 11
Quoted 10 lines
package/turbovnc/turbovnc.mk new file +10
-0+# +# turbovnc +# +################################################################################ + +TURBOVNC_VERSION = 2.1.2 +TURBOVNC_SOURCE = turbovnc-$(TURBOVNC_VERSION).tar.gz +TURBOVNC_SITE = https://downloads.sourceforge.net/project/turbovnc/$(TURBOVNC_VERSION) +TURBOVNC_DEPENDENCIES = jpeg-turbo linux-pam openssl perl xfont_font-misc-misc xlib_libICE xlib_libSM xlib_libX11 \ + xlib_libXext xlib_libXau xlib_libXdmcpYou need to select these dependencies in Config.in to make sure that they actually get built. Don't forget to propagate their dependencies as well. As far as I can see perl is a run-time only dependency, so there is no need to list it here, since build order doesn't matter. Same goes for xfont_font-misc-misc, I guess.
unix/Xvnc/README indicates that linux-pam is an optional dependency. Having linux-pam optional would allow building turbovnc with musl libc.
package/turbovnc/turbovnc.mk line 13
Quoted 2 lines
package/turbovnc/turbovnc.mk new file +2
-0+TURBOVNC_LICENSE = GPL-2.0, MIT (putty), Dual FTL/GPL-2.0+ (freetype) \ + bzip2 license (bzip2)The README.txt file mentions also the zlib license.
package/turbovnc/turbovnc.mk line 16
Quoted 3 lines
package/turbovnc/turbovnc.mk new file +3
-0+TURBOVNC_LICENSE_FILES = doc/LICENSE.txt doc/LICENSE-PuTTY.txt \ + unix/Xvnc/extras/freetype2/doc/LICENSE.txt \ + unix/Xvnc/lib/bzip2/LICENSEREADME.txt should also be here. Adding hashes for these files would also be nice.
package/turbovnc/turbovnc.mk line 21
Quoted 4 lines
package/turbovnc/turbovnc.mk new file +4
-0+# Build just server +TURBOVNC_CONF_OPTS += -DTVNC_BUILDJAVA=0 -DTVNC_BUILDNATIVE=0 + +$(eval $(cmake-package))baruch
Signature · 3 lines
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -