2003-07-25 09:57:21 +04:00
|
|
|
How to prepare a new release
|
|
|
|
----------------------------
|
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. include/freetype/freetype.h: Update `FREETYPE_MAJOR`,
|
|
|
|
`FREETYPE_MINOR`, and `FREETYPE_PATCH`.
|
2003-07-25 09:57:21 +04:00
|
|
|
|
2007-01-17 15:44:39 +03:00
|
|
|
. Update version numbers in all files where necessary (for example, do
|
2021-01-16 17:45:13 +03:00
|
|
|
a grep for both '2.10.4' and '2104' for release 2.10.4).
|
2006-02-26 20:50:59 +03:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. builds/unix/configure.raw: Update `version_info`.
|
2003-07-25 09:57:21 +04:00
|
|
|
|
|
|
|
. docs/CHANGES: Document differences to last release.
|
|
|
|
|
|
|
|
. README: Update.
|
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. docs/VERSIONS.TXT: Document changed `version_info`.
|
2003-07-25 09:57:21 +04:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. ChangeLog: Announce new release (both in the 'freetype' and
|
|
|
|
'freetype-demos' repositories).
|
2003-11-09 11:37:14 +03:00
|
|
|
|
2009-07-15 09:58:00 +04:00
|
|
|
. Clone the git archive to another directory with
|
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
git clone -l -s . ../freetype.test
|
2009-07-15 09:58:00 +04:00
|
|
|
|
|
|
|
or something like this and run
|
2007-07-07 11:30:40 +04:00
|
|
|
|
|
|
|
make distclean; make devel; make
|
|
|
|
make distclean; make devel; make multi
|
|
|
|
make distclean; make devel CC=g++; make CC=g++
|
|
|
|
make distclean; make devel CC=g++; make multi CC=g++
|
|
|
|
|
|
|
|
sh autogen.sh
|
|
|
|
make distclean; ./configure; make
|
|
|
|
make distclean; ./configure CC=g++; make
|
|
|
|
|
2009-07-15 09:58:00 +04:00
|
|
|
in the cloned repository to test compilation with both gcc and g++.
|
2007-07-07 11:30:40 +04:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. Test C++ compilation for 'freetype-demos' too (using `git clone` as
|
2009-07-15 09:58:00 +04:00
|
|
|
above).
|
2007-07-07 11:30:40 +04:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. Run `src/tools/chktrcmp.py` and check that there are no undefined
|
|
|
|
`trace_XXXX` macros.
|
2009-07-12 19:01:57 +04:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. After pushing the new release, tag the git repositories ('freetype',
|
|
|
|
'freetype-demos') with
|
2009-10-10 22:15:49 +04:00
|
|
|
|
|
|
|
git tag VER-<version> -m "" -u <committer>
|
|
|
|
|
|
|
|
and push the tags with
|
|
|
|
|
|
|
|
git push --tags
|
2005-05-18 11:01:59 +04:00
|
|
|
|
* Version 2.4.11 released.
==========================
Tag sources with `VER-2-4-11'.
* docs/CHANGES, docs/release: Updated.
* docs/VERSION.DLL: Update documentation and bump version number to
2.4.11.
* README, Jamfile (RefDoc),
builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
builds/win32/vc2010/freetype.vcxproj, builds/win32/vc2010/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj,
builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
builds/win32/visualce/freetype.vcproj,
builds/win32/visualce/index.html,
builds/wince/vc2005-ce/freetype.vcproj,
builds/wince/vc2005-ce/index.html,
builds/wince/vc2008-ce/freetype.vcproj,
builds/wince/vc2008-ce/index.html: s/2.4.10/2.4.11/, s/2410/2411/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 10.
* builds/unix/configure.raw (version_info): Set to 16:0:10.
* builds/toplevel.mk (dist): Don't include `.mailmap'.
2012-12-20 11:31:56 +04:00
|
|
|
. Check with
|
|
|
|
|
|
|
|
git clean -ndx
|
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
that the git directory is really clean (and remove extraneous files
|
* Version 2.4.11 released.
==========================
Tag sources with `VER-2-4-11'.
* docs/CHANGES, docs/release: Updated.
* docs/VERSION.DLL: Update documentation and bump version number to
2.4.11.
* README, Jamfile (RefDoc),
builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
builds/win32/vc2010/freetype.vcxproj, builds/win32/vc2010/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj,
builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
builds/win32/visualce/freetype.vcproj,
builds/win32/visualce/index.html,
builds/wince/vc2005-ce/freetype.vcproj,
builds/wince/vc2005-ce/index.html,
builds/wince/vc2008-ce/freetype.vcproj,
builds/wince/vc2008-ce/index.html: s/2.4.10/2.4.11/, s/2410/2411/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 10.
* builds/unix/configure.raw (version_info): Set to 16:0:10.
* builds/toplevel.mk (dist): Don't include `.mailmap'.
2012-12-20 11:31:56 +04:00
|
|
|
if necessary).
|
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. Say `make dist` in both the 'freetype' and 'freetype-demos'
|
|
|
|
repositories to generate the `.tar.gz`, `.tar.xz`, and `.zip` files.
|
2007-01-17 15:44:39 +03:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. Create the doc bundles (`freetype-doc-<version>.tar.gz`,
|
|
|
|
`freetype-doc-<version>.tar.xz`, `ftdoc<version>.zip`). This is
|
* Version 2.5.1 released.
=========================
Tag sources with `VER-2-5-1'.
* docs/VERSION.DLL: Update documentation and bump version number to
2.5.1.
* README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
builds/windows/vc2005/index.html,
builds/windows/vc2008/freetype.vcproj,
builds/windows/vc2008/index.html,
builds/windows/vc2010/freetype.vcxproj,
builds/windows/vc2010/index.html,
builds/windows/visualc/freetype.dsp,
builds/windows/visualc/freetype.vcproj,
builds/windows/visualc/index.html,
builds/windows/visualce/freetype.dsp,
builds/windows/visualce/freetype.vcproj,
builds/windows/visualce/index.html,
builds/wince/vc2005-ce/freetype.vcproj,
builds/wince/vc2005-ce/index.html,
builds/wince/vc2008-ce/freetype.vcproj,
builds/wince/vc2008-ce/index.html: s/2.5.0/2.5.1/, s/250/251/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
* builds/unix/configure.raw (version_info): Set to 17:0:11.
* docs/CHANGES, docs/release: Updated.
2013-11-25 03:28:11 +04:00
|
|
|
everything in
|
2007-01-17 15:44:39 +03:00
|
|
|
|
* Version 2.5.1 released.
=========================
Tag sources with `VER-2-5-1'.
* docs/VERSION.DLL: Update documentation and bump version number to
2.5.1.
* README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
builds/windows/vc2005/index.html,
builds/windows/vc2008/freetype.vcproj,
builds/windows/vc2008/index.html,
builds/windows/vc2010/freetype.vcxproj,
builds/windows/vc2010/index.html,
builds/windows/visualc/freetype.dsp,
builds/windows/visualc/freetype.vcproj,
builds/windows/visualc/index.html,
builds/windows/visualce/freetype.dsp,
builds/windows/visualce/freetype.vcproj,
builds/windows/visualce/index.html,
builds/wince/vc2005-ce/freetype.vcproj,
builds/wince/vc2005-ce/index.html,
builds/wince/vc2008-ce/freetype.vcproj,
builds/wince/vc2008-ce/index.html: s/2.5.0/2.5.1/, s/250/251/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
* builds/unix/configure.raw (version_info): Set to 17:0:11.
* docs/CHANGES, docs/release: Updated.
2013-11-25 03:28:11 +04:00
|
|
|
<freetype-web git repository>/freetype2/docs
|
2007-01-17 15:44:39 +03:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
except the `reference` subdirectory. Do *not* use option `-l` from
|
2007-01-17 15:44:39 +03:00
|
|
|
zip!
|
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. Run the following script (with updated `$VERSION`, `$SAVANNAH_USER`,
|
|
|
|
and `$SOURCEFORGE_USER` variables) to sign and upload the bundles to
|
2008-06-29 11:43:41 +04:00
|
|
|
both Savannah and SourceForge. The signing code has been taken from
|
2021-01-16 17:45:13 +03:00
|
|
|
the `gnupload` script (part of the 'automake' bundle).
|
2007-01-26 01:14:40 +03:00
|
|
|
|
|
|
|
#!/bin/sh
|
2007-01-17 15:44:39 +03:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
VERSION=2.10.4
|
2007-01-26 01:14:40 +03:00
|
|
|
SAVANNAH_USER=wl
|
2008-06-29 11:43:41 +04:00
|
|
|
SOURCEFORGE_USER=wlemb
|
2007-01-26 01:14:40 +03:00
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
GPG='/usr/bin/gpg --batch --no-tty'
|
|
|
|
|
|
|
|
version=`echo $VERSION | sed "s/\\.//g"`
|
|
|
|
|
2009-10-10 22:15:49 +04:00
|
|
|
FREETYPE_PACKAGES="freetype-$VERSION.tar.gz \
|
2019-04-06 07:51:08 +03:00
|
|
|
freetype-$VERSION.tar.xz \
|
2009-10-10 23:19:35 +04:00
|
|
|
ft$version.zip"
|
2009-10-10 22:15:49 +04:00
|
|
|
FT2DEMOS_PACKAGES="ft2demos-$VERSION.tar.gz \
|
2019-04-06 07:51:08 +03:00
|
|
|
ft2demos-$VERSION.tar.xz \
|
2009-10-10 23:19:35 +04:00
|
|
|
ftdmo$version.zip"
|
2009-10-10 22:15:49 +04:00
|
|
|
FTDOC_PACKAGES="freetype-doc-$VERSION.tar.gz \
|
2019-04-06 07:51:08 +03:00
|
|
|
freetype-doc-$VERSION.tar.xz \
|
2009-10-10 23:19:35 +04:00
|
|
|
ftdoc$version.zip"
|
2007-01-26 01:14:40 +03:00
|
|
|
|
2009-10-10 23:19:35 +04:00
|
|
|
PACKAGE_LIST="$FREETYPE_PACKAGES \
|
|
|
|
$FT2DEMOS_PACKAGES \
|
|
|
|
$FTDOC_PACKAGES"
|
2007-01-26 01:14:40 +03:00
|
|
|
|
|
|
|
set -e
|
|
|
|
unset passphrase
|
|
|
|
|
|
|
|
PATH=/empty echo -n "Enter GPG passphrase: "
|
|
|
|
stty -echo
|
|
|
|
read -r passphrase
|
|
|
|
stty echo
|
|
|
|
echo
|
|
|
|
|
|
|
|
for f in $PACKAGE_LIST; do
|
|
|
|
if test ! -f $f; then
|
|
|
|
echo "$0: Cannot find \`$f'" 1>&2
|
|
|
|
exit 1
|
|
|
|
else
|
|
|
|
:
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
for f in $PACKAGE_LIST; do
|
|
|
|
echo "Signing $f..."
|
|
|
|
rm -f $f.sig
|
|
|
|
echo $passphrase | $GPG --passphrase-fd 0 -ba -o $f.sig $f
|
|
|
|
done
|
|
|
|
|
2009-10-10 22:15:49 +04:00
|
|
|
FREETYPE_SIGNATURES=
|
|
|
|
for i in $FREETYPE_PACKAGES; do
|
|
|
|
FREETYPE_SIGNATURES="$FREETYPE_SIGNATURES $i.sig"
|
2007-01-26 01:14:40 +03:00
|
|
|
done
|
|
|
|
|
2009-10-10 22:15:49 +04:00
|
|
|
FT2DEMOS_SIGNATURES=
|
|
|
|
for i in $FT2DEMOS_PACKAGES; do
|
|
|
|
FT2DEMOS_SIGNATURES="$FT2DEMOS_SIGNATURES $i.sig"
|
|
|
|
done
|
|
|
|
|
|
|
|
FTDOC_SIGNATURES=
|
|
|
|
for i in $FTDOC_PACKAGES; do
|
|
|
|
FTDOC_SIGNATURES="$FTDOC_SIGNATURES $i.sig"
|
|
|
|
done
|
|
|
|
|
2009-10-10 23:19:35 +04:00
|
|
|
SIGNATURE_LIST="$FREETYPE_SIGNATURES \
|
|
|
|
$FT2DEMOS_SIGNATURES \
|
|
|
|
$FTDOC_SIGNATURES"
|
2009-10-10 22:15:49 +04:00
|
|
|
|
2007-01-26 01:14:40 +03:00
|
|
|
scp $PACKAGE_LIST $SIGNATURE_LIST \
|
|
|
|
$SAVANNAH_USER@dl.sv.nongnu.org:/releases/freetype/
|
|
|
|
|
2009-10-10 22:15:49 +04:00
|
|
|
rsync -avP -e ssh $FREETYPE_PACKAGES $FREETYPE_SIGNATURES \
|
|
|
|
$SOURCEFORGE_USER,freetype@frs.sf.net:/home/frs/project/f/fr/freetype/freetype2/$VERSION/
|
|
|
|
rsync -avP -e ssh $FT2DEMOS_PACKAGES $FT2DEMOS_SIGNATURES \
|
|
|
|
$SOURCEFORGE_USER,freetype@frs.sf.net:/home/frs/project/f/fr/freetype/freetype-demos/$VERSION/
|
|
|
|
rsync -avP -e ssh $FTDOC_PACKAGES $FTDOC_SIGNATURES \
|
|
|
|
$SOURCEFORGE_USER,freetype@frs.sf.net:/home/frs/project/f/fr/freetype/freetype-docs/$VERSION/
|
2007-01-17 15:44:39 +03:00
|
|
|
|
2007-01-26 01:14:40 +03:00
|
|
|
# EOF
|
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. Prepare a `README` file for SourceForge and upload it with the
|
|
|
|
following script (with updated `$VERSION` and `$SOURCEFORGE_USER`
|
|
|
|
variables).
|
2007-01-17 15:44:39 +03:00
|
|
|
|
2011-11-15 11:34:54 +04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
VERSION=2.10.4
|
2011-11-15 11:34:54 +04:00
|
|
|
SOURCEFORGE_USER=wlemb
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
rsync -avP -e ssh README \
|
|
|
|
$SOURCEFORGE_USER,freetype@frs.sf.net:/home/frs/project/f/fr/freetype/freetype2/$VERSION/
|
|
|
|
|
|
|
|
# EOF
|
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. On SourceForge, tag the just uploaded `ftXXX.zip` and
|
|
|
|
`freetype-XXX.tar.xz` files as the default files to download for
|
|
|
|
'Windows' and 'Others', respectively.
|
2007-01-17 15:44:39 +03:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. Copy the reference files (generated by `make dist`) to
|
2007-01-17 15:44:39 +03:00
|
|
|
|
* Version 2.5.1 released.
=========================
Tag sources with `VER-2-5-1'.
* docs/VERSION.DLL: Update documentation and bump version number to
2.5.1.
* README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
builds/windows/vc2005/index.html,
builds/windows/vc2008/freetype.vcproj,
builds/windows/vc2008/index.html,
builds/windows/vc2010/freetype.vcxproj,
builds/windows/vc2010/index.html,
builds/windows/visualc/freetype.dsp,
builds/windows/visualc/freetype.vcproj,
builds/windows/visualc/index.html,
builds/windows/visualce/freetype.dsp,
builds/windows/visualce/freetype.vcproj,
builds/windows/visualce/index.html,
builds/wince/vc2005-ce/freetype.vcproj,
builds/wince/vc2005-ce/index.html,
builds/wince/vc2008-ce/freetype.vcproj,
builds/wince/vc2008-ce/index.html: s/2.5.0/2.5.1/, s/250/251/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
* builds/unix/configure.raw (version_info): Set to 17:0:11.
* docs/CHANGES, docs/release: Updated.
2013-11-25 03:28:11 +04:00
|
|
|
<freetype-web git repository>/freetype2/docs/reference
|
2003-11-12 18:16:02 +03:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. 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
|
2003-11-12 18:16:02 +03:00
|
|
|
|
* Version 2.5.1 released.
=========================
Tag sources with `VER-2-5-1'.
* docs/VERSION.DLL: Update documentation and bump version number to
2.5.1.
* README, Jamfile (RefDoc), builds/windows/vc2005/freetype.vcproj,
builds/windows/vc2005/index.html,
builds/windows/vc2008/freetype.vcproj,
builds/windows/vc2008/index.html,
builds/windows/vc2010/freetype.vcxproj,
builds/windows/vc2010/index.html,
builds/windows/visualc/freetype.dsp,
builds/windows/visualc/freetype.vcproj,
builds/windows/visualc/index.html,
builds/windows/visualce/freetype.dsp,
builds/windows/visualce/freetype.vcproj,
builds/windows/visualce/index.html,
builds/wince/vc2005-ce/freetype.vcproj,
builds/wince/vc2005-ce/index.html,
builds/wince/vc2008-ce/freetype.vcproj,
builds/wince/vc2008-ce/index.html: s/2.5.0/2.5.1/, s/250/251/.
* include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
* builds/unix/configure.raw (version_info): Set to 17:0:11.
* docs/CHANGES, docs/release: Updated.
2013-11-25 03:28:11 +04:00
|
|
|
freedesktop.org://srv/freetype.freedesktop.org/www
|
2003-11-12 18:16:02 +03:00
|
|
|
|
2021-01-16 17:45:13 +03:00
|
|
|
. Announce new release on 'freetype-announce@nongnu.org' and to
|
|
|
|
relevant newsgroups.
|
2005-06-05 03:00:25 +04:00
|
|
|
|
2006-02-26 20:50:59 +03:00
|
|
|
----------------------------------------------------------------------
|
2005-06-05 03:00:25 +04:00
|
|
|
|
2021-01-17 09:18:48 +03:00
|
|
|
Copyright (C) 2003-2021 by
|
2005-06-05 03:00:25 +04:00
|
|
|
David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
|
2006-02-26 20:50:59 +03:00
|
|
|
This file is part of the FreeType project, and may only be used,
|
|
|
|
modified, and distributed under the terms of the FreeType project
|
|
|
|
license, LICENSE.TXT. By continuing to use, modify, or distribute
|
|
|
|
this file you indicate that you have read the license and understand
|
|
|
|
and accept it fully.
|
2005-06-05 03:00:25 +04:00
|
|
|
|
|
|
|
|
|
|
|
--- end of release ---
|