Commit Graph

54 Commits

Author SHA1 Message Date
Gabrov f5209d8cc4 new year in version string
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30417 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-01-24 03:21:18 +00:00
cehoyos 133807ced3 Avoid spurious rebuilds on svn up. The check to find out if the header file
changed compared two lines to one, which would result in false positive updates.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29140 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-04-04 19:50:57 +00:00
diego 6ec76ef976 Add support for extracting the release version number from a VERSION file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28830 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-03-05 23:36:28 +00:00
diego d1e6b2360c Read revision string from the file snapshot_version if available.
This will be used by daily snapshots without Subversion metadata.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28728 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 23:15:26 +00:00
diego 9e8a06bc4e cosmetics: Use $() instead of ``, the former can be nested more easily.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28726 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-24 22:57:55 +00:00
diego be5a9adfbf Use single quotes to avoid escaping double quotes in a string.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28385 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-29 00:18:32 +00:00
diego bc0dd94ce5 Use cat instead of echo to generate version.h.
Portably echoing backslashes is near impossible.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28384 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-29 00:16:09 +00:00
diego a62cb5ead2 Remove superfluous backslash escapes that caused unintended escapes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28383 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-28 17:47:50 +00:00
diego 91c6bb0241 Do not duplicate VERSION string.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28376 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 11:29:28 +00:00
diego fc8435ee6d Drop dev- prefix from printed version number, just SVN-rXXXXX is enough.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28367 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 23:31:45 +00:00
diego 2067a1f750 Factorize print_version().
Print CPU information in verbose mode instead of by default.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28360 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-25 20:35:58 +00:00
reynaldo a7fc969ff6 TRIVIAL, Extend the copyright line to 2009. Patch by andrew .david .45 AT gmail.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28287 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-10 01:57:25 +00:00
zuxy d3d6089472 Happy New Year!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25583 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-02 07:38:40 +00:00
ivo abebb1855d add ; at the end of the sed commands. this fixes operation under cygwin.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24352 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-06 16:28:31 +00:00
ivo fdb70353c2 remove cut&paste from ffmpeg mistake. cd "$1" does not make any sense here,
as $1 is (g)cc's version number


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24351 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-06 16:25:44 +00:00
diego d33738a85c Port changes for older Subversion releases from FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23581 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-19 06:51:33 +00:00
diego 08dcfaa832 Update copyright year.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21946 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-16 22:58:42 +00:00
vayne 42552b211a avoid code duplication.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21780 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-28 15:31:48 +00:00
diego dc5712ce3a Remove copy and paste error from FFmpeg sync, MPlayer does not support
out-of-tree build directories.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19969 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-24 15:53:23 +00:00
diego 9b51e80117 FFmpeg sync: Fall back on grep if svn client is not installed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19702 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-09-05 23:19:22 +00:00
diego 113e9b534b Use LC_ALL instead of LANG since the former overrides the latter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19255 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-29 23:30:55 +00:00
diego d41e0d30a7 Cope with localized Subversion clients.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19252 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-29 21:44:32 +00:00
diego eebd69a051 Produce correct version string even when not run in a Subversion working copy.
ported from FFmpeg


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18794 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-23 15:12:56 +00:00
diego 7dda786ccb Adapt FFmpeg version.sh that only recreates version.h if its content changed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18787 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:47:50 +00:00
diego 2db0251591 simplify
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18762 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-20 10:08:19 +00:00
ivo fb02e87565 avoid usage of head -1/head -n 1 and use sed 1q instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18625 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 15:03:25 +00:00
diego e63c3f261a cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18596 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-06 12:01:34 +00:00
diego f854d9407e Drop all system-specific version generation stuff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18595 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-06 12:00:07 +00:00
rathann 0597f58b9b Put SVN revision in the version string
Note: somebody please port this to *BSD|Darwin


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18594 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-06 10:42:30 +00:00
rtogni 619f6e1916 cvs2svn
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18586 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 20:38:47 +00:00
rtogni 09208431ab SVN switch: get version date from .svn subdir instead of CVS/Entries
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18560 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-04 22:48:59 +00:00
diego ed34e0e837 MinGW support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15669 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-06 19:36:41 +00:00
diego 71beeed8b8 BSD/OS works same as the other BSDs, tested by Steven M. Schultz.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15667 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-06 17:51:44 +00:00
diego f91302b10c tabs --> spaces indentation cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15651 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-05 17:40:57 +00:00
diego 4261c52c85 Generate the version string with awk on BSD systems and work around wrong
day/month order in the ls output.
based on a patch by Chris Roccati <roccati - at - pobox - dot - com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15650 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-05 17:38:10 +00:00
diego bd5b237ceb Days should be two digits.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15644 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-05 14:17:34 +00:00
diego f1cf24ba56 LC_ALL overrides LANG, so use it instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15548 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-22 16:27:17 +00:00
diego 33bb00a680 LANG=C ensures month/day order and English language in the date string for
more reliable operation in diverse environments.  Tested on OpenBSD, NetBSD,
FreeBSD, Darwin 10.2 and Darwin 10.1.  Darwin 10.4 should work as well, 10.3
does not due to broken ls.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15537 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-21 14:44:10 +00:00
diego 11dd046621 simplification
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15514 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-18 22:33:35 +00:00
diego a7dc941319 Make version string depend of the last change of CVS/Entries for Darwin.
loosely based on a patch by Chris Roccati <roccati at pobox dot com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15512 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-18 21:55:52 +00:00
joey 62a51cc48a fix version number on cygwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11510 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-23 16:53:03 +00:00
alex fd2db71883 the trailing space isn't needed anymore
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10422 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-13 18:50:17 +00:00
arpi 4de03dec7e 'dev'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9375 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-02-09 19:39:29 +00:00
alex 38007c800f better BSD/OS support by Steven Schultz <sms@2bsd.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8688 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-31 18:23:52 +00:00
alex 10bdbae171 Should be: if test ; then - D Richard Felker III <dalias@aerifal.cx>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7449 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-20 15:46:13 +00:00
alex b1ff2c5589 moved to to avoid CVS-XXYYZZ- versions (if no given) - altought this comment is bigger than the patch :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7448 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-20 12:50:04 +00:00
atmos4 74c7dd3d84 Fix for darwins date
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5950 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-03 19:17:19 +00:00
arpi f1b12eb265 CC version check done by Makefile to allow overriding CC from envvar
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3391 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-09 01:24:01 +00:00
jaf d7d60ddebf using cc like configure
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3301 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-03 22:28:05 +00:00
jaf a5157860a8 not it looks like this 'MPlayer CVS-011203-19:47-gcc-2.95.3'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3293 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-03 19:13:34 +00:00