Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152407 - [metabug] Several ebuilds depend on app-text/tetex instead of virtual/tetex
Summary: [metabug] Several ebuilds depend on app-text/tetex instead of virtual/tetex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords: Tracker
Depends on: 136689 152409 152410 152411 152412 152413
Blocks:
  Show dependency tree
 
Reported: 2006-10-22 12:07 UTC by David Klempner
Modified: 2007-01-24 20:07 UTC (History)
0 users

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 David Klempner 2006-10-22 12:07:21 UTC
There are several packages providing virtual/tetex, being derivative supersets of tetex. Some packages (notably Canna) require, say, ptex to build their documentation. Almost none legitimately require app-text/tetex.

This is a metabug to capture these issues.

Depending on app-text/tetex is a fairly common bug. Just about the only legitimate non-bug reasons to even mention it in an ebuild are if the package is very tex related or if you want to block specific versions of tetex. (and, even for the latter, most of those are unnecessary with virtual/tetex-2 and virtual/tetex-3.

Almost certainly, if an ebuild even mentions app-text/tetex and the author is not aware of virtual/tetex et al, it is probably a bug. About the only thing coming close to an exception is that app-text/evince, if I recall correctly, doesn't detect (at least) ptex. With that exception, most bare unversioned app-text/tetex depends can be replaced with virtual/tetex.
Comment 1 David Klempner 2006-10-22 12:13:57 UTC
A fairly naive grep through the portage tree for mentions of app-text/tetex. Most of these don't represent bugs.

app-office/gnucash/gnucash-2.0.2.ebuild:		app-text/tetex )
app-office/gnucash/gnucash-2.0.1.ebuild:	tetex? ( app-text/tetex )"
app-text/dvipdfmx/dvipdfmx-20050201.ebuild:	if has_version '>=app-text/tetex-3' || has_version '>=app-text/ptex-3.1.8' ; then
app-text/xdvik/xdvik-22.84.10.ebuild:	if has_version app-text/tetex && built_with_use app-text/tetex X ; then
app-text/dvipdfm/dvipdfm-0.13.2c.ebuild:DEPEND="!>=app-text/tetex-2
app-text/dvipdfm/dvipdfm-0.13.2c.ebuild:	!>=app-text/tetex-2
app-text/texlive/texlive-2005.ebuild:	!app-text/tetex
app-text/evince/evince-0.5.0.ebuild:		app-text/tetex
app-text/evince/evince-0.4.0-r3.ebuild:	dvi? ( app-text/tetex )
app-text/evince/evince-0.5.3-r1.ebuild:		app-text/tetex
app-text/evince/evince-0.5.1.ebuild:		app-text/tetex
app-text/linuxdoc-tools/linuxdoc-tools-0.9.21.ebuild:	!<app-text/tetex-3"
app-text/linuxdoc-tools/linuxdoc-tools-0.9.21.ebuild:	tetex? ( >=app-text/tetex-3 )"
app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p4.ebuild:	!<app-text/tetex-3"
app-text/linuxdoc-tools/linuxdoc-tools-0.9.21_p4.ebuild:	tetex? ( >=app-text/tetex-3 )"
app-text/jadetex/jadetex-3.13-r1.ebuild:	if has_version '>=app-text/tetex-2.96' || has_version '>=app-text/ptex-3.1.4.20041026' ; then
app-text/jadetex/jadetex-3.12.ebuild:	if has_version '>=app-text/tetex-2.96' || has_version '>=app-text/ptex-3.1.4.20041026' ; then
dev-ada/asis/asis-3.44.ebuild:	app-text/tetex
dev-embedded/avrdude/avrdude-5.1.ebuild:			   app-text/tetex
dev-lang/mmix/mmix-20060324.ebuild:	app-text/tetex"
dev-tex/pgf/pgf-0.65-r1.ebuild:	!>=app-text/tetex-3.0"
dev-tex/pgf/pgf-1.01.ebuild:DEPEND="!>=app-text/tetex-3.0
dev-tex/pgf/pgf-0.64-r1.ebuild:	!>=app-text/tetex-3.0"
dev-tex/xkeyval/xkeyval-2.4-r1.ebuild:DEPEND="!>=app-text/tetex-3.0"
dev-tex/xkeyval/xkeyval-1.4-r1.ebuild:DEPEND="!>=app-text/tetex-3.0"
dev-tex/extsizes/extsizes-1.0.ebuild:	!>=app-text/tetex-2
dev-tex/ha-prosper/ha-prosper-4.21.ebuild:	|| ( dev-tex/xkeyval >=app-text/tetex-3 >=app-text/ptex-3.1.8 )"
dev-tex/SIunits/SIunits-1.25.ebuild:DEPEND="!>=app-text/tetex-2.96"
dev-tex/latex-beamer/latex-beamer-3.06-r1.ebuild:	!>=app-text/tetex-3.0"
dev-tex/latex-beamer/latex-beamer-3.01-r1.ebuild:	!>=app-text/tetex-3.0"
dev-tex/latex-beamer/latex-beamer-3.06.ebuild:	!>=app-text/tetex-3.0"
dev-tex/latex-beamer/latex-beamer-3.00-r1.ebuild:	!>=app-text/tetex-3.0"
dev-tex/koma-script/koma-script-20040616.ebuild:DEPEND="!>=app-text/tetex-3.0"
dev-tex/koma-script/koma-script-20051125.ebuild:RDEPEND="!>=app-text/tetex-3.0"
dev-tex/koma-script/koma-script-20040824.ebuild:DEPEND="!>=app-text/tetex-3.0"
dev-tex/eurosym/eurosym-1.4.ebuild:DEPEND="!>=app-text/tetex-2
dev-tex/currvita/currvita-0.9i.ebuild:DEPEND="!>=app-text/tetex-2
dev-tex/algorithms/algorithms-2005.07.05.ebuild:DEPEND="!>=app-text/tetex-3.0"
dev-tex/lineno/lineno-3.10-r1.ebuild:DEPEND="!>=app-text/tetex-3.0"
dev-tex/xcolor/xcolor-2.00-r1.ebuild:	!>=app-text/tetex-3.0"
dev-tex/xcolor/xcolor-1.11-r1.ebuild:	!>=app-text/tetex-3.0"
dev-tex/xmltex/xmltex-1.9-r1.ebuild:	if has_version '>=app-text/tetex-2.96' || has_version '>=app-text/ptex-3.1.4.20041026' ; then
dev-tex/g-brief/g-brief-4.0.1.ebuild:DEPEND="!>=app-text/tetex-2.96"
dev-tex/floatflt/floatflt-1.31a.ebuild:DEPEND="!>=app-text/tetex-2.96"
games-board/freedoko/freedoko-0.7.3.ebuild:	doc? ( app-text/tetex )
kde-base/kdvi/kdvi-3.5.5.ebuild:	|| ( >=app-text/tetex-2
kde-base/kdvi/kdvi-3.5.2.ebuild:	|| ( >=app-text/tetex-2
kde-base/kdvi/kdvi-3.5.4.ebuild:	|| ( >=app-text/tetex-2
kde-base/kdvi/kdvi-3.5.3.ebuild:	|| ( >=app-text/tetex-2
kde-base/kdegraphics/kdegraphics-3.5.4.ebuild:	|| ( >=app-text/tetex-2
kde-base/kdegraphics/kdegraphics-3.5.3.ebuild:	|| ( >=app-text/tetex-2
kde-base/kdegraphics/kdegraphics-3.5.5.ebuild:	|| ( >=app-text/tetex-2
kde-base/kdegraphics/kdegraphics-3.5.2.ebuild:	|| ( >=app-text/tetex-2
net-mail/freepops/freepops-0.0.98-r1.ebuild:#		app-text/tetex
net-mail/freepops/freepops-0.0.31.ebuild:		app-text/tetex
sci-electronics/gnucap/gnucap-20060708.ebuild:DEPEND="doc? ( app-text/tetex )
sci-electronics/gnucap/gnucap-20060830.ebuild:DEPEND="doc? ( app-text/tetex )"
sci-electronics/gnucap/gnucap-0.35.ebuild:DEPEND="doc? ( app-text/tetex )"
sys-apps/texinfo/texinfo-4.8-r4.ebuild:		has_version '<app-text/tetex-3' && rm -f "${D}"/usr/bin/texi2pdf
sys-apps/texinfo/texinfo-4.8-r3.ebuild:		has_version '<app-text/tetex-3' && rm -f "${D}"/usr/bin/texi2pdf
sys-apps/texinfo/texinfo-4.8-r2.ebuild:		has_version '<app-text/tetex-3' && rm -f "${D}"/usr/bin/texi2pdf
x11-libs/ewl/ewl-9999.ebuild:	doc? ( app-text/tetex )"
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-10-22 12:18:38 UTC
No, please... Each of these ebuilds needs to be checked whether it actually works or not with something else. Filing a monster bug about ~30 ebuilds won't plain go anywhere (plus check for most recent versions only, a couple of those in the list are definitely already changed).

Also, the list desperate needs a cleanup for irrelevant stuff (those blockers are not related to this at all, they are there for a reason).
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-22 13:00:22 UTC
Cleaned-up list - latest version only, minus ebuilds where the virtual is not used intentionally (like kde-base/kdegraphics or kde-base/kdvi)

app-office/gnucash
app-text/linuxdoc-tools
dev-ada/asis
dev-embedded/avrdude
dev-lang/mmix
games-board/freedoko
sci-electronics/gnucap
x11-libs/ewl
Comment 4 David Klempner 2006-10-22 15:04:54 UTC
Thanks; I filed bugs for the obvious cases already. 

Specifically, anything depending on bare app-text/tetex just to compile a few .tex documentation documentation files should depend on virtual instead if there is no reason to believe that ptex et al won't work. There's no more need to specifically check if an ebuild works with ptex than to specifically check if it works with, say, tetex-2. It's vastly more likely that the latter is a problem, given the large number of added packages in tetex-3. 

In any event, the previous list was specifically intended to be a superset, and I wasn't ever planning to file bugs against most of them. The ones I *really* care about are the unnecessary app-text/tetex depends that try to pull in tetex.

That said, a lot of the blocks predate the inclusion of tetex-2 and tetex-3 virtuals, and a fair number are insufficient. Specifically, a lot of tex packages that are included in tetex-3 block >=app-text/tetex-3 when they should block >=virtual/tetex-3 instead. Someone on the text-markup team ought to look over the dev-tex ebuilds for that issue, in particular. At first glance it looks like all but two of the aforementioned ebuilds should properly block either virtual/tetex-2 or virtual/tetex-3 instead.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2007-01-24 20:07:33 UTC
looks like we can close this finally.