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

Bug 153195

Summary: mplayer-1.0_rc1 ebuild should control fontconfig support
Product: Gentoo Linux Reporter: Vlastimil Babka (Caster) (RETIRED) <caster>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-10-28 17:45:46 UTC
Right now the fontconfig support depends just on the presence of fontconfig in the system, there's no dependencies and configure params to control it.

fontconfig not installed:
Checking for fontconfig ... no
Checking for SSA/ASS support ... yes

fontconfig installed:
Checking for fontconfig ... yes
Checking for SSA/ASS support ... yes

So I think you should control it with some flag, be it some new flag or old (truetype?). As I've already noted in bug 142884, fontconfig needs also freetype enabled (which needs iconv). SSA/ASS support doesn't need fontconfig to be built, but when it is built with fontconfig, it can use fonts embedded in mkv files (and SSA is about styled fonts :), and user can also specify OSD/Sub fonts via names and not font file paths. So the new subtitles USEflag should probably warn to enable also fontconfig. I know, all these inter-flag dependencies sux :)
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-11-21 02:41:00 UTC
I see you've now added fontconfig dependency and .conf support pulled by truetype useflag, good. But still I think there's no configure control (use_enable), i.e. configure will detect and use fontconfig if it's installed even if it wasn't pulled by the flag.
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-31 11:15:16 UTC
I was wrong, seems to work properly now.