Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475710 - x11-misc/shutter double packed man page
Summary: x11-misc/shutter double packed man page
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 09:02 UTC by Robert Wolf
Modified: 2013-09-08 10:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Wolf 2013-07-04 09:02:11 UTC
Hello,

I have installed x11-misc/shutter and I wanted to read man page, but the content is binary data.

I have checked the ebuild files and there is following code:

  # mapage is broken. Reconstruct it.
  mv share/man/man1/${PN}.1.gz share/man/man1/${PN}.1
  bzip2 share/man/man1/${PN}.1
  doman share/man/man1/${PN}.1.bz2 || die "doman failed"


After unpacking the file shutter.1.bz2 with bzip2 and then with gzip, I can read the man page.

$ bzcat shutter.1.bz2 | zcat > shutter.1
$ man ./shutter.1

IMHO you should either keep man page in gz or you should first gunzip and then bzip2 the file.

Or is it a problem in my man.conf?

The same code is in shutter-0.88.1.ebuild, shutter-0.89.1.ebuild and shutter-0.90.ebuild.

Regards,

Robert Wolf.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-07-04 13:16:15 UTC
(In reply to Robert Wolf from comment #0)
>   # mapage is broken. Reconstruct it.

"Man page".

>   mv share/man/man1/${PN}.1.gz share/man/man1/${PN}.1

So it isn't a gzip compressed file?

>   bzip2 share/man/man1/${PN}.1

This shouldn't be needed - portage does it for you. But isn't it now a gzip compressed and then bzip2 compressed file?

>   doman share/man/man1/${PN}.1.bz2 || die "doman failed"

doman dies on its own.

so:

     gunzip foo.1.gz || die
     doman foo.1

That's all you need.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2013-09-08 10:40:23 UTC
Thanks. Fixed in 0.90.1