Skip to content

Commit

Permalink
fontforge: add missing deps on png, jpeg, tiff
Browse files Browse the repository at this point in the history
This commits adds recommended deps on png, jpeg, and libtiff
to FontForge, otherwise it will get various build errors and
runtime problems doing some font conversions. Lilypond for one
needs this. Also add an option to build in Gif support to round
out the image handling.

Closes Homebrew#16001.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
nibbles 2bits authored and adamv committed Nov 20, 2012
1 parent e0d0ae9 commit be10a49
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions Library/Formula/fontforge.rb
Expand Up @@ -10,17 +10,22 @@ class Fontforge < Formula
env :std

option 'without-python', 'Build without Python'
option 'with-x', 'Build with X'
option 'with-cairo', 'Build with Cairo'
option 'with-pango', 'Build with Pango'
option 'with-libspiro', 'Build with Spiro spline support'
option 'with-gif', 'Build with GIF support'
option 'with-x', 'Build with X'
option 'with-cairo', 'Build with Cairo'
option 'with-pango', 'Build with Pango'
option 'with-libspiro', 'Build with Spiro spline support'

depends_on 'gettext'
depends_on :xcode # Because: #include </Developer/Headers/FlatCarbon/Files.h>

depends_on :x11 if build.include? "with-x"
depends_on 'cairo' if build.include? "with-cairo"
depends_on 'pango' if build.include? "with-pango"
depends_on :libpng => :recommended
depends_on 'jpeg' => :recommended
depends_on 'libtiff' => :recommended
depends_on :x11 if build.include? "with-x"
depends_on 'giflib' if build.include? 'with-gif'
depends_on 'cairo' if build.include? "with-cairo"
depends_on 'pango' if build.include? "with-pango"
depends_on 'libspiro' if build.include? "with-libspiro"

fails_with :llvm do
Expand Down

0 comments on commit be10a49

Please sign in to comment.