Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Do I really need man-db?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Tue Nov 21, 2017 2:41 pm    Post subject: Do I really need man-db? Reply with quote

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
View user's profile Send private message
grumblebear
Apprentice
Apprentice


Joined: 26 Feb 2008
Posts: 202

PostPosted: Tue Nov 21, 2017 9:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Nov 21, 2017 11:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3345
Location: Rasi, Finland

PostPosted: Wed Nov 22, 2017 9:06 am    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Nov 23, 2017 5:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum