2003-07-25 07:57:21 +02:00
|
|
|
How to prepare a new release
|
|
|
|
----------------------------
|
|
|
|
|
2006-02-26 18:50:59 +01:00
|
|
|
. include/freetype/freetype.h: Update FREETYPE_MAJOR, FREETYPE_MINOR,
|
|
|
|
and FREETYPE_PATCH.
|
2003-07-25 07:57:21 +02:00
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
. Update version numbers in all files where necessary (for example, do
|
2007-01-31 09:53:02 +01:00
|
|
|
a grep for both `2.3.1' and `231' for release 2.3.1).
|
2006-02-26 18:50:59 +01:00
|
|
|
|
2007-01-25 23:14:40 +01:00
|
|
|
. builds/unix/configure.raw: Update `version_info'.
|
2003-07-25 07:57:21 +02:00
|
|
|
|
|
|
|
. docs/CHANGES: Document differences to last release.
|
|
|
|
|
|
|
|
. README: Update.
|
|
|
|
|
2003-11-09 09:37:14 +01:00
|
|
|
. docs/VERSION.DLL: Document changed `version_info'.
|
2003-07-25 07:57:21 +02:00
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
. ChangeLog: Announce new release (both in freetype2 and ft2demos
|
|
|
|
modules).
|
2003-11-09 09:37:14 +01:00
|
|
|
|
2007-07-07 09:30:40 +02:00
|
|
|
. Copy the CVS archive to another directory and run
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
to test compilation with both gcc and g++.
|
|
|
|
|
|
|
|
. Test C++ compilation for ft2demos too.
|
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
. Tag the CVS (freetype2, ft2demos).
|
2005-05-18 09:01:59 +02:00
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
TODO: Tag the home page CVS on savannah.nongnu.org.
|
|
|
|
|
|
|
|
. Say `make dist' in both the freetype2 and ft2demos 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
|
|
|
|
|
|
|
|
freetype.freedesktop.org:/srv/freetype.freedesktop.org/www/freetype2/docs/
|
|
|
|
|
|
|
|
except the `reference' subdirectory. Do *not* use option `-l' from
|
|
|
|
zip!
|
|
|
|
|
2007-01-25 23:14:40 +01:00
|
|
|
Run the following script (with updated `$VERSION' and
|
|
|
|
`$SAVANNAH_USER' variables) to sign and upload the bundles to both
|
|
|
|
Savannah and SourceForge. The signing code has been taken from the
|
|
|
|
`gnupload' script (part of the automake bundle).
|
|
|
|
|
|
|
|
#!/bin/sh
|
2007-01-17 13:44:39 +01:00
|
|
|
|
2007-01-30 11:40:23 +01:00
|
|
|
VERSION=2.3.1
|
2007-01-25 23:14:40 +01:00
|
|
|
SAVANNAH_USER=wl
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
GPG='/usr/bin/gpg --batch --no-tty'
|
|
|
|
|
|
|
|
version=`echo $VERSION | sed "s/\\.//g"`
|
|
|
|
|
|
|
|
UNIX_PACKAGES="freetype ft2demos freetype-doc"
|
|
|
|
WINDOWS_PACKAGES="ft ftdmo ftdoc"
|
|
|
|
UNIX_ZIP="tar.gz tar.bz2"
|
|
|
|
WINDOWS_ZIP="zip"
|
|
|
|
|
|
|
|
PACKAGE_LIST=
|
|
|
|
for i in $UNIX_PACKAGES; do
|
|
|
|
for j in $UNIX_ZIP; do
|
|
|
|
PACKAGE_LIST="$PACKAGE_LIST $i-$VERSION.$j"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
for i in $WINDOWS_PACKAGES; do
|
|
|
|
for j in $WINDOWS_ZIP; do
|
|
|
|
PACKAGE_LIST="$PACKAGE_LIST $i$version.$j"
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
SIGNATURE_LIST=
|
|
|
|
for i in $PACKAGE_LIST; do
|
|
|
|
SIGNATURE_LIST="$SIGNATURE_LIST $i.sig"
|
|
|
|
done
|
|
|
|
|
|
|
|
scp $PACKAGE_LIST $SIGNATURE_LIST \
|
|
|
|
$SAVANNAH_USER@dl.sv.nongnu.org:/releases/freetype/
|
|
|
|
|
|
|
|
for f in $PACKAGE_LIST $SIGNATURE_LIST; do
|
2007-01-17 13:44:39 +01:00
|
|
|
ncftpput upload.sf.net /incoming $f
|
|
|
|
done
|
|
|
|
|
2007-01-25 23:14:40 +01:00
|
|
|
# EOF
|
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
. 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.
|
|
|
|
|
|
|
|
. Copy the reference files (generated by `make dist') to
|
|
|
|
|
|
|
|
freetype.freedesktop.org:/srv/freetype.freedesktop.org/www/freetype2/docs/reference
|
|
|
|
|
|
|
|
and
|
|
|
|
|
|
|
|
shell.sf.net:/home/groups/f/fr/freetype/htdocs/freetype2/docs/reference
|
|
|
|
|
|
|
|
TODO: Create FreeType home page CVS on savannah.nongnu.org and
|
2006-02-26 18:50:59 +01:00
|
|
|
update it accordingly.
|
2005-05-18 09:01:59 +02:00
|
|
|
|
* src/base/ftoutln.c (FT_Outline_Embolden): Strength should be
halved.
* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Change the default
strength.
Don't increase slot->advance.y.
* include/freetype/freetype.h (FREETYPE_MINOR): Set to 2.
(FREETYPE_PATCH): Set to 0.
* builds/unix/configure.ac (version_info): Set to 9:9:3.
Currently, we are still binary compatible.
* builds/win32/visualc/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj: s/219/2110/, s/2.1.9/2.1.10/.
* builds/freetype.mk (refdoc), README, Jamfile (RefDoc):
s/2.1.9/2.1.10/.
* docs/CHANGES, docs/VERSION.DLL: Updated.
* ChangeLog: Split off older entries into...
* ChangeLog.20, ChangeLog.21: These new files.
The next release will be 2.2.0, so don't worry about source code
backwards compatibility.
* include/freetype/ftimage.h (FT_Outline_MoveToFunc,
FT_Outline_LineToFunc, FT_Outline_ConicToFunc,
FT_Outline_CubicToFunc, FT_SpanFunc, FT_Raster_RenderFunc),
include/freetype/ftrender.h (FT_Glyph_TransformFunc,
FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Decorate
parameters with `const' where appropriate.
* src/sfnt/ttsbit.c (tt_face_load_sbit_image): Compute vertBearingY
to make glyphs centered vertically.
* src/truetype/ttgload.c (compute_glyph_metrics): Compute
vertBearingY to make glyphs centered vertically.
Fix some bugs in vertical metrics:
. loader->pp3.y and loader->pp4.y are in 26.6 format, not in font
units.
. As we use the glyph's cbox to calculate the top bearing now
there iss no need to adjust `top'.
* src/otvalid/otvcommn.h (OTV_OPTIONAL_TABLE): Use FT_UShort to be
in sync with OTV_OPTIONAL_OFFSET. Reported by YAMATO Masatake.
* docs/release: Update.
2005-06-16 21:07:08 +02:00
|
|
|
Write script to automatically do this.
|
2005-05-18 09:01:59 +02:00
|
|
|
|
* src/base/ftoutln.c (FT_Outline_Embolden): Strength should be
halved.
* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Change the default
strength.
Don't increase slot->advance.y.
* include/freetype/freetype.h (FREETYPE_MINOR): Set to 2.
(FREETYPE_PATCH): Set to 0.
* builds/unix/configure.ac (version_info): Set to 9:9:3.
Currently, we are still binary compatible.
* builds/win32/visualc/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj: s/219/2110/, s/2.1.9/2.1.10/.
* builds/freetype.mk (refdoc), README, Jamfile (RefDoc):
s/2.1.9/2.1.10/.
* docs/CHANGES, docs/VERSION.DLL: Updated.
* ChangeLog: Split off older entries into...
* ChangeLog.20, ChangeLog.21: These new files.
The next release will be 2.2.0, so don't worry about source code
backwards compatibility.
* include/freetype/ftimage.h (FT_Outline_MoveToFunc,
FT_Outline_LineToFunc, FT_Outline_ConicToFunc,
FT_Outline_CubicToFunc, FT_SpanFunc, FT_Raster_RenderFunc),
include/freetype/ftrender.h (FT_Glyph_TransformFunc,
FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Decorate
parameters with `const' where appropriate.
* src/sfnt/ttsbit.c (tt_face_load_sbit_image): Compute vertBearingY
to make glyphs centered vertically.
* src/truetype/ttgload.c (compute_glyph_metrics): Compute
vertBearingY to make glyphs centered vertically.
Fix some bugs in vertical metrics:
. loader->pp3.y and loader->pp4.y are in 26.6 format, not in font
units.
. As we use the glyph's cbox to calculate the top bearing now
there iss no need to adjust `top'.
* src/otvalid/otvcommn.h (OTV_OPTIONAL_TABLE): Use FT_UShort to be
in sync with OTV_OPTIONAL_OFFSET. Reported by YAMATO Masatake.
* docs/release: Update.
2005-06-16 21:07:08 +02:00
|
|
|
Mirror FreeType's savannah home page everywhere.
|
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
. Update
|
2003-11-09 09:37:14 +01:00
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
freetype.freedesktop.org:/srv/freetype.freedesktop.org/www/index2.html
|
2003-11-12 16:16:02 +01:00
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
and copy it to
|
2003-11-12 16:16:02 +01:00
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
shell.sf.net:/home/groups/f/fr/freetype/htdocs/index2.html
|
2003-11-12 16:16:02 +01:00
|
|
|
|
* src/base/ftoutln.c (FT_Outline_Embolden): Strength should be
halved.
* src/base/ftsynth.c (FT_GlyphSlot_Embolden): Change the default
strength.
Don't increase slot->advance.y.
* include/freetype/freetype.h (FREETYPE_MINOR): Set to 2.
(FREETYPE_PATCH): Set to 0.
* builds/unix/configure.ac (version_info): Set to 9:9:3.
Currently, we are still binary compatible.
* builds/win32/visualc/index.html,
builds/win32/visualc/freetype.dsp,
builds/win32/visualc/freetype.vcproj: s/219/2110/, s/2.1.9/2.1.10/.
* builds/freetype.mk (refdoc), README, Jamfile (RefDoc):
s/2.1.9/2.1.10/.
* docs/CHANGES, docs/VERSION.DLL: Updated.
* ChangeLog: Split off older entries into...
* ChangeLog.20, ChangeLog.21: These new files.
The next release will be 2.2.0, so don't worry about source code
backwards compatibility.
* include/freetype/ftimage.h (FT_Outline_MoveToFunc,
FT_Outline_LineToFunc, FT_Outline_ConicToFunc,
FT_Outline_CubicToFunc, FT_SpanFunc, FT_Raster_RenderFunc),
include/freetype/ftrender.h (FT_Glyph_TransformFunc,
FT_Renderer_RenderFunc, FT_Renderer_TransformFunc): Decorate
parameters with `const' where appropriate.
* src/sfnt/ttsbit.c (tt_face_load_sbit_image): Compute vertBearingY
to make glyphs centered vertically.
* src/truetype/ttgload.c (compute_glyph_metrics): Compute
vertBearingY to make glyphs centered vertically.
Fix some bugs in vertical metrics:
. loader->pp3.y and loader->pp4.y are in 26.6 format, not in font
units.
. As we use the glyph's cbox to calculate the top bearing now
there iss no need to adjust `top'.
* src/otvalid/otvcommn.h (OTV_OPTIONAL_TABLE): Use FT_UShort to be
in sync with OTV_OPTIONAL_OFFSET. Reported by YAMATO Masatake.
* docs/release: Update.
2005-06-16 21:07:08 +02:00
|
|
|
. Announce new release on freetype-announce@nongnu.org and to relevant
|
|
|
|
newsgroups.
|
2005-06-05 01:00:25 +02:00
|
|
|
|
2006-02-26 18:50:59 +01:00
|
|
|
----------------------------------------------------------------------
|
2005-06-05 01:00:25 +02:00
|
|
|
|
2007-01-17 13:44:39 +01:00
|
|
|
Copyright 2003, 2005, 2006, 2007 by
|
2005-06-05 01:00:25 +02:00
|
|
|
David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
|
2006-02-26 18:50:59 +01: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 01:00:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
--- end of release ---
|