From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Hardcode =?utf-8?B?4oCcZ3PigJ0=?= path in Lilypond. Date: Mon, 12 Oct 2015 20:43:44 +0200 Message-ID: <87pp0k9bbz.fsf@gnu.org> References: <87y4f8ziec.fsf@elephly.net> 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]:53604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zli4e-0004Bb-EQ for guix-devel@gnu.org; Mon, 12 Oct 2015 14:43:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zli4Z-00014Z-C0 for guix-devel@gnu.org; Mon, 12 Oct 2015 14:43:52 -0400 In-Reply-To: <87y4f8ziec.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 12 Oct 2015 08:54:19 +0200") 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: Ricardo Wurmus Cc: "guix-devel@gnu.org" Ricardo Wurmus skribis: > the attached patch changes the result of =E2=80=98(search-gs)=E2=80=99 in= the Lilypond > backend, such that it returns the =E2=80=9Cgs=E2=80=9D executable from th= e very same > version of ghostscript that Lilypond was built with. > > Retaining a reference to ghostscript causes a closure increase from > 309.9 to 351.2. =E2=80=9Cgs=E2=80=9D is required at runtime in order to = compile > Lilypond files to PDF (the default output format). Without =E2=80=9Cgs= =E2=80=9D only > the postscript file is generated and the compilation fails unless the > output format is explicitly set to something other than PDF. Makes sense. > From c98b44ba82e45ebcb802bc1852128624f647b580 Mon Sep 17 00:00:00 2001 > From: Ricardo Wurmus > Date: Sun, 11 Oct 2015 11:24:20 +0200 > Subject: [PATCH] gnu: lilypond: Hardcode path to "gs" executable. > > * gnu/packages/music.scm (lilypond)[arguments]: Add build phase > "hardcode-path-to-gs". OK! Ludo=E2=80=99.