summaryrefslogtreecommitdiff
path: root/INSTALL
blob: 754a32b93efca0203eb45959f9fcbfe059e5609b (plain)
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
Fontconfig is built with the traditional configure script:

	$ ./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man

If you checked out from the git repository (as opposed to downloading a
tarball), you need to run autogen.sh instead of configure:

	$ ./autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man

Either way, that should generate valid Makefiles, then:

	$ make
	$ make install

If you're going to package fontconfig for release, there are several
important steps:

 1.	Create new version
 		sh new-version.sh 2.xx.xx
		
 2. 	rebuild the configuration files with autogen.sh
		./autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man --localstatedir=/var
		
 3.	make distcheck
 
 4.	Copy ChangeLog-2.x.y and fontconfig-2.x.y.tar.gz to
 
 		freedesktop.org:/srv/fontconfig.freedesktop.org/www/release
	
 5.	Update the Fontconfig Devel wiki page
 	http://fontconfig.org/wiki/Devel
	
 6.	Update the fontconfig documentation

		scp -rp doc/fontconfig-user.html doc/fontconfig-devel fontconfig.org:/srv/fontconfig.freedesktop.org/www

 7.	Compute md5sums for release files:
		md5sum fontconfig-2.4.x.tar.gz ChangeLog-2.4.x
		
 8.	Post a note to fontconfig@fontconfig.org.  Include the md5sums.
	gpg sign the message.