[Buildroot] [PATCH 3/3] package/imagemagick: add optional SVG support to host variant
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Jun 23 16:01:56 UTC 2019
On Tue, 19 Feb 2019 14:15:30 +0100
<yann.morin at orange.com> wrote:
> From: "Yann E. MORIN" <yann.morin at orange.com>
>
> SVG can be regarded as the "source code" for assets, like logos or other
> graphical elements.
>
> However, SVG needs to be rendered, which requires an XML parser and an
> SVG "parser/rendered". As such, it has various runtime impacts, like
> bad performance or security. As such, SVG are often pre-rendered to the
> required sizes/depths/resolutions into other format, such as PNG, at
> build time.
>
> While rsvg-convert (from host-librsvg) would allow the rendering, it
> does not allow more complex tasks taht ImageMagick allows for:
> compositing more than one image, 2D transforamtions (rotation, skew...).
>
> Yet, SVG support in ImageMagick relies on librsvg, which adds quite a
> feq dependencies, and thus has a noticeable impact on the build time.
>
> Add an option to allow concerned users to enable/disable SVG suppot in
> ImageMagick.
>
> Enabling SVG support relies on librsvg, which in turns relies on a few
> additional packages that ImageMagick can also optionally use. So,
> autoamtically enable the corresponding support as well.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin at orange.com>
> ---
> package/imagemagick/Config.in.host | 13 +++++++++++++
> package/imagemagick/imagemagick.mk | 28 +++++++++++++++++++++++-----
> 2 files changed, 36 insertions(+), 5 deletions(-)
Applied to master after fixing the various typos in the commit log,
thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list