--- comedi-0.7.76+20090411cvs.orig/debian/changelog +++ comedi-0.7.76+20090411cvs/debian/changelog @@ -0,0 +1,146 @@ +comedi (0.7.76+20090411cvs-2) unstable; urgency=low + + * Change section from admin to kernel + + -- Gudjon I. Gudjonsson Tue, 21 Apr 2009 07:32:04 +0200 + +comedi (0.7.76+20090411cvs-1) unstable; urgency=low + + * New CVS version + * Change rtaidir to /usr instead of /usr/lib/realtime and + add dependency on librtai-dev (Closes: #493853) + * Add linuxdir=$(KSRC) (Closes: #497664) + --enable-pcmcia is not commented out, left for users + * Change libtoolize --force --copy to cp config.* + now it compiles with libtool >2 + * Add watch file + * Bump Debian standards version to 3.8.1, no changes needed + * Bump compat and debhelper versions to 7 + * Replace dh_clean -k by dh_prep + * Change dependency from libtool to autotools-dev to get config.{sub,guess} + + -- Gudjon I. Gudjonsson Tue, 21 Apr 2009 07:16:37 +0200 + +comedi (0.7.76+20080817cvs-1) unstable; urgency=low + + * New CVS release + * Compiles with kernels > 2.6.24 + * Change dependency on libtool from < 2.0 to << 2.0 + * Remove dependencies on autotools + * Add dependency on module-init-tools + + -- Gudjon I. Gudjonsson Sun, 17 Aug 2008 11:55:58 +0200 + +comedi (0.7.76-2) unstable; urgency=low + + * Cleanup for Lenny release + * Add version dependency < 2.0 to libtool + (excludes version in experimental) (Closes: #488696) + * Bump standard version to 3.8.0, no changes needed + * Add Homepage field + + -- Gudjon I. Gudjonsson Thu, 14 Aug 2008 18:59:55 +0200 + +comedi (0.7.76-1) unstable; urgency=low + + * New upstream release + * Added dependency on libtool, automake, autoconf, autotools-dev + * Moved kernel modules from section unknown to admin + * Copy config.* with libtoolize --copy --force + + -- Gudjon I. Gudjonsson Tue, 19 Feb 2008 07:50:52 +0000 + +comedi (0.7.75-2) unstable; urgency=low + + * Removed postinst scripts and added dh_installmodules (Closes: #381780) + * Enabled pcmcia + * Added kdist_clean field in the rules file + * Version 0.7.75-1 closes the following bugs: + (Closes: #423240, #394735, #273945, #215220) + (Closes: #288991, #319161, #319161, #211927, #443926) + + -- Gudjon I. Gudjonsson Mon, 21 Jan 2008 18:40:10 +0100 + +comedi (0.7.75-1) unstable; urgency=low + + * New upstream release + * A new maintainer + + -- Gudjon I. Gudjonsson Mon, 21 Jan 2008 16:43:45 +0100 + +comedi (0.7.70-2) unstable; urgency=low + + * Use module assistant .make files instead of .mk. (Closes: #314349) + * Look for RTAI in /usr/lib/realtime instead of the default. + + -- David Schleef Wed, 20 Apr 2005 17:27:22 -0700 + +comedi (0.7.70-1) unstable; urgency=low + + * new upstream version + + -- David Schleef Thu, 31 Mar 2005 21:33:25 -0800 + +comedi (0.7.68-1) unstable; urgency=low + + * new upstream version. Upstream changes solve some bugs: + (Closes: #223184, #244986, #254990) + * Add further patch from #215115 to fix the silliness in the + comedi-source version. + + -- David Schleef Thu, 12 Aug 2004 13:50:29 -0700 + +comedi (0.7.67-3) unstable; urgency=low + + * patch from martin f krafft to fix revision + version when built by make-kpkg (Closes: #215115) + + -- David Schleef Fri, 10 Oct 2003 11:01:26 -0700 + +comedi (0.7.67-2) unstable; urgency=low + + * modtool.in: backport fix for exectable modules problem. + * debian/rules: force exact permissions on directories and files + * previous two fixes fix bug (Closes: #206986) + * debian/rules, configure: + - add hack to get EXTRAVERSION defined correctly during ./configure + (see #206988) and (Closes: #206987) + * Remove postinst/prerm that handles /usr/doc symlink. + * debian/changelog: Add pointer to common-licenses/GPL-2 + + -- David Schleef Sun, 24 Aug 2003 20:45:50 -0700 + +comedi (0.7.67-1) unstable; urgency=low + + * new upstream release (closes #183328) + - solves build problem in pcl816.c (closes #206749) + * debian/rules: + - fixes needed to work with new Comedi build system + * combination of above seems to fix: (closes #203652, #168691) + (Please report your architecture, kernel version, gcc version, + and kernel configuration in bug reports if there are further + problems.) + * debian/control: update to policy 3.6.1 + + -- David Schleef Fri, 22 Aug 2003 14:34:32 -0700 + +comedi (0.7.66-1) unstable; urgency=low + + * new upstream release + + -- David Schleef Fri, 01 Aug 2003 17:56:37 -0700 + +comedi (0.7.63-2) unstable; urgency=low + + * debian/control: improved package description + * debian/control: changed priority to extra + * debian/rules: install devices.txt, drivers.txt to /usr/share/doc + + -- David Schleef Wed, 27 Feb 2002 19:47:43 -0800 + +comedi (0.7.63-1) unstable; urgency=low + + * Initial Release. + + -- David Schleef Mon, 11 Feb 2002 00:08:02 -0800 + --- comedi-0.7.76+20090411cvs.orig/debian/control +++ comedi-0.7.76+20090411cvs/debian/control @@ -0,0 +1,34 @@ +Source: comedi +Section: kernel +Priority: extra +Maintainer: Gudjon I. Gudjonsson +Build-Depends: debhelper (>= 7), bzip2 +Standards-Version: 3.8.1 +Homepage: http://www.comedi.org/ + +Package: comedi-source +Section: kernel +Architecture: all +Depends: module-assistant, debhelper (>= 5), bzip2, + module-init-tools, librtai-dev +Suggests: kernel-package, libcomedi0 +Description: Comedi kernel module source + Comedi (Control and Measurement Device Interface) is a collection + of device drivers for data acquisition devices. This includes + most devices that have analog-to-digital (A/D) converters, + digital-to-analog (D/A) converters, raw digital I/O, digital + counters, and timers. Well-known manufacturers include National + Instruments, Data Translation, and Measurement Computing. A list + of supported devices can be found in /usr/share/doc/comedi-source/. + These drivers are not included in the Linux kernel source, so if + you want to use these devices with Debian, you should install this + package and compile the modules. + . + The packages libcomedi0 and libcomedi-dev contain documentation + about Comedi and Comedilib. + . + In order to compile these modules, you will need either the kernel + sources or the Debian kernel-headers and kernel-image packages. For + compile instructions, look at /usr/share/doc/comedi-source/README.Debian + or the documentation for the module-assistant utility. + --- comedi-0.7.76+20090411cvs.orig/debian/control.modules.in +++ comedi-0.7.76+20090411cvs/debian/control.modules.in @@ -0,0 +1,22 @@ +Source: comedi +Section: kernel +Priority: optional +Maintainer: Gudjon I. Gudjonsson +Build-Depends: debhelper (>= 7), autotools-dev +Standards-Version: 3.8.1 +Homepage: http://www.comedi.org/ + +Package: comedi-modules-_KVERS_ +Architecture: any +Provides: comedi-modules +Recommends: libcomedi0 +Description: comedi modules for Linux (kernel _KVERS_). + This package contains the set of loadable kernel modules for Comedi. + Comedi is a collection of drivers for data acquisition cards. + . + This package contains the compiled kernel modules for _KVERS_. + . + If you have compiled your own kernel, you will most likely need to build + your own comedi-modules. The comedi-source package has been + provided for use with the Debian kernel-package utility to produce a version + of comedi-module for your kernel. --- comedi-0.7.76+20090411cvs.orig/debian/compat +++ comedi-0.7.76+20090411cvs/debian/compat @@ -0,0 +1 @@ +7 --- comedi-0.7.76+20090411cvs.orig/debian/watch +++ comedi-0.7.76+20090411cvs/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://comedi.org/download/comedi-([0-9].*)\.tar\.gz --- comedi-0.7.76+20090411cvs.orig/debian/README.Debian +++ comedi-0.7.76+20090411cvs/debian/README.Debian @@ -0,0 +1,16 @@ +comedi for Debian +----------------- + +To compile modules for your particular kernel, run: + + module-assistant auto-install comedi + +Dependency on librtai-dev has been added. It is not available for all +systems but at least for amd64 it compiles without problems. Please +compile it yourself until the package will be changed to different +architectures. + +The package adds the group iocard. The members of that group can +access the Comedi cards. + + -- Gudjon I. Gudjonsson , Sun, 21 Dec 2008 00:50:43 +0100 --- comedi-0.7.76+20090411cvs.orig/debian/rules +++ comedi-0.7.76+20090411cvs/debian/rules @@ -0,0 +1,134 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +PACKAGE=comedi-modules +psource=comedi-source +sname:=comedi +MA_DIR ?= /usr/share/modass +-include $(MA_DIR)/include/generic.make +-include $(MA_DIR)/include/common-rules.make + +kdist_configure: prep-deb-files + + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + + +build-arch: build-arch-stamp +build-arch-stamp: + +# the binary-modules target prepares the $(pmodules) package. +# It is called by make-kpkg and *not* during a normal build +binary-modules: prep-deb-files + dh_testroot + dh_prep + dh_installdirs lib/modules/$(KVERS)/comedi + + # Install the module + cp -f /usr/share/misc/config.sub . + cp -f /usr/share/misc/config.guess . + CFLAGS="$(CFLAGS)" ./configure \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --with-rtaidir=/usr \ + --with-linuxdir=$(KSRC) \ + --enable-pcmcia + + $(MAKE) KERNEL_DIR=$(KSRC) KVERS=$(KVERS) + for name in $$(find comedi -name \*.ko) ; do \ + cp $$name debian/$(PKGNAME)/lib/modules/$(KVERS)/comedi; \ + done + + dh_installdocs + dh_installmodules + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol -- -v$(VERSION) + dh_md5sums + dh_builddeb --destdir=$(DEB_DESTDIR) + dh_prep + +build-indep: configure-stamp build-indep-stamp +build-indep-stamp: + dh_testdir + touch $@ + +build: build-arch build-indep + +clean: + dh_testdir + rm -f config.sub config.guess + rm -f build-arch-stamp build-indep-stamp configure-stamp + rm -rf build + dh_clean + +dist_clean: clean + [ ! -f Makefile ] || $(MAKE) distclean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Create the directories to install the source into + dh_installdirs -p$(psource) usr/src/modules/$(sname)/debian + + # Copy only the driver source to the proper location + cp -Rl `ls . |grep -v debian` debian/$(psource)/usr/src/modules/$(sname) + # Copy the needed debian/ pieces to the proper location + cp debian/*modules.in* debian/control\ + debian/$(psource)/usr/src/modules/$(sname)/debian + #cp debian/*_KVERS_* debian/rules debian/changelog debian/copyright \ + cp debian/rules debian/changelog debian/copyright \ + debian/compat debian/$(psource)/usr/src/modules/$(sname)/debian/ + cd debian/$(psource)/usr/src && tar c modules | bzip2 -9 > $(sname).tar.bz2 && rm -rf modules + + # Add here commands to install the package into debian/comedi. + #$(MAKE) DESTDIR=$(CURDIR)/debian/comedi install + + dh_install +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs ChangeLog -i + dh_installdocs -i + dh_installexamples -i + dh_installman -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build install + +binary: binary-indep +.PHONY: build clean binary-indep binary-arch binary install configure binary-modules kdist kdist_configure kdist_image kdist_clean --- comedi-0.7.76+20090411cvs.orig/debian/docs +++ comedi-0.7.76+20090411cvs/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- comedi-0.7.76+20090411cvs.orig/debian/copyright +++ comedi-0.7.76+20090411cvs/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by David Schleef on +Mon, 11 Feb 2002 00:10:56 -0800. + + +Comedi releases can be found at ftp://ftp.comedi.org/pub/comedi. + +Comedi CVS is at + + :pserver:cvs.comedi.org:/var/cvs + +The upstream maintainer is David Schleef . Questions +about Comedi should be addressed to the Comedi mailing list, + + +Copyright: + + COMEDI - Linux Control and Measurement Device Interface + Copyright (C) 1997-2003 David A. Schleef + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +A full copy of the GPL license can be found on Debian systems in +/usr/share/common-licenses/GPL-2. +