blob: 78112f405bc76b07d30df0a61ebc1eab5f3eb673 [file] [log] [blame]
Werner Lemberg89184192021-01-16 07:53:09 +01001README.git
2----------
3
Werner Lemberg0fbdf112009-07-15 07:50:06 +02004The git archive doesn't contain pre-built configuration scripts for
Werner Lembergb4119a92005-05-24 13:46:17 +00005UNIXish platforms. To generate them say
6
7 sh autogen.sh
8
9which in turn depends on the following packages:
Werner Lembergb0db0fc2005-03-05 17:05:35 +000010
Werner Lemberga984fda2008-06-09 21:02:13 +000011 automake (1.10.1)
12 libtool (2.2.4)
13 autoconf (2.62)
Werner Lembergb0db0fc2005-03-05 17:05:35 +000014
Werner Lemberg4ea0a7f2007-01-05 09:03:31 +000015The versions given in parentheses are known to work. Newer versions
Werner Lemberg89184192021-01-16 07:53:09 +010016should work too, of course. Note that `autogen.sh` also sets up
17proper file permissions for the `configure` and auxiliary scripts.
Werner Lembergb0db0fc2005-03-05 17:05:35 +000018
Werner Lemberg89184192021-01-16 07:53:09 +010019The `autogen.sh` script now checks the versions of the above three
20packages whether they match the numbers above. Otherwise it will
21complain and suggest either upgrading or using an environment variable
22to point to a more recent version of the required tool(s).
David Turner9750fcb2007-01-04 23:14:48 +000023
Werner Lemberg89184192021-01-16 07:53:09 +010024Note that `aclocal` is provided by the 'automake' package on Linux,
25and that `libtoolize` is called `glibtoolize` on Darwin (OS X).
David Turner9750fcb2007-01-04 23:14:48 +000026
27
Werner Lemberg89184192021-01-16 07:53:09 +010028For static builds that don't use platform-specific optimizations, no
Werner Lembergb0db0fc2005-03-05 17:05:35 +000029configure script is necessary at all; saying
30
31 make setup ansi
32 make
33
Werner Lemberg89184192021-01-16 07:53:09 +010034should work on all platforms that have GNU `make` (or `makepp`).
35Similarly, a build with `cmake` or `meson` can be done directly from
36the git repository.
Werner Lemberg60a04df2005-06-04 23:04:30 +000037
38
Werner Lemberg89184192021-01-16 07:53:09 +010039For using the `FT_DEBUG_LOGGING` macro while debugging (see file
40`docs/DEBUG` for more information) the following git commands are
41necessary to check out the 'dlg' library as a git submodule.
Priyesh Kumarab0ea062020-08-28 11:28:17 +053042
43 git submodule init
44 git submodule update
45
46
Werner Lembergb0f86752021-01-16 08:57:33 +010047If you want to contribute to FreeType it is recommended to install the
48`git-merge-changelog` program we use a `ChangeLog` file, which often
49prevents simple merging due to conflicts. Most GNU/Linux
50distributions have a package for this program; otherwise you can
51install it via the 'gnulib' git repository. Detailed instructions can
52be found at the beginning of
53
54 https://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/git-merge-changelog.c
55
56To make it actually work, add to file `.git/config` in the FreeType
57git repository (or to your `$HOME/.gitconfig` file) the lines
58
59 [merge "merge-changelog"]
60 name = GNU-style ChangeLog merge driver
61 driver = /usr/local/bin/git-merge-changelog %O %A %B
62
63
Werner Lemberg4ea0a7f2007-01-05 09:03:31 +000064----------------------------------------------------------------------
65
Werner Lembergb6e8a712021-01-17 07:18:48 +010066Copyright (C) 2005-2021 by
Werner Lemberg4ea0a7f2007-01-05 09:03:31 +000067David Turner, Robert Wilhelm, and Werner Lemberg.
68
69This file is part of the FreeType project, and may only be used,
70modified, and distributed under the terms of the FreeType project
71license, LICENSE.TXT. By continuing to use, modify, or distribute
72this file you indicate that you have read the license and understand
73and accept it fully.
74
75
Werner Lemberg8c4b4622010-07-12 21:25:01 +020076--- end of README.git ---