Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Clemens Lang <neverpanic <at> gmail.com>
Subject: Re: Bug#731015: Header files in new location break third-party projects
Newsgroups: gmane.linux.terminal-server.x2go.devel
Date: Sunday 1st December 2013 00:38:12 UTC (over 2 years ago)
On Sun, Dec 01, 2013 at 01:03:55AM +0100, Mike Gabriel wrote:
>  Old: /usr/include/freetype2/freetype/*.h (2.4.9 and before)
>  New: /usr/include/freetype2/*.h
> 
> Please work around this by placing im freetype symlink into
/usr/include/freetype2 pointing to ../ (or restore the former installation
path for 2.5.x-y).

Note that freetype isn't to blame here – including the freetype headers
in the way that was removed from freetype 2.5.1 has been deprecated for
a long time.

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 `/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 
        #include FT_FREETYPE_H
        ...

      don't need any change to the source code.

The projects that are broken now should rather fix their code to
correctly include the freetype headers using

 #include 
 #include FT_FREETYPE_H

For reference, see the same bug in MacPorts: http://trac.macports.org/ticket/41593

-- 
Clemens Lang
MacPorts Developer
_______________________________________________
X2Go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev
 
CD: 3ms