[pacman-dev] [PATCH] add support for .so dependencies

Allan McRae allan at archlinux.org
Sat Aug 15 11:38:51 EDT 2009


Christoph Schied wrote:
> On Sun, Aug 16, 2009 at 12:45:50AM +1000, Allan McRae wrote:
>> As far as I can tell, IFS does absolutely nothing here.
>>     
>
> IFS is set to newline.
>   

Ah.  I forgot about that bash internal...  Piping through something like

tr " " "/n"

would be better and far less ugly.



>> Well, then... what is the point?  Versioned dependencies already cover  
>> soname values if the package is listed as a dep in addition to is 
>> library.
>>     
>
> The point is that the dependencies are magically generated and this greatly
> reduces the work for the maintainer to specify the explicit versioned
> dependencies (which doesn't happen right now). Also the .so dependencies
> are not about the library version, but about the content of the package.
>   

The "magically" adding depends is my concern.  If the libraries provided 
by a package are to be in a depends array, then there is no need for 
that package to be in the depends array (but should be in makedepends).  
Otherwise this makes pacman have to do redundant checks and slows down 
dependency resolution.

What I would like is a description of the problem this is trying to 
solve that could not be already handled by versioned deps?

Allan





More information about the pacman-dev mailing list