Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/x11-system
In directory sc8-pr-cvs1:/tmp/cvs-serv1763
Added Files:
vnc-3.3.6-1.info vnc-3.3.6-1.patch
Log Message:
New upstream version.
--- NEW FILE: vnc-3.3.6-1.info ---
Package: vnc
Version: 3.3.6
Revision: 1
Source: http://www.realvnc.com/dist/vnc-%v-unixsrc.tar.gz
Source-MD5: 9ab3d27e4b34540baaaa02527938330a
BuildDepends: dlcompat-dev
Depends: x11
SourceDirectory: vnc-%v-unixsrc
PatchScript: sed 's|<PREFIX>|%p|g' < %a/%f.patch | patch -p1
SetCPPFLAGS: -no-cpp-precomp
CompileScript: <<
(./configure; make)
(cd ./Xvnc; make World)
<<
InstallScript: <<
mkdir -p %i/bin
mkdir -p %i/share/man/man1
mkdir -p %i/share/vnc/classes
./vncinstall %i/bin %i/share/man
cp ./classes/* %i/share/vnc/classes
cp vncconnect/vncconnect.man %i/share/man/man1/vncconnect.1
cp vncpasswd/vncpasswd.man %i/share/man/man1/vncpasswd.1
cp vncserver.man %i/share/man/man1/vncserver.1
cp vncviewer/vncviewer.man %i/share/man/man1/vncviewer.1
cp Xvnc/programs/Xserver/Xvnc.man %i/share/man/man1/Xvnc.1
<<
Description: Remote display system for X11
DescDetail: <<
creates a virtual X11 windowing environment that can be viewed
not only on the machine where it is running, but from anywhere
on the Internet and from a wide variety of machine architectures.
<<
DescPort: <<
Installs plain vanilla vnc with ZRLE encoding.
Requires XFree86 development stuff (Xprog.tgz), and perl.
Assumes XFree86 installed in /usr/X11R6.
The "-inetd" option for Xvnc is broken on MacOS X using Aqua. On Darwin,
it appears to work.
Includes mini http server and java applet for remote access via a web browser.
<<
License: GPL
Conflicts: tightvnc
Replaces: tightvnc
DocFiles: LICENCE.TXT README
Maintainer: Steven Tamm <[EMAIL PROTECTED]>
Homepage: http://www.realvnc.com
--- NEW FILE: vnc-3.3.6-1.patch ---
diff -r -c vnc-3.3.6-unixsrc/Xvnc/config/cf/Imake.cf
vnc-3.3.6-unixsrc/Xvnc/config/cf/Imake.cf
*** vnc-3.3.6-unixsrc/Xvnc/config/cf/Imake.cf Sat May 11 03:57:05 2002
--- vnc-3.3.6-unixsrc/Xvnc/config/cf/Imake.cf Fri Nov 8 10:03:24 2002
***************
*** 19,24 ****
--- 19,39 ----
* 4. Create a .cf file with the name given by MacroFile.
*/
+ #if defined(__APPLE__)
+ # undef __APPLE__
+ # define MacroIncludeFile <darwin.cf>
+ # define MacroFile darwin.cf
+ # define DarwinArchitecture
+ # ifdef __ppc__
+ # define PpcDarwinArchitecture
+ # undef __ppc__
+ # endif
+ # ifdef __i386__
+ # define i386DarwinArchitecture
+ # undef __i386__
+ # endif
+ #endif
+
#if defined(clipper) || defined(__clipper__)
# undef clipper
# define MacroIncludeFile <ingr.cf>
diff -r -c vnc-3.3.6-unixsrc/Xvnc/config/cf/darwin.cf
vnc-3.3.6-unixsrc/Xvnc/config/cf/darwin.cf
*** vnc-3.3.6-unixsrc/Xvnc/config/cf/darwin.cf Fri Nov 8 10:26:32 2002
--- vnc-3.3.6-unixsrc/Xvnc/config/cf/darwin.cf Fri Nov 8 10:02:22 2002
***************
*** 0 ****
--- 1,116 ----
+ /* Darwin / Mac OS X configuration by John Carmack <[EMAIL PROTECTED]> */
+
+ /* imake determines the default values by parsing uname */
+ #define OSName DefaultOSName
+ #define OSMajorVersion DefaultOSMajorVersion
+ #define OSMinorVersion DefaultOSMinorVersion
+ #define OSTeenyVersion DefaultOSTeenyVersion
+
+ XCOMM operating system: OSName
+(OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
+
+ /*
+ * Define the operating system's capabilities
+ */
+ #define HasSnprintf YES
+ #define HasPutenv YES
+ #define HasBSD44Sockets YES
+ #define HasUsableFileMmap YES
+ #define HasZlib YES
+ #ifndef HasShm
+ # define HasShm YES
+ #endif
+ #define HasNdbm YES
+
+ #ifndef HasGroff
+ # define HasGroff YES
+ #endif
+
+ /* Libtool on Darwin always uses minor numbers */
+ #define LibtoolMinorVersions YES
+
+ /* The most common file system, HFS+, is not case sensitive. */
+ #ifndef CaseSensitiveFileSystem
+ # define CaseSensitiveFileSystem NO
+ #endif
+
+ /* we don't need -lm */
+ #define MathLibrary /**/
+
+ /* we don't have a termcap library */
+ #define TermcapLibrary /**/
+
+ /* we don't have a dbm library */
+ #define DBMLibrary /**/
+
+ #define MkdirHierCmd mkdir -p
+
+ /* our cpp isn't in /lib/cpp and it doesn't like -undef */
+ #define CppCmd /usr/bin/cpp
+ #define RawCppCmd CppCmd
+
+ /* we have a gcc compatible compiler, but its not called gcc */
+ #define CcCmd /usr/bin/cc
+ #define CplusplusCmd /usr/bin/c++
+
+ /* default flags to pass to cc */
+ # define DefaultCCOptions -Wpointer-arith -no-cpp-precomp
+
+ /* flags to pass to cc when building libraries */
+ #ifndef LibraryCCOptions
+ # define LibraryCCOptions DefaultCCOptions -fno-common
+ #endif
+
+ #ifdef PpcDarwinArchitecture
+ # define DarwinMachineDefines -D__powerpc__
+ # define OptimizedCDebugFlags -O2
+ # define ByteOrder X_BIG_ENDIAN
+ #endif /* PpcDarwinArchitecture */
+
+ #ifdef i386DarwinArchitecture
+ # define DarwinMachineDefines -D__i386__
+ # define OptimizedCDebugFlags -O2 -fno-strength-reduce
+ # define ByteOrder X_LITTLE_ENDIAN
+ #endif /* i386DarwinArchitecture */
+
+ /*
+ * __DARWIN__ will be used for platform specific #ifdefs that can't
+ * be handled by existing X defines.
+ *
+ * Darwin's alloca() seg faults (rather than returning NULL) on failed
+ * allocations, so we can't use it.
+ *
+ * Darwin's setlocale() doesn't work properly, so use X11's instead.
+ */
+ #define StandardDefines DarwinMachineDefines -D__DARWIN__ \
+ -DNO_ALLOCA -DX_LOCALE
+
+ /*
+ * Set this to NO to just build the client libs, which should work without
+ * having to write any platform specific code.
+ */
+ #define BuildServer YES
+
+ /* our custom X server */
+ #define XDarwinServer YES
+
+ #define UsrLibDir /usr/X11R6/lib
+ /* Thanks to the IOKit, the X server does not have to be SetUID. */
+ #ifndef InstallXserverSetUID
+ # define InstallXserverSetUID NO
+ #endif
+
+ /* no direct graphics extension */
+ #define BuildXF86DGA NO
+
+ /* no server support for extra tablets and weird input devices */
+ #define BuildXInputExt NO
+ #define BuildXInputLib YES
+
+ /* no Display Power Management extension */
+ #define BuildDPMSExt NO
+
+ #define BuildLibPathVar DYLD_LIBRARY_PATH
+
+ /* include all the XFree86 rules */
+ #include <xfree86.cf>
+
diff -r -c vnc-3.3.6-unixsrc/Xvnc/config/imake/imakemdep.h
vnc-3.3.6-unixsrc/Xvnc/config/imake/imakemdep.h
*** vnc-3.3.6-unixsrc/Xvnc/config/imake/imakemdep.h Sat May 11 03:57:05 2002
--- vnc-3.3.6-unixsrc/Xvnc/config/imake/imakemdep.h Fri Nov 8 09:29:24 2002
***************
*** 269,274 ****
--- 269,277 ----
/* expects cpp in PATH */
#define DEFAULT_CPP "cpp"
#endif
+ #if defined(__APPLE__)
+ #define DEFAULT_CPP "/usr/bin/cpp"
+ #endif
/*
* Step 5: cpp_argv
***************
*** 537,542 ****
--- 540,548 ----
"-traditional",
"-Demxos2",
#endif
+ #if defined(__APPLE__)
+ "-D__APPLE__",
+ #endif
};
***************
*** 596,601 ****
--- 602,613 ----
# define DEFAULT_OS_MINOR_REV "r %*d.%[0-9]"
# define DEFAULT_OS_TEENY_REV "r %*d.%*d.%[0-9]"
# define DEFAULT_OS_NAME "srm %[^\n]"
+ #elif defined(__APPLE__)
+ /* uname -v returns "x.yz" or "x.y.z", e.g. "2.02" or "2.1.2". */
+ # define DEFAULT_OS_MAJOR_REV "r %[0-9]"
+ # define DEFAULT_OS_MINOR_REV "r %*d.%[0-9]"
+ # define DEFAULT_OS_TEENY_REV "r %*d.%*d.%[0-9]" /* this will just get 0 */
+ # define DEFAULT_OS_NAME "s %[^\n]"
#elif defined(ISC)
/* ISC all Versions ? */
/* uname -r returns "x.y", e.g. "3.2" ,uname -v returns "x" e.g. "2" */
***************
*** 904,909 ****
--- 916,927 ----
#endif
#ifdef __EMX__
{"__EMX__", "1"},
+ #endif
+ #if defined(__ppc__)
+ {"__ppc__", "1"},
+ #endif
+ #if defined(__BIG_ENDIAN__)
+ {"__BIG_ENDIAN__", "1"},
#endif
/* add any additional symbols before this line */
{NULL, NULL}
diff -r -c vnc-3.3.6-unixsrc/Xvnc/programs/Xserver/include/servermd.h
vnc-3.3.6-unixsrc/Xvnc/programs/Xserver/include/servermd.h
*** vnc-3.3.6-unixsrc/Xvnc/programs/Xserver/include/servermd.h Sat May 11 03:57:06
2002
--- vnc-3.3.6-unixsrc/Xvnc/programs/Xserver/include/servermd.h Fri Nov 8 09:31:22
2002
***************
*** 132,137 ****
--- 132,154 ----
#endif /* vax */
+ #ifdef __DARWIN__
+
+ #define IMAGE_BYTE_ORDER MSBFirst
+ #define BITMAP_BIT_ORDER MSBFirst
+ #define GLYPHPADBYTES 4
+ #define GETLEFTBITS_ALIGNMENT 1
+
+ #define LARGE_INSTRUCTION_CACHE
+ #define FAST_CONSTANT_OFFSET_MODE
+ #define PLENTIFUL_REGISTERS
+ #define AVOID_MEMORY_READ
+
+ #define FAST_MEMCPY
+
+ #endif /* __DARWIN__ */
+
+
#if (defined(Lynx) && defined(__powerpc__))
/* For now this is for Xvfb only */
*** vnc-3.3.6-unixsrc/configure.in Thu Oct 3 07:04:14 2002
--- vnc-3.3.6-unixsrc/configure.in Fri Nov 8 11:17:53 2002
***************
*** 13,18 ****
--- 13,21 ----
AC_LANG_CPLUSPLUS
case "`(uname -sr) 2>/dev/null`" in
+ "Darwin"*)
+ DARWIN=yes
+ ;;
"SunOS 5"*)
SOLARIS=yes
USE_MITSHM=yes
***************
*** 32,37 ****
--- 35,43 ----
CFLAGS="$CFLAGS -Wall"
if test "$SOLARIS" = yes; then
CFLAGS="$CFLAGS -Wno-unknown-pragmas -Wno-implicit-int"
+ fi
+ if test "$DARWIN" = yes; then
+ CFLAGS="$CFLAGS -no-cpp-precomp"
fi
fi
if test "$GXX" = yes; then
diff -r -c vnc-3.3.6-unixsrc/vncserver vnc-3.3.6-unixsrc/vncserver
*** vnc-3.3.6-unixsrc/vncserver Fri Nov 1 07:53:29 2002
--- vnc-3.3.6-unixsrc/vncserver Fri Nov 8 09:32:57 2002
***************
*** 37,45 ****
$depth = 16;
$desktopName = "X";
$vncClasses = (((-d "/usr/share/vnc/classes") && "/usr/share/vnc/classes") ||
! ((-d "/usr/local/vnc/classes") && "/usr/local/vnc/classes"));
$vncUserDir = "$ENV{HOME}/.vnc";
! $xauthorityFile = "$ENV{XAUTHORITY}" || "$ENV{HOME}/.Xauthority";
$defaultXStartup
= ("#!/bin/sh\n\n".
--- 37,46 ----
$depth = 16;
$desktopName = "X";
$vncClasses = (((-d "/usr/share/vnc/classes") && "/usr/share/vnc/classes") ||
! ((-d "/usr/local/vnc/classes") && "/usr/local/vnc/classes") ||
! ((-d "/sw/share/vnc/classes") && "/sw/share/vnc/classes"));
$vncUserDir = "$ENV{HOME}/.vnc";
! $xauthorityFile = "$ENV{XAUTHORITY}" || "$ENV{HOME}/.Xauthority" ||
"$vncUserDir/.XAuthority";
$defaultXStartup
= ("#!/bin/sh\n\n".
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits