🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
3.4 KiB

  1. README.git
  2. ==========
  3. repository issues
  4. -----------------
  5. FreeType's official repository site is
  6. https://gitlab.freedesktop.org/freetype ,
  7. from which the 'freetype.git' and 'freetype-demos.git' repositories
  8. can be cloned in the usual way.
  9. git clone https://gitlab.freedesktop.org/freetype/freetype.git
  10. git clone https://gitlab.freedesktop.org/freetype/freetype-demos.git
  11. If you want to use the Savannah mirror instead, you have to do a
  12. slightly different incantation because the repository names contain
  13. digit '2' for historical reasons.
  14. git clone \
  15. https://git.savannah.nongnu.org/git/freetype/freetype2.git \
  16. freetype
  17. git clone \
  18. https://git.savannah.nongnu.org/git/freetype/freetype2-demos.git \
  19. freetype-demos
  20. standard builds with `configure`
  21. --------------------------------
  22. The git repository doesn't contain pre-built configuration scripts for
  23. UNIXish platforms. To generate them say
  24. sh autogen.sh
  25. which in turn depends on the following packages:
  26. automake (1.10.1)
  27. libtool (2.2.4)
  28. autoconf (2.62)
  29. The versions given in parentheses are known to work. Newer versions
  30. should work too, of course. Note that `autogen.sh` also sets up
  31. proper file permissions for the `configure` and auxiliary scripts.
  32. The `autogen.sh` script checks whether the versions of the above three
  33. tools match the numbers above. Otherwise it will complain and suggest
  34. either upgrading or using environment variables to point to more
  35. recent versions of the required tools.
  36. Note that `aclocal` is provided by the 'automake' package on Linux,
  37. and that `libtoolize` is called `glibtoolize` on Darwin (OS X).
  38. alternative build methods
  39. -------------------------
  40. For static builds that don't use platform-specific optimizations, no
  41. configure script is necessary at all; saying
  42. make setup ansi
  43. make
  44. should work on all platforms that have GNU `make` (or `makepp`).
  45. A build with `cmake` or `meson` can be done directly from the git
  46. repository. However, if you want to use the `FT_DEBUG_LOGGING` macro
  47. (see file `docs/DEBUG` for more information) it is currently mandatory
  48. to execute `autogen.sh` in advance; this script clones the 'dlg' git
  49. submodule and copies some files into FreeType's source tree.
  50. contributing
  51. ------------
  52. If you want to contribute to FreeType it is recommended to install the
  53. `git-merge-changelog` program – we use a `ChangeLog` file, which often
  54. prevents simple merging due to conflicts. Most GNU/Linux
  55. distributions have a package for this program; otherwise you can
  56. install it via the 'gnulib' git repository. Detailed instructions can
  57. be found at the beginning of
  58. https://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/git-merge-changelog.c
  59. To make it actually work, add to file `.git/config` in the FreeType
  60. git repository (or to your `$HOME/.gitconfig` file) the lines
  61. [merge "merge-changelog"]
  62. name = GNU-style ChangeLog merge driver
  63. driver = /usr/local/bin/git-merge-changelog %O %A %B
  64. ----------------------------------------------------------------------
  65. Copyright (C) 2005-2021 by
  66. David Turner, Robert Wilhelm, and Werner Lemberg.
  67. This file is part of the FreeType project, and may only be used,
  68. modified, and distributed under the terms of the FreeType project
  69. license, LICENSE.TXT. By continuing to use, modify, or distribute
  70. this file you indicate that you have read the license and understand
  71. and accept it fully.
  72. --- end of README.git ---