Hello Games Team, Paul pointed me to that game and said that the Games team might need a bit of help from the Haskell team when packaging it. So I had a look at what needs to be done. This is based on today’s development version of nikki. The following libraries needed to be installed from Hackage (e.g. are not yet package for Debian): Hipmunk-5.2.0.2 (patched to allow for containers == 0.4.0.0) download-curl-0.1.3 (patched to allow for tagsoup ==0.12) clock-0.2.0.0 StateVar-1.0.0.0 FindBin-0.0.5 RSA-1.0.6.1 bindings-DSL-1.0.12 bindings-libzip-0.1.0.2 LibZip-0.2.0.1 data-accessor-mtl-0.2.0.2 temporary-1.1.2 These package were installed from non-Hackage locations, as explained on https://patch-tag.com/r/shahn/nikki-wiki/wiki/Compiling%20on%20Linux. Having them on hackage would be desirable, but is not really a precondition to packaging them. But at least upstream releases in form of a tarball of some kind would be appreciated. buffer clocked sfml-audio The packages Hipmunk and sfml-audio contain convenience copies of the C library they link to, both have been packaged in Debian. Linking against the Debian package needs to be investigated. The mentioned patches change only the version range of the corresponding dependency of the package in the .cabal file, we’ll just do that when we package those libraries. With having that installed, the program compiles and runs fine. Didn’t test the sound though, sitting in the DebConf hacklab right now :-) Ok, looking at Hipmunk now. Can be made to compile against chipmunk-dev using the attached patch. Ideally this is made dependent on a flag so that this can be included by upstream. For sfml, the Haskell package includes a directory "sfml2", which I assume corresponds to the development version of SFML, packaged for Debian is 1.6. I did not try building against that now. That’s it from my side, hope that help, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
--- old-hipmunk/Hipmunk.cabal 2011-07-30 14:34:54.000000000 +0200 +++ new-hipmunk/Hipmunk.cabal 2011-07-30 14:34:54.000000000 +0200 @@ -3,7 +3,7 @@ Tested-With: GHC Category: Physics, Game Name: Hipmunk -Version: 5.2.0.2 +Version: 5.2.0.2.1 Stability: provisional License: OtherLicense License-File: LICENSE @@ -120,36 +120,11 @@ Physics.Hipmunk.Internal Include-Dirs: Physics/Hipmunk, - Chipmunk-5.3.4/include/chipmunk + Chipmunk-5.3.4/include/chipmunk, + /usr/include/chipmunk Includes: wrapper.h C-Sources: - Chipmunk-5.3.4/src/chipmunk.c, - Chipmunk-5.3.4/src/constraints/cpConstraint.c, - Chipmunk-5.3.4/src/constraints/cpDampedRotarySpring.c, - Chipmunk-5.3.4/src/constraints/cpDampedSpring.c, - Chipmunk-5.3.4/src/constraints/cpGearJoint.c, - Chipmunk-5.3.4/src/constraints/cpGrooveJoint.c, - Chipmunk-5.3.4/src/constraints/cpPinJoint.c, - Chipmunk-5.3.4/src/constraints/cpPivotJoint.c, - Chipmunk-5.3.4/src/constraints/cpRatchetJoint.c, - Chipmunk-5.3.4/src/constraints/cpRotaryLimitJoint.c, - Chipmunk-5.3.4/src/constraints/cpSimpleMotor.c, - Chipmunk-5.3.4/src/constraints/cpSlideJoint.c, - Chipmunk-5.3.4/src/cpArbiter.c, - Chipmunk-5.3.4/src/cpArray.c, - Chipmunk-5.3.4/src/cpBB.c, - Chipmunk-5.3.4/src/cpBody.c, - Chipmunk-5.3.4/src/cpCollision.c, - Chipmunk-5.3.4/src/cpHashSet.c, - Chipmunk-5.3.4/src/cpPolyShape.c, - Chipmunk-5.3.4/src/cpShape.c, - Chipmunk-5.3.4/src/cpSpace.c, - Chipmunk-5.3.4/src/cpSpaceComponent.c, - Chipmunk-5.3.4/src/cpSpaceHash.c, - Chipmunk-5.3.4/src/cpSpaceQuery.c, - Chipmunk-5.3.4/src/cpSpaceStep.c, - Chipmunk-5.3.4/src/cpVect.c, Physics/Hipmunk/wrapper.c if flag(small_base) Build-Depends: base >= 3 && < 5,
Attachment:
signature.asc
Description: This is a digitally signed message part