Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 206368

Summary: dev-tex/latex-beamer-3.07 doc files are unusable being bzipped
Product: Gentoo Linux Reporter: András <escarabajo>
Component: New packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for correction
do not compress doc files
slightly modified patch for latex-beamer-3.07.ebuild

Description András 2008-01-17 17:39:08 UTC
Emerging the latex-beamer ebuild with USE doc enabled results in installing the doc files bzipped. That's because of calling prepalldoc at the end of src_install.

This must be a mistake, these files are not usable in compressed form (.tex, .jpg, .pdf).

Using the examples use flag should also be considered, like in other ebuilds (graphviz, python, sun-jdk, etc.)

thx
Comment 1 András 2008-01-17 17:43:16 UTC
Created attachment 141162 [details, diff]
patch for correction

* removed prepalldocs
* doc USE flag installs only the guide
* introduced examples USE flag, installs the directories with examples
Comment 2 András 2008-01-17 17:53:21 UTC
Created attachment 141164 [details, diff]
do not compress doc files

The same patch again in unified format this time, sorry.
Comment 3 András 2008-01-19 19:30:19 UTC
Created attachment 141322 [details, diff]
slightly modified patch for latex-beamer-3.07.ebuild

Delete lyx example files if USE lyx is not enabled.
Comment 4 Alexis Ballier gentoo-dev 2008-02-09 13:36:46 UTC
fixed, thanks!