[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

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

Attachment: signature.asc
Description: signature

Reply to: