aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ghostscript.rb
AgeCommit message (Collapse)Author
2013-06-25ghostscript: use optional dep for x11Jack Nagel
2013-06-13ghostscript: slightly shorter 'cat'Adam Vandenberg
2013-06-08Ghostscript: add DjVU supportJoey Korkames
Closes #16830. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-26ghostscript 9.07Felix Bünemann
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 #18686. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-13ghostscript: add '--with-x11' optionRui Pereira
GS compiles properly with XQuartz. This is needed for ghostview. Closes #16924. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-04Avoid referencing MACOS_VERSION directlyJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-31ghostscript: add `--without-x`nibbles 2bits
gs-9.06 is designed to build with only `:libpng` these days, but it fails to compile with superenv unless we specify that we don't want to build with X11. * Remove the `ENV['LIBS'] = some/X11/path` * Add `--without-x` to fix a build error. Fixes #14564 Closes #14596. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-08-27ghostscript: don't call X11 methods unless X11 is installedJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-26ghostscript: install librariesAdam Vandenberg
Closes #12598.
2012-08-18Ghostscript: Update to 9.06Charlie Sharpsteen
2012-08-06Adjust XQuartz/X11 module naming schemeJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-01Update formulae for new XQuartz moduleJack Nagel
2012-07-10Use autotools symbolsAdam Vandenberg
2012-07-01Update formulae for XQuartz compatibilityJack Nagel
2012-05-07ghostscript fix compile error with libtiff-4.0.1nibbles 2bits
The gs formula stopped working after libtiff was upgraded to 4.0.1. It gives an error `no rule to make target obj/libtiff_.dev`. Add the `--with-system-libtiff` flag so it compiles against 4.0.1. Remove the `--disable-debug` flag, which is not a valid option. Add deps on little-cms2 and jbig2dec and Add `lcms2` and `jbig2dec` to the `renames` variable so that gs will properly link against those two libraries that many people already have installed who deal with images frequently. Without those additions on systems with `lcms2` and `jbig2dec` installed, `configure` will find them but not link correctly against them. `autogen.sh` automatically calls configure and warns the user that it is running configure with no args, explaining how to put the args after `autogen.sh` if args are desired. Do that for head builds. It is proper and saves configure from being run twice when brewing head. Fixes #12098 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-28These now depend on automake for Xcode >= 4.3Max Howell
Fixes #10559. Also added missing deps for osm2pgsql. Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
2012-02-25Don't override default -O flag.Adam Vandenberg
Way back in the day, Homebrew defaulted to LLVM/-O3. A lot of stuff failed to compile, and a lot of stuff just took forever with -O4. We don't default this way anymore, and in fact use -Os per Apple guidelines. So remove these old "fixes" since they are no longer needed.
2012-02-21Ghostscript 9.05toggtc
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-01Ghostscript: Use interal jasperFelix Bünemann
More stable. Closes #9866. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-02-01Ghostscript: Update to 9.04Felix Bünemann
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-02-01Ghostscript: Don't rename internal expatFelix Bünemann
An external library is never used. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-02-01Ghostscript: Add HEAD URLFelix Bünemann
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-04Ghostscript: fix build on 10.7CharlieRoot
Fix Ghostscript build with system libpng 1.5 plus make it use system expat and freetype2 and homebrew jasper and libtiff Do not try to use system freetype if OS version is below 10.7 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-14ghostscript 9.02Markus Groß
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-12Use ruby style for inheritance.Adam Vandenberg
2011-02-21Updated formula: `ghostscript` version 9.01Martin Kühl
Also: The caveats reference an old and closed issue. Remove them. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18Use https for all GitHub URLsTianyi Cui
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-12Mark scons, cmake & pkg-config as build-time depsAdam Vandenberg
2010-09-23ghostscript: Update to version 9.00Michael Dippery
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-08-13Don't need +x on theseAdam Vandenberg
2010-08-08Update formulae to use path shortcutsAdam Vandenberg
2010-08-07Use new symlink aliasesMax Howell
2010-07-02Ghostscript - tweak depsAdam Vandenberg
* Can use libtiff * Uses internal jasper instead of HOMEBREW one
2010-05-12Ghostscript 8.71Adam Vandenberg
2010-01-23Warn that Ghostscript may break printingMax Howell
For serious.
2009-12-01Fixes Ghostscript formula when Jasper is installedKieran Pilkington
Fixes #113.
2009-10-15s/require 'brewkit'/require 'formula'/gMax Howell
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
2009-09-30use Pathname instead of Dir for fancy path stuffCaleb Land
2009-09-29Fix ghostscript if jpeg7 is already installedCaleb Land
Closes #56 If jpeg7 is already installed when you try to install ghostscript there is a compilation error. The answer is to move the included jpeg6 source directory out of the way, download jpeg7, and create a link to the jpeg7 source inside of the ghostscript source... ghostscript is none the wiser.
2009-09-29Build Ghostscript in reasonable timeMax Howell
Relevent to issue #56
2009-09-10Dependency resolutionMax Howell
Specify dependencies in your formula's deps function. You can return an Array, String or Hash, eg: def deps { :optional => 'libogg', :required => %w[flac sdl], :recommended => 'cmake' } end Note currently the Hash is flattened and qualifications are ignored. If you only return an Array or String, the qualification is assumed to be :required. Other packaging systems have problems when it comes to packages requiring a specific version of a package, or some patches that may not work well with other software. With Homebrew we have some options: 1. If the formula is vanilla but an older version we can cherry-pick the old version and install it in the Cellar in parallel, but just not symlink it into /usr/local while forcing the formula that depends on it to link to that one and not any other versions of it. 2. If the dependency requires patches then we shouldn't install this for use by any other tools, (I guess this needs to be decided on a per-situation basis). It can be installed into the parent formula's prefix, and not symlinked into /usr/local. In this case the dependency's Formula derivation should be saved in the parent formula's file (check git or flac for an example of this). Both the above can be done currently with hacks, so I'll flesh out a proper way sometime this week.