Bug 678763

Summary: Build with zlib support, use elinks as default HTML browser
Product: [Fedora] Fedora Reporter: Ville Skyttä <ville.skytta>
Component: man-dbAssignee: Ivana Varekova <varekova>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cjwatson, varekova
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-23 14:09:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Build with zlib support, use elinks as default HTML browser none

Description Ville Skyttä 2011-02-19 12:41:49 UTC
Created attachment 479674 [details]
Build with zlib support, use elinks as default HTML browser

Adding zlib-devel to BuildRequires would enable this benefit (from NEWS):

   o A decompression library is now in place. This allows man-db to use
     zlib to decompress gzipped files, and allows most of its uses of
     temporary files to be removed. The only remaining exceptions are
     cat file creation (which uses a temporary file in the cat tree
     rather than in /tmp) and viewing HTML manual pages (which uses a
     temporary directory). Otherwise, man-db should now work fine even
     with a read-only /tmp during system recovery.

...and setting some browser as the default for HTML would make it more likely for --html to work out of the box and at least output more understandable error messages, and would fix --help output.  xdg-open would be ideal but it doesn't work here as some of the utils it invokes may exit too early (gvfs-open, gnome-open) thus resulting in man cleaning up the temporary HTML files before the viewer opens.  elinks is required by more apps than lynx so I chose it.  Not worth adding a dependency to it in my opinion.

Comment 1 Ivana Varekova 2011-03-23 14:09:13 UTC
Thanks added to man-db-2.5.9-6.fc16.