diff --git a/docs/usermanual-install-harfbuzz.xml b/docs/usermanual-install-harfbuzz.xml index eab399733..ada6f74ce 100644 --- a/docs/usermanual-install-harfbuzz.xml +++ b/docs/usermanual-install-harfbuzz.xml @@ -50,13 +50,9 @@ For example, on an Ubuntu or Debian system, you would run: - - sudo apt install gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev - + sudo apt install gcc g++ libfreetype6-dev libglib2.0-dev libcairo2-dev On Fedora, RHEL, CentOS, or other Red-Hat–based systems, you would run: - - sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel - + sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel @@ -89,13 +85,9 @@ On Ubuntu or Debian, run: - - sudo apt-get install meson pkg-config gtk-doc-tools - + sudo apt-get install meson pkg-config gtk-doc-tools On Fedora, RHEL, CentOS, run: - - sudo yum install meson pkgconfig gtk-doc - + sudo yum install meson pkgconfig gtk-doc @@ -110,8 +102,11 @@ Building on Windows - Install meson and use it like `meson build --wrap-mode=default` - or use vcpkg. + Install meson + and run (from the console) meson build (by default + bundled dependencies are not built, --wrap-mode=default + overrides this), then meson compile -C build to + build HarfBuzz. @@ -128,15 +123,11 @@ (1) You must first install the development packages for FreeType, Cairo, and GLib. If you are using MacPorts, you should run: - - sudo port install freetype glib2 cairo - + sudo port install freetype glib2 cairo If you are using Homebrew, you should run: - - brew install freetype glib cairo - + brew install freetype glib cairo (2) The next step depends on whether you are building from the @@ -147,13 +138,9 @@ (2)(a) If you are installing HarfBuzz from a downloaded tarball release, extract the tarball and open a Terminal in the extracted source-code directory. Run: - - meson build - + meson build followed by: - - meson compile -C build - + meson compile -C build to build HarfBuzz. @@ -164,30 +151,20 @@ If you are using MacPorts, you should run: - - sudo port install meson pkgconfig gtk-doc - + sudo port install meson pkgconfig gtk-doc to install the build dependencies. If you are using Homebrew, you should run: - - brew install meson pkgconfig gtk-doc - + brew install meson pkgconfig gtk-doc Finally, you can run: - - meson build - + meson build (3) You can now build HarfBuzz (on either a MacPorts or a Homebrew system) by running: - - meson build - + meson build followed by: - - meson compile -C build - + meson compile -C build This should leave you with a shared