It seems that the old version in HP can be easily ported to latest GHC 7.4, in case maintainer wanted to release a 126.96.36.199 package. May be nice since for some strange reasons cabal defaults to OpenGL 188.8.131.52, if installed on vanilla GHC 7.4.1.
diff -r -u OpenGL-184.108.40.206.orig/Graphics/Rendering/OpenGL/GL/GLboolean.hs OpenGL-220.127.116.11/Graphics/Rendering/OpenGL/GL/GLboolean.hs
--- OpenGL-18.104.22.168.orig/Graphics/Rendering/OpenGL/GL/GLboolean.hs 2012-02-03 07:04:22.929471373 +0100
+++ OpenGL-22.214.171.124/Graphics/Rendering/OpenGL/GL/GLboolean.hs 2012-02-03 07:01:29.397467256 +0100
@@ -26,5 +26,5 @@
False -> gl_FALSE
True -> gl_TRUE
-unmarshalGLboolean :: Num a => a -> Bool
+unmarshalGLboolean :: (Eq a, Num a) => a -> Bool
unmarshalGLboolean = (/= fromIntegral gl_FALSE)
If understand correctly you are asking if we can fix version 126.96.36.199 (which is in the HP) to compile on ghc 7.4.1?
I'd much rather see the HP upgrade to a recent version of the OpenGL binding, but no one on the HP has responded to my request for help getting the current version into the HP: http://email@example.com/msg01691.html
Then there is the issue of how do we release 188.8.131.52? As I understand it hackage won't accept that version number now because it's a step backwards from the current version number. If hackage will accept it, then yeah we can do that.
I believe this is fixed now: http://hackage.haskell.org/package/OpenGL-184.108.40.206
Thank you for reporting the issue.
Thanks a lot Jason!