[Pkg-fonts-devel] Bug#883107: octicons: Ships binaries without building them

Johannes Schauer josch at debian.org
Wed Dec 6 11:03:43 UTC 2017

On Thu, 30 Nov 2017 06:41:05 +1100 Ben Finney <bignose at debian.org> wrote:
> So, this bug should be resolved by:
> * Removing the package until its true build dependencies (including
>   the build dependency to compile the fonts from source) are all in
>   Debian.
> * Working with others to get those build dependencies into Debian.
> * Updating the package build rules to build the packages from the
>   actual source.

If I understand the source package correctly, then the missing build dependency
for building the font from the svg files is grunt-webfont. Packaging
grunt-webfont is not trivial because it has many dependencies itself which are
not yet packaged for Debian.

I fixed this issue in my package searx, which also needs to build a webfont
from several svg files by executing fontforge directly from debian/rules:


The interesting files are debian/ionicons/generate.py which is the Python
script doing the conversion using fontforge, and debian/ionicons/input.json
which is the input to that Python script. The Python script could be modified
to not require input.json but I didn't want to deviate from the upstream

Then in debian/rules I just do:

python ./debian/ionicons/generate.py < ./debian/ionicons/input.json

Hope this helps!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20171206/e7e9aa5f/attachment.sig>

More information about the Pkg-fonts-devel mailing list