adddir ./debian addfile ./debian/changelog addfile ./debian/compat addfile ./debian/control addfile ./debian/copyright addfile ./debian/libghc6-cc-delcont-doc.postinst addfile ./debian/libghc6-cc-delcont-doc.postrm addfile ./debian/rules hunk ./debian/changelog 1 +haskell-cc-delcont (0.2) unstable; urgency=low + + * Debianization generated by cabal-debian + + -- Clifford Beshers Wed, 01 Oct 2008 21:11:10 -0700 + hunk ./debian/compat 1 +5 hunk ./debian/control 1 +Source: haskell-cc-delcont +Priority: optional +Section: misc +Maintainer: Clifford Beshers +Build-Depends: debhelper (>= 5.0), + haskell-devscripts-cdbs, + cabal-debian (>= 0.7), + ghc6 (>= 6.8), + ghc6-doc, + haddock, + ghc6-prof, + libghc6-base-prof, + libghc6-base-doc, + libghc6-mtl-prof, + libghc6-mtl-doc +Standards-Version: 3.7.2.2 +Homepage: http://code.haskell.org/~dolio/CC-delcont + +Package: libghc6-cc-delcont-dev +Architecture: any +Section: libdevel +Depends: ${haskell:Depends} +Description: Delimited continuations and dynamically scoped variables + An implementation of multi-prompt delimited continuations based + on the paper, /A Monadic Framework for Delimited Continuations/, + by R. Kent Dybvig, Simon Peyton Jones and Amr Sabry + (). + It also includes a corresponding implementation of dynamically + scoped variables, as implemented in the paper, + /Delimited Dynamic Binding/, by Oleg Kiselyov, Chung-chieh Shan + and Amr Sabry + (), + adapted from the original haskell code, + (). + . + Author: R. Kent Dybvig, Simon Peyton Jones, Amr Sabry, Oleg Kiselyov, + Chung-chieh Shan + Upstream-Maintainer: dan.doel@gmail.com + . + This package contains the normal library files. + +Package: libghc6-cc-delcont-prof +Architecture: any +Section: libdevel +Depends: ${haskell:Depends} +Description: Delimited continuations and dynamically scoped variables + An implementation of multi-prompt delimited continuations based + on the paper, /A Monadic Framework for Delimited Continuations/, + by R. Kent Dybvig, Simon Peyton Jones and Amr Sabry + (). + It also includes a corresponding implementation of dynamically + scoped variables, as implemented in the paper, + /Delimited Dynamic Binding/, by Oleg Kiselyov, Chung-chieh Shan + and Amr Sabry + (), + adapted from the original haskell code, + (). + . + Author: R. Kent Dybvig, Simon Peyton Jones, Amr Sabry, Oleg Kiselyov, + Chung-chieh Shan + Upstream-Maintainer: dan.doel@gmail.com + . + This package contains the libraries compiled with profiling enabled. + +Package: libghc6-cc-delcont-doc +Architecture: any +Section: libdevel +Depends: ${haskell:Depends} +Description: Delimited continuations and dynamically scoped variables + An implementation of multi-prompt delimited continuations based + on the paper, /A Monadic Framework for Delimited Continuations/, + by R. Kent Dybvig, Simon Peyton Jones and Amr Sabry + (). + It also includes a corresponding implementation of dynamically + scoped variables, as implemented in the paper, + /Delimited Dynamic Binding/, by Oleg Kiselyov, Chung-chieh Shan + and Amr Sabry + (), + adapted from the original haskell code, + (). + . + Author: R. Kent Dybvig, Simon Peyton Jones, Amr Sabry, Oleg Kiselyov, + Chung-chieh Shan + Upstream-Maintainer: dan.doel@gmail.com + . + This package contains the documentation files. hunk ./debian/copyright 1 +The code in this library is derived from several sources: + + * Code for the implementation of delimited continuations (Control.Monad.CC, + Control.Monad.CC.Prompt, Control.Monad.CC.Seq) is derived from work + (c) R. Kent Dybvig, Simon L. Peyton Jones and Amr Sabry. + + * Code for dynamically scoped variables (Control.Monad.CC.Dynvar) is derived + from work (c) Amr Sabry, Chung-chieh Shan and Oleg Kiselyov. + + * Additional modifications and improvements (c) Dan Doel and Oleg Kiselyov + +All code is available under the MIT license. The text of the licenses from the +original sources is reproduced below. + +------------------------------------------------------------------------------- + +Code derived from "A Monadic Framework for Delimited Continuations" is +distributed under the following license: + +Copyright (c) 2005, R. Kent Dybvig, Simon L. Peyton Jones, and Amr Sabry + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------------------------------------------------------------------- + +Code derived from "Delimited Dynamic Binding" and its implementation is +distributed under the following license: + +Copyright (c) 2006, Amr Sabry, Chung-chieh Shan, and Oleg Kiselyov + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------------------------------------------------------------------- hunk ./debian/libghc6-cc-delcont-doc.postinst 1 +#! /bin/sh +# Generic doc postinst script for Haskell cabal libraries v9 by Ian Lynagh. +# +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure|abort-upgrade|abort-remove|abort-deconfigure) + cd /usr/share/doc/ghc6-doc/libraries + /usr/lib/ghc6-doc/gen_contents_index + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 hunk ./debian/libghc6-cc-delcont-doc.postrm 1 +#! /bin/sh +# Generic doc postrm script for Haskell cabal libraries v9 by Ian Lynagh. + +set -e + +DIR=/usr/share/doc/ghc6-doc/libraries +GEN=/usr/lib/ghc6-doc/gen_contents_index + +case "$1" in + *) + [ -d $DIR ] && [ -e $GEN ] && cd $DIR && $GEN + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + hunk ./debian/rules 1 +#!/usr/bin/make -f +include /usr/share/haskell-devscripts/hlibrary.mk + +# How to install an extra file into the documentation package +#binary-fixup/libghc6-CC-delcont-doc:: +# echo "Some informative text" > debian/libghc6-CC-delcont-doc/usr/share/doc/libghc6-CC-delcont-doc/AnExtraDocFile