Skip to content

Commit

Permalink
ghostscript 9.07
Browse files Browse the repository at this point in the history
This update no longer builds against hombrew lcms2, because the modified
version that ships with ghostscript is incompatible. Without this change
the build would fail with this error:

  "_cmsPluginTHR", referenced from:
    _gscms_create in gsicc_lcms2.o
    ld: symbol(s) not found for architecture x86_64

Closes Homebrew/legacy-homebrew#18686.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
felixbuenemann authored and adamv committed Mar 26, 2013
1 parent 7b10914 commit 4e99a0f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Formula/ghostscript.rb
Expand Up @@ -8,8 +8,8 @@ class GhostscriptFonts < Formula

class Ghostscript < Formula
homepage 'http://www.ghostscript.com/'
url 'http://downloads.ghostscript.com/public/ghostscript-9.06.tar.gz'
sha1 'a3de8ccb877ee9b7437a598196eb6afa11bf31dc'
url 'http://downloads.ghostscript.com/public/ghostscript-9.07.tar.gz'
sha1 'b04a88ea8d661fc53d4f7eac34d84456272afc06'

head 'git://git.ghostscript.com/ghostpdl.git'

Expand All @@ -24,7 +24,6 @@ class Ghostscript < Formula
depends_on 'jpeg'
depends_on 'libtiff'
depends_on 'jbig2dec'
depends_on 'little-cms2'
depends_on :libpng
depends_on :x11 => '2.7.2' if build.include? 'with-x11'

Expand All @@ -37,7 +36,7 @@ def move_included_source_copies
# If the install version of any of these doesn't match
# the version included in ghostscript, we get errors
# Taken from the MacPorts portfile - http://bit.ly/ghostscript-portfile
renames = %w(jpeg libpng tiff zlib lcms2 jbig2dec)
renames = %w(jpeg libpng tiff zlib jbig2dec)
renames << "freetype" if MacOS.version >= :lion
renames.each do |lib|
mv lib, "#{lib}_local"
Expand Down

0 comments on commit 4e99a0f

Please sign in to comment.