Mailinglist Archive: opensuse-packaging (74 mails)

< Previous Next >
Re: [opensuse-packaging] Automatically installing "plugins" via dependencies
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Wed, 14 Jun 2006 12:12:13 +0200
  • Message-id: <200606141212.13606.adrian@xxxxxxx>
Am Wednesday 14 June 2006 11:23 schrieb Reinhard Max:
> Hi,
> On Wed, 14 Jun 2006 at 10:49, Adrian Schröter wrote:
> > It is anyway not really good, when jabberd is the only exception
> > where the user has to manually find that out while all other
> > packages are package in a different way, where this is not needed.
> it wouldn't be any different with the other proposed solution (set the
> dependencies of the plugin subpackage so, that it will be installed
> when the main package and the respective database library are
> installed), because the user still has to know that he must install
> the database library in order to get the plugin installed.

Yes, but the user does see all the packages in his installation tool in YaST
when he searched for jabberd and can decide which backend he wants to use.
And it does work afterwards because of correct requires.

You could even add a "Requires: jabberd_backend" to the main package, so the
user gets a popup from YaST to select one.

> Also, who says, that when somebody has installed jabberd and, say, the
> MySQL client libraries, that he actually wants to use MySQL as the
> storage backend for jabberd (and hence needs the MySQL plugin), and
> not PostgreSQL, SQLite, or something else. Only the user knows this,
> and that's why automatic dependencies and/or subpackages just don't
> make sense for this package when looking for the best tradeoff between
> ease of use, packaging complexity and space requirements.

yes, so you need for mysql, postgresql and sqlite an own sub package.
AFAIK it is done in that way with all packages we do have and can use
different SQL backends.



Adrian Schroeter
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
email: adrian@xxxxxxx

To unsubscribe, e-mail: opensuse-packaging-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging-help@xxxxxxxxxxxx

< Previous Next >