Hallo. I have a package libgda, which contains many database plugins. What to do with plugin packages, which provide a xxx support for libgda. Suppose I will do: Package: libgda-mysql Enhances: libgda Package: libgda-postgres Enhances: libgda This will probably cause, that beginner will click OK for all and package manager will install all available databases as hard-dependencies of all these plugins. But I want to suggest here: "Yes, libgda-mysql enhances libgda, but if you don't have mysql installed, you probably have no usage for it." Once in future, if user installs mysql package, libgda-mysql should be suggested. What I really need, is probably: Enhances: ( libgda + mysql ) One of suggestions says, do not offer or warn about enhancement packages with a lot of unresolved dependencies. But it is not a solution. For example I have also: Package: gstreamer-plugins-extra Enhances: gstreamer The package also has many unresolved dependencies, but I really want to suggest here: "Yes, install all these dependencies to have a cool gstreamer package." Is such feature possible or planned or what is the syntax? And additional ideas: Is it possible to use Enhances for virtuals or Suggests for symbols instead of package name? I want to say: "Yes gimp-help enhances both gimp and gimp-unstable." Package: gimp-help Enhances: gimp-2.0 Package: gimp Provides: gimp-2.0 Package: gimp-unstable Provides: gimp-2.0 Another use: Package: plugger Suggests: mp3_player (where mp3_player will be virtual provided by all MP3 players) Maybe it should be evident, why package Suggests/Enhances other package, to provide enough information to user. For example: Package: mc Suggests: (xv eog gv pdftotext)("To provide default viewers. You can define different viewers and ignore these suggestions.") Package: gnome-session Suggests: gnome2-user-docs("To provide enhanced user documentation.") -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SuSE CR, s. r. o. e-mail: sbrabec@suse.cz Drahobejlova 27 tel: +420 296 542 382 190 00 Praha 9 fax: +420 296 542 374 Czech Republic http://www.suse.cz/
Hi, On Wed, 4 Jan 2006 at 13:02, Stanislav Brabec wrote:
Package: libgda-mysql Enhances: libgda
Package: libgda-postgres Enhances: libgda
This will probably cause, that beginner will click OK for all and package manager will install all available databases as hard-dependencies of all these plugins.
at least in this case it wouldn't actually install all the databases, but only their client libraries, which are much smaller, and likely to be installed already due to other database-aware packages that don't have their individual database interfaces as nicely factored out as libgda.
But I want to suggest here: "Yes, libgda-mysql enhances libgda, but if you don't have mysql installed, you probably have no usage for it." Once in future, if user installs mysql package, libgda-mysql should be suggested.
While this functionality might be useful in some other places, I don't think it is very useful in this speciffic case. GDA is a database abstraction library, so when the user selects it, he probably wants to be presented with a list of supported database systems from which he can chose the ones he needs, and install them with all their dependencies.
What I really need, is probably: Enhances: ( libgda + mysql )
if we introduce a feature like this, the syntax should probably be ( libgda && mysql ) because it is really a boolean operation. cu Reinhard
participants (2)
-
Reinhard Max
-
Stanislav Brabec