[Erp5-report] r7889 - /spec/mandriva/2006.0/xf4vnc/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jun 19 17:27:21 CEST 2006


Author: kevin
Date: Mon Jun 19 17:27:19 2006
New Revision: 7889

URL: http://svn.erp5.org?rev=7889&view=rev
Log:
Commit xf4vnc-4.3.0.104-1.2mdk spec files and patches

Added:
    spec/mandriva/2006.0/xf4vnc/
    spec/mandriva/2006.0/xf4vnc/xf4vnc-4.3.0.104-keyboard.patch
    spec/mandriva/2006.0/xf4vnc/xf4vnc.spec

Added: spec/mandriva/2006.0/xf4vnc/xf4vnc-4.3.0.104-keyboard.patch
URL: http://svn.erp5.org/spec/mandriva/2006.0/xf4vnc/xf4vnc-4.3.0.104-keyboard.patch?rev=7889&view=auto
==============================================================================
--- spec/mandriva/2006.0/xf4vnc/xf4vnc-4.3.0.104-keyboard.patch (added)
+++ spec/mandriva/2006.0/xf4vnc/xf4vnc-4.3.0.104-keyboard.patch Mon Jun 19 17:27:19 2006
@@ -1,0 +1,30 @@
+diff -urN -x CVS xf4vnc-4.3.0.104.orig/xc/programs/Xserver/hw/vnc/kbdptr.c xf4vnc-4.3.0.104/xc/programs/Xserver/hw/vnc/kbdptr.c
+--- xf4vnc-4.3.0.104.orig/xc/programs/Xserver/hw/vnc/kbdptr.c	2004-06-16 14:59:52.674855104 +0200
++++ xf4vnc-4.3.0.104/xc/programs/Xserver/hw/vnc/kbdptr.c	2004-02-20 20:09:11.000000000 +0100
+@@ -96,7 +96,7 @@
+      *
+      * Alan.
+      */
+-#if !XFREE86VNC
++#if 1
+     /* First check if it's one of our predefined keys.  If so then we can make
+        some attempt at allowing an xmodmap inside a VNC desktop behave
+        something like you'd expect - e.g. if keys A & B are swapped over and
+@@ -197,7 +197,7 @@
+ 
+     time = GetTimeInMillis();
+ 
+-#if 0
++#if 1
+     /* Disabled in xf4vnc 4.3.0.101 */
+     if (down) {
+ 	if (shiftMustBePressed && !(kbdDevice->key->state & ShiftMask)) {
+@@ -230,7 +230,7 @@
+     ev.u.keyButtonPointer.time = time;
+     Enqueue(&ev);
+ 
+-#if 0
++#if 1
+     /* Disabled in xf4vnc 4.3.0.101 */
+     if (fakeShiftPress) {
+ 	fake.u.u.type = KeyRelease;

Added: spec/mandriva/2006.0/xf4vnc/xf4vnc.spec
URL: http://svn.erp5.org/spec/mandriva/2006.0/xf4vnc/xf4vnc.spec?rev=7889&view=auto
==============================================================================
--- spec/mandriva/2006.0/xf4vnc/xf4vnc.spec (added)
+++ spec/mandriva/2006.0/xf4vnc/xf4vnc.spec Mon Jun 19 17:27:19 2006
@@ -1,0 +1,60 @@
+%define name xf4vnc
+%define version 4.3.0.104
+%define release 1.2mdk
+
+Name: %{name}
+Summary: VNC Server based on XFree86 4.x
+Version: %{version}
+Release: %{release}
+Source: http://cvs.sourceforge.net/viewcvs.py/xf4vnc/
+URL: http://xf4vnc.sourceforge.net/
+Group: Networking/Remote access
+BuildRoot: %{_tmppath}/%{name}-buildroot
+Source: %{name}-%{version}.tar.bz2
+License: GPL
+Patch1: xf4vnc-4.3.0.104-keyboard.patch.bz2
+
+%description
+xf4vnc provides two implementations of VNC in an Xserver. Yet both implementations are built around XFree86(tm) 4.x which provides numerous new extensions, such as RENDER and GLX.
+
+%prep
+rm -rf $RPM_BUILD_ROOT
+%setup 
+%patch1 -p1
+
+%build
+cd libvncauth
+#imake -I../xc/config/cf
+xmkmf -a
+make clean
+make
+cd ../vncviewer
+make -f Makefile.modules clean
+#make clean
+#imake -I../xc/config/cf
+xmkmf -a
+make
+make -f Makefile.modules
+cd ../xc
+#echo "Now check xc/config/host.def and then type 'make World'"
+%make World
+
+%install
+install -D -m 755 xc/programs/Xserver/Xvnc %{buildroot}/usr/X11R6/bin/Xvnc.xf4
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,0755)
+/usr/X11R6/bin/Xvnc.xf4
+
+%changelog
+* Fri Feb 4 2005 Christophe DUMEZ <christophe at nexedi.com> 4.3.0.104-1.2mdk
+- Rebuilt with gcc4 instead of gcc3.3
+
+* Fri Feb 3 2005 Christophe DUMEZ <christophe at nexedi.com> 4.3.0.104-1.1mdk
+- Rebuilt for Mandriva 2006
+
+* Wed Jun 16 2004 Yoshinori OKUJI <yo at nexedi.com> 4.3.0.104-1mdk
+- initial release




More information about the Erp5-report mailing list