Bug 489377

Summary: Minimum freetype version is incorrect
Product: [Applications] krita Reporter: Christophe Marin <christophe>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley
Priority: NOR    
Version: 5.2.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christophe Marin 2024-06-28 15:08:16 UTC
Due to krita embedding raqm 0.10.1, the minimum freetype version is incorrect.

Currently, freetype >= 2.10 is required, but raqm needs at least 2.11 or fails with:

[   70s] /home/abuild/rpmbuild/BUILD/krita-5.2.3/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c: In function '_raqm_shape':
[   70s] /home/abuild/rpmbuild/BUILD/krita-5.2.3/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:2243:7: error: implicit declaration of function 'FT_Get_Transform'; did you mean 'FT_Set_Transform'? [-Werror=implicit-function-declaration]
[   70s]        FT_Get_Transform (hb_ft_font_get_face (run->font), &matrix, NULL);
[   70s]        ^~~~~~~~~~~~~~~~
[   70s]        FT_Set_Transform


https://freetype.org/freetype2/docs/reference/ft2-sizing_and_scaling.html#ft_get_transform indicates FT_Get_Transform
Comment 1 wolthera 2024-06-28 15:10:22 UTC
Ah, that seems to have slipped through, guess we need to double check our minimums against the CI deps builds.
Comment 2 Halla Rempt 2024-09-03 12:38:27 UTC
Git commit 055439cc23b6723fbbe61ae00d5393050de8af93 by Halla Rempt.
Committed on 03/09/2024 at 12:37.
Pushed by rempt into branch 'krita/5.2'.
Related: bug 2, bug 11

We actually use 2.12 ourselves in our dependency builds

M  +1    -1    CMakeLists.txt

https://invent.kde.org/graphics/krita/-/commit/055439cc23b6723fbbe61ae00d5393050de8af93
Comment 3 Halla Rempt 2024-09-03 12:38:55 UTC
Git commit 9b9265fd669165748d3441696f9329b8080d38d3 by Halla Rempt.
Committed on 03/09/2024 at 12:38.
Pushed by rempt into branch 'master'.
Related: bug 2, bug 11

We actually use 2.12 ourselves in our dependency builds

(cherry picked from commit 055439cc23b6723fbbe61ae00d5393050de8af93)

M  +1    -1    CMakeLists.txt

https://invent.kde.org/graphics/krita/-/commit/9b9265fd669165748d3441696f9329b8080d38d3