#13364: Upgrade Maxima to 5.29.1
-------------------------------------------------------+--------------------
       Reporter:  kcrisman                             |         Owner:  tbd    
                                             
           Type:  enhancement                          |        Status:  new    
                                             
       Priority:  major                                |     Milestone:  
sage-5.6                                            
      Component:  packages                             |    Resolution:         
                                             
       Keywords:  maxima spkg                          |   Work issues:  fix 
doctests                                        
Report Upstream:  Reported upstream. No feedback yet.  |     Reviewers:  
Karl-Dieter Crisman, François Bissey, Leif Leonhardy
        Authors:  Jean-Pierre Flori                    |     Merged in:         
                                             
   Dependencies:  #13324                               |      Stopgaps:         
                                             
-------------------------------------------------------+--------------------

Comment (by leif):

 Replying to [comment:72 leif]:
 > Replying to [comment:65 jpflori]:
 > > I think the makeinfo problem is my fault, I did not preserved
 timestamps when updating the src directory
 >
 > Yeah, I also noticed that and made an spkg with "fresh" `src/` (also
 `spkg-dist`'ed), but only after I had already triggered a new build from
 scratch with the ECL and Maxima spkgs replaced, so haven't tested that
 yet.
 >
 > IMHO all necessary files get touched, but as mentioned, the !TeXinfo
 file gets recreated upon building as well.

 Yes, that fixed the issue.

 I used
 {{{
 #!diff
 diff --git a/spkg-install b/spkg-install
 --- a/spkg-install
 +++ b/spkg-install
 @@ -38,14 +38,16 @@
  ./configure --prefix="$SAGE_LOCAL" --libdir="$SAGE_LOCAL/lib" --enable-
 ecl
  check_error "Failed to configure Maxima."

 +echo
  # Touching html and info files to avoid to regenerate them.
  # This must be done after configuration since the timestamps need
  # to be later than include-maxima.texi which is generated at
  # configuration time:
 -for i in doc/info/*.html ; do
 -    touch "${i}"
 +echo "Touching some HTML and info files to avoid their regeneration..."
 +for f in doc/info/*.html doc/info/maxima.info*; do
 +    echo "  $f"
 +    touch "$f"
  done
 -touch doc/info/maxima.info*


  echo
 @@ -108,10 +110,13 @@
  check_error "Failed to build Maxima as an ECL library."

  ECLLIB=`ecl -eval "(princ (SI:GET-LIBRARY-PATHNAME))" -eval "(quit)"`
 +src_dir=`pwd`
 +src_name="maxima.system.fasb" # This has changed from 'maxima.fasb'.
 +tgt_name="maxima.fas"
  echo
 -echo "Now installing the Maxima library as '$ECLLIB/maxima.fas'..."
 -cp -f maxima.fasb "$ECLLIB/maxima.fas"
 -check_error "Failed to install '`pwd`/maxima.fasb' as
 '$ECLLIB/maxima.fas'."
 +echo "Now installing the Maxima library as '$ECLLIB/${tgt_name}'..."
 +cp -f "${src_dir}/${src_name}" "$ECLLIB/${tgt_name}"
 +check_error "Failed to install '${src_dir}/${src_name}' as
 '$ECLLIB/${tgt_name}'."


  if [[ "$SAGE_SPKG_INSTALL_DOCS" = yes ]] ; then
 }}}

 but JP's solution looks ok as well.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13364#comment:78>
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