Public Git, Mercurial and CVS Access
[ main| git | mercurial | cvs | build ]

Access main repositories via web browser

The media tree contains the latest drivers for V4L/DVB and Remote Controller.

The v4l-utils tree contains the latest libv4l and other userspace tools for V4L/DVB and Remote Controllers.

The dvb-apps tree contains the latest userspace library and some applications for DVB.

The xawtv3 tree contains the latest version of xawtv version 3 userspace application.

The xawtv4 tree contains the latest version of xawtv version 4 userspace application.

The media build tree contains a building system that allows its compilation with older kernels, for test, plus a system to download the latest drivers. Don't use it for production, as the backport procces is to just check if compilation doesn't break with older kernels. The drivers might not work properly, as they're not consistently tested on older kernels.

Individual developer repositories are available at: http://git.linuxtv.org and (legacy) developer repositores are available at: http://linuxtv.org/hg

Checkout of a git repository

The procedure to retrieve a git repository is generally described together with the corresponding repository.

In order to get the latest sources from git from a drivers tree, you need to first clone from Linus git tree, and then add a remote pointing to the tree yo need.

For example, to clone the master development repository, install git, and run:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git v4l-dvb
cd v4l-dvb
git remote add linuxtv git://linuxtv.org/media-tree.git
git remote update
git checkout -b media-master remotes/staging/v2.6.37
If you want to clone a different repository, just replace the URL at the
git remote add line above.
In order to update your repository, you should do:
git pull . remotes/staging/v2.6.37
And to put your work on the top of a stanging branch:
git rebase remotes/staging/v2.6.37

Tarball download from a mercurial repository

Follow this procedure to download a tarball containing the latest sources for mercurial trees via the web interface:

  1. Open http://linuxtv.org/hg/v4l-dvb in your favorite browser.
  2. Click on the "tags" link, to display a list of the current tags
  3. Click on the "tree" link on the topmost line, "tip"
  4. A source tree will be shown. You will see links for "gz" and "bz2". Click on one of these to download a tarball containing the latest revision.

To download a tarball containing older sources via the web interface:

  1. Browse through the Changelog for the last wanted changeset, and click on it.
  2. Details for the changeset will be shown. You will see links for "gz" and "bz2". Click on one of these to download a tarball.

Checkout V4L-DVB or dvb-apps

To acquire the latest sources, you must first have mercurial installed*.
Some Linux distributions already include it. If yours doesn't, you can download a binary package or retrieve the source.

To retrieve the v4l-dvb source tree:

hg clone http://linuxtv.org/hg/v4l-dvb

To update the sources later on:

cd v4l-dvb
hg pull -u http://linuxtv.org/hg/v4l-dvb

To retrieve the dvb-apps source tree:

hg clone http://linuxtv.org/hg/dvb-apps

*requires python-2.3 or later.

How to build the v4l-dvb kernel modules from the backport tree

The v4l-dvb tree is backwards compatable against recent vanilla kernels. Kernel version 2.6.10 or later is required to build the dvb modules, and version 2.6.12 or later is required to build support for hybrid devices.
  1. Change into the v4l-dvb directory:
    cd v4l-dvb
  2. Build the modules:
    make
  3. Install the modules:
    make install
  4. If you get errors in relation to unresolved symbols, please try to reboot before filing an error report.
optional:


Browse the CVS Repository Online

You can browse the files in the CVS repository with viewcvs. You can also download on-the-fly generated tarballs, but please use this feature sparingly as it puts a high load on the machine. If you find yourself downloading the newest sources regularly you should consider using anon-cvs access, as described above.

To browse the video4linux CVS select the "v4l" tree in the upper right of the viewcvs page, or use the link below.

viewcvs DVB

viewcvs video4linux

Checkout old v4l-dvb CVS tree

cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux login
(use an empty password)

cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux co -P v4l-dvb

Checkout old dvb-kernel CVS tree

cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv login
(use an empty password)

cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co -P dvb-kernel

If you want to check out the current drivers for the 2.4 kernel:
cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co -P -rlinux_2_4 dvb-kernel

Checkout old dvb-apps or other DVB CVS modules

cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv login
(use an empty password)

cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/linuxtv co -P dvb-apps
(Replace "dvb-apps" with the name of any other module that you want to retrieve. Look in viewcvs to see which modules exist)

Checkout old video4linux CVS tree

cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux login

cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux co -P v4l-kernel

Update

You can later update your sources by running:

cvs -z3 up -dP