skia in freebsd

Jan Beich jbeich at FreeBSD.org
Thu Dec 26 03:56:27 UTC 2019


phryk <phryk at wzff.de> writes:

> Hey there, I know that the freebsd port of firefox *somehow* builds
> the skia graphics engine for freebsd, but even having firefox installed
> I seemingly don't have any skia-specific files, so I think another port
> that'd need skia could not "just" depend on firefox as dependency when
> needing skia.

FreeBSD is supported since https://github.com/google/skia/commit/3138d36f9843
Firefox builds a subset of Skia after converting GN to Mozilla build system,
see https://searchfox.org/mozilla-central/source/gfx/skia/generate_mozbuild.py

Standalone build is not supported because
- Upstream discourages packaging due to lack of releases
- Consumers may modify Skia code, making a system package useless
- Google rejected Chromium patches, so Skia may be similar, see
  https://groups.google.com/a/chromium.org/d/msg/chromium-dev/b57hDs8yE4g/5tXefZ74AQAJ
- Upstreaming requires signing CLA which requires Google Account
  which is impossible to sign up via Tor

> Since skia from git just complains about "unknown system" when trying
> to build it, I thought I'd write and ask if whoever is behind this mail
> address could maybe possibly move their magic to make skia work into a
> separate skia port for freebsd so other applications depending on it
> can be more easily added to the ports collection.

I'm not interested. Maybe try chromium@ or ports at .

> In particular I'm interested in figuring out whether I can make the
> cool and new SVG-based 2D animation software enve[1] run on
> freebsd since I've been waiting for software like this for over a
> decade now. :P

Try looking at CI config or how Linux distributions package. For one,
network usage during build (forbidden by poudriere for reproducibility)
may give you more trouble.


More information about the freebsd-gecko mailing list