vect-opengl 0.4.6 → 0.4.6.1
raw patch · 4 files changed
+29/−20 lines, 4 filesdep ~OpenGLdep ~base
Dependency ranges changed: OpenGL, base
Files
- Data/Vect/Double/OpenGL.hs +5/−1
- Data/Vect/Float/OpenGL.hs +5/−1
- src/flt/OpenGL.hs +5/−1
- vect-opengl.cabal +14/−17
Data/Vect/Double/OpenGL.hs view
@@ -21,7 +21,11 @@ import Graphics.Rendering.OpenGL hiding ( Normal3 , rotate , translate , scale- , matrix , currentMatrix , withMatrix , multMatrix + , matrix +#if VECT_OPENGL < 29+ , currentMatrix +#endif+ , withMatrix , multMatrix ) --------------------------------------------------------------------------------
Data/Vect/Float/OpenGL.hs view
@@ -21,7 +21,11 @@ import Graphics.Rendering.OpenGL hiding ( Normal3 , rotate , translate , scale- , matrix , currentMatrix , withMatrix , multMatrix + , matrix +#if VECT_OPENGL < 29+ , currentMatrix +#endif+ , withMatrix , multMatrix ) --------------------------------------------------------------------------------
src/flt/OpenGL.hs view
@@ -18,7 +18,11 @@ import Graphics.Rendering.OpenGL hiding ( Normal3 , rotate , translate , scale- , matrix , currentMatrix , withMatrix , multMatrix + , matrix +#if VECT_OPENGL < 29+ , currentMatrix +#endif+ , withMatrix , multMatrix ) --------------------------------------------------------------------------------
vect-opengl.cabal view
@@ -1,5 +1,5 @@ Name: vect-opengl-Version: 0.4.6+Version: 0.4.6.1 Synopsis: OpenGL support for the `vect' low-dimensional linear algebra library. Description: OpenGL support for the `vect' low-dimensional linear algebra library. License: BSD3@@ -10,32 +10,29 @@ Homepage: http://code.haskell.org/~bkomuves/ Stability: Experimental Category: Graphics, Math-Tested-With: GHC == 6.10.1+Tested-With: GHC == 7.4.2 Cabal-Version: >= 1.6 Build-Type: Custom extra-source-files: src/flt/OpenGL.hs -Flag splitBase- Description: Choose the new smaller, split-up base package.+source-repository head+ type: darcs+ location: http://code.haskell.org/~bkomuves/projects/vect-opengl/ -Flag newOpenGL- Description: OpenGL bindings since 2.3.0.0 +Flag opengl29+ Description: OpenGL v2.9 Library- if flag(splitBase)- Build-Depends: base >= 3 && < 5- else- Build-Depends: base >= 2 && < 3- - Build-Depends: vect >= 0.4.6 && < 0.5+ Build-Depends: base >= 3 && < 5,+ vect >= 0.4.6 && < 0.5 - if flag(newOpenGL)- Build-Depends: OpenGL >= 2.3- cpp-options: -DVECT_OPENGL=23+ if flag(opengl29)+ Build-Depends: OpenGL >= 2.9.0.0 + cpp-options: -DVECT_OPENGL=29 else- Build-Depends: OpenGL >= 2.1 && < 2.3- cpp-options: -DVECT_OPENGL=22+ Build-Depends: OpenGL >= 2.3 && < 2.9.0.0+ cpp-options: -DVECT_OPENGL=28 Exposed-Modules: Data.Vect.Float.OpenGL, Data.Vect.Double.OpenGL