Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519424 - net-misc/x2goserver - USE=doc should not be used to (not) install HTML documentation
Summary: net-misc/x2goserver - USE=doc should not be used to (not) install HTML docume...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-08-08 16:05 UTC by Ian Abbott
Modified: 2014-08-22 09:25 UTC (History)
0 users

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


Attachments
ebuild patch for net-misc/x2goserver-4.0.1.15 (x2goserver-4.0.1.15.ebuild.patch,1.13 KB, patch)
2014-08-08 16:23 UTC, Ian Abbott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Abbott 2014-08-08 16:05:32 UTC
For the net-misc/x2goserver ebuilds, the "doc" use-flag merely causes HTML versions of the man pages to be built.  They only appear to get built so that they can be uploaded to the x2go.org website by Makefile.docupload.  They do not get installed on the local system.  The ebuild installs nothing in /usr/share/doc even with the "doc" use-flag set.

The "doc" use-flag should be removed, and the ebuild modified to avoid building the html versions of the man pages unconditionally, and the build dependency on sys-apps/man should be removed.

It's even worse, because the ebuild has the "doc" use-flag turned on by default ("+doc") even though it is useless.  This is more annoying for those who install sys-apps/man-db rather than sys-apps/man as they have to explicitly use "-doc" to build this package to avoid dependency conflicts with sys-apps/man.

Reproducible: Always
Comment 1 Ian Abbott 2014-08-08 16:23:58 UTC
Created attachment 382536 [details, diff]
ebuild patch for net-misc/x2goserver-4.0.1.15

Proposed patch to remove "doc" use-flag from net-misc/x2goserver-4.0.1.15.  The patch for the other versions would be very similar.
Comment 2 Bernard Cafarelli gentoo-dev 2014-08-22 09:25:23 UTC
Thanks for the report! Some times ago, it did install some html documentation, but now it is indeed a useless dependency on man

I cleaned the relevant lines in current x2goserver-4.0.1.15 ebuild