Bug 201051 - app-text/texlive-core install files that should be installed from app-text/dvipdfmx
Bug#: 201051 Product:  Gentoo Linux Version: 2007.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: tex@gentoo.org Reported By: clotho67@gmail.com
Component: Ebuilds
URL: 
Summary: app-text/texlive-core install files that should be installed from app-text/dvipdfmx
Keywords:  
Status Whiteboard: 
Opened: 2007-12-03 05:42 0000
Description:   Opened: 2007-12-03 05:42 0000
There are some files that should be part of app-text/dvipdfmx that is being
installed by app-text/texlive-core. That will cause duplicated file being
installed when dvipdfmx is installed. Here is a list of files related to
dvipdfmx package that is installed by texlive-core.

/etc/texmf/dvipdfm.d
/etc/texmf/dvipdfm.d/dvipdfmx.cfg
/usr/share/texmf/dvipdfm
/usr/share/texmf/dvipdfm/EUC-UCS2
/usr/share/texmf/dvipdfm/README
/usr/share/texmf/dvipdfm/UniKSCms-UCS2-H
/usr/share/texmf/dvipdfm/UniKSCms-UCS2-V
/usr/share/texmf/dvipdfm/dvipdfmx.cfg
/usr/share/texmf/fonts/map/dvipdfm
/usr/share/texmf/fonts/map/dvipdfm/dvipdfmx
/usr/share/texmf/fonts/map/dvipdfm/dvipdfmx/cid-x.map

If we choose to not install these files in dvipdfmx, then it will not be able
to work with tetex. And according to the standard, EUC-UCS2, UniKSCms-UCS2-H
and UniKSCms-UCS2-V are cmap files which should be in texmf/fonts/cmap.

And also app-text/dvipdfmx ebuild also should change to follow the current
convention, the config file should install into
/etc/texmf/dvipdfm.d/dvipdfmx.cfg. The glyphlist.txt file is a map file which
should be installed into texmf/fonts/map/dvipdfm/glyphlist/.

The following files are also related to dvipdfmx, but I think it should be
installed by texlive-core.

/usr/share/texmf/fonts/map/dvipdfm/tetex
/usr/share/texmf/fonts/map/dvipdfm/tetex/cm-dvipdfm-fix.map
/usr/share/texmf/fonts/map/dvips/tetex/dvipdfm35.map
/usr/share/texmf/lists/bin-dvipdfmx
/usr/share/texmf/tex/latex/dvipdfmx
/usr/share/texmf/tex/latex/dvipdfmx/dvipdfmx.def
/usr/share/texmf/tpm/bin-dvipdfmx.tpm

------- Comment #1 From Jie Luo 2007-12-03 06:06:10 0000 -------
I have done some test, it seams that removing bin-dvipdfmx from
TEXLIVE_BASICBIN_CONTENTS will remove all files related to dvipdfmx. I noticed
that bin-dvipdfm is not include, maybe we should do the some thing to
bin-dvipdfmx. The only file that are not being installed by dvipdfmx is
dvipdfmx.def. This file are in the recent version (dvipdfmx-20071115), named as
dvipdfmx.def.sample. But maybe copy it from texlive-core is just fine. I will
attached as new ebuild for dvipdfmx.

------- Comment #2 From Jie Luo 2007-12-03 06:21:09 0000 -------
Created an attachment (id=137592) [details]
The patch to dvipdfmx-20070409.ebuild

------- Comment #3 From Jie Luo 2007-12-03 06:33:41 0000 -------
(In reply to comment #1)
> I have done some test, it seams that removing bin-dvipdfmx from
> TEXLIVE_BASICBIN_CONTENTS will remove all files related to dvipdfmx. I noticed
> that bin-dvipdfm is not include, maybe we should do the some thing to
> bin-dvipdfmx. The only file that are not being installed by dvipdfmx is
> dvipdfmx.def. This file are in the recent version (dvipdfmx-20071115), named as

Sorry, dvipdfmx.def is not in dvipdfmx package. But it can be found in dvipdfmx
CVS.

> dvipdfmx.def.sample. But maybe copy it from texlive-core is just fine. I will
> attached as new ebuild for dvipdfmx.
> 

------- Comment #4 From Jakub Moc (RETIRED) 2007-12-03 08:02:46 0000 -------
*** Bug 201050 has been marked as a duplicate of this bug. ***

------- Comment #5 From Alexis Ballier 2007-12-03 20:52:42 0000 -------
I've removed bin-dvipdfmx from texlive-core, as it's not built here, there is
not much sense to install those files.
I've bumped dvipdfmx applying more or less your patches, it runs ok here;
please report it if you're having any issue with it.


Thanks for the report on this, if you find more stuff included in texlive that
doesnt make sense, please report it ;)