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

Bug#91259: [PROPOSED] minor changes to app-defaults policy



Package: debian-policy
Version: 3.5.2.0
Severity: wishlist

* Explicitly forbids shipping /usr/X11R6/lib/X11/app-defaults/.
* Makes the bit about X resources a separate paragraph, and adds an
  informative footnote about why these are different from app-defaults.

--- policy.sgml	Sun Mar 25 01:34:33 2001
+++ policy.sgml.app-defaults	Sun Mar 25 03:17:36 2001
@@ -6151,24 +6151,32 @@
 
 	<p>
 	  <em>Application defaults</em> files must be installed in the
-	  directory <tt>/etc/X11/app-defaults/</tt> (use of a
-	  localized subdirectory of <tt>/etc/X11/</tt> as described in
-	  the <em>X Toolkit Intrinsics - C Language Interface</em>
-	  manual is also permitted).  They must be registered as
-	  <em>conffile</em>s or handled as configuration files.  For
-	  programs that are not linked against the X Toolkit (Xt)
-	  library, customization of programs' X resources may also be
-	  supported with the provision of a file with the same name as
-	  that of the package placed in the
-	  <tt>/etc/X11/Xresources/</tt> directory, which must
-	  registered as a <em>conffile</em> or handled as a
-	  configuration file.  <em>Important:</em> packages that
-	  install files into the <tt>/etc/X11/Xresources/</tt>
-	  directory <em>must</em> declare a conflict with <tt>xbase
-	  (&lt;&lt; 3.3.2.3a-2)</tt>; if this is not done it is
+	  directory <tt>/etc/X11/app-defaults/</tt> (use of a localized
+	  subdirectory of <tt>/etc/X11/</tt> as described in the <em>X
+	  Toolkit Intrinsics - C Language Interface</em> manual is also
+	  permitted).  They must be registered as <em>conffile</em>s or
+	  handled as configuration files.  Packages must not provide the
+	  directory <tt>/usr/X11R6/lib/X11/app-defaults/</tt>.
+	</p>
+
+	<p>
+	  Customization of programs' X resources may also be supported with
+	  the provision of a file with the same name as that of the package
+	  placed in the <tt>/etc/X11/Xresources/</tt> directory, which must
+	  registered as a <em>conffile</em> or handled as a configuration
+	  file.
+	  <footnote>
+		Note that this mechanism is not the same as using
+		app-defaults; app-defaults are tied to the client binary on
+		the local filesystem, whereas X resources are stored in the
+		X server and affect all connecting clients.
+	  </footnote>
+	  <emph>Important:</emph> packages that install files into the
+	  <tt>/etc/X11/Xresources/</tt> directory must conflict with
+	  <tt>xbase (&lt;&lt; 3.3.2.3a-2)</tt>; if this is not done it is
 	  possible for the installing package to destroy a
-	  previously-existing <tt>/etc/X11/Xresources</tt> file which
-	  had been customized by the system administrator.
+	  previously-existing <tt>/etc/X11/Xresources</tt> file which had
+	  been customized by the system administrator.
 	</p>
 
 	<p>

-- 
G. Branden Robinson             |       If you have the slightest bit of
Debian GNU/Linux                |       intellectual integrity you cannot
branden@debian.org              |       support the government.
http://www.debian.org/~branden/ |       -- anonymous

Attachment: pgpXodvaeDdcM.pgp
Description: PGP signature


Reply to: