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: unison: Add "doc" output. Date: Sun, 20 Dec 2015 23:11:07 +0100 Message-ID: <8737uwu5xg.fsf@gnu.org> References: <20151218194215.50af651c@openmailbox.org> 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]:44984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aAmCA-0003qX-BG for guix-devel@gnu.org; Sun, 20 Dec 2015 17:11:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aAmC6-0000Oz-Be for guix-devel@gnu.org; Sun, 20 Dec 2015 17:11:14 -0500 In-Reply-To: <20151218194215.50af651c@openmailbox.org> (Eric Bavier's message of "Fri, 18 Dec 2015 19:42:15 -0600") 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: Eric Bavier Cc: guix-devel@gnu.org Eric Bavier skribis: > +(define (unison-doc ext version hash) > + (origin > + (method url-fetch) > + (uri (string-append "https://www.seas.upenn.edu/~bcpierce/unison/" > + "download/releases/unison-" version "/unison-" > + version "-manual." ext)) > + (sha256 (base32 hash)))) [...] > + `(("doc-pdf" > + ,(unison-doc "pdf" version > + "0y5mywjn352nw4wqli94gnc5vn1f72g56jqqk1nqajz0ark998= nb")) > + ("doc-ps" > + ,(unison-doc "ps" version > + "11awy1xxhmckwnx42hllmngmx8q4ck18vpwpgfqqhj0x8vx0b3= ha")) > + ("doc-html" > + ,(unison-doc "html" version > + "06myrpv067j5ffm265fm0a83gm41j9bv3ps3yiyb1hqgfy1qy3= ah")))) Could we instead build them from source? I understand that building the PDF/PS would require an extra dependency on TeX Live. This could be: 1. ignored, on the grounds that people with substitutes enabled will not have to download TeX Live; or: 2. addressed by having only the HTML documentation built, on the grounds the HTML is more appropriate for on-screen reading. WDYT? Ludo=E2=80=99.