Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645520 - >=mail-client/neomutt-20171215[-doc]: Needs some review
Summary: >=mail-client/neomutt-20171215[-doc]: Needs some review
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low normal
Assignee: Nicolas Bock
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-23 23:22 UTC by Floyd Anderson
Modified: 2018-01-24 21:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fake NeoMutt’s manual pages (neomutt-9999_fake-neomutt-manual-pages.diff,1.29 KB, patch)
2018-01-23 23:22 UTC, Floyd Anderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Floyd Anderson 2018-01-23 23:22:46 UTC
Created attachment 516282 [details, diff]
fake NeoMutt’s manual pages

Current behaviour:

mail-client/neomutt-20171215[-doc] pulls in:

  1. /usr/share/man/man1/neomutt.1.bz2
  2. /usr/share/man/man1/pgpewrap.1.bz2
  3. /usr/share/man/man1/pgpring.1.bz2
  4. /usr/share/man/man1/smime_keys.1.bz2
  5. /usr/share/man/man5/mbox.5.bz2
  6. /usr/share/man/man5/mmdf.5.bz2

but not:

  7. /usr/share/man/man5/neomuttrc.5.bz2


Expected behaviour:

As USE-flag description for doc explicate:

    doc - Add extra documentation …

not to pull additional manual pages, i.e. points 2—6 from above, when -doc is
involved but my main point is the not pulled neomuttrc(5) manual page here.

The old behaviour to ‘fake’ manual pages for point 1 and 7 was nice (and
enough, at least for me). Also note that the manual page ‘fake’ doesn’t and
cannot work any longer for mail-client/neomutt-9999.

I successfully use a customised src_install() (see attached diff) for the
live ebuild in my overlay, which should also work for mail-client/neomutt-20171215.
Comment 1 Larry the Git Cow gentoo-dev 2018-01-24 21:40:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab3d07d9e7e9a3d4abe6b71c56bc61d5547f077

commit bab3d07d9e7e9a3d4abe6b71c56bc61d5547f077
Author:     Nicolas Bock <nicolasbock@gentoo.org>
AuthorDate: 2018-01-24 21:39:32 +0000
Commit:     Nicolas Bock <nicolasbock@gentoo.org>
CommitDate: 2018-01-24 21:39:57 +0000

    mail-client/neomutt: Fix fake man pages
    
    This change restores and updates the old 'fake manpage' code when
    neomutt is built without the `doc` USE flag.
    
    Co-Authored-By: Floyd Anderson <bts+gentoo@31c0.net>
    Closes: https://bugs.gentoo.org/645520
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 mail-client/neomutt/neomutt-20171215-r1.ebuild | 133 +++++++++++++++++++++++++
 mail-client/neomutt/neomutt-9999.ebuild        |  21 ++--
 2 files changed, 143 insertions(+), 11 deletions(-)