Skip to content

Commit

Permalink
separate git section, main docs apply to downloaded release source (n…
Browse files Browse the repository at this point in the history
…eeds update for Linux and Windows)
  • Loading branch information
kyngchaos committed May 8, 2011
1 parent d8c3c90 commit 1ecfd9b
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 39 deletions.
2 changes: 2 additions & 0 deletions doc/INSTALL.t2t
Expand Up @@ -86,4 +86,6 @@ source directory.

%!include: osx.t2t

%!include: git.t2t

%!include: iauthors.t2t
57 changes: 57 additions & 0 deletions doc/git.t2t
@@ -0,0 +1,57 @@

= git =[git]

== Installation ==

Optional. If you want to try different branches and/or easily update the source when changes are made, install git and clone the source. For random just-want-to-see-what's-going-on-in-development builds, download a tarbal from github.

=== Install git for GNU/Linux ===

=== install git for Windows ===

=== Install git for OSX ===

The [git http://git-scm.com/] project has a downloadable build of git.
Make sure to get the package matching your processor (x86_64 most likely, only the first Intel Macs need the i386 package).

Once downloaded open the disk image and run the installer.

__PPC/source note__

The git site does not offer PPC builds. If you need a PPC build, or you just want
a little more control over the installation, you need to compile it yourself.

Download the source from http://git-scm.com/. Unzip it, and in a Terminal cd to the source folder, then:

```
make prefix=/usr/local
sudo make prefix=/usr/local install
```

If you don't need any of the extras, Perl, Python or TclTk (GUI), you can disable them before running make with:

```
export NO_PERL=
export NO_TCLTK=
export NO_PYTHON=
```

== Get QGIS from git ==

You can download a development tarball (no git installation needed) from:

http://github.com/qgis/Quantum-GIS

This defaults to the current master, but you can select any other branch or tag as desired.

Or for more long-term testing of development sources: clone the sources with git (in an appropriate location on your computer):

```
git clone git://github.com/qgis/Quantum-GIS.git
```

This automatically activates the master. To switch to another branch:

```
git checkout [branchname]
```
42 changes: 3 additions & 39 deletions doc/osx.t2t
Expand Up @@ -334,47 +334,11 @@ make
sudo make install
```

== Install git for OSX ==
== QGIS source ==

The [git http://git-scm.com/] project has a downloadable build of git.
Make sure to get the package matching your processor (x86_64 most likely, only the first Intel Macs need the i386 package).
Unzip the QGIS source tarball to a working folder of your choice (/usr/somewhere is not a good choice as it's hidden and requires root privileges). If you are reading this from the source, you've already done this.

Once downloaded open the disk image and run the installer.

__PPC/source note__

The git site does not offer PPC builds. If you need a PPC build, or you just want
a little more control over the installation, you need to compile it yourself.

Download the source from http://git-scm.com/. Unzip it, and in a Terminal cd to the source folder, then:

```
make prefix=/usr/local
sudo make prefix=/usr/local install
```

If you don't need any of the extras, Perl, Python or TclTk (GUI), you can disable them before running make with:

```
export NO_PERL=
export NO_TCLTK=
export NO_PYTHON=
```

== Check out QGIS from git ==

Now we are going to check out the sources for QGIS. First we will create a
directory for working in (or some folder of your choice):

```
mkdir -p ~/dev/cpp cd ~/dev/cpp
```

Now we check out the sources:

```
git clone git://github.com/qgis/Quantum-GIS.git
```
If you want to experiment with the latest development sources, see the [git #git] section below.

== Configure the build ==

Expand Down

0 comments on commit 1ecfd9b

Please sign in to comment.