public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Some files in /usr/share/doc are not compressed
@ 2012-12-19 16:41 Francesco Turco
  2012-12-19 22:11 ` Alan McKinnon
  2012-12-20 11:38 ` julian
  0 siblings, 2 replies; 6+ messages in thread
From: Francesco Turco @ 2012-12-19 16:41 UTC (permalink / raw
  To: gentoo-user

Hello.

On my system Portage uses the following two variables for compressing
files in /usr/share/doc:

> $ portageq envvar PORTAGE_COMPRESS
> xz

> $ portageq envvar PORTAGE_COMPRESS_EXCLUDE_SUFFIXES
> css gif htm[l]? jp[e]?g js pdf png

It seems anyway that some files are not compressed:

> $ find /usr/share/doc -type f -regextype posix-extended ! -regex ".*\.(css|gif|htm[l]?|jp[e]?g|js|pdf|png|xz)" | wc -l
> 79

I won't list all of them here, just some examples:

> /usr/share/doc/gnome-shell-3.4.2/AUTHORS
> /usr/share/doc/udisks-2.0.0/html/udisks2/index.sgml
> /usr/share/doc/groff-1.21-r1/pic.ps
> /usr/share/doc/automake-1.12.5/amhello-1.0.tar.gz

My goal is to have everything under /usr/share/doc compressed with xz,
or at least to understand why something is being excluded from
compression. Perhaps it is due to some additional rules I'm not aware
of, or because of some bugs.

I checked the ebuilds of the packages the previous files belong to, but
I found nothing interesting.

It would be great if anyone who is interested could check his/her own
system too.

Thank you.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-12-20 11:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 16:41 [gentoo-user] Some files in /usr/share/doc are not compressed Francesco Turco
2012-12-19 22:11 ` Alan McKinnon
2012-12-20  2:56   ` Marc Joliet
2012-12-20  9:57   ` Francesco Turco
2012-12-20 10:53     ` Francesco Turco
2012-12-20 11:38 ` julian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox