Nice work! Two minor suggestions, apart from the the paths issue already
discussed here:
* Either include a license file in the source distribution or remove the
corresponding line in the .cabal file. Cabal won't work if it is specified and
missing.
* List all your build dependencies directly, so users can simply do a
"cabal install", pulling all missing dependencies automatically. No need for
Makefiles or a long description in the README anymore...
Patch for those items attached.
As a side note, I get a very bad feeling when Hipmunk gets compiled on my
x86_64 box:
chipmunk/cpCollision.c: In function ‘findVerts’:
chipmunk/cpCollision.c:174:0:
warning: cast from pointer to integer of different size
chipmunk/cpCollision.c:180:0:
warning: cast from pointer to integer of different size
chipmunk/cpCollision.c: In function ‘findPointsBehindSeg’:
chipmunk/cpCollision.c:233:0:
warning: cast from pointer to integer of different size
chipmunk/cpCollision.c: In function ‘seg2poly’:
chipmunk/cpCollision.c:274:0:
warning: cast from pointer to integer of different size
chipmunk/cpCollision.c:276:0:
warning: cast from pointer to integer of different size
chipmunk/cpSpace.c: In function ‘queryFunc’:
chipmunk/cpSpace.c:411:0:
warning: cast from pointer to integer of different size
chipmunk/cpSpace.c:411:0:
warning: cast from pointer to integer of different size
This can't be correct, but I'll probably have to take a look at that. Or is it
a know bug that Hipmunk ist not 64bit-clean?
Cheers,
S.
--- Silkworm.cabal.orig 2009-04-14 00:33:14.000000000 +0200
+++ Silkworm.cabal 2009-05-03 13:48:05.000000000 +0200
@@ -2,7 +2,6 @@
Version: 0.2
Description: 2D game based on the Hipmunk physics engine bindings.
License: LGPL
-License-file: LICENSE
Author: Duane Johnson
Maintainer: [email protected]
Build-Type: Simple
@@ -10,5 +9,5 @@
Executable haq
Main-is: main.hs
- Build-Depends: base
+ Build-Depends: base, array, containers, directory, random, pngload, Hipmunk, GLFW, OpenGL
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe