Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438978 - dodoc should have an option to not compress docs
Summary: dodoc should have an option to not compress docs
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-19 18:45 UTC by Pacho Ramos
Modified: 2012-10-19 19:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2012-10-19 18:45:55 UTC
This would allow us to not need to manually run:
                insinto /usr/share/doc/${PF}/tutorial
                doins docs/tutorial/html/*

in gmime ebuilds (and similar).

Also, in general, html files inside docs are nor oriented to be compressed, maybe they shouldn't be compressed by default.

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2012-10-19 18:58:49 UTC
The defaults for docompress (since EAPI 4) are specified by PMS (bug #260118). You can use, for example, `docompress -x /usr/share/doc/${PF}/tutorial` to disable compression for a particular directory.

There's also a PORTAGE_COMPRESS_EXCLUDE_SUFFIXES variable that controls defaults. See `man make.conf`. It's supposed to disable html compression by default. You can use this command to check the current setting:

   portageq envvar PORTAGE_COMPRESS_EXCLUDE_SUFFIXES
Comment 2 Pacho Ramos gentoo-dev 2012-10-19 19:13:40 UTC
+  19 Oct 2012; Pacho Ramos <pacho@gentoo.org> gmime-2.6.11.ebuild:
+  dodoc now skips html files by default with eapi4 and, then, doins workaround
+  is no longer needed. Thanks a lot to Zac Medico in bug #438978 for the
+  explanation.
+