public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Cc: fturco@fastmail.fm
Subject: Re: [gentoo-user] Some files in /usr/share/doc are not compressed
Date: Thu, 20 Dec 2012 00:11:38 +0200	[thread overview]
Message-ID: <20121220001138.754a8d88@khamul.example.com> (raw)
In-Reply-To: <1355935290.8809.140661168019761.15C370C7@webmail.messagingengine.com>

On Wed, 19 Dec 2012 17:41:30 +0100
Francesco Turco <fturco@fastmail.fm> wrote:

> 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.

That stuff is controlled by the ebuild, IIRC ebuilds should call
function dodoc so they do with docs what you want them to do. The
function name may well have changed and been superceded since last I
looked.

The reason you find nothing interesting in the ebuild is because
something that should be there isn't. ebuilds not following rules wrt
doc files is a bug and should be filed at bgo as such.


-- 
Alan McKinnon
alan.mckinnon@gmail.com



  reply	other threads:[~2012-12-19 22:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121220001138.754a8d88@khamul.example.com \
    --to=alan.mckinnon@gmail.com \
    --cc=fturco@fastmail.fm \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox