Blob Blame History Raw
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Development of GTK+</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="GTK+ FAQ"
HREF="book1.html"><LINK
REL="PREVIOUS"
TITLE="When installing a GTK+ application, configure reports
that it can't find GTK. [GTK 2.x]"
HREF="x306.html"><LINK
REL="NEXT"
TITLE="How can I contribute to GTK+? [GTK 2.x]"
HREF="x350.html"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>GTK+ FAQ</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x306.html"
ACCESSKEY="P"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x350.html"
ACCESSKEY="N"
>Next &#62;&#62;&#62;</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="AEN323"
></A
>Development of GTK+</H1
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN325"
>What's this Git thing that everyone keeps talking about,
and how do I access it? <I
CLASS="EMPHASIS"
>[GTK 2.x]</I
></A
></H1
><P
>Git is a version control system and it is a very
popular means of version control for software projects. It is
designed to allow multiple authors to simultanously operate on the same
source tree.  This source tree is centrally maintained, but each
developer has a local mirror of this repository that they make
their changes to.</P
><P
>The GTK+ developers use a Git repository to store the
master copy of the current development version of GTK+. As
such, people wishing to contribute patches to GTK+ should
generate them against the Git version. Normal people should
use the packaged releases.</P
><P
>The Git toolset is available as a package on most distributions
  and the released tarballs are available
  from <A
HREF="http://git-scm.com/"
TARGET="_top"
>http://git-scm.com/</A
>.</P
><P
>Anyone can download the latest Git version of GTK+ by
using anonymous access using the following steps:</P
><P
></P
><UL
><LI
><P
>In a bourne shell descendant (e.g. bash) type:</P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>git clone git://git.gnome.org/gtk+</TT
></P
></P
><P
>Note that with the GTK+ 1.1 tree, glib has been moved to
a separate Git module, so if you don't have glib installed you will
need to get that as well:<P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>git clone git://git.gnome.org/glib</TT
></P
></P
></LI
></UL
><P
>The Git archive stores both the current development version of
GTK+ (the Git master branch) and all current and past stable versions.
If you want to retrieve a specific version of GTK+ you have to specify
the Git tag corresponding to the version you want to checkout. If you
want to checkout the current GTK+ 2.2 stable source code, you would need
to use the following command:</P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>git checkout --track -b gtk-2-24 origin/gtk-2-24</TT
></P
></P
><P
>You can switch between branches once set up more easily using:</P
><P
><P
CLASS="LITERALLAYOUT"
><TT
CLASS="LITERAL"
>git checkout master</TT
></P
></P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x306.html"
ACCESSKEY="P"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x350.html"
ACCESSKEY="N"
>Next &#62;&#62;&#62;</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>When installing a GTK+ application, configure reports
that it can't find GTK. <I
CLASS="EMPHASIS"
>[GTK 2.x]</I
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>How can I contribute to GTK+? <I
CLASS="EMPHASIS"
>[GTK 2.x]</I
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>