From: ludo@gnu.org (Ludovic Courtès)
To: 宋文武 <iyzsong@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add adwaita-icon-theme.
Date: Fri, 22 May 2015 15:16:02 +0200 [thread overview]
Message-ID: <87vbfklpm5.fsf@gnu.org> (raw)
In-Reply-To: <87r3qdvtk1.fsf@gmail.com> ("宋文武"'s message of "Tue, 19 May 2015 16:51:42 +0800")
宋文武 <iyzsong@gmail.com> skribis:
> From ff7e16bc8b7e803d49d5ee880f31f3f4e1660d3c Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
> Date: Tue, 19 May 2015 16:32:09 +0800
> Subject: [PATCH 1/2] gnu: gtk+: Add SVG support to 'gtk-encode-symbolic-svg'.
>
> * gnu/packages/gtk.scm (gtk+)[inputs]: Add librsvg.
> [arguments]: Add 'wrap-gtk-encode-symbolic-svg' phase.
[...]
> + 'install 'wrap-gtk-encode-symbolic-svg
> + (lambda* (#:key inputs outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (prog (string-append out "/bin/gtk-encode-symbolic-svg"))
> + (librsvg (assoc-ref inputs "librsvg"))
> + (loaders.cache (find-files librsvg "^loaders\\.cache$")))
> + (wrap-program prog
> + `("GDK_PIXBUF_MODULE_FILE" = ,loaders.cache))))
> + %standard-phases))))))
Could you add a comment there explaining what’s going on?
So ‘gtk-encode-symbolic-svg’ uses that loader mechanism, which is why it
doesn’t actually support SVG out-of-the-box, even if librsvg is already
an input, right?
This would have to be committed in a gtk-rebuild branch.
> From f9aa59c1aca6e30f217d7d2e1c8ae5c6774b66c0 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
> Date: Tue, 12 May 2015 18:42:37 +0800
> Subject: [PATCH 2/2] gnu: Add adwaita-icon-theme.
>
> * gnu/packages/gnome.scm (adwaita-icon-theme): New variable.
OK!
Thanks,
Ludo’.
next prev parent reply other threads:[~2015-05-22 13:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-12 10:45 [PATCH] gnu: Add adwaita-icon-theme 宋文武
2015-05-12 20:16 ` Ludovic Courtès
2015-05-13 1:19 ` 宋文武
2015-05-13 7:55 ` Ludovic Courtès
2015-05-19 8:51 ` 宋文武
2015-05-22 13:16 ` Ludovic Courtès [this message]
2015-05-23 3:35 ` 宋文武
2015-05-23 5:33 ` Mark H Weaver
2015-05-23 22:11 ` Ludovic Courtès
2015-05-26 9:46 ` 宋文武
-- strict thread matches above, loose matches on Subject: below --
2015-05-14 7:38 Federico Beffa
2015-05-22 1:35 ` 宋文武
2015-05-22 7:23 ` Federico Beffa
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vbfklpm5.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=iyzsong@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).