Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common
- To: Julien Cristau <jcristau@debian.org>
- Cc: 522217@bugs.debian.org
- Subject: Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common
- From: Russ Allbery <rra@debian.org>
- Date: Fri, 19 Jun 2009 23:54:13 -0700
- Message-id: <87r5xfmm3u.fsf@windlord.stanford.edu>
- Reply-to: Russ Allbery <rra@debian.org>, 522217@bugs.debian.org
- In-reply-to: <20090422200851.GI17079@patate.is-a-geek.org> (Julien Cristau's message of "Wed\, 22 Apr 2009 22\:08\:51 +0200")
- References: <20090401184350.GA1486@radis.liafa.jussieu.fr> <871vs5rx08.fsf@windlord.stanford.edu> <1239073718.6354.75.camel@radis.liafa.jussieu.fr> <20090422200851.GI17079@patate.is-a-geek.org>
Julien Cristau <jcristau@debian.org> writes:
> Ping Russ? :)
Sorry about the long delay on the rewrite of the X installation
directory section. Here's proposed rewording for the whole section.
How does this look to everyone?
diff --git a/policy.sgml b/policy.sgml
index 43cf4d6..f0e2c6e 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -8606,54 +8606,34 @@ name ["<var>syshostname</var>"]:
<heading>Installation directory issues</heading>
<p>
- Packages using the X Window System should not be
- configured to install files under the
- <file>/usr/X11R6/</file> directory. The
- <file>/usr/X11R6/</file> directory hierarchy should be
+ Historically, packages using the X Window System used a
+ separate set of installation directories from other packages.
+ This practice has been discontinued and packages using the X
+ Window System should now generally be installed in the same
+ directories as any other package. Specifically, packages must
+ not install files under the <file>/usr/X11R6/</file> directory
+ and the <file>/usr/X11R6/</file> directory hierarchy should be
regarded as obsolete.
</p>
<p>
- Programs that use GNU <prgn>autoconf</prgn> and
- <prgn>automake</prgn> are usually easily configured at
- compile time to use <file>/usr/</file> instead of
- <file>/usr/X11R6/</file>, and this should be done whenever
- possible. Configuration files for window managers and
- display managers should be placed in a subdirectory of
- <file>/etc/X11/</file> corresponding to the package name due
- to these programs' tight integration with the mechanisms
- of the X Window System. Application-level programs should
- use the <file>/etc/</file> directory unless otherwise mandated
- by policy.
+ Include files previously installed under
+ <file>/usr/X11R6/include/X11/</file> should be installed into
+ <file>/usr/include/X11/</file>. For files previously
+ installed into subdirectories of
+ <file>/usr/X11R6/lib/X11/</file>, package maintainers should
+ determine if subdirectories of <file>/usr/lib/</file> and
+ <file>/usr/share/</file> can be used. If not, a subdirectory
+ of <file>/usr/lib/X11/</file> should be used.
</p>
<p>
- The installation of files into subdirectories
- of <file>/usr/X11R6/include/X11/</file> and
- <file>/usr/X11R6/lib/X11/</file> is now prohibited;
- package maintainers should determine if subdirectories of
- <file>/usr/lib/</file> and <file>/usr/share/</file> can be used
- instead.
- </p>
-
- <p>
- Packages should install any relevant files into the
- directories <file>/usr/include/X11/</file> and
- <file>/usr/lib/X11/</file>, but if they do so, they must
- pre-depend on <tt>x11-common (>=
- 1:7.0.0)</tt><footnote>
- <p>
- These libraries used to be all symbolic
- links. However, with <tt>X11R7</tt>,
- <tt>/usr/include/X11</tt> and <tt>/usr/lib/X11</tt>
- are now real directories, and packages
- <strong>should</strong> ship their files here instead
- of in <tt>/usr/X11R6/{include,lib}/X11</tt>.
- <tt>x11-common (>= 1:7.0.0) </tt> is the package
- responsible for converting these symlinks into
- directories.
- </p>
- </footnote>
+ Configuration files for window managers and display managers
+ should be placed in a subdirectory of <file>/etc/X11/</file>
+ corresponding to the package name due to these programs' tight
+ integration with the mechanisms of the X Window System.
+ Application-level programs should use the <file>/etc/</file>
+ directory unless otherwise mandated by policy.
</p>
</sect1>
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: