Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262163 - sys-apps/groff should brand mandoc man pages with Gentoo Linux/FreeBSD instead of just BSD
Summary: sys-apps/groff should brand mandoc man pages with Gentoo Linux/FreeBSD instea...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-11 18:01 UTC by Roy Marples
Modified: 2009-03-14 14:37 UTC (History)
0 users

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


Attachments
Patch the groff ebuild to brand .Os as Gentoo Linux/FreeBSD in mdoc.local (groff.diff,654 bytes, patch)
2009-03-11 18:02 UTC, Roy Marples
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Marples 2009-03-11 18:01:40 UTC
As otherwise it just looks plain silly.
Comment 1 Roy Marples 2009-03-11 18:02:23 UTC
Created attachment 184722 [details, diff]
Patch the groff ebuild to brand .Os as Gentoo Linux/FreeBSD in mdoc.local
Comment 2 SpanKY gentoo-dev 2009-03-14 12:45:36 UTC
not sure where this would show up, but what about this simpler change:

        fi

+       cat <<-EOF >> tmac/mdoc.local
+       .ds volume-operating-system Gentoo
+       .ds operating-system Gentoo/${KERNEL}
+       .ds default-operating-system Gentoo/${KERNEL}
+       EOF
+
        if use linguas_ja ; then
Comment 3 Roy Marples 2009-03-14 13:45:58 UTC
Works For Me

Is $KERNEL set somewhere in profile? I saw an entry for fbsd, but not for linux.
Comment 4 Roy Marples 2009-03-14 13:46:38 UTC
(In reply to comment #2)
> not sure where this would show up, but what about this simpler change:

Gentoo/linux

In the lower left corner of the man page.
Comment 5 SpanKY gentoo-dev 2009-03-14 14:37:24 UTC
linux is set by default in base/

added to the tree, thanks

http://sources.gentoo.org/sys-apps/groff/groff-1.20.1-r1.ebuild?r1=1.9&r2=1.10