2003-03-02 08:28:24 +01:00
|
|
|
Fontconfig is built with the traditional configure script:
|
2002-05-23 19:06:46 +02:00
|
|
|
|
2003-03-07 21:03:53 +01:00
|
|
|
$ ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
|
2002-05-23 19:06:46 +02:00
|
|
|
|
2003-03-02 08:28:24 +01:00
|
|
|
This should generate valid Makefiles, then:
|
2002-05-23 19:06:46 +02:00
|
|
|
|
|
|
|
$ make
|
|
|
|
$ make install
|
|
|
|
|
2004-04-14 20:08:41 +02:00
|
|
|
If you're going to package fontconfig for release, there are several
|
|
|
|
important steps:
|
|
|
|
|
|
|
|
1. Update the version numbers
|
|
|
|
configure.in
|
|
|
|
fontconfig/fontconfig.h
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2004-04-14 20:08:41 +02:00
|
|
|
2. Fix the README
|
|
|
|
Change version number
|
|
|
|
Set the date
|
2006-09-10 07:08:40 +02:00
|
|
|
Append the short log
|
|
|
|
|
2006-12-03 01:09:47 +01:00
|
|
|
git-log --pretty=short 2.4.xx.. | git-shortlog
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2004-04-14 20:08:41 +02:00
|
|
|
3. Commit those changes
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2004-05-29 21:49:52 +02:00
|
|
|
4. rebuild the configuration files with autogen.sh
|
2005-12-09 17:36:45 +01:00
|
|
|
sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man --localstatedir=/var
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2005-09-23 23:42:32 +02:00
|
|
|
5. make distcheck (NB: won't work without docbook-utils -PL)
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2004-05-29 21:49:52 +02:00
|
|
|
6. tag the tree
|
2006-09-11 20:09:26 +02:00
|
|
|
git-tag -u 096c4dd3 -m 'Version 2.4.x' 2.4.x
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2006-09-11 20:09:26 +02:00
|
|
|
7. make Changelog-2.4.x
|
|
|
|
git-log --stat 2.4.(x-1).. > ChangeLog-2.4.x
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2006-09-11 20:09:26 +02:00
|
|
|
8. Copy ChangeLog-2.4.x and fontconfig-2.4.x.tar.gz to
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2004-12-05 08:44:08 +01:00
|
|
|
freedesktop.org:/srv/fontconfig.freedesktop.org/www/release
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2004-05-29 21:49:52 +02:00
|
|
|
9. Update the Fontconfig Devel wiki page
|
2004-12-05 08:44:08 +01:00
|
|
|
http://fontconfig.org/wiki/Devel
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2006-09-11 20:09:26 +02:00
|
|
|
10. Update the fontconfig documentation
|
|
|
|
|
|
|
|
scp -rp doc/fontconfig-user.html doc/fontconfig-devel fontconfig.org:/srv/fontconfig.freedesktop.org/www
|
|
|
|
|
|
|
|
11. Compute md5sums for release files:
|
|
|
|
md5sum fontconfig-2.4.x.tar.gz ChangeLog-2.4.x
|
2006-09-03 23:58:49 +02:00
|
|
|
|
2006-09-11 20:09:26 +02:00
|
|
|
12. Post a note to fontconfig@fontconfig.org. Include the md5sums.
|
2004-05-29 22:07:46 +02:00
|
|
|
gpg sign the message.
|
2006-09-11 20:09:26 +02:00
|
|
|
|