View previous topic :: View next topic |
Author |
Message |
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Tue Nov 21, 2017 2:41 pm Post subject: Do I really need man-db? |
|
|
I recently did @world update. There are few blockers: libnsl and glibc. I could probably just forcibly unmerge libnsl...
shellcmd: equery d -D libnsl : | app-text/opensp-1.5.2-r6
app-text/openjade-1.3.2-r7
app-text/opensp-1.5.2-r6
app-text/po4a-0.47-r1
sys-apps/man-db-2.7.6.1-r2
virtual/man-0-r1
sys-apps/man-pages-4.13
sys-apps/man-pages-posix-2013a
sys-apps/man-pages-4.13 | ... then update glibc, then @world again.
But as you can see from the output of equery there, man-db needs it via its dependencies. I also checked that opensp and po4a weren't needed by any other package than those on the listing above.
So my question goes: Do I really need man-db? I mean - it cannot be that bad for man to read from compressed files straight from the fs. Right? My PC only has SSDs as mass storage media, so seeking a single man file won't take too long (and wouldn't take on HDD either).
I tried to see if there's some use flag that enables the use of database for man pages, but it seems that there isn't.
Second question: Is it possible to get rid of man-db without "hacking" or using some external (unoffical) overlays? _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
grumblebear Apprentice
Joined: 26 Feb 2008 Posts: 202
|
Posted: Tue Nov 21, 2017 9:02 pm Post subject: |
|
|
man-db is part of your @system set. But you can use sys-apps man instead. which does not have those dependencies.
Code: | emerge -C man-db
emerge -1 sys-apps/man
emerge --depclean |
I recently switched the other way round, because sys-apps/man seems largely unmaintained and does not get encodings right. But if you don't care much about man pages or are reading them only in English, then go. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue Nov 21, 2017 11:03 pm Post subject: |
|
|
You can get rid of the huge tree of junk by setting USE="-nls" on man-db. I haven't noticed any ill effects from it so far, it still displays weird characters fine. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Wed Nov 22, 2017 9:06 am Post subject: |
|
|
Thanks for the replies.
I do read all the man pages in english. I have everything in en_US locale, except keyboard layout, timezone and time format, I think.
I'll try out forcing the nls off first. Then I'll see if I still want to remove man-db.
Thanks again. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Nov 23, 2017 5:11 am Post subject: |
|
|
Zucca wrote: | I'll try out forcing the nls off first. | From my settings here: /etc/portage/make.conf: | ...
LINGUAS=""
L10N=""
... |
/etc/portage/package.use wrote: | */* -bluetooth -dbus -introspection -ldap -libnotify -nls -pam -udisks
... |
|
|
Back to top |
|
|
|