RE: dh_installman and X11 apps

2001-03-10 Thread Carlos Laviola


On 10-Mar-2001 Wouter de Vries wrote:
 Hi,
 
 I was wondering how to install man pages in the X11 man directory with 
 dh_installman. I have read the manual, but it is not in there. Lintian
 keeps giving me warnings about the manual being in the wrong place, so
 now I put the X11 app in /usr/bin (shame on me!).. Please help me out.

You're not supposed to put the manpage wherever you want to, even if it is a X
program. dh_installman puts the manpages into their respective sections, e.g.
if you have foo.1, it'll be but on section 1. If you have foo.1x, it'll be but
at /usr/X11R6/man/man1 for being in X's section 1.

(Please correct me if wrong)
-- 
Carlos Laviola - ICQ 55799523
pub  1024D/3516D372 2000-06-05 Carlos Laviola [EMAIL PROTECTED]
 Key fingerprint = 3BE1 6591 C78C 2AA4 31DD  AEEF 6406 0227 3516 D372


 PGP signature


Re: dh_installman and X11 apps

2001-03-10 Thread Joey Hess

Carlos Laviola wrote:
 You're not supposed to put the manpage wherever you want to, even if it is a X
 program. dh_installman puts the manpages into their respective sections, e.g.
 if you have foo.1, it'll be but on section 1. If you have foo.1x, it'll be but
 at /usr/X11R6/man/man1 for being in X's section 1.

 _Packages using the X Window System should abide by the FHS standard
 whenever possible_; they should install binaries, libraries, manual
 pages, and other files in FHS-mandated locations wherever possible.
 This means that files must not be installed into `/usr/X11R6/bin/',
 `/usr/X11R6/lib/', or `/usr/X11R6/man/' unless this is necessary for
 the package to operate properly.

Current versions of debhelper abide by this by never installing manual pages
into /usr/X11R6/man/ at all. After all, the location of a man page there is
quite unlikely to be necessary for a package to operate properly. I've 
talked this over with Branden Robinson and I think debhelper is doing the
right thing.

-- 
see shy jo


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: dh_installman and X11 apps

2001-03-10 Thread Carlos Laviola

On 10-Mar-2001 Wouter de Vries wrote:
 Hi,
 
 I was wondering how to install man pages in the X11 man directory with 
 dh_installman. I have read the manual, but it is not in there. Lintian
 keeps giving me warnings about the manual being in the wrong place, so
 now I put the X11 app in /usr/bin (shame on me!).. Please help me out.

You're not supposed to put the manpage wherever you want to, even if it is a X
program. dh_installman puts the manpages into their respective sections, e.g.
if you have foo.1, it'll be but on section 1. If you have foo.1x, it'll be but
at /usr/X11R6/man/man1 for being in X's section 1.

(Please correct me if wrong)
-- 
Carlos Laviola - ICQ 55799523
pub  1024D/3516D372 2000-06-05 Carlos Laviola [EMAIL PROTECTED]
 Key fingerprint = 3BE1 6591 C78C 2AA4 31DD  AEEF 6406 0227 3516 D372



pgpb0w5HCik01.pgp
Description: PGP signature


Re: dh_installman and X11 apps

2001-03-10 Thread Decklin Foster
Wouter de Vries writes:

 so now I put the X11 app in /usr/bin (shame on me!)..

see policy 12.8:

 _Packages using the X Window System should abide by the FHS standard
 whenever possible_; they should install binaries, libraries, manual
 pages, and other files in FHS-mandated locations wherever possible.
 This means that files must not be installed into `/usr/X11R6/bin/',
 `/usr/X11R6/lib/', or `/usr/X11R6/man/' unless this is necessary for
 the package to operate properly. [...]

-- 
things change.
[EMAIL PROTECTED]



Re: dh_installman and X11 apps

2001-03-10 Thread Joey Hess
Carlos Laviola wrote:
 You're not supposed to put the manpage wherever you want to, even if it is a X
 program. dh_installman puts the manpages into their respective sections, e.g.
 if you have foo.1, it'll be but on section 1. If you have foo.1x, it'll be but
 at /usr/X11R6/man/man1 for being in X's section 1.

 _Packages using the X Window System should abide by the FHS standard
 whenever possible_; they should install binaries, libraries, manual
 pages, and other files in FHS-mandated locations wherever possible.
 This means that files must not be installed into `/usr/X11R6/bin/',
 `/usr/X11R6/lib/', or `/usr/X11R6/man/' unless this is necessary for
 the package to operate properly.

Current versions of debhelper abide by this by never installing manual pages
into /usr/X11R6/man/ at all. After all, the location of a man page there is
quite unlikely to be necessary for a package to operate properly. I've 
talked this over with Branden Robinson and I think debhelper is doing the
right thing.

-- 
see shy jo