guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] gnu: Add octave and dependencies


From: John Darrington
Subject: Re: [PATCH 3/3] gnu: Add octave and dependencies
Date: Sat, 25 Jan 2014 18:04:40 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Jan 25, 2014 at 05:42:17PM +0100, Andreas Enge wrote:
     On Sat, Jan 25, 2014 at 05:14:57PM +0100, John Darrington wrote:
     > The octave build system is rather naive.  These propagated inputs don't 
actually
     > *need* to be present at configure/build time.  But the ./configure 
(rather stupidly IMO)
     > checks for their presence, and turns off the relevant features if they 
are not found.
     > Therefore, one must declare them as native-inputs just to keep 
./configure happy AND
     > as propagated inputs because they are called in a pipe from the octave 
program itself.
     
     Would it be reasonable to patch the lines in which external programs are
     called, replacing the program name by its complete path with a well-chosen
     (substitute*)?
     Then one would not need to propagate the inputs.
     
I don't think that will work.  One needs to propagate the inputs.  Otherwise 
octave won't
work (properly).  For example, one needs to ensure that when octave is 
installed, less is
also installed.  Otherwise it wont have a pager.  Similarly for texinfo - if 
makeinfo does
not get installed along with octave, then the integrated documentation won't be 
available.

A better approach would be to patch the configure so that it does not bother to 
check for
these programs AND then to patch the install phase to check for them.  But I 
don't fancy
doing that.

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.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]