[MPlayer-dev-eng] [PATCH] proper version info for git.mplayerhq.hu

Rudolf Polzer divVerent at alientrap.org
Mon Jul 26 10:37:05 CEST 2010


I attached a small patch that, if mplayer is compiled from mplayer.git, uses
the git commit hash instead of UNKNOWN as version info.

The format will be:

git-<commithash>-<gccversion>

if mplayer is built from "master", and

git-<closest commithash on master>-<commithash>-<gccversion>

if mplayer is built from another branch.

In my case, at the moment it prints:

MPlayer git-15dfe0a-ceba2bd-4.4.1 (C) 2000-2010 MPlayer Team

It changes nothing if run from a svn repository.

Best regards,

Rudolf Polzer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: version.diff
Type: text/x-diff
Size: 946 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100726/68de62d3/attachment-0001.diff>


More information about the MPlayer-dev-eng mailing list