[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-devel
Subject:    Re: Not depending on shlibs because of plugins?
From:       Mattia Dongili <malattia () linux ! it>
Date:       2007-01-05 17:48:04
Message-ID: 20070105174804.GG13533 () inferi ! kami ! home
[Download RAW message or body]

On Fri, Jan 05, 2007 at 05:37:56PM +0100, Christoph Berg wrote:
> Hi,
> 
> I'm packaging a database wrapper library (http://oss.devit.com/yada/).
> Its purpose is to provide one single API to a program and let the user
> configure if the database used is actually postgres/mysql/sqlite. The
> actual interfacing with the databases is done by .so plugins that are
> dlopened at run time.
> 
> Currently my package will depend on all of the database libs:
> 
> | Depends: [...], libmysqlclient15off (>= 5.0.24-2), libpq4 (>= 8.1.4), libsqlite3-0 (>= 3.3.8)
> 
> This kind of defeats the purpose of the package, the program(mer) uses
> this library in order not to pull in any (or even all) specific
> databases.
> 
> Is it in this case ok if I replace ',' by '|' there? This would allow
> the user to really choose what database backend he wants.

Yes, why not? does yada handles gracefully the absence of a library (eg.
if incorrectly configured or such)?

If so did you consider:

Depends: A | B | C
Reccomends/Suggests: A, B, C

would that work?
-- 
mattia
:wq!


-- 
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic