[mod] "npm run webfont" require fontforge & ttfautohint packages

See commit dca3bcca9::

     [mod] simple theme: include fonts

     "npm run webfont" to build the fonts directory.
     It requires fontforge and ttfautohint distro packages

     partial revert of commit 7137d28

I don't know why, but the same commit dca3bcca9 removes the fontforge &
ttfautohint packages which has been added in 7137d28.  I assume it was an
mistake of the *partial revert of commit 7137d28*.

Related-to:  https://github.com/searxng/searxng/pull/157#discussion_r654836723

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-08-02 17:10:58 +02:00
parent 34ffd08187
commit e09fd4327b
3 changed files with 16 additions and 9 deletions

View file

@ -5,6 +5,8 @@ Development Quickstart
======================
.. _npm: https://www.npmjs.com/
.. _fontforge: https://github.com/fontforge/fontforge
.. _ttfautohint: https://www.freetype.org/ttfautohint/doc/ttfautohint.html
Searx loves developers, just clone and start hacking. All the rest is done for
you simply by using :ref:`make <makefile>`.
@ -31,7 +33,12 @@ If you implement themes, you will need to compile styles and JavaScript before
make themes.all
Don't forget to install npm_ first.
Don't forget to install npm_, ttfautohint_ and fontforge_ first. To install
all system requirements of a :ref:`buildhosts` use::
sudo -H ./utils/searx.sh install buildhost
Otherwise, install only what you need at least:
.. tabs::
@ -39,19 +46,19 @@ Don't forget to install npm_ first.
.. code:: sh
sudo -H apt-get install npm
sudo -H apt-get install npm ttfautohint fontforge
.. group-tab:: Arch Linux
.. code-block:: sh
sudo -H pacman -S npm
sudo -H pacman -S npm ttfautohint fontforge
.. group-tab:: Fedora / RHEL
.. code-block:: sh
sudo -H dnf install npm
sudo -H dnf install npm ttfautohint fontforge
If you finished your *tests* you can start to commit your changes. To separate
the changed code from the build products first run: