Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: oldvoid on March 08, 2010, 04:34:55 PM

Title: xpdf (3.02pl4) missing fontconfig dependency.
Post by: oldvoid on March 08, 2010, 04:34:55 PM
xpdf (http://forum.tinycorelinux.net/index.php?topic=5091.0) (forum) is missing the fontconfig dependency, and fails to execute without it.
fontconfig itself depends on expat2.

Once satisfied xpdf executes to satisfaction, but with the following warnings:
Quote
$ xpdf
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Warning: Cannot convert string "-*-courier-medium-r-normal--12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-times-bold-i-normal--20-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-times-medium-r-normal--16-*-*-*-*-*-iso8859-1" to type FontStruct
Title: Re: xpdf (3.02pl4) missing fontconfig dependency.
Post by: Jason W on March 08, 2010, 04:58:16 PM
Added to dep file.
 
I googled the font warnings and they seem to be a font path issue, the Xlib warning is well documented in the forum.   But I won't be able to further investigate in the near future.  But a setting in the config file may well be all it needs.
Title: Re: xpdf (3.02pl4) missing fontconfig dependency.
Post by: Jason W on March 08, 2010, 08:26:17 PM
I didn't get the warnings to go away, and I think they are harmless anyway.  But I did edit the xpdfrc to make use of the ghostscript font extension.
Title: Re: xpdf (3.02pl4) missing fontconfig dependency.
Post by: oldvoid on March 10, 2010, 01:32:18 PM
Very prompt work, thank you.

I just checked a repository, and noticed that expat2 was listed among xpdf's dependencies. I don't know if it's common practice to list the dependencies of a package's dependencies among that package's dependencies (mouthful, yikes), but expat2 is a dependency of fontconfig not xpdf.
Title: Re: xpdf (3.02pl4) missing fontconfig dependency.
Post by: Jason W on March 10, 2010, 01:40:20 PM
With our current simple dep files, we have to list all dependencies and not just the highest level ones.

Recursive dependencies will allow us to only list the highest level deps in the dep files.