Timothy Gu
c580691091
version.sh: add preprocessing guards
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Timothy Gu
3c5c4cfa15
version.sh: add a little usage comment
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Timothy Gu
802ba5f557
version.sh: make it independant of version.h file name
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Nicolas George
657eac048e
version.sh: handle shallow clones and snapshots.
...
Shallow clones (--depth X) lack the N tag used to compute
the revision number: use 'git-YYYY-MM-DD-hhhhhhh' as revision,
where hhhhhhh is the short git hash.
Snapshots from gitweb do not have git information at all,
but they have the short git hash in the directory name:
append it to the release number.
14 years ago
Mans Rullgard
8d3d3436e2
Drop git- prefix from version labels
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reinhard Tartler
8fab4007c8
Use the contents of RELEASE as version fallback instead of 'UNKNOWN'
...
This makes binaries produced by source tarballs identify themselves with
the version number of the corresponding release series, unless overriden
by a 'VERSION' file.
14 years ago
Janne Grunau
faa6f1c306
get rid of the last svn mentions
14 years ago
Michael Niedermayer
0cb88628fb
Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"
...
This reverts commit a03be6e1ba
.
14 years ago
Janne Grunau
a03be6e1ba
use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*
14 years ago
Alex Converse
ad9b2a41b8
Remove old VCSs from version.sh
...
(cherry picked from commit 203df50d10
)
14 years ago
Alex Converse
203df50d10
Remove old VCSs from version.sh
14 years ago
Michael Niedermayer
40222b926b
Provide monotone revission numbers in version.sh
14 years ago
Mans Rullgard
f318ee3e37
Fix quoting in version.sh
14 years ago
Ramiro Polla
8032d1dee9
use git describe for naming version in pure git clones
...
Patch by: Ramiro Polla <ramiro <DOT> polla gmail <DOT> com>
Originally committed as revision 26394 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
1606446248
version.sh: write version to stdout if no output file specified
...
Originally committed as revision 24527 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
15ccfff12c
Read "Last Changed Rev" field instead of "Revision" field to avoid being
...
affected by changes in other directories (such as branches).
Originally committed as revision 21252 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
9a02c3e183
Silence calls to git in version.sh.
...
Originally committed as revision 21068 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
8202d905cd
Check for VERSION in source dir.
...
Originally committed as revision 21067 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
31c194e7f9
Check for snapshot_version in source dir.
...
Originally committed as revision 21065 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
d38b7b80d1
Check if a git-svn revision number is available to try to get better version
...
information from git.
Originally committed as revision 20015 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
7f6d9b3089
version.sh: use standard sed syntax
...
Originally committed as revision 19655 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
de2c2b5a98
Directly read the version number from a VERSION file; useful for releases.
...
Originally committed as revision 17836 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
2b229186a2
10l: Ignore error output from failed attempt to read snapshot_version.
...
Originally committed as revision 17578 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
10671cf595
Read revision string from the file snapshot_version if available.
...
This will be used by daily snapshots without Subversion metadata.
Originally committed as revision 17577 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
d33a14e4f5
cosmetics: Use $() instead of ``, the former can be nested more easily.
...
Originally committed as revision 17576 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e73db71899
Replace 'test' invocation by 'test -n', this should be safer.
...
Originally committed as revision 15434 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ac63af34b5
Add support for passing a version string to configure that is appended to
...
FFmpeg's version string output. This can be used by distributions to mark
their packages as being modified versions without hacking the sources.
Originally committed as revision 15433 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
9e6165b53e
enable version.h to be created from subdirs
...
Originally committed as revision 13819 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
40eaf7806d
add support for git in version.sh (use short hash as version number)
...
Originally committed as revision 10817 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
123103caa2
cosmetics to make version.sh more VCS agnostic
...
Originally committed as revision 10816 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
7a68f7fa22
kill error messages from failed svn revision extraction commands
...
Originally committed as revision 9363 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
c1047cda84
extract revision from svn-1.4 .svn/entries files
...
Originally committed as revision 9362 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michel Bardiaux
837f0ad7aa
Fall back on grepping for the revision number if no svn client is installed.
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 6179 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
59d0fc5779
Use LC_ALL instead of LANG since the former overrides the latter.
...
Originally committed as revision 5861 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
7ea3b2e00e
Cope with localized Subversion clients.
...
Originally committed as revision 5859 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
54003e1a70
get svn version when using separate build tree
...
Originally committed as revision 5539 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
a66d63a94e
Produce correct version string even when not run in a Subversion working copy.
...
based on a patch by Ismail Dönmez ismail##@##pardus##.##org##.##tr
Originally committed as revision 5511 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
f1cc88a5d6
Use Subversion revision for FFMPEG_VERSION.
...
based on a patch by Ismail Dönmez ismail$$at$$pardus$$dot$$org$$dot$$tr
Originally committed as revision 5502 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago