unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add adwaita-icon-theme.
@ 2015-05-12 10:45 宋文武
  2015-05-12 20:16 ` Ludovic Courtès
  0 siblings, 1 reply; 13+ messages in thread
From: 宋文武 @ 2015-05-12 10:45 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/gnome.scm (adwaita-icon-theme): New variable.
---
 gnu/packages/gnome.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 8adcbdd..2f5f125 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -393,6 +393,22 @@ update-desktop-database: updates the database containing a cache of MIME types
      "Icons for the GNOME desktop.")
     (license license:lgpl3))) ; or Creative Commons BY-SA 3.0
 
+(define-public adwaita-icon-theme
+  (package (inherit gnome-icon-theme)
+    (name "adwaita-icon-theme")
+    (version "3.16.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://gnome/sources/" name "/"
+                                  (version-major+minor version) "/"
+                                  name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1cbfdypxfg74krqrklh4za64jhvskbp206l14fs739cw14xsvj53"))))
+    (native-inputs
+     ;; XXX: gtk-encode-symbolic-svg lacks SVG support.
+     (alist-delete "gtk+" (package-native-inputs gnome-icon-theme)))))
+
 (define-public shared-mime-info
   (package
     (name "shared-mime-info")
-- 
2.2.1

^ permalink raw reply related	[flat|nested] 13+ messages in thread
* Re: [PATCH] gnu: Add adwaita-icon-theme.
@ 2015-05-14  7:38 Federico Beffa
  2015-05-22  1:35 ` 宋文武
  0 siblings, 1 reply; 13+ messages in thread
From: Federico Beffa @ 2015-05-14  7:38 UTC (permalink / raw)
  To: iyzsong, Guix-devel, Ludovic Courtès

> With 'gtk+', it will:
> 1. use gtk-update-icon-cache to build a index-theme.cache       (ok)
> 2. use gtk-encode-symbolic-svg to convert symbolic SVGs to PNGs (failed)

To enable the SVG functionality of gdk-pixbuf you have to refer to the
cache in the librsvg package, not the default in the gdk-pixbuf
package. See gnome-themes-standard.

Regards,
Fede

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-05-26  9:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).