On 05/06/2010 07:36 PM, Adam Tkac wrote: > On Thu, May 06, 2010 at 05:29:06AM +0700, Antoine Martin wrote: > >> [snip] >> >>>> 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.. >>> >> Anyone? >> > There might be multiple problems if I remember correctly. tigervnc.iss > is really not updated, yet. We should discuss how patch it/replace it > because AFAIK there is no Inno Setup for UNIX/OS X. > Why replace it? It's only for winvnc, right? Which is only for Windows anyway.
I could take a stab at updating it for mingw builds. (and keep the current copy for VS builds) > Currently you have to install all needed libraries manually. Note that > if you simply copied tigervnc/win/winvnc/winvnc4.exe and executed it > on Windows it will do nothing because it is only libtool wrapper > around the tigervnc/win/winvnc/.libs/winvnc4.exe executable. Try to > use winvnc from the .libs/ directory. Does it work now? > Hah, I was missing .libs Running from .libs doesn't help though. Here's what I found: * running without arguments works * running with -ShowSysTray=[yes|no] or -ZlibLevel=N or -SecurityTypes=None works ok * adding -PasswordFile=C:\password.txt fails silently (just returns to prompt) I haven't tried all the options, but it looks to me like "PasswordFile" is the only one that breaks... and also the only one I really need (apart from ShowSysTray). Damn. Unless anyone has a better idea, I'll start sprinkling printf all over that codepath and try to see where it dies... >> Would you consider merging that? >> > I think so. > Then please do. Thanks Antoine > Regards, Adam > > ------------------------------------------------------------------------------ _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel