[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#975631: debian-policy: window manager: remove reference to Debian menu



Ansgar <ansgar@debian.org> writes:

> Section 11.8.4 "Packages providing a window manager" still references
> the Debian menu.  But the Debian menu is deprecated.

> I suggest to remove the reference, for example with the patch below.

> --- a/policy/ch-customized-programs.rst
> +++ b/policy/ch-customized-programs.rst
> @@ -345,13 +345,7 @@ Packages that provide a window manager should declare in their
>  alternative for ``/usr/bin/x-window-manager``, with a priority
>  calculated as follows:
>  
> --  Start with a priority of 20.
> -
> --  If the window manager supports the Debian menu system, add 20 points
> -   if this support is available in the package's default configuration
> -   (i.e., no configuration files belonging to the system or user have to
> -   be edited to activate the feature); if configuration files must be
> -   modified, add only 10 points.
> +-  Start with a priority of 40.
>  
>  -  If the window manager complies with `The Window Manager Specification
>     Project <https://www.freedesktop.org/wiki/Specifications/wm-spec>`_,

Yes, this looks right to me.  Seconded.

I considered whether instead of starting with a priority of 40, we should
instead bump the priority if the window manager supports the desktop
specification, but I think this is a place where the structure of X
environments has changed over the years.  It used to be that the window
manager was what handled application menus, but now that's normally done
by some other component of the desktop environment, or even just some
toolbar app or other type of plugin that the user has chosen, and the
window manager may be just a window manager.

Given that, I don't think there's anything useful we can say here about
menu management.  Old-school window managers that don't use a desktop
environment (fvwm2, for instance) may implement support for desktop files,
or for the Debian menu system for that matter; newer ones are likely to
not handle menus at all and expect some other component to deal with that.

-- 
Russ Allbery (rra@debian.org)              <https://www.eyrie.org/~eagle/>


Reply to: