-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: svn://tug.org/texlive/trunk/Build/source@68217 c570f23f-e606-0410-a88d-b1316a301751
- Loading branch information
Akira Kakuto
committed
Sep 9, 2023
1 parent
0290571
commit 8e5d7f2
Showing
67 changed files
with
2,132 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
On Linux, install the development packages for FreeType, Cairo, and GLib. For | ||
example, on Ubuntu / Debian, you would do: | ||
|
||
$ sudo apt-get install meson pkg-config ragel gtk-doc-tools gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev | ||
$ sudo apt-get install meson pkg-config ragel gtk-doc-tools gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev | ||
|
||
whereas on Fedora, RHEL, CentOS, and other Red Hat based systems you would do: | ||
|
||
$ sudo dnf install meson pkgconfig gtk-doc gcc gcc-c++ freetype-devel glib2-devel cairo-devel | ||
$ sudo dnf install meson pkgconfig gtk-doc gcc gcc-c++ freetype-devel glib2-devel cairo-devel | ||
|
||
and on ArchLinux and Manjaro: | ||
|
||
$ sudo pacman -Suy meson pkg-config ragel gcc freetype2 glib2 cairo | ||
$ sudo pacman -Suy meson pkg-config ragel gcc freetype2 glib2 cairo | ||
|
||
then use meson to build the project like `meson build && meson test -Cbuild`. | ||
On macOS: | ||
|
||
On macOS, `brew install pkg-config ragel gtk-doc freetype glib cairo meson` | ||
then use meson like above. | ||
brew install pkg-config ragel gtk-doc freetype glib cairo meson | ||
|
||
Then use meson to build the project like: | ||
|
||
meson build && meson test -Cbuild | ||
|
||
On Windows, meson can build the project like above if a working MSVC's cl.exe | ||
(`vcvarsall.bat`) or gcc/clang is already on your path, and if you use | ||
something like `meson build --wrap-mode=default` it fetches and compiles most | ||
of the dependencies also. It is recommended to install CMake either manually | ||
or via the Visual Studio installer when building with MSVC, using meson. | ||
|
||
Our CI configurations is also a good source of learning how to build HarfBuzz. | ||
Our CI configurations are also a good source of learning how to build HarfBuzz. | ||
|
||
There is also amalgam source provided with HarfBuzz which reduces whole process | ||
of building HarfBuzz like `g++ src/harfbuzz.cc -fno-exceptions` but there is | ||
not guarantee provided with buildability and reliability of features you get. | ||
There is also amalgamated source provided with HarfBuzz which reduces whole process | ||
of building HarfBuzz to `g++ src/harfbuzz.cc -fno-exceptions` but there is | ||
no guarantee provided with buildability and reliability of features you get. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.