Re: (Windows) has anyone successfully ship a product build on GNUstep?

2005-09-13 Thread Richard Frith-Macdonald

On 2005-09-13 06:27:29 +0100 Lloyd Dupont [EMAIL PROTECTED] wrote:


Curiously my GNUstep product works well on my computer.
I build a new test machine (with a newly formatted WindowsXP install) and 
it 
just doesn't work (crash when I call [NSColor whiteColor])


As a matter of test I 'installed' GNUstep with the old GNUstep installer.
And while I was able to run a program from the MSys command line if I try 
to 
run it from dos (equivalent to the users clicking the program's icon) it 
fails to run.


Beside when I looked into NSPathUtilites I see that 'GNUstep' is hard 
coded, 
that might be the reason why, after successfully ruun from the command line 
a 
new GNUstep directory is created on C:.
This is not acceptable and I try to fix it by setting all environment 
variables which seems appropriate, but non of them fixed the problem :-(


I'm moderately sure that nothing is hard-coded in the sense of being fixed 
so it can't be overridden.
Default values have to be in the code ... but everything should be 
overridable.

Can you be more specific?



___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: (Windows) has anyone successfully ship a product build on GNUstep?

2005-09-13 Thread Lloyd Dupont

I don't know Richard, it's kind of weird.
When I was testing my command line test,
the file C:\GNUstep\Defaults\.GNUstepDefaults
(and the directory hierarchy above it) was created.

But... now that I have everything sorted out, I ran my (working now) 
installer on a newly formatted/installed XP computer and no such file was 
created.

(maybe because of the newly added resource to my project?)

While I was reading the code I had the feeling this path was absolutely not 
changeable.
I tried to set the GNUSTEP_USER_ROOT environment value to some other 
directory, but that didn't work :-/


So the question is:
how to set-up the place where the default would be read?
(not too mention idealy I would like them to point to
C:\Documents and Settings\User Name\Application 
Data\GNUstep\.GNUstepDefaults



- Original Message - 
From: Richard Frith-Macdonald [EMAIL PROTECTED]

To: discuss-gnustep@gnu.org
Sent: Tuesday, September 13, 2005 4:51 PM
Subject: Re: (Windows) has anyone successfully ship a product build on 
GNUstep?




On 2005-09-13 06:27:29 +0100 Lloyd Dupont [EMAIL PROTECTED] wrote:


Curiously my GNUstep product works well on my computer.
I build a new test machine (with a newly formatted WindowsXP install) and 
it just doesn't work (crash when I call [NSColor whiteColor])


As a matter of test I 'installed' GNUstep with the old GNUstep installer.
And while I was able to run a program from the MSys command line if I try 
to run it from dos (equivalent to the users clicking the program's icon) 
it fails to run.


Beside when I looked into NSPathUtilites I see that 'GNUstep' is hard 
coded, that might be the reason why, after successfully ruun from the 
command line a new GNUstep directory is created on C:.
This is not acceptable and I try to fix it by setting all environment 
variables which seems appropriate, but non of them fixed the problem :-(


I'm moderately sure that nothing is hard-coded in the sense of being fixed 
so it can't be overridden.
Default values have to be in the code ... but everything should be 
overridable.

Can you be more specific?



___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep 




___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: (Windows) has anyone successfully ship a product build on GNUstep?

2005-09-13 Thread Adam Fedor


On Sep 13, 2005, at 1:45 AM, Lloyd Dupont wrote:



So the question is:
how to set-up the place where the default would be read?
(not too mention idealy I would like them to point to
C:\Documents and Settings\User Name\Application  
Data\GNUstep\.GNUstepDefaults


On Windows, some GNUstep directories are read from the registry  
(\\Software\GNU\GNUstep). Although this does not include the defaults  
location. These paths should also be read from the environment as well  
as a GNUsteprc file (there's an order of precedence to this). See


http://www.gnustep.org/resources/documentation/Developer/Base/ 
Reference/index.html


for some information on this.

The user's home directory is obtained from the HOMEPATH env variable (I  
think that is in the MingW instructions?).




___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep


(Windows) has anyone successfully ship a product build on GNUstep?

2005-09-12 Thread Lloyd Dupont

Curiously my GNUstep product works well on my computer.
I build a new test machine (with a newly formatted WindowsXP install) and it 
just doesn't work (crash when I call [NSColor whiteColor])


As a matter of test I 'installed' GNUstep with the old GNUstep installer.
And while I was able to run a program from the MSys command line if I try to 
run it from dos (equivalent to the users clicking the program's icon) it 
fails to run.


Beside when I looked into NSPathUtilites I see that 'GNUstep' is hard coded, 
that might be the reason why, after successfully ruun from the command line 
a new GNUstep directory is created on C:.
This is not acceptable and I try to fix it by setting all environment 
variables which seems appropriate, but non of them fixed the problem :-(


pff...
jsut to ask if someone as an experience of a successfull windows install and 
would like to share it. By that I don't mean follows this link: 
http://wwwmain.gnustep.org/resources/documentation/User/GNUstep/README.MinGW


But more like something I could set up with my installer/application, cick 
on one button and everything is set! 




___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep