[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Enigma-devel] Re: Mac OS X fixes for 1.01
From: |
Sidney Markowitz |
Subject: |
Re: [Enigma-devel] Re: Mac OS X fixes for 1.01 |
Date: |
Thu, 24 May 2007 01:11:44 +1200 |
User-agent: |
Thunderbird 2.0.0.0 (Macintosh/20070326) |
Ronald Lamprecht wrote, On 23/5/07 9:04 AM:
>> Meanwhile we received a bug report at Berlios (#10952): I fixed the wrong
>> version number in "About" menu and found the reason for the minimize bug.
>> SDL 1.2.10 is buggy on Mac OS X (see
>> http://bugzilla.libsdl.org/show_bug.cgi?id=281). Please make sure that you
>> link Enigma 1.01 against SDL 1.2.11.
>
> Can you confirm that SDL 1.2.11 fixes the problem?
Yes, that seems fine.
>
> Looking at the Apple developer docs the correct place for the Enigma
> user data should be:
>
> "~/Library/Application Support/Enigma"
>
> I added some code to main.cc that asks the user if he wants to move his
> user data to this new place. If ok the following system command is
> executed (line 666 :-) )
>
> mkdir '%s' && cd ~/.enigma && tar -cf - * | (cd '%s' && tar -xf -) && rm
> -rf ~/.enigma
There are a number of problems. The %s strings in the statement above
get replaced with the expanded ~/.enigma, not with ~/Library/... because
of what appears to me to be extra lines in main.cc, lines 595-599
#ifdef MACOSX
if (prefs->getBool("MacUpdate1.00") == false) {
userStdPath = userStdPathMac1_00;
}
#endif
I would insert cd ~/ && before the rm -rf in that command line. I didn't
se an error specifically from it, but I have had strange side effects at
times in MacOS X when deleting the current directory. It can't hurt to
be careful about it.
Once I take care of those two things, there are still problems that I
don't have time to track down right now. I'll list them in case that's
enough for you to go on:
Looking at Options after starting up agaib anfter the migration, the new
user path remains ~/.enigma, with only Image Path changing to the new
directory.
If I run Enigma 1.00 after the migration like you asked me to try,
Option shows both being ~/.enigma.
If I delete ~/.enigmarc.xml, ~/.enigma,
and ~/Library/Application Support/Enigma, then run Enigma 1.0.1, it
still asks if I want to move the options from ~/.enigma.
I won't get a chance to get back to this for perhaps 24 hours.
-- sidney
- [Enigma-devel] Re: Mac OS X fixes for 1.01, Ronald Lamprecht, 2007/05/06
- [Enigma-devel] Re: Mac OS X fixes for 1.01, Sidney Markowitz, 2007/05/06
- [Enigma-devel] Re: Mac OS X fixes for 1.01, Sidney Markowitz, 2007/05/06
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Ronald Lamprecht, 2007/05/22
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01,
Sidney Markowitz <=
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Ronald Lamprecht, 2007/05/23
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Sidney Markowitz, 2007/05/24
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Sidney Markowitz, 2007/05/24
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Sidney Markowitz, 2007/05/24
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Ronald Lamprecht, 2007/05/24
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Ronald Lamprecht, 2007/05/24
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Sidney Markowitz, 2007/05/24
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Sidney Markowitz, 2007/05/24
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Ronald Lamprecht, 2007/05/24
- Re: [Enigma-devel] Re: Mac OS X fixes for 1.01, Sidney Markowitz, 2007/05/24