Skip to content

Loading…

Added '--with-x11' option. #16924

Closed
wants to merge 1 commit into from

2 participants

@RuiPereira

As a followup of #14564 and #14596, ghostcript 9.06 works fine for me with a properly set dependency on recent XQuartz, as in the gv formula. This solves #16865 as long as ghostscript is compiled with the with-x11 option. We'll have to wait for #14456 in order to modify the gv formula to make that check explicit.

@RuiPereira RuiPereira Added '--with-x11' option.
GS compiles properly with XQuartz. This is needed 
for ghostview.
9383ad4
@adamv adamv added a commit that closed this pull request
@RuiPereira RuiPereira ghostscript: add '--with-x11' option
GS compiles properly with XQuartz. This is needed
for ghostview.

Closes #16924.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
ead06fb
@adamv adamv closed this in ead06fb
@RuiPereira RuiPereira deleted the RuiPereira:gs branch
@dholm dholm added a commit to dholm/homebrew that referenced this pull request
@RuiPereira RuiPereira ghostscript: add '--with-x11' option
GS compiles properly with XQuartz. This is needed
for ghostview.

Closes #16924.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
604db67
@norioxkimura norioxkimura added a commit to norioxkimura/homebrew that referenced this pull request
@RuiPereira RuiPereira ghostscript: add '--with-x11' option
GS compiles properly with XQuartz. This is needed
for ghostview.

Closes #16924.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
5bb0161
@rajeeja rajeeja pushed a commit that referenced this pull request
@RuiPereira RuiPereira ghostscript: add '--with-x11' option
GS compiles properly with XQuartz. This is needed
for ghostview.

Closes #16924.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
62e4fe0
@dunn dunn referenced this pull request
Closed

ghostscript 9.18 #45979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 6, 2013
  1. @RuiPereira

    Added '--with-x11' option.

    RuiPereira committed
    GS compiles properly with XQuartz. This is needed 
    for ghostview.
Showing with 4 additions and 1 deletion.
  1. +4 −1 Library/Formula/ghostscript.rb
View
5 Library/Formula/ghostscript.rb
@@ -13,6 +13,8 @@ class Ghostscript < Formula
head 'git://git.ghostscript.com/ghostpdl.git'
+ option 'with-x11', 'Install with X11 support'
+
if build.head?
depends_on :automake
depends_on :libtool
@@ -24,6 +26,7 @@ class Ghostscript < Formula
depends_on 'jbig2dec'
depends_on 'little-cms2'
depends_on :libpng
+ depends_on :x11 => '2.7.2' if build.include? 'with-x11'
# Fix dylib names, per installation instructions
def patches
@@ -54,8 +57,8 @@ def install
--disable-compile-inits
--disable-gtk
--with-system-libtiff
- --without-x
]
+ args << '--without-x' unless build.include? 'with-x11'
if build.head?
system './autogen.sh', *args
Something went wrong with that request. Please try again.