From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH] list-packages: Add an "alt" attribute for the logos. Date: Sat, 17 Aug 2013 21:56:44 +0200 Message-ID: <1376769404-21764-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAmvJ-0008Ox-Sn for guix-devel@gnu.org; Sat, 17 Aug 2013 16:16:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAmvB-0007d9-GL for guix-devel@gnu.org; Sat, 17 Aug 2013 16:16:33 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:37115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAmvB-0007cx-9Q for guix-devel@gnu.org; Sat, 17 Aug 2013 16:16:25 -0400 Received: by mail-wg0-f52.google.com with SMTP id b13so2421104wgh.31 for ; Sat, 17 Aug 2013 13:16:24 -0700 (PDT) List-Id: 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: guix-devel@gnu.org * build-aux/list-packages.scm (package->sxml): add an alternative text for the logos of the packages. --- build-aux/list-packages.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-aux/list-packages.scm b/build-aux/list-packages.scm index a1bea69..3f17b87 100755 --- a/build-aux/list-packages.scm +++ b/build-aux/list-packages.scm @@ -115,7 +115,8 @@ exec guile -l "$0" \ ((? string? url) `(img (@ (src ,url) (height "35em") - (class "package-logo")))) + (class "package-logo") + (alt ("Logo of " ,(package-name package)))))) (_ #f)) (p ,(package-description package)) ,(license package) -- 1.8.3.1