Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113863 - pdfetex upgrade build for tetex 3.0
Summary: pdfetex upgrade build for tetex 3.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-28 18:28 UTC by ivo welch
Modified: 2005-11-29 00:27 UTC (History)
0 users

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 ivo welch 2005-11-28 18:28:57 UTC
tetex updates only rarely.  the advice from the tex community is that one should
regularly install a pdfetex replacement.  the steps are

[1] obtain source from http://sarovar.org/download.php/794/pdftex-1.30.4.tar.bz2

[2] unpack.

[3] run the Build script in the top dir.

[4] for gentoo, replace pdfetex in /usr/sbin/  and pdfetex.pool in
/var/lib/texmf/web2c/

[5] redefine TEXMFCNF as
  export TEXMFCNF=`kpsewhich --show-path=.cnf`
this needs to be set by the user henceforth.  if I understood the gentoo tetex
build better, I could probably learn how to make this systemwide, so that
pdfetex knows to look into /var/lib/texmf, too.

(from thomas esser:   you could go one step further and try to rebuild pdfetex
with the TEXMFCNF setting of gentoo. To do this, just edit the TEXMFCNF
setting in src/texk/kpathsea/texmf.in to look the same as the setting in
 `kpsewhich texmf.cnf`
Then,
 (cd texk/kpathsea; make)
 (cd texk/web2c; make pdfetex)
)

[6] fmtutil --all


Now, this is not too painful, but I do not know how to create a portage ebuild
scripts, nor do I understand the tetex ebuild, which seems somewhat complex.  I
thought I would just tell you the steps that got me there.

I would name this something like tetex-pdftex-update-1.30.4.ebuild

Incidentally, the placement of files into /var/lib/texmf/ did give me quite some
trouble.  not sure why you did this file arrangement.  If you could improve on
my above steps, by compiling the /var/lib/texmf into the replacement pdfetex and
pdfetex.pool (or the rebuilt fmt files), it would be terrific.



regards,

/ivo welch


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-29 00:27:22 UTC
http://forums.gentoo.org/viewforum-f-12.html is a proper place for this.