[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#354507: libkpathsea3 should be removed



On Thu, Mar 02, 2006 at 06:48:12PM +0100, Frank Küster wrote:
> Adrian Bunk <bunk@stusta.de> wrote:
> 
> > AFAIK, there are no known API changes in libkpathsea4 
> 
> Please read this sentence loud, pronounce every word of the acronym, and
> try not to think of George Doubleju.  You know, there are known knows,
> and unknown knowns, or how was it? ;-)
> 
> Unfortunately I can tell you that there is a known API change, I already
> described it in an older mail to this list:
> 
> ,----
> | There might be problems because the names changed - e.g. in
> | libkpathsea3, "--format=map" would find files in TEXMF/fontname, which
> | are now in TEXMF/fonts/map/fontname, whereas in libkpathsea4 the format
> | refers to all map files, which previously were found with
> | "--format='dvips config'".
> `----
> 
> In other words:
> 
> root@sarge:/# kpsewhich lm.map
> root@sarge:/# kpsewhich --format='dvips config' lm.map
> /usr/share/texmf/dvips/config/lm.map
> root@sarge:/# kpsewhich --format=map lm.map
> root@sarge:/# 
> 
> frank@teTeX-3.0:~$ kpsewhich lm.map
> /usr/share/texmf/fonts/map/dvips/lm/lm.map
> frank@teTeX-3.0:~$ kpsewhich --format='dvips config' lm.map
> frank@teTeX-3.0:~$ kpsewhich --format=map lm.map
> /usr/share/texmf/fonts/map/dvips/lm/lm.map
> frank@teTeX-3.0:~$ 
> 
> This difference will also be reflected in the API.
>...

Repeat after me:
- There were no weapons of mass destruction in Iraq.
- Your example is independent of the libkpathsea verion used.

Your example is irrelevant since this is a difference between different 
teTeX versions but not between libkpathsea3 and libkpathsea4.

The proof is simple (./kpsewhich is the program from sarge (linked with 
libkpathsea3) copied to an unstable system):

$ ./kpsewhich lm.map
/etc/texmf/map/dvips/lm/lm.map
$ ./kpsewhich --format='dvips config' lm.map
$ ./kpsewhich --format=map lm.map           
/etc/texmf/map/dvips/lm/lm.map
$ 

> Regards, Frank

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




Reply to: