NetBSD Problem Report #49035

From njoly@lanfeust.sis.pasteur.fr  Sat Jul 26 12:07:38 2014
Return-Path: <njoly@lanfeust.sis.pasteur.fr>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E149FA78AD
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 26 Jul 2014 12:07:38 +0000 (UTC)
Message-Id: <20140726120734.67A19E0639@lanfeust.sis.pasteur.fr>
Date: Sat, 26 Jul 2014 14:07:34 +0200 (CEST)
From: njoly@pasteur.fr
Reply-To: njoly@pasteur.fr
To: gnats-bugs@NetBSD.org
Subject: Some XOrg man pages miss keywords substitution
X-Send-Pr-Version: 3.95

>Number:         49035
>Category:       xsrc
>Synopsis:       Some XOrg man pages miss keywords substitution
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 26 12:10:00 +0000 2014
>Originator:     Nicolas Joly
>Release:        NetBSD 6.99.49
>Organization:
Institut Pasteur
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 6.99.49 NetBSD 6.99.49 (LANFEUST) #47: Sat Jul 26 13:48:38 CEST 2014 njoly@lanfeust.sis.pasteur.fr:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/LANFEUST amd64
Architecture: x86_64
Machine: amd64
>Description:
Checking xorg.conf(5) man page, i found that a few keywords were not substitued
as they should to be. This include "__xconfigdir__", "__sysconfdir__",
"__datadir__", "__modulepath__" and "__xkbdir__".

A few other XOrg man page exhibit the same problem :

find /usr/X11R7/man/man* -type f | xargs grep -l __ 
/usr/X11R7/man/man1/resize.1
/usr/X11R7/man/man1/sessreg.1
/usr/X11R7/man/man1/startx.1
/usr/X11R7/man/man1/xinit.1
/usr/X11R7/man/man1/xmodmap.1
/usr/X11R7/man/man1/xterm.1
/usr/X11R7/man/man1/Xorg.1
/usr/X11R7/man/man1/Xserver.1
/usr/X11R7/man/man3/Xaw.3
/usr/X11R7/man/man5/xorg.conf.5
/usr/X11R7/man/man7/X.7

njoly@lanfeust [X11R7/man]> find /usr/X11R7/man/man* -type f | xargs grep __   
/usr/X11R7/man/man1/resize.1:.TH RESIZE 1 "__app_date__" "__app_version__" "X Window System"
/usr/X11R7/man/man1/resize.1:sets this to "__default_termname__" if not already set.
/usr/X11R7/man/man1/sessreg.1:.BR __lastlog_file__ ,
/usr/X11R7/man/man1/sessreg.1:.BR __utmp_manpage__ (5)
/usr/X11R7/man/man1/startx.1:.if '__SCOMAN__'' .ig
/usr/X11R7/man/man1/startx.1:.I __libdir__/sys.startxrc
/usr/X11R7/man/man1/startx.1:.if !'x.__SCOMAN__'x.' .ig
/usr/X11R7/man/man1/startx.1:.if '__SCOMAN__'' .ig
/usr/X11R7/man/man1/startx.1:.I __libdir__/sys.startxrc
/usr/X11R7/man/man1/xinit.1:.B "xinit \-\^\- __bindir__/Xvnc  :1"
[...]

>How-To-Repeat:
find /usr/X11R7/man/man* -type f | xargs grep __
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.