[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?
All I'm trying to do is build a version with the attached change...
Would you consider merging that?
I need it in order to control winvnc4.exe externally, via this project:
http://shifter.devloop.org.uk/
At the moment it kinda works (work in progress), but the tigervnc applet
is superfluous.
Thanks
Antoine
Thanks
Antoine
Regards, Adam
Index: winvnc/VNCServerWin32.cxx
===================================================================
--- winvnc/VNCServerWin32.cxx (revision 4051)
+++ winvnc/VNCServerWin32.cxx (working copy)
@@ -48,6 +48,8 @@
"Only accept connections from via the local loop-back network interface",
false);
static BoolParameter queryOnlyIfLoggedOn("QueryOnlyIfLoggedOn",
"Only prompt for a local user to accept incoming connections if there is a
user logged on", false);
+static BoolParameter showTrayIcon("ShowTrayIcon",
+ "Show the configuration applet in the system tray icon", true);
VNCServerWin32::VNCServerWin32()
@@ -149,7 +151,8 @@
}
// - Create the tray icon (if possible)
- trayIcon = new STrayIconThread(*this, IDI_ICON, IDI_CONNECTED,
+ if (showTrayIcon)
+ trayIcon = new STrayIconThread(*this, IDI_ICON, IDI_CONNECTED,
IDI_ICON_DISABLE, IDI_CONNECTED_DISABLE,
IDR_TRAY);
------------------------------------------------------------------------------
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel