~ubuntu-branches/ubuntu/intrepid/comedilib/intrepid

« back to all changes in this revision

Viewing changes to debian/patch

  • Committer: Bazaar Package Importer
  • Author(s): David Schleef
  • Date: 2003-09-23 18:11:12 UTC
  • Revision ID: james.westby@ubuntu.com-20030923181112-sat05jyh702rb1at
Tags: upstream-0.7.21
ImportĀ upstreamĀ versionĀ 0.7.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
? patch
 
2
Index: changelog
 
3
===================================================================
 
4
RCS file: /var/cvs/comedilib/debian/changelog,v
 
5
retrieving revision 1.15
 
6
diff -u -r1.15 changelog
 
7
--- changelog   5 Jun 2003 22:15:12 -0000       1.15
 
8
+++ changelog   16 Aug 2003 00:40:50 -0000
 
9
@@ -1,14 +1,29 @@
 
10
-comedilib (0.7.19.1-2) unstable; urgency=low
 
11
+comedilib (0.7.20-2) unstable; urgency=low
 
12
 
 
13
-  * snapshot
 
14
+  * Apparently debian/copyright got broken at some point in time.
 
15
+    (probably forgot to merge code back into CVS).  Fixed now,
 
16
+    but not merged into CVS.  :)
 
17
+  * Bumped shlibs, since there were symbols added to the lib.
 
18
+  * Updated to policy 3.5.10:
 
19
+   - Handle DEB_BUILD_OPTIONS
 
20
+   - Fix creation of device nodes
 
21
+  * Long overdue rewrite of package descriptions
 
22
 
 
23
- -- David Schleef <ds@schleef.org>  Thu, 05 Jun 2003 12:55:03 -0700
 
24
+ -- David Schleef <ds@schleef.org>  Wed, 25 Jun 2003 10:18:09 -0700
 
25
 
 
26
-comedilib (0.7.18-cvs20020912) unstable; urgency=low
 
27
+comedilib (0.7.20-1) unstable; urgency=low
 
28
 
 
29
-  * snapshot
 
30
+  * New upstream release
 
31
+  * Convert to using autoconf/automake, which takes care of problems
 
32
+    with gcc-3.x (Closes: #194885)
 
33
 
 
34
- -- David Schleef <ds@schleef.org>  Thu, 12 Sep 2002 16:43:08 -0700
 
35
+ -- David Schleef <ds@schleef.org>  Tue, 17 Jun 2003 16:18:25 -0700
 
36
+
 
37
+comedilib (0.7.19-1) unstable; urgency=low
 
38
+
 
39
+  * New upstream release
 
40
+
 
41
+ -- David Schleef <ds@schleef.org>  Wed,  3 Jul 2002 21:04:37 -0700
 
42
 
 
43
 comedilib (0.7.18) unstable; urgency=low
 
44
 
 
45
Index: control
 
46
===================================================================
 
47
RCS file: /var/cvs/comedilib/debian/control,v
 
48
retrieving revision 1.11
 
49
diff -u -r1.11 control
 
50
--- control     16 Aug 2003 00:16:32 -0000      1.11
 
51
+++ control     16 Aug 2003 00:40:50 -0000
 
52
@@ -2,8 +2,8 @@
 
53
 Section: devel
 
54
 Priority: optional
 
55
 Maintainer: David Schleef <ds@schleef.org>
 
56
-Build-Depends: debhelper, python-dev, docbook-utils
 
57
-Standards-Version: 3.5.6
 
58
+Build-Depends: debhelper, python-dev, flex, bison, docbook-utils
 
59
+Standards-Version: 3.5.10
 
60
 
 
61
 Package: libcomedi-dev
 
62
 Section: libdevel
 
63
@@ -14,6 +14,11 @@
 
64
 Description: Development library for Comedi
 
65
  Comedilib is a library for using Comedi, a driver interface for data
 
66
  acquisition hardware.
 
67
+ .
 
68
+ This package contains headers, static libraries, documentation, and
 
69
+ examples for writing software that uses the Comedilib library.  You
 
70
+ only need to install it if you plan to develop or compile software
 
71
+ that uses Comedilib.
 
72
 
 
73
 Package: libcomedi0
 
74
 Section: libs
 
75
@@ -21,13 +26,25 @@
 
76
 Depends: makedev (>=2.3.1-56), ${shlibs:Depends}
 
77
 Description: Library for Comedi
 
78
  Comedilib is a library for using Comedi, a driver interface for data
 
79
- acquisition hardware.
 
80
+ acquisition hardware.  Comedi supports a wide variety of ISA and PCI
 
81
+ devices that contain analog-to-digital converters, digital-to-analog
 
82
+ converters, digital input/output, counters and timers.  The full list
 
83
+ of support devices can be found in the libcomedi-dev documentation.
 
84
+ .
 
85
+ This package contains the shared library component of Comedilib.  In
 
86
+ general, this package will be automatically installed as a dependency
 
87
+ of application or other library packages.
 
88
+ .
 
89
+ In order to effectively use this package, you need to have compiled
 
90
+ and installed the Comedi kernel modules.  The source for Comedi is
 
91
+ available in the comedi-source package, which also contains
 
92
+ instructions on how to compile and install the modules.
 
93
 
 
94
 Package: python-comedilib
 
95
 Section: python
 
96
 Architecture: any
 
97
-Depends: ${shlibs:Depends}
 
98
+Depends: makedev (>=2.3.1-56), ${shlibs:Depends}
 
99
 Description: Python wrapper for Comedilib
 
100
  Comedilib is a library for using Comedi, a driver interface for data
 
101
- acquisition hardware.
 
102
+ acquisition hardware.  See the libcomedi0 package for more information.
 
103
 
 
104
Index: copyright
 
105
===================================================================
 
106
RCS file: /var/cvs/comedilib/debian/copyright,v
 
107
retrieving revision 1.2
 
108
diff -u -r1.2 copyright
 
109
--- copyright   9 Mar 2002 01:22:30 -0000       1.2
 
110
+++ copyright   16 Aug 2003 00:40:50 -0000
 
111
@@ -3,8 +3,30 @@
 
112
 
 
113
 It was downloaded from ftp://ftp.comedi.org/pub/comedi.
 
114
 
 
115
-Upstream Author(s): David Schleef <ds@schleef.org>
 
116
+Upstream Author: David Schleef <ds@schleef.org>
 
117
 
 
118
 Copyright:
 
119
 
 
120
-LGPL
 
121
+/*
 
122
+    COMEDILIB - Linux Control and Measurement Device Interface Library
 
123
+    Copyright (C) 1997-2001 David A. Schleef <ds@schleef.org>
 
124
+
 
125
+    This library is free software; you can redistribute it and/or
 
126
+    modify it under the terms of the GNU Lesser General Public
 
127
+    License as published by the Free Software Foundation, version 2.1
 
128
+    of the License.
 
129
+
 
130
+    This library is distributed in the hope that it will be useful,
 
131
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
132
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
133
+    Lesser General Public License for more details.
 
134
+
 
135
+    You should have received a copy of the GNU Lesser General Public
 
136
+    License along with this library; if not, write to the Free Software
 
137
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 
138
+    USA.
 
139
+*/
 
140
+
 
141
+The full text of the LGPL can be found in the file
 
142
+/usr/share/common-licenses/LGPL-2.1.
 
143
+
 
144
Index: libcomedi0.postinst
 
145
===================================================================
 
146
RCS file: /var/cvs/comedilib/debian/libcomedi0.postinst,v
 
147
retrieving revision 1.6
 
148
diff -u -r1.6 libcomedi0.postinst
 
149
--- libcomedi0.postinst 18 May 2002 22:47:03 -0000      1.6
 
150
+++ libcomedi0.postinst 16 Aug 2003 00:40:50 -0000
 
151
@@ -1,12 +1,13 @@
 
152
 #!/bin/sh
 
153
 
 
154
-# Policy says that the user should be asked before we do this.
 
155
-cd /dev && MAKEDEV comedi
 
156
-
 
157
-#DEBHELPER#
 
158
-
 
159
 if [ "$1" = "configure" ]; then
 
160
-       ldconfig
 
161
+       if [ ! -e "/dev/comedi0" ];then
 
162
+               echo "Creating /dev/comediN device nodes"
 
163
+               cd /dev && MAKEDEV comedi
 
164
+       fi
 
165
 fi
 
166
 
 
167
+#DEBHELPER#
 
168
+
 
169
 exit 0
 
170
+
 
171
Index: libcomedi0.postrm
 
172
===================================================================
 
173
RCS file: /var/cvs/comedilib/debian/libcomedi0.postrm,v
 
174
retrieving revision 1.1
 
175
diff -u -r1.1 libcomedi0.postrm
 
176
--- libcomedi0.postrm   7 Nov 2001 23:20:47 -0000       1.1
 
177
+++ libcomedi0.postrm   16 Aug 2003 00:40:50 -0000
 
178
@@ -2,8 +2,4 @@
 
179
 
 
180
 #DEBHELPER#
 
181
 
 
182
-if [ "$1" = "remove" ]; then
 
183
-       ldconfig
 
184
-fi
 
185
-
 
186
 exit 0
 
187
Index: libcomedi0.shlibs
 
188
===================================================================
 
189
RCS file: /var/cvs/comedilib/debian/libcomedi0.shlibs,v
 
190
retrieving revision 1.3
 
191
diff -u -r1.3 libcomedi0.shlibs
 
192
--- libcomedi0.shlibs   7 Nov 2001 23:20:47 -0000       1.3
 
193
+++ libcomedi0.shlibs   16 Aug 2003 00:40:50 -0000
 
194
@@ -1 +1 @@
 
195
-libcomedi 0 libcomedi0 (>> 0.7.16)
 
196
+libcomedi 0 libcomedi0 (>= 0.7.19)
 
197
Index: rules
 
198
===================================================================
 
199
RCS file: /var/cvs/comedilib/debian/rules,v
 
200
retrieving revision 1.13
 
201
diff -u -r1.13 rules
 
202
--- rules       4 Jun 2003 02:47:15 -0000       1.13
 
203
+++ rules       16 Aug 2003 00:40:50 -0000
 
204
@@ -8,12 +8,24 @@
 
205
 # This is the debhelper compatability version to use.
 
206
 export DH_COMPAT=3
 
207
 
 
208
+DEB_HOST_GNU_TYPE       ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
209
+DEB_BUILD_GNU_TYPE      ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
210
+
 
211
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 
212
+       CFLAGS += -O0
 
213
+endif
 
214
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 
215
+       INSTALL_PROGRAM += -s
 
216
+endif
 
217
 
 
218
 build: build-stamp
 
219
 build-stamp:
 
220
        dh_testdir
 
221
 
 
222
-       ./configure --prefix=/usr \
 
223
+       ./configure \
 
224
+               --host=$(DEB_HOST_GNU_TYPE) \
 
225
+               --build=$(DEB_BUILD_GNU_TYPE) \
 
226
+               --prefix=/usr \
 
227
                --mandir=\$${prefix}/share/man \
 
228
                --datadir=\$${prefix}/share/doc/ \
 
229
                --sysconfdir=/etc \