? patch
Index: changelog
===================================================================
RCS file: /var/cvs/comedilib/debian/changelog,v
retrieving revision 1.15
diff -u -r1.15 changelog
--- changelog	5 Jun 2003 22:15:12 -0000	1.15
+++ changelog	16 Aug 2003 00:40:50 -0000
@@ -1,14 +1,29 @@
-comedilib (0.7.19.1-2) unstable; urgency=low
+comedilib (0.7.20-2) unstable; urgency=low
 
-  * snapshot
+  * Apparently debian/copyright got broken at some point in time.
+    (probably forgot to merge code back into CVS).  Fixed now,
+    but not merged into CVS.  :)
+  * Bumped shlibs, since there were symbols added to the lib.
+  * Updated to policy 3.5.10:
+   - Handle DEB_BUILD_OPTIONS
+   - Fix creation of device nodes
+  * Long overdue rewrite of package descriptions
 
- -- David Schleef <ds@schleef.org>  Thu, 05 Jun 2003 12:55:03 -0700
+ -- David Schleef <ds@schleef.org>  Wed, 25 Jun 2003 10:18:09 -0700
 
-comedilib (0.7.18-cvs20020912) unstable; urgency=low
+comedilib (0.7.20-1) unstable; urgency=low
 
-  * snapshot
+  * New upstream release
+  * Convert to using autoconf/automake, which takes care of problems
+    with gcc-3.x (Closes: #194885)
 
- -- David Schleef <ds@schleef.org>  Thu, 12 Sep 2002 16:43:08 -0700
+ -- David Schleef <ds@schleef.org>  Tue, 17 Jun 2003 16:18:25 -0700
+
+comedilib (0.7.19-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- David Schleef <ds@schleef.org>  Wed,  3 Jul 2002 21:04:37 -0700
 
 comedilib (0.7.18) unstable; urgency=low
 
Index: control
===================================================================
RCS file: /var/cvs/comedilib/debian/control,v
retrieving revision 1.11
diff -u -r1.11 control
--- control	16 Aug 2003 00:16:32 -0000	1.11
+++ control	16 Aug 2003 00:40:50 -0000
@@ -2,8 +2,8 @@
 Section: devel
 Priority: optional
 Maintainer: David Schleef <ds@schleef.org>
-Build-Depends: debhelper, python-dev, docbook-utils
-Standards-Version: 3.5.6
+Build-Depends: debhelper, python-dev, flex, bison, docbook-utils
+Standards-Version: 3.5.10
 
 Package: libcomedi-dev
 Section: libdevel
@@ -14,6 +14,11 @@
 Description: Development library for Comedi
  Comedilib is a library for using Comedi, a driver interface for data
  acquisition hardware.
+ .
+ This package contains headers, static libraries, documentation, and
+ examples for writing software that uses the Comedilib library.  You
+ only need to install it if you plan to develop or compile software
+ that uses Comedilib.
 
 Package: libcomedi0
 Section: libs
@@ -21,13 +26,25 @@
 Depends: makedev (>=2.3.1-56), ${shlibs:Depends}
 Description: Library for Comedi
  Comedilib is a library for using Comedi, a driver interface for data
- acquisition hardware.
+ acquisition hardware.  Comedi supports a wide variety of ISA and PCI
+ devices that contain analog-to-digital converters, digital-to-analog
+ converters, digital input/output, counters and timers.  The full list
+ of support devices can be found in the libcomedi-dev documentation.
+ .
+ This package contains the shared library component of Comedilib.  In
+ general, this package will be automatically installed as a dependency
+ of application or other library packages.
+ .
+ In order to effectively use this package, you need to have compiled
+ and installed the Comedi kernel modules.  The source for Comedi is
+ available in the comedi-source package, which also contains
+ instructions on how to compile and install the modules.
 
 Package: python-comedilib
 Section: python
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: makedev (>=2.3.1-56), ${shlibs:Depends}
 Description: Python wrapper for Comedilib
  Comedilib is a library for using Comedi, a driver interface for data
- acquisition hardware.
+ acquisition hardware.  See the libcomedi0 package for more information.
 
Index: copyright
===================================================================
RCS file: /var/cvs/comedilib/debian/copyright,v
retrieving revision 1.2
diff -u -r1.2 copyright
--- copyright	9 Mar 2002 01:22:30 -0000	1.2
+++ copyright	16 Aug 2003 00:40:50 -0000
@@ -3,8 +3,30 @@
 
 It was downloaded from ftp://ftp.comedi.org/pub/comedi.
 
-Upstream Author(s): David Schleef <ds@schleef.org>
+Upstream Author: David Schleef <ds@schleef.org>
 
 Copyright:
 
-LGPL
+/*
+    COMEDILIB - Linux Control and Measurement Device Interface Library
+    Copyright (C) 1997-2001 David A. Schleef <ds@schleef.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, version 2.1
+    of the License.
+
+    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., 59 Temple Place, Suite 330, Boston, MA  02111-1307
+    USA.
+*/
+
+The full text of the LGPL can be found in the file
+/usr/share/common-licenses/LGPL-2.1.
+
Index: libcomedi0.postinst
===================================================================
RCS file: /var/cvs/comedilib/debian/libcomedi0.postinst,v
retrieving revision 1.6
diff -u -r1.6 libcomedi0.postinst
--- libcomedi0.postinst	18 May 2002 22:47:03 -0000	1.6
+++ libcomedi0.postinst	16 Aug 2003 00:40:50 -0000
@@ -1,12 +1,13 @@
 #!/bin/sh
 
-# Policy says that the user should be asked before we do this.
-cd /dev && MAKEDEV comedi
-
-#DEBHELPER#
-
 if [ "$1" = "configure" ]; then
-	ldconfig
+	if [ ! -e "/dev/comedi0" ];then
+		echo "Creating /dev/comediN device nodes"
+		cd /dev && MAKEDEV comedi
+	fi
 fi
 
+#DEBHELPER#
+
 exit 0
+
Index: libcomedi0.postrm
===================================================================
RCS file: /var/cvs/comedilib/debian/libcomedi0.postrm,v
retrieving revision 1.1
diff -u -r1.1 libcomedi0.postrm
--- libcomedi0.postrm	7 Nov 2001 23:20:47 -0000	1.1
+++ libcomedi0.postrm	16 Aug 2003 00:40:50 -0000
@@ -2,8 +2,4 @@
 
 #DEBHELPER#
 
-if [ "$1" = "remove" ]; then
-	ldconfig
-fi
-
 exit 0
Index: libcomedi0.shlibs
===================================================================
RCS file: /var/cvs/comedilib/debian/libcomedi0.shlibs,v
retrieving revision 1.3
diff -u -r1.3 libcomedi0.shlibs
--- libcomedi0.shlibs	7 Nov 2001 23:20:47 -0000	1.3
+++ libcomedi0.shlibs	16 Aug 2003 00:40:50 -0000
@@ -1 +1 @@
-libcomedi 0 libcomedi0 (>> 0.7.16)
+libcomedi 0 libcomedi0 (>= 0.7.19)
Index: rules
===================================================================
RCS file: /var/cvs/comedilib/debian/rules,v
retrieving revision 1.13
diff -u -r1.13 rules
--- rules	4 Jun 2003 02:47:15 -0000	1.13
+++ rules	16 Aug 2003 00:40:50 -0000
@@ -8,12 +8,24 @@
 # This is the debhelper compatability version to use.
 export DH_COMPAT=3
 
+DEB_HOST_GNU_TYPE       ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE      ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
 
 build: build-stamp
 build-stamp:
 	dh_testdir
 
-	./configure --prefix=/usr \
+	./configure \
+		--host=$(DEB_HOST_GNU_TYPE) \
+		--build=$(DEB_BUILD_GNU_TYPE) \
+		--prefix=/usr \
 		--mandir=\$${prefix}/share/man \
 		--datadir=\$${prefix}/share/doc/ \
 		--sysconfdir=/etc \
