jhbuild using a git branch
Recently I’ve been playing around with jhbuild. I wanted to jhbuild to use a custom branch from a git repo I’ve setup. Sadly the documentation on how to do this is a little lacking. Added to the fact that the jhbuild code drops an argument and there’s a lot of fun at work.
The solution, use the revision attribute in your module set file:
<repository type=”git” name=”git.freedesktop.org” href=”git://anongit.freedesktop.org/”/>
<branch repo=”git.freedesktop.org” module=”~benjsc/xorg/proto/compositeproto” checkoutdir=”xorg/proto/compositeproto” revision=”ir” />
This checks out the ir branch of the repo: git://anongit.freedesktop.org/~benjsc/xorg/proto/compositeproto
Read more of this article »