bugThe FreeType Project - Bugs: bug #56036, [cmake] State Harfbuzz is required...

 
 

bug #56036: [cmake] State Harfbuzz is required dependency

Submitted by:  None
Submitted on:  Sat 30 Mar 2019 12:45:00 PM UTC  
 
Severity:  3 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 04 Jun 2019 09:25:59 PM UTC, comment #3: 

Probably it fixed in: https://savannah.nongnu.org/bugs/index.php?55235 Can you try it?

rim <rim>
Thu 04 Apr 2019 02:42:07 AM UTC, comment #2: 

I dont't quite understand why both cmake and autoconf scripts edit ftoption.h. Isn't it enough to add a compile option -DFT_CONFIG_OPTION_USE_HARFBUZZ?

The same question applies to ZLIB, BZIP2, and PNG as well.

Alexei Podtelezhnikov <podtelez>
Project Member
Mon 01 Apr 2019 12:04:28 AM UTC, comment #1: 

If CMakeList.txt is happy to remove comment around FT_CONFIG_OPTION_USE_HARFBUZZ, it should not be shy to put it back.

Alexei Podtelezhnikov <podtelez>
Project Member
Sat 30 Mar 2019 12:45:00 PM UTC, original submission:  

Compiling freetype with harfbuzz requires in src/autofit/afscript.h:35:          HB_SCRIPT_ADLAM.

HB_SCRIPT_ADLAM was introduced in harfbuzz 1.3.0, so the build system (cmake) is supposed to check, whether harfbuzz >= 1.3.0 is installed, in order to enable FT_WITH_HARFBUZZ.

If I switch FT_WITH_HARFBUZZ off, and move include/harfbuzz to include/harfbuzz.bak, make fails with

In file included from /src/freetype-2.10.0/src/autofit/afglobal.h:26,
                 from /src/freetype-2.10.0/src/autofit/afcjk.c:29,
                 from /src/freetype-2.10.0/src/autofit/autofit.c:24:
/src/freetype-2.10.0/src/autofit/afshaper.h:29:10: fatal error: hb.h: No such file or directory
 #include <hb.h>
          ^~~~~~

So it seems HARFBUZZ is not optional, but required and in this case there is no need for the option FT_WITH_HARFBUZZ.

In turn the chicken-and-egg interdependency mentioned in INSTALL.UNIX is not solvable anymore.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rim (Posted a comment)
  • -email is unavailable- added by wl (Updated the item)
  • -email is unavailable- added by podtelez
  • -email is unavailable- added by podtelez (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-14 wl SummaryState Harfbuzz is required dependency => [cmake] State Harfbuzz is required dependency
    2019-04-04 podtelez Carbon-Copy- => Added morksig

    Back to the top


    Powered by Savane 3.5