Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
brew install gnuplot failed when AquaTerm1.1.0.dmg is preinstalled #14647
I wish there was an aquaterm brew formula.
The problem is related with some incompatibilities with aquaterm and Lion/Mountain lion. Your solution removes the aquaterm support, which is not desired in my case. There is a new release of aquaterm and some changes are necessary to compile applications with this new version. I don't have the expertise to create a formula with a proper patch. Nevertheless, i put some pointers just in case someone is able to do it:
pushed a commit
Dec 17, 2012
I have this working now. Will add a commit and pull request in a bit.
Would a proper fix require that aquaterm is actually built with homebrew (I have it working with a Xcode compiled AquaTerm.app and AquaTerm.framework)? This will take a bit longer, but I can probably do it.
PS. Should the gnuplot build be building the X11 terminal even if with-x isn't set? Of course, this doesn't really hurt, but it's confusing behaviour that it will build it just because you have XQuartz installed, even when not specifying you want it.
The latest version of aquaterm and gnuplot play nice together.
Could we get gnuplot with aquaterm back? The following works:
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb index ef60286..262920f 100644 --- a/Library/Formula/gnuplot.rb +++ b/Library/Formula/gnuplot.rb @@ -17,6 +17,7 @@ class Gnuplot < Formula option 'tests', 'Verify the build with make check (1 min)' option 'without-emacs', 'Do not build Emacs lisp files' option 'latex', 'Build with LaTeX support' + option 'aquaterm', 'Build with AquaTerm support' if build.head? depends_on :automake @@ -53,6 +54,7 @@ class Gnuplot < Formula args << '--enable-qt' if build.include? 'qt' args << '--without-lua' if build.include? 'nolua' args << '--without-lisp-files' if build.include? 'without-emacs' + args << '--with-aquaterm' if build.include? 'aquaterm' if build.include? 'latex' args << '--with-latex'