[MPlayer-dev-eng] more SVN snapshots

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sun Mar 25 15:30:24 CEST 2007


On Sunday, 25 March 2007 at 15:03, Dominik 'Rathann' Mierzejewski wrote:
> Hi.
> 
> I'd like to request keeping at least a week's worth of SVN snapshots and naming
> them mplayer-(checkout|export)-YYYYMMDD.tar.bz2. The directory inside should
> also be named mplayer-(checkout|export)-YYYYMMDD. That'd make a packager's life
> a bit easier, thank you.

I've noticed that -export snapshot's MP_TITLE is missing SVN revision:

$ cat version.sh 
#!/bin/sh

test "export" && extra="-export"

NEW_REVISION="#define VERSION \"SVN-r22817\""
OLD_REVISION=`cat version.h 2> /dev/null`
TITLE="#define MP_TITLE \"MPlayer SVN-r (C) 2000-2007 MPlayer Team\""
                                     ^^^

# Update version.h only on revision changes to avoid spurious rebuilds
if test "$NEW_REVISION" != "$OLD_REVISION"; then
    echo "$NEW_REVISION" > version.h
    echo "$TITLE" >> version.h
fi

-- 
MPlayer developer and RPMs maintainer: http://mplayerhq.hu http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-dev-eng mailing list