Re: Obtaining the released source code from hg

Darren Salt <[email protected]>
Newsgroups gmane.comp.video.xine.user
Message-ID <4F6B4EC090%[email protected]>
I demand that Daniel J. Summers may or may not have written...

> I build RPMs for xine for the RHEL x86_64 (AMD64) architecture.  I used to
> use rpmbuild, but I'm #1 not using RHEL anymore and #2 unable to get it to
> run on Ubuntu.  What I did for the last group that I built was use
> debbuild, which requires files that are in the hg repository.  Last time I
> built, several versions had passed, so I just built the latest that I could
> out of hg, but I'd like to be able to build against a particular release.
> I've tried everything I can think of to retrieve a "release" version from
> hg, but with no success.
 
> Is there a way to clone a repository with a "released" version of code?  If
> so, how?  Thanks...

$ hg tags
$ hg update $TAG

(You'll need to run autogen.sh.)

Or if you want something like what's intended for Debian, you can use
http://hg.debian.org/hg/xine-lib/pkg/xine-lib-deb (again, use the tags *but*
at present you want tip) and hg-buildpackage. That'll give you Debian-format
source and .debs which should be installable on Ubuntu.

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Use more efficient products. Use less.          BE MORE ENERGY EFFICIENT.

Modulation in all things.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.