Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 156427

Summary: sci-visualization/gnuplot-4.2_rc1 is missing tetex dependency
Product: Gentoo Linux Reporter: David Watzke <david>
Component: New packagesAssignee: Grant Goodyear (RETIRED) <g2boojum>
Status: RESOLVED FIXED    
Severity: enhancement CC: schubert.seb, sci
Priority: High    
Version: 2006.1   
Hardware: All   
OS: All   
URL: http://overlay.watzke.cz/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Makefile.am.patch
Makefile.in.patch
gnuplot-4.2_rc4 ebuild
Makefile.am patch
Makefile.in patch

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