patchGNU Octave - Patches: patch #8491, Make pkg handle and display (in...


patch #8491: Make pkg handle and display (in textmode) package documentation in info format

Submitter:  Olaf Till <i7tiol>
Submitted:  Mon 30 Jun 2014 06:26:21 PM UTC
Category:  Core : new feature Priority:  3 - Low
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Sat 18 Jan 2020 11:41:23 AM UTC, comment #3: 

Review for Octave 6.

No interest for almost 6 years.  pkg tool changed a lot since then.

Closing item.

Kai Torben Ohlhus <siko1056>
Group Member
Tue 01 Jul 2014 07:01:40 AM UTC, comment #2: 

Would be possible, but then the file would have to be renamed for installation, because in its installation directory (usr/local/share/info/ or something, if not configured otherwise) it will usually be among the systems info files. I thought it's better if the file is not renamed, to avoid confusion, but maybe this is not so important.

Olaf Till <i7tiol>
Group Member
Mon 30 Jun 2014 07:59:13 PM UTC, comment #1: 

If the doc dir is already specific to Octave packages, why not just use the name of the package instead of prepending "octave-"?

John W. Eaton <jwe>
Group administrator
Mon 30 Jun 2014 06:26:21 PM UTC, original submission:  

This patch makes pkg handle and display package documentation in textmode. A minimal testpackage is also attached for convenience.

Package documentation is assumed to be in doc/octave-<packagename>.info (not compressed). Should work for global and local installation. Info installation directory configurable (3rd option of `pkg prefix'; since prefix and archprefix are also independent and there is no common root prefix). Installed info filename and directory are noted in the package database file, this is also used to find the documentation for displaying (but here the '.gz' variant is also tried).

  pkg doc packagename -> display top node

  pkg doc packagename entry -> index search for entry

Olaf Till <i7tiol>
Group Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #31646:  pkginfo.changeset added by i7tiol (25KiB - application/octet-stream)
file #31647:  testpackage-0.0.1.tar.gz added by i7tiol (3KiB - application/x-tgz)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by i7tiol (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-18 siko1056 CategoryNone Core : new feature
        Priority5 - Normal 3 - Low
        StatusNone Wont Do
        Open/ClosedOpen Closed
    2014-06-30 i7tiol Attached File- Added pkginfo.changeset, #31646
        Attached File- Added testpackage-0.0.1.tar.gz, #31647

    Back to the top

    Powered by Savane 3.12