| 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 |
Some FontForge consistency tests aren't available via scripts. |
| 36 |
These tests must be run by hand for each font face. In particular, |
| 37 |
the ATT tests must be run by hand. |
| 38 |
|
| 39 |
Note that failure of some of these will result in visible problems |
| 40 |
when the font is used. For example, failure of some of the "ATT" |
| 41 |
checks may cause whole font features in the lookups to be silently |
| 42 |
shut off by the font rendering software. |
| 43 |
|
| 44 |
3) Adding files to the download area |
| 45 |
|
| 46 |
The gnupload script, which has some connection to automake, is the |
| 47 |
neatest way to upload files to Savannah. You may have to acquire it |
| 48 |
from somebody. |
| 49 |
|
| 50 |
Requires 'ncftp' |
| 51 |
|
| 52 |
/bin/sh ~/bin/gnupload --to ftp.gnu.org:freefont freefont-otf-20180608.zip |
| 53 |
|
| 54 |
It prompts for a PGP password, creates the signature files required |
| 55 |
by the Savannah upload procedures, and uploads all of them. |
| 56 |
|
| 57 |
4) Creating detached signature file, as in the "raw" upload procedures: |
| 58 |
|
| 59 |
http://www.gnu.org/prep/maintain/maintain.html#Automated-Upload-Registration |
| 60 |
|
| 61 |
gpg -b freefont-ttf-20180608.zip |
| 62 |
|
| 63 |
This creates a "detached GPD binary signature" file freefont-ttf.tar.gz.sig |
| 64 |
|
| 65 |
5) Commiting a SVN file |
| 66 |
|
| 67 |
svn co svn+ssh://[email protected]/freefont/trunk/freefont |
| 68 |
|
| 69 |
cd freefont/sfd |
| 70 |
svn commit FreeSans.sfd |
| 71 |
|
| 72 |
6) a) Tagging a release in SVN |
| 73 |
|
| 74 |
svn copy svn+ssh://[email protected]/freefont/trunk \ |
| 75 |
svn+ssh://[email protected]/freefont/tags/RELEASE_20180608 \ |
| 76 |
-m "Tagging the 03.05.2012 release." |
| 77 |
where UNAME is a Savannah admin user name. |
| 78 |
|
| 79 |
b) Tagging a release in CVS |
| 80 |
|
| 81 |
cvs rtag RELEASE_TAG_NAME freefont |
| 82 |
|
| 83 |
Removing a tag |
| 84 |
|
| 85 |
cvs rtag -d RELEASE_TAG_NAME freefont |
| 86 |
|
| 87 |
Retrieving a tagged release |
| 88 |
|
| 89 |
cvs checkout -P -r RELEASE_TAG_NAME freefont |
| 90 |
|
| 91 |
7) Using Change Log mode in Emacs |
| 92 |
|
| 93 |
C-x 4 a adds a new entry to the change log file |
| 94 |
|
| 95 |
8) New release procedures |
| 96 |
Update the Changelog. |
| 97 |
Review the AUTHORS and CREDITS files for competeness. |
| 98 |
Ensure that "make tests" completes cleanly. |
| 99 |
|
| 100 |
Tag new releases with tag named RELEASE_date, where date is the date. |
| 101 |
Add release date field value to bug report field "Release". |
| 102 |
Upload the archive files to Savannah. |
| 103 |
Update project web pages. |
| 104 |
Make news item. |
| 105 |
Update FSF entry at http://directory.fsf.org/wiki/Freefont |
| 106 |
|
| 107 |
Write to [email protected] |
| 108 |
Write to [email protected] |
| 109 |
Subject: GNU FreeFont <verson-no> released |
| 110 |
Contents: 1 line blurb of what FreeFont is; |
| 111 |
can also be downloaded from any GNU mirror. List at |
| 112 |
http://www.gnu.org/order/ftp.html. |
| 113 |
Write to [email protected], |
| 114 |
and Debian freefont-ttf packager |
| 115 |
|
| 116 |
Mark "Fix in source" bug reports as "Fixed" |
| 117 |
|
| 118 |
9) Adding ssh keys to Savannah |
| 119 |
Otherwise get errors like |
| 120 |
Permission denied (publickey). |
| 121 |
cvs [checkout aborted]: end of file from server |
| 122 |
Log in as Savannah project admin |
| 123 |
Click My Account Conf (from menu list on far left) |
| 124 |
Edit the (n) SSH Public Keys registered |
| 125 |
Paste in a public rsa key (can have up to 5) |
| 126 |
Click Update. |
| 127 |
|
| 128 |
10) Adding binaries (such as TrueType fonts) to CVS, as for web pages |
| 129 |
Remember to add with the -kb flag, |
| 130 |
cvs add -kb myfont.ttf |
| 131 |
or it will mess the binary up and waste days of your life. |
| 132 |
|
| 133 |
$Id: maintenance.txt 3932 2018-06-06 21:13:06Z Stevan_White $ |