Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380841 - app-text/texlive-2011 and doc USE flag for modules
Summary: app-text/texlive-2011 and doc USE flag for modules
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-27 13:02 UTC by Marcus Becker
Modified: 2011-08-27 19:27 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 Marcus Becker 2011-08-27 13:02:31 UTC
The doc USE flag for app-text/texlive-2011 should be inherited for all pulled packages...

disi-bigtop ~ # emerge -pv $(qlist -C -I texlive)

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-text/texlive-core-2011-r4  USE="X xetex -cjk -doc -source -tk" 0 kB
[ebuild   R    ] dev-texlive/texlive-documentation-base-2011  USE="-source" 0 kB
[ebuild   R    ] dev-texlive/texlive-basic-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-documentation-english-2011  USE="-source" 0 kB
[ebuild   R    ] dev-texlive/texlive-latex-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-fontsrecommended-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-genericrecommended-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-metapost-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-pictures-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-fontsextra-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-fontutils-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-genericextra-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-langenglish-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-luatex-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-plainextra-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-latexextra-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-mathextra-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-pstricks-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-bibtexextra-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-context-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-formatsextra-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-htmlxml-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-latexrecommended-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-texinfo-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-science-2011  USE="-doc -source" 0 kB
[ebuild   R    ] dev-texlive/texlive-xetex-2011  USE="X -doc -source" 0 kB
[ebuild   R    ] app-text/texlive-2011  USE="X context detex doc dvipdfm extra graphics luatex png pstricks science truetype xetex xml -cjk -dvi2tty -games -humanities -jadetex -music -omega -pdfannotextractor -publishers -tex4ht -xindy" LINGUAS="en en_GB -af -ar -as -bg -bn -bo -ca -cs -cy -da -de -el -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -kn -ko -la -lo -lt -lv -ml -mn -mr -nb -nl -nn -no -or -pa -pl -pt -ro -ru -sa_IN -sk -sl -sr -sv -ta -te -th -tk -tr -uk -vi -zh" 0 kB

Otherwise it is pretty useless, since texdoc will not find anything or you manually enable it for each of those packages. :(
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-27 15:17:07 UTC
USE=doc in texlive-2011.ebuild installs documentation for that very package. This has nothing to do with the documentation of its RDEPEND packages. Forcing ("inheriting") a USE flag for the deps would mean less choice, not more convenience.
Comment 2 Alexis Ballier gentoo-dev 2011-08-27 18:04:06 UTC
(In reply to comment #1)
> USE=doc in texlive-2011.ebuild installs documentation for that very package.
> This has nothing to do with the documentation of its RDEPEND packages. Forcing
> ("inheriting") a USE flag for the deps would mean less choice, not more
> convenience.

agreed; the doc useflag on app-text/texlive pulls generic documentation, like latex tutorials; with your LINGUAS settings, it'll pull the tutorials in those languages ;=) if you want specific documentation you should enable the useflag on the specific packagess.
Comment 3 Marcus Becker 2011-08-27 19:27:13 UTC
On the LaTeX tutorial in London yesterday, I felt kind of stupid when texdoc didn't show up anything.

Usually I browse websites to gather information(which is stupid, the texdoc stuff is much better) and didn't know the 'doc' USE flag on TexLive is not enough to get the actual Latex-core documentation...

But it's ok, I can put the USE flag on the packages. This was just some idea I got yesterday :)