Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53396

Summary: freetype-1.3.1-r3.ebuild missed some files needed by teTeX
Product: Gentoo Linux Reporter: Ming Zhao (RETIRED) <ming>
Component: New packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: normal CC: text-markup+disabled
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: freetype-1.3.1-r3.ebuild

Description Ming Zhao (RETIRED) gentoo-dev 2004-06-09 05:27:09 UTC
The sfd(subFont definition) files in freetype1-contrib/ttf2pk/data are needed by teTeX, or dvipdfmx will report the following error:

eric@goaltender tmp $ dvipdfmx -v gbk.dvi 

gbk.dvi -> gbk.pdf
DVI Comment:  TeX output 2004.06.09:1811
[1<gbksong37@11.96ptError: Could not open the SubFont Definition file 'UGBK.sfd'

** ERROR ** 

I modified the ebuild to fix this problem.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Ming Zhao (RETIRED) gentoo-dev 2004-06-09 05:29:13 UTC
Created attachment 32965 [details]
freetype-1.3.1-r3.ebuild

diff:

@@ -27,7 +27,7 @@ SRC_URI="ftp://ftp.freetype.org/freetype
 LICENSE="FTL"
 SLOT="1"
 KEYWORDS="x86 ppc sparc alpha arm hppa amd64 ia64 s390"
-IUSE="nls tetex"
+IUSE="nls"
  
 DEPEND="virtual/glibc"
 RDEPEND="nls? ( sys-devel/gettext )"
@@ -89,12 +89,6 @@ src_install() {
		ttf2pk/.libs/ttf2pk ttf2pk/.libs/ttf2tfm \
		ttfbanner/.libs/ttfbanner \
		|| die
-	use tetex && {
-		insinto /usr/share/texmf/ttf2pk
-		doins ttf2pk/data/* || die
-		insinto /usr/share/texmf/ttf2pfb
-		doins ttf2pfb/Uni-T1.enc || die
-	}
	newman ttf2bdf/ttf2bdf.man ttf2bdf/ttf2bdf.man.1
	doman ttf2bdf/ttf2bdf.man.1
	docinto contrib
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-06-18 10:30:49 UTC
Added to CVS. Thanks for the bug report.