From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: [PATCH 3/3] gnu: Add octave and dependencies Date: Wed, 29 Jan 2014 09:20:15 +0100 Message-ID: <20140129082015.GA24787@jocasta.intra> References: <8761p8ulih.fsf@gnu.org> <20140125161456.GA31777@jocasta.intra> <20140125164217.GA21259@debian> <20140125170440.GA4883@jocasta.intra> <871tzvu743.fsf@gnu.org> <20140126073815.GA19985@jocasta.intra> <20140126185413.GD9380@debian> <877g9mpmmd.fsf@gnu.org> <20140127083002.GA1813@jocasta.intra> <87ha8peqml.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8QNv-0005d3-4N for guix-devel@gnu.org; Wed, 29 Jan 2014 03:20:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8QNq-0007zj-Kl for guix-devel@gnu.org; Wed, 29 Jan 2014 03:20:35 -0500 Content-Disposition: inline In-Reply-To: <87ha8peqml.fsf@gnu.org> 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: Ludovic Court??s Cc: guix-devel@gnu.org, John Darrington On Mon, Jan 27, 2014 at 10:11:14AM +0100, Ludovic Court??s wrote: > Ok. Andraes' and Ludo's explanations convince me. However I'm skeptical that > the Octave devs would be quite so convinced. And removing the propagates-inputs > will mean patching to the Octave source and I don't know how difficult this will be. The patch that would be great upstream is: AC_PATH_PROG([MAKEINFO], [makeinfo]) AC_SUBST([MAKEINFO]) and then use ???@MAKEINFO@??? wherever ???makeinfo??? is expected in the source (similarly for ???less???, etc.) Ludo???. Having thought about this some more, looked to see what is currently in the octave source and "discussed" the issue on #octave I think now the best solution is to simply remove all the propagated-inputs from the package (and leave inputs and native-inputs as they are). Rationale: * Octave "works" without all these programs (albeit in a rather featureless fashion). If a user wants to add the feature, then she just needs to guix package -i . * It seems to have been a deliberate decision by the octave developers to rely on $PATH to select the appropriate version of these external programs. * Changing this behaviour would involve alterations to the octave source touching many files, and I think upstream would be unlikely to cooperate with us. The disadvantage of this approach is, that a guix user who installs octave, but not the other packages, gets only a barely functional version. Perhaps we need a (recommended-inputs `(...)) like in debian. Comments? J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.