Summary: | File collisions between USE="preview-latex" app-emacs/auctex-11.38 and tetex-3.0_p1-r3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Emiliano Vavassori <syntaxerrormmm> |
Component: | Current packages | Assignee: | Emacs project <emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | text-markup+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Emiliano Vavassori
2006-11-22 06:54:17 UTC
Yeah, I know that. Problem is that auctex ships a newer version of preview.sty and friends. I can't delete that package neither from tetex nor from auctex. Maybe shipping a separate dev-tex/preview package would help. text-markup, any ideas? Ok, I now know how to avoid preview.sty and friends from being installed. For the archive: It is by removing texmf and intall-texmf from prerequisites of all and install targets in auctex-11.83/preview/Makefile.in So text-markup, I need your help now. I can prepare a dev-tex/preview package, we both (p)depend on with app-text/tetex and app-emacs/auctex to avoid file collisions, but tetex still has the same packages as before. On your side, preview.* must be removed from the tarball (or by other means as in pkg_postinstall() function). Another solution could be to let auctex install the TeX files into the local TeXMF tree to avoid collisions...this could break a user installation as it would overwrite his additions or we take another separate tree. Any comments? (In reply to comment #3) > Another solution could be to let auctex install the TeX files into the local > TeXMF tree to avoid collisions...this could break a user installation as it > would overwrite his additions or we take another separate tree. Any comments? Well, we can use the /usr/share/texmf-site tree. I still prefer (by a great deal) the solution adviced in comment #2: all files that come from system packages would go to /usr/share/texmf and other trees will be managed by the sysadmin of the machine. Also, splitting in a dev-tex/preview-latex package could ease the updating of those .sty files. Thanks for the work, let's wait for text-markup devels for saying something. (In reply to comment #4) > (In reply to comment #3) > > Another solution could be to let auctex install the TeX files into the local > > TeXMF tree to avoid collisions...this could break a user installation as it > > would overwrite his additions or we take another separate tree. Any comments? > > Well, we can use the /usr/share/texmf-site tree. The texmf-site tree was created exactly for these kinds of things (the tree was created to handle tex packages which is included in the standard texmf-tree and has a separate ebuild). A user should not install anything in that tree (he/she could just create his own tree). So the way to go is to use texmf-site. It is fixed in -r1. My solution was to install it in TEXMFSITE, this is determined via `kpsewhich -var-value=TEXMFSITE` and used in the ebuild. I don't depend on USE=preview-latex when creating the variable or setting the configure option because it does no harm or cost significant performance. |