On Thu, 30 Nov 2017 06:41:05 +1100 Ben Finney <bign...@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:

https://browse.dgit.debian.org/searx.git/commit/?id=ee78cbb84fcf3e4176a1cdc88d3a9b1a136a5fcf

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
version.

Then in debian/rules I just do:

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

Hope this helps!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to