SOURCES: vnc-modular-xorg.patch, vnc-build.patch - updated for 4.1.3

pascalek pascalek at pld-linux.org
Sun Jan 4 18:06:08 CET 2009


Author: pascalek                     Date: Sun Jan  4 17:06:08 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 4.1.3

---- Files affected:
SOURCES:
   vnc-modular-xorg.patch (1.3 -> 1.4) , vnc-build.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/vnc-modular-xorg.patch
diff -u SOURCES/vnc-modular-xorg.patch:1.3 SOURCES/vnc-modular-xorg.patch:1.4
--- SOURCES/vnc-modular-xorg.patch:1.3	Fri Jan 18 01:44:50 2008
+++ SOURCES/vnc-modular-xorg.patch	Sun Jan  4 18:06:02 2009
@@ -1,5 +1,5 @@
---- vnc-4_1_2-unixsrc/unix/xc/programs/Xserver/vnc/Xvnc/xvnc.cc.modular-xorg	2006-06-13 17:47:02.000000000 -0400
-+++ vnc-4_1_2-unixsrc/unix/xc/programs/Xserver/vnc/Xvnc/xvnc.cc	2006-06-13 17:47:02.000000000 -0400
+--- vnc-4_1_2-unixsrc/unix/xc/programs/Xserver/vnc/Xvnc/xvnc.cc.modular-xorg	2007-03-02 15:45:38.000000000 +0100
++++ vnc-4_1_2-unixsrc/unix/xc/programs/Xserver/vnc/Xvnc/xvnc.cc	2007-03-02 15:45:38.000000000 +0100
 @@ -36,8 +36,6 @@
  extern "C" {
  #define class c_class
@@ -39,168 +39,3 @@
    ErrorF("Underlying X server release %d, %s\n\n", VENDOR_RELEASE,
           VENDOR_STRING);
    wellKnownSocketsCreated = true;
---- /dev/null	2006-06-13 10:12:45.634275750 -0400
-+++ vnc-4_1_2-unixsrc/unix/xorg-server/hw/vnc/Makefile.am	2006-06-13 17:47:02.000000000 -0400
-@@ -0,0 +1,89 @@
-+noinst_LTLIBRARIES = libvnccommon.la
-+libvnccommon_la_SOURCES = \
-+		RegionHelper.h     \
-+		vncExtInit.cc     \
-+		vncExtInit.h      \
-+		vncHooks.cc       \
-+		vncHooks.h        \
-+		XserverDesktop.cc \
-+		XserverDesktop.h
-+
-+libvnccommon_la_CXXFLAGS = \
-+		-DVENDOR_RELEASE="$(VENDOR_RELEASE)" \
-+		-DVENDOR_STRING="\"$(VENDOR_STRING)\"" \
-+		-DGC_HAS_COMPOSITE_CLIP \
-+		-DVNC_USE_FB \
-+		-I/usr/include/X11 \
-+		-I../../../../common \
-+		-I../../../vncconfig
-+
-+bin_PROGRAMS = Xvnc
-+
-+Xvnc_SOURCES = \
-+		xvnc.cc \
-+		$(top_srcdir)/hw/vfb/InitInput.c \
-+		$(top_srcdir)/Xext/dpmsstubs.c \
-+		$(top_srcdir)/Xi/stubs.c \
-+		$(top_srcdir)/mi/miinitext.c \
-+		$(top_srcdir)/fb/fbcmap_mi.c
-+
-+Xvnc_LDADD =	$(XORG_CORE_LIBS) \
-+		$(XORG_LIBS) \
-+		$(XSERVER_LIBS) \
-+		../../fb/libfb.la \
-+		../../mi/libmi.la \
-+		../../render/librender.la \
-+		../../xkb/libxkbstubs.la \
-+		../../dbe/libdbe.la \
-+		../../Xext/libXext.la \
-+		../../XTrap/libxtrap.la \
-+		../../record/librecord.la \
-+		../xfree86/os-support/libxorgos.la \
-+		../../os/libos.la \
-+		-lX11 \
-+		libvnccommon.la \
-+		../../../../common/rfb/librfb.a \
-+		../../../../common/rdr/librdr.a \
-+		../../../../common/network/libnetwork.a \
-+		../../../../common/Xregion/libXregion.a
-+#		../xfree86/common/libcommon.la
-+
-+Xvnc_CFLAGS =  -DHAVE_DIX_CONFIG_H \
-+		-DNO_HW_ONLY_EXTS \
-+		-DNO_MODULE_EXTS \
-+		-I../../Xext \
-+		-I../../mi \
-+		-I../../render \
-+		-DXFree86Server -DVNCEXT
-+
-+Xvnc_CXXFLAGS = $(Xvnc_CFLAGS) \
-+		-DVENDOR_RELEASE="$(VENDOR_RELEASE)" \
-+		-DVENDOR_STRING="\"$(VENDOR_STRING)\"" \
-+		-DVNC_USE_FB \
-+		-I../../../../common \
-+		-I../../../vncconfig \
-+		-I../../mi \
-+		-I../../render \
-+		-I/usr/include/X11
-+
-+libvnc_la_LTLIBRARIES = libvnc.la
-+libvnc_la_LDFLAGS = -module -avoid-version
-+libvnc_ladir = $(moduledir)/extensions
-+libvnc_la_SOURCES = xf86vncModule.cc
-+libvnc_la_LIBADD = \
-+		libvnccommon.la \
-+		../../../../common/rfb/librfb.a \
-+		../../../../common/rdr/librdr.a \
-+		../../../../common/network/libnetwork.a \
-+		../../../../common/Xregion/libXregion.a
-+libvnc_la_CXXFLAGS = \
-+		-I../../../../common \
-+		-I$(top_srcdir)/hw/xfree86/common \
-+		-I$(top_srcdir)/hw/xfree86/os-support \
-+		-I$(top_srcdir)/hw/xfree86/os-support/bus \
-+		-DXFree86Module -DXFree86LOADER -DIN_MODULE
-+
-+AM_CXXFLAGS =	$(CFLAGS) \
-+		-DVENDOR_RELEASE="$(VENDOR_RELEASE)" \
-+		-DVENDOR_STRING="\"$(VENDOR_STRING)\""
-+
---- vnc-4_1_2-unixsrc/unix/xorg-server/hw/Makefile.am.modular-xorg	2006-01-09 21:30:56.000000000 -0500
-+++ vnc-4_1_2-unixsrc/unix/xorg-server/hw/Makefile.am	2006-06-13 17:47:51.000000000 -0400
-@@ -42,6 +42,8 @@
- DARWIN_SUBDIRS = darwin
- endif
- 
-+XVNC_SUBDIRS = vnc
-+
- SUBDIRS =			\
- 	$(XORG_SUBDIRS)		\
- 	$(XGL_SUBDIRS)		\
-@@ -35,6 +37,7 @@
- 	$(XWIN_SUBDIRS)		\
- 	$(XVFB_SUBDIRS)		\
- 	$(XNEST_SUBDIRS)	\
-+	$(XVNC_SUBDIRS)	\
- 	$(DMX_SUBDIRS)          \
-         $(KDRIVE_SUBDIRS)	\
- 	$(XPRINT_SUBDIRS)
---- vnc-4_1_2-unixsrc/unix/xorg-server/configure.ac~	2008-01-08 03:18:32.000000000 +0200
-+++ vnc-4_1_2-unixsrc/unix/xorg-server/configure.ac	2008-01-08 03:21:00.938517181 +0200
-@@ -2096,6 +2096,7 @@
- hw/darwin/iokit/Makefile
- hw/darwin/quartz/Makefile
- hw/darwin/utils/Makefile
-+hw/vnc/Makefile
- hw/kdrive/Makefile
- hw/kdrive/ati/Makefile
- hw/kdrive/chips/Makefile
---- vnc-4_1_2-unixsrc/unix/xorg-server/mi/miinitext.c.modular-xorg	2006-03-11 19:11:34.000000000 -0500
-+++ vnc-4_1_2-unixsrc/unix/xorg-server/mi/miinitext.c	2006-06-13 17:47:02.000000000 -0400
-@@ -297,6 +297,9 @@
- #ifdef MITMISC
- extern void MITMiscExtensionInit(INITARGS);
- #endif
-+#ifdef VNCEXT
-+extern void vncExtensionInit(INITARGS);
-+#endif
- #ifdef XIDLE
- extern void XIdleExtensionInit(INITARGS);
- #endif
-@@ -577,6 +580,9 @@
- #ifdef MITMISC
-     if (!noMITMiscExtension) MITMiscExtensionInit();
- #endif
-+#ifdef VNCEXT
-+    vncExtensionInit();
-+#endif
- #ifdef XIDLE
-     if (!noXIdleExtension) XIdleExtensionInit();
- #endif
---- vnc-4_1_2-unixsrc/unix/vncinstall.modular-xorg	2005-02-28 08:00:32.000000000 -0500
-+++ vnc-4_1_2-unixsrc/unix/vncinstall	2006-06-13 17:47:02.000000000 -0400
-@@ -56,7 +56,7 @@
-   fi
- fi
- 
--for f in xc/programs/Xserver/Xvnc vncviewer/vncviewer vncpasswd/vncpasswd \
-+for f in xorg-server-*/hw/vnc/Xvnc vncviewer/vncviewer vncpasswd/vncpasswd \
- 	 vncconfig/vncconfig vncserver x0vncserver/x0vncserver; do
-   if [ ! -f $f ]; then
-     echo "Couldn't find $f"
-@@ -85,8 +85,8 @@
- 
- done
- 
--vncModule=xc/programs/Xserver/vnc/module/vnc.so
--if [ -f "$vncModule" -a -d "$moduledst" ]; then
-+vncModule=xorg-server-*/hw/vnc/.libs/libvnc.so
-+if [ -f $vncModule -a -d "$moduledst" ]; then
-   if cmp -s $vncModule $moduledst/`basename $vncModule`; then
-     echo "`basename $vncModule` hasn't changed"
-   else

================================================================
Index: SOURCES/vnc-build.patch
diff -u SOURCES/vnc-build.patch:1.1 SOURCES/vnc-build.patch:1.2
--- SOURCES/vnc-build.patch:1.1	Wed May  2 17:15:08 2007
+++ SOURCES/vnc-build.patch	Sun Jan  4 18:06:03 2009
@@ -19,3 +19,13 @@
  
  /* InstallManPage(Xvfb,$(MANDIR)) */
  DependTarget()
+--- vnc-4_1_3-unixsrc.orig/unix/xorg-server/configure.ac	2009-01-02 21:37:44.000000000 +0100
++++ vnc-4_1_3-unixsrc.chng/unix/xorg-server/configure.ac	2009-01-02 21:53:58.000000000 +0100
+@@ -54,6 +54,7 @@
+ AC_CONFIG_HEADERS(include/kdrive-config.h)
+ 
+ AC_PROG_CC
++AC_PROG_CXX
+ AM_PROG_AS
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/vnc-modular-xorg.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/vnc-build.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list