Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30111 - media-gfx/gqview: can't open README
Summary: media-gfx/gqview: can't open README
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-01 15:12 UTC by crusaderky
Modified: 2020-01-20 22:04 UTC (History)
3 users (show)

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


Attachments
Exclude README from compression (20191111-gqview-README.patch,433 bytes, patch)
2019-11-11 15:23 UTC, Nuno Silva
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2003-10-01 15:12:44 UTC
from inside gqview-1.3.2, if I press help->version notes or help->keyboard shortcuts, I get
"can't load: /usr/share/gqview/README"

the obvious workaround is typing "gunzip -cd /usr/share/doc/gqview-1.3.2/README.gz | less" in any terminal.

A gentoo-specific patch should be written, changing fopen, fread etc. with gzopen, gzread equivalents and using the correct path. It should be quite simple and fast to do.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-10-01 16:53:31 UTC
Fixed in CVS.  Thanks for the bug report.
Comment 2 Nuno Silva 2019-11-11 15:23:56 UTC
Created attachment 595766 [details, diff]
Exclude README from compression

I can reproduce this with gqview-2.1.5-r1 (so, please reopen). For a quick fix, this patch adds the installed README to the compression exclusion list.
Comment 3 Larry the Git Cow gentoo-dev 2020-01-20 22:04:07 UTC
The bug has been closed via the following commit(s):

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

commit d04e07e6802ef5474190d53ffbd12aaf811e17ae
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-01-20 21:48:29 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-01-20 22:03:58 +0000

    media-gfx/gqview: don't compress README, bug #30111
    
    While at it:
    - bump to EAPI=7
    - add myself as a maintainer
    - tweak docs installation path
    - fix infelicity detected by -Werror=format-security
    
    Reported-by: crusaderky@gmail.com
    Closes: https://bugs.gentoo.org/30111
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/530630
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../files/gqview-2.1.5-format-security.patch       | 56 +++++++++++++++++++
 media-gfx/gqview/files/gqview-2.1.5-gcc-10.patch   |  9 ++++
 media-gfx/gqview/files/gqview-2.1.5-helpdir.patch  | 23 ++++++++
 .../gqview/files/gqview-2.1.5-readmedir.patch      | 11 ++++
 media-gfx/gqview/gqview-2.1.5-r2.ebuild            | 62 ++++++++++++++++++++++
 media-gfx/gqview/metadata.xml                      |  4 ++
 6 files changed, 165 insertions(+)