| 1 |
On preparing the FreeFont package for release. |
| 2 |
|
| 3 |
1) Makefile |
| 4 |
|
| 5 |
The command |
| 6 |
make |
| 7 |
will build the TrueType font files in the sfd directory. |
| 8 |
The command |
| 9 |
make package |
| 10 |
creates four archive files: one tarball of sources (SFD files), a zip |
| 11 |
of TrueType fonts, a tarball of OpenType fonts, and a zip of WOFF |
| 12 |
format fonts. The naming convention is: |
| 13 |
|
| 14 |
freefont-src-yyyymmdd.tar.gz |
| 15 |
freefont-ttf-yyyymmdd.zip |
| 16 |
freefont-otf-yyyymmdd.tar.gz |
| 17 |
freefont-woff-yyyymmdd.zip |
| 18 |
|
| 19 |
where yyyymmdd is the year, month and date of release. |
| 20 |
|
| 21 |
The Makefile also has other targets, for building individual components |
| 22 |
of the distribution. |
| 23 |
|
| 24 |
2) Checking for font problems |
| 25 |
|
| 26 |
It is important to execute all the available tests before release, |
| 27 |
and make the fonts pass all of them. Toward this goal the fonts |
| 28 |
should also be checked before commits. |
| 29 |
|
| 30 |
The first check is the FontForge "Verifiy" command. |
| 31 |
Beyond that are its checks in "Find Problems...". |
| 32 |
|
| 33 |
Several further FreeFont checks are executed by |
| 34 |
make tests |
| 35 |
|
| 36 |
Note that failure of some of these will result in visible problems |
| 37 |
when the font is used. For example, failure of some of the "ATT" |
| 38 |
checks may cause whole font features in the lookups to be silently |
| 39 |
shut off by the font rendering software. |
| 40 |
|
| 41 |
3) Adding files to the download area |
| 42 |
|
| 43 |
The gnupload script, which has some connection to automake, is the |
| 44 |
neatest way to upload files to Savannah. You may have to acquire it |
| 45 |
from somebody. |
| 46 |
|
| 47 |
Requires 'ncftp' |
| 48 |
|
| 49 |
/bin/sh ~/bin/gnupload --to ftp.gnu.org:freefont freefont-otf-20080324.zip |
| 50 |
|
| 51 |
It prompts for a PGP password, creates the signature files required |
| 52 |
by the Savannah upload procedures, and uploads all of them. |
| 53 |
|
| 54 |
4) Creating detached signature file, as in the "raw" upload procedures: |
| 55 |
|
| 56 |
http://www.gnu.org/prep/maintain/maintain.html#Automated-Upload-Registration |
| 57 |
|
| 58 |
gpg -b freefont-ttf-20060126.zip |
| 59 |
|
| 60 |
This creates a "detached GPD binary signature" file freefont-ttf.tar.gz.sig |
| 61 |
|
| 62 |
5) Commiting a SVN file |
| 63 |
|
| 64 |
svn co svn+ssh://[email protected]/freefont/trunk/freefont |
| 65 |
|
| 66 |
cd freefont/sfd |
| 67 |
svn commit FreeSans.sfd |
| 68 |
|
| 69 |
6) a) Tagging a release in SVN |
| 70 |
|
| 71 |
svn copy svn://svn.savannah.gnu.org/freefont/trunk \ |
| 72 |
svn://svn.savannah.gnu.org/freefont/tags/RELEASE_20120503 \ |
| 73 |
-m "Tagging the 03.05.2012 release." |
| 74 |
|
| 75 |
b) Tagging a release in CVS |
| 76 |
|
| 77 |
cvs rtag RELEASE_TAG_NAME freefont |
| 78 |
|
| 79 |
Removing a tag |
| 80 |
|
| 81 |
cvs rtag -d RELEASE_TAG_NAME freefont |
| 82 |
|
| 83 |
Retrieving a tagged release |
| 84 |
|
| 85 |
cvs checkout -P -r RELEASE_TAG_NAME freefont |
| 86 |
|
| 87 |
7) Using Change Log mode in Emacs |
| 88 |
|
| 89 |
C-x 4 a adds a new entry to the change log file |
| 90 |
|
| 91 |
8) New release procedures |
| 92 |
Update the Changelog. |
| 93 |
Review the AUTHORS and CREDITS files for competeness. |
| 94 |
Ensure that "make tests" completes cleanly. |
| 95 |
|
| 96 |
Tag new releases with tag named RELEASE_date, where date is the date. |
| 97 |
Add release date field value to bug report field "Release". |
| 98 |
Upload the archive files to Savannah. |
| 99 |
|
| 100 |
Write to [email protected] |
| 101 |
Write to [email protected] |
| 102 |
Write to [email protected], |
| 103 |
and Debian freefont-ttf packager |
| 104 |
|
| 105 |
Mark "Fix in source" bug reports as "Fixed" |
| 106 |
|
| 107 |
9) Adding ssh keys to Savannah |
| 108 |
Otherwise get errors like |
| 109 |
Permission denied (publickey). |
| 110 |
cvs [checkout aborted]: end of file from server |
| 111 |
Log in as Savannah project admin |
| 112 |
Click My Account Conf (from menu list on far left) |
| 113 |
Edit the (n) SSH Public Keys registered |
| 114 |
Paste in a public rsa key (can have up to 5) |
| 115 |
Click Update. |
| 116 |
|
| 117 |
10) Adding binaries (such as TrueType fonts) to CVS, as for web pages |
| 118 |
Remember to add with the -kb flag, |
| 119 |
cvs add -kb myfont.ttf |
| 120 |
or it will mess the binary up and waste days of your life. |
| 121 |
|
| 122 |
$Id: maintenance.txt 2267 2012-05-03 11:57:14Z Stevan_White $ |