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

Bug#365510: 11.8.7: X11R7 puts headers in /usr/include/X11



On Mon, May 01, 2006 at 01:47:09AM +1000, Drew Parsons wrote:
> Package: debian-policy
> Version: 3.7.0.0
> Severity: normal

> Latest policy still says in 11.8.7 "Packages must not provide or install
> files into the directories /usr/bin/X11/, /usr/include/X11/ or
> /usr/lib/X11/." 

> But the new X11R7 dev packages now generally put their headers into
> /usr/include/X11/.

> So the sentence in 11.8.7 must be changed to either remove the mention of
> /usr/include/X11/ or to specify that only X11R7 headers may be placed there.

The reason for the "must not" was that these directories were all symlinks,
and packages shouldn't ship files in paths which include symlinks.

With X11R7, /usr/include/X11 and /usr/lib/X11 are now real directories, and
packages *should* ship their files here instead of in
/usr/X11R6/{include,lib}/X11.  Packages which do this must Pre-Depend on
x11-common (>= 1:7.0.0), which is the package responsible for converting
these symlinks into directories.

The one exception is /usr/lib/X11/fonts, which is also now a compatibility
symlink to /usr/X11R6/lib/X11/fonts.  New font packages should install to
/usr/share/fonts/X11 instead.

Yes, policy definitely needs to be amended to reflect these changes in
X11R7.  I don't have time to propose a formal policy amendment right now;
Drew, perhaps you would be willing to synthesize the above information into
one?

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: