mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
vncserver: added version for 1.26
This commit is contained in:
35
haiku-apps/vncserver/patches/vncserver-1.26.patchset
Normal file
35
haiku-apps/vncserver/patches/vncserver-1.26.patchset
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
From f45e9f03da995fbb870155013b3d4037cf0aeff2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sergei Reznikov <diver@gelios.net>
|
||||||
|
Date: Mon, 13 Apr 2015 15:08:26 +0300
|
||||||
|
Subject: Fix stdc++ in Jamfiles
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/Jamfile-vncpasswd b/Jamfile-vncpasswd
|
||||||
|
index e3e895e..04159e4 100644
|
||||||
|
--- a/Jamfile-vncpasswd
|
||||||
|
+++ b/Jamfile-vncpasswd
|
||||||
|
@@ -53,7 +53,7 @@ RSRCS = beosserver/vncpasswd.rsrc ;
|
||||||
|
# Note that libnetwork.so in Haiku is called libnet.so in BeOS, so make a symbolic link
|
||||||
|
# in /boot/develop/lib/x86/ to give it both names when compiling under BeOS. Same
|
||||||
|
# for libstdc++.r4.so and libstdc++.so being the same.
|
||||||
|
-LIBS = be root stdc++ ;
|
||||||
|
+LIBS = be root $(STDCPPLIBS) ;
|
||||||
|
|
||||||
|
# Specify additional paths to directories following the standard
|
||||||
|
# libXXX.so or libXXX.a naming scheme. You can specify full paths
|
||||||
|
diff --git a/Jamfile-vncserver b/Jamfile-vncserver
|
||||||
|
index 04c5bdf..965ea68 100644
|
||||||
|
--- a/Jamfile-vncserver
|
||||||
|
+++ b/Jamfile-vncserver
|
||||||
|
@@ -116,7 +116,7 @@ RSRCS = beosserver/VNCServer.rsrc ;
|
||||||
|
# Note that libnetwork.so in Haiku is called libnet.so in BeOS, so make a symbolic link
|
||||||
|
# in /boot/develop/lib/x86/ to give it both names when compiling under BeOS. Same
|
||||||
|
# for libstdc++.r4.so and libstdc++.so being the same.
|
||||||
|
-LIBS = be root network game z stdc++ ;
|
||||||
|
+LIBS = be root network game z $(STDCPPLIBS) ;
|
||||||
|
|
||||||
|
# Specify additional paths to directories following the standard
|
||||||
|
# libXXX.so or libXXX.a naming scheme. You can specify full paths
|
||||||
|
--
|
||||||
|
2.2.2
|
||||||
|
|
||||||
69
haiku-apps/vncserver/vncserver-1.26.recipe
Normal file
69
haiku-apps/vncserver/vncserver-1.26.recipe
Normal 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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user