[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] gnu: librsvg: Generate complete loaders.cache including
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 1/2] gnu: librsvg: Generate complete loaders.cache including support for SVG. |
Date: |
Mon, 03 Nov 2014 23:07:53 +0100 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
Federico Beffa <address@hidden> skribis:
> As mentioned in a previous email, the cache generated by default does
> not include support for SVG provided by librsvg itself. With this
> patch we generate a full cache file.
Nice.
> From 36c6d59180bdb2d80e169938097efca39431c122 Mon Sep 17 00:00:00 2001
> From: Federico Beffa <address@hidden>
> Date: Sun, 2 Nov 2014 18:01:08 +0100
> Subject: [PATCH 1/2] gnu: librsvg: Generate complete loaders.cache including
> support for SVG.
>
> * gnu/packages/gnome.scm (librsvg): Add 'generate-full-chage phase.
^^^^^^
Typo.
> + (system
> + (string-append
> + "gdk-pixbuf-query-loaders "
> + loaders-directory "/libpixbufloader-svg.so "
> + (fold (lambda (s p) (string-append s " " p)) ""
> + (find-files (assoc-ref inputs "gdk-pixbuf")
> + "libpixbufloader-.*\\.so"))
> + "> " loaders-directory ".cache")))))
It may be clearer to replace fold with ‘string-join’
(string-join (find-files ...))
... in which case the import of (srfi srfi-1) can also be removed.
OK to commit with these changes.
Thanks,
Ludo’.