public inbox for insight-prs@sourceware.org
help / color / mirror / Atom feed
* Re: insight/243: broken itcl man pages
@ 2005-09-01 5:32 kseitz
0 siblings, 0 replies; 2+ messages in thread
From: kseitz @ 2005-09-01 5:32 UTC (permalink / raw)
To: Jay.St.Pierre, insight-prs, kseitz, nobody
Synopsis: broken itcl man pages
Responsible-Changed-From-To: unassigned->kseitz
Responsible-Changed-By: kseitz
Responsible-Changed-When: Thu Sep 1 05:32:54 2005
Responsible-Changed-Why:
mine
State-Changed-From-To: open->closed
State-Changed-By: kseitz
State-Changed-When: Thu Sep 1 05:32:54 2005
State-Changed-Why:
I've committed your patches. Thank you for pointing that out.
http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=insight&pr=243
^ permalink raw reply [flat|nested] 2+ messages in thread
* insight/243: broken itcl man pages
@ 2003-11-02 19:53 Jay.St.Pierre
0 siblings, 0 replies; 2+ messages in thread
From: Jay.St.Pierre @ 2003-11-02 19:53 UTC (permalink / raw)
To: insight-gnats
>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:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-09-01 5:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-01 5:32 insight/243: broken itcl man pages kseitz
-- strict thread matches above, loose matches on Subject: below --
2003-11-02 19:53 Jay.St.Pierre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).