On 05/03/2010 07:22 PM, Adam Tkac wrote:
> On Mon, May 03, 2010 at 06:58:15PM +0700, Antoine Martin wrote:
>    
>>>> Then I found your post:
>>>> http://www.mail-archive.com/tigervnc-devel@lists.sourceforge.net/msg00434.html
>>>> Which points to this patch:
>>>> http://sourceforge.net/tracker/?func=detail&atid=302435&aid=2877129&group_id=2435
>>>> Which has already been merged into Fedora 12's version of mingw.
>>>>          
>>> You are incorrect, that patch isn't available in Fedora 12. You have
>>> to apply it manually and then rerun configure.
>>>        
>> We are talking about this patch, right?
>> http://atkac.fedorapeople.org/w32api-tigervnc.patch
>>
>> I must have applied parts of it before and forgotten about it.
>> Anyway, it applies except for the last part: "mingw32/lib/shell32.c"
>> is nowhere to be found.
>> I even did a full "yum install mingw32*" to be sure.
>> In fact, doing a google search turns up nothing at all (except this patch!):
>> http://www.google.com/search?hl=en&q="mingw32/lib/shell32.c";
>>
>> Please advise. Do I need to pull mingw from source? How is that
>> going to play with my yum installed copies...
>>      
> You must rebuild the mingw32-w32api package with that patch. And you
> will have to do it every time when mingw32-w32api is updated.
> To be honest it might be better to include the patch in the Fedora
> distribution but I generally prefer to go things to the upstream
> first.
>    
Fair enough.
> You can read how to rebuild rpm on
> http://www.linuxweblog.com/patch-rebuild-rpm, for example. Note that
> %_topdir macro is not /usr/src/redhat/ but ~/rpmbuild/. Simply put the
> patch to ~/rpmbuild/SOURCES directory and apply it as written in
> chapter "6. Adding the patch to the package".
>
> You can get the latest source rpm from
> http://kojipkgs.fedoraproject.org/packages/mingw32-w32api/3.13/5.fc13/src/mingw32-w32api-3.13-5.fc13.src.rpm.
>
> Feel free to ask me if you hit any problem.
>    
Thanks, that worked. Got the:
checking whether CLSID_ActiveDesktop is declared... yes
And the .exe built fine.

Is there a make install somewhere I've missed? I had to select the DLL 
set by hand.
(the tigervnc.iss seems to be based on the VS build?)

The resulting binary will display the help text when run via wine:
wine winvnc4.exe -h
But will not display anything when running native.
It seems to run though, listening on :5900 at least - but the tray icon 
is missing and I can't seem to connect.. ("No password configured..")
And if I specify *any* command line arguments, it dies (sometimes 
popping up Dr Watson)
Probably still missing something..

Thanks
Antoine
> Regards, Adam
>
>    


------------------------------------------------------------------------------
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to