Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 813438 - app-office/calcurse: Unable to find documentation.
Summary: app-office/calcurse: Unable to find documentation.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2021-09-17 05:09 UTC by Marco Sirabella
Modified: 2021-10-06 01:10 UTC (History)
2 users (show)

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


Attachments
use configure's docdir (0001-app-office-calcurse-patch-to-install-docs-correctly.patch,1.72 KB, patch)
2021-09-17 05:10 UTC, Marco Sirabella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Sirabella 2021-09-17 05:09:34 UTC
When pressing the help key in calcurse `?`, it is unable to find the documentation.

attaching an strace shows the issue:
```
openat(AT_FDCWD, "/usr/share/doc/calcurse-4.7.0/intro.txt", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/doc/calcurse-4.7.0/intro.txt", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/doc/calcurse-4.7.0/intro.txt", O_RDONLY) = -1 ENOENT (No such file or directory)
```

While the actual file is found:
/usr/share/doc/calcurse-4.7.0/calcurse/intro.txt.bz2

Compressed and in the wrong subdir
Comment 1 Marco Sirabella 2021-09-17 05:10:48 UTC
Created attachment 739620 [details, diff]
use configure's docdir
Comment 2 Kobboi 2021-09-24 00:36:03 UTC
A 4.7.1 is out as well. Let me check what has changed and take along your patch.
Comment 3 Larry the Git Cow gentoo-dev 2021-10-06 01:10:07 UTC
The bug has been closed via the following commit(s):

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

commit 977a9e516eb47bfe30028ea3b024f5a0bf43b129
Author:     Christophe Lermytte <gentoo@lermytte.be>
AuthorDate: 2021-10-05 22:48:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-06 01:09:22 +0000

    app-office/calcurse: add 4.7.1 and fix documentation
    
    calcurse 4.7.1 is a bug-fixing release.
    
    Also updated PYTHON_COMPAT (used by /usr/bin/calcurse-{vdir,caldav}).
    
    Thanks-to: Marco Sirabella <marco@sirabella.org>
    Closes: https://bugs.gentoo.org/813438
    Signed-off-by: Christophe Lermytte <gentoo@lermytte.be>
    Closes: https://github.com/gentoo/gentoo/pull/22498
    Signed-off-by: Sam James <sam@gentoo.org>

 app-office/calcurse/Manifest                       |  1 +
 app-office/calcurse/calcurse-4.7.1.ebuild          | 50 ++++++++++++++++++++++
 .../files/calcurse-4.7.1-respect-docdir.patch      | 13 ++++++
 3 files changed, 64 insertions(+)