Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can I make /usr/share/doc/** not compressed? [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fpemud
Guru
Guru


Joined: 15 Feb 2012
Posts: 350

PostPosted: Sat Dec 03, 2022 12:26 pm    Post subject: Can I make /usr/share/doc/** not compressed? [solved] Reply with quote

portage installs files in /usr/share/doc bz2 compressed.
for example:
├── zip-3.0-r7
│   ├── BUGS.bz2
│   ├── CHANGES.bz2
│   ├── README.CR.bz2
│   ├── README.bz2
│   ├── TODO.bz2
│   ├── WHATSNEW.bz2
│   ├── WHERE.bz2
│   ├── algorith.txt.bz2
│   ├── extrafld.txt.bz2
│   ├── ntsd.txt.bz2
│   ├── timezone.txt.bz2
│   ├── txtvsbin.txt.bz2
│   └── ziplimit.txt.bz2

This is not very convenient.
Is there any way I can configure portage install plain doc files? Especially when my harddisk is large enough and uses filesystem compression?


Last edited by fpemud on Sat Dec 03, 2022 2:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3934

PostPosted: Sat Dec 03, 2022 1:06 pm    Post subject: Reply with quote

Quote:

This is not very convenient.


But why?
You may use zcat, bzcat etc to view them just fine.
_________________
:)
Back to top
View user's profile Send private message
hdcg
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2013
Posts: 121

PostPosted: Sat Dec 03, 2022 1:34 pm    Post subject: Reply with quote

Hi fpemud,

as alamahant stated. Even less is working right away.
However as Gentoo is about choice have a look at
Code:
man make.conf

Especially
Code:
       PORTAGE_COMPRESS = "bzip2"
              This variable contains the command used to compress documentation during the install phase.

       PORTAGE_COMPRESS_EXCLUDE_SUFFIXES = "gif htm[l]? jp[e]?g pdf png"
              This  variable  contains  a  space  delimited list of file suffixes for which matching files are excluded when the PORTAGE_COMPRESS command is
              called. Regular expressions are supported and the match is performed only against the portion of the file name which follows the  last  period
              character.

       PORTAGE_COMPRESS_FLAGS = "-9"
              This variable contains flags for the PORTAGE_COMPRESS command.


Best Regards,
Holger
Back to top
View user's profile Send private message
fpemud
Guru
Guru


Joined: 15 Feb 2012
Posts: 350

PostPosted: Sat Dec 03, 2022 2:55 pm    Post subject: Reply with quote

hdcg, Thanks.

alamahant, yes you're right, the inconvenience is minor, tools are ready. But there're still some cases.
For example:
net-libs/stem installs its doc as a web data directory, which is comprised from many rst files (restructured text) hyperlinked to each other.
There would be no tools (like dev-python/sphinx) to process or view them conveniently if they are in compressed format.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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