all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Federico Beffa <beffa@ieee.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH 1/2] gnu: librsvg: Generate complete loaders.cache including support for SVG.
Date: Mon, 03 Nov 2014 23:07:53 +0100	[thread overview]
Message-ID: <8761ew9buu.fsf@gnu.org> (raw)
In-Reply-To: <CAKrPhPMbQEV4JdngNDTGBmSjsEG7TsFseb+eJ1YxNyB=pvaSJw@mail.gmail.com> (Federico Beffa's message of "Sun, 2 Nov 2014 18:18:33 +0100")

Federico Beffa <beffa@ieee.org> 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 <beffa@fbengineering.ch>
> 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’.

      reply	other threads:[~2014-11-03 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-02 17:18 [PATCH 1/2] gnu: librsvg: Generate complete loaders.cache including support for SVG Federico Beffa
2014-11-03 22:07 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761ew9buu.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=beffa@ieee.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.