mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Update to 1.3.8
- Fix build on !i386 (sparc64 atleast anyways) [1] PR: 103693 Subbmitted by: Nils Vogels ahze (me) [1]
This commit is contained in:
parent
40280a5bef
commit
ef535b2ac4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173930
7 changed files with 49 additions and 67 deletions
|
@ -7,8 +7,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= tightvnc
|
PORTNAME= tightvnc
|
||||||
PORTVERSION= 1.2.9
|
PORTVERSION= 1.3.8
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= vnc-tight
|
MASTER_SITE_SUBDIR= vnc-tight
|
||||||
|
@ -34,12 +33,8 @@ MAN1= Xvnc.1 vncviewer.1 vncpasswd.1 vncconnect.1 vncserver.1
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${ARCH} != "i386"
|
|
||||||
BROKEN= "Does not compile on !i386"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if exists(${X11BASE}/share/vnc/classes/index.vnc)
|
.if exists(${X11BASE}/share/vnc/classes/index.vnc)
|
||||||
IGNORE= vnc has already been installed, please uninstall it first.
|
IGNORE= vnc has already been installed, please uninstall it first
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (tightvnc-1.2.9_unixsrc.tar.bz2) = f804b26c098625e3a2675a0aa7709e31
|
MD5 (tightvnc-1.3.8_unixsrc.tar.bz2) = 9b9b0465834289d1b7899982c0096440
|
||||||
SHA256 (tightvnc-1.2.9_unixsrc.tar.bz2) = c1ba77f832d6c81349f05219802c48b3435cfb6db88f496c9bb08b52b8405548
|
SHA256 (tightvnc-1.3.8_unixsrc.tar.bz2) = cd76e1c5c6843fec2a7a5c493158cdb3642eb1ef4caecee7a89bfd2078881178
|
||||||
SIZE (tightvnc-1.2.9_unixsrc.tar.bz2) = 1738256
|
SIZE (tightvnc-1.3.8_unixsrc.tar.bz2) = 1766473
|
||||||
|
|
|
@ -1,14 +1,5 @@
|
||||||
--- Xvnc/config/cf/FreeBSD.cf.orig Sun Jun 11 21:00:51 2000
|
--- Xvnc/config/cf/FreeBSD.cf.orig Sun Jun 11 08:00:51 2000
|
||||||
+++ Xvnc/config/cf/FreeBSD.cf Fri Dec 6 03:21:44 2002
|
+++ Xvnc/config/cf/FreeBSD.cf Tue Sep 26 19:07:31 2006
|
||||||
@@ -49,7 +49,7 @@
|
|
||||||
|
|
||||||
#define MkdirHierCmd mkdir -p
|
|
||||||
|
|
||||||
-#define CcCmd cc
|
|
||||||
+#define CcCmd %%CC%%
|
|
||||||
#define CppCmd /usr/libexec/cpp
|
|
||||||
#define PreProcessCmd CppCmd
|
|
||||||
#define StandardCppDefines -traditional
|
|
||||||
@@ -253,9 +253,9 @@
|
@@ -253,9 +253,9 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -21,3 +12,11 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PreIncDir
|
#ifndef PreIncDir
|
||||||
|
@@ -359,6 +359,5 @@
|
||||||
|
|
||||||
|
#include <bsdLib.rules>
|
||||||
|
|
||||||
|
-#ifdef i386Architecture
|
||||||
|
#include <xfree86.cf>
|
||||||
|
-#endif
|
||||||
|
+
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- Xvnc/config/cf/vnclibs.def.orig Thu Sep 26 12:32:21 2002
|
--- Xvnc/config/cf/vnclibs.def.orig Sat May 3 11:31:54 2003
|
||||||
+++ Xvnc/config/cf/vnclibs.def Thu Sep 26 12:34:04 2002
|
+++ Xvnc/config/cf/vnclibs.def Tue Sep 26 21:48:43 2006
|
||||||
@@ -5,13 +5,5 @@
|
@@ -5,13 +5,6 @@
|
||||||
* and programs/Xserver/hw/vnc whenever you change this file.
|
* and programs/Xserver/hw/vnc whenever you change this file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -8,11 +8,11 @@
|
||||||
-
|
-
|
||||||
-#ifdef OSF1Architecture
|
-#ifdef OSF1Architecture
|
||||||
-/* Avoid linking with different libjpeg in /usr/shlib under Tru64. */
|
-/* Avoid linking with different libjpeg in /usr/shlib under Tru64. */
|
||||||
-VNCSYSLIBS = /usr/local/lib/libjpeg.a /usr/local/lib/libz.a
|
-VNCSYSLIBS = /usr/local/lib/libjpeg.a /usr/local/lib/libz.a -lcrypt
|
||||||
-#else
|
-#else
|
||||||
-VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz
|
+VNCLIBS = $(TOP)/../libvncauth/libvncauth.a /usr/local/lib/libjpeg.a
|
||||||
|
+VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include -L/usr/local/lib
|
||||||
|
VNCSYSLIBS = -L/usr/local/lib -ljpeg -lz -lcrypt
|
||||||
-#endif
|
-#endif
|
||||||
-
|
-
|
||||||
-VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include
|
-VNCCPPFLAGS = -I$(TOP)/../include -I/usr/local/include
|
||||||
+VNCLIBS = $(TOP)/../libvncauth/libvncauth.a %%LOCALBASE%%/lib/libjpeg.a
|
|
||||||
+VNCCPPFLAGS = -I$(TOP)/../include -I%%LOCALBASE%%/include -L%%LOCALBASE%%/lib
|
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
--- vncserver.orig Fri Mar 29 05:58:01 2002
|
--- vncserver.orig Thu Aug 10 13:01:07 2006
|
||||||
+++ vncserver Fri Mar 29 05:58:15 2002
|
+++ vncserver Tue Sep 26 21:08:10 2006
|
||||||
@@ -37,7 +37,7 @@
|
@@ -38,7 +38,7 @@
|
||||||
$desktopName = "X";
|
$desktopName = "X";
|
||||||
$vncClasses = "/usr/local/vnc/classes";
|
$vncClasses = "/usr/local/vnc/classes";
|
||||||
$vncUserDir = "$ENV{HOME}/.vnc";
|
$vncUserDir = "$ENV{HOME}/.vnc";
|
||||||
-$fontPath = "unix/:7100";
|
-$fontPath = "unix/:7100";
|
||||||
+# $fontPath = "unix/:7100";
|
+#$fontPath = "unix/:7100";
|
||||||
|
$authType = "-rfbauth $vncUserDir/passwd";
|
||||||
|
|
||||||
# Here is another example of setting the font path:
|
# Here is another example of setting the font path:
|
||||||
# $fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
--- vncviewer/desktop.c.orig Thu Jul 31 00:01:00 2003
|
|
||||||
+++ vncviewer/desktop.c Sun Sep 18 19:20:06 2005
|
|
||||||
@@ -180,8 +180,9 @@
|
|
||||||
break;
|
|
||||||
|
|
||||||
case FocusIn:
|
|
||||||
- XSetInputFocus(dpy, XtWindowOfObject(desktop), RevertToPointerRoot,
|
|
||||||
- CurrentTime);
|
|
||||||
+ /** XSetInputFocus(dpy, XtWindowOfObject(desktop), RevertToPointerRoot,
|
|
||||||
+ CurrentTime); **/
|
|
||||||
+ XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case FocusOut:
|
|
|
@ -3,21 +3,22 @@ bin/vncconnect
|
||||||
bin/vncpasswd
|
bin/vncpasswd
|
||||||
bin/vncserver
|
bin/vncserver
|
||||||
bin/vncviewer
|
bin/vncviewer
|
||||||
share/tightvnc/classes/AuthPanel.class
|
%%DATADIR%%/classes/AuthPanel.class
|
||||||
share/tightvnc/classes/ButtonPanel.class
|
%%DATADIR%%/classes/AuthUnixLoginPanel.class
|
||||||
share/tightvnc/classes/ClipboardFrame.class
|
%%DATADIR%%/classes/ButtonPanel.class
|
||||||
share/tightvnc/classes/DesCipher.class
|
%%DATADIR%%/classes/CapabilityInfo.class
|
||||||
share/tightvnc/classes/HTTPConnectSocket.class
|
%%DATADIR%%/classes/CapsContainer.class
|
||||||
share/tightvnc/classes/HTTPConnectSocketFactory.class
|
%%DATADIR%%/classes/ClipboardFrame.class
|
||||||
share/tightvnc/classes/OptionsFrame.class
|
%%DATADIR%%/classes/DesCipher.class
|
||||||
share/tightvnc/classes/RecordingFrame.class
|
%%DATADIR%%/classes/OptionsFrame.class
|
||||||
share/tightvnc/classes/ReloginPanel.class
|
%%DATADIR%%/classes/RecordingFrame.class
|
||||||
share/tightvnc/classes/RfbProto.class
|
%%DATADIR%%/classes/ReloginPanel.class
|
||||||
share/tightvnc/classes/SessionRecorder.class
|
%%DATADIR%%/classes/RfbProto.class
|
||||||
share/tightvnc/classes/SocketFactory.class
|
%%DATADIR%%/classes/SessionRecorder.class
|
||||||
share/tightvnc/classes/VncCanvas.class
|
%%DATADIR%%/classes/SocketFactory.class
|
||||||
share/tightvnc/classes/VncViewer.class
|
%%DATADIR%%/classes/VncCanvas.class
|
||||||
share/tightvnc/classes/VncViewer.jar
|
%%DATADIR%%/classes/VncViewer.class
|
||||||
share/tightvnc/classes/index.vnc
|
%%DATADIR%%/classes/VncViewer.jar
|
||||||
@dirrm share/tightvnc/classes
|
%%DATADIR%%/classes/index.vnc
|
||||||
@dirrm share/tightvnc
|
@dirrm %%DATADIR%%/classes
|
||||||
|
@dirrm %%DATADIR%%
|
||||||
|
|
Loading…
Add table
Reference in a new issue