Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452210 - media-libs/libass-0.10.1: unmask and enable USE harfbuzz by default
Summary: media-libs/libass-0.10.1: unmask and enable USE harfbuzz by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 12:05 UTC by Nikoli
Modified: 2014-01-22 06:33 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 Nikoli 2013-01-15 12:05:52 UTC
media-libs/libass-0.10.1 builds fine with media-libs/harfbuzz-0.9.11; harfbuzz support is enabled by default upstream:
https://code.google.com/p/libass/source/browse/configure.ac
https://code.google.com/p/libass/issues/detail?id=13

Please remove mask and add +.
Comment 1 Alexis Ballier gentoo-dev 2013-01-15 13:19:48 UTC
done, thanks, i had forgotten to come back to this
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2014-01-08 14:52:55 UTC
There's a small issue with the dependency atom on this flag -- if harfbuzz is not built with USE="truetype", then the harfbuzz package doesn't install the 'hb-ft.h' header, which libass needs:

  CC     ass_shaper.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -Wall -O2 -march=k8 -pipe -I/usr/include/freetype2  -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/harfbuzz   -c -o ass_shaper.lo ass_shaper.c
ass_shaper.c:32:19: fatal error: hb-ft.h: No such file or directory
compilation terminated.
make[2]: *** [ass_shaper.lo] Error 1


Note that I'm running the base profile rather than the desktop profile (desktop one enabled USE=truetype globally).

To avoid the compilation error on non-desktop profiles, either harfbuzz ebuild should be adjusted for this, or perhaps the harfbuzz flag should be default-disabled in libass and default-enabled in the package.use of desktop profiles instead?
Comment 3 Tim Harder gentoo-dev 2014-01-22 06:33:30 UTC
(In reply to Ian Stakenvicius from comment #2)
> To avoid the compilation error on non-desktop profiles, either harfbuzz
> ebuild should be adjusted for this, or perhaps the harfbuzz flag should be
> default-disabled in libass and default-enabled in the package.use of desktop
> profiles instead?

Fixed the dep 0.10.2. Didn't fix it for 0.10.1 since that would require a revbump which would also be unstable, if someone else needs that done feel free.