1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
|
How to prepare a new release
----------------------------
. include/freetype/freetype.h: Update FREETYPE_MAJOR, FREETYPE_MINOR,
and FREETYPE_PATCH.
. Update version numbers in all files where necessary (for example, do
a grep for both `2.3.1' and `231' for release 2.3.1).
. builds/unix/configure.raw: Update `version_info'.
. docs/CHANGES: Document differences to last release.
. README: Update.
. docs/VERSION.DLL: Document changed `version_info'.
. ChangeLog: Announce new release (both in freetype2 and ft2demos
modules).
. 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.
. Tag the CVS (freetype2, ft2demos).
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!
. Run the following script (with updated `$VERSION', `$SAVANNAH_USER',
and $SOURCEFORGE_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
VERSION=2.3.7
SAVANNAH_USER=wl
SOURCEFORGE_USER=wlemb
#####################################################################
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/
rsync -avP -e ssh $PACKAGE_LIST $SIGNATURE_LIST \
$SOURCEFORGE_USER@frs.sf.net:uploads/
# 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.
. 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
update it accordingly.
Write script to automatically do this.
Mirror FreeType's savannah home page everywhere.
. Update
freetype.freedesktop.org:/srv/freetype.freedesktop.org/www/index2.html
and copy it to
shell.sf.net:/home/groups/f/fr/freetype/htdocs/index2.html
. Announce new release on freetype-announce@nongnu.org and to relevant
newsgroups.
----------------------------------------------------------------------
Copyright 2003, 2005, 2006, 2007 by
David Turner, Robert Wilhelm, and Werner Lemberg.
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.
--- end of release ---
|