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

Bug 269339

Summary: sys-apps/pm-utils-1.2.5 remove or make optional the DEPEND on app-text/xmlto
Product: Gentoo Linux Reporter: avx <idevelop>
Component: New packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description avx 2009-05-10 23:01:18 UTC
The current ebuild of sys-power/pm-utils gives a DEPEND on app-text/xmlto. xmlto is only needed to build the manpages, but these also come pre-build in the tarball.
In turn, xmlto also pulls docbook-xml-dtd and therefor also docbook-xsl-stylesheets and sgml-common.

Reading the official changelog, xmlto ain't mandatory no more and the package compiles clean without it being available.

In my eyes, this is unneeded, so either there should be a USE-Flag like "doc" or it should be completly stripped off the ebuild and just copy the manpages coming with the tarball.

Reproducible: Always

Steps to Reproduce:
1. emerge pm-utils
2. see xmlto getting pulled in
3. be annoyed

Actual Results:  
pm-utils pulling xmlto, even if not really needed

Expected Results:  
emerge pm-utils with only the really needed deps or getting asked about building manpages - especially ugly since I've got FEATURES="... nodoc noinfo noman ..."
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-05-12 15:33:12 UTC
Okay, xmlto isn't needed, but it's automagic. Removed the dep and added a note for now (till someone makes it non-automagic ;p)
Comment 2 avx 2009-05-13 06:12:13 UTC
Thanks, enough for me, I'm gonna bug upstream about an --configure-option.