Leo Famulari skribis:
> On Tue, Oct 25, 2016 at 01:24:15AM +0200, Ludovic Courtès wrote:
>> > Is there are reason for not using guile-rsvg and guile-cairo? Otherwise
>> > I think it would be preferable (they’d need to be autoloaded so that
>> > ‘make’ doesn’t fail when they’re missing, but that’
On Tue, Oct 25, 2016 at 01:24:15AM +0200, Ludovic Courtès wrote:
> > Is there are reason for not using guile-rsvg and guile-cairo? Otherwise
> > I think it would be preferable (they’d need to be autoloaded so that
> > ‘make’ doesn’t fail when they’re missing, but that’s OK.)
> >
> > I found an exa
e516952fc9bcf Mon Sep 17 00:00:00 2001
>> From: Mark H Weaver
>> Date: Fri, 2 Sep 2016 02:26:43 -0400
>> Subject: [PATCH] system: grub: Use librsvg to convert SVG to PNG.
>>
>> * guix/build/svg.scm: New file.
>> * Makefile.am (MODULES): Add it.
>> * gnu/syst
On Fri, Sep 02, 2016 at 04:02:46AM -0400, Mark H Weaver wrote:
> From a50f358b083cff4d156cd7116fee516952fc9bcf Mon Sep 17 00:00:00 2001
> From: Mark H Weaver
> Date: Fri, 2 Sep 2016 02:26:43 -0400
> Subject: [PATCH] system: grub: Use librsvg to convert SVG to PNG.
>
> * guix/
And I also now tested back the other way, if I guix pull (so the patch is
not in effect anymore) now I get inkscape (& al.) back into the store...
--
Vincent Legoll
Hello,
> This is very good, reducing the bare-bones system configuration even if
> keeping the default grub theme.
>
> I'll test it later
I think it works OK, tested it like that:
changed root's .config/guix/latest to point to a current guix git checkout
+ your patch, modified my /etc/config.scm
Hello,
> The attached patch eliminates the use of 'inkscape' and 'imagemagick' to
> convert our grub background image from SVG to PNG. The job is now done
> using 'librsvg' [1] via Guile's dynamic FFI. I was unable to perform
> the needed scaling using the 'rsvg-convert' program, so I had to use
rendering, whereas previously it was done
> in the raster representation as a separate step.
>
> What do you think?
I think it’s excellent. :-)
> From a50f358b083cff4d156cd7116fee516952fc9bcf Mon Sep 17 00:00:00 2001
> From: Mark H Weaver
> Date: Fri, 2 Sep 2016 02:26:43 -0400
&g
Sep 2016 02:26:43 -0400
Subject: [PATCH] system: grub: Use librsvg to convert SVG to PNG.
* guix/build/svg.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/system/grub.scm (svg->png): Add 'width' and 'height' arguments.
Reimplement using (guix build svg). Drop reference