[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add adwaita-icon-theme.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: Add adwaita-icon-theme. |
Date: |
Fri, 22 May 2015 15:16:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
宋文武 <address@hidden> skribis:
> From ff7e16bc8b7e803d49d5ee880f31f3f4e1660d3c Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <address@hidden>
> 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?= <address@hidden>
> 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’.
- [PATCH] gnu: Add adwaita-icon-theme., 宋文武, 2015/05/12
- Re: [PATCH] gnu: Add adwaita-icon-theme., Ludovic Courtès, 2015/05/12
- Re: [PATCH] gnu: Add adwaita-icon-theme., 宋文武, 2015/05/12
- Re: [PATCH] gnu: Add adwaita-icon-theme., Ludovic Courtès, 2015/05/13
- Re: [PATCH] gnu: Add adwaita-icon-theme., 宋文武, 2015/05/19
- Re: [PATCH] gnu: Add adwaita-icon-theme.,
Ludovic Courtès <=
- Re: [PATCH] gnu: Add adwaita-icon-theme., 宋文武, 2015/05/22
- Re: [PATCH] gnu: Add adwaita-icon-theme., Mark H Weaver, 2015/05/23
- Re: [PATCH] gnu: Add adwaita-icon-theme., Ludovic Courtès, 2015/05/23
- Re: [PATCH] gnu: Add adwaita-icon-theme., 宋文武, 2015/05/26