Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 98480
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: lamprecht [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 804.032
Fixed in: 804.032_500



Subject: my_config does not find freetype.h
Freetype changed their Directory layout with Version 2.5.1. Therefore my_config does no longer find the header files. http://sourceforge.net/projects/freetype/files/freetype2/2.5.1/ Show quoted text
> II. IMPORTANT CHANGES
Show quoted text
> <snip> - 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.
quick fix that worked on Ubuntu 14.04 attached Christoph
Subject: myConf.patch
--- myConfig.ori 2013-12-07 13:46:35.000000000 +0100 +++ myConfig 2014-08-31 12:53:13.800308069 +0200 @@ -147,7 +147,8 @@ { foreach (map { "$_/freetype2" } @_) { - if (-d $_ && -d "$_/freetype" && -r "$_/freetype/freetype.h") + if ((-d $_ && -d "$_/freetype" && -r "$_/freetype/freetype.h") + or (-d $_ && -r "$_/freetype.h")) { print "Using -I$_ to find $_/freetype/freetype.h\n"; return "-I$_";
On 2014-08-31 07:05:43, LAMPRECHT wrote: Show quoted text
> Freetype changed their Directory layout with Version 2.5.1. > Therefore my_config does no longer find the header files. > > http://sourceforge.net/projects/freetype/files/freetype2/2.5.1/ >
> > II. IMPORTANT CHANGES
>
> > <snip> - 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.
> > quick fix that worked on Ubuntu 14.04 attached > > Christoph
I have to apologize — this change is already in the Tk git repository (commit 1ca4589ef5a87999ec564081900bc8fdaed83c74), but I failed to create a new release yet. Regards, Slaven