Build from GIT

Nicolas Dufresne nicolas.dufresne at collabora.com
Sun Jan 11 11:58:06 PST 2015


Le 2015-01-11 14:43, Bernhard Graaf a écrit :
>
> Hi,
>
> I need to build gstreamer 1.4.5 from GIT, but if I download I get only 
> the 1.5.x Version.
>
> Is it possible to get the 1.4.5 Version?
>
>
Our git repository is composed of branches. When you freshly clone a git 
repository, it will be set to master branch. This the development 
branch. When a development branch get released, like 1.4 was, then a 
branch for bug fixes on top of that stable track is created. In this 
case, the branch is 1.4. Building from 1.4 branch will not result in a 
precise and reproducible build version. So to allow this, we also add 
tags that let you pick the exact version.

To simply select a branch or a tag

git checkout BRANCH
or
git checkout TAG

If you want to make modification to it (hence maintain a set of patches 
on top), create a branch locally

git checkout -b mybranch TAG/BRANCH

You need to make sure common/ submodule is up-to-date. For that run

git submodule update


You can list branch using "git branch -r" and list tags using "git tag 
-l". 1.4.5 tag is simply "1.4.5".

cheers,
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150111/ecf028f6/attachment.html>


More information about the gstreamer-devel mailing list