From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: Add adwaita-icon-theme. Date: Wed, 13 May 2015 09:55:51 +0200 Message-ID: <87fv70x660.fsf@gnu.org> References: <1431427501-25929-1-git-send-email-iyzsong@gmail.com> <87mw19y2iy.fsf@gnu.org> <87vbfxqnou.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsRWH-00024s-Ac for guix-devel@gnu.org; Wed, 13 May 2015 03:55:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsRWE-00074u-KW for guix-devel@gnu.org; Wed, 13 May 2015 03:55:57 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsRWE-00074q-ID for guix-devel@gnu.org; Wed, 13 May 2015 03:55:54 -0400 In-Reply-To: <87vbfxqnou.fsf@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Wed, 13 May 2015 09:19:13 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > Ludovic Court=C3=A8s writes: > >> =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: >> >>> * gnu/packages/gnome.scm (adwaita-icon-theme): New variable. >> >> [...] >> >>> +(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))))) >> >> Why is this =E2=80=98alist-delete=E2=80=99 needed? Perhaps you just nee= d to expound the >> comment. > 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) > > The reason is gtk-encode-symbolic-svg lacks librsvg support for > gdk-pixbuf, maybe we should wrap it with GDK_PIXBUF_MODULE_FILE. Ah I see. Then what about having the comment say something like =E2=80=9CR= emove GTK+ so that gtk-encode-symbolic-svg isn=E2=80=99t invoked since it is curr= ently broken.=E2=80=9D? >> Also, I think specific =E2=80=98synopsis=E2=80=99 and =E2=80=98descripti= on=E2=80=99 need to be >> provided. > The gnome-icon-theme was renamed to adwaita-icon-theme after 3.12, > So, I think the 'synopsis' and 'description' applied too. Ah OK, perfect. Feel free to push with the amended comment. >> WDYT? > I plan to fix the 'gtk-encode-symbolic-svg' and remove the > 'alist-delete'. Even better. :-) That can come as a later commit, if you want. Thank you! Ludo=E2=80=99.