#10773: Update Maxima to the latest upstream release.
---------------------------------------------+------------------------------
   Reporter:  drkirkby                       |       Owner:  drkirkby  
       Type:  enhancement                    |      Status:  needs_work
   Priority:  major                          |   Milestone:  sage-4.7  
  Component:  algebra                        |    Keywords:            
     Author:  David Kirkby, François Bissey  |    Upstream:  N/A       
   Reviewer:  David Kirkby, François Bissey  |      Merged:            
Work_issues:                                 |  
---------------------------------------------+------------------------------

Comment(by nbruin):

 Perhaps a little more minimalist approach. If {{{maxima.texi}}} is the
 only file that gets touched, that file is present already anyway. So you
 may be able to get away with "mv"-ing the original file out of the way,
 "configure" and "mv" the original file back if the one created by
 configure has the same content. The nice thing is that "mv" should not
 change the timestamp:
 so spkg-install becomes something like:
 {{{
 ...
 mv doc/info/maxima.texi doc/info/maxima.texi.orig
 ./configure --prefix="$SAGE_LOCAL" --enable-ecl
 check_error "Failed to configure Maxima."
 cmp -s doc/info/maxima.texi doc/info/maxima.texi.orig && mv
 doc/info/maxima.texi.orig doc/info/maxima.texi
 }}}
 If you want you could raise an error or warning instead when the two files
 do not agree.

 An advantage of this approach is that you're not anything that voids
 manufacturer's warranty. A disadvantage could be that it doesn't work, as
 I haven't tested it.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10773#comment:32>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to