Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156427 - sci-visualization/gnuplot-4.2_rc1 is missing tetex dependency
Summary: sci-visualization/gnuplot-4.2_rc1 is missing tetex dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Grant Goodyear (RETIRED)
URL: http://overlay.watzke.cz/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-27 10:34 UTC by David Watzke
Modified: 2010-02-03 20:48 UTC (History)
2 users (show)

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


Attachments
Makefile.am.patch (Makefile.am.patch,874 bytes, patch)
2007-03-03 21:31 UTC, Sebastian Schubert
Details | Diff
Makefile.in.patch (Makefile.in.patch,1015 bytes, patch)
2007-03-03 21:32 UTC, Sebastian Schubert
Details | Diff
gnuplot-4.2_rc4 ebuild (gnuplot-4.2_rc4-r1.ebuild,4.30 KB, text/plain)
2007-03-03 22:34 UTC, Sebastian Schubert
Details
Makefile.am patch (Makefile.am.patch,930 bytes, patch)
2007-03-03 22:35 UTC, Sebastian Schubert
Details | Diff
Makefile.in patch (Makefile.in.patch,1006 bytes, patch)
2007-03-03 22:35 UTC, Sebastian Schubert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Watzke 2006-11-27 10:34:51 UTC
sci-visualization/gnuplot-4.2_rc1 is missing tetex dependency

I have fixed it (just for myself and users of my overlay) like this:

< IUSE="doc emacs gd ggi pdf plotutils png readline svga X xemacs wxwindows"
> IUSE="doc emacs gd ggi pdf plotutils png readline svga X xemacs wxwindows latex"

added 'latex? ( || ( app-text/tetex app-text/cstetex ) )' (not sure if correct) to DEPEND

and to begin of src_compile() function added something like this:

if ! use latex; then
      sed -i '/^SUBDIRS/ s/LaTeX//' share/Makefile.in || die "sed failed"
fi
Comment 1 Sebastian Schubert 2007-03-03 21:30:53 UTC
Please change (eg in your overlay) the dependency to virtual/tetex so one is able to use texlive.  In addition, please add the following patches to the Makefiles in share/LaTeX to put the configuration file in TEXFMSITE where Gentoo should put its TeX files.

thx
Comment 2 Sebastian Schubert 2007-03-03 21:31:41 UTC
Created attachment 111968 [details, diff]
Makefile.am.patch

TEXFMLOCAL -> TEXMFSITE
Comment 3 Sebastian Schubert 2007-03-03 21:32:10 UTC
Created attachment 111969 [details, diff]
Makefile.in.patch

TEXMFLOCAL -> TEXMFSITE
Comment 4 Sebastian Schubert 2007-03-03 22:34:14 UTC
Created attachment 111988 [details]
gnuplot-4.2_rc4 ebuild

I added the necessary changes to the ebuild of Grant Goodyear's overlay.
Comment 5 Sebastian Schubert 2007-03-03 22:35:01 UTC
Created attachment 111990 [details, diff]
Makefile.am patch

Needed by rc 4
Comment 6 Sebastian Schubert 2007-03-03 22:35:59 UTC
Created attachment 111991 [details, diff]
Makefile.in patch

Needed by rc 4
Comment 7 Danny van Dyk (RETIRED) gentoo-dev 2007-04-25 21:29:06 UTC
Fixed as of sci-visualization/gnuplot-4.2_rc4. I used sed instead of your patch files.
Comment 8 Christoph Junghans (RETIRED) gentoo-dev 2010-02-03 20:48:22 UTC
Finally fixed upstream, --without-latex and --texdir was added to configure