freetype2 2.11.0-1.1 Update Breaks on OpenSUSE Tumbleweed
Tomaž Vajngerl
quikee at gmail.com
Mon Aug 23 06:05:42 UTC 2021
Hi,
On Sun, Aug 15, 2021 at 7:24 AM Luke Benes <lukebenes at hotmail.com> wrote:
> After updating openSUSE Tumbleweed 20210726-0 -> 20210810-0,
> I can not longer build LibreOffice. The issue is most likely the update of
> to freetype2-devel-2.10 -> 2.11
>
> I filed a bug report at:
> https://bugzilla.opensuse.org/show_bug.cgi?id=1189444
>
> freetype2 2.11 is still in testing on arch:
> https://archlinux.org/packages/extra/x86_64/freetype2/
>
> The error from the build log is below. Anything else I should do here?
> Look like a freetype2 issue or do we just need to update to use the new
> name?
>
> -Luke
>
>
>
> [CXX] workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp
> /core/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:668:14:
> error: use of undeclared identifier 'FT_COLR_PAINTFORMAT_TRANSFORMED'; did
> you mean 'FT_COLR_PAINTFORMAT_TRANSFORM'?
> case FT_COLR_PAINTFORMAT_TRANSFORMED: {
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> FT_COLR_PAINTFORMAT_TRANSFORM
> /usr/include/freetype2/freetype/ftcolor.h:505:5: note:
> 'FT_COLR_PAINTFORMAT_TRANSFORM' declared here
> FT_COLR_PAINTFORMAT_TRANSFORM = 12,
> ^
> /core/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:669:60:
> error: no member named 'transformed' in 'FT_COLR_Paint_::(unnamed union at
> /usr/include/freetype2/freetype/ftcolor.h:1327:5)'; did you mean
> 'transform'?
> SkMatrix transform =
> ToSkMatrix(colrv1_paint.u.transformed.affine);
> ^~~~~~~~~~~
> transform
> /usr/include/freetype2/freetype/ftcolor.h:1335:31: note: 'transform'
> declared here
> FT_PaintTransform transform;
> ^
> /core/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:763:14:
> error: use of undeclared identifier 'FT_COLR_PAINTFORMAT_TRANSFORMED'; did
> you mean 'FT_COLR_PAINTFORMAT_TRANSFORM'?
> case FT_COLR_PAINTFORMAT_TRANSFORMED:
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> FT_COLR_PAINTFORMAT_TRANSFORM
> /usr/include/freetype2/freetype/ftcolor.h:505:5: note:
> 'FT_COLR_PAINTFORMAT_TRANSFORM' declared here
> FT_COLR_PAINTFORMAT_TRANSFORM = 12,
> ^
> /core/workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp:768:74:
> error: no member named 'transformed' in 'FT_COLR_Paint_::(unnamed union at
> /usr/include/freetype2/freetype/ftcolor.h:1327:5)'; did you mean
> 'transform'?
> colrv1_traverse_paint(canvas, palette, face,
> paint.u.transformed.paint);
>
> ^~~~~~~~~~~
>
> transform
> /usr/include/freetype2/freetype/ftcolor.h:1335:31: note: 'transform'
> declared here
> FT_PaintTransform transform;
> ^
> [CXX]
> workdir/UnpackedTarball/skia/src/ports/SkFontMgr_fontconfig_factory.cpp
> 4 errors generated.
> make[1]: *** [/core/solenv/gbuild/LinkTarget.mk:357:
> /core/workdir/GenCxxObject/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.o]
> Error 1
>
>
>
Probably we need to patch Skia to support FT 2.11 (like the patch in [1]
did for chromium):
[1]
https://src.fedoraproject.org/rpms/chromium/blob/rawhide/f/chromium-freetype-2.11.patch
Regards, Tomaž
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20210823/6959001a/attachment.htm>
More information about the LibreOffice
mailing list