Re: Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common
On Sat, Jun 20 2009, Russ Allbery wrote:
> 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?
I was wondering if is it OK not to have a transition period for
this change, but then decided to look to see how many packages will
be affected. Based on a simpe apt-file search, only three packages seem
to be in need of a change:
__> apt-file search /usr/X11R6/ | sed -e 's/:.*$//' | sort -u
t1-xfree86-nonfree
wily
x11-common
Given that. I second this change.
On Sat, Jun 20 2009, Russ Allbery wrote:
> 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>
manoj
--
It's easier to be original and foolish than original and wise. Gottfried
Wilhelm Leibniz
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/~srivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: