Subject: pkg/36479: math/octave doesn't install doc index files (patch supplied)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <j+nbsd@2007.salmi.ch>
List: pkgsrc-bugs
Date: 06/13/2007 06:25:00
>Number: 36479
>Category: pkg
>Synopsis: math/octave doesn't install doc index files (patch supplied)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 13 06:25:00 +0000 2007
>Originator: Jukka Salmi
>Release: pkgsrc HEAD
>Description:
The math/octave package installs several documentation (HTML) files,
e.g. the FAQs, liboctave docs and general Octave docs, but the following
index files are not installed:
Octave-FAQ.html
liboctave.html
octave.html
>How-To-Repeat:
Build and install math/octave, open one of the HTML files in
$LOCALBASE/share/doc/octave a browser and try to use the `Top' link.
The referenced file does not exist.
>Fix:
Apply the following patch which is also available from
http://salmi.ch/~jukka/patches/pkgsrc/math/octave/doc_indexes.patch
Index: math/octave/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/math/octave/Makefile,v
retrieving revision 1.69
diff -u -p -r1.69 Makefile
--- math/octave/Makefile 7 Jan 2007 12:25:54 -0000 1.69
+++ math/octave/Makefile 9 Jun 2007 21:03:10 -0000
@@ -46,8 +46,8 @@ INFO_FILES= # PLIST
OCTAVE_DOC= faq/Octave-FAQ.ps interpreter/octave.ps \
liboctave/liboctave.ps refcard/refcard-a4.ps \
refcard/refcard-legal.ps refcard/refcard-letter.ps
-OCTAVE_HTML= faq/Octave-FAQ_*.html interpreter/octave_*.html \
- liboctave/liboctave_*.html
+OCTAVE_HTML= faq/Octave-FAQ*.html interpreter/octave*.html \
+ liboctave/liboctave*.html
UNWRAP_FILES+= mkoctfile octave-bug src/oct-conf.h
Index: math/octave/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/math/octave/PLIST,v
retrieving revision 1.13
diff -u -p -r1.13 PLIST
--- math/octave/PLIST 6 Apr 2006 09:10:28 -0000 1.13
+++ math/octave/PLIST 9 Jun 2007 21:03:12 -0000
@@ -636,6 +636,7 @@ man/man1/mkoctfile.1
man/man1/octave-bug.1
man/man1/octave-config.1
man/man1/octave.1
+share/doc/octave/Octave-FAQ.html
share/doc/octave/Octave-FAQ_1.html
share/doc/octave/Octave-FAQ_10.html
share/doc/octave/Octave-FAQ_11.html
@@ -652,6 +653,7 @@ share/doc/octave/Octave-FAQ_abt.html
share/doc/octave/Octave-FAQ_fot.html
share/doc/octave/Octave-FAQ_ovr.html
share/doc/octave/Octave-FAQ_toc.html
+share/doc/octave/liboctave.html
share/doc/octave/liboctave_1.html
share/doc/octave/liboctave_10.html
share/doc/octave/liboctave_11.html
@@ -678,6 +680,7 @@ share/doc/octave/liboctave_9.html
share/doc/octave/liboctave_abt.html
share/doc/octave/liboctave_ovr.html
share/doc/octave/liboctave_toc.html
+share/doc/octave/octave.html
share/doc/octave/octave_1.html
share/doc/octave/octave_10.html
share/doc/octave/octave_11.html