vncserver: added version for 1.26

This commit is contained in:
Sergei Reznikov
2015-04-13 15:13:01 +03:00
parent d1730971ad
commit a5af160bf7
2 changed files with 104 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
SUMMARY="Lets you use your Haiku computer from anywhere there is an Internet connection"
DESCRIPTION="A VNC client (available elsewhere for Windows, Mac, Linux, \
others) shows you what's on the remote Haiku computer's screen and sends \
keystrokes and mouse actions over the Internet. The VNCServer software \
running on Haiku uses that client data to simulate button presses on a fake \
keyboard and movements of an imaginary mouse. n the opposite direction, \
VNCServer scans your screen for changes, compresses the resulting graphics \
data and transmits it to the client.
This is a port of VNC using RealVNC's version 4.0 final source code (which \
has an extremely well designed class structure, making it easy to do this \
port). There are lots of VNC clients out there, but I can recommend the \
RealVNC ones as working very well under Windows. You can get their clients, \
servers and source code at http://www.realvnc.com/"
HOMEPAGE="http://web.ncf.ca/au829/resume.html#VNCServer"
LICENSE="GNU GPL v2"
COPYRIGHT="
2004 by Alexander G. M. Smith.
Public domain DES software copyright (c) 1988,1989,1990,1991,1992 by Richard Outerbridge.
Software from the X Window System copyright 1987, 1988, 1998 by The Open Group, also copyright 1987, 1988 by Digital Equipment Corporation.
Zlib compression software copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler.
Java DES software copyright (c) 1996 Widget Workshop, Inc, by Dave Zimmerman, Jef Poskanzer.
"
SRC_URI="http://www.agmsmith.ca/BeOS/VNCServer-4.0-BeOS-AGMS-1.26.zip"
CHECKSUM_SHA256="2741819cfab1b547a9cf4d57d3ee0899b62351ec3830157902c47d69f4b1d4cc"
SOURCE_DIR="VNCServer-4.0-BeOS-AGMS-$portVersion/Source Code"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
vncserver = $portVersion
cmd:vncserver = $portVersion
cmd:vncpasswd = $portVersion
add_on:InputEventInjector = 1.4 compatible >= 1.0
"
REQUIRES="
haiku
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libz
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:jam
cmd:ld
"
PATCHES="vncserver-1.26.patchset"
BUILD()
{
rm _INPUTSERVER_
ln -s /system/servers/input_server _INPUTSERVER_
mkdir -p obj.X86
jam -fJambase -fJamfile-vncserver
jam -fJambase -fJamfile-vncpasswd
jam -fJambase -fJamfile-InputEventInjector
}
INSTALL()
{
mkdir -p $binDir $addOnsDir/input_server/devices
cp obj.X86/vncpasswd $binDir
cp obj.X86/vncserver $binDir
cp obj.X86/InputEventInjector $addOnsDir/input_server/devices
}