[Pkg-haskell-commits] darcs: hdbc: Revert "Removed debian/ from master branch"

John Goerzen jgoerzen at complete.org
Fri Jan 4 15:07:07 UTC 2013


Wed Jan 21 17:28:29 UTC 2009  John Goerzen <jgoerzen at complete.org>
  * Revert "Removed debian/ from master branch"
  Ignore-this: c65e0304f9f9bc716a4b6fd736f2482d
  
  This reverts commit 86ad12c5ad8727f504edf678004be56b960567f4.
  
  We keep debian/ here, of course

    A ./README.Debian
    A ./changelog
    A ./compat
    A ./control
    A ./copyright
    A ./hdbc.doc-base.EX
    A ./rules

Wed Jan 21 17:28:29 UTC 2009  John Goerzen <jgoerzen at complete.org>
  * Revert "Removed debian/ from master branch"
  Ignore-this: c65e0304f9f9bc716a4b6fd736f2482d
  
  This reverts commit 86ad12c5ad8727f504edf678004be56b960567f4.
  
  We keep debian/ here, of course
diff -rN -u old-hdbc//changelog new-hdbc//changelog
--- old-hdbc//changelog	1970-01-01 00:00:00.000000000 +0000
+++ new-hdbc//changelog	2013-01-04 15:07:07.399718287 +0000
@@ -0,0 +1,130 @@
+hdbc (1.1.7.0) unstable; urgency=low
+
+  * New release.  Now supports new Data.Time.* types.
+
+ -- John Goerzen <jgoerzen at complete.org>  Tue, 13 Jan 2009 15:04:27 -0600
+
+hdbc (1.1.6.1) unstable; urgency=low
+
+  * Added dh_haskell_depends.
+
+ -- John Goerzen <jgoerzen at complete.org>  Tue, 30 Dec 2008 08:58:48 -0600
+
+hdbc (1.1.6.0) unstable; urgency=low
+
+  * Applied GHC 6.10 compatibility patch from Brian Bloniarz
+  * Accept '0' and '1' as Bools
+
+ -- John Goerzen <jgoerzen at complete.org>  Tue, 30 Dec 2008 08:49:28 -0600
+
+hdbc (1.1.5.0) unstable; urgency=low
+
+  * Added missing ConnWrapper(..) to exports.
+
+ -- John Goerzen <jgoerzen at complete.org>  Tue, 27 May 2008 14:14:27 -0500
+
+hdbc (1.1.4.0) unstable; urgency=low
+
+  * Updates for GHC 6.8.x.
+
+ -- John Goerzen <jgoerzen at complete.org>  Fri, 11 Jan 2008 05:07:31 -0600
+
+hdbc (1.1.3.0) unstable; urgency=low
+
+  * New release of HDBC.
+  * [API] Added strict versions of fetchAll* and related functions.
+    Specific new functions are: quickQuery', fetchAllRows',
+    fetchAllRowsAL', fetchAllRowsMAP', sFetchAllRows'.  This does
+    not impact database drivers.  No user impact.
+  * [API] Changed spec to make the following functions strict
+    in their result: describeResult, getTables, describeTable.
+    No code change in HDBC.  Potential code change in backends.
+    No anticipated user impact.
+  * Add SqlByteString constructor to SqlValue.  Patch from
+    Toby Allsopp.
+
+ -- John Goerzen <jgoerzen at complete.org>  Wed, 31 Oct 2007 04:26:39 -0500
+
+hdbc (1.1.2.2) unstable; urgency=low
+
+  * Build doc all the time.  Closes: #427977.
+
+ -- John Goerzen <jgoerzen at complete.org>  Fri, 15 Jun 2007 05:24:17 -0500
+
+hdbc (1.1.2.1) unstable; urgency=low
+
+  * Update for newer GHC 6.6.1.  Closes: #422290, #426127.
+
+ -- John Goerzen <jgoerzen at complete.org>  Wed, 06 Jun 2007 06:58:02 -0500
+
+hdbc (1.1.2.0) unstable; urgency=low
+
+  * Fix export of wrapped connections.
+
+ -- John Goerzen <jgoerzen at complete.org>  Thu, 03 May 2007 04:28:20 -0500
+
+hdbc (1.1.1.0) unstable; urgency=low
+
+  * New connection wrapping features.
+
+ -- John Goerzen <jgoerzen at complete.org>  Thu, 03 May 2007 04:10:54 -0500
+
+hdbc (1.1.0.0) unstable; urgency=low
+
+  * New API thanks to Peter Thiemann.
+  * Fixed fromSql thanks to patch from Marco Tulio Gontijo e Silva.
+    Closes: #399858.
+
+ -- John Goerzen <jgoerzen at complete.org>  Wed, 02 May 2007 05:21:38 -0500
+
+hdbc (1.0.1.2) unstable; urgency=low
+
+  * Updated for GHC 6.6.  Closes: #393805.
+
+ -- John Goerzen <jgoerzen at complete.org>  Thu, 19 Oct 2006 05:12:31 -0500
+
+hdbc (1.0.1.1) unstable; urgency=low
+
+  * Rebuild with non-broken tar.
+
+ -- John Goerzen <jgoerzen at complete.org>  Sat, 22 Jul 2006 07:19:54 -0500
+
+hdbc (1.0.1) unstable; urgency=low
+
+  * Now accept T and F for True and False from the underlying database
+    layer -- compatibility with PostgreSQL
+
+ -- John Goerzen <jgoerzen at complete.org>  Sat, 22 Jul 2006 07:11:08 -0500
+
+hdbc (1.0.0) unstable; urgency=low
+
+  * Blessing this version as 1.0.0.  Whee!
+
+ -- John Goerzen <jgoerzen at complete.org>  Thu, 29 Jun 2006 18:23:03 -0500
+
+hdbc (0.99.3) unstable; urgency=low
+
+  * [bringert] Better error messages when fromSql encounters
+    data it doesn't understand
+  * Rebuilt for GHC 6.4.2
+
+ -- John Goerzen <jgoerzen at complete.org>  Wed, 28 Jun 2006 15:00:09 -0500
+
+hdbc (0.99.2) unstable; urgency=low
+
+  * New call dbTransactionSupport
+
+ -- John Goerzen <jgoerzen at complete.org>  Tue, 28 Mar 2006 04:57:00 -0600
+
+hdbc (0.99.1) unstable; urgency=low
+
+  * Release 0.99.1.  New features include generalized memory
+    management support and column metadata.
+
+ -- John Goerzen <jgoerzen at complete.org>  Mon, 27 Mar 2006 18:54:24 -0600
+
+hdbc (0.99.0) unstable; urgency=low
+
+  * Initial Release.  Closes: #344913.
+
+ -- John Goerzen <jgoerzen at complete.org>  Tue, 27 Dec 2005 10:22:53 -0600
diff -rN -u old-hdbc//compat new-hdbc//compat
--- old-hdbc//compat	1970-01-01 00:00:00.000000000 +0000
+++ new-hdbc//compat	2013-01-04 15:06:59.662729338 +0000
@@ -0,0 +1 @@
+4
diff -rN -u old-hdbc//control new-hdbc//control
--- old-hdbc//control	1970-01-01 00:00:00.000000000 +0000
+++ new-hdbc//control	2013-01-04 15:07:07.363744374 +0000
@@ -0,0 +1,50 @@
+Source: hdbc
+Priority: optional
+Maintainer: John Goerzen <jgoerzen at complete.org>
+Build-Depends: debhelper (>= 4.0.0), ghc6 (>= 6.8.2), ghc6 (<< 6.8.2-999), haskell-devscripts (>= 0.6.3), cpphs, haddock, libghc6-mtl-dev, libghc6-time-dev, libghc6-time-prof
+Build-Depends-Indep: debhelper (>= 4.0.0), haddock, hugs (>= 98.200503.08), haskell-devscripts (>= 0.6.3), ghc6 (>= 6.8), cpphs
+Standards-Version: 3.6.2
+Section: libs
+
+Package: libghc6-hdbc-dev
+Section: libdevel
+Architecture: any
+Depends: ${haskell:Depends}, libghc6-mtl-dev
+Suggests: libghc6-hdbc-postgresql-dev | libghc6-hdbc-sqlite3-dev, libghc6-hdbc-missingh-dev
+Description: Haskell Database Connectivity, GHC6 package
+ HDBC provides an abstraction layer between Haskell programs and SQL
+ relational databases. This lets you write database code once, in
+ Haskell, and have it work with any number of backend SQL databases
+ (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.)
+ .
+ HDBC is modeled loosely on Perl's DBI interface, though it has also been
+ influenced by Python's DB-API v2, JDBC in Java, and HSQL in Haskell.
+ .
+ To use HDBC, you'll need both this package, and a driver package such
+ as libghc6-hdbc-postgresql-dev.
+
+Package: libghc6-hdbc-prof
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libghc6-hdbc-dev, ghc6-prof (>= 6.8.2), ghc6-prof (<< 6.8.2+)
+Description: Haskell Database Connectivity, GHC6 profiling data
+ HDBC provides an abstraction layer between Haskell programs and SQL
+ relational databases. This package provides profiling information for using
+ HDBC with GHC6.
+
+Package: libhugs-hdbc
+Section: libs
+Architecture: all
+Depends: ${haskell:Depends}
+Description: Haskell Database Connectivity, Hugs package
+ HDBC provides an abstraction layer between Haskell programs and SQL
+ relational databases. This lets you write database code once, in
+ Haskell, and have it work with any number of backend SQL databases
+ (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.)
+ .
+ HDBC is modeled loosely on Perl's DBI interface, though it has also been
+ influenced by Python's DB-API v2, JDBC in Java, and HSQL in Haskell.
+ .
+ To use HDBC, you'll need both this package, and a driver package such
+ as libhugs-hdbc-postgresql.
+
diff -rN -u old-hdbc//copyright new-hdbc//copyright
--- old-hdbc//copyright	1970-01-01 00:00:00.000000000 +0000
+++ new-hdbc//copyright	2013-01-04 15:07:05.590260637 +0000
@@ -0,0 +1,27 @@
+This is hdbc, written and maintained by John Goerzen <jgoerzen at complete.org>
+on Tue, 27 Dec 2005 10:22:53 -0600.
+
+The original source can always be found at:
+	ftp://ftp.debian.org/dists/unstable/main/source/
+
+The Darcs repository for this program can be accessed with:
+   darcs get --partial http://darcs.complete.org/hdbc
+
+Copyright (C) 2005-2007 John Goerzen <jgoerzen at complete.org>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
diff -rN -u old-hdbc//hdbc.doc-base.EX new-hdbc//hdbc.doc-base.EX
--- old-hdbc//hdbc.doc-base.EX	1970-01-01 00:00:00.000000000 +0000
+++ new-hdbc//hdbc.doc-base.EX	2013-01-04 15:06:59.550719901 +0000
@@ -0,0 +1,22 @@
+Document: hdbc
+Title: Debian hdbc Manual
+Author: <insert document author here>
+Abstract: This manual describes what hdbc is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/hdbc/hdbc.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/hdbc/hdbc.ps.gz
+
+Format: text
+Files: /usr/share/doc/hdbc/hdbc.text.gz
+
+Format: HTML
+Index: /usr/share/doc/hdbc/html/index.html
+Files: /usr/share/doc/hdbc/html/*.html
+
+  
diff -rN -u old-hdbc//README.Debian new-hdbc//README.Debian
--- old-hdbc//README.Debian	1970-01-01 00:00:00.000000000 +0000
+++ new-hdbc//README.Debian	2013-01-04 15:06:59.662729338 +0000
@@ -0,0 +1,15 @@
+hdbc for Debian
+---------------
+
+To use HDBC in your programs, you'll need a driver package as well.
+
+apt-cache search hdbc will give you a convenient list of the HDBC drivers
+available in Debian.
+
+To use HDBC in GHC, you'll need to use -package HDBC on your command line,
+or, with Cabal, list a Build-Depends on HDBC.
+
+You can find documentation for the HDBC API under 
+/usr/share/doc/libhdbc-ghc6-dev or /usr/share/doc/libhdbc-hugs.
+
+ -- John Goerzen <jgoerzen at complete.org>, Tue Dec 27 10:40:56 2005
diff -rN -u old-hdbc//rules new-hdbc//rules
--- old-hdbc//rules	1970-01-01 00:00:00.000000000 +0000
+++ new-hdbc//rules	2013-01-04 15:07:07.178406257 +0000
@@ -0,0 +1,150 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	#$(MAKE)
+	$(MAKE) doc
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	#-$(MAKE) clean
+	-./setup clean
+	-rm -rf setup Setup.hi Setup.ho Setup.o .*config* dist
+	-rm -rf doc
+
+	dh_clean 
+
+install-a: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	#$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	dh_haskell -a
+	dh_haskell_depends -a
+
+install-i: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	#$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	dh_haskell -i
+
+
+
+
+# Build architecture-independent files here.
+binary-indep: build install-i
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -i
+	dh_installdocs -i README.txt doc/*
+	dh_installexamples -i
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman -i
+	dh_link -i
+	dh_strip -i
+	dh_compress -i
+	dh_fixperms -i
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install-a
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -a
+	dh_installdocs -a README.txt doc/*
+	dh_installexamples -a
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+#	dh_perl
+#	dh_python
+#	dh_makeshlibs
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure





More information about the Pkg-haskell-commits mailing list