Bug 440441 - krita (git f808f0c) build fails with libwebp 1.1.0
Summary: krita (git f808f0c) build fails with libwebp 1.1.0
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-31 10:38 UTC by nattakit
Modified: 2021-07-31 11:16 UTC (History)
0 users

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


Attachments
error message (6.45 KB, text/x-log)
2021-07-31 10:38 UTC, nattakit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nattakit 2021-07-31 10:38:08 UTC
Created attachment 140420 [details]
error message

Krita failed to build with libwebp 1.1.0


After some investigation it seems that dlg_webp_export.cpp and kis_webp_export.cpp is using if macro
for some libwebp API that are available in libwebp 1.2.0 (>=WEBP_ENCODER_ABI_VERSION 0x0210)
but instead test for libwebp 1.1.0 (>=WEBP_ENCODER_ABI_VERSION 0x020f)
Comment 1 Halla Rempt 2021-07-31 11:16:53 UTC
Git commit f25646800ba3e5ccbc70f8c66c66867698a82548 by Halla Rempt.
Committed on 31/07/2021 at 11:16.
Pushed by rempt into branch 'master'.

Demand libwebp 1.2.0 as a minimum

M  +1    -1    CMakeLists.txt

https://invent.kde.org/graphics/krita/commit/f25646800ba3e5ccbc70f8c66c66867698a82548