Reposting to the list...


I forgot about that one hunk failure. It was easily enough to figure out
though. I think the patch I used works great, but if you have another
one that works too then by all means, use that. The patch I used only
supports part of the randr extension 1.1. There is another patch out
there that supports the other parts of xrandr: rotate and reflect. I was
thinking of combining the two patches and getting rid of any manual hunk
failures like the one below. But I don't know if I have time.

Does that patch you applied support rotate and reflect? In my server,
xrandr -q reports that it does but it actually doesn't.



-Chris





________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Claudio Favi
Sent: Friday, April 11, 2008 7:56 AM
To: PARESH MASANI
Cc: Williams, Chris (Marlboro)
Subject: Re: To resize the VNC session window size



Hi Paresh,
are these the files Chris sent you? I didn't see vnc-use-fb_patch.txt
and xvnc.cc.

Chris should we replace xvnc.cc with this one and apply the patch or
else ?

Anyways the patch xvnc4-randr-patch-20060603 is used to patch the files
in the vnc4_4.1.1+X4.3.0.orig.tar.gz
<http://debian.mirror.inra.fr/debian/pool/main/v/vnc4/vnc4_4.1.1+X4.3.0.
orig.tar.gz>  tree. So normally you would:
> tar zxf vnc4_4.1.1+X4.3.0.orig.tar.gz
<http://debian.mirror.inra.fr/debian/pool/main/v/vnc4/vnc4_4.1.1+X4.3.0.
orig.tar.gz>
> cd vnc4_4.1.1+X4.3.0.orig
> patch -p1 < /path/to/xvnc4-randr-patch-20060603
you should get:
patching file unix/xc/programs/Xserver/randr/randr.c
patching file unix/xc/programs/Xserver/vnc/vncHooks.cc
Hunk #1 succeeded at 1473 (offset -57 lines).
patching file unix/xc/programs/Xserver/vnc/XserverDesktop.cc
patching file unix/xc/programs/Xserver/vnc/XserverDesktop.h
patching file unix/xc/programs/Xserver/vnc/Xvnc/Imakefile
Hunk #1 FAILED at 44.
1 out of 1 hunk FAILED -- saving rejects to file
unix/xc/programs/Xserver/vnc/Xvnc/Imakefile.rej
patching file unix/xc/programs/Xserver/vnc/Xvnc/xvnc.cc
Hunk #1 succeeded at 101 (offset -6 lines).
Hunk #3 succeeded at 179 (offset -9 lines).
Hunk #4 succeeded at 406 (offset -18 lines).
Hunk #5 succeeded at 862 (offset -10 lines).
Hunk #6 succeeded at 1144 (offset -33 lines).

Now for that FAILED hunk in unix/xc/programs/Xserver/vnc/Xvnc/Imakefile.
You should edit the file and add
-I$(SERVERSRC)/randr at line 40.

then go to the unix/ directory and read the README files.

cheers,
cla

On Fri, Apr 11, 2008 at 11:56 AM, PARESH MASANI
<[EMAIL PROTECTED]> wrote:

Thanks a lot for your help.



See to be honest i dont know about how to use patch(either by command or
manually). Could you please help me in patching. If i am not wrong then
the attached files only i have to patch. Right?



Thanks,

Paresh Masani ( 09985533862 )

"Enjoy The Works U Do...

               And Do The Best You Can....."



----- Original Message ----
From: Claudio Favi <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
vnc-list@realvnc.com
Sent: Friday, 11 April, 2008 12:37:21 PM
Subject: RE: To resize the VNC session window size

Paresh,
was trying to do the same thing and stumbled upon this thread.
You can find vnc4_4.1.1+X4.3.0.orig.tar.gz
<http://debian.mirror.inra.fr/debian/pool/main/v/vnc4/vnc4_4.1.1+X4.3.0.
orig.tar.gz>  here:
http://debian.mirror.inra.fr/debian/pool/main/v/vnc4/
I had to patch manually (patch -p0 < ranrd.patch [chris patch] didn't
work ). And Was able to compile and get the Xvnc server with randr
extension.

Chris,
I run my new Xvnc server with

vncserver -geometry "1024x768"

and when I connect to it xrand output is:
 SZ:    Pixels          Physical       Refresh
*0   1024 x 768    ( 260mm x 195mm )  *60
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none

How can I add more sizes ? I tried several -geometry options but nothing
worked.

Cheers,
Claudio

--
========================
Claudio Favi
Ph.D Student
EPFL IC ISIM GR-CH
IN-F 134
Station 14
1015 Lausanne
Switzerland
Tel: +41 21 693 3907
Fax: +41 21 693 5236
http://aqua.epfl.ch <http://aqua.epfl.ch/>
========================





________________________________

Meet people who discuss and share your passions. Join them now.
<http://in.rd.yahoo.com/tagline_groups_7/*http:/in.promos.yahoo.com/grou
ps/bestofyahoo/>




--
========================
Claudio Favi
Ph.D Student
EPFL IC ISIM GR-CH
IN-F 134
Station 14
1015 Lausanne
Switzerland
Tel: +41 21 693 3907
Fax: +41 21 693 5236
http://aqua.epfl.ch
========================
_______________________________________________
VNC-List mailing list
VNC-List@realvnc.com
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to