Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23167 - freetype 1.3.1 contrib utils not linked against kpathsea
Summary: freetype 1.3.1 contrib utils not linked against kpathsea
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-20 06:59 UTC by Einar
Modified: 2004-06-18 19:49 UTC (History)
1 user (show)

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 Einar 2003-06-20 06:59:44 UTC
The freetype 1.3.1 utils which unpack into the contrib-dir should be linked against kpathsea if tetex is installed. Use options
--prefix=<DIR1> --with-kpathsea=<DIR2> 
when compiling these contrib utils.

<DIR1> is the tetex main dir, which can be found with 
kpsexpand '$TEXMFMAIN' (should be /usr/share/texmf)
<DIR2> is the directory which contains libkpathsea.* (should be /usr/lib)

After compilation, the --version option should reveal linking to kpathsea:
#>ttf2pk --version
ttf2pk version 1.4 (kpathsea version 3.3.1)

Suggestion for modification:
-----BEGIN-----
        # make contrib utils

        if test -e `which kpsewhich`
                then myconf="${myconf} --prefix=`kpsexpand '$TEXMFMAIN'` \
                        --with-kpathsea-dir=/usr/lib"
        fi

        for x in ttf2bdf ttf2pfb ttf2pk ttfbanner
-----END-----

Cheers,
Einar

Reproducible: Always
Steps to Reproduce:
Comment 1 Einar 2004-02-05 06:49:59 UTC
Over half a year old and still nothing? I even provided a simple fix to the ebuild... What's the reason for the holdup on this one?
Comment 2 foser (RETIRED) gentoo-dev 2004-02-05 07:43:20 UTC
busy, that's the reason. That plus freetype-1 is not really a focuspoint anymore.

This probably should be USE flagged. I assume kpathsea comes from tetex ? Is it provided by every tetex provider ?
Comment 3 Einar 2004-02-06 01:38:48 UTC
Yes, kpathsea is included in the tetex installation, at least when installing it in Gentoo using portage. My ebuild modification simply checks to see whether kpathsea is already installed, but a USE-flag might be more appropriate.

ttf2pk (and similar utilities) are not included in freetype 2.x for some reason. I used those utilities for making TTF-fonts available to LaTeX. There may be other and better ways of doing this, but not that I am aware of. 
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-06-18 10:23:03 UTC
I'll take this.
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-06-18 10:29:37 UTC
Added tetex IUSE flag to freetype-1.3.1-r4 for kpathsea linking.
Thanks for the bug report.
Comment 6 Einar 2004-06-18 19:49:25 UTC
Fantastic! I had given up on this one, but glad to see it solved. Thank you :)