[Bug 35018] New: build fails with freetype 2.5.1

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 29 20:31:53 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=35018

             Bug #: 35018
           Summary: build fails with freetype 2.5.1
           Product: Wine
           Version: 1.7.7
          Platform: x86-64
        OS/Version: Mac OS X
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: wine-2013 at ryandesign.com
    Classification: Unclassified


wine does not build with freetype 2.5.1:


checking for -lfreetype... libfreetype.6.dylib
checking for ft2build.h... yes
checking for freetype/freetype.h... no
checking for freetype/ftglyph.h... no
checking for freetype/fttypes.h... no
checking for freetype/tttables.h... no
checking for freetype/ftsnames.h... no
checking for freetype/ttnameid.h... no
checking for freetype/ftoutln.h... no
checking for freetype/ftwinfnt.h... no
checking for freetype/ftmodapi.h... no
checking for freetype/ftlcdfil.h... no
checking for FT_TrueTypeEngineType... no
configure: error: FreeType 32-bit development files not found. Fonts will not
be built.
Use the --without-freetype option if you really want this.


This was reported to the MacPorts project here:
https://trac.macports.org/ticket/41605 (I am the maintainer of wine and
freetype in MacPorts)


This is because freetype 2.5.1 finally changed the header file locations,
several years after warning that hardcoding these header file locations is
deprecated. See the freetype CHANGES file:


CHANGES BETWEEN 2.5 and 2.5.1

...

  II. IMPORTANT CHANGES

...

    - The header  file layout  has been changed.   After installation,
      all files are now located in `<prefix>/include/freetype2'.

      Applications  that  use   (a)  `freetype-config'  or  FreeType's
      `pkg-config' file to get the include directory for the compiler,
      and (b) the documented way for header inclusion like

        #include <ft2build.h>
        #include FT_FREETYPE_H
        ...

      don't need any change to the source code.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list