Permalink
Browse files

Preparing packaging

  • Loading branch information...
1 parent 8976276 commit 48b420062b3518848560ee12c3d14fc10f2f7610 @Twinside Twinside committed Jan 12, 2012
Showing with 26 additions and 10 deletions.
  1. +1 −1 Codec/Picture/Bitmap.hs
  2. +3 −0 Makefile
  3. +22 −9 Picture.cabal
View
@@ -21,7 +21,7 @@ import Data.Serialize( Serialize( .. )
, Get, Put, runGet, runPut
, remaining, getBytes )
import Data.Word( Word32, Word16, Word8 )
-import Data.Array.ST( MArray, runSTUArray, newArray, writeArray )
+import Data.Array.ST( MArray, runSTUArray, newArray )
import qualified Data.ByteString as B
import Codec.Picture.Types
View
@@ -34,3 +34,6 @@ test:
lint:
hlint Codec
+
+sdist:
+ runhaskell Setup.hs sdist
View
@@ -1,12 +1,14 @@
Name: JuicyPixels
-Version: 0.1
+Version: 1.0
Synopsis: Picture loading/serialization (in png, jpeg and bitmap)
--- Description:
+Description: This library can load and store images in various image formats,
+ for now mainly in PNG/Bitmap and Jpeg (jpeg writing not
+ implemented yet though)
+
License: BSD3
License-file: LICENSE
Author: Vincent Berthoux
Maintainer: vincent.berthoux@gmail.com
--- Copyright:
Category: Codec
Build-type: Simple
@@ -15,11 +17,19 @@ Build-type: Simple
-- Extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
-Cabal-version: >=1.2
+Cabal-version: >=1.6
+
+Source-Repository head
+ Type: git
+ Location: git://github.com/Twinside/Juicy.Pixels.git
+
+Source-Repository this
+ Type: git
+ Location: git://github.com/Twinside/Juicy.Pixels.git
+ Tag: v1.0
Executable imageTest
Main-Is: main.hs
- Extensions: CPP
Ghc-options: -O3 -Wall
-- -cpp -prof -auto-all -rtsopts -caf-all -fforce-recomp
Build-depends: base,
@@ -37,8 +47,7 @@ Library
Codec.Picture.Png,
Codec.Picture.Jpg,
Codec.Picture.Types
- Extensions: CPP
- Ghc-options: -Wall -cpp
+ Ghc-options: -O3 -Wall
Build-depends: base,
array,
bytestring,
@@ -47,6 +56,10 @@ Library
zlib >= 0.5.3.1,
transformers >= 0.2.2 && < 0.3
-- Modules not exported by this package.
-- Other-modules:
+-- Modules not exported by this package.
+ Other-modules: Codec.Picture.Jpg.DefaultTable,
+ Codec.Picture.Jpg.FastIdct,
+ Codec.Picture.Png.Export,
+ Codec.Picture.Png.Type
+

0 comments on commit 48b4200

Please sign in to comment.