Summary: | patch to allow xman to use bzip to decompress man pages. | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Bob Raitz <pappy_mcfae> | ||||
Component: | App/xman | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | cloos | ||||
Version: | unspecified | Keywords: | patch | ||||
Hardware: | All | ||||||
OS: | other | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Bob Raitz
2008-02-06 01:41:15 UTC
original source of patch: http://cvs.mandriva.com/cgi-bin/viewvc.cgi/SPECS/XFree86/XFree86-4.2.99.3-xman-bzip2.patch?view=log Just to be a bit more specific, I am using xman version 1.0.2.; the latest stable version in the Gentoo portage tree. I’m looking into this. The patch does not (completely) apply to the current git master, and some of the changes between the version the patch is based on and master are such that porting the patch will take a bit of thought and care. While I’m at it, I’ll also look into adding .lzma support, since on Gentoo ~x86, at least, man now saves the cat files compressed with lzma-utils’ version of lzma. If you have any thoughts on the changes in xman/misc.c in particular, please post them. (In reply to comment #3) > I’m looking into this. > > The patch does not (completely) apply to the current git master, and some of > the changes between the version the patch is based on and master are such that > porting the patch will take a bit of thought and care. > > While I’m at it, I’ll also look into adding .lzma support, since on Gentoo > ~x86, at least, man now saves the cat files compressed with lzma-utils’ > version of lzma. > > If you have any thoughts on the changes in xman/misc.c in particular, please > post them. > It may not completely apply to your git at this point, but it definitely applies to the Gentoo portage tree as it is of today (02-09-2008 ). The patch does work. I have it installed on all three of my machines. This patch was reported to the Gentoo bugzilla. I was asked to pass it upstream for your consideration. I ask that you consider accepting this patch so that it can be used by Gentoo users downstream. That way, there will be a resolution on the Gentoo bugzilla. Oh, and for the record, I'm not the original author of the patch in question. I'm also not a programmer in C, although I have played a bit with c++ and scripting. I just happened to run across the patch in a Gentoo forum, installed it manually, and found it useful. Thank you for your time and consideration. Blessed be! Pappy I wasn’t questioning whether it works, I trusted that it did. patch(1) was unable to apply it, and the #ifdefs in those files (to deal with the variations in where man pages are stored in the numerous systems xman(1x) supports) are more than a bit hairy. But I was able to apply it by hand in commit dbfa16889ae66d5880e23c9a63f8385896512020. You can expect it to be included in xman 1.0.4. I’ll add a comment to that effect to the gentoo bug as well. (In reply to comment #5) > I wasn’t questioning whether it works, I trusted that it did. > > patch(1) was unable to apply it, and the #ifdefs in those files (to deal with > the variations in where man pages are stored in the numerous systems xman(1x) > supports) are more than a bit hairy. > > But I was able to apply it by hand in commit > dbfa16889ae66d5880e23c9a63f8385896512020. > > You can expect it to be included in xman 1.0.4. > > I’ll add a comment to that effect to the gentoo bug as well. > Thank you very much, and if you need a volunteer to test it, I have three Gentoo systems ready and waiting to try it. Thanks for your time and consideration. Blessed be! Pappy (In reply to comment #6) > Thank you very much, and if you need a volunteer to test it, I have three > Gentoo systems ready and waiting to try it. To test it you can clone the xman git repo via: git://anongit.freedesktop.org/git/xorg/app/xman or http://anongit.freedesktop.org/git/xorg/app/xman and run: ./autogen.sh && make && sudo make install Or, for a Gentoo box you can clone my as yet partial live-x11 overlay via: git://people.freedesktop.org/~cloos/live-x11.git or http://people.freedesktop.org/~cloos/live-x11.git or, if you just want the single ebuild you can grab that via cgit at: http://cgit.freedesktop.org/~cloos/live-x11/tree/x11-apps/xman/xman-9999.ebuild for an HTML page or, for just the text/plain file: http://cgit.freedesktop.org/~cloos/live-x11/blob/?id=3562a073836d6cffc7a88b855a648bad3cda0e01 I’m running that now and it works fine for me. (I do not use xprint so I haven’t tested the xprint support in xman. But everything else was fine.) I finally got git to work...had to emerge it.
The git version works as far as I can tell. Your ebuild came up as masked by corruption.
Are there specific things you'd like me to test? There was a mention of lzma compression, vis a vis:
>While I’m at it, I’ll also look into adding .lzma support, since on Gentoo
>~x86, at least, man now saves the cat files compressed with lzma-utils’
>version of lzma.
What files are these? I'd like to test functionality in all ways.
Blessed be!
Pappy
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.