Re: [Fink-devel] Re: fink ChangeLog,1.363,1.364 fink.conf.5.in,1.31,1.32

2005-08-31 Thread Benjamin Reed

Dave Vasilevsky wrote:

This seems a little...er...specific. Maybe that's ok I guess, but it 
feels wrong somehow. If this is an ability that people find themselves 
wanting, maybe we should generalize it?


Yeah, couldn't really think of a way to do so that didn't look goofy...

We could have a Executables: option that lists name:path pairs, and 
could eventually let users specify alternatives for anything. Or a 
exec-prefix dir where users could just drop symlinks to executables 
they'd prefer Fink would use. Or maybe Fink should even put the Fink 
paths at the *end* of PATH instead of the beginning, so it uses whatever 
the user has in his|her path (at the risk of choosing something bad).


I'm not such a big fan of the magic path idea of symlinks, we already 
have enough uncertainty in what is ending up in the user's path, I'd 
rather when we get a bug report from a user, it's obvious that it's 
calling /sw/bin/pbzip2 rather than just 'bzip2' that happens to point to 
a symlink without us knowing it...



Opinions, anyone?


Honestly, I was originally just going to make the bzip2 bit use pbzip2 
if it exists, but figured that was forcing the user into something 
that's still technically beta code, so I thought I'd make it configurable.


I don't really like the specificity either, but couldn't think of a 
better way to do it, although I suppose we could do something like this 
if it really needs to be generalized:


Executables: 
  bzip2: /sw/bin/pbzip2 -q


(hah!  heredocs in fink.conf!)


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Re: fink ChangeLog,1.363,1.364 fink.conf.5.in,1.31,1.32

2005-08-30 Thread Dave Vasilevsky


On Aug 30, 2005, at 10:38 PM, Benjamin Reed wrote:

   Bzip2Path: the path to your bzip2 (or compatible) binary
   The Bzip2Path option lets you override the default path  
for the
   bzip2 command-line tool.  This allows you to specify an  
alternate
   location to your bzip2 executable, pass optional command- 
line
   options, or use a drop-in replacement like pbzip2 for  
decompressing

   .bz2 archives


Ben,

This seems a little...er...specific. Maybe that's ok I guess, but it  
feels wrong somehow. If this is an ability that people find  
themselves wanting, maybe we should generalize it?


We could have a Executables: option that lists name:path pairs, and  
could eventually let users specify alternatives for anything. Or a  
exec-prefix dir where users could just drop symlinks to executables  
they'd prefer Fink would use. Or maybe Fink should even put the Fink  
paths at the *end* of PATH instead of the beginning, so it uses  
whatever the user has in his|her path (at the risk of choosing  
something bad).


Opinions, anyone?

Dave



PGP.sig
Description: This is a digitally signed message part