Bug 489377 - Minimum freetype version is incorrect
Summary: Minimum freetype version is incorrect
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.2.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-28 15:08 UTC by Christophe Marin
Modified: 2024-09-03 12:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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