annotate DOCS/tech/release-howto.txt @ 22280:a5e5b0c45c03

Split command/property handling from mplayer.c to a new file command.c. Move some global and static variables under a struct that can be given as a parameter. Add a context argument to the property functions so that they do not have to depend on global/static variables.
author uau
date Wed, 21 Feb 2007 00:49:24 +0000
parents e183a591efee
children 4c9698666a4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
1 How to make an MPlayer release
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
3
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
4 preparations:
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
5 - Announce release target date on dev-eng and #mplayerdev
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
6 - Ask the DOCS maintainers to commit their final changes, check if
12850
43153c50ab7a typos pointed out by The Wanderer.
diego
parents: 12781
diff changeset
7 all docs are up to date, etc.
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
8 - Verify man page, remove obsolete options, mention new ones.
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
9 - Ask translation maintainers to update their help_mp*.h file.
12850
43153c50ab7a typos pointed out by The Wanderer.
diego
parents: 12781
diff changeset
10 - Update the ChangeLog file (according to CVS log), ask other developers
43153c50ab7a typos pointed out by The Wanderer.
diego
parents: 12781
diff changeset
11 to verify their parts, etc. Ask Diego to spellcheck it.
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
12 - Consult at -dev-eng about unstable parts of the code which should be
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
13 disabled for the release.
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
14 - Find a codename for the release
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
15
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
16 create the release tree:
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
17 - tag cvs with release name
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
18 - update release.sh script with version number
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
19 ***the following steps are done automatically by release.sh script***
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
20 - cvs checkout the mplayer src tree
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
21 - check out libavcodec and libavformat from FFmpeg CVS
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
22 - remove the CVS subdirs:
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
23 find main -name CVS -exec rm -rf {} \;
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
24 - remove the .cvsignore files:
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
25 find main -name .cvsignore -exec rm {} \;
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
26 - remove obsolete DOCS translations, help files
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
27 - replace version.sh with this (change version number too...):
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
28
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
29 ============
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
30 #!/bin/sh
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
31 echo "#define VERSION \"1.0pre5-$1 \"" > version.h
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
32 ============
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
33
15231
e183a591efee More fixes by The Wanderer
rtognimp
parents: 15207
diff changeset
34 - build the HTML docs from XML sources, then clean up:
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
35 make html-chunked; make releaseclean
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
36
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
37 release the tree:
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
38 cd ..
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
39 mv main MPlayer-0.90rc5
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
40 tar -cf MPlayer-0.90rc5.tar MPlayer-0.90rc5
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
41 bzip2 -9 MPlayer-0.90rc5.tar
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
42 ***end of part done by release.sh**
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
43
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
44 test it (download to your local machine, extract, compile, run)
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
45 - compilers: gcc 3, gcc 2.95, mingw, cygwin
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
46 - architectures: PPC, AMD64, x86 with MMX[2], SSE[2], 3DNow
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
47 - OS: Linux, BSD, Windows, MacOS X
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
48
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
49 copy to FTP:
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
50 cp MPlayer-0.90rc5.tar.bz2 /home/ftp/MPlayer/releases/
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
51 cp ChangeLog-0.90rc5 and update ChangeLog symlink
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
52 md5sum MPlayer-0.90rc5.tar.bz2 > MPlayer-0.90rc5.tar.bz2.md5
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
53
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
54 move the older (pre)release(s) (except the last one before the current one)
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
55 to ../OLD_stuff/ dir
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
56
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
57 Somehow get Diego to write a news entry for the release, and update the
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
58 source file of dload.html and commit it. Test it, it's sometimes buggy
15207
12b58dfa0939 Fixes suggested by The Wanderer
rtognimp
parents: 15203
diff changeset
59 (broken links etc). Also, update translated versions of dload.html.
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
60
14271
1cc5c037e28a Updated with a reminder for mplayer-announce
rtognimp
parents: 12850
diff changeset
61 Send a message to mplayer-announce mailing list.
1cc5c037e28a Updated with a reminder for mplayer-announce
rtognimp
parents: 12850
diff changeset
62
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
63 Add the new release version to bugzilla page.
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
64
15207
12b58dfa0939 Fixes suggested by The Wanderer
rtognimp
parents: 15203
diff changeset
65 Update release version in #mplayer topic
15203
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
66
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
67 Update project page on Freshmeat
72bde716c1b8 First attempt to bring this howto closer to reality
rtognimp
parents: 14271
diff changeset
68
12781
a12a9e749438 updates, corrections, wording, spelling
diego
parents: 10389
diff changeset
69 Done.
10389
5e2cc92a4170 to make alex happy
arpi
parents:
diff changeset
70