Migrating to new directory structure adopted from the RealVNC's source tree. More changes will follow.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@590 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/xc.patch b/unix/xc.patch
new file mode 100644
index 0000000..a5927b9
--- /dev/null
+++ b/unix/xc.patch
@@ -0,0 +1,67 @@
+diff -bcr xc.org/programs/Xserver/Imakefile xc/programs/Xserver/Imakefile
+*** xc.org/programs/Xserver/Imakefile	2004-12-15 20:22:53.000000000 +0100
+--- xc/programs/Xserver/Imakefile	2005-02-14 14:23:21.000000000 +0100
+***************
+*** 128,134 ****
+         LIBREGEX = RegexLibrary
+  
+  #if DoLoadableServer
+!     LIBCWRAPPER = os/libcwrapper.o
+  #endif
+  
+  #if BuildXprint
+--- 128,134 ----
+         LIBREGEX = RegexLibrary
+  
+  #if DoLoadableServer
+!     LIBCWRAPPER = os/libcwrapper.o os/libos.a
+  #endif
+  
+  #if BuildXprint
+***************
+*** 414,419 ****
+--- 414,430 ----
+  #define ServerToInstall Xsun
+  #endif
+  #endif /* XsunServer */
++ XCOMM
++ XCOMM X VNC server
++ XCOMM
++ FBSUBDIR = fb
++ XVNCDDXDIR = vnc/Xvnc
++ XVNCDIRS = $(STDDIRS) $(FBSUBDIR) miext/damage $(XVNCDDXDIR) $(DEPDIRS)
++ XVNCLIBS = PreFbLibs vnc/Xvnc/LibraryTargetName(xvnc) FbPostFbLibs
++ XVNCOBJS = $(XVNCDDXDIR)/stubs.o $(XVNCDDXDIR)/miinitext.o
++ XVNCSYSLIBS = $(FONTLIBS) $(SYSLIBS)
++ ServerTarget(Xvnc,$(XVNCDIRS),$(XVNCOBJS), \
++ 	$(LIBCWRAPPER) $(XVNCLIBS) $(LOADABLEEXTS),$(XVNCSYSLIBS))
+  
+  
+  #if defined(Xsun24Server) && Xsun24Server
+diff -bcr xc.org/programs/Xserver/mi/miinitext.c xc/programs/Xserver/mi/miinitext.c
+*** xc.org/programs/Xserver/mi/miinitext.c	2004-12-13 06:48:41.000000000 +0100
+--- xc/programs/Xserver/mi/miinitext.c	2005-02-11 16:47:34.000000000 +0100
+***************
+*** 286,291 ****
+--- 286,294 ----
+  #ifdef MITMISC
+  extern void MITMiscExtensionInit(INITARGS);
+  #endif
++ #ifdef VNCEXT
++ extern void vncExtensionInit(INITARGS);
++ #endif
+  #ifdef XIDLE
+  extern void XIdleExtensionInit(INITARGS);
+  #endif
+***************
+*** 587,592 ****
+--- 590,598 ----
+  #ifdef MITMISC
+      if (!noMITMiscExtension) MITMiscExtensionInit();
+  #endif
++ #ifdef VNCEXT
++     vncExtensionInit();
++ #endif
+  #ifdef XIDLE
+      if (!noXIdleExtension) XIdleExtensionInit();
+  #endif