Skip to contentSkip to conversation

libass: allow compilation without a system font provider

PATCH New Yann E. MORIN 2 participants 2 messages Dec 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libass: allow compilation without a system font provider

From: Vicente Olivert Riera <[email protected]>

If no system font provider is provided, then libass will fail to build because it requires one by default. The error looks like this:

configure: error: Either DirectWrite (on Windows), CoreText (on OSX), or Fontconfig(Linux, other) is required. If you really want to compile withouta system font provider, add --disable-require-system-font-provider

(typo is from the actual message)

But, as the error messages says, we can allow the compilation without a system font provider if we use the above configure option, so let's do it.

Fixes:

    http://autobuild.buildroot.net/results/3a4/3a4c07a0a54d5497fa8a4be2191856e286729637/
    http://autobuild.buildroot.org/results/d5a/d5a93b5a870de748259b097ec0b98b207cfaa303/
    and many others...

[yann.morin.1998 at free.fr: move the --disable option in the !fontconfig
case]

---
 package/libass/libass.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libass/libass.mk +1 -1
index 83939e2..2f0ca08 100644
@@ -28,7 +28,7 @@ ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
 LIBASS_DEPENDENCIES += fontconfig
 LIBASS_CONF_OPTS += --enable-fontconfig
 else
-LIBASS_CONF_OPTS += --disable-fontconfig
+LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider
 endif
 
 ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 libass: allow compilation without a system font provider

Dear Yann E. MORIN,

Quoted 20 lines · Yann E. MORIN

From: Vicente Olivert Riera <[email protected]>

If no system font provider is provided, then libass will fail to build because it requires one by default. The error looks like this:

configure: error: Either DirectWrite (on Windows), CoreText (on OSX), or Fontconfig(Linux, other) is required. If you really want to compile withouta system font provider, add --disable-require-system-font-provider

(typo is from the actual message)

But, as the error messages says, we can allow the compilation without a system font provider if we use the above configure option, so let's do it.

Fixes:

    http://autobuild.buildroot.net/results/3a4/3a4c07a0a54d5497fa8a4be2191856e286729637/
    http://autobuild.buildroot.org/results/d5a/d5a93b5a870de748259b097ec0b98b207cfaa303/
    and many others...
Quoted 8 lines

[yann.morin.1998 at free.fr: move the --disable option in the !fontconfig
case]

---
 package/libass/libass.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com