[DHG_packages] 01/01: add LambdaHack

Clint Adams clint at moszumanska.debian.org
Mon Jun 12 13:32:28 UTC 2017


This is an automated email from the git hooks/post-receive script.

clint pushed a commit to branch master
in repository DHG_packages.

commit 0d3cd0a81f392cdd6669dc47f73edcc408191582
Author: Clint Adams <clint at debian.org>
Date:   Mon Jun 12 08:17:54 2017 -0400

    add LambdaHack
---
 p/haskell-lambdahack/debian/changelog            |   5 +
 p/haskell-lambdahack/debian/compat               |   1 +
 p/haskell-lambdahack/debian/control              | 179 +++++++++++++++++++++++
 p/haskell-lambdahack/debian/copyright            |  38 +++++
 p/haskell-lambdahack/debian/lambdahack.install   |   8 +
 p/haskell-lambdahack/debian/patches/newer-gtk    |  11 ++
 p/haskell-lambdahack/debian/patches/series       |   2 +
 p/haskell-lambdahack/debian/patches/spelling-fix |  11 ++
 p/haskell-lambdahack/debian/rules                |  11 ++
 p/haskell-lambdahack/debian/source/format        |   1 +
 p/haskell-lambdahack/debian/watch                |   2 +
 11 files changed, 269 insertions(+)

diff --git a/p/haskell-lambdahack/debian/changelog b/p/haskell-lambdahack/debian/changelog
new file mode 100644
index 0000000..f53307e
--- /dev/null
+++ b/p/haskell-lambdahack/debian/changelog
@@ -0,0 +1,5 @@
+haskell-lambdahack (0.5.0.0-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Clint Adams <clint at debian.org>  Mon, 12 Jun 2017 07:52:36 -0400
diff --git a/p/haskell-lambdahack/debian/compat b/p/haskell-lambdahack/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/p/haskell-lambdahack/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/p/haskell-lambdahack/debian/control b/p/haskell-lambdahack/debian/control
new file mode 100644
index 0000000..1fe1cb5
--- /dev/null
+++ b/p/haskell-lambdahack/debian/control
@@ -0,0 +1,179 @@
+Source: haskell-lambdahack
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers at lists.alioth.debian.org>
+Uploaders: Clint Adams <clint at debian.org>
+Priority: extra
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ haskell-devscripts-minimal | haskell-devscripts (>= 0.8),
+ cdbs,
+ ghc,
+ ghc-prof,
+ libghc-assert-failure-dev (>= 0.1),
+ libghc-assert-failure-dev (<< 1),
+ libghc-assert-failure-prof (>= 0.1),
+ libghc-assert-failure-prof (<< 1),
+ libghc-async-dev (>= 2),
+ libghc-async-dev (<< 3),
+ libghc-async-prof (>= 2),
+ libghc-async-prof (<< 3),
+ libghc-data-default-dev,
+ libghc-data-default-prof,
+ libghc-enummapset-th-dev (>= 0.6.0.0),
+ libghc-enummapset-th-dev (<< 1),
+ libghc-enummapset-th-prof (>= 0.6.0.0),
+ libghc-enummapset-th-prof (<< 1),
+ libghc-gtk-dev (>= 0.12.1),
+ libghc-gtk-prof (>= 0.12.1),
+ libghc-hashable-dev (>= 1.1.2.5),
+ libghc-hashable-dev (<< 2),
+ libghc-hashable-prof (>= 1.1.2.5),
+ libghc-hashable-prof (<< 2),
+ libghc-hsini-dev (>= 0.2),
+ libghc-hsini-dev (<< 2),
+ libghc-hsini-prof (>= 0.2),
+ libghc-hsini-prof (<< 2),
+ libghc-keys-dev (>= 3),
+ libghc-keys-dev (<< 4),
+ libghc-keys-prof (>= 3),
+ libghc-keys-prof (<< 4),
+ libghc-miniutter-dev (>= 0.4.4),
+ libghc-miniutter-dev (<< 2),
+ libghc-miniutter-prof (>= 0.4.4),
+ libghc-miniutter-prof (<< 2),
+ libghc-mtl-dev (>= 2.0.1),
+ libghc-mtl-dev (<< 3),
+ libghc-mtl-prof (>= 2.0.1),
+ libghc-mtl-prof (<< 3),
+ libghc-old-time-dev (>= 1.0.0.7),
+ libghc-old-time-dev (<< 2),
+ libghc-old-time-prof (>= 1.0.0.7),
+ libghc-old-time-prof (<< 2),
+ libghc-pretty-show-dev (>= 1.6),
+ libghc-pretty-show-dev (<< 2),
+ libghc-pretty-show-prof (>= 1.6),
+ libghc-pretty-show-prof (<< 2),
+ libghc-random-dev (>= 1.1),
+ libghc-random-dev (<< 2),
+ libghc-random-prof (>= 1.1),
+ libghc-random-prof (<< 2),
+ libghc-stm-dev (>= 2.4),
+ libghc-stm-dev (<< 3),
+ libghc-stm-prof (>= 2.4),
+ libghc-stm-prof (<< 3),
+ libghc-text-dev (>= 0.11.2.3),
+ libghc-text-dev (<< 2),
+ libghc-text-prof (>= 0.11.2.3),
+ libghc-text-prof (<< 2),
+ libghc-unordered-containers-dev (>= 0.2.3),
+ libghc-unordered-containers-dev (<< 1),
+ libghc-unordered-containers-prof (>= 0.2.3),
+ libghc-unordered-containers-prof (<< 1),
+ libghc-vector-dev (>= 0.10),
+ libghc-vector-dev (<< 1),
+ libghc-vector-prof (>= 0.10),
+ libghc-vector-prof (<< 1),
+ libghc-vector-binary-instances-dev (>= 0.2),
+ libghc-vector-binary-instances-dev (<< 1),
+ libghc-vector-binary-instances-prof (>= 0.2),
+ libghc-vector-binary-instances-prof (<< 1),
+ libghc-zlib-dev (>= 0.5.3.1),
+ libghc-zlib-dev (<< 1),
+ libghc-zlib-prof (>= 0.5.3.1),
+ libghc-zlib-prof (<< 1),
+ libgtk2.0-dev,
+Build-Depends-Indep: ghc-doc,
+ libghc-assert-failure-doc,
+ libghc-async-doc,
+ libghc-data-default-doc,
+ libghc-enummapset-th-doc,
+ libghc-gtk-doc,
+ libghc-hashable-doc,
+ libghc-hsini-doc,
+ libghc-keys-doc,
+ libghc-miniutter-doc,
+ libghc-mtl-doc,
+ libghc-old-time-doc,
+ libghc-pretty-show-doc,
+ libghc-random-doc,
+ libghc-stm-doc,
+ libghc-text-doc,
+ libghc-unordered-containers-doc,
+ libghc-vector-doc,
+ libghc-vector-binary-instances-doc,
+ libghc-zlib-doc,
+Standards-Version: 3.9.8
+Homepage: http://github.com/LambdaHack/LambdaHack
+X-Description: game engine library for roguelike dungeon crawlers
+ LambdaHack is a game engine library for roguelike games
+ of arbitrary theme, size and complexity,
+ packaged together with a small example dungeon crawler.
+ .
+ When completed, the engine will let you specify content
+ to be procedurally generated, define the AI behaviour
+ on top of the generic content-independent rules
+ and compile a ready-to-play game binary, using either
+ the supplied or a custom-made main loop.
+ Several frontends are available (GTK+ is the default)
+ and many other generic engine components are easily overridden,
+ but the fundamental source of flexibility lies
+ in the strict and type-safe separation of code from the content
+ and of clients (human and AI-controlled) from the server.
+ Please see the changelog file for recent improvements
+ and the issue tracker for short-term plans. Long term vision
+ revolves around procedural content generation and includes
+ in-game content creation, auto-balancing and persistent
+ content modification based on player behaviour.
+
+Package: libghc-lambdahack-dev
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-lambdahack-prof
+Architecture: any
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: libghc-lambdahack-doc
+Architecture: all
+Section: doc
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
+
+Package: lambdahack
+Architecture: any
+Section: games
+Depends: ${haskell:Depends},
+ ${misc:Depends},
+Recommends: ${haskell:Recommends},
+Suggests: ${haskell:Suggests},
+Conflicts: ${haskell:Conflicts},
+Provides: ${haskell:Provides},
+Description: ${haskell:ShortDescription}${haskell:ShortBlurb}
+ ${haskell:LongDescription}
+ .
+ ${haskell:Blurb}
diff --git a/p/haskell-lambdahack/debian/copyright b/p/haskell-lambdahack/debian/copyright
new file mode 100644
index 0000000..2b2d076
--- /dev/null
+++ b/p/haskell-lambdahack/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: LambdaHack
+Upstream-Contact: Mikolaj Konarski <mikolaj.konarski at funktory.com>
+Source: https://hackage.haskell.org/package/LambdaHack
+
+Files: *
+Copyright: 2008-2015 Andres Loeh
+           2010-2015 Mikolaj Konarski
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: held by the contributors mentioned in debian/changelog
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the author nor the names of his contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/p/haskell-lambdahack/debian/lambdahack.install b/p/haskell-lambdahack/debian/lambdahack.install
new file mode 100644
index 0000000..28a4e09
--- /dev/null
+++ b/p/haskell-lambdahack/debian/lambdahack.install
@@ -0,0 +1,8 @@
+./CHANGELOG.md usr/share/LambdaHack/.
+./CREDITS usr/share/LambdaHack/.
+./GameDefinition/PLAYING.md usr/share/LambdaHack/GameDefinition
+./GameDefinition/config.ui.default usr/share/LambdaHack/GameDefinition
+./GameDefinition/scores usr/share/LambdaHack/GameDefinition
+./LICENSE usr/share/LambdaHack/.
+./README.md usr/share/LambdaHack/.
+dist-ghc/build/LambdaHack/LambdaHack usr/games
diff --git a/p/haskell-lambdahack/debian/patches/newer-gtk b/p/haskell-lambdahack/debian/patches/newer-gtk
new file mode 100644
index 0000000..13dc7a9
--- /dev/null
+++ b/p/haskell-lambdahack/debian/patches/newer-gtk
@@ -0,0 +1,11 @@
+--- a/LambdaHack.cabal
++++ b/LambdaHack.cabal
+@@ -264,7 +264,7 @@
+   } else {
+     if impl(ghc > 7.8) {
+       other-modules:    Game.LambdaHack.Client.UI.Frontend.Gtk
+-      build-depends:    gtk >= 0.12.1 && < 0.14
++      build-depends:    gtk >= 0.12.1
+       pkgconfig-depends: gtk+-2.0
+     } else {
+       other-modules:    Game.LambdaHack.Client.UI.Frontend.Gtk
diff --git a/p/haskell-lambdahack/debian/patches/series b/p/haskell-lambdahack/debian/patches/series
new file mode 100644
index 0000000..e37a441
--- /dev/null
+++ b/p/haskell-lambdahack/debian/patches/series
@@ -0,0 +1,2 @@
+newer-gtk
+spelling-fix
diff --git a/p/haskell-lambdahack/debian/patches/spelling-fix b/p/haskell-lambdahack/debian/patches/spelling-fix
new file mode 100644
index 0000000..8c34364
--- /dev/null
+++ b/p/haskell-lambdahack/debian/patches/spelling-fix
@@ -0,0 +1,11 @@
+--- a/Game/LambdaHack/Client/UI/InventoryClient.hs
++++ b/Game/LambdaHack/Client/UI/InventoryClient.hs
+@@ -61,7 +61,7 @@
+ ppItemDialogMode :: ItemDialogMode -> (Text, Text)
+ ppItemDialogMode (MStore cstore) = ppCStore cstore
+ ppItemDialogMode MOwned = ("in", "our possession")
+-ppItemDialogMode MStats = ("among", "strenghts")
++ppItemDialogMode MStats = ("among", "strengths")
+ 
+ ppItemDialogModeIn :: ItemDialogMode -> Text
+ ppItemDialogModeIn c = let (tIn, t) = ppItemDialogMode c in tIn <+> t
diff --git a/p/haskell-lambdahack/debian/rules b/p/haskell-lambdahack/debian/rules
new file mode 100755
index 0000000..c35be22
--- /dev/null
+++ b/p/haskell-lambdahack/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+DEB_ENABLE_TESTS = yes
+DEB_SETUP_BIN_NAME = debian/hlibrary.setup
+DEB_CABAL_PACKAGE = lambdahack
+DEB_DEFAULT_COMPILER = ghc
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
+
+build/lambdahack:: build-ghc-stamp
diff --git a/p/haskell-lambdahack/debian/source/format b/p/haskell-lambdahack/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/p/haskell-lambdahack/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/p/haskell-lambdahack/debian/watch b/p/haskell-lambdahack/debian/watch
new file mode 100644
index 0000000..877237d
--- /dev/null
+++ b/p/haskell-lambdahack/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://hackage.haskell.org/package/LambdaHack/distro-monitor .*-([0-9\.]+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list