--- haskell-hlist-2.0+darcs20070929.orig/debian/compat +++ haskell-hlist-2.0+darcs20070929/debian/compat @@ -0,0 +1 @@ +6 --- haskell-hlist-2.0+darcs20070929.orig/debian/rules +++ haskell-hlist-2.0+darcs20070929/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f + +include $(CURDIR)/debian/hlibrary.mk --- haskell-hlist-2.0+darcs20070929.orig/debian/control +++ haskell-hlist-2.0+darcs20070929/debian/control @@ -0,0 +1,46 @@ +Source: haskell-hlist +Section: libdevel +Priority: optional +Maintainer: Kari Pahula +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 6), ghc6 (>= 6.8.2), haskell-devscripts (>= 0.6.6), libghc6-base-dev, libghc6-base-prof, hugs, cdbs +Homepage: http://homepages.cwi.nl/~ralf/HList/ + +Package: libghc6-hlist-dev +Architecture: any +Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Haskell library for strongly typed heterogeneous collections + A heterogeneous collection is a datatype that is capable of storing + data of different types, while providing operations for look-up, + update, iteration, and others. There are various kinds of + heterogeneous collections, differing in representation, invariants, + and access operations. + . + HList is a Haskell library providing strongly typed heterogeneous + collections including extensible records. + +Package: libghc6-hlist-prof +Architecture: any +Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Haskell library for strongly typed heterogeneous collections + A heterogeneous collection is a datatype that is capable of storing + data of different types, while providing operations for look-up, + update, iteration, and others. There are various kinds of + heterogeneous collections, differing in representation, invariants, + and access operations. + . + HList is a Haskell library providing strongly typed heterogeneous + collections including extensible records. + +Package: libhugs-hlist +Architecture: any +Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Haskell library for strongly typed heterogeneous collections + A heterogeneous collection is a datatype that is capable of storing + data of different types, while providing operations for look-up, + update, iteration, and others. There are various kinds of + heterogeneous collections, differing in representation, invariants, + and access operations. + . + HList is a Haskell library providing strongly typed heterogeneous + collections including extensible records. --- haskell-hlist-2.0+darcs20070929.orig/debian/libghc6-hlist-dev.docs +++ haskell-hlist-2.0+darcs20070929/debian/libghc6-hlist-dev.docs @@ -0,0 +1 @@ +keyword-arguments.lhs --- haskell-hlist-2.0+darcs20070929.orig/debian/hlibrary.mk +++ haskell-hlist-2.0+darcs20070929/debian/hlibrary.mk @@ -0,0 +1,85 @@ +#!/usr/bin/make -f + +# Experimental CDBS rule file for building haskell library packages v0.3 +# TODO: Get this included in a package (haskell-devscripts?) and have +# it installed somewhere under /usr/share/cdbs/ +# Fix any remaining issues with this. Feedback is welcome! + +CABAL_PACKAGE = $(shell cat *.cabal |\ + perl -ne 'if (/^name:\s*(.*)$$/i) {$$_ = $$1; tr/A-Z/a-z/; print; exit 0;}') + +clean:: + test ! -e setup-bin || ./setup-bin clean + rm -rf dist dist-ghc6 dist-hugs setup-bin Setup.hi Setup.ho Setup.o .*config* + +setup-bin:: + if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi + for setup in Setup.lhs Setup.hs; do if test -e $$setup; then ghc6 -package Cabal $$setup -o setup-bin; exit 0; fi; done + +dist-ghc6: setup-bin + ./setup-bin configure --ghc --prefix=/usr/lib/haskell-packages/ghc6 --enable-library-profiling -v2 + mv dist dist-ghc6 + +build/libghc6-$(CABAL_PACKAGE)-dev:: dist-ghc6 + mv dist-ghc6 dist + ./setup-bin build + mv dist dist-ghc6 + +build/libghc6-$(CABAL_PACKAGE)-prof:: dist-ghc6 + mv dist-ghc6 dist + ./setup-bin build + mv dist dist-ghc6 + +build/libghc6-$(CABAL_PACKAGE)-doc:: dist-ghc6 + mv dist-ghc6 dist + ./setup-bin haddock + mv dist dist-ghc6 + +dist-hugs: setup-bin + ./setup-bin configure --hugs --prefix=/usr -v2 + mv dist dist-hugs + +build/libhugs-$(CABAL_PACKAGE):: dist-hugs + mv dist-hugs dist + ./setup-bin build + mv dist dist-hugs + +binary-install/libghc6-$(CABAL_PACKAGE)-dev:: setup-bin + mv dist-ghc6 dist + ./setup-bin copy --destdir=debian/libghc6-$(CABAL_PACKAGE)-dev + dh_haskell_prep -plibghc6-$(CABAL_PACKAGE)-dev + cp dist/installed-pkg-config debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/lib/*/ + rm -rf debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/share/ + mv dist dist-ghc6 + +binary-fixup/libghc6-$(CABAL_PACKAGE)-dev:: binary-install/libghc6-$(CABAL_PACKAGE)-dev setup-bin + find debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/lib/ -name "*_p.a" -exec rm '{}' ';' + find debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/lib/ -name "*.p_hi" -exec rm '{}' ';' + +binary-install/libghc6-$(CABAL_PACKAGE)-prof:: setup-bin + mv dist-ghc6 dist + ./setup-bin copy --destdir=debian/libghc6-$(CABAL_PACKAGE)-prof + dh_haskell_prep -plibghc6-$(CABAL_PACKAGE)-prof + cp dist/installed-pkg-config debian/libghc6-$(CABAL_PACKAGE)-dev/usr/lib/haskell-packages/ghc6/lib/*/ + rm -rf debian/libghc6-$(CABAL_PACKAGE)-prof/usr/lib/haskell-packages/ghc6/share/ + mv dist dist-ghc6 + +binary-fixup/libghc6-$(CABAL_PACKAGE)-prof:: binary-install/libghc6-$(CABAL_PACKAGE)-prof setup-bin + find debian/libghc6-$(CABAL_PACKAGE)-prof/usr/lib/haskell-packages/ghc6/lib/ -name "*[^p].a" -exec rm '{}' ';' + find debian/libghc6-$(CABAL_PACKAGE)-prof/usr/lib/haskell-packages/ghc6/lib/ -name "*.o" -exec rm '{}' ';' + find debian/libghc6-$(CABAL_PACKAGE)-prof/usr/lib/haskell-packages/ghc6/lib/ -name "*.hi" -exec rm '{}' ';' + +binary-install/libghc6-$(CABAL_PACKAGE)-doc:: setup-bin + mv dist-ghc6 dist + mkdir -p debian/libghc6-$(CABAL_PACKAGE)-doc/usr/share/doc/libghc6-$(CABAL_PACKAGE)-doc/html/ + cp -r dist/doc/html/*/* debian/libghc6-$(CABAL_PACKAGE)-doc/usr/share/doc/*/html/ + mv dist dist-ghc6 + +binary-install/libhugs-$(CABAL_PACKAGE):: setup-bin + mv dist-hugs dist + ./setup-bin copy --destdir=debian/libhugs-$(CABAL_PACKAGE) + rm -rf debian/libhugs-$(CABAL_PACKAGE)/usr/share/doc/ + dh_haskell_prep -plibhugs-$(CABAL_PACKAGE) + mv dist dist-hugs + +include /usr/share/cdbs/1/rules/debhelper.mk --- haskell-hlist-2.0+darcs20070929.orig/debian/copyright +++ haskell-hlist-2.0+darcs20070929/debian/copyright @@ -0,0 +1,30 @@ +This package was debianised by Kari Pahula on Thu, +08 Mar 2007. All of the Debian packaging scripts are licensed under +GNU GPL version 2 (or, at your option, any later version). See +/usr/share/common-licenses/GPL-2 + +HList was downloaded from http://darcs.haskell.org/HList/ + +Copyright: + 2004 - 2006 Keean Schupke + 2004 - 2007 Oleg Kiselyov, Ralf Laemmel + 2007 Einar Karttunen + +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. --- haskell-hlist-2.0+darcs20070929.orig/debian/changelog +++ haskell-hlist-2.0+darcs20070929/debian/changelog @@ -0,0 +1,30 @@ +haskell-hlist (2.0+darcs20070929-1build1) jaunty; urgency=low + + * No-change rebuild to pick up new GHC (LP: #320946). + + -- Iain Lane Sun, 25 Jan 2009 15:05:16 +0000 + +haskell-hlist (2.0+darcs20070929-1) unstable; urgency=low + + * New upstream release + * Built for ghc 6.8.2. (Closes: #445759) + * Use cdbs and haskell-devscripts instead of haskell-utils. + * Leave examples uninstalled as they don't seem to be relevant to the + current HList version. + * Added a -prof package for ghc6 and a hugs library package. + + -- Kari Pahula Wed, 23 Jan 2008 11:49:23 +0200 + +haskell-hlist (2.0+darcs20070316-2) unstable; urgency=low + + * Rebuilt and updated dependencies for ghc 6.6.1 + + -- Kari Pahula Mon, 14 May 2007 15:05:09 +0300 + +haskell-hlist (2.0+darcs20070316-1) unstable; urgency=low + + * Initial release (Closes: #413826) + * Used Ian Lynagh's Generic Haskell cabal library debian/rules v0.6 + + -- Kari Pahula Fri, 20 Apr 2007 19:07:22 +0300 +