git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ANNOUNCE] qgit2.1rc1_win.exe
@ 2007-12-24  9:13 Marco Costalba
       [not found] ` <e5bfff550712240113y4acdaa11y3483705172a5980e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Costalba @ 2007-12-24  9:13 UTC (permalink / raw)
  To: msysGit, Git Mailing List

Here

http://digilander.libero.it/mcostalba/qgit2.1rc1_win.exe

You can find an auto-extract zip file with a version of qgit built for
Windows (Vista).

Requires msysgit (http://code.google.com/p/msysgit/)

Is  not a real installation, no registry or other Windows resources
touched, just decompress in a directory, read the README and have fun.

Marco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANNOUNCE] qgit2.1rc1_win.exe
       [not found] ` <e5bfff550712240113y4acdaa11y3483705172a5980e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-12-26 21:22   ` Peter Klavins
  2007-12-26 23:23     ` Marco Costalba
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Klavins @ 2007-12-26 21:22 UTC (permalink / raw)
  To: msysgit-/JYPxA39Uh5TLH3MbocFFw; +Cc: git-u79uwXL29TY76Z2rM5mHXA


> You can find an auto-extract zip file with a version of qgit built for
> Windows (Vista).

I found it a bit obscure as to how to rebuild qgit from scratch on Vista, so 
just for the record:

# Set up VS2008
1. Install Visual Studio 2008

# Set up Qt4
2. Download qt-win-opensource-src-4.3.3.zip from 
http://trolltech.com/developer/downloads/qt/windows and unzip into directory 
(e.g.,) C:\qt-win-opensource-src-4.3.3
3. cd C:\qt-win-opensource-src-4.3.3
4. configure                 (takes significant time, around 10 minutes from 
memory)
5. nmake                     (takes over an hour on a Core 2 Duo 2 GHz, 
consumes 2 GByte of disk)

# Install git and use it to get qgit4 source
6. Download Git-1.5.4-rc1-preview20071221-corrected.exe from 
http://code.google.com/p/msysgit/downloads/ and install (default directory 
C:\Program Files\Git is fine)
7. Open Git Bash from Start menu, set up Src directory (e.g., mkdir Src, cd 
Src)
8. git clone git://git.kernel.org/pub/scm/qgit/qgit4.git        (to get qgit 
sources into Src/qgit4)
9. Exit Git Bash shell

# Build and run qgit
10. Open VS2008 command prompt, ensuring that VS tools are on the PATH by 
test invoking 'nmake'
11. Add qmake to path with PATH=C:\qt-win-opensource-src-4.3.3\bin;%PATH%
12. Add git to path with PATH=C:\Program Files\Git\bin;%PATH%
13. Navigate to qgit4 directory (e.g., cd C:\Users\<you>\Src\qgit4)
14. qmake              (to preprocess with Qt4)
15. nmake              (to build debug version)
16. bin\qgit             (to run qgit to browse qgit4's own repository!)

------------------------------------------------------------------------
 Peter Klavins 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANNOUNCE] qgit2.1rc1_win.exe
  2007-12-26 21:22   ` Peter Klavins
@ 2007-12-26 23:23     ` Marco Costalba
       [not found]       ` <e5bfff550712261523g7aab6e76nd37257e7b21d1653-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Costalba @ 2007-12-26 23:23 UTC (permalink / raw)
  To: Peter Klavins; +Cc: git-u79uwXL29TY76Z2rM5mHXA, msysgit-/JYPxA39Uh5TLH3MbocFFw


On Dec 26, 2007 10:22 PM, Peter Klavins <klavins-ooduxAEi7gXtt0EhB6fy4g@public.gmane.org> wrote:
>
> 4. configure                 (takes significant time, around 10 minutes from
> memory)

configure -fast -no-qt3support -static -release -no-qmake

Takes much less (about one minute)

> 5. nmake                     (takes over an hour on a Core 2 Duo 2 GHz,
> consumes 2 GByte of disk)
>

2GBytes because default configure is -debug, but giving -release
instead the needed space is much less because debug symbols are not
built.

Also use:

nmake sub-src

30minutes on my Core Duo 1.5Ghz. It just compiles the Qt libraries
under src directory, not Qt tools like designer, assistant and
expecially the Qt examples.

Note: first you need to run nmake to build makefile then, just after
the makefile in main directory is built (few seconds) you can stop it
and run nmake sub-src.

> 16. bin\qgit             (to run qgit to browse qgit4's own repository!)
>

msysgit must be in PATH, both Git\cmd and Git\bin. Or you can use the
launch script start_qgit.bat that just adds msysgit to the PATH for
you before to call qgit.exe



> ------------------------------------------------------------------------
>  Peter Klavins
>

Thanks Peter,

Just a question. How about using the auto-extract zip I advertise in
this thread? With this both Qt and qgit are already compiled and
should be ready to go.


Marco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ANNOUNCE] qgit2.1rc1_win.exe
       [not found]       ` <e5bfff550712261523g7aab6e76nd37257e7b21d1653-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-12-26 23:37         ` Peter Klavins
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Klavins @ 2007-12-26 23:37 UTC (permalink / raw)
  To: msysgit-/JYPxA39Uh5TLH3MbocFFw; +Cc: git-u79uwXL29TY76Z2rM5mHXA


> Just a question. How about using the auto-extract zip I advertise in
> this thread? With this both Qt and qgit are already compiled and
> should be ready to go.

I did use your auto-extract utility, and it worked as advertised, thanks. 
Just as an aside, I think it would be better for it to also package git 
(msysgit version), so there's no need to search for git and pre-download it.

But being and old engineer at heart, I had to understand how to build qgit 
from scratch, and not being at all familiar with Qt, it was difficult to get 
it working, thus I wrote the note just in case others were having similar 
difficulties. I appreciate your clarification of the build steps.

Do you think it's worthwhile adding this info into your README?

------------------------------------------------------------------------
 Peter Klavins 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-26 23:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-24  9:13 [ANNOUNCE] qgit2.1rc1_win.exe Marco Costalba
     [not found] ` <e5bfff550712240113y4acdaa11y3483705172a5980e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-12-26 21:22   ` Peter Klavins
2007-12-26 23:23     ` Marco Costalba
     [not found]       ` <e5bfff550712261523g7aab6e76nd37257e7b21d1653-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-12-26 23:37         ` Peter Klavins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).