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

Bug#53758: [PROPOSED] Policy for "x-window-manager" virtual package and alternative



Package: debian-policy
Version: 3.1.1.1
Severity: wishlist

Documents current practice.

-- 
G. Branden Robinson            |
Debian GNU/Linux               |             //     // //  /     /
branden@ecn.purdue.edu         |             EI 'AANIIGOO 'AHOOT'E
roger.ecn.purdue.edu/~branden/ |

--- policy.sgml.orig	Wed Dec 29 17:01:51 1999
+++ policy.sgml	Thu Dec 30 12:39:50 1999
@@ -3140,6 +3140,27 @@
 	  without) of your package.</p>
 	  
 	<p>
+	  <em>Packages that provide window managers</em> should declare in
+	  their contol data that they provide the virtual package
+	  <tt>x-window-manager</tt>.  They should also register themselves as an
+	  alternative for <tt>/usr/bin/x-window-manager</tt>, with a priority
+	  calculated as follows:
+	  <list>
+	    <item>Start with a priority of 20.</item>
+	    <item>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.</item>
+	    <item>If the window manager permits the X session to be
+	    restarted using a <em>different</em> window manager (without
+	    killing the X server) in its default configuration, add 10 points; 
+	    otherwise add none.</item>
+	  </list>
+	</p>
+	<p>
 	  <em>Application defaults</em> files have to be installed in
 	  the directory <tt>/usr/X11R6/lib/X11/app-defaults/</tt>.
 	  They are considered as part of the program code.  Thus, they


Reply to: