#5254: [with patch, needs review] Mac app bundle: check for relocation at 
startup
since the bundle version does not trigger the move check
--------------------------+-------------------------------------------------
 Reporter:  mabshoff      |        Owner:  mabshoff
     Type:  defect        |       Status:  new     
 Priority:  critical      |    Milestone:  sage-3.3
Component:  distribution  |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by GeorgSWeber):

  * summary:  Mac app bundle: check for relocation at startup since the
              bundle version does not trigger the move check
              => [with patch, needs review] Mac app bundle:
              check for relocation at startup since the
              bundle version does not trigger the move check

Comment:

 Hi Michael,

 I couldn't trigger the Maxima failure (don't know why), but I could see
 that the Sage app bundle's "/local/lib/sage-current-location.txt" wasn't
 updated as it should. The new script I attached does fix this and should
 handle environmental settings cleaner on a broader scale. I didn't know
 where you want me to put it (certainly not inside some "tar.gz"), so I
 uploaded it plain as-is.

 You said in sage-devel (Google thread) that you had a fix for dir names
 with spaces -- I don't see where, but anyway that fix of yours should
 apply as before.

 One important thing I noted: The README.txt in the .dmg dates from Sage
 2.9.2 and should definiteley either be updated, or killed. Probably you
 have to adjust sage-sdist and sage-bdist a bit to stop remnants of this
 (e.g. "$SAGE_ROOT/sage-README-osx.txt") from lurking around.

 One other thing:

 +1 to your idea to name the app bundle "Sage.x.y.z" instead of "Sage".
 What do you think of putting in the name also the dependency "Intel vs.
 PPC" resp. "32Bit vs. 64Bit"? (It's not a "universal binary" we deliver,
 do we?)

 Cheers, gsw

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5254#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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