Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-08-07 Thread Russ Allbery
Russ Allbery r...@debian.org writes:

 If we were starting from scratch, I agree, but I'm not sure how to
 phrase that.

 Here's what I currently have, which has one second from Julien and
 previous seconds from Manoj and Raphaël for previous versions of the
 wording.  I'd welcome any additional proposals for how to change the
 wording of the /etc/X11 section, but if there are more seconds for the
 way that I have it worded now, I'm currently inclined to apply this and
 go forward rather than spending more time on trying to find the right
 phrasing.  Does that sound okay?

I have now applied this last proposed patch for the next release of
Policy.

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-07-04 Thread Russ Allbery
Bill Allombert bill.allomb...@math.u-bordeaux1.fr writes:

 I think the cost of moving window managers out of /etc/X11 far
 outweight the benefit. However the same rationale about moving
 programs out of /usr/bin/X11, /usr/lib/X11, etc. apply here. If one
 day we move to X12, /etc/X11 will probably have to go.

 I do not think e.g. fvwm has a special relationship with X11 that
 warrant putting its configuration file in /etc/X11 instead of
 /etc/fvwm.

If we were starting from scratch, I agree, but I'm not sure how to
phrase that.

Here's what I currently have, which has one second from Julien and
previous seconds from Manoj and Raphaël for previous versions of the
wording.  I'd welcome any additional proposals for how to change the
wording of the /etc/X11 section, but if there are more seconds for the
way that I have it worded now, I'm currently inclined to apply this and
go forward rather than spending more time on trying to find the right
phrasing.  Does that sound okay?

--- a/policy.sgml
+++ b/policy.sgml
@@ -8577,54 +8577,35 @@ name [varsyshostname/var]:
  headingInstallation 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 prgnautoconf/prgn and
-   prgnautomake/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 ttx11-common (gt;=
-   1:7.0.0)/ttfootnote
-  p
-These libraries used to be all symbolic
-links. However, with ttX11R7/tt,
-tt/usr/include/X11/tt and tt/usr/lib/X11/tt
-are now real directories, and packages
-strongshould/strong ship their files here instead
-of in tt/usr/X11R6/{include,lib}/X11/tt.
-ttx11-common (gt;= 1:7.0.0) /tt is the package
-responsible for converting these symlinks into
-directories.
-  /p
-/footnote
+   Configuration files for window, display, or session managers
+   or other applications that are tightly integrated with the X
+   Window System may be placed in a subdirectory
+   of file/etc/X11//file corresponding to the package name.
+   Other X Window System applications should use
+   the file/etc//file directory unless otherwise mandated by
+   policy (such as for ref id=appdefaults).
  /p
/sect1

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact 

Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-06-29 Thread Julien Cristau
On Fri, Jun 19, 2009 at 23:54:13 -0700, Russ Allbery wrote:

 Julien Cristau jcris...@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?
 
Seconded, along with the changes to the last paragraph in
878wjlxv60@windlord.stanford.edu.

Thanks,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-06-29 Thread Bill Allombert
On Sun, Jun 21, 2009 at 12:07:35PM -0700, Russ Allbery wrote:
 Bernhard R. Link brl...@debian.org writes:
  * Russ Allbery r...@debian.org [090620 23:55]:
 
  I'm not sure either.  This was already in Policy prior to this round
  of changes, of course, but maybe since we're revising this section
  anyway, this is the time to remove it.  To remove it, I'd drop the
  should and turn it into something that we permit, like:
 
p
  Configuration files for window managers and display managers
  may be placed in a subdirectory of file/etc/X11//file
  corresponding to the package name.  Other X Window System
  applications should use the file/etc//file directory for
  configuration files unless otherwise mandated by policy
  (such as for ref id=appdefaults).
/p
 
  I also think window managers and display managers is too strict. I
  think it should rather be something that is not primary an single
  application that happens to use X but everything that extends X in
  some way (for example X Input Methods, or for example my package
  choosewm).
 
 How about this:
 
   p
 Configuration files for window, display, or session managers
 or other applications that are tightly integrated with the X
 Window System may be placed in a subdirectory of
 file/etc/X11//file corresponding to the package name.
 Other X Window System applications should use the
 file/etc//file directory for configuration files unless
 otherwise mandated by policy (such as for ref
 id=appdefaults).
   /p

My comment would be that we should avoid implying that putting window managers
config file in /etc/X11/.../ is a good idea... But of course it is not the time
for policy to forbid it either.

Cheers,
-- 
Bill. ballo...@debian.org

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-06-29 Thread Russ Allbery
Bill Allombert bill.allomb...@math.u-bordeaux1.fr writes:

 My comment would be that we should avoid implying that putting window
 managers config file in /etc/X11/.../ is a good idea... But of course
 it is not the time for policy to forbid it either.

Hm.  Do you feel that way just for new window managers, or that ones
that currently put configuration files there (fvwm, for instance) should
move them?  And why?

I personally don't really care one way or the other.

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-06-29 Thread Bill Allombert
On Mon, Jun 29, 2009 at 09:43:57AM -0700, Russ Allbery wrote:
 Bill Allombert bill.allomb...@math.u-bordeaux1.fr writes:
 
  My comment would be that we should avoid implying that putting window
  managers config file in /etc/X11/.../ is a good idea... But of course
  it is not the time for policy to forbid it either.
 
 Hm.  Do you feel that way just for new window managers, or that ones
 that currently put configuration files there (fvwm, for instance) should
 move them?  And why?

I think the cost of moving window managers out of /etc/X11 far outweight the
benefit. However the same rationale about moving programs out of
/usr/bin/X11, /usr/lib/X11, etc. apply here. If one day we move to X12,
/etc/X11 will probably have to go.

I do not think e.g. fvwm has a special relationship with X11 that warrant
putting its configuration file in /etc/X11 instead of /etc/fvwm.

Cheers,
-- 
Bill. ballo...@debian.org

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-06-21 Thread Russ Allbery
Bernhard R. Link brl...@debian.org writes:
 * Russ Allbery r...@debian.org [090620 23:55]:

 I'm not sure either.  This was already in Policy prior to this round
 of changes, of course, but maybe since we're revising this section
 anyway, this is the time to remove it.  To remove it, I'd drop the
 should and turn it into something that we permit, like:

   p
 Configuration files for window managers and display managers
 may be placed in a subdirectory of file/etc/X11//file
 corresponding to the package name.  Other X Window System
 applications should use the file/etc//file directory for
 configuration files unless otherwise mandated by policy
 (such as for ref id=appdefaults).
   /p

 I also think window managers and display managers is too strict. I
 think it should rather be something that is not primary an single
 application that happens to use X but everything that extends X in
 some way (for example X Input Methods, or for example my package
 choosewm).

How about this:

  p
Configuration files for window, display, or session managers
or other applications that are tightly integrated with the X
Window System may be placed in a subdirectory of
file/etc/X11//file corresponding to the package name.
Other X Window System applications should use the
file/etc//file directory for configuration files unless
otherwise mandated by policy (such as for ref
id=appdefaults).
  /p

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-06-20 Thread Russ Allbery
Julien Cristau jcris...@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 [varsyshostname/var]:
  headingInstallation 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 prgnautoconf/prgn and
-   prgnautomake/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 ttx11-common (gt;=
-   1:7.0.0)/ttfootnote
-  p
-These libraries used to be all symbolic
-links. However, with ttX11R7/tt,
-tt/usr/include/X11/tt and tt/usr/lib/X11/tt
-are now real directories, and packages
-strongshould/strong ship their files here instead
-of in tt/usr/X11R6/{include,lib}/X11/tt.
-ttx11-common (gt;= 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 (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-06-20 Thread Manoj Srivastava
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 [varsyshostname/var]:
 headingInstallation 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 prgnautoconf/prgn and
 - prgnautomake/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 ttx11-common (gt;=
 - 1:7.0.0)/ttfootnote
 -  p
 -These libraries used to be all symbolic
 -links. However, with ttX11R7/tt,
 -tt/usr/include/X11/tt and tt/usr/lib/X11/tt
 -are now real directories, and packages
 -strongshould/strong ship their files here instead
 -of in tt/usr/X11R6/{include,lib}/X11/tt.
 -ttx11-common (gt;= 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 sriva...@debian.org http://www.debian.org/~srivasta/  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-06-20 Thread Raphael Hertzog
On Fri, 19 Jun 2009, Russ Allbery wrote:
 + 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.

I'm not sure we need that. awesome (the wm) for instance has config files
in /etc/xdg/awesome and I don't see why it should be moved to /etc/X11.

The rest is fine however.

Cheers,
-- 
Raphaël Hertzog

Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny :
http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-06-20 Thread Russ Allbery
Raphael Hertzog hert...@debian.org writes:

 On Fri, 19 Jun 2009, Russ Allbery wrote:
 +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.

 I'm not sure we need that. awesome (the wm) for instance has config files
 in /etc/xdg/awesome and I don't see why it should be moved to /etc/X11.

I'm not sure either.  This was already in Policy prior to this round of
changes, of course, but maybe since we're revising this section anyway,
this is the time to remove it.  To remove it, I'd drop the should and
turn it into something that we permit, like:

  p
Configuration files for window managers and display managers
may be placed in a subdirectory of file/etc/X11//file
corresponding to the package name.  Other X Window System
applications should use the file/etc//file directory for
configuration files unless otherwise mandated by policy
(such as for ref id=appdefaults).
  /p

However, use of /etc/X11 for window manager configuration is fairly
widespread already, so I'm not sure if we'd be losing something by
weakening this.

Copying debian-x for an additional opinion.

 The rest is fine however.

I may go ahead and commit this change with sufficient seconds despite
this discussion since the above isn't a new requirement, just one that
moved around due to the reorganization of the section.  But it's always
nice to sort out a whole section when we revise.

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-04-22 Thread Julien Cristau
On Tue, Apr  7, 2009 at 05:08:38 +0200, Julien Cristau wrote:

 how about:
   p
 The installation of files into subdirectories of 
 file/usr/X11R6//fileis now prohibited.  Include files 
 should be installed into file/usr/include/X11//file.  For 
 files that previously would be installed into subdirectories 
 of file/usr/X11R6/lib//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
 ?
 
 (i.e. not making this specific to the include/X11 and lib/X11
 subdirectories, since nothing should use /usr/X11R6 anymore)
 
Ping Russ? :)

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-04-22 Thread Russ Allbery
Julien Cristau jcris...@debian.org writes:
 On Tue, Apr  7, 2009 at 05:08:38 +0200, Julien Cristau wrote:

 how about:
  p
The installation of files into subdirectories of 
file/usr/X11R6//fileis now prohibited.  Include files 
should be installed into file/usr/include/X11//file.  For 
files that previously would be installed into subdirectories 
of file/usr/X11R6/lib//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
 ?
 
 (i.e. not making this specific to the include/X11 and lib/X11
 subdirectories, since nothing should use /usr/X11R6 anymore)

 Ping Russ? :)

Sorry, will try to get to this soon.  I think the whole section needs
some additional modification given that change as well, but haven't had
a chance to write up the message.

Eventually I'll be more caught up.

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-04-12 Thread Guillem Jover
Hi!

On Tue, 2009-04-07 at 05:08:38 +0200, Julien Cristau wrote:
 how about:
   p
 The installation of files into subdirectories of 
 file/usr/X11R6//fileis now prohibited.  Include files 

Missing space before the “is”.

 should be installed into file/usr/include/X11//file.  For 
 files that previously would be installed into subdirectories 
 of file/usr/X11R6/lib//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
 ?
 
 (i.e. not making this specific to the include/X11 and lib/X11
 subdirectories, since nothing should use /usr/X11R6 anymore)

And yes, sounds better.

regards,
guillem



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-04-06 Thread Julien Danjou
At 1238611430 time_t, Julien Cristau wrote:
 I don't know whether to remove just this part, or everything relating to
 X11R6.  Opinions?

Seconded.

Cheers,
-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD


signature.asc
Description: Digital signature


Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-04-06 Thread Russ Allbery
Julien Cristau jcris...@debian.org writes:

 I don't know whether to remove just this part, or everything relating to
 X11R6.  Opinions?

 diff --git a/policy.sgml b/policy.sgml
 index 300d7f7..5cd463e 100644
 --- a/policy.sgml
 +++ b/policy.sgml
 @@ -8619,22 +8619,8 @@ name [varsyshostname/var]:
 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 ttx11-common (gt;=
 - 1:7.0.0)/ttfootnote
 -  p
 -These libraries used to be all symbolic
 -links. However, with ttX11R7/tt,
 -tt/usr/include/X11/tt and tt/usr/lib/X11/tt
 -are now real directories, and packages
 -strongshould/strong ship their files here instead
 -of in tt/usr/X11R6/{include,lib}/X11/tt.
 -ttx11-common (gt;= 1:7.0.0) /tt is the package
 -responsible for converting these symlinks into
 -directories.
 -  /p
 -/footnote
 -   /p
 + file/usr/lib/X11//file.
 +  /p
   /sect1
  
   sect1

I was about to apply this, but then realized that it leaves the following,
which seems a bit odd and self-contradictory:

  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.
  /p

I think what we want to say is:

  p
The installation of files into subdirectories of
file/usr/X11R6/include/X11//file and
file/usr/X11R6/lib/X11//file is now prohibited.  Include
files should be installed into file/usr/include/X11//file.
For files that previously would be 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

Does that sound right?

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-04-06 Thread Julien Cristau
On Mon, 2009-04-06 at 19:57 -0700, Russ Allbery wrote:
 I was about to apply this, but then realized that it leaves the following,
 which seems a bit odd and self-contradictory:
 
   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.
   /p
 
hmm, good point.

 I think what we want to say is:
 
 p
   The installation of files into subdirectories of
   file/usr/X11R6/include/X11//file and
   file/usr/X11R6/lib/X11//file is now prohibited.  Include
   files should be installed into file/usr/include/X11//file.
   For files that previously would be 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
 
 Does that sound right?
 
how about:
p
  The installation of files into subdirectories of 
  file/usr/X11R6//fileis now prohibited.  Include files 
  should be installed into file/usr/include/X11//file.  For 
  files that previously would be installed into subdirectories 
  of file/usr/X11R6/lib//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
?

(i.e. not making this specific to the include/X11 and lib/X11
subdirectories, since nothing should use /usr/X11R6 anymore)

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-04-03 Thread Bill Allombert
On Thu, Apr 02, 2009 at 11:52:25AM -0700, Russ Allbery wrote:
 Julien Cristau jcris...@debian.org writes:
 
  I don't know whether to remove just this part, or everything relating to
  X11R6.  Opinions?
 
 Let's leave the explicit prohibition on X11R6 for at least one more
 release.  imake used to be really common and one still occasionally runs
 into software that expects this sort of layout.  I think it doesn't hurt
 matters to leave it for a bit longer.

I agree: x11-common still includes /usr/X11R6/bin. We should wait until
/usr/X11R6 is completly removed from Debian before removing it from policy,
if only to says that /usr/X11R6 must not be used.

Cheers,
-- 
Bill. ballo...@debian.org

Imagine a large red swirl here. 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-04-02 Thread Russ Allbery
Julien Cristau jcris...@debian.org writes:

 I don't know whether to remove just this part, or everything relating to
 X11R6.  Opinions?

Let's leave the explicit prohibition on X11R6 for at least one more
release.  imake used to be really common and one still occasionally runs
into software that expects this sort of layout.  I think it doesn't hurt
matters to leave it for a bit longer.

 --- a/policy.sgml
 +++ b/policy.sgml
 @@ -8619,22 +8619,8 @@ name [varsyshostname/var]:
 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 ttx11-common (gt;=
 - 1:7.0.0)/ttfootnote
 -  p
 -These libraries used to be all symbolic
 -links. However, with ttX11R7/tt,
 -tt/usr/include/X11/tt and tt/usr/lib/X11/tt
 -are now real directories, and packages
 -strongshould/strong ship their files here instead
 -of in tt/usr/X11R6/{include,lib}/X11/tt.
 -ttx11-common (gt;= 1:7.0.0) /tt is the package
 -responsible for converting these symlinks into
 -directories.
 -  /p
 -/footnote
 -   /p
 + file/usr/lib/X11//file.
 +  /p

Seconded.

-- 
Russ Allbery (r...@debian.org)   http://www.eyrie.org/~eagle/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#522217: debian-policy: Drop requirement to pre-depend on x11-common

2009-04-01 Thread Julien Cristau
Package: debian-policy
Version: 3.8.1.0
Severity: normal
Tags: patch

I don't know whether to remove just this part, or everything relating to
X11R6.  Opinions?

Cheers,
Julien

From: Julien Cristau jcris...@debian.org
Date: Wed, 1 Apr 2009 20:29:23 +0200
Subject: [PATCH 1/3] Drop requirement to pre-depend on x11-common for 
/usr/{lib,include}/X11

This requirement was necessary for upgrades from sarge to etch.
---
 policy.sgml |   18 ++
 1 files changed, 2 insertions(+), 16 deletions(-)

diff --git a/policy.sgml b/policy.sgml
index 300d7f7..5cd463e 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -8619,22 +8619,8 @@ name [varsyshostname/var]:
  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 ttx11-common (gt;=
-   1:7.0.0)/ttfootnote
-  p
-These libraries used to be all symbolic
-links. However, with ttX11R7/tt,
-tt/usr/include/X11/tt and tt/usr/lib/X11/tt
-are now real directories, and packages
-strongshould/strong ship their files here instead
-of in tt/usr/X11R6/{include,lib}/X11/tt.
-ttx11-common (gt;= 1:7.0.0) /tt is the package
-responsible for converting these symlinks into
-directories.
-  /p
-/footnote
- /p
+   file/usr/lib/X11//file.
+  /p
/sect1
 
sect1
-- 
1.6.2.1




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org