How to prepare a new release
----------------------------
-. include/freetype/freetype.h: Update FREETYPE_MAJOR, FREETYPE_MINOR,
+. include/freetype.h: Update FREETYPE_MAJOR, FREETYPE_MINOR,
and FREETYPE_PATCH.
. Update version numbers in all files where necessary (for example, do
. Run src/tools/chktrcmp.py and check that there are no undefined
trace_XXXX macros.
-. Tag the git repositories (freetype2, freetype2-demos) with
+. After pushing the new release, tag the git repositories (freetype2,
+ freetype2-demos) with
git tag VER-<version> -m "" -u <committer>
git push --tags
- TODO: Tag the home page CVS on savannah.nongnu.org.
+. Check with
+
+ git clean -ndx
+
+ that the git directory is really clean (and remove extraneous files
+ if necessary).
. Say `make dist' in both the freetype2 and freetype2-demos modules
to generate the .tar.gz, .tar.bz2, and .zip files.
. Create the doc bundles (freetype-doc-<version>.tar.gz,
freetype-doc-<version>.tar.bz2, ftdoc<version>.zip). This is
- everything below
+ everything in
- freetype.freedesktop.org:/srv/freetype.freedesktop.org/www/freetype2/docs/
+ <freetype-web git repository>/freetype2/docs
except the `reference' subdirectory. Do *not* use option `-l' from
zip!
#!/bin/sh
- VERSION=2.3.11
+ VERSION=2.5.1
SAVANNAH_USER=wl
SOURCEFORGE_USER=wlemb
# EOF
-. While files on savannah.gnu.org are automatically moved to the right
- directory, it must be done manually on SourceForge. Do that now.
-
-. Update the FreeType release notes on SourceForge.
+. Prepare a README for SourceForge and upload it with the following
+ script (with updated `$VERSION' and $SOURCEFORGE_USER variables).
-. Copy the reference files (generated by `make dist') to
-
- freetype.freedesktop.org:/srv/freetype.freedesktop.org/www/freetype2/docs/reference
+ #!/bin/sh
- and
+ VERSION=2.5.1
+ SOURCEFORGE_USER=wlemb
- shell.sf.net:/home/groups/f/fr/freetype/htdocs/freetype2/docs/reference
+ #####################################################################
- TODO: Create FreeType home page CVS on savannah.nongnu.org and
- update it accordingly.
+ rsync -avP -e ssh README \
+ $SOURCEFORGE_USER,freetype@frs.sf.net:/home/frs/project/f/fr/freetype/freetype2/$VERSION/
- Write script to automatically do this.
+ # EOF
- Mirror FreeType's savannah home page everywhere.
+. On SourceForge, tag the just uploaded `ftXXX.zip' and
+ `freetype-XXX.tar.bz2' files as the default files to download for
+ `Windows' and `Others', respectively.
-. Update
+. Copy the reference files (generated by `make dist') to
- freetype.freedesktop.org:/srv/freetype.freedesktop.org/www/index2.html
+ <freetype-web git repository>/freetype2/docs/reference
- and copy it to
+. Update the `freetype-web' repository. `git push' then automatically
+ triggers an update of the public web pages within ten minutes, due
+ to a cron script (on wl@freedesktop.org) that rsyncs with
- shell.sf.net:/home/groups/f/fr/freetype/htdocs/index2.html
+ freedesktop.org://srv/freetype.freedesktop.org/www
. Announce new release on freetype-announce@nongnu.org and to relevant
newsgroups.
----------------------------------------------------------------------
-Copyright 2003, 2005, 2006, 2007, 2009 by
+Copyright 2003, 2005-2007, 2009, 2011-2014 by
David Turner, Robert Wilhelm, and Werner Lemberg.
This file is part of the FreeType project, and may only be used,