Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153195 - mplayer-1.0_rc1 ebuild should control fontconfig support
Summary: mplayer-1.0_rc1 ebuild should control fontconfig support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-28 17:45 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2006-12-31 11:15 UTC (History)
0 users

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 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.