Re: [Tigervnc-devel] building with MinGW

2010-05-13 Thread Adam Tkac
On Thu, May 06, 2010 at 05:29:06AM +0700, Antoine Martin wrote: > > 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 superfluou

Re: [Tigervnc-devel] building with MinGW

2010-05-13 Thread Adam Tkac
On Fri, May 07, 2010 at 12:55:51AM +0700, Antoine Martin wrote: > Well, I just tried it and this is not going to help if nothing gets > printed on the DOS window... > I tested by adding: > fprintf(stderr, "run()\n"); > > $ wine ./winvnc4.exe > fixme:advapi:RegisterEventSourceA ((null),"WinVNC4")

Re: [Tigervnc-devel] building with MinGW

2010-05-06 Thread Antoine Martin
On 05/06/2010 08:24 PM, Antoine Martin wrote: > 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 m

Re: [Tigervnc-devel] building with MinGW

2010-05-06 Thread Antoine Martin
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 ~/rpm

Re: [Tigervnc-devel] building with MinGW

2010-05-06 Thread Adam Tkac
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 directo

Re: [Tigervnc-devel] building with MinGW

2010-05-05 Thread Antoine Martin
[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

Re: [Tigervnc-devel] building with MinGW

2010-05-03 Thread Antoine Martin
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/?fun

Re: [Tigervnc-devel] building with MinGW

2010-05-03 Thread Adam Tkac
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 > >>Wh

Re: [Tigervnc-devel] building with MinGW

2010-05-03 Thread Antoine Martin
> There is also /usr/bin/mingw32-configure script which I use on Fedora. > Simply call it instead of ./configure in the tigervnc/trunk directory :) > Thx, re-re-cap (for others): yum install mingw32-gcc-c++ mingw32-w32api mingw32-gcc mingw32-binutils cd tigervnc/trunk autoreconf -fi /usr/bin/

Re: [Tigervnc-devel] building with MinGW

2010-05-03 Thread Adam Tkac
On Fri, Apr 30, 2010 at 07:24:18PM +0700, Antoine Martin wrote: > On 04/30/2010 02:25 PM, Pierre Ossman wrote: > > On Fri, 30 Apr 2010 04:10:57 +0700 > > Antoine Martin wrote: > > > > > >> /bin/sh ./libtool --tag=CXX --mode=link g++ -O3 -o jpgtest.exe > >> > > g++ here is wrong. Did

Re: [Tigervnc-devel] building with MinGW

2010-04-30 Thread Antoine Martin
On 04/30/2010 02:25 PM, Pierre Ossman wrote: > On Fri, 30 Apr 2010 04:10:57 +0700 > Antoine Martin wrote: > > >> /bin/sh ./libtool --tag=CXX --mode=link g++ -O3 -o jpgtest.exe >> > g++ here is wrong. Did you install mingw32-gcc-c++? You need to do a > make clean and rerun configure

Re: [Tigervnc-devel] building with MinGW

2010-04-30 Thread Pierre Ossman
On Fri, 30 Apr 2010 04:10:57 +0700 Antoine Martin wrote: > /bin/sh ./libtool --tag=CXX --mode=link g++ -O3 -o jpgtest.exe g++ here is wrong. Did you install mingw32-gcc-c++? You need to do a make clean and rerun configure after you've installed it. Make -- Pierre OssmanOpenS

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread Peter Åstrand
On Fri, 30 Apr 2010, Antoine Martin wrote: make Almost there... but fails on libjpeg, so I also tried ./configure --host=i686-pc-mingw32 --with-system-jpeg same problem: Perhaps you have some files left from an earlier native build? Try without --with-system-jpeg, and delete your .libs dirs

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread Antoine Martin
On 04/30/2010 04:10 AM, Antoine Martin wrote: > On 04/30/2010 03:29 AM, Peter Åstrand wrote: > >>> Do you use MinGW on Windows or as a cross compiler on some other >>> platform? >>> >>> I'm new to mingw (and using it as cross compiler), so I dont really know >>> how to proceed past: >>> cd tige

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread Antoine Martin
On 04/30/2010 03:29 AM, Peter Åstrand wrote: >> Do you use MinGW on Windows or as a cross compiler on some other >> platform? >> >> I'm new to mingw (and using it as cross compiler), so I dont really know >> how to proceed past: >> cd tigervnc/trunk/win >> Any more pointers would be much appreciat

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread Peter Åstrand
Do you use MinGW on Windows or as a cross compiler on some other platform? I'm new to mingw (and using it as cross compiler), so I dont really know how to proceed past: cd tigervnc/trunk/win Any more pointers would be much appreciated. Use a distro that includes MinGW, such as recent Fedora ver

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread DRC
The Cendio folks can best answer how to use it as a cross-compiler on Linux. I use it in a Windows virtual machine running on a Mac. :) I haven't had time to look into the issues I was having with the Windows build previously, but I'll be sure to post my findings. On 4/29/10 1:49 PM, Antoine Ma

Re: [Tigervnc-devel] building with MinGW

2010-04-29 Thread Antoine Martin
On 04/29/2010 05:59 AM, DRC wrote: > Yes, in the trunk. > Good. Do you use MinGW on Windows or as a cross compiler on some other platform? I'm new to mingw (and using it as cross compiler), so I dont really know how to proceed past: cd tigervnc/trunk/win Any more pointers would be much appre

Re: [Tigervnc-devel] building with MinGW

2010-04-28 Thread DRC
Yes, in the trunk. On 4/28/10 5:22 PM, Antoine Martin wrote: > Hi, > > Is building with mingw supported now? > Last time I sent some patches for building with Visual Studio C++ 2008 > V9, I was told: > > "we're going to start building with MinGW > at some point in the not-so-distant future" > >

[Tigervnc-devel] building with MinGW

2010-04-28 Thread Antoine Martin
Hi, Is building with mingw supported now? Last time I sent some patches for building with Visual Studio C++ 2008 V9, I was told: "we're going to start building with MinGW at some point in the not-so-distant future" http://www.mail-archive.com/tigervnc-devel@lists.sourceforge.net/msg00440.html