--- /dev/null
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+# the default build command:
+#builder = debuild -i\.git/ -I.git
+# the default clean command:
+#cleaner = debuild clean
+# the default branch for upstream sources:
+upstream-branch = upstream
+# the default branch for the debian patch:
+debian-branch = master
+# the default tag formats used:
+#upstream-tag = upstream/%(version)s
+#debian-tag = debian/%(version)s
+# use pristine-tar:
+pristine-tar = True
+
+# Options only affecting git-buildpackage
+[git-buildpackage]
+#upstream-branch = dfsgclean
+# uncomment this to automatically GPG sign tags
+#sign-tags = True
+# keyid to GPG sign tags with
+#keyid = 0xdeadbeef
+# push to a remote repository after a successful tag:
+#posttag = git-push git.example.com
+# use this for more svn-buildpackage like behaviour:
+export-dir = ../build-area/gnuradio/
+#tarball-dir = ../tarballs/
+
+# Options only affecting git-import-orig
+[git-import-orig]
+#upstream-branch = newupstream
+#debian-branch = dfsgclean
+#filter = .svn
+
+# Options only affecting git-import-dsc
+[git-import-dsc]
+#upstream-branch = svn-upstream
+#filter = [ 'CVS', '.cvsignore' ]
+
+# Options only affecting git-dch
+[git-dch]
+#git-log = --no-merges
+#snapshot-number = snapshot + 1
+
--- /dev/null
+gnuradio (3.2.2-1) unstable; urgency=low
+
+ * new upstream version, includes gcc4.3 support, closes: #474801, #524387
+ * merge debian/ content restructuring from upstream svn
+ * change build-dep from fftw3-dev to libfftw3-dev, closes: #458231
+ * fix problem with rebuilding, closes: #441739
+ * no longer need to move to contrib now that sdcc is fully back in main,
+ we just need to build depend on sdcc 2.9.0 or later, closes: #457402
+ * rebuild reflects python-central file location change, closes: #490513
+ * change Jack build depend to libjack-dev, closes: #527413
+
+ -- Bdale Garbee <bdale@gag.com> Tue, 15 Sep 2009 23:37:57 -0600
+
+gnuradio (3.0.4-2) unstable; urgency=high
+
+ * 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
+
+ -- Bdale Garbee <bdale@gag.com> Sun, 23 Dec 2007 12:11:49 -0700
+
+gnuradio (3.0.4-1) unstable; urgency=low
+
+ * new upstream version
+ * fix build failure with gcc-4.3 by adding a #include, closes: #420896
+
+ -- Bdale Garbee <bdale@gag.com> Tue, 14 Aug 2007 22:38:32 -0600
+
+gnuradio (3.0.3-1) unstable; urgency=low
+
+ * new upstream version
+ * tweak gnuradio-doc package to eliminate spurious subdirectory level
+ * add a usrp-doc binary package, recommended by the usrp package, and
+ include xmlto in build dependencies so usrp_guide.html gets generated,
+ closes: #407368
+
+ -- Bdale Garbee <bdale@gag.com> Sun, 11 Mar 2007 23:55:32 -0600
+
+gnuradio (3.0.2-2) unstable; urgency=high
+
+ * add run-time dependency on python-wxgtk2.6. leaving urgency high since
+ this would be a silly bug to release etch with if we can avoid it.
+
+ -- Bdale Garbee <bdale@gag.com> Mon, 4 Dec 2006 15:35:53 -0700
+
+gnuradio (3.0.2-1) unstable; urgency=high
+
+ * new upstream version, fixes FTBFS issues
+
+ -- Bdale Garbee <bdale@gag.com> Sun, 12 Nov 2006 14:52:33 -0800
+
+gnuradio (3.0-3) unstable; urgency=high
+
+ * put python-all-dev back in the build-depends list, closes: #398246
+ * move gr-wxgui conflicts/depends to python-gnuradio, closes: #396302
+ * fix up sections in control to match overrides
+
+ -- Bdale Garbee <bdale@gag.com> Sun, 12 Nov 2006 10:59:58 -0800
+
+gnuradio (3.0-2) unstable; urgency=high
+
+ * reworked package dependencies so that the 'gnuradio' binary package no
+ longer depends on the pieces in contrib. instead, the 'usrp' binary
+ package in contrib now depends on all the USRP-related pieces. A user
+ who doesn't have a USRP board can just install 'gnuradio' and get all
+ the relevant pieces, a USRP user needs to install both 'gnuradio' and
+ 'usrp'. Closes: #394533
+ * improve consistency of references to 'GNU Radio' as upstream project name
+ * make the gnuradio package dependencies on python-gnuradio and python-usrp
+ be version specific on suggestion from Ramakrishnan Muthukrishnan
+
+ -- Bdale Garbee <bdale@gag.com> Fri, 10 Nov 2006 00:39:38 -0800
+
+gnuradio (3.0-1) unstable; urgency=low
+
+ * new maintainer, new upstream version
+ * Restructuring source and binary packages to follow upstream changes, more
+ or less repackaging from scratch taking ideas from the previous packaging
+ by Ramakrishnan Muthukrishnan and Steinar H. Gunderson. This single
+ source package replaces all of:
+ gnuradio-core
+ gnuradio-examples
+ gr-audio-alsa
+ gr-audio-jack
+ gr-audio-oss
+ gr-usrp
+ gr-wxgui
+ usrp
+ In addition, the 'gnuradio' binary package is a new meta-package that
+ conveniently depends on everything gnuradio related to ease installation.
+
+ -- Bdale Garbee <bdale@gag.com> Sun, 8 Oct 2006 13:28:21 -0600
+
--- /dev/null
+################################################################################
+# Single source deb for entire distribution #
+################################################################################
+
+Source: gnuradio
+Section: comm
+Priority: optional
+Maintainer: Bdale Garbee <bdale@gag.com>
+Build-Conflicts: automake1.8, automake1.9
+Build-Depends: automake, debhelper (>= 5), doxygen, ghostscript, guile-1.8, libasound2-dev, libaudio-dev, libblas-dev, libboost-dev, libboost-program-options-dev, libboost-thread-dev, libcppunit-dev, libfftw3-dev, libfontconfig1-dev, libfreetype6-dev, libglib2.0-dev, libgsl0-dev, libjack-dev, libpng12-dev, libqt4-dev, libqt4-opengl-dev, libqwt5-qt4-dev, libqwtplot3d-qt4-dev, libsdl1.2-dev, libtool, libusb-dev, libwxgtk2.8-dev, libxext-dev, libxrender-dev, libxt-dev, pkg-config, portaudio19-dev, python-central, python-cheetah, python-dev, python-gtk2, python-lxml, python-numpy, python-qt4, python-qt4-dev, python-wxgtk2.8, sdcc, swig, texlive-latex-base, xdg-utils, xmlto
+Standards-Version: 3.8.3
+XS-Python-Version: >=2.5
+
+################################################################################
+# C++ auxiliary libraries #
+################################################################################
+
+Package: libgruel0
+Section: libs
+Architecture: any
+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: libgruel0 (= ${binary:Version})
+Description: GNU Radio Utility Etcetera Library
+ This package implements a variety of low-level utility
+ routines for GNU Radio.
+ .
+ This package contains header files needed by developers.
+
+Package: libgromnithread0
+Section: libs
+Architecture: any
+Replaces: libgnuradio-omnithread0c2a
+Conflicts: libgnuradio-omnithread0c2a
+Depends: ${shlibs:Depends}
+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: libgromnithread-dev
+Section: libdevel
+Architecture: any
+Replaces: libgnuradio-omnithread0-dev
+Conflicts: libgnuradio-omnithread0-dev
+Depends: libgromnithread0 (= ${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: libpmt0
+Section: libs
+Architecture: any
+Replaces: libpmt0c2a
+Conflicts: libpmt0c2a
+Depends: libgromnithread0 (= ${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: libpmt-dev
+Section: libdevel
+Architecture: any
+Replaces: libpmt0-dev
+Conflicts: libpmt0-dev
+Depends: libpmt0 (= ${binary:Version}), libgromnithread-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: libmblock0
+Section: libs
+Architecture: any
+Replaces: libmblock0c2a
+Conflicts: libmblock0c2a
+Depends: libpmt0 (= ${binary:Version}), libgromnithread0 (= ${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: libmblock0 (= ${binary:Version}), libgromnithread-dev (= ${binary:Version}), libpmt-dev (= ${binary:Version})
+Description: GNU Radio Message Block Library
+ This package provides the GNU Radio message block library.
+ .
+ This package contains header files needed by developers.
+
+################################################################################
+# C++ USRP/USRP2 library packages #
+################################################################################
+
+Package: libusrp0
+Section: comm
+Architecture: any
+Depends: ${shlibs:Depends}
+Replaces: 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
+ 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.
+
+Package: libusrp-dev
+Section: libdevel
+Architecture: any
+Replaces: libusrp0-dev
+Depends: libusrp0 (= ${binary:Version}), libusb-dev, libboost-thread-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
+ 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 header files needed by developers.
+
+Package: libusrp2-0
+Section: comm
+Architecture: any
+Depends: libgruel0 (= ${binary:Version}), libgromnithread0 (= ${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 C++ library, providing the low-
+ level (non-GNU Radio) hardware interface.
+
+Package: libusrp2-dev
+Section: libdevel
+Architecture: any
+Depends: libusrp2-0 (= ${binary:Version}), libboost-thread-dev, libgromnithread-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 client-side C++ library, providing the low-
+ level (non-GNU Radio) hardware interface.
+ .
+ This package contains header files needed by developers.
+
+################################################################################
+# C++ GNU Radio block library packages #
+################################################################################
+
+Package: libgnuradio-core0
+Section: libs
+Architecture: any
+Depends: libgruel0 (= ${binary:Version}), libgromnithread0 (= ${binary:Version}), ${shlibs:Depends}
+Conflicts: libgnuradio-core0c2, libgnuradio-core0c2a
+Replaces: 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-core0 (= ${binary:Version}), libgruel-dev (= ${binary:Version}), libgromnithread-dev (= ${binary:Version}), libboost-thread-dev, libboost-date-time-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-alsa0
+Section: libs
+Architecture: any
+Depends: libgnuradio-core0 (= ${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-alsa0 (= ${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-qtgui0
+Section: libs
+Architecture: any
+Depends: libgnuradio-core0 (= ${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-qtgui0 (= ${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-usrp0
+Section: libs
+Architecture: any
+Depends: libgnuradio-core0 (= ${binary:Version}), libusrp0 (= ${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-usrp0 (= ${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-0
+Section: libs
+Architecture: any
+Depends: libgnuradio-core0 (= ${binary:Version}), libusrp2-0 (= ${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-0 (= ${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}, libusrp0 (= ${binary:Version}), ${shlibs:Depends}
+Provides: ${python:Provides}
+Section: python
+XB-Python-Version: ${python:Versions}
+Description: Python bindings for the USRP library
+ This package provides auxiliary routines in Python for manipulating the USRP
+ hardware.
+
+################################################################################
+# Python libraries for GNU Radio components #
+################################################################################
+
+Package: python-gnuradio-core
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, python-numpy
+Conflicts: python-gnuradio (< 3.2)
+Provides: ${python:Provides}
+Section: python
+XB-Python-Version: ${python:Versions}
+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-alsa0 (= ${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-qtgui0 (= ${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-core0
+Recommends: libgnuradio-audio-alsa0, libgnuradio-qtqui, libgnuradio-usrp0, libgnuradio-usrp2-0
+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-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: 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.
--- /dev/null
+GNU Radio was re-packaged by Bdale Garbee <bdale@gag.com> 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.
+
+GNU Radio was downloaded from http://gnuradio.org/
+
+Upstream Authors:
+ Eric Blossom <eb@comsec.com>
+ Matt Ettus <matt@ettus.com>
+ Johnathan Corgan <jcorgan@corganenterprises.com>
+
+See the AUTHORS file for a more complete list of contributors.
+The current upstream maintainer is Johnathan Corgan.
+
+Copyright:
+
+GNU Radio is copyrighted by the Free Software Foundation and is licensed
+under the GNU General Public License (GPL), version 3 or later, a copy of
+which is available on a Debian system at:
+
+ /usr/share/common-licenses/GPL
+
+The GNU Radio source distribution also incorporates a few components that
+carry other copyrights and license assertions, as follows:
+
+gcell/ibm/sync/ppu_source/*
+gcell/ibm/sync/spu_source/*
+ (C)Copyright 2001,2007,
+ International Business Machines Corporation,
+ Sony Computer Entertainment, Incorporated,
+ Toshiba Corporation,
+
+ All Rights Reserved.
+
+ Redistribution and use in source and binary forms, with or
+ without modification, are permitted provided that the
+ following conditions are met:
+
+ - Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ - Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials
+ provided with the distribution.
+
+ - Neither the name of IBM Corporation nor the names of its
+ contributors may be used to endorse or promote products
+ derived from this software without specific prior written
+ permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
+ CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ The gcell subsystem is not included in Debian binary package builds.
+
+gnuradio-core/src/lib/g72x/*
+ This source code is released by Sun Microsystems, Inc. to the public
+ domain. Please give your acknowledgement in product literature if
+ this code is used in your product implementation.
+
+gnuradio-core/src/lib/general/malloc16.c
+ Copyright 2001 Phil Karn, KA9Q
+ May be used under the terms of the GNU Public License (GPL)
+
+gnuradio-core/src/lib/reed-solomon/*
+ Copyright 2002, Phil Karn, KA9Q
+ May be used under the terms of the GNU Public License (GPL)
+
+*.{qpf,qsf}
+ Copyright (C) 1991-2004 Altera Corporation
+ Any megafunction design, and related netlist (encrypted or decrypted),
+ support information, device programming or simulation file, and any
+ other associated documentation or information provided by Altera or
+ a partner under Altera's Megafunction Partnership Program may be used
+ only to program PLD devices (but not masked PLD devices) from Altera.
+ Any other use of such megafunction design, netlist, support
+ information, device programming or simulation file, or any other
+ related documentation or information is prohibited for any other
+ purpose, including, but not limited to modification, reverse
+ engineering, de-compiling, or use with any other silicon devices,
+ unless such use is explicitly licensed under a separate agreement with
+ Altera or a megafunction partner. Title to the intellectual property,
+ including patents, copyrights, trademarks, trade secrets, or maskworks,
+ embodied in any such megafunction design, netlist, support information,
+ device programming or simulation file, or any other related
+ documentation or information provided by Altera or a megafunction
+ partner, remains with Altera, the megafunction partner, or their
+ respective licensors. No other licenses, including any licenses needed
+ under any third party's intellectual property, are provided herein.
+
+ Thesea are configuration files generated by Altera proprietary tools
+ used in the creation of an open hardware design often used with GNU
+ Radio, and for which GNU Radio includes device drivers. These files
+ are not used in the Debian package build process.
+
+gr-gsm-fr-vocoders/src/lib/gsm/*
+ Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann,
+ Technische Universitaet Berlin
+
+ Permission to use, copy, modify, and distribute this software
+ for any purpose with or without fee is hereby granted,
+ provided that this notice is not removed and that neither
+ the authors nor the Technische Universitaet Berlin are
+ deemed to have made any representations as to the suitability
+ of this software for any purpose nor are held responsible
+ for any defects of this software. THERE IS ABSOLUTELY NO
+ WARRANTY FOR THIS SOFTWARE.
+
+gruel/src/include/gruel/thread_group.h
+ Copyright (C) 2001-2003 William E. Kempf
+ Copyright (C) 2007 Anthony Williams
+ Copyright 2008 Free Software Foundation, Inc.
+
+ The original was distributed under the Boost Software License,
+ Version 1.0, but this derivative work is now covered by the overall
+ license assertion for GNU Radio.
+
+gnuradio-core/src/lib/general/gr_remez.cc
+ Copyright (c) 1995,1998 Jake Janovetz (janovetz@uiuc.edu)
+ Copyright (c) 2004 Free Software Foundation, Inc.
+
+ The original was distributed under LGPL version 2 or later, this
+ derivative work is now covered by the overall license assertion
+ for GNU Radio.
+
+gr-gpio/src/fpga/include/common_config*.vh
+ Copyright (C) 2006,2007 Matt Ettus
+ Copyright (C) 2008 Corgan Enterprises LLC
+
+ The original was distributed under GPL version 2 or later, this
+ derivative work is now covered by the overall license assertion
+ for GNU Radio.
+
+gr-wxgui/src/python/plot.py
+ (C) 2002, 2007 Gordon Williams
+
+ The original was licensed "Use as you wish", this derivative work
+ is now covered by the overall license assertion for GNU Radio.
+
+gr-wxgui/src/python/plotter/gltext.py
+ Copyright (C) 2007 Christian Brugger, Stefan Hacker
+
+ The original was distributed under GPL version 2 or later, this
+ derivative work is now covered by the overall license assertion
+ for GNU Radio.
+
+Various files in the omnithread library carry these copyrights:
+ Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 1994,1995,1996,1997 Olivetti & Oracle Research Laboratory
+ Copyright Wavetek Wandel & Goltermann, Plymouth.
+ Copyright (C) 1994,1995,1996, 1997 Immisch, becker & Partner
+ Copyright (C) 1998 Steven Brennes
+ Copyright (C) 1995-1999 AT&T Laboratories Cambridge
+
+ The original omnithread library was distributed under LGPL version 2
+ or later, this derivative work is now covered by the overall license
+ assertion for GNU Radio.
+
--- /dev/null
+#!/bin/sh
+
+EXTRACT=dtools/bin/extract_install_filenames
+
+# libusrp-dev
+NAME=debian/libusrp-dev.install
+rm -f $NAME
+touch $NAME
+$EXTRACT usrp/host/lib/legacy/Makefile include_HEADERS >>$NAME
+$EXTRACT usrp/firmware/include/Makefile include_HEADERS >>$NAME
+echo usr/lib/libusrp.so >>$NAME
+echo usr/lib/pkgconfig/usrp.pc >>$NAME
+
+# libusrp2-dev
+NAME=debian/libusrp2-dev.install
+rm -f $NAME
+touch $NAME
+$EXTRACT usrp2/host/include/usrp2/Makefile usrp2include_HEADERS >>$NAME
+echo usr/lib/libusrp2.so >>$NAME
+echo usr/lib/pkgconfig/usrp2.pc >>$NAME
+
+# libgnuradio-core-dev
+NAME=debian/libgnuradio-core-dev.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gnuradio-core/src/lib/filter/Makefile grinclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/filter/Makefile swiginclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/general/Makefile grinclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/general/Makefile swiginclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/gengen/Makefile grinclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/gengen/Makefile swiginclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/io/Makefile grinclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/io/Makefile swiginclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/reed-solomon/Makefile grinclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/reed-solomon/Makefile swiginclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/runtime/Makefile grinclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/runtime/Makefile swiginclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/hier/Makefile grinclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/hier/Makefile swiginclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile grinclude_HEADERS >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile swiginclude_HEADERS >>$NAME
+echo usr/lib/libgnuradio-core.so >>$NAME
+echo usr/lib/pkgconfig/gnuradio-core.pc >>$NAME
+
+# libgnuradio-audio-alsa0
+NAME=debian/libgnuradio-audio-alsa0.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-audio-alsa/src/Makefile lib_LTLIBRARIES >>$NAME
+$EXTRACT gr-audio-alsa/src/Makefile lib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so.*/' >>$NAME
+echo etc/gnuradio/conf.d/gr-audio-alsa.conf >>$NAME
+
+# libgnuradio-audio-alsa-dev
+NAME=debian/libgnuradio-audio-alsa-dev.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-audio-alsa/src/Makefile grinclude_HEADERS >>$NAME
+echo usr/lib/libgnuradio-audio-alsa.so >>$NAME
+echo usr/lib/pkgconfig/gr-audio-alsa.pc >>$NAME
+
+# libgnuradio-qtgui0
+NAME=debian/libgnuradio-qtgui0.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-qtgui/src/lib/Makefile lib_LTLIBRARIES >>$NAME
+$EXTRACT gr-qtgui/src/lib/Makefile lib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so.*/' >>$NAME
+
+# libgnuradio-qtgui-dev
+NAME=debian/libgnuradio-qtgui-dev.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-qtgui/src/lib/Makefile grinclude_HEADERS >>$NAME
+echo usr/lib/libgnuradio-qtgui.so >>$NAME
+
+# libgnuradio-usrp0
+NAME=debian/libgnuradio-usrp0.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-usrp/src/Makefile lib_LTLIBRARIES >>$NAME
+$EXTRACT gr-usrp/src/Makefile lib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so.*/' >>$NAME
+echo usr/lib/pkgconfig/gnuradio-usrp.pc >> $NAME
+
+# libgnuradio-usrp-dev
+NAME=debian/libgnuradio-usrp-dev.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-usrp/src/Makefile grinclude_HEADERS >>$NAME
+echo usr/lib/libgnuradio-usrp.so >>$NAME
+
+# libgnuradio-usrp2-0
+NAME=debian/libgnuradio-usrp2-0.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-usrp2/src/Makefile lib_LTLIBRARIES >>$NAME
+$EXTRACT gr-usrp2/src/Makefile lib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so.*/' >>$NAME
+echo usr/lib/pkgconfig/gnuradio-usrp2.pc >> $NAME
+
+# libgnuradio-usrp2-dev
+NAME=debian/libgnuradio-usrp2-dev.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-usrp2/src/Makefile grinclude_HEADERS >>$NAME
+echo usr/lib/libgnuradio-usrp2.so >>$NAME
+
+# python-usrp
+NAME=debian/python-usrp.install
+rm -f $NAME
+touch $NAME
+$EXTRACT usrp/host/swig/Makefile usrp_prims_pylib_LTLIBRARIES >>$NAME
+$EXTRACT usrp/host/swig/Makefile usrp_prims_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+$EXTRACT usrp/host/swig/Makefile usrp_prims_python_PYTHON >>$NAME
+$EXTRACT usrp/host/lib/legacy/Makefile usrppython_PYTHON >>$NAME
+
+# python-gnuradio-core
+NAME=debian/python-gnuradio-core.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gnuradio-core/src/python/gnuradio/Makefile grpython_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/python/gnuradio/gr/Makefile grgrpython_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/python/gnuradio/blks2/Makefile grblks2python_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/python/gnuradio/blks2impl/Makefile grblkspython_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/python/gnuradio/gru/Makefile grblkspython_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/python/gnuradio/gruimpl/Makefile grupython_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/python/gnuradio/vocoder/Makefile grvocoderpython_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_filter_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_general_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_gengen_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_hier_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_io_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_runtime_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_filter_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_general_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_gengen_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_hier_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_io_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_runtime_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile ourpython_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_filter_python_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_general_python_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_gengen_python_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_hier_python_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_io_python_PYTHON >>$NAME
+$EXTRACT gnuradio-core/src/lib/swig/Makefile gnuradio_swig_py_runtime_python_PYTHON >>$NAME
+
+# python-gnuradio-wxgui
+NAME=debian/python-gnuradio-wxgui.install
+rm -f $NAME
+touch $NAME
+echo etc/gnuradio/conf.d/gr-wxgui.conf >>$NAME
+$EXTRACT gr-wxgui/src/python/Makefile ourpython_PYTHON >>$NAME
+$EXTRACT gr-wxgui/src/python/Makefile formspython_PYTHON >>$NAME
+$EXTRACT gr-wxgui/src/python/plotter/Makefile ourpython_PYTHON >>$NAME
+$EXTRACT gr-wxgui/Makefile pkgconfig_DATA >>$NAME
+
+# python-gnuradio-usrp
+NAME=debian/python-gnuradio-usrp.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-usrp/src/Makefile usrp_swig_python_PYTHON >>$NAME
+$EXTRACT gr-usrp/src/Makefile usrp_swig_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-usrp/src/Makefile usrp_swig_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# python-gnuradio-usrp2
+NAME=debian/python-gnuradio-usrp2.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-usrp2/src/Makefile usrp2_python_PYTHON >>$NAME
+$EXTRACT gr-usrp2/src/Makefile usrp2_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-usrp2/src/Makefile usrp2_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# python-gnuradio-audio-alsa
+NAME=debian/python-gnuradio-audio-alsa.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-audio-alsa/src/Makefile audio_alsa_python_PYTHON >>$NAME
+$EXTRACT gr-audio-alsa/src/Makefile audio_alsa_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-audio-alsa/src/Makefile audio_alsa_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so*/' >>$NAME
+
+# python-gnuradio-audio-jack
+NAME=debian/python-gnuradio-audio-jack.install
+rm -f $NAME
+touch $NAME
+echo etc/gnuradio/conf.d/gr-audio-jack.conf >>$NAME
+$EXTRACT gr-audio-jack/src/Makefile audio_jack_python_PYTHON >>$NAME
+$EXTRACT gr-audio-jack/src/Makefile audio_jack_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-audio-jack/src/Makefile audio_jack_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# python-gnuradio-audio-oss
+NAME=debian/python-gnuradio-audio-oss.install
+rm -f $NAME
+touch $NAME
+echo etc/gnuradio/conf.d/gr-audio-oss.conf >>$NAME
+$EXTRACT gr-audio-oss/src/Makefile audio_oss_python_PYTHON >>$NAME
+$EXTRACT gr-audio-oss/src/Makefile audio_oss_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-audio-oss/src/Makefile audio_oss_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# python-gnuradio-audio-portaudio
+NAME=debian/python-gnuradio-audio-portaudio.install
+rm -f $NAME
+touch $NAME
+echo etc/gnuradio/conf.d/gr-audio-portaudio.conf >>$NAME
+$EXTRACT gr-audio-portaudio/src/Makefile audio_portaudio_python_PYTHON >>$NAME
+$EXTRACT gr-audio-portaudio/src/Makefile audio_portaudio_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-audio-portaudio/src/Makefile audio_portaudio_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# python-gnuradio-cvsd-vocoder
+NAME=debian/python-gnuradio-cvsd-vocoder.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-cvsd-vocoder/src/python/Makefile grblkspython_PYTHON >>$NAME
+$EXTRACT gr-cvsd-vocoder/src/lib/Makefile cvsd_vocoder_python_PYTHON >>$NAME
+$EXTRACT gr-cvsd-vocoder/src/lib/Makefile cvsd_vocoder_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-cvsd-vocoder/src/lib/Makefile cvsd_vocoder_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# python-gnuradio-gsm-fr-vocoder
+NAME=debian/python-gnuradio-gsm-fr-vocoder.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-gsm-fr-vocoder/src/lib/Makefile gsm_full_rate_python_PYTHON >>$NAME
+$EXTRACT gr-gsm-fr-vocoder/src/lib/Makefile gsm_full_rate_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-gsm-fr-vocoder/src/lib/Makefile gsm_full_rate_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# python-gnuradio-qtgui
+NAME=debian/python-gnuradio-qtgui.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-qtgui/src/python/Makefile qtguipython_PYTHON >>$NAME
+$EXTRACT gr-qtgui/src/lib/Makefile qtgui_python_PYTHON >>$NAME
+$EXTRACT gr-qtgui/src/lib/Makefile qtgui_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-qtgui/src/lib/Makefile qtgui_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so*/' >>$NAME
+
+# python-gnuradio-trellis
+NAME=debian/python-gnuradio-trellis.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-trellis/src/lib/Makefile trellis_python_PYTHON >>$NAME
+$EXTRACT gr-trellis/src/lib/Makefile trellis_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-trellis/src/lib/Makefile trellis_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+$EXTRACT gr-trellis/src/examples/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT gr-trellis/src/examples/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gr-trellis/src/examples/fsm_files/Makefile dist_ourdata_DATA >>$NAME
+
+# python-gnuradio-video-sdl
+NAME=debian/python-gnuradio-video-sdl.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-video-sdl/src/Makefile video_sdl_python_PYTHON >>$NAME
+$EXTRACT gr-video-sdl/src/Makefile video_sdl_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-video-sdl/src/Makefile video_sdl_pylib_LTLIBRARIES | \
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# gnuradio-utils
+NAME=debian/gnuradio-utils.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-utils/src/python/Makefile ourpython_PYTHON >>$NAME
+$EXTRACT gr-utils/src/python/Makefile bin_SCRIPTS >>$NAME
+
+# gnuradio-examples
+NAME=debian/gnuradio-examples.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gnuradio-examples/python/apps/hf_explorer/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT gnuradio-examples/python/apps/hf_explorer/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/apps/hf_radio/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT gnuradio-examples/python/apps/hf_radio/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/audio/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/digital/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT gnuradio-examples/python/digital/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/digital-bert/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT gnuradio-examples/python/digital-bert/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/digital_voice/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/mp-sched/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT gnuradio-examples/python/mp-sched/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/multi-antenna/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/multi_usrp/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT gnuradio-examples/python/multi_usrp/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/network/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/ofdm/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT gnuradio-examples/python/ofdm/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/usrp/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/usrp2/Makefile dist_ourdata_SCRIPTS >>$NAME
+$EXTRACT gnuradio-examples/python/usrp2/Makefile dist_ourdata_DATA >>$NAME
+
+# gnuradio-pager
+NAME=debian/gnuradio-pager.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-pager/src/Makefile dist_bin_SCRIPTS >>$NAME
+$EXTRACT gr-pager/src/Makefile pager_swig_python_PYTHON >>$NAME
+$EXTRACT gr-pager/src/Makefile pager_swig_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-pager/src/Makefile pager_swig_pylib_LTLIBRARIES |
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# gnuradio-sounder
+NAME=debian/gnuradio-sounder.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-sounder/src/python/Makefile sounder_python_PYTHON >>$NAME
+$EXTRACT gr-sounder/src/python/Makefile dist_bin_SCRIPTS >>$NAME
+echo usr/share/usrp/rev2/usrp_sounder.rbf >>$NAME
+echo usr/share/usrp/rev4/usrp_sounder.rbf >>$NAME
+
+# gnuradio-gpio
+NAME=debian/gnuradio-gpio.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-gpio/src/python/Makefile dist_bin_SCRIPTS >>$NAME
+$EXTRACT gr-gpio/src/python/Makefile ourpython_PYTHON >>$NAME
+echo usr/share/usrp/rev2/std_2rxhb_2tx_dig.rbf >> $NAME
+echo usr/share/usrp/rev4/std_2rxint_2tx_dig.rbf >> $NAME
+
+# gnuradio-radar-mono
+NAME=debian/gnuradio-radar-mono.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-radar-mono/src/python/Makefile radar_mono_python_PYTHON >>$NAME
+$EXTRACT gr-radar-mono/src/python/Makefile dist_bin_SCRIPTS >>$NAME
+echo usr/share/usrp/rev2/usrp_radar_mono.rbf >>$NAME
+echo usr/share/usrp/rev4/usrp_radar_mono.rbf >>$NAME
+
+# gnuradio-radio-astronomy
+NAME=debian/gnuradio-radio-astronomy.install
+rm -f $NAME
+touch $NAME
+$EXTRACT gr-radio-astronomy/src/python/Makefile ourpython_PYTHON >>$NAME
+$EXTRACT gr-radio-astronomy/src/python/Makefile wxguipython_PYTHON >>$NAME
+$EXTRACT gr-radio-astronomy/src/python/Makefile dist_bin_SCRIPTS >>$NAME
+$EXTRACT gr-radio-astronomy/src/lib/Makefile ra_python_PYTHON >>$NAME
+$EXTRACT gr-radio-astronomy/src/lib/Makefile ra_pylib_LTLIBRARIES >>$NAME
+$EXTRACT gr-radio-astronomy/src/lib/Makefile ra_pylib_LTLIBRARIES |
+ sed -e 's/\.la$/.so/' >>$NAME
+
+# gnuradio-companion
+NAME=debian/gnuradio-companion.install
+rm -f $NAME
+touch $NAME
+$EXTRACT grc/Makefile ourpython_PYTHON >>$NAME
+$EXTRACT grc/Makefile dist_etc_DATA >>$NAME
+$EXTRACT grc/base/Makefile ourpython_PYTHON >>$NAME
+$EXTRACT grc/base/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT grc/blocks/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT grc/examples/Makefile dist_audiodata_DATA >>$NAME
+$EXTRACT grc/examples/Makefile dist_simpledata_DATA >>$NAME
+$EXTRACT grc/examples/Makefile dist_trellisdata_DATA >>$NAME
+$EXTRACT grc/examples/Makefile dist_usrpdata_DATA >>$NAME
+$EXTRACT grc/examples/Makefile dist_xmlrpcdata_DATA >>$NAME
+$EXTRACT grc/freedesktop/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT grc/freedesktop/Makefile dist_bin_SCRIPTS >>$NAME
+$EXTRACT grc/grc_gnuradio/Makefile root_python_PYTHON >>$NAME
+$EXTRACT grc/grc_gnuradio/Makefile blks2_python_PYTHON >>$NAME
+$EXTRACT grc/grc_gnuradio/Makefile usrp_python_PYTHON >>$NAME
+$EXTRACT grc/grc_gnuradio/Makefile wxgui_python_PYTHON >>$NAME
+$EXTRACT grc/gui/Makefile ourpython_PYTHON >>$NAME
+$EXTRACT grc/python/Makefile ourpython_PYTHON >>$NAME
+$EXTRACT grc/python/Makefile dist_ourdata_DATA >>$NAME
+$EXTRACT grc/scripts/Makefile dist_bin_SCRIPTS >>$NAME
--- /dev/null
+usr/share/doc/gnuradio*/README* /usr/share/doc/gnuradio-doc
+usr/share/doc/gnuradio*/html usr/share/doc/gnuradio-doc
+usr/share/doc/gnuradio*/xml usr/share/doc/gnuradio-doc
--- /dev/null
+# This file contains system wide configuration data for GNU Radio.
+# You may override any setting on a per-user basis by editing
+# ~/.gnuradio/config.conf
+
+[grc]
+pythonw = python
+doc_dir = /usr/share/doc/gnuradio-doc
+global_blocks_path = /usr/share/gnuradio/grc/blocks
+local_blocks_path = /usr/local/share/gnuradio/grc/blocks
--- /dev/null
+usr/lib/pkgconfig
+usr/include/gnuradio
+usr/include/gnuradio/swig
--- /dev/null
+etc/gnuradio/conf.d
--- /dev/null
+etc/gnuradio/conf.d/gnuradio-core.conf
+usr/lib/libgnuradio-core.la
+usr/lib/libgnuradio-core.so.*
--- /dev/null
+usr/lib/pkgconfig
+usr/include/gnuradio
--- /dev/null
+usr/include/gnuradio/omni_time.h
+usr/include/gnuradio/omnithread.h
+usr/include/gnuradio/ot_posix.h
+usr/lib/pkgconfig/gnuradio-omnithread.pc
+usr/lib/libgromnithread.so
--- /dev/null
+usr/lib/libgromnithread.la
+usr/lib/libgromnithread.so.*
--- /dev/null
+usr/lib/pkgconfig
+usr/include/gruel
--- /dev/null
+usr/include/gruel/*
+usr/lib/libgruel.so
+usr/lib/pkgconfig/gruel.pc
--- /dev/null
+usr/lib/libgruel.la
+usr/lib/libgruel.so.*
+
+
--- /dev/null
+usr/include/mblock/*
+usr/lib/libmblock.so
+usr/lib/pkgconfig/mblock.pc
--- /dev/null
+usr/lib/libmblock.la
+usr/lib/libmblock.so.*
+
--- /dev/null
+usr/include/pmt.h
+usr/include/pmt_pool.h
+usr/include/pmt_serial_tags.h
+usr/lib/libpmt.so
+usr/lib/pkgconfig/pmt.pc
--- /dev/null
+usr/lib/libpmt.la
+usr/lib/libpmt.so.*
--- /dev/null
+etc/udev/rules.d
+/usr/share/usrp/rev2
+/usr/share/usrp/rev4
--- /dev/null
+usr/lib/libusrp.la
+usr/lib/libusrp.so.*
+etc/udev/rules.d/40-usrp.rules
+usr/share/usrp/rev2/multi_2rxhb_2tx.rbf
+usr/share/usrp/rev2/std.ihx
+usr/share/usrp/rev2/std_2rxhb_2tx.rbf
+usr/share/usrp/rev2/std_4rx_0tx.rbf
+usr/share/usrp/rev4/multi_2rxhb_2tx.rbf
+usr/share/usrp/rev4/std.ihx
+usr/share/usrp/rev4/std_2rxhb_2tx.rbf
+usr/share/usrp/rev4/std_4rx_0tx.rbf
--- /dev/null
+#! /bin/sh
+
+set -e
+
+if [ "$1" != "configure" ]; then
+ exit 0
+fi
+
+# Create usrp group for udev access
+if ! getent group usrp >/dev/null; then
+ addgroup --system usrp
+fi
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+ACTION=="add", BUS=="usb", SYSFS{idVendor}=="fffe", SYSFS{idProduct}=="0002", GROUP:="usrp", MODE:="0660"
--- /dev/null
+etc/security/limits.d
+
--- /dev/null
+usr/lib/libusrp2.la
+usr/lib/libusrp2.so.*
+usr/bin/usrp2_socket_opener
+usr/bin/find_usrps
+etc/security/limits.d/libusrp2-0.limits
--- /dev/null
+@usrp - rtprio 50
--- /dev/null
+#! /bin/sh
+
+set -e
+
+if [ "$1" != "configure" ]; then
+ exit 0
+fi
+
+# Create usrp group for access
+if ! getent group usrp >/dev/null; then
+ addgroup --system usrp
+fi
+
+# Create setuid root for group usrp on socket opener
+chown root:usrp /usr/bin/usrp2_socket_opener
+chmod 04750 /usr/bin/usrp2_socket_opener
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#
+# Copyright 2006,2009 Free Software Foundation, Inc.
+#
+# This file is part of GNU Radio
+#
+# GNU Radio 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 3, or (at your option)
+# any later version.
+#
+# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to
+# the Free Software Foundation, Inc., 51 Franklin Street,
+# Boston, MA 02110-1301, USA.
+#
+
+import gnuradio_swig_python as gsp
+_prefs_base = gsp.gr_prefs
+
+
+import ConfigParser
+import os
+import os.path
+import sys
+
+
+def _user_prefs_filename():
+ return os.path.expanduser('~/.gnuradio/config.conf')
+
+def _sys_prefs_dirname():
+ return '/etc/gnuradio/conf.d'
+
+def _bool(x):
+ """
+ Try to coerce obj to a True or False
+ """
+ if isinstance(x, bool):
+ return x
+ if isinstance(x, (float, int)):
+ return bool(x)
+ raise TypeError, x
+
+
+class _prefs(_prefs_base):
+ """
+ Derive our 'real class' from the stubbed out base class that has support
+ for SWIG directors. This allows C++ code to magically and transparently
+ invoke the methods in this python class.
+ """
+ def __init__(self):
+ _prefs_base.__init__(self)
+ self.cp = ConfigParser.RawConfigParser()
+ self.__getattr__ = lambda self, name: getattr(self.cp, name)
+
+ def _sys_prefs_filenames(self):
+ dir = _sys_prefs_dirname()
+ try:
+ fnames = os.listdir(dir)
+ except (IOError, OSError):
+ return []
+ fnames.sort()
+ return [os.path.join(dir, f) for f in fnames]
+
+ def _read_files(self):
+ filenames = self._sys_prefs_filenames()
+ filenames.append(_user_prefs_filename())
+ #print "filenames: ", filenames
+ self.cp.read(filenames)
+
+ # ----------------------------------------------------------------
+ # These methods override the C++ virtual methods of the same name
+ # ----------------------------------------------------------------
+ def has_section(self, section):
+ return self.cp.has_section(section)
+
+ def has_option(self, section, option):
+ return self.cp.has_option(section, option)
+
+ def get_string(self, section, option, default_val):
+ try:
+ return self.cp.get(section, option)
+ except:
+ return default_val
+
+ def get_bool(self, section, option, default_val):
+ try:
+ return self.cp.getboolean(section, option)
+ except:
+ return default_val
+
+ def get_long(self, section, option, default_val):
+ try:
+ return self.cp.getint(section, option)
+ except:
+ return default_val
+
+ def get_double(self, section, option, default_val):
+ try:
+ return self.cp.getfloat(section, option)
+ except:
+ return default_val
+ # ----------------------------------------------------------------
+ # End override of C++ virtual methods
+ # ----------------------------------------------------------------
+
+
+_prefs_db = _prefs()
+
+# if GR_DONT_LOAD_PREFS is set, don't load them.
+# (make check uses this to avoid interactions.)
+if os.getenv("GR_DONT_LOAD_PREFS", None) is None:
+ _prefs_db._read_files()
+
+
+_prefs_base.set_singleton(_prefs_db) # tell C++ what instance to use
+
+def prefs():
+ """
+ Return the global preference data base
+ """
+ return _prefs_db
--- /dev/null
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+export DH_PYCENTRAL=nomove
+
+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
+ [ -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
+
+ $(MAKE)
+ $(MAKE) check
+ touch $@
+
+extract: extract-stamp
+extract-stamp: build-stamp debian/gen-install-files.sh
+ dh_testdir
+ chmod +x debian/gen-install-files.sh dtools/bin/extract_install_filenames
+ debian/gen-install-files.sh
+ touch $@
+
+install: install-stamp
+install-stamp: extract-stamp debian/control
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+ : # 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 \
+ chmod 755 $$i; \
+ echo "made executable: $$i"; \
+ fi; \
+ done
+
+ : # Deposit rule to allow group 'usrp' access to USRP hardware
+ install -m 0644 -D debian/libusrp0.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-0.limits \
+ debian/tmp/etc/security/limits.d/libusrp2-0.limits
+
+ : # 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 $@
+
+
+
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_pycentral
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: build install
+ $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+ $(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install configure
--- /dev/null
+usr/share/doc/usrp*/html usr/share/doc/usrp-doc
+usr/share/doc/usrp*/README /usr/share/doc/usrp-doc
--- /dev/null
+#! /bin/sh
+
+GROUP=usrp
+
+# Set the permissions for the USRP devices right.
+set_permissions() {
+ if [ -f "$1" ]
+ then
+ if getent group $GROUP > /dev/null; then
+ chmod 660 "$DEVICE"
+ chown root.$GROUP "$1"
+ fi
+ fi
+}
+
+#
+# If we do not have /sbin/hotplug, we are being called by post-sarge udev
+# emulating hotplug. In that case, all of this is handled by our udev rules,
+# so we don't need to duplicate the work done here.
+#
+if ! [ -x /sbin/hotplug ]; then
+ exit
+fi
+
+if [ "$ACTION" != "add" ]; then
+ exit
+fi
+
+# FIXME: Map the USB device ID to usrper's idea of "which USRP".
+# For now, we just assume the user only has a single one.
+
+case $PRODUCT in
+ # USRP without loaded firmware
+ fffe/2/2 | fffe/2/4)
+ sleep 1 # required on some machines
+ /usr/bin/usrper load_standard_bits
+ set_permissions "$DEVICE"
+ ;;
+
+ # USRP with loaded firmware
+ fffe/2/102 | fffe/2/104)
+ set_permissions "$DEVICE"
+ ;;
+esac
+
+
+
--- /dev/null
+#!/usr/bin/env python
+
+"""
+Example usage:
+
+ $ extract_install_filenames gnuradio-core/src/lib/swig/Makefile grgrpython_PYTHON
+
+Produces:
+
+ usr/local/lib64/python2.4/site-packages/gnuradio/gr/gnuradio_swig_python.py
+ usr/local/lib64/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_runtime.py
+ usr/local/lib64/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_general.py
+ usr/local/lib64/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_gengen.py
+ usr/local/lib64/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_filter.py
+ usr/local/lib64/python2.4/site-packages/gnuradio/gr/gnuradio_swig_py_io.py
+
+"""
+
+from optparse import OptionParser
+import re
+import sys
+import tempfile
+import os
+
+def make_makefile_tail(dirname, full_var_name):
+
+ s = '''
+extract_install_filenames:
+ @echo $(%s)
+ @echo $(%s)
+
+''' % (dirname, full_var_name)
+ return s
+
+
+def main():
+ parser = OptionParser(usage="usage: %prog [options] Makefile AM-variable-name")
+ (options, args) = parser.parse_args()
+ if len(args) != 2:
+ parser.print_help()
+ raise SystemExit
+
+ makefile_name = args[0]
+ makefile = open(makefile_name, 'r')
+ full_var_name = args[1]
+
+ L = re.split('_', full_var_name)
+ prefix = '_'.join(L[:-1])
+ suffix = L[-1]
+
+ #print "prefix= ", prefix
+ #print "suffix= ", suffix
+
+ if suffix.upper() != suffix:
+ raise SystemExit, "AM-variable-name is malformed. Expected something like grgrpython_PYTHON"
+
+ if prefix[:5] == "dist_":
+ dirname = prefix[5:] + "dir"
+ else:
+ dirname = prefix + "dir"
+ #print "dirname =", dirname
+
+ tail = make_makefile_tail(dirname, full_var_name)
+
+ tmp_makefile = tempfile.NamedTemporaryFile()
+ #print "tmp_makefile =", tmp_makefile
+ tmp_name = tmp_makefile.name
+ #print "tmp_name =", tmp_name
+ s = makefile.read()
+ tmp_makefile.write(s)
+ tmp_makefile.write(tail)
+ tmp_makefile.flush()
+
+ (head, tail) = os.path.split(makefile_name)
+ if head:
+ # cd to directory that contained the original Makefile
+ cmd = 'cd %s; make -s -f %s extract_install_filenames' % (head, tmp_name)
+ else:
+ cmd = 'make -s -f %s extract_install_filenames' % (tmp_name,)
+
+ #print "cmd =", cmd
+ make = os.popen(cmd, 'r')
+ target_dirname = make.readline().rstrip()
+ target_files = make.readline().rstrip()
+ if target_dirname.startswith('/'):
+ target_dirname = target_dirname[1:]
+
+ #print "target_dirname =", target_dirname
+ #print "target_files =", target_files
+
+ for f in target_files.split():
+ sys.stdout.write(os.path.join(target_dirname, f.split('/')[-1]) + '\n')
+
+if __name__ == '__main__':
+ main()
+
+
+
+#!/usr/bin/env python
#
# Copyright 2005,2006 Free Software Foundation, Inc.
#
+#!/usr/bin/env python
#
# Copyright 2005, 2006, 2007 Free Software Foundation, Inc.
#
+#!/usr/bin/env python
#
# Copyright 2006 Free Software Foundation, Inc.
#
--- /dev/null
+Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann,
+Technische Universitaet Berlin
+
+Any use of this software is permitted provided that this notice is not
+removed and that neither the authors nor the Technische Universitaet Berlin
+are deemed to have made any representations as to the suitability of this
+software for any purpose nor are held responsible for any defects of
+this software. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
+
+As a matter of courtesy, the authors request to be informed about uses
+this software has found, about bugs in this software, and about any
+improvements that may be of general interest.
+
+Berlin, 28.11.1994
+Jutta Degener
+Carsten Bormann
+
+ oOo
+
+Since the original terms of 15 years ago maybe do not make our
+intentions completely clear given today's refined usage of the legal
+terms, we append this additional permission:
+
+ Permission to use, copy, modify, and distribute this software
+ for any purpose with or without fee is hereby granted,
+ provided that this notice is not removed and that neither
+ the authors nor the Technische Universitaet Berlin are
+ deemed to have made any representations as to the suitability
+ of this software for any purpose nor are held responsible
+ for any defects of this software. THERE IS ABSOLUTELY NO
+ WARRANTY FOR THIS SOFTWARE.
+
+Berkeley/Bremen, 05.04.2009
+Jutta Degener
+Carsten Bormann