<div dir="ltr"><div dir="ltr">Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 15, 2021 at 7:24 AM Luke Benes <<a href="mailto:lukebenes@hotmail.com">lukebenes@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">After updating openSUSE Tumbleweed  20210726-0 -> 20210810-0,<br>
I can not longer build LibreOffice. The issue is most likely the update of to freetype2-devel-2.10 -> 2.11<br>
<br>
I filed a bug report at:<br>
<a href="https://bugzilla.opensuse.org/show_bug.cgi?id=1189444" rel="noreferrer" target="_blank">https://bugzilla.opensuse.org/show_bug.cgi?id=1189444</a><br>
<br>
freetype2 2.11 is still in testing on arch:<br>
<a href="https://archlinux.org/packages/extra/x86_64/freetype2/" rel="noreferrer" target="_blank">https://archlinux.org/packages/extra/x86_64/freetype2/</a><br>
<br>
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?<br>
<br>
-Luke<br>
<br>
<br>
<br>
[CXX] workdir/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.cpp<br>
/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'?<br>
        case FT_COLR_PAINTFORMAT_TRANSFORMED: {<br>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
             FT_COLR_PAINTFORMAT_TRANSFORM<br>
/usr/include/freetype2/freetype/ftcolor.h:505:5: note: 'FT_COLR_PAINTFORMAT_TRANSFORM' declared here<br>
    FT_COLR_PAINTFORMAT_TRANSFORM       = 12,<br>
    ^<br>
/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'?<br>
            SkMatrix transform = ToSkMatrix(colrv1_paint.u.transformed.affine);<br>
                                                           ^~~~~~~~~~~<br>
                                                           transform<br>
/usr/include/freetype2/freetype/ftcolor.h:1335:31: note: 'transform' declared here<br>
      FT_PaintTransform       transform;<br>
                              ^<br>
/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'?<br>
        case FT_COLR_PAINTFORMAT_TRANSFORMED:<br>
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
             FT_COLR_PAINTFORMAT_TRANSFORM<br>
/usr/include/freetype2/freetype/ftcolor.h:505:5: note: 'FT_COLR_PAINTFORMAT_TRANSFORM' declared here<br>
    FT_COLR_PAINTFORMAT_TRANSFORM       = 12,<br>
    ^<br>
/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'?<br>
                    colrv1_traverse_paint(canvas, palette, face, paint.u.transformed.paint);<br>
                                                                         ^~~~~~~~~~~<br>
                                                                         transform<br>
/usr/include/freetype2/freetype/ftcolor.h:1335:31: note: 'transform' declared here<br>
      FT_PaintTransform       transform;<br>
                              ^<br>
[CXX] workdir/UnpackedTarball/skia/src/ports/SkFontMgr_fontconfig_factory.cpp<br>
4 errors generated.<br>
make[1]: *** [/core/solenv/gbuild/LinkTarget.mk:357: /core/workdir/GenCxxObject/UnpackedTarball/skia/src/ports/SkFontHost_FreeType_common.o] Error 1<br>
<br>
<br></blockquote><div><br></div><div>Probably we need to patch Skia to support FT 2.11 (like the patch in [1] did for chromium):<br></div><div><div><br></div><div>[1] <a href="https://src.fedoraproject.org/rpms/chromium/blob/rawhide/f/chromium-freetype-2.11.patch">https://src.fedoraproject.org/rpms/chromium/blob/rawhide/f/chromium-freetype-2.11.patch</a></div><div><br></div><div>Regards, Tomaž<br></div><div><br></div> </div></div></div>