[FFmpeg-user] git old-abi 0.7.5 instead 0.7.6?

Reindl Harald h.reindl at thelounge.net
Sun Oct 23 00:00:33 CEST 2011


oldabi is currentyl 0.7.6
why do git-snapshot bring 0.7.5 instead a git-number?

[builduser at buildserver64:/rpmbuild/SOURCES]$ bash ffmpeg-snapshot.sh
/tmp/tmp.V00vqRUl1f
Cloning into ffmpeg...
remote: Counting objects: 179803, done.
remote: Compressing objects: 100% (41058/41058), done.
remote: Total 179803 (delta 140645), reused 177118 (delta 138483)
Receiving objects: 100% (179803/179803), 47.12 MiB | 1.11 MiB/s, done.
Resolving deltas: 100% (140645/140645), done.
/tmp/tmp.V00vqRUl1f/ffmpeg-20111022/libswscale /tmp/tmp.V00vqRUl1f/ffmpeg-20111022
/tmp/tmp.V00vqRUl1f/ffmpeg-20111022
#define FFMPEG_VERSION "0.7.5"
_____________

[builduser at buildserver64:/rpmbuild/SOURCES]$ cat ffmpeg-snapshot.sh
#!/bin/bash

set -e

tmp=$(mktemp -d)

trap cleanup EXIT
cleanup() {
    set +e
    [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}

unset CDPATH
pwd=$(pwd)
date=$(date +%Y%m%d)
echo "$tmp"
cd "$tmp"

git clone -b oldabi git://git.videolan.org/ffmpeg.git
mv ffmpeg ffmpeg-$date
cd ffmpeg-$date
pushd libswscale
popd
./version.sh . version.h
find . -type d -name .git -print0 | xargs -0r rm -rf
sed -i -e '/^\.PHONY: version\.h$/d' Makefile
cat version.h
cd ..
tar jcf "$pwd"/ffmpeg-$date.tar.bz2 ffmpeg-$date
cd - >/dev/null

-- 

Mit besten Grüßen, Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
CTO / software-development / cms-solutions
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/

http://www.thelounge.net/signature.asc.what.htm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20111023/54160220/attachment.asc>


More information about the ffmpeg-user mailing list