View previous topic :: View next topic |
Author |
Message |
fpemud Guru
Joined: 15 Feb 2012 Posts: 350
|
Posted: Sat Dec 03, 2022 12:26 pm Post subject: Can I make /usr/share/doc/** not compressed? [solved] |
|
|
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 |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3934
|
Posted: Sat Dec 03, 2022 1:06 pm Post subject: |
|
|
Quote: |
This is not very convenient.
|
But why?
You may use zcat, bzcat etc to view them just fine. _________________
|
|
Back to top |
|
|
hdcg Tux's lil' helper
Joined: 07 Apr 2013 Posts: 121
|
Posted: Sat Dec 03, 2022 1:34 pm Post subject: |
|
|
Hi fpemud,
as alamahant stated. Even less is working right away.
However as Gentoo is about choice have a look at
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 |
|
|
fpemud Guru
Joined: 15 Feb 2012 Posts: 350
|
Posted: Sat Dec 03, 2022 2:55 pm Post subject: |
|
|
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 |
|
|
|