Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74043 - Request for "doc" use flag for x11-libs/wxGTK
Summary: Request for "doc" use flag for x11-libs/wxGTK
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on: 89937
Blocks:
  Show dependency tree
 
Reported: 2004-12-10 16:05 UTC by Matteo Settenvini
Modified: 2005-04-21 19:33 UTC (History)
1 user (show)

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 Matteo Settenvini 2004-12-10 16:05:09 UTC
As a developer, I would like wxGTK to have a "doc" use flag to install documentation along with the libs.

The links for the documentation download are:
http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.5.3-HTMLHelp.zip
http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.5.3-HTML.zip
http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.5.3-PDF.tar.gz
http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.5.3-HTB.tar.gz

Probably just HTML and HTB are enough (HTB can be opened by the helpviewer application installed along wxGTK), others would just waste space (and *this* particular PDF is rather impratical to read).
Comment 1 david somers 2005-02-26 17:32:25 UTC
This is very easy to implement.

In the ebuild, mod SRC_URI to be like:

SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2
    doc? (mirror://sourceforge/wxwindows/wxWidgets-${PV}-HTML.tar.gz)"

Then in src_install() add the following:

    if use doc; then
        tar zxvf ${DISTDIR}/wxWidgets-${PV}-HTML.tar.gz
        dohtml -r wxWidgets-${PV}/contrib/docs/html/ogl/*
        dohtml -r wxWidgets-${PV}/docs/html/*
    fi
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2005-04-21 19:33:54 UTC
Thanks David, I added this to 2.6 which is going in portage ASAP and 2.5* is being removed.