[csw-pkgsubmissions] newpkgs giflib, giflib_doc, giflib_rt, libungif

Philip Brown phil at opencsw.org
Fri Mar 12 23:00:38 CET 2010


On Fri, Mar 12, 2010 at 1:46 PM, Dagobert Michelsen <dam at opencsw.org> wrote:
>
>>
>> The two candidates for "what will be required",  would seem to be either:
>>
>> a) read docs, run pkg-get -i giflib_extraspiffy (which will do a
>> download of that package, and possibly ALSO the additional libX11
>> download), then run [alternatives foo---],
>
> No, because the fancier one will take precedence and will automatically
> jump in.


So you are saying, that you have decided that
pkg-get -i giflib_extraspiffy

will automatically invoke [alternatives ....] to give itself priority,
whenever it is installed?


How will you determine the difference between if things are in the
"default" state, and it is "enhancing" things, vs

  1. a user has done equivalent to  [install all]
  2. a user has explicitly chosen [alternatives simple-giflib]
  3. a user has, months later, done pkg-get upgrade all, and
       a pkgrm, pkgadd of giflib_extraspiffy has then been triggered?

In this case, you should not automatically override user preference,
even though the preference looks like "the default".

I'm asking this here, even if it doesnt make much sense in this
specific case, because as you say, we need to be consistent for the
general case behaviour as well.


More information about the pkgsubmissions mailing list