Skip Menu |

This queue is for tickets about the Font-FreeType CPAN distribution.

Report information
The Basics
Id: 50287
Status: open
Priority: 0/
Queue: Font-FreeType

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

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



Subject: Makefile.PL patch
Makefile.PL patch for Font;:FreeType 0.03 for macos , the include path is /usr/local/include
Subject: Makefile.PL
use ExtUtils::MakeMaker; use File::Spec::Functions; my $inc = $^O eq 'darwin' ? '-I/opt/local/include/freetype2' : '-I/usr/include/freetype2'; WriteMakefile( NAME => 'Font::FreeType', AUTHOR => 'Geoff Richards <qef@laxan.com>', VERSION_FROM => 'lib/Font/FreeType.pm', LIBS => [ '-lfreetype' ], INC => $inc, NO_META => 1, ); # Generate a listing of the characters in the BDF test font, for checking # that the library can find them all. See t/10metrics_5x7bdf.t my $data_dir = catdir(qw( t data )); my $font_filename = catfile($data_dir, '5x7.bdf'); open my $font_file, '<', $font_filename or die "error opening BDF font '$font_filename': $!"; my $list_filename = catfile($data_dir, 'bdf_glyphs.txt'); open my $list_file, '>', $list_filename or die "error opening glyph listing file '$list_filename': $!"; my $name; while (<$font_file>) { if (/^STARTCHAR\s+(.*)$/) { $name = $1; next; } elsif (/ENCODING\s+(\d+)$/) { die "BDF file is broken" unless defined $name; printf $list_file "%04X\t$name\n", $1; $name = undef; } } # vi:ts=4 sw=4 expandtab:
On Wed Oct 07 07:37:02 2009, CORNELIUS wrote: Show quoted text
> Makefile.PL patch for Font;:FreeType 0.03 > > for macos , the include path is /usr/local/include >
Please, test the new v0.04 on Macos.