From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9718 invoked by alias); 2 Nov 2003 19:53:02 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 9700 invoked by uid 71); 2 Nov 2003 19:53:01 -0000 Resent-Date: 2 Nov 2003 19:53:01 -0000 Resent-Message-ID: <20031102195301.9699.qmail@sources.redhat.com> Resent-From: insight-gnats@sources.redhat.com (GNATS Filer) Resent-To: nobody@sources.redhat.com Resent-Cc: insight-prs@sources.redhat.com Resent-Reply-To: insight-gnats@sources.redhat.com, Jay.St.Pierre@Colorado.EDU Received: (qmail 5178 invoked by uid 48); 2 Nov 2003 19:43:20 -0000 Message-Id: <20031102194320.5177.qmail@sources.redhat.com> Date: Sun, 02 Nov 2003 19:53:00 -0000 From: Jay.St.Pierre@Colorado.EDU Reply-To: Jay.St.Pierre@Colorado.EDU To: insight-gnats@sources.redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: insight/243: broken itcl man pages X-SW-Source: 2003-q4/txt/msg00003.txt.bz2 List-Id: >Number: 243 >Category: insight >Synopsis: broken itcl man pages >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Nov 02 19:53:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Jay.St.Pierre@Colorado.EDU >Release: insight-6.0 >Organization: >Environment: Solaris 2.8 >Description: The itcl/itk man pages are installed with a ".so man.macros" line that cause the man pages to be unparseable. The raw tcl/tk man pages have the same line, but when the get installed this line is replaced with the contents of man.macros. So I just modified the itcl/itk Makefile.in files to include the same installation logic as tcl/tk uses. The patch I used is attached to this bug report. >How-To-Repeat: After you install insight-6.0, attempt to use man or nroff to view an itcl/itk manpage installed in the mann directory. For example, itcl. >Fix: diff -ur insight-6.0 insight-6.0.fixed --- insight-6.0/itcl/itcl/Makefile.in 2003-01-21 13:40:25.000000000 -0700 +++ insight-6.0.fixed/itcl/itcl/Makefile.in 2003-10-31 13:21:56.626003000 -0700 @@ -292,10 +292,12 @@ install-doc: doc $(mkinstalldirs) $(mandir)/mann @echo "Installing man pages in $(mandir)" - @for i in $(srcdir)/doc/*.n; \ + @cd $(srcdir)/doc; for i in *.n; \ do \ echo "Installing $$i"; \ - $(INSTALL_DATA) $$i $(mandir)/mann ; \ + sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \ + $$i > $(mandir)/mann/$$i; \ + chmod 444 $(mandir)/mann/$$i; \ done test: $(TCLSH_PROG) --- insight-6.0/itcl/itk/Makefile.in 2003-01-21 13:40:29.000000000 -0700 +++ insight-6.0.fixed/itcl/itk/Makefile.in 2003-11-01 14:01:07.273006000 -0700 @@ -287,10 +287,12 @@ install-doc: doc $(mkinstalldirs) $(mandir)/mann @echo "Installing man pages in $(mandir)" - @for i in $(srcdir)/doc/*.n; \ + @cd $(srcdir)/doc; for i in *.n; \ do \ - echo "Installing $$i info $(mandir)/mann"; \ - $(INSTALL_DATA) $$i $(mandir)/mann ; \ + echo "Installing $$i in $(mandir)/mann"; \ + sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \ + $$i > $(mandir)/mann/$$i; \ + chmod 444 $(mandir)/mann/$$i; \ done test: $(TCLSH_PROG) >Release-Note: >Audit-Trail: >Unformatted: