Re: [PATCH] system: grub: Use librsvg to convert SVG to PNG

2016-10-31 Thread Ludovic Courtès
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

Re: [PATCH] system: grub: Use librsvg to convert SVG to PNG

2016-10-24 Thread Leo Famulari
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

Re: [PATCH] system: grub: Use librsvg to convert SVG to PNG

2016-10-24 Thread Ludovic Courtès
7 00:00:00 2001 >> From: Mark H Weaver <m...@netris.org> >> 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. >

Re: [PATCH] system: grub: Use librsvg to convert SVG to PNG

2016-09-05 Thread Leo Famulari
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 <m...@netris.org> > Date: Fri, 2 Sep 2016 02:26:43 -0400 > Subject: [PATCH] system: grub: Use librsvg to convert SVG t

Re: [PATCH] system: grub: Use librsvg to convert SVG to PNG

2016-09-05 Thread Vincent Legoll
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

Re: [PATCH] system: grub: Use librsvg to convert SVG to PNG

2016-09-03 Thread 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

Re: [PATCH] system: grub: Use librsvg to convert SVG to PNG

2016-09-02 Thread Vincent Legoll
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

Re: [PATCH] system: grub: Use librsvg to convert SVG to PNG

2016-09-02 Thread Ludovic Courtès
ously 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 <m...@netris.org> > Date: Fri, 2 Sep 2016 02:26:43 -0400 &g

[PATCH] system: grub: Use librsvg to convert SVG to PNG

2016-09-02 Thread Mark H Weaver
t: [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 references to 'inkscape' and 'imagemagick'. (resize-image): R