Re: where to install theme files to?

1999-10-04 Thread Mark B. Elrod

i like option 2 as well. the only downside is that if a user gets an updated
theme with the same name we might not recognize it unless they know to delete
the folder it has been expanded to. how can we get around that?

elrod

Mayhem  Chaos Coordinator wrote:

 Sounds good to me.

 I've got a follow up question to that: When and where to theme files get
 decompressed to? I see two reasonable options here:

 1) When FreeAmp starts, it figures out what theme it needs and decompresses
 it into /tmp/freeamp-$pid/theme (or X:\windows\temp\theme). When FreeAmp
 closes the files get cleaned up. Pro: Less wasted disk space Con: Slower
 startup time
 2) When the user selects a new theme the theme is decompressed into
 ~/.freeamp/theme (or X:\Program Files\FreeAmp\themes\themename and it run
 from there. The themes are never cleaned from the drive unless the user
 requests it. Pro: Faster startup Con: Wasted disk space

 I think I prefer option #2.

 --ruaok Freezerburn! All else is only icing. -- Soul Coughing

 Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert
 - Original Message -
 From: Isaac Richards [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, October 02, 1999 7:13 PM
 Subject: where to install theme files to?

  So, I was thinking we need to install our default theme somewhere..
 Anything
  wrong with $prefix/share/freeamp/themes/default?  Any better alternatives?
 
  Isaac
 



Re: where to install theme files to?

1999-10-04 Thread Mayhem Chaos Coordinator

Well, if we make it so that the user needs to 'import' a theme then the user
would need to import the updated theme, before it became active.


--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert
- Original Message -
From: Mark B. Elrod [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 04, 1999 10:57 AM
Subject: Re: where to install theme files to?


 i like option 2 as well. the only downside is that if a user gets an
updated
 theme with the same name we might not recognize it unless they know to
delete
 the folder it has been expanded to. how can we get around that?

 elrod

 Mayhem  Chaos Coordinator wrote:

  Sounds good to me.
 
  I've got a follow up question to that: When and where to theme files get
  decompressed to? I see two reasonable options here:
 
  1) When FreeAmp starts, it figures out what theme it needs and
decompresses
  it into /tmp/freeamp-$pid/theme (or X:\windows\temp\theme). When FreeAmp
  closes the files get cleaned up. Pro: Less wasted disk space Con: Slower
  startup time
  2) When the user selects a new theme the theme is decompressed into
  ~/.freeamp/theme (or X:\Program Files\FreeAmp\themes\themename and it
run
  from there. The themes are never cleaned from the drive unless the user
  requests it. Pro: Faster startup Con: Wasted disk space
 
  I think I prefer option #2.
 
  --ruaok Freezerburn! All else is only icing. -- Soul Coughing
 
  Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert
  - Original Message -
  From: Isaac Richards [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Saturday, October 02, 1999 7:13 PM
  Subject: where to install theme files to?
 
   So, I was thinking we need to install our default theme somewhere..
  Anything
   wrong with $prefix/share/freeamp/themes/default?  Any better
alternatives?
  
   Isaac
  




Re: where to install theme files to?

1999-10-04 Thread Steve Kennedy

On Mon, Oct 04, 1999 at 10:57:31AM -0700, Mark B. Elrod wrote:

 i like option 2 as well. the only downside is that if a user gets an updated
 theme with the same name we might not recognize it unless they know to delete
 the folder it has been expanded to. how can we get around that?

Themes could be versioned ?

If a later version is detected, it overwrites the original one.

Steve

-- 
NetTek Ltd tel +44-(0)20 7483 1169 fax +44-(0)20 7483 2455
Flat 2,   43 Howitt Road,   Belsize Park,   London NW3 4LU
   Epage [EMAIL PROTECTED] [body of text only]



Re: where to install theme files to?

1999-10-04 Thread Mark B. Elrod

heh... ok so if we do that how hard would it be for us to add a theme browser to
the prefs? something that scaled down the bitmap fot the main window and blitted
it?

elrod

Mayhem  Chaos Coordinator wrote:

 Well, if we make it so that the user needs to 'import' a theme then the user
 would need to import the updated theme, before it became active.

 --ruaok Freezerburn! All else is only icing. -- Soul Coughing

 Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert
 - Original Message -
 From: Mark B. Elrod [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, October 04, 1999 10:57 AM
 Subject: Re: where to install theme files to?

  i like option 2 as well. the only downside is that if a user gets an
 updated
  theme with the same name we might not recognize it unless they know to
 delete
  the folder it has been expanded to. how can we get around that?
 
  elrod
 
  Mayhem  Chaos Coordinator wrote:
 
   Sounds good to me.
  
   I've got a follow up question to that: When and where to theme files get
   decompressed to? I see two reasonable options here:
  
   1) When FreeAmp starts, it figures out what theme it needs and
 decompresses
   it into /tmp/freeamp-$pid/theme (or X:\windows\temp\theme). When FreeAmp
   closes the files get cleaned up. Pro: Less wasted disk space Con: Slower
   startup time
   2) When the user selects a new theme the theme is decompressed into
   ~/.freeamp/theme (or X:\Program Files\FreeAmp\themes\themename and it
 run
   from there. The themes are never cleaned from the drive unless the user
   requests it. Pro: Faster startup Con: Wasted disk space
  
   I think I prefer option #2.
  
   --ruaok Freezerburn! All else is only icing. -- Soul Coughing
  
   Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert
   - Original Message -
   From: Isaac Richards [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Saturday, October 02, 1999 7:13 PM
   Subject: where to install theme files to?
  
So, I was thinking we need to install our default theme somewhere..
   Anything
wrong with $prefix/share/freeamp/themes/default?  Any better
 alternatives?
   
Isaac
   
 



Re: where to install theme files to?

1999-10-04 Thread Mayhem Chaos Coordinator

Not hard, but given the sheer number of other things that need to get
done -- unlikely. :-(


--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert
- Original Message -
From: Mark B. Elrod [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 04, 1999 11:03 AM
Subject: Re: where to install theme files to?


 heh... ok so if we do that how hard would it be for us to add a theme
browser to
 the prefs? something that scaled down the bitmap fot the main window and
blitted
 it?

 elrod

 Mayhem  Chaos Coordinator wrote:

  Well, if we make it so that the user needs to 'import' a theme then the
user
  would need to import the updated theme, before it became active.
 
  --ruaok Freezerburn! All else is only icing. -- Soul Coughing
 
  Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert
  - Original Message -
  From: Mark B. Elrod [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Monday, October 04, 1999 10:57 AM
  Subject: Re: where to install theme files to?
 
   i like option 2 as well. the only downside is that if a user gets an
  updated
   theme with the same name we might not recognize it unless they know to
  delete
   the folder it has been expanded to. how can we get around that?
  
   elrod
  
   Mayhem  Chaos Coordinator wrote:
  
Sounds good to me.
   
I've got a follow up question to that: When and where to theme files
get
decompressed to? I see two reasonable options here:
   
1) When FreeAmp starts, it figures out what theme it needs and
  decompresses
it into /tmp/freeamp-$pid/theme (or X:\windows\temp\theme). When
FreeAmp
closes the files get cleaned up. Pro: Less wasted disk space Con:
Slower
startup time
2) When the user selects a new theme the theme is decompressed into
~/.freeamp/theme (or X:\Program Files\FreeAmp\themes\themename and
it
  run
from there. The themes are never cleaned from the drive unless the
user
requests it. Pro: Faster startup Con: Wasted disk space
   
I think I prefer option #2.
   
--ruaok Freezerburn! All else is only icing. -- Soul
Coughing
   
Robert Kaye -- [EMAIL PROTECTED]
http://moon.eorbit.net/~robert
- Original Message -
From: Isaac Richards [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 02, 1999 7:13 PM
Subject: where to install theme files to?
   
 So, I was thinking we need to install our default theme
somewhere..
Anything
 wrong with $prefix/share/freeamp/themes/default?  Any better
  alternatives?

 Isaac

  




Re: where to install theme files to?

1999-10-04 Thread Isaac Richards

How bout when we decompress it, we store the timestamp of the compressed thingie
in one of our spiffy databases, or just stick an empty file in the
decompressed dir with its name being the timestamp.  Then we compare to the
compressed one on startup..  work?

Isaac 

On 04-Oct-99 Mark B. Elrod wrote:
 i like option 2 as well. the only downside is that if a user gets an updated
 theme with the same name we might not recognize it unless they know to delete
 the folder it has been expanded to. how can we get around that?
 
 elrod