[Pkg-dia-team] Bug#689293: dia menu entry should use /usr/bin/dia not /usr/bin/dia-normal

Roland Stigge stigge at antcom.de
Thu Oct 4 07:57:39 UTC 2012


Hi!

On 10/04/2012 09:07 AM, Andre Naujoks wrote:
>> On 01/10/12 10:30, Andre Naujoks wrote:
>>> The installation of dia should add a menu entry to start dia with the
>>> link in /usr/bin/dia, so the choice of the alternatives system is taken
>>> into account.
>>>
>>> Currently /usr/bin/dia-normal is used, which bypasses the alternatives
>>> system.
>>
>> Interesting question. Currently, dia just installs menu files for
>> dia(-normal) and dia-gnome each, which will both appear in the menu, if
>> available.
>>
>> Now I wonder if menu entries should follow alternative system choices or
>> not. Is there a policy about that or some common practice in other packages?
> 
> Now that you mention it, I think I don't know any other package that
> uses the alternatives system the way dia does. The choice is basically a
> command line parameter.
> 
> But I think dia should start in the same configuration regardless of
> where it is started from, be it a menu or the command line.

Now I understand what you mean :-) : Dia actually has 4 alternatives
entries: dia-normal and dia-gnome, with an "-integrated" variant each,
to provide the "integrated window" view as default.

The upstream default ("without command line option") is non-integrated,
and on the Debian desktop, --integrated would be best.

For consolidation, we can consider doing only the integrated variant, at
least for the menus.

Still, we have dia-normal and dia-gnome. Does your report apply to this
as well? My question about other packages referred to possible examples
of menu entries interacting with alternatives config.

Roland



More information about the Pkg-dia-team mailing list