The bugfix release 4.2.2 of gnuplot is released. Renaming worked, the ggi patch applied successfully but not tested. However, there is a typo in the ebuild: TEXTMFSITE -> TEXMFSITE and the path is wrong (at least in 4.2.2). Shouldn't be there a rehash after playing in the texmf folders? See a proposed patch attached. thx Reproducible: Always Steps to Reproduce:
Created attachment 130874 [details, diff] patch for gnuplot.cfg path
(In reply to comment #0) > The bugfix release 4.2.2 of gnuplot is released. Renaming worked, the ggi patch > applied successfully but not tested. There was no change in ggi upstream, so ok. Thanks for reporting, fixed in CVS. > However, there is a typo in the ebuild: > TEXTMFSITE -> TEXMFSITE and the path is wrong (at least in 4.2.2). Shouldn't be > there a rehash after playing in the texmf folders? See a proposed patch > attached. Thanks for noting the typo. texhash is not needed: $ cat share/LaTeX/README [...] current working directory). If your LaTeX distribution contains the programme 'kpsexpand', the Makefile installes 'gnuplot.cfg' into '$TEXMFLOCAL/tex/latex/gnuplot' and updates LaTeX's file database. [...] $ equery f tetex|grep kpsexpand /usr/bin/kpsexpand
(In reply to comment #2) > > Shouldn't be > > there a rehash after playing in the texmf folders? See a proposed patch > > attached. > > Thanks for noting the typo. texhash is not needed: > > $ cat share/LaTeX/README > [...] > current working directory). If your LaTeX distribution contains the > programme 'kpsexpand', the Makefile installes 'gnuplot.cfg' into > '$TEXMFLOCAL/tex/latex/gnuplot' and updates LaTeX's file database. > [...] > > $ equery f tetex|grep kpsexpand > /usr/bin/kpsexpand AFAICS kpsexpand is only used to get get the path of TEXMFSITE: tux LaTeX # cat Makefile | grep kpsexpand installdir=`kpsexpand '$$TEXMFSITE'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ installdir=`kpsexpand '$$TEXMFSITE'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ make tries to run texhash but it fails due to portage (the file isn't even installed by the time it is run). make[4]: Entering directory `/tmp/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/share/LaTeX' mkdir -p -- /tmp/portage/sci-visualization/gnuplot-4.2.2/image//usr/share/texmf-site/tex/latex/gnuplot texhash: /usr/share/texmf/ls-R: no write permission. Skipping... texhash: /usr/share/texmf-config/ls-R: no write permission. Skipping... texhash: /usr/share/texmf-dist/ls-R: no write permission. Skipping... texhash: /usr/share/texmf-local/ls-R: no write permission. Skipping... texhash: /usr/share/texmf-site/ls-R: no write permission. Skipping... texhash: /usr/share/texmf-var/ls-R: no write permission. Skipping... texhash: /var/cache/fonts/ls-R: no write permission. Skipping... texhash: Done. The file is not found after emerging. tux gnuplot # kpsewhich gnuplot.cfg tux gnuplot # mktexlsr mktexlsr: Updating /usr/share/texmf/ls-R... mktexlsr: Updating /usr/share/texmf-config/ls-R... mktexlsr: Updating /usr/share/texmf-dist/ls-R... mktexlsr: Updating /usr/share/texmf-local/ls-R... mktexlsr: Updating /usr/share/texmf-site/ls-R... mktexlsr: Updating /usr/share/texmf-var/ls-R... mktexlsr: Updating /var/cache/fonts/ls-R... mktexlsr: Done. tux gnuplot # kpsewhich gnuplot.cfg /usr/share/texmf-site/tex/latex/gnuplot/gnuplot.cfg Thx
Of course, we are in a sandbox. :) Ok, then I added the rehash from latex-package.eclass. Please test and close this bug if ok. I am away in a few minutes and won't have time to test it.
(In reply to comment #4) > Of course, we are in a sandbox. :) > Ok, then I added the rehash from latex-package.eclass. Please test and close > this bug if ok. I am away in a few minutes and won't have time to test it. > Thank you, working.