https://bugs.kde.org/show_bug.cgi?id=465773

            Bug ID: 465773
           Summary: Build failure with raqm 0.10.0
    Classification: Applications
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: christo...@krop.fr
  Target Milestone: ---

git hash: add6c004d

Relevant cmake log:
[  275s] -- Found Raqm: /usr/include (found suitable version "0.10.0", minimum
required is "0.9.0")  


[ 1420s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20230215T091621~add6c004d/libs/flake/text/KoSvgTextShape.cpp:
In member function 'void KoSvgTextShape::relayout() const':
[ 1420s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20230215T091621~add6c004d/libs/flake/text/KoSvgTextShape.cpp:557:46:
error: too many arguments to function 'bool
raqm_set_letter_spacing_range(raqm_t*, int, size_t, size_t)'
[ 1420s]   557 |                 raqm_set_letter_spacing_range(layout.data(),
[ 1420s]       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
[ 1420s]   558 |                                              
static_cast<int>(letterSpacing.customValue * ftFontUnit * scaleToPixel),
[ 1420s]       |                                              
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1420s]   559 |                                               false,
[ 1420s]       |                                               ~~~~~~
[ 1420s]   560 |                                              
static_cast<size_t>(start),
[ 1420s]       |                                              
~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1420s]   561 |                                              
static_cast<size_t>(length));
[ 1420s]       |                                              
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1420s] In file included from
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20230215T091621~add6c004d/libs/flake/text/KoSvgTextShape.cpp:12:
[ 1420s] /usr/include/raqm.h:162:1: note: declared here
[ 1420s]   162 | raqm_set_letter_spacing_range(raqm_t *rq,
[ 1420s]       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1420s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20230215T091621~add6c004d/libs/flake/text/KoSvgTextShape.cpp:565:44:
error: too many arguments to function 'bool
raqm_set_word_spacing_range(raqm_t*, int, size_t, size_t)'
[ 1420s]   565 |                 raqm_set_word_spacing_range(layout.data(),
[ 1420s]       |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
[ 1420s]   566 |                                            
static_cast<int>(wordSpacing.customValue * ftFontUnit * scaleToPixel),
[ 1420s]       |                                            
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1420s]   567 |                                             false,
[ 1420s]       |                                             ~~~~~~
[ 1420s]   568 |                                            
static_cast<size_t>(start),
[ 1420s]       |                                            
~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1420s]   569 |                                            
static_cast<size_t>(length));
[ 1420s]       |                                            
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1420s] /usr/include/raqm.h:167:1: note: declared here
[ 1420s]   167 | raqm_set_word_spacing_range(raqm_t *rq,
[ 1420s]       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 1420s] make[2]: *** [libs/flake/CMakeFiles/kritaflake.dir/build.make:2562:
libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextShape.cpp.o] Error 1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to