Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 192471
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Faulhammer <fauli@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sebastian Schubert <schubert.seb@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnuplot.diff patch for gnuplot.cfg path patch Sebastian Schubert 2007-09-14 00:22 0000 799 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 192471 depends on: Show dependency tree
Bug 192471 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-14 00:21 0000
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:

------- Comment #1 From Sebastian Schubert 2007-09-14 00:22:13 0000 -------
Created an attachment (id=130874) [details]
patch for gnuplot.cfg path

------- Comment #2 From Christian Faulhammer 2007-09-14 06:43:02 0000 -------
(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

------- Comment #3 From Sebastian Schubert 2007-09-14 09:27:55 0000 -------
(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

------- Comment #4 From Christian Faulhammer 2007-09-14 15:43:02 0000 -------
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.

------- Comment #5 From Sebastian Schubert 2007-09-14 17:52:12 0000 -------
(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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug