Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 854267

Summary: app-text/mandoc bzip2 support
Product: Gentoo Linux Reporter: Markus Peloquin <markus>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=836367
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mandoc-1.14.6-bzip2.patch
mandoc-1.14.6-bzip2.patch

Description Markus Peloquin 2022-06-25 10:59:58 UTC
I veered away from mandb due to the new systemd dependencies and decided mandoc was a good fit. However, it's lack of compression support (except gzip) was a turnoff. Especially rebuilding *everything* with a man page with compression disabled as the wiki suggests...

So I wrote a patch. I'm not sure if this is something we might want to just use, or if I should approach upstream with a less ... patchy version (i.e. use better abstractions).

Let me know!
Comment 1 Markus Peloquin 2022-06-25 11:01:19 UTC
Created attachment 787595 [details, diff]
mandoc-1.14.6-bzip2.patch

Hmm, attachment didn't take the first time
Comment 2 Markus Peloquin 2022-06-25 11:09:39 UTC
Created attachment 787598 [details, diff]
mandoc-1.14.6-bzip2.patch

Fixed a bug, an accidentally deleted line. If only BSD devs used braces...
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-26 06:44:03 UTC
man-db doesn't have a systemd dependency.

Anyway, it'd be interesting to know what upstream think -- my recollection is sadly they're not interested, but I might be misremembering.

We did have a bug discussing this recently but I can't find it :(
Comment 4 Mike Gilbert gentoo-dev 2022-06-26 21:19:04 UTC
(In reply to Sam James from comment #3)
> Anyway, it'd be interesting to know what upstream think -- my recollection
> is sadly they're not interested, but I might be misremembering.

I also recall that they are not interested in adding support for additional compression methods.
Comment 5 Mike Gilbert gentoo-dev 2022-06-26 21:24:56 UTC
See bug 836367 comment 7.
Comment 6 Markus Peloquin 2022-06-26 22:53:21 UTC
Hmm, maybe if I make my change good enough, they might accept it...
Comment 7 Markus Peloquin 2022-06-26 22:56:36 UTC
(In reply to Markus Peloquin from comment #6)
> Hmm, maybe if I make my change good enough, they might accept it...

Upon reading Ingo Schwarze's response, I find it unlikely though.
Comment 8 Mike Gilbert gentoo-dev 2022-06-26 23:32:52 UTC
I don't think we are interested in carrying a patch for this.

I would suggest switching back to sys-apps/man-db.