From 4d13c8b6e02239165610805969713f328b873c94 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Mon, 10 Aug 2009 12:37:40 -0600 Subject: [PATCH] pull Corgan's debian/ content from upstream subversion --- debian/changelog | 75 +++- debian/control | 637 +++++++++++++++++++++------ debian/copyright | 12 +- debian/gnuradio-doc.install | 3 +- debian/gnuradio-examples.dirs | 2 - debian/gnuradio.docs | 3 - debian/gnuradio.install | 2 - debian/libgnuradio-core0-dev.dirs | 2 - debian/libgnuradio-core0-dev.install | 4 - debian/libgnuradio-core0c2a.dirs | 1 - debian/libgnuradio-core0c2a.install | 1 - debian/libusrp0-dev.dirs | 2 - debian/libusrp0-dev.install | 4 - debian/libusrp0c2a.dirs | 1 - debian/libusrp0c2a.install | 1 - debian/python-gnuradio.dirs | 1 - debian/python-gnuradio.install | 1 - debian/python-usrp.dirs | 1 - debian/python-usrp.install | 2 - debian/pyversions | 2 +- debian/rules | 141 +++--- debian/usrp-doc.install | 4 +- debian/usrp-firmware.dirs | 2 - debian/usrp-firmware.install | 1 - debian/usrp-firmware.postinst | 43 -- debian/usrp.dirs | 1 - debian/usrp.docs | 3 - debian/usrp.install | 5 - debian/usrp.postinst | 56 --- debian/usrp.postrm | 13 - debian/usrp.udev | 8 - 31 files changed, 644 insertions(+), 390 deletions(-) delete mode 100644 debian/gnuradio-examples.dirs delete mode 100644 debian/gnuradio.docs delete mode 100644 debian/gnuradio.install delete mode 100644 debian/libgnuradio-core0-dev.dirs delete mode 100644 debian/libgnuradio-core0-dev.install delete mode 100644 debian/libgnuradio-core0c2a.dirs delete mode 100644 debian/libgnuradio-core0c2a.install delete mode 100644 debian/libusrp0-dev.dirs delete mode 100644 debian/libusrp0-dev.install delete mode 100644 debian/libusrp0c2a.dirs delete mode 100644 debian/libusrp0c2a.install delete mode 100644 debian/python-gnuradio.dirs delete mode 100644 debian/python-gnuradio.install delete mode 100644 debian/python-usrp.dirs delete mode 100644 debian/python-usrp.install delete mode 100644 debian/usrp-firmware.dirs delete mode 100644 debian/usrp-firmware.install delete mode 100644 debian/usrp-firmware.postinst delete mode 100644 debian/usrp.dirs delete mode 100644 debian/usrp.docs delete mode 100644 debian/usrp.install delete mode 100644 debian/usrp.postinst delete mode 100644 debian/usrp.postrm delete mode 100644 debian/usrp.udev diff --git a/debian/changelog b/debian/changelog index effced9e..5ff0b65d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,25 +1,72 @@ -gnuradio (3.2.2-1) UNRELEASED; urgency=low +gnuradio (3.2.2-1) stable; urgency=low - * new upstream version - * change build-dep from fftw3-dev to libfftw3-dev, closes: #458231 - * fix problem with rebuilding, closes: #441739 + * New upstream release 3.2.2 + * See http://gnuradio.org/trac - -- Bdale Garbee Mon, 10 Aug 2009 12:26:14 -0600 + -- Johnathan Corgan Sat, 14 Jul 2009 16:00:00 -0800 -gnuradio (3.0.4-2) unstable; urgency=high +gnuradio (3.2.1-1) stable; urgency=low - * rebuild with new version number and upload to finally (?) recover from - over-zealous removal in response to bug 453154 - * recommend udev instead of hotplug, closes: #448907 + * Fix broken prefs.py when installed using --prefix=/usr - -- Bdale Garbee Sun, 23 Dec 2007 12:11:49 -0700 + -- Johnathan Corgan Sat, 06 Jul 2009 16:00:00 -0800 -gnuradio (3.0.4-1) unstable; urgency=low +gnuradio (3.2.1) stable; urgency=low - * new upstream version - * fix build failure with gcc-4.3 by adding a #include, closes: #420896 + * New upstream release 3.2.1 + * See http://gnuradio.org/trac + + -- Johnathan Corgan Sat, 05 Jul 2009 18:00:00 -0800 + +gnuradio (3.2) stable; urgency=low + + * New upstream release 3.2 + * See http://gnuradio.org/trac + + -- Johnathan Corgan Sat, 23 May 2009 18:00:00 -0800 + +gnuradio (3.1.3) stable; urgency=low + + * "Upstream" release, see http://gnuradio.org/trac/wiki/Release3.1Branch + + -- Johnathan Corgan Sat, 23 Aug 2008 19:00:00 -0800 + +gnuradio (3.1.2) stable; urgency=low - -- Bdale Garbee Tue, 14 Aug 2007 22:38:32 -0600 + * "Upstream" release, see http://gnuradio.org/trac/wiki/Release3.1Branch + + -- Johnathan Corgan Wed, 24 Mar 2008 09:00:00 -0800 + +gnuradio (3.1.1) stable; urgency=high + + * Fixed regressions in digital packet radio (t196,t198) + * Fixed RX phase offset causing sidebands (t195) + * Fixed TX I/Q swapping bug (t179) + * Fixed loopback bug in gr-sounder + * Added complex and dual-channel options to oscope for + BasicRX and LFRX + + -- Johnathan Corgan Sun, 4 Nov 2007 21:15:00 -0800 + +gnuradio (3.1.0) stable; urgency=low + + * Release 3.1 stable branch + * add/split packages to cover entire GNU Radio distribution + + -- Johnathan Corgan Mon, 22 Oct 2007 10:37:00 -0800 + +gnuradio (3.0.svn) unstable; urgency=low + + * add/split packages to cover entire GNU Radio distribution + * fix build failure with gcc-4.3 by adding a #include, closes: #420896 + * update copyright assertion on the debian/ contents, since I have + assigned my copyright to the FSF and now have upstream commit rights + * merge debian/ into upstream SVN repository + * add --disable-gr-qtgui (at least until we figure out qwt build deps!) + * add build dep on python-numpy + * conditionalize configure and clean targets to handle build from SVN + + -- Bdale Garbee Thu, 26 Jul 2007 18:07:52 -0600 gnuradio (3.0.3-1) unstable; urgency=low diff --git a/debian/control b/debian/control index ad05a49a..8936409b 100644 --- a/debian/control +++ b/debian/control @@ -1,104 +1,120 @@ +################################################################################ +# Single source deb for entire distribution # +################################################################################ + Source: gnuradio Section: comm Priority: optional -Maintainer: Bdale Garbee +Maintainer: Johnathan Corgan Build-Conflicts: automake1.8, automake1.9 -Build-Depends: debhelper (>= 5.0.37.2), autotools-dev, doxygen, libfftw3-dev, libasound2-dev, libboost-dev, libcppunit-dev, libjack0.100.0-dev, libsdl1.2-dev, portaudio19-dev, libtool, libusb-dev, pkg-config, python, python-all-dev, python-central (>= 0.5), python-numeric, python-wxgtk2.6, sdcc, swig, xmlto -Build-Depends-Indep: python-all-dev -Standards-Version: 3.7.3 -XS-Python-Version: >= 2.3 +Build-Depends: debhelper (>= 5.0.38), build-essential, python-central (>=0.5.6), automake, libtool, pkg-config, python2.6-dev | python-dev (>=2.6), python-dev (<2.7), swig, fftw3-dev | libfftw3-dev, libcppunit-dev, libboost1.38-dev | libboost1.37-dev | libboost1.35-dev, libgsl0-dev, guile-1.8, libasound2-dev, python-wxgtk2.8, python-numpy, doxygen, xmlto, sdcc (>=2.9.0) | sdcc-nf, libusb-dev, libjack-dev, portaudio19-dev, libsdl1.2-dev, python-cheetah, python-lxml, python-gtk2, libqt4-dev, libqwt5-qt4-dev, libqwtplot3d-qt4-dev, libblas-dev, texlive-latex-base +Standards-Version: 3.7.2 +XS-Python-Version: =2.6 -Package: gnuradio +################################################################################ +# C++ auxiliary libraries # +################################################################################ + +Package: libgruel +Section: libs Architecture: any -Section: comm -Depends: ${shlibs:Depends}, ${misc:Depends}, python, gnuradio-doc, libgnuradio-core0-dev, libgnuradio-core0c2a, libgnuradio-core0c2a-dbg, python-gnuradio (= ${binary:Version}), python-wxgtk2.6, gnuradio-examples -Suggests: usrp -Conflicts: gr-audio-alsa, gr-audio-oss, gr-audio-jack -Replaces: gr-audio-alsa, gr-audio-oss, gr-audio-jack -XB-Python-Version: ${python:Versions} -Description: Software Defined Radio - This is a meta-package that depends on the various components of a complete - installation of the GNU Radio softare defined radio system. +Depends: ${shlibs:Depends} +Description: GNU Radio Utility Etcetera Library + This package implements a variety of low-level utility + routines for GNU Radio. + +Package: libgruel-dev +Section: libdevel +Architecture: any +Depends: libgruel (= ${binary:Version}) +Description: GNU Radio Utility Etcetera Library + This package implements a variety of low-level utility + routines for GNU Radio. . - If you have a USRP, you probably also want to install the usrp package as - suggested, which lives in contrib because the FPGA bitstrings require - non-free tools to build. + This package contains header files needed by developers. -Package: gnuradio-doc -Section: doc -Architecture: all +Package: libgnuradio-omnithread +Section: libs +Architecture: any +Replaces: libgnuradio-omnithread0c2a +Conflicts: libgnuradio-omnithread0c2a Depends: ${shlibs:Depends} -Description: Software Defined Radio - This package contains the documentation for the GNU Radio software - defined radio system. +Description: GNU Radio Omnithreads Abstraction Library + This package is a fork of the omniORB-4.0.1 threading library + for use with GNU Radio. -Package: libgnuradio-core0-dev +Package: libgnuradio-omnithread-dev Section: libdevel Architecture: any -Depends: libgnuradio-core0c2a (= ${binary:Version}) -Description: Software Defined Radio - This library contains Signal Processing routines that implement - the functionality of traditional radio receivers and transmitters. - . - The GNU Radio homepage is http://www.gnu.org/software/gnuradio +Replaces: libgnuradio-omnithread0-dev +Conflicts: libgnuradio-omnithread0-dev +Depends: libgnuradio-omnithread (= ${binary:Version}) +Description: GNU Radio Omnithreads Abstraction Library + This package is a fork of the omniORB-4.0.1 threading library + for use with GNU Radio. . This package contains header files needed by developers. -Package: libgnuradio-core0c2a +Package: libpmt Section: libs Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Conflicts: libgnuradio-core0, libgnuradio-core0c2 -Replaces: libgnuradio-core0, libgnuradio-core0c2 -Recommends: python-gnuradio -Suggests: gnuradio-doc, gnuradio-examples -Description: Software Defined Radio - This package contains the core GNU Radio libraries. +Replaces: libpmt0c2a +Conflicts: libpmt0c2a +Depends: libgnuradio-omnithread (= ${binary:Version}), ${shlibs:Depends} +Description: GNU Radio Polymorphic Type Library + This package implements polymorphic types. These are similar + to lisp or Python data objects, and implement transparent + reference counting using the boost shared_ptr templates. -Package: libgnuradio-core0c2a-dbg -Priority: extra +Package: libpmt-dev Section: libdevel Architecture: any -Depends: libgnuradio-core0c2a (= ${binary:Version}), ${shlibs:Depends} -Description: Software Defined Radio - This package contains the debug symbols needed to debug programs that - use the GNU Radio core libraries. +Replaces: libpmt0-dev +Conflicts: libpmt0-dev +Depends: libpmt (= ${binary:Version}), libgnuradio-omnithread-dev (= ${binary:Version}) +Description: GNU Radio Polymorphic Type Library + This package implements polymorphic types. These are similar + to lisp or Python data objects, and implement transparent + reference counting using the boost shared_ptr templates. + . + This package contains header files needed by developers. + +################################################################################ +# C++ M-Block library packages # +################################################################################ -Package: usrp -Section: contrib/comm +Package: libmblock +Section: libs Architecture: any -Depends: ${shlibs:Depends}, python, libusrp0-dev, libusrp0c2a-dbg, python-usrp (= ${binary:Version}) -Recommends: gnuradio, udev, usrp-doc, usrp-firmware -XB-Python-Version: ${python:Versions} -Description: control applications and firmware for the USRP - The Universal Software Radio Peripheral (USRP) is an USB-connected, - low-cost and open board. It features four high-speed analog-to-digital - and digital-to-analog converters, an FPGA and a microcontroller. It's - ideal for capturing or transmitting various signals, usually in - combination with GNU Radio. The design schemas are available under a - free license. Visit ettus.com for more information on the USRP. - . - This package contains a tool for loading firmware and doing other - simple administrative tasks for the USRP (usrper), as well as the - actual firmware binaries for the microcontroller. +Replaces: libmblock0c2a +Conflicts: libmblock0c2a +Depends: libpmt (= ${binary:Version}), libgnuradio-omnithread (= ${binary:Version}), ${shlibs:Depends}, guile-1.8 +Description: GNU Radio Message Block Library + This package provides the GNU Radio message block library. + +Package: libmblock-dev +Section: libdevel +Architecture: any +Replaces: libmblock0-dev +Conflicts: libmblock0-dev +Depends: libmblock (= ${binary:Version}), libgnuradio-omnithread-dev (= ${binary:Version}), libpmt-dev (= ${binary:Version}) +Description: GNU Radio Message Block Library + This package provides the GNU Radio message block library. . - This package also depends on all of the other USRP-related packages - so that installing this package will pull in all the pieces you might - want or need to successfully use the USRP with GNU Radio. + This package contains header files needed by developers. -Package: usrp-doc -Section: doc -Architecture: all -Depends: ${shlibs:Depends} -Description: Software Defined Radio with USRP - This package contains the documentation for the USRP support that is - part of the GNU Radio software defined radio system. +################################################################################ +# C++ USRP/USRP2 library packages # +################################################################################ -Package: usrp-firmware -Section: contrib/comm -Architecture: all -Recommends: usrp -Description: control applications and firmware for the USRP +Package: libusrp +Section: comm +Architecture: any +Depends: ${shlibs:Depends} +Replaces: libusrp0, libusrp0c2a, usrp-firmware +Conflicts: usrp-firmware +Suggests: usrp-doc +Description: Client side library for the USRP(1) hardware The Universal Software Radio Peripheral (USRP) is an USB-connected, low-cost and open board. It features four high-speed analog-to-digital and digital-to-analog converters, an FPGA and a microcontroller. It's @@ -106,16 +122,15 @@ Description: control applications and firmware for the USRP combination with GNU Radio. The design schemas are available under a free license. . - This package contains the basic FPGA bitstrings for normal USRP operation, - which need non-free tools to build. + This package contains the client-side library, providing an easy interface + for communicating with the USRP. -Package: libusrp0-dev -Provides: libusrp-dev -Conflicts: libusrp-dev -Section: contrib/libdevel +Package: libusrp-dev +Section: libdevel Architecture: any -Depends: libusrp0c2a (= ${binary:Version}), ${shlibs:Depends} -Description: development library files for the USRP +Replaces: libusrp0-dev +Depends: libusrp (= ${binary:Version}), libusb-dev, libboost-thread1.37-dev +Description: Client side library for the USRP(1) hardware The Universal Software Radio Peripheral (USRP) is an USB-connected, low-cost and open board. It features four high-speed analog-to-digital and digital-to-analog converters, an FPGA and a microcontroller. It's @@ -123,78 +138,438 @@ Description: development library files for the USRP combination with GNU Radio. The design schemas are available under a free license. . - This package contains development files for the client-side library. + This package contains the client-side library, providing an easy interface + for communicating with the USRP. + . + This package contains header files needed by developers. -Package: libusrp0c2a -Section: contrib/libs +Package: libusrp2 +Section: comm Architecture: any -Depends: ${shlibs:Depends} -Recommends: usrp -Conflicts: libusrp0 -Replaces: libusrp0 -Description: client side library for the USRP - The Universal Software Radio Peripheral (USRP) is an USB-connected, - low-cost and open board. It features four high-speed analog-to-digital +Depends: libgruel (= ${binary:Version}), libgnuradio-omnithread (= ${binary:Version}), ${shlibs:Depends} +Description: Client side library for the USRP2 hardware + The Universal Software Radio Peripheral 2 (USRP2) is a GbE-connected, + low-cost and open board. It features two high-speed analog-to-digital and digital-to-analog converters, an FPGA and a microcontroller. It's ideal for capturing or transmitting various signals, usually in combination with GNU Radio. The design schemas are available under a free license. . - This package contains the client-side library, providing an easy interface - for communicating with the USRP. + This package contains the client-side C++ library, providing the low- + level (non-GNU Radio) hardware interface. -Package: libusrp0c2a-dbg -Priority: extra -Section: contrib/libdevel +Package: libusrp2-dev +Section: libdevel Architecture: any -Depends: libusrp0c2a (= ${binary:Version}), ${shlibs:Depends} -Description: client side library debugging symbols for the USRP - The Universal Software Radio Peripheral (USRP) is an USB-connected, - low-cost and open board. It features four high-speed analog-to-digital +Depends: libusrp2 (= ${binary:Version}), libboost-thread1.37-dev, libgnuradio-omnithread-dev (= ${binary:Version}), libgruel-dev (= ${binary:Version}) +Description: Client side library for the USRP2 hardware + The Universal Software Radio Peripheral 2 (USRP2) is a GbE-connected, + low-cost and open board. It features two high-speed analog-to-digital and digital-to-analog converters, an FPGA and a microcontroller. It's ideal for capturing or transmitting various signals, usually in combination with GNU Radio. The design schemas are available under a free license. . - This package contains the debug symbols needed to debug programs that - use the USRP client-side library. + This package contains the client-side C++ library, providing the low- + level (non-GNU Radio) hardware interface. + . + This package contains header files needed by developers. -Package: python-gnuradio +################################################################################ +# C++ GNU Radio block library packages # +################################################################################ + +Package: libgnuradio-core +Section: libs +Architecture: any +Depends: libgruel (= ${binary:Version}), libgnuradio-omnithread (= ${binary:Version}), ${shlibs:Depends} +Conflicts: libgnuradio-core0, libgnuradio-core0c2, libgnuradio-core0c2a +Replaces: libgnuradio-core0, libgnuradio-core0c2, libgnuradio-core0c2a +Suggests: gnuradio-doc +Description: The GNU Sofware Radio Core Library + This package contains the core GNU Radio libraries. + +Package: libgnuradio-core-dev +Section: libdevel +Architecture: any +Replaces: libgnuradio-core0-dev +Conflicts: libgnuradio-core0-dev +Depends: libgnuradio-core (= ${binary:Version}), libgruel-dev (= ${binary:Version}), libgnuradio-omnithread-dev (= ${binary:Version}), libboost-thread1.37-dev, libboost-date-time1.37-dev, libgsl0-dev, libatlas-base-dev, libfftw3-dev, swig +Description: The GNU Software Radio Core Library + This package contains the core GNU Radio libraries. + . + This package contains header files needed by developers. + +Package: libgnuradio-audio-alsa +Section: libs +Architecture: any +Depends: libgnuradio-core (= ${binary:Version}), ${shlibs:Depends} +Description: GNU Radio C++ block for ALSA sound system + This package contains the ALSA sound system driver for GNU Radio. + +Package: libgnuradio-audio-alsa-dev +Section: libdevel +Architecture: any +Depends: libgnuradio-audio-alsa (= ${binary:Version}), libgnuradio-core-dev (= ${binary:Version}), libasound2-dev +Description: GNU Radio C++ block for ALSA sound system + This package contains the ALSA sound system driver for GNU Radio. + . + This package contains header files needed by developers. + +Package: libgnuradio-qtgui +Section: libs +Architecture: any +Depends: libgnuradio-core (= ${binary:Version}), ${shlibs:Depends} +Description: GNU Radio C++ blocks fro QT-based GUI applications + This package contains the C++ library for using GNU Radio inside + QT-based GUI applications. + +Package: libgnuradio-qtgui-dev +Section: libdevel +Architecture: any +Depends: libgnuradio-qtgui (= ${binary:Version}), libgnuradio-core-dev (= ${binary:Version}), libqt4-dev, libqwtplot3d-qt4-dev +Description: GNU Radio C++ blocks fro QT-based GUI applications + This package contains the C++ library for using GNU Radio inside + QT-based GUI applications. + . + This package contains header files needed by developers. + +Package: libgnuradio-usrp +Section: libs Architecture: any -Depends: ${python:Depends}, libgnuradio-core0c2a, python-numeric -Conflicts: gr-wxgui -Replaces: gr-wxgui +Depends: libgnuradio-core (= ${binary:Version}), libusrp (= ${binary:Version}), ${shlibs:Depends} +Description: GNU Radio C++ blocks for USRP(1) hardware + This package contains the C++ API blocks for the Universal Software Radio + Peripheral. + +Package: libgnuradio-usrp-dev +Section: libdevel +Architecture: any +Depends: libgnuradio-usrp (= ${binary:Version}), libgnuradio-core-dev (= ${binary:Version}), libusrp-dev (= ${binary:Version}) +Description: GNU Radio C++ blocks for USRP(1) hardware + This package contains the C++ API blocks for the Universal Software Radio + Peripheral. + . + This package contains header files needed by developers. + +Package: libgnuradio-usrp2 +Section: libs +Architecture: any +Depends: libgnuradio-core (= ${binary:Version}), libusrp2 (= ${binary:Version}), ${shlibs:Depends} +Description: GNU Radio C++ blocks for USRP2 hardware + This package contains the C++ API blocks for the Universal Software Radio + Peripheral 2. + +Package: libgnuradio-usrp2-dev +Section: libdevel +Architecture: any +Depends: libgnuradio-usrp2 (= ${binary:Version}), libgnuradio-core-dev (= ${binary:Version}), libusrp2-dev (= ${binary:Version}) +Description: GNU Radio C++ blocks for USRP2 hardware + This package contains the C++ API blocks for the Universal Software Radio + Peripheral 2. + . + This package contains header files needed by developers. + +################################################################################ +# Python libraries for USRP # +################################################################################ + +Package: python-usrp +Architecture: any +Depends: ${python:Depends}, libusrp (= ${binary:Version}), ${shlibs:Depends} Provides: ${python:Provides} Section: python XB-Python-Version: ${python:Versions} -Description: Python bindings for GNU Radio - This provides the module that enable one to use gnuradio from Python - scripts. You will need Python and gnuradio-dev installed to use this. +Description: Python bindings for the USRP library + This package provides auxiliary routines in Python for manipulating the USRP + hardware. -Package: python-usrp -Section: contrib/libs +################################################################################ +# Python libraries for GNU Radio components # +################################################################################ + +Package: python-gnuradio-core Architecture: any -Depends: ${shlibs:Depends}, ${python:Depends} -Replaces: python2.3-usrp -Conflicts: python2.3-usrp +Depends: ${python:Depends}, ${shlibs:Depends}, python-numpy +Conflicts: python-gnuradio (< 3.2) Provides: ${python:Provides} +Section: python XB-Python-Version: ${python:Versions} -Description: Python binding for the USRP client side library - The Universal Software Radio Peripheral (USRP) is an USB-connected, - low-cost and open board. It features four high-speed analog-to-digital - and digital-to-analog converters, an FPGA and a microcontroller. It's - ideal for capturing or transmitting various signals, usually in - combination with GNU Radio. The design schemas are available under a - free license. - . - This package contains the Python bindings for the client-side library. +Description: Python bindings for GNU Radio core library + This package provides the modules that enable one to use gnuradio + from Python scripts. + +Package: python-gnuradio-wxgui +Architecture: any +Depends: ${python:Depends}, python-gnuradio-core (= ${binary:Version}), python-wxgtk2.8, python-opengl, python-numpy +Conflicts: python-wxgtk2.6 +Provides: ${python:Provides} +Section: python +XB-Python-Version: ${python:Versions} +Description: GNU Radio Graphical Interface Routines based on wxPython + This package provides high level GUI construction classes based + upon the wxPython bindings for wxWidgets. + +Package: python-gnuradio-usrp +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-core, python-usrp +Provides: ${python:Provides} +Section: python +XB-Python-Version: ${python:Versions} +Description: Python bindings for GNU Radio USRP driver + This package provides the Python interface to the GNU Radio USRP + driver and daughterboard drivers. + +Package: python-gnuradio-usrp2 +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-core +Provides: ${python:Provides} +Section: python +XB-Python-Version: ${python:Versions} +Description: Python bindings for GNU Radio USRP driver + This package provides the Python interface to the GNU Radio USRP + driver and daughterboard drivers. + +Package: python-gnuradio-audio-alsa +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, libgnuradio-audio-alsa (= ${binary:Version}), python-gnuradio-core +Section: python +Provides: ${python:Provides}, python-gnuradio-audio +XB-Python-Version: ${python:Versions} +Description: Python bindings for GNU Radio ALSA audio driver + This package provides the Python wrappers around the GNU Radio ALSA + audio driver. + +Package: python-gnuradio-audio-portaudio +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-core +Provides: ${python:Provides}, python-gnuradio-audio +Section: python +XB-Python-Version: ${python:Versions} +Description: GNU Radio Python PortAudio Driver + This package provides the Python interface to the GNU Radio driver + for the PortAudio audio system. + +Package: python-gnuradio-audio-jack +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-core +Section: python +Provides: ${python:Provides}, python-gnuradio-audio +XB-Python-Version: ${python:Versions} +Description: GNU Radio Python JACK Audio Driver + This package provides the Python interface to the GNU Radio driver + for the JACK audio system. + +Package: python-gnuradio-audio-oss +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-core +Section: python +Provides: ${python:Provides}, python-gnuradio-audio +XB-Python-Version: ${python:Versions} +Description: GNU Radio Python OSS Audio Driver + This package provides the Python interface to the GNU Radio driver + for the OSS audio system. + +Package: python-gnuradio-cvsd-vocoder +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-core +Provides: ${python:Provides} +Section: python +XB-Python-Version: ${python:Versions} +Description: GNU Radio CVSD Vocoder + This package provides an implementation of a CVSD vocoder for + GNU Radio. + +Package: python-gnuradio-gsm-fr-vocoder +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-core +Provides: ${python:Provides} +Section: python +XB-Python-Version: ${python:Versions} +Description: GNU Radio GSM Full-Rate Vocoder + This package provides an implementation of a full-rate GSM vocoder + for GNU Radio. + +Package: python-gnuradio-qtgui +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, libgnuradio-qtgui (= ${binary:Version}), python-gnuradio-core +Section: python +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: Python bindings for GNU Radio ALSA audio driver + This package provides the Python wrappers around the GNU Radio QT + GUI C++ blocks. + +Package: python-gnuradio-trellis +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-core +Provides: ${python:Provides} +Section: python +XB-Python-Version: ${python:Versions} +Description: GNU Radio Trellis-Coded Modulation library + This package provides an implementation of trellis-coded modulation + for GNU Radio. + +Package: python-gnuradio-video-sdl +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-core +Provides: ${python:Provides} +Section: python +XB-Python-Version: ${python:Versions} +Description: GNU Radio SDL Interface Library + This package provides an interface to the SDL rendering library + for GNU Radio. + +################################################################################ +# GNU Radio Utilities, Examples, and Applications # +################################################################################ + +Package: gnuradio-utils +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-usrp, python-gnuradio-usrp2, python-gnuradio-wxgui, python-matplotlib, python-tk, python-scipy +Provides: ${python:Provides} +Section: comm +XB-Python-Version: ${python:Versions} +Description: GNU Radio Utilities + This package provides commonly used utilities for GNU Radio Package: gnuradio-examples +Architecture: any +Depends: ${python:Depends}, python-gnuradio-core +Provides: ${python:Provides} +Recommends: python-gnuradio-wxgui, python-gnuradio +Section: comm +XB-Python-Version: ${python:Versions} +Description: GNU Radio Example Programs + This package provides examples of GNU Radio usage using Python. + +Package: gnuradio-pager +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-usrp +Provides: ${python:Provides} +Section: comm +XB-Python-Version: ${python:Versions} +Description: GNU Radio FLEX Pager Decoder + This package provides a decoder for the FLEX paging protocol for GNU Radio + +Package: gnuradio-sounder +Architecture: any +Replaces: gnuradio-sounder-firmware +Conflicts: gnuradio-sounder-firmware +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-usrp +Provides: ${python:Provides} +Section: comm +XB-Python-Version: ${python:Versions} +Description: GNU Radio Channel Sounder Application + This package provides an RF channel sounder application for GNU Radio + +Package: gnuradio-gpio +Architecture: any +Replaces: gnuradio-gpio-firmware +Conflicts: gnuradio-gpio-firmware +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-usrp +Provides: ${python:Provides} +Section: comm +XB-Python-Version: ${python:Versions} +Description: GNU Radio Streaming Digital Application + This package provides streaming digital GPIO capabilities for GNU Radio + +Package: gnuradio-radar-mono +Architecture: any +Replaces: gnuradio-radar-mono-firmware +Conflicts: gnuradio-radar-mono-firmware +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-usrp +Provides: ${python:Provides} +Section: comm +XB-Python-Version: ${python:Versions} +Description: GNU Radio Monostatic Radar Application + This package provides a monostatic radar application for GNU Radio + +Package: gnuradio-radio-astronomy +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends}, python-gnuradio-usrp, python-gnuradio-wxgui +Provides: ${python:Provides} +Section: comm +XB-Python-Version: ${python:Versions} +Description: GNU Radio Radio Astronomy Applications + This package provides radio astronomy applications for GNU Radio + +Package: gnuradio-companion +Architecture: any +Depends: ${python:Depends}, gnuradio, gnuradio-doc, usrp-doc, python-lxml, python-cheetah, python-gtk2 +Provides: ${python:Provides} +Section: comm +XB-Python-Version: ${python:Versions} +Description: The GNU Radio Companion + GRC is a graphical flowgraph editor for the GNU Software Radio + +################################################################################ +# Documentation packages # +################################################################################ + +Package: gnuradio-doc +Section: doc +Architecture: all +Description: Software Defined Radio + This package contains the documentation for the GNU Radio software + defined radio system. + +Package: usrp-doc +Section: doc +Architecture: all +Description: Software Defined Radio + This package contains the documentation for the Universal Software Radio + Peripheral (USRP) hardware and interface library. + +################################################################################ +# Meta-packages # +################################################################################ + +Package: libgnuradio +Section: libs +Architecture: all +Depends: libgnuradio-core (= ${binary:Version}), +Recommends: libgnuradio-audio-alsa, libgnuradio-qtqui, libgnuradio-usrp, libgnuradio-usrp2 +Description: GNU Radio C++ API libraries + This is a virtual package that depends, recommends, or suggests all of the + binary packages that make up the GNU Radio C++ API. For development headers, + install libgnuradio-dev. + +Package: libgnuradio-dev +Section: libdevel +Architecture: all +Depends: libgnuradio (= ${binary:Version}), libgnuradio-core-dev +Recommends: libgnuradio-audio-alsa-dev, libgnuradio-qtgui-dev, libgnuradio-usrp-dev, libgnuradio-usrp2-dev, +Suggests: gnuradio-doc, usrp-doc +Replaces: gnuradio-dev +Description: Development headers for GNU Radio C++ development + This is a virtual package that depends or recommends the development header + packages for the GNU Radio C++ API. It is only needed if you intend + to develop custom GNU Radio signal processing blocks in C++. + +Package: python-gnuradio +Section: python Architecture: all -Depends: ${python:Depends}, libgnuradio-core0c2a, python-gnuradio +Depends: python-gnuradio-core +Recommends: python-gnuradio-wxgui, python-gnuradio-audio-alsa | python-gnuradio-audio, python-gnuradio-cvsd-vocoder, python-gnuradio-gsm-fr-vocoder, python-gnuradio-qtgui, python-gnuradio-trellis, python-gnuradio-video-sdl, python-gnuradio-usrp, python-gnuradio-usrp2 +Provides: ${python:Provides} XB-Python-Version: ${python:Versions} -Description: Example programs to test and use GNU Radio - This package contains Python programs which uses and tests - the GNU Radio libraries. The examples include dialtone generation, - complete FM receiver and many more exciting applications. +Description: Python Libraries for GNU Radio Components + This is a virtual package that depends or recommends all of the packages that + make up the GNU Radio Python API. + +Package: gnuradio-apps +Section: comm +Architecture: all +Depends: gnuradio-gpio, gnuradio-pager, gnuradio-sounder, gnuradio-radio-astronomy, gnuradio-radar-mono +Description: The GNU Software Radio Toolkit - applications + This is a virtual package that depends on top-level GNU Radio application + packages. +Package: gnuradio +Section: comm +Architecture: all +Recommends: libgnuradio, libgnuradio-dev, gnuradio-doc, python-gnuradio, gnuradio-utils, gnuradio-examples, gnuradio-apps +Description: The GNU Software Radio Toolkit + This is a virtual package that installs the entire GNU Radio and USRP software + set. diff --git a/debian/copyright b/debian/copyright index 677c8827..d93151a4 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,17 +1,17 @@ GNU Radio was re-packaged by Bdale Garbee to reflect upstream restructuring on Wed, 6 Sep 2006 16:02:03 -0600. Much was learned and portions were taken from the previous Debian packages built -by Ramakrishnan Muthukrishnan and Steinar H. Gunderson +by Ramakrishnan Muthukrishnan and Steinar H. Gunderson. GNU Radio was downloaded from http://www.gnu.org/software/gnuradio/ Upstream Authors: Eric Blossom Matt Ettus - Stephane Fillod - + Johnathan Corgan + See the AUTHORS file for a more complete list of contributors. -The current upstream maintainer is Johnathan Corgan +The current upstream maintainer is Johnathan Corgan. Copyright: @@ -20,3 +20,7 @@ under the GNU General Public License (GPL), a copy of which is available on a Debian system at: /usr/share/common-licenses/GPL + +The Debian packaging was created by Bdale Garbee , is +(c) Copyright 2006 Hewlett-Packard Development Company, L.P., +and is made available under the terms of the GPL. diff --git a/debian/gnuradio-doc.install b/debian/gnuradio-doc.install index 08f1e5de..f7d331cb 100644 --- a/debian/gnuradio-doc.install +++ b/debian/gnuradio-doc.install @@ -1,2 +1,3 @@ +usr/share/doc/gnuradio*/README* /usr/share/doc/gnuradio-doc usr/share/doc/gnuradio*/html usr/share/doc/gnuradio-doc -usr/share/doc/gnuradio*/README /usr/share/doc/gnuradio-doc +usr/share/doc/gnuradio*/xml usr/share/doc/gnuradio-doc diff --git a/debian/gnuradio-examples.dirs b/debian/gnuradio-examples.dirs deleted file mode 100644 index 208fc242..00000000 --- a/debian/gnuradio-examples.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/share/doc/gnuradio-examples -usr/share/gnuradio diff --git a/debian/gnuradio.docs b/debian/gnuradio.docs deleted file mode 100644 index 6f83607c..00000000 --- a/debian/gnuradio.docs +++ /dev/null @@ -1,3 +0,0 @@ -AUTHORS -NEWS -README diff --git a/debian/gnuradio.install b/debian/gnuradio.install deleted file mode 100644 index 0d40598d..00000000 --- a/debian/gnuradio.install +++ /dev/null @@ -1,2 +0,0 @@ -etc/gnuradio/conf.d -usr/bin/microtune.py diff --git a/debian/libgnuradio-core0-dev.dirs b/debian/libgnuradio-core0-dev.dirs deleted file mode 100644 index 44188162..00000000 --- a/debian/libgnuradio-core0-dev.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib -usr/include diff --git a/debian/libgnuradio-core0-dev.install b/debian/libgnuradio-core0-dev.install deleted file mode 100644 index 0002b2ae..00000000 --- a/debian/libgnuradio-core0-dev.install +++ /dev/null @@ -1,4 +0,0 @@ -usr/include/gnuradio -usr/lib/libgnuradio-core*.la -usr/lib/libgnuradio-core*.so -usr/lib/pkgconfig/gnuradio-core.pc diff --git a/debian/libgnuradio-core0c2a.dirs b/debian/libgnuradio-core0c2a.dirs deleted file mode 100644 index 68457717..00000000 --- a/debian/libgnuradio-core0c2a.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/lib diff --git a/debian/libgnuradio-core0c2a.install b/debian/libgnuradio-core0c2a.install deleted file mode 100644 index 05eea594..00000000 --- a/debian/libgnuradio-core0c2a.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/libgnuradio-core*.so.* diff --git a/debian/libusrp0-dev.dirs b/debian/libusrp0-dev.dirs deleted file mode 100644 index 44188162..00000000 --- a/debian/libusrp0-dev.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib -usr/include diff --git a/debian/libusrp0-dev.install b/debian/libusrp0-dev.install deleted file mode 100644 index 35797f2c..00000000 --- a/debian/libusrp0-dev.install +++ /dev/null @@ -1,4 +0,0 @@ -usr/include/usrp* -usr/lib/libusrp*.la -usr/lib/libusrp*.so -usr/lib/pkgconfig/usrp.pc diff --git a/debian/libusrp0c2a.dirs b/debian/libusrp0c2a.dirs deleted file mode 100644 index 68457717..00000000 --- a/debian/libusrp0c2a.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/lib diff --git a/debian/libusrp0c2a.install b/debian/libusrp0c2a.install deleted file mode 100644 index fa24edac..00000000 --- a/debian/libusrp0c2a.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/libusrp*.so.* diff --git a/debian/python-gnuradio.dirs b/debian/python-gnuradio.dirs deleted file mode 100644 index d751d827..00000000 --- a/debian/python-gnuradio.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/lib/python2.4/site-packages/gnuradio diff --git a/debian/python-gnuradio.install b/debian/python-gnuradio.install deleted file mode 100644 index 394b6db0..00000000 --- a/debian/python-gnuradio.install +++ /dev/null @@ -1 +0,0 @@ -usr/lib/python*/site-packages/gnuradio diff --git a/debian/python-usrp.dirs b/debian/python-usrp.dirs deleted file mode 100644 index a1670339..00000000 --- a/debian/python-usrp.dirs +++ /dev/null @@ -1 +0,0 @@ -usr/lib/python*/site-packages diff --git a/debian/python-usrp.install b/debian/python-usrp.install deleted file mode 100644 index 71deb6a4..00000000 --- a/debian/python-usrp.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/python*/site-packages/__init__.* -usr/lib/python*/site-packages/*usrp* diff --git a/debian/pyversions b/debian/pyversions index 57a7586e..c20c8ac5 100644 --- a/debian/pyversions +++ b/debian/pyversions @@ -1 +1 @@ -2.3- +2.6 \ No newline at end of file diff --git a/debian/rules b/debian/rules index 8896c3b6..6624bf17 100755 --- a/debian/rules +++ b/debian/rules @@ -1,14 +1,4 @@ #!/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. -# -# Modified to make a template file for a multi-binary package with separated -# build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 @@ -16,59 +6,73 @@ export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS -CFLAGS = -Wall -g +export DH_PYCENTRAL=nomove -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif +DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp extract-stamp install-stamp + + if [ -f Makefile ]; \ + then\ + if [ -d .svn ]; \ + then \ + $(MAKE) maintainer-clean; \ + else \ + $(MAKE) distclean; \ + fi; \ + fi + + dh_clean + +update: + dh_testdir + -test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub config.sub + -test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess config.guess configure: configure-stamp configure-stamp: dh_testdir -# running bootstrap shouldn't be necessary when working from released tarballs -# ./bootstrap - CFLAGS="$(CFLAGS)" ./configure \ - --prefix=/usr --mandir=\$${prefix}/share/man \ - --infodir=\$${prefix}/share/info --enable-shared \ - --enable-doxygen --enable-html-docs \ - --sysconfdir=/etc --enable-all-components \ - --disable-gr-audio-osx --disable-gr-audio-windows + [ -f ./configure ] || ./bootstrap + ./configure \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --enable-shared \ + --sysconfdir=/etc \ + --enable-all-components \ + --disable-gr-audio-osx \ + --disable-gr-audio-windows \ + --disable-gcell --disable-gr-gcell \ + --disable-gr-comedi --disable-usrp2-firmware touch configure-stamp build: build-stamp -build-stamp: configure-stamp +build-stamp: configure-stamp - $(MAKE) + $(MAKE) $(MAKE) check touch $@ -clean: +extract: extract-stamp +extract-stamp: build-stamp debian/gen-install-files.sh dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - [ ! -f Makefile ] || $(MAKE) distclean - - -test -r /usr/share/misc/config.sub && \ - cp -f /usr/share/misc/config.sub config.sub - -test -r /usr/share/misc/config.guess && \ - cp -f /usr/share/misc/config.guess config.guess - - #dh_clean --exclude ./gr-gsm-fr-vocoder/src/lib/gsm/README.orig - dh_clean + debian/gen-install-files.sh + touch $@ -install: +install: install-stamp +install-stamp: extract-stamp debian/control dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp - install -m 0755 debian/usrp.hotplug \ - $(CURDIR)/debian/usrp/etc/hotplug.d/usb/ - : # make python scripts starting with '#!' executable for i in `find debian -mindepth 2 -type f ! -perm 755`; do \ if head -1 $$i | grep -q '^#!'; then \ @@ -77,21 +81,26 @@ install: fi; \ done - dh_install --sourcedir=debian/tmp --list-missing + : # Deposit rule to allow group 'usrp' access to USRP hardware + install -m 0644 -D debian/libusrp.udev \ + debian/tmp/etc/udev/rules.d/40-usrp.rules + + : # Deposit rule to allow group 'usrp' access to USRP2 hardware + install -m 0644 -D debian/libusrp2.limits \ + debian/tmp/etc/security/limits.d/libusrp2.limits - cp -r gnuradio-examples/python/* \ - debian/gnuradio-examples/usr/share/gnuradio/ - find debian/gnuradio-examples -type f -name Makefile\* -exec rm {} \; - find debian/gnuradio-examples -type d -name CVS -exec rm {} \; - find debian/gnuradio-examples -name \*.py -exec chmod +x {} \; + : # Install custom grc.conf + install -m 0644 -D debian/grc.conf \ + debian/tmp/etc/gnuradio/conf.d/grc.conf + + : # Install custom prefs.py FIXME + install -m 0644 -D debian/prefs.py \ + debian/tmp/usr/lib/python2.6/dist-packages/gnuradio/gr/prefs.py + + dh_install --sourcedir=debian/tmp + touch $@ - mv debian/gnuradio/usr/bin/microtune.py \ - debian/gnuradio/usr/bin/microtune - mv debian/usrp/usr/bin/usrp_ra_receiver.py \ - debian/usrp/usr/bin/usrp_ra_receiver - mv debian/usrp/usr/bin/usrp_psr_receiver.py \ - debian/usrp/usr/bin/usrp_psr_receiver # Must not depend on anything. This is to be called by # binary-arch/binary-indep @@ -101,33 +110,11 @@ binary-common: dh_testroot dh_installchangelogs ChangeLog dh_installdocs - dh_installexamples -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime dh_pycentral - dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman dh_link -ifneq (,$(findstring -s,$(DH_OPTIONS))) - dh_strip --no-package=libgnuradio-core0c2a --no-package=libusrp0c2a - DH_OPTIONS= dh_strip --package=libgnuradio-core0c2a \ - --dbg-package=libgnuradio-core0c2a-dbg - DH_OPTIONS= dh_strip --package=libusrp0c2a \ - --dbg-package=libusrp0c2a-dbg -else dh_strip -endif dh_compress -# dh_movefiles --sourcedir=debian/gnuradio dh_fixperms -# dh_perl dh_makeshlibs dh_installdeb dh_shlibdeps diff --git a/debian/usrp-doc.install b/debian/usrp-doc.install index 9a2cb477..b9bdb778 100644 --- a/debian/usrp-doc.install +++ b/debian/usrp-doc.install @@ -1,2 +1,2 @@ -usr/share/doc/gnuradio*/usrp/html usr/share/doc/usrp-doc -usr/share/doc/gnuradio*/usrp/README /usr/share/doc/usrp-doc +usr/share/doc/usrp*/html usr/share/doc/usrp-doc +usr/share/doc/usrp*/README /usr/share/doc/usrp-doc diff --git a/debian/usrp-firmware.dirs b/debian/usrp-firmware.dirs deleted file mode 100644 index 6195915e..00000000 --- a/debian/usrp-firmware.dirs +++ /dev/null @@ -1,2 +0,0 @@ -/usr/share/usrp/rev2 -/usr/share/usrp/rev4 diff --git a/debian/usrp-firmware.install b/debian/usrp-firmware.install deleted file mode 100644 index ad8d9502..00000000 --- a/debian/usrp-firmware.install +++ /dev/null @@ -1 +0,0 @@ -usr/share/usrp/rev*/*.rbf diff --git a/debian/usrp-firmware.postinst b/debian/usrp-firmware.postinst deleted file mode 100644 index 0c02817b..00000000 --- a/debian/usrp-firmware.postinst +++ /dev/null @@ -1,43 +0,0 @@ -#! /bin/sh - -set -e - -#DEBHELPER# - -if [ "$1" != "configure" ]; then - exit 0 -fi - -# -# Activate any unactivated USRPs that are plugged in at install time. -# This is basically a duplication of the loop in /etc/hotplug/usb.rc, -# but Md claims it's the best solution for synthesizing hotplug events -# for the USRPs plugged in at installation time. -# - -# -# Don't bother doing this unless we have all the firmware we need, and -# /sbin/hotplug working. (Rationale: If we don't have hotplug working, -# this will not work next boot/plugin anyhow, so it would be very confusing -# for the user to have it all work up _until_ the next boot/plugin.) -# -[ -r /usr/share/usrp/rev2/std_4rx_0tx.rbf ] || exit 0 -[ -x /sbin/hotplug ] || [ -x /sbin/udevd ] || exit 0 - -# We need sysfs to do this. -[ -d /sys/bus/usb/devices/ ] || exit 0 - -# Go through all USB devices and find unconfigured USRPs (ie. FX2 chips). -for device in /sys/bus/usb/devices/[0-9]*:*; do - devlink=$(readlink -f $device) - DEVPATH=${devlink#/sys} - - [ -f $devlink/../idVendor ] || continue - PRODUCT="$(cat $devlink/../idVendor)/$(cat $devlink/../idProduct)/$(cat $devlink/../bcdDevice)" - - if [ "$PRODUCT" = "fffe/0002/0002" ] || [ "$PRODUCT" = "fffe/0002/0004" ]; then - /usr/bin/usrper load_standard_bits - fi -done - -exit 0 diff --git a/debian/usrp.dirs b/debian/usrp.dirs deleted file mode 100644 index a26ca629..00000000 --- a/debian/usrp.dirs +++ /dev/null @@ -1 +0,0 @@ -etc/hotplug.d/usb diff --git a/debian/usrp.docs b/debian/usrp.docs deleted file mode 100644 index 231ec26f..00000000 --- a/debian/usrp.docs +++ /dev/null @@ -1,3 +0,0 @@ -usrp/AUTHORS -usrp/ChangeLog -usrp/README diff --git a/debian/usrp.install b/debian/usrp.install deleted file mode 100644 index 599ad27a..00000000 --- a/debian/usrp.install +++ /dev/null @@ -1,5 +0,0 @@ -usr/bin/usrper -usr/bin/usrp_cal_dc_offset -usr/bin/usrp_ra_receiver.py -usr/bin/usrp_psr_receiver.py -usr/share/usrp/rev*/*.ihx diff --git a/debian/usrp.postinst b/debian/usrp.postinst deleted file mode 100644 index 60faa2cf..00000000 --- a/debian/usrp.postinst +++ /dev/null @@ -1,56 +0,0 @@ -#! /bin/sh - -set -e - -if [ "$1" != "configure" ]; then - exit 0 -fi - -# -# The debhelper udev fragments are broken; they only check for -z "$2", -# not for upgrades from versions without the udev script. -# -if [ -z "$2" ] || dpkg --compare-versions "$2" lt "0.10-3"; then - ln -sf ../usrp.rules /etc/udev/rules.d/z60_usrp.rules -fi - -# Create usrp group. -if ! getent group usrp >/dev/null; then - addgroup --system usrp -fi - -# -# Activate any unactivated USRPs that are plugged in at install time. -# This is basically a duplication of the loop in /etc/hotplug/usb.rc, -# but Md claims it's the best solution for synthesizing hotplug events -# for the USRPs plugged in at installation time. -# - -# -# Don't bother doing this unless we have all the firmware we need, and -# hotplugging working. (Rationale: If we don't have hotplug working, -# this will not work next boot/plugin anyhow, so it would be very confusing -# for the user to have it all work up _until_ the next boot/plugin.) -# -[ -r /usr/share/usrp/rev2/std_4rx_0tx.rbf ] || exit 0 -[ -x /sbin/hotplug ] || [ -x /sbin/udevd ] || exit 0 - -# We need sysfs to do this. -[ -d /sys/bus/usb/devices/ ] || exit 0 - -# Go through all USB devices and find unconfigured USRPs (ie. FX2 chips). -for device in /sys/bus/usb/devices/[0-9]*:*; do - devlink=$(readlink -f $device) - DEVPATH=${devlink#/sys} - - [ -f $devlink/../idVendor ] || continue - PRODUCT="$(cat $devlink/../idVendor)/$(cat $devlink/../idProduct)/$(cat $devlink/../bcdDevice)" - - if [ "$PRODUCT" = "fffe/0002/0002" ] || [ "$PRODUCT" = "fffe/0002/0004" ]; then - /usr/bin/usrper load_standard_bits - fi -done - -#DEBHELPER# - -exit 0 diff --git a/debian/usrp.postrm b/debian/usrp.postrm deleted file mode 100644 index bde96a2d..00000000 --- a/debian/usrp.postrm +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh - -set -e - -if [ "$1" != "remove" ]; then - exit 0 -fi - -rm -f /etc/udev/rules.d/z60_usrp.rules - -#DEBHELPER# - -exit 0 diff --git a/debian/usrp.udev b/debian/usrp.udev deleted file mode 100644 index 546a943c..00000000 --- a/debian/usrp.udev +++ /dev/null @@ -1,8 +0,0 @@ -# USRP without loaded firmware (FX2) -BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", SYSFS{bcdDevice}=="0002", GROUP="usrp", RUN+="/usr/bin/usrper load_standard_bits" -BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", SYSFS{bcdDevice}=="0004", GROUP="usrp", RUN+="/usr/bin/usrper load_standard_bits" - -# USRP with loaded firmware -BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", SYSFS{bcdDevice}=="0102", GROUP="usrp" -BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", SYSFS{bcdDevice}=="0104", GROUP="usrp" - -- 2.30.2