--- haskelldb-0.10.orig/debian/watch +++ haskelldb-0.10/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://hackage.haskell.org/packages/archive/haskelldb/([\d.]+)/haskelldb-([\d.]+).tar.gz + --- haskelldb-0.10.orig/debian/copyright +++ haskelldb-0.10/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by John Goerzen on +Fri, 11 Feb 2005. + +It was downloaded from haskelldb.sourceforge.net + +Copyright: + +Copyright (c) 1999 Daan Leijen, daan@cs.uu.nl +Copyright (c) 2003-2004 The HaskellDB development team +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * 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. + + * Neither the names of the copyright holders nor the names of the + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"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 COPYRIGHT +OWNER 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. --- haskelldb-0.10.orig/debian/haskell-haskelldb-doc.doc-base +++ haskelldb-0.10/debian/haskell-haskelldb-doc.doc-base @@ -0,0 +1,9 @@ +Document: haskelldb-api +Title: HaskellDB API documentation +Author: Daan Leijen et. al. +Abstract: The API documentation for the HaskellDB library for expressing database queries and operations in a type safe and declarative way. +Section: Programming/Haskell + +Format: HTML +Index: /usr/share/doc/haskell-haskelldb-doc/html/haskelldb/index.html +Files: /usr/share/doc/haskell-haskelldb-doc/html/haskelldb/*.html --- haskelldb-0.10.orig/debian/changelog +++ haskelldb-0.10/debian/changelog @@ -0,0 +1,251 @@ +haskelldb (0.10-5) unstable; urgency=low + + * debian/haskell-haskelldb-doc.doc-base: + - Change doc-base section to Programming/Haskell as it should be. + + -- Arjan Oosting Wed, 30 Apr 2008 23:13:40 +0200 + +haskelldb (0.10-4) unstable; urgency=low + + * debian/control: + - Drop un-needed build dependencies on autotools-dev, dctrl-tools and + libghc6-mtl-prof. + - Drop the ${binary:Version} in the dependency on haskelldb-bin which + is build from another source package. + - Let the VCS-* fields point to the trunk. + * debian/haskelldb-dev.{dirs,install}: removed this cruft. + * Setup.lhs: Removed this cruft also. + + -- Arjan Oosting Wed, 30 Apr 2008 23:07:05 +0200 + +haskelldb (0.10-3) unstable; urgency=low + + * Fix lintian warning "doc-base-unknown-section haskelldb-api:5 + Apps/Programming" + + -- Arjan Oosting Mon, 17 Mar 2008 00:01:05 +0100 + +haskelldb (0.10-2) unstable; urgency=low + + * Rebuild with haskell-devscripts 0.6.6 to get the correct path to the + API documentation in the package configuration file. + + -- Arjan Oosting Mon, 21 Jan 2008 02:24:04 +0100 + +haskelldb (0.10-1) unstable; urgency=low + + * New upstream release. (Closes: #446568) + * Because the Haskell library has been divided into a couple of Haskell + libraries a couple of new Debian packages corresponding to the new + libraries are introduced. + * Updated for GHC 6.8.2 and Cabal version 1.2.3.0: + - debian/control: + + Bump the build dependency on GHC to (>= 6.8.2) as we need a Cabal + version >= 1.2 + - debian/patches/01_update-cabal-file.dpatch: + + Add directory, old-locale, old-time and pretty to the build + dependecies. + + Add FlexibleContexts, FlexibleInstances, FunctionalDependencies, + PatternSignatures, RankNTypes, ScopedTypeVariables and + TypeSynonymInstances to the list of needed Extensions. + * debian/control: + - Remove all unneccesary build dependencies. + - Remove the haskelldb-bin binary package, which will now be build + from haskelldb-dynamic source package. + - Add Homepage field and use the official Vcs-* fields. + - Bump build dependency on haskell-devscripts to 0.6.0 which ships + dh_haskell_depends. + - Bump Standards-Version to 3.7.3. No changes needed. + - Make doc-base a Suggest instead of a Recommends. + - Add ghc6-doc and libghc6-mtl-doc to the Recommends. + - Rename haskelldb-doc to haskell-haskelldb-doc so dh_haskell will + detect it as an handled package and automatically generate the + Haddock documentation. + - Make haskelldb-doc an transitional package. + * debian/rules: + - dh_haskell_install does not install empty directories anymore so no + need to cleanup after it. It also adjusts the path to the + documentation generated by haddock so stop adjusting it here. + - dh_haskell now handles the generating and installation of the + haddock documentation so remove this code as well. + * debian/mk-haskell-depends: Removed. Replaced by dh_haskell_depends. + * debian/watch: Update the uscan file to new upstream location. + (Closes: #450071) + + -- Arjan Oosting Sun, 13 Jan 2008 19:39:24 +0100 + +haskelldb (0.9.cvs.601-18) unstable; urgency=low + + * Rebuild for GHC 6.6.1. + * debian/control: + - Add ghc6-doc to the BuildDepends-Indep so haddock can generate + references to other documentation packages. + + -- Arjan Oosting Tue, 19 Jun 2007 18:56:07 +0100 + +haskelldb (0.9.cvs.601-17) unstable; urgency=low + + * debian/compat: Bump debhelper compatibility level to 5. + * debian/control: + - Bump versioned dependency on debhelper. + - Add XS-Vcs-Browser field. + + -- Arjan Oosting Fri, 13 Apr 2007 11:08:20 +0200 + +haskelldb (0.9.cvs.601-16) unstable; urgency=low + + * Document the genericConnect function. (Closes: #407184) + + -- Arjan Oosting Sat, 27 Jan 2007 01:33:33 +0100 + +haskelldb (0.9.cvs.601-15) unstable; urgency=low + + * debian/DBDirect.1: added man page for DBDirect. + * debian/rules: + - Do not ship DBDirect in libghc6-haskelldb-dev. (Closes: #402335) + + -- Arjan Oosting Sat, 9 Dec 2006 19:22:29 +0100 + +haskelldb (0.9.cvs.601-14) unstable; urgency=low + + * debian/control: + - Add haddock to Build-Depends-Indep and autotools-dev cpphs to + Build-Depends. + - Add haskelldb-doc binary package (Closes: 387664). + - Add link to homepage of HaskellDB. + - Add a versioned Build-Depends on dpkg-dev as we use + ${source:Version} and ${binary:Version} + * debian/haskelldb-doc.{dirs,doc-base,docs}: added. + * debian/rules: + - Use up-to-date config.guess and config.sub from autotools-dev. + - Update the rules file to generate haskelldb-doc. + - Use cpphs and sed to generate a src/Database/HaskellDB/DriverAPI.hs + file which can be parsed by haddock. + * debian/mk-haskell-depends: update script to take installed package + configuration files as arguments. + * src/Database/HaskellDB/DriverAPI: remove some haddock annotations + which make haddock fail. + + -- Arjan Oosting Sun, 26 Nov 2006 20:56:52 +0100 + +haskelldb (0.9.cvs.601-13) unstable; urgency=low + + * Fix FTBFS (Closes: #395241) + * Properly adopt the package as I am doing the work on it + anyway. (Closes: #305460) + + -- Arjan Oosting Wed, 25 Oct 2006 23:25:57 +0200 + +haskelldb (0.9.cvs.601-12) unstable; urgency=low + + * QA upload. + * Rebuild against latest GHC (Closes: #393806) + * Fix FTBFS with GHC 6.6 + * debian/mk-haskell-depends: add shell script to generate + ${haskell:Depends} substitution variable. + * debian/rules: use mk-haskell-depends to generate dependencies on other + libghc-*-dev packages. + * src/Database/HaskellDB/Database.hs: fix issue with distinct scoped + type variables not being distinct. + + -- Arjan Oosting Wed, 25 Oct 2006 00:13:55 +0200 + +haskelldb (0.9.cvs.601-11) unstable; urgency=low + + * QA upload. + * debian/control: Fix typo in substitution variable which caused a + strange version number. (Closes: #383533) + + -- Arjan Oosting Thu, 24 Aug 2006 13:49:53 +0200 + +haskelldb (0.9.cvs.601-10) unstable; urgency=low + + * QA upload. + * debian/control: + - Add a Section for the source package. + - Update build dependency on ghc6. (Closes: #381815) + - Add missing Depends on libghc6-hsql-mysql-dev, + libghc6-hsql-odbc-dev, libghc6-hsql-postgresql-dev and + libghc6-hsql-sqlite-dev needed to configure and use + libghc6-haskelldb-dev. + - Make sure libghc6-haskell-dev depends on the version of + libghc-hsql-dev it was build against by using the ${HSQL:Version} + substitution variable. + - Add dctrl-tools to Build-Depends because grep-dctrl is used to + determine the version of libghc6-hsql-dev. + - Bump Standards-Version. No changes needed. + * debian/haskelldb.cabal: + - Add hsql-odbc, hsql-mysql, hsql-sqlite and hsql-postgresql to the + Build-Depends as these modules are needed to build haskelldb and + ghc6 (>= 6.4.2) will not make them available by default anymore. + - Remove Allow prefix from the needed extensions declarations. + * debian/rules: + - Remove commented out dh_make template cruft. + - Touch configure-stamp at the end of the configure-stamp target. + - Do not ignore errors on clean. + - Generate the ${HSQL:Version} substitution variable. + + -- Arjan Oosting Mon, 7 Aug 2006 16:05:44 +0200 + +haskelldb (0.9.cvs.601-9) unstable; urgency=medium + + * QA upload. + * Update dependencies for ghc6 6.4.1. Closes: #337275. + + -- Matej Vela Mon, 13 Mar 2006 10:51:01 +0100 + +haskelldb (0.9.cvs.601-8) unstable; urgency=low + + * QA upload. + * Add build dependencies on libghc6-hsql-mysql-dev, libghc6-hsql-odbc-dev, + libghc6-hsql-postgresql-dev, libghc6-hsql-sqlite-dev. Closes: #329835. + * Remove dh_make examples. + * debian/watch: Add. + * Conforms to Standards version 3.6.2. + + -- Matej Vela Sat, 24 Sep 2005 18:15:12 +0200 + +haskelldb (0.9.cvs.601-7) unstable; urgency=low + + * [NMU] Rebuilt to get newer gmp3. Closes: #329275. + * Updated dep on haskell-hsql to version in sid. + + -- John Goerzen Wed, 21 Sep 2005 05:38:29 -0500 + +haskelldb (0.9.cvs.601-6) unstable; urgency=low + + * [NMU] Built against GHC 6.4 + + -- John Goerzen Thu, 12 May 2005 07:51:57 -0500 + +haskelldb (0.9.cvs.601-5) unstable; urgency=low + + * Orphaning this package. + + -- John Goerzen Tue, 19 Apr 2005 23:15:27 -0500 + +haskelldb (0.9.cvs.601-4) unstable; urgency=low + + * Update cabal file syntax for newer cabal and build-dep on newer + haskell-devscripts. Closes: #301643. + + -- John Goerzen Mon, 28 Mar 2005 09:10:21 -0600 + +haskelldb (0.9.cvs.601-3) unstable; urgency=low + + * Added some missing HSQL modules to Exposed-Modules. + + -- John Goerzen Mon, 14 Feb 2005 16:23:14 -0600 + +haskelldb (0.9.cvs.601-2) unstable; urgency=low + + * Removed incorrect dep on ghc. + + -- John Goerzen Fri, 11 Feb 2005 15:46:45 -0600 + +haskelldb (0.9.cvs.601-1) unstable; urgency=low + + * Initial Release. Closes: #294818. + + -- John Goerzen Fri, 11 Feb 2005 13:32:03 -0600 + --- haskelldb-0.10.orig/debian/compat +++ haskelldb-0.10/debian/compat @@ -0,0 +1 @@ +5 --- haskelldb-0.10.orig/debian/control +++ haskelldb-0.10/debian/control @@ -0,0 +1,45 @@ +Source: haskelldb +Section: devel +Priority: optional +Maintainer: Arjan Oosting +Build-Depends: debhelper (>= 5), dpatch, dpkg-dev (>= 0.13.19), + ghc6 (>= 6.8.2), haskell-devscripts (>= 0.6.0), libghc6-mtl-dev +Build-Depends-Indep: haddock, ghc6-doc, libghc6-mtl-doc +Standards-Version: 3.7.3 +Homepage: http://haskelldb.sourceforge.net/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-haskell/packages/haskelldb/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-haskell/packages/haskelldb/trunk + +Package: libghc6-haskelldb-dev +Section: libdevel +Architecture: any +Suggests: haskelldb-bin, haskell-haskelldb-doc (= ${source:Version}) +Depends: ${haskell:Depends}, ${shlibs:Depends} +Description: Haskell library for expressing database queries + HaskellDB is library for expressing database queries and operations + in a type safe and declarative way. This package contains the library + for use with GHC 6. + . + HaskellDB compiles a relational algebra-like syntax into SQL, submits + the operations to the database for processing, and returns the + results as ordinary Haskell values. + +Package: haskelldb-doc +Depends: haskell-haskelldb-doc +Architecture: all +Section: doc +Description: transitional dummy package + This package is a dummy package and is used to easy the upgrade from + previous versions of haskelldb-doc to haskell-haskelldb-doc. + . + This package can safely be removed. + +Package: haskell-haskelldb-doc +Replaces: haskelldb-doc (<< 0.10-1) +Architecture: all +Section: doc +Recommends: ghc6-doc, libghc6-mtl-doc +Suggests: doc-base +Description: API documentation of haskelldb + The API documentation of HaskellDB, a Haskell library for expressing + database queries and operations in a type safe and declarative way. --- haskelldb-0.10.orig/debian/rules +++ haskelldb-0.10/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# +# Based on dh-make template containing work of Joey Hess, Craig Small +# and Bill Allombert. +# + +# Include dpatch +include /usr/share/dpatch/dpatch.make + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +setup: patch-stamp + dh_testdir + ghc --make Setup -o setup -package Cabal + +build: build-stamp +build-stamp: setup + touch $@ + +clean: clean-patched unpatch +clean-patched: + dh_testdir + dh_testroot + rm -f build-stamp + if [ -x setup ] && [ -e .setup-config ]; then ./setup clean ; fi + rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist html + dh_clean + +install: install-arch install-indep +install-arch: build-stamp + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + dh_haskell -s + dh_install -s + +install-indep: build-stamp + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + dh_haskell -i + dh_install -i + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_strip + dh_compress -X.haddock + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_haskell_depends + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common + +binary: binary-arch binary-indep +.PHONY: binary binary-arch binary-indep build clean clean-patched install install-arch install-indep --- haskelldb-0.10.orig/debian/patches/01_update-cabal-file.dpatch +++ haskelldb-0.10/debian/patches/01_update-cabal-file.dpatch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_update-cabal-file.dpatch by Arjan Oosting +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad haskelldb~/haskelldb.cabal haskelldb/haskelldb.cabal +--- haskelldb~/haskelldb.cabal 2008-01-13 18:57:06.000000000 +0100 ++++ haskelldb/haskelldb.cabal 2008-01-13 18:58:05.000000000 +0100 +@@ -4,11 +4,18 @@ + Maintainer: haskelldb-users@lists.sourceforge.net + Author: Daan Leijen, Conny Andersson, Martin Andersson, Mary Bergman, Victor Blomqvist, Bjorn Bringert, Anders Hockersten, Torbjorn Martin, Jeremy Shaw + License: BSD3 +-build-depends: haskell98, base, mtl ++build-depends: haskell98, base, directory, mtl, old-locale, old-time, pretty + Extensions: ExistentialQuantification, + OverlappingInstances, + UndecidableInstances, + MultiParamTypeClasses ++ PatternSignatures ++ ScopedTypeVariables ++ FunctionalDependencies ++ TypeSynonymInstances ++ FlexibleInstances ++ RankNTypes ++ FlexibleContexts + Synopsis: SQL unwrapper for Haskell. + Exposed-Modules: + Database.HaskellDB, --- haskelldb-0.10.orig/debian/patches/00list +++ haskelldb-0.10/debian/patches/00list @@ -0,0 +1 @@ +01_update-cabal-file