[haskell-platform] #57: PROPOSAL: Remove OpenGL
haskell-platform
haskell-platform at projects.haskell.org
Tue Jun 15 19:58:25 EDT 2010
#57: PROPOSAL: Remove OpenGL
-------------------------------+--------------------------------------------
Reporter: trevor at galois.com | Owner: panne
Type: defect | Status: new
Priority: major | Milestone: 2009.4.0
Component: OpenGL | Resolution:
Keywords: |
-------------------------------+--------------------------------------------
Comment (by j3h):
I have attached a patch against the Haskell Platform 2010.1.0.0 Unix
installer that provides a --enable-opengl flag to the configure script.
The flag defaults to "yes", so unless the user supplies the flag, the
build is not altered. In order to try it out, unpack haskell-
platform-2010.1.0.0.tar.gz and run:
{{{
$ patch -p 1 < haskell-platform-2010.1.0.0-optional-opengl.patch
$ # I didn't include the result of running autoconf in the patch
$ autoconf
$ ./configure --enable-opengl=no
}}}
This patch also disables installing the haskell-platform-2010.1.0.0
package into the GHC package database because it depends on OpenGL. I
think this patch ought to be relatively uncontroversial because it doesn't
alter the contents of the package.
To back up Trevor's argument, I have wanted to install Haskell Platform in
server environments when I only want to build non-graphical programs. It
would have been nice to benefit from the standardization of Haskell
Platform without having to install unnecessary dependencies in my build
environment.
--
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/57#comment:8>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries
More information about the Haskell-platform
mailing list