After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 719592 - libgnomeprint 2.18.8 build fails with freetype 2.5.1
libgnomeprint 2.18.8 build fails with freetype 2.5.1
Status: RESOLVED WONTFIX
Product: gnome-print
Classification: Deprecated
Component: general
unspecified
Other Mac OS
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2013-11-30 10:14 UTC by Ryan Schmidt
Modified: 2014-03-02 18:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.20 KB, patch)
2013-11-30 10:15 UTC, Ryan Schmidt
none Details | Review

Description Ryan Schmidt 2013-11-30 10:14:10 UTC
libgnomeprint 2.18.8 build fails with freetype 2.5.1:


gnome-rfont.c:31:10: fatal error: 'freetype/ftglyph.h' file not found
#include <freetype/ftglyph.h>
         ^
1 error generated.


This was reported to the MacPorts project here: https://trac.macports.org/ticket/41613

The problem is that the headers changed location in freetype 2.5.1 and the long-deprecated practice of specifying the header locations in the #include line is now no longer supported. From 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.


I'll attach a patch to fix this.
Comment 1 Ryan Schmidt 2013-11-30 10:15:44 UTC
Created attachment 263199 [details] [review]
patch
Comment 2 André Klapper 2014-03-02 18:07:33 UTC
https://git.gnome.org/browse/archive/gnome-print/
https://git.gnome.org/browse/archive/libgnomeprint/
https://git.gnome.org/browse/archive/libgnomeprintui/
have been archived in Git.

They are not under active development anymore. It is currently unlikely that there will be any further active development.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this bug report in the future if
anyone takes the responsibility for active development again.