[Pkg-haskell-commits] r1043 - in /packages/haskell-hsql/trunk/debian: ./ README.Debian changelog compat control copyright patches/ patches/00list patches/01_update-cabal-file.dpatch rules watch

arjan at users.alioth.debian.org arjan at users.alioth.debian.org
Sun Feb 3 18:25:51 UTC 2008


Author: arjan
Date: Sun Feb  3 18:25:51 2008
New Revision: 1043

URL: http://svn.debian.org/wsvn/pkg-haskell/?sc=1&rev=1043
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/haskell-hsql/trunk/debian/
    packages/haskell-hsql/trunk/debian/README.Debian
    packages/haskell-hsql/trunk/debian/changelog
    packages/haskell-hsql/trunk/debian/compat
    packages/haskell-hsql/trunk/debian/control
    packages/haskell-hsql/trunk/debian/copyright
    packages/haskell-hsql/trunk/debian/patches/
    packages/haskell-hsql/trunk/debian/patches/00list
    packages/haskell-hsql/trunk/debian/patches/01_update-cabal-file.dpatch   (with props)
    packages/haskell-hsql/trunk/debian/rules   (with props)
    packages/haskell-hsql/trunk/debian/watch

Added: packages/haskell-hsql/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-hsql/trunk/debian/README.Debian?rev=1043&op=file
==============================================================================
--- packages/haskell-hsql/trunk/debian/README.Debian (added)
+++ packages/haskell-hsql/trunk/debian/README.Debian Sun Feb  3 18:25:51 2008
@@ -1,0 +1,6 @@
+To gain access to this package's functions, use:
+
+-package hsql
+
+on your ghc command line.
+

Added: packages/haskell-hsql/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-hsql/trunk/debian/changelog?rev=1043&op=file
==============================================================================
--- packages/haskell-hsql/trunk/debian/changelog (added)
+++ packages/haskell-hsql/trunk/debian/changelog Sun Feb  3 18:25:51 2008
@@ -1,0 +1,160 @@
+haskell-hsql (1.7-1~pre1) unstable; urgency=low
+
+  * Hijack this package as the current maintainer does not seem to be
+    working on it anymore. Moved Víctor Pérez Pereira to the Uploaders
+    and set myself as maintainer.
+  * New upstream release. The source tarball has been split up and every
+    Haskell library has it's own source source tarball now.
+    - debian/control:
+      + Remove the binary stanzas for libghc6-hsql-sqlite3-dev,
+        libghc6-hsql-sqlite-dev, libghc6-hsql-odbc-dev,
+        libghc6-hsql-mysql-dev and libghc6-hsql-postgresql-dev which all
+        will get their own source package.
+      + Update Build-Depends on haskell-devscripts to 0.6.0 needed to
+        build the package.
+      + Add dpatch and ghc6-prof to the build dependencies.
+    - debian/rules:
+      + Replaced with a much simpler version as we only need to build one
+        Haskell library. This version works with (and needs)
+        haskell-devscripts >= 0.6.0. (Closes: #458615) 
+  * debian/watch:
+    - Use hackage.haskell.org as location for new upstream releases.
+  * Update for GHC 6.8.2:
+    - debian/control: 
+      + Bump build dependency on GHC to 6.8.2 as we need the new Cabal
+        version.
+    - debian/patches/01_update-cabal-file:
+      + Add old-time to the build-depends in hsql.cabal
+      + Add TypeOperators, ScopedTypeVariables, RankNTypes and
+        DeriveDataTypeable to the list of needed extensions in hsql.cabal.
+  * Fix small spelling error in debian/control.
+  * Convert debian/copyright file to UTF-8 to fix lintian warning 
+    debian-copyright-file-uses-obsolete-national-encoding
+  * debian/control:
+    - Change section of libghc6-hsql-dev and libghc6-hsql-prof to libdevel
+      to fix lintian warning dev-package-should-be-section-libdevel
+    - Bump Standards-Version 3.7.3. No furthur changes needed.
+
+ -- Arjan Oosting <arjan at debian.org>  Sun, 03 Feb 2008 19:21:12 +0100
+
+haskell-hsql (1.6-8.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: call ghc-pkg with --force to ignore missing
+    directories. (Closes: 393635)
+
+ -- Arjan Oosting <arjan at debian.org>  Tue, 24 Oct 2006 23:39:37 +0200
+
+haskell-hsql (1.6-8.1) unstable; urgency=low
+
+  * Non-maintainer upload, to fix Failure To Build From Source, applying patch
+    by Arjan Oosting.
+  * Fixes FTBFS: needs to update for new ghc6 (Closes: #379264)
+    - update MySQL/Setup.lhs, PostgresSQL/Setup.lhs, SQLite/Setup.lhs and
+      SQLite3/Setup.lhs for the new Cabal version shipped with ghc 6.4.2.
+    - debian/control: Build-Depends on the ghc6 (>= 6.4.2) which ships the
+      new Cabal version. Drop the build dependency on ghc6 (6.4.1-999) to
+      make (binary) non-maintainer uploads easier.
+    - debian/ghc-pkg: replace the call to /usr/lib/ghc-6.4.1/bin/ghc-pkg
+      with a call to /usr/bin/ghc-pkg6 to make independant of the ghc6
+      version.
+
+ -- Margarita Manterola <marga at debian.org>  Thu, 10 Aug 2006 15:27:19 -0300
+
+haskell-hsql (1.6-8) unstable; urgency=medium
+
+  * New maintainer (closes: #358873)
+  * Update of Debian Policy.
+
+ -- Víctor Pérez Pereira <vperez at debianvenezuela.org>  Sun, 14 May 2006 19:16:00 -0400
+
+haskell-hsql (1.6-7) unstable; urgency=medium
+
+  * QA upload.
+  * PostgreSQL/Setup.lhs: Since we use only client-side headers, remove
+    `pg_config --includedir-server' output from the compile line.  This
+    makes a build dependency on postgresql-server-dev-8.0 unnecessary.
+    Closes: #339639, #359995.
+  * debian/rules: Fix build failure with ghc 6.4.1.  Thanks to
+    Bart Martens for the patch.  Closes: #357761.
+  * Add a Section field for the source package.
+  * Remove duplicate dependencies from Build-Depends-Indep.
+
+ -- Matej Vela <vela at debian.org>  Sun,  9 Apr 2006 10:05:21 +0200
+
+haskell-hsql (1.6-6) unstable; urgency=low
+
+  * Orphaning this package.  Maintainer set to Debian QU Group.
+
+ -- John Goerzen <jgoerzen at complete.org>  Fri, 24 Mar 2006 16:08:00 -0600
+
+haskell-hsql (1.6-5) unstable; urgency=low
+
+  * Rebuilt with ghc 6.4.1.
+  * haskell-hsql-doc section updated.
+
+ -- John Goerzen <jgoerzen at complete.org>  Sun, 16 Oct 2005 23:41:44 -0500
+
+haskell-hsql (1.6-4) unstable; urgency=low
+
+  * Added build-dep on haddock.
+  * Changed section of several items to libdevel to correspond with 
+    the archive.
+
+ -- John Goerzen <jgoerzen at complete.org>  Fri, 16 Sep 2005 06:48:40 -0500
+
+haskell-hsql (1.6-3) unstable; urgency=low
+
+  * Added cpphs to Build-Depends.  Closes: #327606.
+
+ -- John Goerzen <jgoerzen at complete.org>  Wed, 14 Sep 2005 06:12:01 -0500
+
+haskell-hsql (1.6-2) unstable; urgency=low
+
+  * Fixed failure to generate postinst/prerm scripts.
+  * Fixed Postgres deps.
+
+ -- John Goerzen <jgoerzen at complete.org>  Wed, 17 Aug 2005 21:53:02 -0500
+
+haskell-hsql (1.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Upstream now uses Cabal and splits modules into individual per-DB
+    modules.  Now do that here as well.  Closes: #288234.
+
+ -- John Goerzen <jgoerzen at complete.org>  Wed, 17 Aug 2005 05:23:19 -0500
+
+haskell-hsql (1.4-5) unstable; urgency=low
+
+  * Moved src/HSQL back to ghc-options in cabal.
+
+ -- John Goerzen <jgoerzen at complete.org>  Thu, 12 May 2005 07:36:31 -0500
+
+haskell-hsql (1.4-4) unstable; urgency=low
+
+  * Rebuilt for ghc6 6.4.
+  * Minor code hacks for ghc6 6.4 compatibility.
+
+ -- John Goerzen <jgoerzen at complete.org>  Thu, 12 May 2005 06:34:33 -0500
+
+haskell-hsql (1.4-3) unstable; urgency=low
+
+  * Recent cabal changed Extra-libs to extra-libraries.  Make change
+    in .cabal file and build-dep on newer cabal.  Closes: #299123.
+
+ -- John Goerzen <jgoerzen at complete.org>  Mon, 14 Mar 2005 10:49:24 -0600
+
+haskell-hsql (1.4-2) unstable; urgency=low
+
+  * Partially fixed Depends on ghc package.
+  * Update to libmysqlclient12.
+  * Build updated for newer cabal and haskell-devscripts.
+
+ -- John Goerzen <jgoerzen at complete.org>  Fri, 11 Feb 2005 13:59:07 -0600
+
+haskell-hsql (1.4-1) unstable; urgency=low
+
+  * Initial Release.  Closes: #275073.
+
+ -- John Goerzen <jgoerzen at complete.org>  Mon, 22 Nov 2004 09:48:39 -0600
+

Added: packages/haskell-hsql/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-hsql/trunk/debian/compat?rev=1043&op=file
==============================================================================
--- packages/haskell-hsql/trunk/debian/compat (added)
+++ packages/haskell-hsql/trunk/debian/compat Sun Feb  3 18:25:51 2008
@@ -1,0 +1,1 @@
+4

Added: packages/haskell-hsql/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-hsql/trunk/debian/control?rev=1043&op=file
==============================================================================
--- packages/haskell-hsql/trunk/debian/control (added)
+++ packages/haskell-hsql/trunk/debian/control Sun Feb  3 18:25:51 2008
@@ -1,0 +1,34 @@
+Source: haskell-hsql
+Section: devel
+Priority: optional
+Maintainer: Arjan Oosting <arjan at debian.org>
+Uploaders: Víctor Pérez Pereira <vperez at debianvenezuela.org>
+Build-Depends: debhelper (>= 4.0.0), dpatch, haskell-devscripts (>= 0.6.0), ghc6 (>= 6.8.2), ghc6-prof, cpphs
+Build-Depends-Indep: ghc6-doc, haddock
+Standards-Version: 3.7.3
+
+Package: libghc6-hsql-dev
+Architecture: any
+Section: libdevel
+Suggests: libghc6-hsql-sqlite3-dev, libghc6-hsql-sqlite-dev, libghc6-hsql-odbc-dev, libghc6-hsql-mysql-dev, libghc6-hsql-postgresql-dev, haskell-hsql-doc
+Depends: ${haskell:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Multi-Database Interface System library for GHC6
+ HSQL provides interfaces for Haskell programmers to the PostgreSQL,
+ MySQL, SQLite, and UnixODBC database systems.  There is a generic
+ abstract interface so that code can be used interchangeably with these
+ database systems.  In this sense, it is similar to Java's JDBC,
+ Python's DB-API, or Perl's DBI.
+
+Package: haskell-hsql-doc
+Section: doc
+Architecture: all
+Suggests: libghc6-hsql-dev
+Recommends: ghc6-doc
+Description: API documentation of the hsql library for Haskell
+ HSQL provides interfaces for Haskell programmers to the PostgreSQL,
+ MySQL, SQLite, and UnixODBC database systems.  There is a generic
+ abstract interface so that code can be used interchangeably with these
+ database systems.  In this sense, it is similar to Java's JDBC,
+ Python's DB-API, or Perl's DBI.
+ .
+ This package provides documentation for HSQL.

Added: packages/haskell-hsql/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-hsql/trunk/debian/copyright?rev=1043&op=file
==============================================================================
--- packages/haskell-hsql/trunk/debian/copyright (added)
+++ packages/haskell-hsql/trunk/debian/copyright Sun Feb  3 18:25:51 2008
@@ -1,0 +1,45 @@
+This package was debianized by John Goerzen <jgoerzen at complete.org> on
+Mon, 22 Nov 2004 09:48:39 -0600.
+It is currently maintained by Arjan Oosting <arjan at debian.org>
+
+It was downloaded from 
+http://sourceforge.net/project/showfiles.php?group_id=65248
+
+Copyright (c) 2003, Krasimir Angelov
+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 name of the HToolkit nor the names of its 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.
+
+Debian packaging copyright:
+
+  (C) 2007 Arjan Oosting <arjan at debian.org>
+
+The Debian packaging can be redistributed and/or modified under the
+same terms as hsql itself.

Added: packages/haskell-hsql/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-hsql/trunk/debian/patches/00list?rev=1043&op=file
==============================================================================
--- packages/haskell-hsql/trunk/debian/patches/00list (added)
+++ packages/haskell-hsql/trunk/debian/patches/00list Sun Feb  3 18:25:51 2008
@@ -1,0 +1,1 @@
+01_update-cabal-file

Added: packages/haskell-hsql/trunk/debian/patches/01_update-cabal-file.dpatch
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-hsql/trunk/debian/patches/01_update-cabal-file.dpatch?rev=1043&op=file
==============================================================================
--- packages/haskell-hsql/trunk/debian/patches/01_update-cabal-file.dpatch (added)
+++ packages/haskell-hsql/trunk/debian/patches/01_update-cabal-file.dpatch Sun Feb  3 18:25:51 2008
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_update-cabal-file.dpatch by Arjan Oosting <arjan at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad haskell-hsql-1.7~/hsql.cabal haskell-hsql-1.7/hsql.cabal
+--- haskell-hsql-1.7~/hsql.cabal	2007-04-09 20:49:35.000000000 +0200
++++ haskell-hsql-1.7/hsql.cabal	2008-01-21 01:03:10.000000000 +0100
+@@ -7,5 +7,5 @@
+ exposed-modules:
+ 	Database.HSQL,
+ 	Database.HSQL.Types
+-build-depends:	base
+-extensions:     ForeignFunctionInterface, TypeSynonymInstances, CPP
++build-depends:	base, old-time
++extensions:     ForeignFunctionInterface, TypeSynonymInstances, CPP, TypeOperators, ScopedTypeVariables, RankNTypes, DeriveDataTypeable

Propchange: packages/haskell-hsql/trunk/debian/patches/01_update-cabal-file.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/haskell-hsql/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-hsql/trunk/debian/rules?rev=1043&op=file
==============================================================================
--- packages/haskell-hsql/trunk/debian/rules (added)
+++ packages/haskell-hsql/trunk/debian/rules Sun Feb  3 18:25:51 2008
@@ -1,0 +1,77 @@
+#!/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_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 

Propchange: packages/haskell-hsql/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/haskell-hsql/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-haskell/packages/haskell-hsql/trunk/debian/watch?rev=1043&op=file
==============================================================================
--- packages/haskell-hsql/trunk/debian/watch (added)
+++ packages/haskell-hsql/trunk/debian/watch Sun Feb  3 18:25:51 2008
@@ -1,0 +1,4 @@
+# See uscan(1) for format
+
+version=3
+http://hackage.haskell.org/packages/archive/hsql/([\d.]+)/hsql-([\d.]+).tar.gz




More information about the Pkg-haskell-commits mailing list