[Bug 1319642] Re: Inconsistent include paths in libfreetype6-dev between 14.04 and previous releases

Steve Langasek steve.langasek at canonical.com
Thu May 15 17:13:31 UTC 2014


As per <http://www.freetype.org/freetype2/docs/tutorial/step1.html>, the
API for freetype requires you to do:

#include <ft2build.h>
#include FT_FREETYPE_H

As this is the only supported interface, and this interface has not
changed in 2.5.1 (it worked before and works after, with no
modifications), we don't intend to provide compatibility symlinks for
the path.

** Changed in: freetype (Ubuntu)
       Status: New => Won't Fix

** Bug watch added: Debian Bug tracker #731015
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731015

** Also affects: freetype (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731015
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to freetype in Ubuntu.
https://bugs.launchpad.net/bugs/1319642

Title:
  Inconsistent include paths in libfreetype6-dev between 14.04 and
  previous releases

Status in “freetype” package in Ubuntu:
  Won't Fix
Status in “freetype” package in Debian:
  Unknown

Bug description:
  Hi,

  the include path of libfreetype6-dev has changed between 14.04 and
  previous releases.

  On 13.10:
  $ pkg-config --cflags freetype2
  -I/usr/include/freetype2
  $  ls /usr/include/freetype2
  freetype

  so the application used to include <freetype/freetype.h>

  On 14.04:
  $ pkg-config --cflags freetype2
  -I/usr/include/freetype2
  (same result)
  $ ls /usr/include/freetype2
  config      ftbzip2.h     ftglyph.h   ftmac.h ...
  (so the stuff used to be in the freetype subdirectory is now in the include path given by pkg-config)

  so the application needs now to include <freetype.h>, but this makes
  it incompatible to previous versions.

  Of course one could change to add a second search path to the c
  compiler including freetype and change the application to include
  <freetype.h> only, but this isn't exactly nice, and I think the
  current layout is a mistake.

  Best regards,

  Martin Schaller

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libfreetype6-dev 2.5.2-1ubuntu2.1
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  ApportVersion: 2.14.1-0ubuntu3.1
  Architecture: i386
  Date: Wed May 14 22:08:20 2014
  InstallationDate: Installed on 2014-04-24 (20 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: freetype
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1319642/+subscriptions



More information about the foundations-bugs mailing list