1 |
Hello. |
2 |
|
3 |
On my system Portage uses the following two variables for compressing |
4 |
files in /usr/share/doc: |
5 |
|
6 |
> $ portageq envvar PORTAGE_COMPRESS |
7 |
> xz |
8 |
|
9 |
> $ portageq envvar PORTAGE_COMPRESS_EXCLUDE_SUFFIXES |
10 |
> css gif htm[l]? jp[e]?g js pdf png |
11 |
|
12 |
It seems anyway that some files are not compressed: |
13 |
|
14 |
> $ find /usr/share/doc -type f -regextype posix-extended ! -regex ".*\.(css|gif|htm[l]?|jp[e]?g|js|pdf|png|xz)" | wc -l |
15 |
> 79 |
16 |
|
17 |
I won't list all of them here, just some examples: |
18 |
|
19 |
> /usr/share/doc/gnome-shell-3.4.2/AUTHORS |
20 |
> /usr/share/doc/udisks-2.0.0/html/udisks2/index.sgml |
21 |
> /usr/share/doc/groff-1.21-r1/pic.ps |
22 |
> /usr/share/doc/automake-1.12.5/amhello-1.0.tar.gz |
23 |
|
24 |
My goal is to have everything under /usr/share/doc compressed with xz, |
25 |
or at least to understand why something is being excluded from |
26 |
compression. Perhaps it is due to some additional rules I'm not aware |
27 |
of, or because of some bugs. |
28 |
|
29 |
I checked the ebuilds of the packages the previous files belong to, but |
30 |
I found nothing interesting. |
31 |
|
32 |
It would be great if anyone who is interested could check his/her own |
33 |
system too. |
34 |
|
35 |
Thank you. |