summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSvenPanne <>2009-07-23 19:33:07 (GMT)
committerLuite Stegeman <luite@luite.com>2009-07-23 19:33:07 (GMT)
commit63faa6d8ebeea3b092f4eaa53456c6701b7cbf39 (patch)
treef1f9cc7d6311bf264ceaf828796603038c7c1900
parent7b41addc81c8c1b2b7a6c675167dea8a7635bacf (diff)
version 2.2.0.02.2.0.0
-rw-r--r--ALUT.cabal5
-rw-r--r--Sound/ALUT.hs6
-rw-r--r--Sound/ALUT/Config.hs4
-rw-r--r--Sound/ALUT/Constants.hs6
-rw-r--r--Sound/ALUT/Errors.hs6
-rw-r--r--Sound/ALUT/Initialization.hs6
-rw-r--r--Sound/ALUT/Loaders.hs9
-rw-r--r--Sound/ALUT/Sleep.hs6
-rw-r--r--Sound/ALUT/Version.hs9
-rw-r--r--examples/Basic/HelloWorld.hs2
-rw-r--r--examples/Basic/OpenALInfo.hs2
-rw-r--r--examples/Basic/PlayFile.hs2
-rw-r--r--examples/TestSuite/TestErrorStuff.hs2
-rw-r--r--examples/TestSuite/TestFileLoader.hs2
-rw-r--r--examples/TestSuite/TestMemoryLoader.hs2
-rw-r--r--examples/TestSuite/TestVersion.hs2
-rw-r--r--examples/TestSuite/TestWaveforms.hs2
-rw-r--r--include/HsALUT.h2
-rw-r--r--include/HsALUT.h.in2
19 files changed, 38 insertions, 39 deletions
diff --git a/ALUT.cabal b/ALUT.cabal
index 8125f1d..8132c55 100644
--- a/ALUT.cabal
+++ b/ALUT.cabal
@@ -1,5 +1,5 @@
name: ALUT
-version: 2.1.0.2
+version: 2.2.0.0
license: BSD3
license-file: LICENSE
maintainer: Sven Panne <sven.panne@aedion.de>
@@ -39,5 +39,6 @@ other-modules:
include-dirs: include
includes: HsALUT.h
install-includes: HsALUT.h
-build-depends: base, OpenGL, OpenAL
+ghc-options: -Wall
+build-depends: base >= 3 && < 5, StateVar, OpenAL
extensions: CPP, ForeignFunctionInterface
diff --git a/Sound/ALUT.hs b/Sound/ALUT.hs
index 2782786..15d6c28 100644
--- a/Sound/ALUT.hs
+++ b/Sound/ALUT.hs
@@ -1,11 +1,11 @@
--------------------------------------------------------------------------------
-- |
-- Module : Sound.ALUT
--- Copyright : (c) Sven Panne 2005
--- License : BSD-style (see the file libraries/ALUT/LICENSE)
+-- Copyright : (c) Sven Panne 2005-2009
+-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : sven.panne@aedion.de
--- Stability : provisional
+-- Stability : stable
-- Portability : portable
--
-- A Haskell binding for the OpenAL Utility Toolkit, which makes managing of
diff --git a/Sound/ALUT/Config.hs b/Sound/ALUT/Config.hs
index 35b7593..0f1ea88 100644
--- a/Sound/ALUT/Config.hs
+++ b/Sound/ALUT/Config.hs
@@ -3,10 +3,10 @@
-- |
-- Module : Sound.ALUT.Config
-- Copyright : (c) Sven Panne 2006
--- License : BSD-style (see the file libraries/ALUT/LICENSE)
+-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : sven.panne@aedion.de
--- Stability : provisional
+-- Stability : stable
-- Portability : portable
--
-- This purely internal module defines the platform-specific stuff which has
diff --git a/Sound/ALUT/Constants.hs b/Sound/ALUT/Constants.hs
index f4ca483..3e89619 100644
--- a/Sound/ALUT/Constants.hs
+++ b/Sound/ALUT/Constants.hs
@@ -2,11 +2,11 @@
--------------------------------------------------------------------------------
-- |
-- Module : Sound.ALUT.Constants
--- Copyright : (c) Sven Panne 2005
--- License : BSD-style (see the file libraries/ALUT/LICENSE)
+-- Copyright : (c) Sven Panne 2005-2009
+-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : sven.panne@aedion.de
--- Stability : provisional
+-- Stability : stable
-- Portability : portable
--
--------------------------------------------------------------------------------
diff --git a/Sound/ALUT/Errors.hs b/Sound/ALUT/Errors.hs
index 6de517e..d0d8d00 100644
--- a/Sound/ALUT/Errors.hs
+++ b/Sound/ALUT/Errors.hs
@@ -2,11 +2,11 @@
--------------------------------------------------------------------------------
-- |
-- Module : Sound.ALUT.Errors
--- Copyright : (c) Sven Panne 2005
--- License : BSD-style (see the file libraries/ALUT/LICENSE)
+-- Copyright : (c) Sven Panne 2005-2009
+-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : sven.panne@aedion.de
--- Stability : provisional
+-- Stability : stable
-- Portability : portable
--
--------------------------------------------------------------------------------
diff --git a/Sound/ALUT/Initialization.hs b/Sound/ALUT/Initialization.hs
index d8f8d60..f5b2b01 100644
--- a/Sound/ALUT/Initialization.hs
+++ b/Sound/ALUT/Initialization.hs
@@ -1,11 +1,11 @@
--------------------------------------------------------------------------------
-- |
-- Module : Sound.ALUT.Initialization
--- Copyright : (c) Sven Panne 2005
--- License : BSD-style (see the file libraries/ALUT/LICENSE)
+-- Copyright : (c) Sven Panne 2005-2009
+-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : sven.panne@aedion.de
--- Stability : provisional
+-- Stability : stable
-- Portability : portable
--
--------------------------------------------------------------------------------
diff --git a/Sound/ALUT/Loaders.hs b/Sound/ALUT/Loaders.hs
index 636ffa7..2ba1f64 100644
--- a/Sound/ALUT/Loaders.hs
+++ b/Sound/ALUT/Loaders.hs
@@ -1,11 +1,11 @@
--------------------------------------------------------------------------------
-- |
-- Module : Sound.ALUT.Loaders
--- Copyright : (c) Sven Panne 2005
--- License : BSD-style (see the file libraries/ALUT/LICENSE)
+-- Copyright : (c) Sven Panne 2005-2009
+-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : sven.panne@aedion.de
--- Stability : provisional
+-- Stability : stable
-- Portability : portable
--
--------------------------------------------------------------------------------
@@ -16,12 +16,11 @@ module Sound.ALUT.Loaders (
bufferMIMETypes, bufferDataMIMETypes
) where
+import Data.StateVar
import Foreign.C.String ( peekCString, withCString )
import Foreign.Marshal.Alloc ( alloca )
import Foreign.Storable ( Storable(peek) )
import Foreign.Ptr ( Ptr )
-import Graphics.Rendering.OpenGL.GL.StateVar (
- GettableStateVar, makeGettableStateVar )
import Sound.ALUT.Config (
alut_CreateBufferFromFile, alut_CreateBufferFromFileImage,
alut_CreateBufferHelloWorld, alut_CreateBufferWaveform,
diff --git a/Sound/ALUT/Sleep.hs b/Sound/ALUT/Sleep.hs
index 61a9147..644f1a1 100644
--- a/Sound/ALUT/Sleep.hs
+++ b/Sound/ALUT/Sleep.hs
@@ -1,11 +1,11 @@
--------------------------------------------------------------------------------
-- |
-- Module : Sound.ALUT.Sleep
--- Copyright : (c) Sven Panne 2005
--- License : BSD-style (see the file libraries/ALUT/LICENSE)
+-- Copyright : (c) Sven Panne 2005-2009
+-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : sven.panne@aedion.de
--- Stability : provisional
+-- Stability : stable
-- Portability : portable
--
--------------------------------------------------------------------------------
diff --git a/Sound/ALUT/Version.hs b/Sound/ALUT/Version.hs
index 6fe2310..e7f9cbe 100644
--- a/Sound/ALUT/Version.hs
+++ b/Sound/ALUT/Version.hs
@@ -1,11 +1,11 @@
--------------------------------------------------------------------------------
-- |
-- Module : Sound.ALUT.Version
--- Copyright : (c) Sven Panne 2005
--- License : BSD-style (see the file libraries/ALUT/LICENSE)
+-- Copyright : (c) Sven Panne 2005-2009
+-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : sven.panne@aedion.de
--- Stability : provisional
+-- Stability : stable
-- Portability : portable
--
--------------------------------------------------------------------------------
@@ -15,8 +15,7 @@ module Sound.ALUT.Version (
) where
import Control.Monad ( liftM2 )
-import Graphics.Rendering.OpenGL.GL.StateVar (
- GettableStateVar, makeGettableStateVar )
+import Data.StateVar
import Sound.OpenAL.AL.BasicTypes ( ALint )
import Sound.ALUT.Config ( alut_GetMajorVersion, alut_GetMinorVersion )
import Sound.ALUT.Constants ( alut_API_MAJOR_VERSION, alut_API_MINOR_VERSION )
diff --git a/examples/Basic/HelloWorld.hs b/examples/Basic/HelloWorld.hs
index b17e890..1bf2cff 100644
--- a/examples/Basic/HelloWorld.hs
+++ b/examples/Basic/HelloWorld.hs
@@ -1,6 +1,6 @@
{-
HelloWorld.hs (adapted from hello_world.c in freealut)
- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>
+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de>
This file is part of the ALUT package & distributed under a BSD-style license
See the file libraries/ALUT/LICENSE
-}
diff --git a/examples/Basic/OpenALInfo.hs b/examples/Basic/OpenALInfo.hs
index a336aa1..4a28210 100644
--- a/examples/Basic/OpenALInfo.hs
+++ b/examples/Basic/OpenALInfo.hs
@@ -1,6 +1,6 @@
{-
OpenALInfo.hs (modeled after OpenGL's glxinfo)
- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>
+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de>
This file is part of the ALUT package & distributed under a BSD-style license
See the file libraries/ALUT/LICENSE
-}
diff --git a/examples/Basic/PlayFile.hs b/examples/Basic/PlayFile.hs
index 093e4ab..3c62ec0 100644
--- a/examples/Basic/PlayFile.hs
+++ b/examples/Basic/PlayFile.hs
@@ -1,6 +1,6 @@
{-
PlayFile.hs (adapted from playfile.c in freealut)
- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>
+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de>
This file is part of the ALUT package & distributed under a BSD-style license
See the file libraries/ALUT/LICENSE
-}
diff --git a/examples/TestSuite/TestErrorStuff.hs b/examples/TestSuite/TestErrorStuff.hs
index 8f76d36..871df84 100644
--- a/examples/TestSuite/TestErrorStuff.hs
+++ b/examples/TestSuite/TestErrorStuff.hs
@@ -1,6 +1,6 @@
{-
TestErrorStuff.hs (adapted from test_errorstuff.c in freealut)
- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>
+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de>
This file is part of the ALUT package & distributed under a BSD-style license
See the file libraries/ALUT/LICENSE
-}
diff --git a/examples/TestSuite/TestFileLoader.hs b/examples/TestSuite/TestFileLoader.hs
index 45361ba..4154dc2 100644
--- a/examples/TestSuite/TestFileLoader.hs
+++ b/examples/TestSuite/TestFileLoader.hs
@@ -1,6 +1,6 @@
{-
TestFileLoader.hs (adapted from test_fileloader.c in freealut)
- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>
+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de>
This file is part of the ALUT package & distributed under a BSD-style license
See the file libraries/ALUT/LICENSE
-}
diff --git a/examples/TestSuite/TestMemoryLoader.hs b/examples/TestSuite/TestMemoryLoader.hs
index 22a39df..0d47cc4 100644
--- a/examples/TestSuite/TestMemoryLoader.hs
+++ b/examples/TestSuite/TestMemoryLoader.hs
@@ -1,6 +1,6 @@
{-
TestMemoryLoader.hs (adapted from test_memoryloader.c in freealut)
- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>
+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de>
This file is part of the ALUT package & distributed under a BSD-style license
See the file libraries/ALUT/LICENSE
-}
diff --git a/examples/TestSuite/TestVersion.hs b/examples/TestSuite/TestVersion.hs
index 91a8ce9..559a5dd 100644
--- a/examples/TestSuite/TestVersion.hs
+++ b/examples/TestSuite/TestVersion.hs
@@ -1,6 +1,6 @@
{-
TestVersion.hs (adapted from test_version.c in freealut)
- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>
+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de>
This file is part of the ALUT package & distributed under a BSD-style license
See the file libraries/ALUT/LICENSE
-}
diff --git a/examples/TestSuite/TestWaveforms.hs b/examples/TestSuite/TestWaveforms.hs
index 2dbf5dc..49f89bf 100644
--- a/examples/TestSuite/TestWaveforms.hs
+++ b/examples/TestSuite/TestWaveforms.hs
@@ -1,6 +1,6 @@
{-
TestWaveforms.hs (adapted from test_waveforms.c in freealut)
- Copyright (c) Sven Panne 2005 <sven.panne@aedion.de>
+ Copyright (c) Sven Panne 2005-2009 <sven.panne@aedion.de>
This file is part of the ALUT package & distributed under a BSD-style license
See the file libraries/ALUT/LICENSE
-}
diff --git a/include/HsALUT.h b/include/HsALUT.h
index 68f60a9..e20d4dd 100644
--- a/include/HsALUT.h
+++ b/include/HsALUT.h
@@ -2,7 +2,7 @@
/* -----------------------------------------------------------------------------
*
* Module : C support for Sound.ALUT
- * Copyright : (c) Sven Panne 2005
+ * Copyright : (c) Sven Panne 2005-2009
* License : BSD-style (see the file libraries/ALUT/LICENSE)
*
* Maintainer : sven.panne@aedion.de
diff --git a/include/HsALUT.h.in b/include/HsALUT.h.in
index b296303..fa57cc8 100644
--- a/include/HsALUT.h.in
+++ b/include/HsALUT.h.in
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
*
* Module : C support for Sound.ALUT
- * Copyright : (c) Sven Panne 2005
+ * Copyright : (c) Sven Panne 2005-2009
* License : BSD-style (see the file libraries/ALUT/LICENSE)
*
* Maintainer : sven.panne@aedion.de