Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196745 - rename tetex USE flag to something more suitable
Summary: rename tetex USE flag to something more suitable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 223597 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-22 21:35 UTC by Maciej Piechotka
Modified: 2008-09-03 11:40 UTC (History)
4 users (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 Maciej Piechotka 2007-10-22 21:35:29 UTC
Since the tetex is not longer the only tex distribution in gentoo the use flag should be renamed in ebuilds (if the support is for tex not for tetex specificly).

Reproducible: Always
Comment 1 Alexis Ballier gentoo-dev 2007-11-13 10:42:39 UTC
do you have a list of packages where it would make sense to rename the tetex useflag to tex ?

There are probably many others useflag names that would be more explicit: kpathsea, latex, dvi, etc.
Comment 2 Alexis Ballier gentoo-dev 2007-11-19 10:00:55 UTC
Packages having a tetex useflag:


app-doc/doxygen
app-emacs/bbdb
app-office/lyx
app-text/a2ps
app-text/docbook-sgml-utils
app-text/linuxdoc-tools
app-text/sgmltools-lite
dev-lang/swi-prolog
dev-python/matplotlib
dev-python/pyopenssl 
kde-base/kdegraphics
kde-base/kdvi/kdvi 
media-libs/allegro
media-libs/freetype/freetype-1.3.1-r5.ebuild nls tetex 
sci-libs/plplot
sci-mathematics/maxima
sci-mathematics/octave
sci-physics/jaxodraw
sci-visualization/gnuplot/gnuplot-4.2.2.ebuild
www-servers/boa
xfce-extra/thunar-thumbnailers
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-20 12:00:29 UTC
app-office/grisbi:print - Enable TeX and printing support

That's what I found.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-20 12:31:54 UTC
Hi teams,

you all have USE=tetex on the below packages, which is not describing capabilities but a bundle to achieve it.  teTeX won't be the standard installation for TeX in the near future on Gentoo, it is deprecated and we should all switch to TeXLive.
 So please check what your tetex USE flag is for and adjust it to one of the following:

latex -- install LaTeX support files or enable support for it in the program
dvi -- add support for the dvi format for displaying or output
kpathsea -- use kpathsea library for file lookup
tex -- install plain TeX support files or enable support for it in the program

If none of the above matches your needs, think of something yourself or ask here.  There are other TeX formats or variants as ConTeXt, XeTeX and the like, so have a close look which one is met here.
 The dependency has to be adjusted, too.  If there is only need for the core LaTeX functionality you can switch to virtual/latex-base, else stay with virtual/tetex until the new virtual/latex-full is introduced to the tree.
 Remove yourself as soon as you fixed it AND no USE flag with tetex is still in the tree.  Make stabilisation bugs block of this one.

dev-tools, nerdboy:
app-doc/doxygen

emacs:
app-emacs/bbdb

cjk, tex:
app-office/lyx

cjk, printing:
app-text/a2ps

sgml:
app-text/docbook-sgml-utils
app-text/linuxdoc-tools
app-text/sgmltools-lite

prolog:
dev-lang/swi-prolog

python:
dev-python/matplotlib
dev-python/pyopenssl 

kde:
kde-base/kdegraphics
kde-base/kdvi/kdvi 

games:
media-libs/allegro

fonts:
media-libs/freetype

sci, cryos:
sci-libs/plplot

sci-mathematics:
sci-mathematics/maxima

sci-mathematics, metalgod:
sci-mathematics/octave

nelchael, java:
sci-physics/jaxodraw

sci, opfer:
sci-visualization/gnuplot
(already fixed in 4.2.2-r1)

www-servers (?), maintainer-needed:
www-servers/boa

xfce:
xfce-extra/thunar-thumbnailers

gnome-office:
app-office/grisbi:print <- please check that USE flag, description reads as "Enable TeX and printing support"
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2007-11-20 15:10:30 UTC
I just fixed,

sci-mathematics/octave
sci-mathematics/maxima

thanks,
Markus
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-11-20 20:07:41 UTC
(In reply to comment #2)
> Packages having a tetex useflag:
> xfce-extra/thunar-thumbnailers

Converted to virtual/latex-base with USE latex since it's a script calling latex to generate thumbnails.
Comment 7 Keri Harris gentoo-dev 2007-11-21 05:22:59 UTC
dev-lang/swi-prolog fixed in CVS. Thanks for the guidance.
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-21 06:25:06 UTC
USE=latex will probably become a global one, but if you introduce some of the minor USE flags, think about having a time of both tetex and your new.  If users have set USE=tetex, notice them by ewarn that USE=tetex is deprecated.
Comment 9 Ulrich Müller gentoo-dev 2007-11-21 07:39:22 UTC
app-emacs/bbdb fixed; it has IUSE=tex and will keep IUSE=tetex for a transition period.

However, I think the tex flag is of limited use as long as there is no virtual/tex-base and one has to pull in latex-base with it.

If bbdb should end up as the only package in the tree with IUSE=tex, then we may consider using the latex flag instead.
Comment 10 Alexis Ballier gentoo-dev 2007-11-21 07:54:47 UTC
(In reply to comment #9)
> However, I think the tex flag is of limited use as long as there is no
> virtual/tex-base and one has to pull in latex-base with it.

if you think it is a good idea, just fire a mail to -dev to ask for it; you already have my support for it, I was using it in my texlive overlay before merging to the tree but didn't push for it as latex-base was sufficient and simpler.
Note: packages using only kpathsea can benefit from this virtual also.
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2007-11-22 02:18:29 UTC
freetype changed to USE=latex.
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-22 09:24:05 UTC
[This is a follow-up summary so we have all information in one place:
- new reference to virtual/tex-base to be introduced this week
- having tetex and new USE flag side by side
- straighten language]

Hi teams,

you all have USE=tetex on the below packages, which is not describing
capabilities but a bundle to achieve it.  teTeX won't be the standard
installation for TeX in the near future on Gentoo, it is deprecated and we
should all switch to TeXLive.
 So please check what your tetex USE flag is for and adjust it to one of the
following:

latex -- install LaTeX support files or enable support for it in the program (virtual/latex-base)
dvi -- add support for the dvi format for displaying or output
kpathsea -- use kpathsea library for file lookup (virtual/tex-base)
tex -- install TeX (only TeX nothing like LaTeX!) support files or enable support for it in the program (virtual/tex-base)

If none of the above matches your needs, think of something yourself or ask
here.  There are other TeX formats or variants as ConTeXt, XeTeX and the like,
so have a close look which one is met here.
 Maybe take into account having two USE flags with same functionality for some time: E.g. IUSE="tetex latex", where USE=tetex gives out a warning about deprecation by ewarn.
 The dependency has to be adjusted, too.  For example if there is only need for the core LaTeX functionality you can switch to virtual/latex-base, else stay with virtual/tetex until the new virtual/latex-full is introduced to the tree.
 Remove yourself as soon as you fixed it AND no USE flag with tetex is still in
the tree.  Make stabilisation bugs block this one.

dev-tools, nerdboy:
app-doc/doxygen

cjk, tex:
app-office/lyx

cjk, printing:
app-text/a2ps

sgml:
app-text/docbook-sgml-utils
app-text/linuxdoc-tools
app-text/sgmltools-lite

python:
dev-python/matplotlib
dev-python/pyopenssl 

kde:
kde-base/kdegraphics
kde-base/kdvi/kdvi 

games:
media-libs/allegro

sci, cryos:
sci-libs/plplot

nelchael, java:
sci-physics/jaxodraw

www-servers (?), maintainer-needed:
www-servers/boa

gnome-office:
app-office/grisbi:print <- please check that USE flag, description reads as
"Enable TeX and printing support"
Comment 13 Ali Polatel (RETIRED) gentoo-dev 2007-11-23 01:09:29 UTC
(In reply to comment #12)
> python:
> dev-python/matplotlib
> dev-python/pyopenssl 

matplotlib's tetex USE flag has been renamed to dvi.
pyopenssl's tetex USE flag has already been renamed to doc in the latest
version. I've made the change in previous versions as well.

Comment 14 Ali Polatel (RETIRED) gentoo-dev 2007-11-23 09:37:52 UTC
> matplotlib's tetex USE flag has been renamed to dvi.
sorry about this, changed to latex and added virtual/latex-base together with virtual/ghostscript to DEPEND. It requires a working latex installation and ghostscript for latex support.
Comment 15 Ulrich Müller gentoo-dev 2008-04-12 15:58:56 UTC
Update: What packages are left?

nerdboy, dev-tools:
   app-doc/doxygen

printing, cjk:
   app-text/a2ps

sgml:
   app-text/docbook-sgml-utils
   app-text/linuxdoc-tools
   app-text/sgmltools-lite

kde:
   kde-base/kdegraphics
   kde-base/kdvi

games:
   media-libs/allegro

cryos, sci:
   sci-libs/plplot

nelchael, java:
   sci-physics/jaxodraw

maintainer-needed, www-servers:
   www-servers/boa
Comment 16 Sébastien Fabbro (RETIRED) gentoo-dev 2008-04-12 18:00:22 UTC
sci-libs/plplot-5.5.2 : tetex has been renamed to local jadetex
Comment 17 Christian Faulhammer (RETIRED) gentoo-dev 2008-05-12 07:30:43 UTC
www-servers/boa fixed
Comment 18 Christian Faulhammer (RETIRED) gentoo-dev 2008-05-12 08:35:12 UTC
app-text/a2ps fixed, USE=tetex had no effect and automagic dependencies up to now.
Comment 19 Krzysztof Pawlik (RETIRED) gentoo-dev 2008-05-12 08:51:48 UTC
sci-physics/jaxodraw fixed.
Comment 20 Tristan Heaven (RETIRED) gentoo-dev 2008-05-12 23:26:14 UTC
media-libs/allegro done
Comment 21 Jan Gutter 2008-05-13 09:03:16 UTC
I've recently emerged texlive on x86 stable, this is the list of the useflags I had to toggle to prevent tetex from blocking:

=media-gfx/sane-backends-1.0.18-r6 -doc
=kde-base/kopete-3.5.8 -latex
=kde-base/kdvi-3.5.8 -tetex
=app-text/evince-2.20.2 -dvi
=app-crypt/mit-krb5-1.6.3-r1 -doc
=app-doc/doxygen-1.5.4 -tetex

Some of these might be fixed in ~x86, but I didn't check...
In addition, I needed to add the following keyword:

=app-text/mftrace-1.2.13 ~x86 x86
Comment 22 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-05-13 13:10:10 UTC
grisbi claims to need "LaTeX with unicode support" for printing.  The use flag description should probably just say printing, and it should probably be an RDEPEND and not also a DEPEND, but those are only minor issues, I think.  The bigger issue it the dep itself: it's currently virtual/tetex and >=dev-tex/latex-unicode-20041017.  Is there anything wrong with this dep?  If so, what should we change it to?
Comment 23 Alexis Ballier gentoo-dev 2008-05-13 18:52:01 UTC
(In reply to comment #22)
> grisbi claims to need "LaTeX with unicode support" for printing.  The use flag
> description should probably just say printing, and it should probably be an
> RDEPEND and not also a DEPEND, but those are only minor issues, I think.  The
> bigger issue it the dep itself: it's currently virtual/tetex and
> >=dev-tex/latex-unicode-20041017.  Is there anything wrong with this dep? 

well latex-unicode is included as ucs in texlive-latexrecommended but I had failures without texlive-latexextra.

What I would use as dep would be:
virutal/latex-base
|| ( dev-texlive/texlive-latexextra >=dev-tex/latex-unicode-20041017 )


and everything should be fine
Comment 24 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-05-19 18:27:57 UTC
Okay, grisbi is done.
Comment 25 Ulrich Müller gentoo-dev 2008-08-27 14:30:37 UTC
Update: What packages are left?

nerdboy, dev-tools:
   app-doc/doxygen

sgml:
   app-text/docbook-sgml-utils
   app-text/linuxdoc-tools
   app-text/sgmltools-lite

kde:
   kde-base/kdegraphics
   kde-base/kdvi
Comment 26 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-02 22:17:03 UTC
doxygen long time fixed by nerdboy.
Comment 27 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-02 22:26:09 UTC
KDE team, will you fix your two packages or can someone else do it?
Comment 28 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-02 22:58:38 UTC
All packages done for sgml.
Comment 29 Christian Faulhammer (RETIRED) gentoo-dev 2008-09-02 23:12:52 UTC
All fixed, closing.  reopen if you spot one I haven't
Comment 30 Pacho Ramos gentoo-dev 2008-09-03 11:40:02 UTC
*** Bug 223597 has been marked as a duplicate of this bug. ***