commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r6157 - in gnuradio/branches/features/deb: . debian us


From: jcorgan
Subject: [Commit-gnuradio] r6157 - in gnuradio/branches/features/deb: . debian usrp/doc
Date: Mon, 20 Aug 2007 15:33:55 -0600 (MDT)

Author: jcorgan
Date: 2007-08-20 15:33:54 -0600 (Mon, 20 Aug 2007)
New Revision: 6157

Added:
   gnuradio/branches/features/deb/debian/
   gnuradio/branches/features/deb/debian/changelog
   gnuradio/branches/features/deb/debian/compat
   gnuradio/branches/features/deb/debian/control
   gnuradio/branches/features/deb/debian/copyright
   gnuradio/branches/features/deb/debian/gnuradio-doc.install
   gnuradio/branches/features/deb/debian/gnuradio-examples.dirs
   gnuradio/branches/features/deb/debian/gnuradio.docs
   gnuradio/branches/features/deb/debian/gnuradio.install
   gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.dirs
   gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.install
   gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.dirs
   gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.install
   gnuradio/branches/features/deb/debian/libusrp0-dev.dirs
   gnuradio/branches/features/deb/debian/libusrp0-dev.install
   gnuradio/branches/features/deb/debian/libusrp0c2a.dirs
   gnuradio/branches/features/deb/debian/libusrp0c2a.install
   gnuradio/branches/features/deb/debian/pycompat
   gnuradio/branches/features/deb/debian/python-gnuradio.dirs
   gnuradio/branches/features/deb/debian/python-gnuradio.install
   gnuradio/branches/features/deb/debian/python-usrp.dirs
   gnuradio/branches/features/deb/debian/python-usrp.install
   gnuradio/branches/features/deb/debian/pyversions
   gnuradio/branches/features/deb/debian/rules
   gnuradio/branches/features/deb/debian/usrp-doc.install
   gnuradio/branches/features/deb/debian/usrp-firmware.dirs
   gnuradio/branches/features/deb/debian/usrp-firmware.install
   gnuradio/branches/features/deb/debian/usrp-firmware.postinst
   gnuradio/branches/features/deb/debian/usrp.dirs
   gnuradio/branches/features/deb/debian/usrp.docs
   gnuradio/branches/features/deb/debian/usrp.hotplug
   gnuradio/branches/features/deb/debian/usrp.install
   gnuradio/branches/features/deb/debian/usrp.postinst
   gnuradio/branches/features/deb/debian/usrp.postrm
   gnuradio/branches/features/deb/debian/usrp.udev
Removed:
   gnuradio/branches/features/deb/debian/changelog
   gnuradio/branches/features/deb/debian/compat
   gnuradio/branches/features/deb/debian/control
   gnuradio/branches/features/deb/debian/copyright
   gnuradio/branches/features/deb/debian/gnuradio-doc.install
   gnuradio/branches/features/deb/debian/gnuradio-examples.dirs
   gnuradio/branches/features/deb/debian/gnuradio.docs
   gnuradio/branches/features/deb/debian/gnuradio.install
   gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.dirs
   gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.install
   gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.dirs
   gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.install
   gnuradio/branches/features/deb/debian/libusrp0-dev.dirs
   gnuradio/branches/features/deb/debian/libusrp0-dev.install
   gnuradio/branches/features/deb/debian/libusrp0c2a.dirs
   gnuradio/branches/features/deb/debian/libusrp0c2a.install
   gnuradio/branches/features/deb/debian/pycompat
   gnuradio/branches/features/deb/debian/python-gnuradio.dirs
   gnuradio/branches/features/deb/debian/python-gnuradio.install
   gnuradio/branches/features/deb/debian/python-usrp.dirs
   gnuradio/branches/features/deb/debian/python-usrp.install
   gnuradio/branches/features/deb/debian/pyversions
   gnuradio/branches/features/deb/debian/rules
   gnuradio/branches/features/deb/debian/usrp-doc.install
   gnuradio/branches/features/deb/debian/usrp-firmware.dirs
   gnuradio/branches/features/deb/debian/usrp-firmware.install
   gnuradio/branches/features/deb/debian/usrp-firmware.postinst
   gnuradio/branches/features/deb/debian/usrp.dirs
   gnuradio/branches/features/deb/debian/usrp.docs
   gnuradio/branches/features/deb/debian/usrp.hotplug
   gnuradio/branches/features/deb/debian/usrp.install
   gnuradio/branches/features/deb/debian/usrp.postinst
   gnuradio/branches/features/deb/debian/usrp.postrm
   gnuradio/branches/features/deb/debian/usrp.udev
Modified:
   gnuradio/branches/features/deb/config.guess
   gnuradio/branches/features/deb/config.sub
   gnuradio/branches/features/deb/usrp/doc/Makefile.am
Log:
Merged r6055:6139 from bdale/deb into feature branch.

Modified: gnuradio/branches/features/deb/config.guess
===================================================================
--- gnuradio/branches/features/deb/config.guess 2007-08-20 21:28:30 UTC (rev 
6156)
+++ gnuradio/branches/features/deb/config.guess 2007-08-20 21:33:54 UTC (rev 
6157)
@@ -4,11 +4,11 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 #   Inc.
 
-timestamp='2006-07-02'
+timestamp='2007-03-06'
 
 # This file 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 of the License, or
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but
@@ -161,6 +161,7 @@
            arm*) machine=arm-unknown ;;
            sh3el) machine=shl-unknown ;;
            sh3eb) machine=sh-unknown ;;
+           sh5el) machine=sh5le-unknown ;;
            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
        esac
        # The Operating System including object format, if it has switched
@@ -780,7 +781,7 @@
     i*:CYGWIN*:*)
        echo ${UNAME_MACHINE}-pc-cygwin
        exit ;;
-    i*:MINGW*:*)
+    *:MINGW*:*)
        echo ${UNAME_MACHINE}-pc-mingw32
        exit ;;
     i*:windows32*:*)
@@ -790,12 +791,15 @@
     i*:PW*:*)
        echo ${UNAME_MACHINE}-pc-pw32
        exit ;;
-    x86:Interix*:[3456]*)
-       echo i586-pc-interix${UNAME_RELEASE}
-       exit ;;
-    EM64T:Interix*:[3456]*)
-       echo x86_64-unknown-interix${UNAME_RELEASE}
-       exit ;;
+    *:Interix*:[3456]*)
+       case ${UNAME_MACHINE} in
+           x86) 
+               echo i586-pc-interix${UNAME_RELEASE}
+               exit ;;
+           EM64T | authenticamd)
+               echo x86_64-unknown-interix${UNAME_RELEASE}
+               exit ;;
+       esac ;;
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
        echo i${UNAME_MACHINE}-pc-mks
        exit ;;
@@ -950,6 +954,9 @@
     x86_64:Linux:*:*)
        echo x86_64-unknown-linux-gnu
        exit ;;
+    xtensa:Linux:*:*)
+       echo xtensa-unknown-linux-gnu
+       exit ;;
     i*86:Linux:*:*)
        # The BFD linker knows what the default object file format is, so
        # first see if it will tell us. cd to the root directory to prevent
@@ -1208,6 +1215,15 @@
     SX-6:SUPER-UX:*:*)
        echo sx6-nec-superux${UNAME_RELEASE}
        exit ;;
+    SX-7:SUPER-UX:*:*)
+       echo sx7-nec-superux${UNAME_RELEASE}
+       exit ;;
+    SX-8:SUPER-UX:*:*)
+       echo sx8-nec-superux${UNAME_RELEASE}
+       exit ;;
+    SX-8R:SUPER-UX:*:*)
+       echo sx8r-nec-superux${UNAME_RELEASE}
+       exit ;;
     Power*:Rhapsody:*:*)
        echo powerpc-apple-rhapsody${UNAME_RELEASE}
        exit ;;

Modified: gnuradio/branches/features/deb/config.sub
===================================================================
--- gnuradio/branches/features/deb/config.sub   2007-08-20 21:28:30 UTC (rev 
6156)
+++ gnuradio/branches/features/deb/config.sub   2007-08-20 21:33:54 UTC (rev 
6157)
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
 #   Inc.
 
-timestamp='2006-09-20'
+timestamp='2007-01-18'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -12,7 +12,7 @@
 #
 # This file 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 of the License, or
+# the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
@@ -245,12 +245,12 @@
        | bfin \
        | c4x | clipper \
        | d10v | d30v | dlx | dsp16xx \
-       | fr30 | frv \
+       | fido | fr30 | frv \
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
        | i370 | i860 | i960 | ia64 \
        | ip2k | iq2000 \
        | m32c | m32r | m32rle | m68000 | m68k | m88k \
-       | maxq | mb | microblaze | mcore \
+       | maxq | mb | microblaze | mcore | mep \
        | mips | mipsbe | mipseb | mipsel | mipsle \
        | mips16 \
        | mips64 | mips64el \
@@ -324,7 +324,7 @@
        | clipper-* | craynv-* | cydra-* \
        | d10v-* | d30v-* | dlx-* \
        | elxsi-* \
-       | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
+       | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
        | h8300-* | h8500-* \
        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
        | i*86-* | i860-* | i960-* | ia64-* \
@@ -925,6 +925,9 @@
                basic_machine=sh-hitachi
                os=-hms
                ;;
+       sh5el)
+               basic_machine=sh5le-unknown
+               ;;
        sh64)
                basic_machine=sh64-unknown
                ;;
@@ -1219,7 +1222,7 @@
              | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
-             | -skyos* | -haiku* | -rdos* | -toppers*)
+             | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
        # Remember, each alternative MUST END IN *, to match a version number.
                ;;
        -qnx*)
@@ -1414,6 +1417,9 @@
        m68*-cisco)
                os=-aout
                ;;
+        mep-*)
+               os=-elf
+               ;;
        mips*-cisco)
                os=-elf
                ;;

Copied: gnuradio/branches/features/deb/debian (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian)

Deleted: gnuradio/branches/features/deb/debian/changelog

Copied: gnuradio/branches/features/deb/debian/changelog (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/changelog)
===================================================================
--- gnuradio/branches/features/deb/debian/changelog                             
(rev 0)
+++ gnuradio/branches/features/deb/debian/changelog     2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,77 @@
+gnuradio (3.0.3.SVN.2007.07.26) UNRELEASED; urgency=low
+
+  * 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 <address@hidden>  Thu, 26 Jul 2007 18:07:52 -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 <address@hidden>  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 <address@hidden>  Mon,  4 Dec 2006 15:35:53 -0700
+
+gnuradio (3.0.2-1) unstable; urgency=high
+
+  * new upstream version, fixes FTBFS issues
+
+ -- Bdale Garbee <address@hidden>  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 <address@hidden>  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 <address@hidden>  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 <address@hidden>  Sun,  8 Oct 2006 13:28:21 -0600
+

Deleted: gnuradio/branches/features/deb/debian/compat

Copied: gnuradio/branches/features/deb/debian/compat (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/compat)
===================================================================
--- gnuradio/branches/features/deb/debian/compat                                
(rev 0)
+++ gnuradio/branches/features/deb/debian/compat        2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1 @@
+5

Deleted: gnuradio/branches/features/deb/debian/control

Copied: gnuradio/branches/features/deb/debian/control (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/control)
===================================================================
--- gnuradio/branches/features/deb/debian/control                               
(rev 0)
+++ gnuradio/branches/features/deb/debian/control       2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,199 @@
+Source: gnuradio
+Section: comm
+Priority: optional
+Maintainer: Bdale Garbee <address@hidden>
+Build-Conflicts: automake1.8, automake1.9
+Build-Depends: debhelper (>= 5.0.37.2), autotools-dev, doxygen, fftw3-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-numpy, 
python-wxgtk2.6, sdcc, swig, xmlto
+Build-Depends-Indep: python-all-dev
+Standards-Version: 3.7.2
+XS-Python-Version: >= 2.3
+
+Package: gnuradio
+Architecture: any
+Section: comm
+Depends: ${shlibs:Depends}, ${misc:Depends}, python, gnuradio-doc, 
libgnuradio-core0-dev, libgnuradio-core0c2a, libgnuradio-core0c2a-dbg, 
python-gnuradio (= ${Source-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.
+ .
+ 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.
+
+Package: gnuradio-doc
+Section: doc
+Architecture: all
+Depends: ${shlibs:Depends}
+Description: Software Defined Radio
+ This package contains the documentation for the GNU Radio software
+ defined radio system.
+
+Package: libgnuradio-core0-dev
+Section: libdevel
+Architecture: any
+Depends: libgnuradio-core0c2a (= ${Source-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
+ .
+ This package contains header files needed by developers.
+
+Package: libgnuradio-core0c2a
+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.
+
+Package: libgnuradio-core0c2a-dbg
+Section: libdevel
+Architecture: any
+Depends: libgnuradio-core0c2a (= ${Source-Version}), ${shlibs:Depends}
+Description: Software Defined Radio
+ This package contains the debug symbols needed to debug programs that
+ use the GNU Radio core libraries.
+
+Package: usrp
+Section: contrib/comm
+Architecture: any
+Depends: ${shlibs:Depends}, python, libusrp0-dev, libusrp0c2a-dbg, python-usrp 
(= ${Source-Version})
+Recommends: gnuradio, hotplug, 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.  
+ .
+ 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.
+
+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.
+
+Package: usrp-firmware
+Section: contrib/comm
+Architecture: all
+Recommends: usrp
+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.
+ .
+ This package contains the basic FPGA bitstrings for normal USRP operation,
+ which need non-free tools to build.
+
+Package: libusrp0-dev
+Provides: libusrp-dev
+Conflicts: libusrp-dev
+Section: contrib/libdevel
+Architecture: any
+Depends: libusrp0c2a (= ${Source-Version}), ${shlibs:Depends}
+Description: development library files 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.
+ .
+ This package contains development files for the client-side library.
+
+Package: libusrp0c2a
+Section: contrib/libs
+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
+ 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: libusrp0c2a-dbg
+Priority: extra
+Section: contrib/libdevel
+Architecture: any
+Depends: libusrp0c2a (= ${Source-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
+ 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.
+
+Package: python-gnuradio
+Architecture: any
+Depends: ${python:Depends}, libgnuradio-core0c2a, python-numeric
+Conflicts: gr-wxgui
+Replaces: gr-wxgui
+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.
+
+Package: python-usrp
+Section: contrib/libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}
+Replaces: python2.3-usrp
+Conflicts: python2.3-usrp
+Provides: ${python:Provides}
+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.
+
+Package: gnuradio-examples
+Architecture: all
+Depends: ${python:Depends}, libgnuradio-core0c2a, python-gnuradio
+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.
+

Deleted: gnuradio/branches/features/deb/debian/copyright

Copied: gnuradio/branches/features/deb/debian/copyright (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/copyright)
===================================================================
--- gnuradio/branches/features/deb/debian/copyright                             
(rev 0)
+++ gnuradio/branches/features/deb/debian/copyright     2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,27 @@
+GNU Radio was re-packaged by Bdale Garbee <address@hidden> 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://www.gnu.org/software/gnuradio/
+
+Upstream Authors: 
+       Eric Blossom <address@hidden>
+       Matt Ettus <address@hidden>
+       Stephane Fillod <address@hidden>
+
+See the AUTHORS file for a more complete list of contributors.
+The current upstream maintainer is Johnathan Corgan <address@hidden>
+
+Copyright: 
+
+GNU Radio is copyrighted by the Free Software Foundation and is licensed
+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 <address@hidden>, is
+(c) Copyright 2006 Hewlett-Packard Development Company, L.P., 
+and is made available under the terms of the GPL.
+

Deleted: gnuradio/branches/features/deb/debian/gnuradio-doc.install

Copied: gnuradio/branches/features/deb/debian/gnuradio-doc.install (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/gnuradio-doc.install)
===================================================================
--- gnuradio/branches/features/deb/debian/gnuradio-doc.install                  
        (rev 0)
+++ gnuradio/branches/features/deb/debian/gnuradio-doc.install  2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1,2 @@
+usr/share/doc/gnuradio*/html usr/share/doc/gnuradio-doc
+usr/share/doc/gnuradio*/README /usr/share/doc/gnuradio-doc

Deleted: gnuradio/branches/features/deb/debian/gnuradio-examples.dirs

Copied: gnuradio/branches/features/deb/debian/gnuradio-examples.dirs (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/gnuradio-examples.dirs)
===================================================================
--- gnuradio/branches/features/deb/debian/gnuradio-examples.dirs                
                (rev 0)
+++ gnuradio/branches/features/deb/debian/gnuradio-examples.dirs        
2007-08-20 21:33:54 UTC (rev 6157)
@@ -0,0 +1,2 @@
+usr/share/doc/gnuradio-examples
+usr/share/gnuradio

Deleted: gnuradio/branches/features/deb/debian/gnuradio.docs

Copied: gnuradio/branches/features/deb/debian/gnuradio.docs (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/gnuradio.docs)
===================================================================
--- gnuradio/branches/features/deb/debian/gnuradio.docs                         
(rev 0)
+++ gnuradio/branches/features/deb/debian/gnuradio.docs 2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,3 @@
+AUTHORS
+NEWS
+README

Deleted: gnuradio/branches/features/deb/debian/gnuradio.install

Copied: gnuradio/branches/features/deb/debian/gnuradio.install (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/gnuradio.install)
===================================================================
--- gnuradio/branches/features/deb/debian/gnuradio.install                      
        (rev 0)
+++ gnuradio/branches/features/deb/debian/gnuradio.install      2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+etc/gnuradio/conf.d

Deleted: gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.dirs

Copied: gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.dirs (from 
rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/libgnuradio-core0-dev.dirs)
===================================================================
--- gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.dirs            
                (rev 0)
+++ gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.dirs    
2007-08-20 21:33:54 UTC (rev 6157)
@@ -0,0 +1,2 @@
+usr/lib
+usr/include

Deleted: gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.install

Copied: gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.install 
(from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/libgnuradio-core0-dev.install)
===================================================================
--- gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.install         
                (rev 0)
+++ gnuradio/branches/features/deb/debian/libgnuradio-core0-dev.install 
2007-08-20 21:33:54 UTC (rev 6157)
@@ -0,0 +1,4 @@
+usr/include/gnuradio
+usr/lib/libgnuradio-core*.la 
+usr/lib/libgnuradio-core*.so
+usr/lib/pkgconfig/gnuradio-core.pc

Deleted: gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.dirs

Copied: gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.dirs (from 
rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/libgnuradio-core0c2a.dirs)
===================================================================
--- gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.dirs             
                (rev 0)
+++ gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.dirs     
2007-08-20 21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+usr/lib

Deleted: gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.install

Copied: gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.install 
(from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/libgnuradio-core0c2a.install)
===================================================================
--- gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.install          
                (rev 0)
+++ gnuradio/branches/features/deb/debian/libgnuradio-core0c2a.install  
2007-08-20 21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+usr/lib/libgnuradio-core*.so.*

Deleted: gnuradio/branches/features/deb/debian/libusrp0-dev.dirs

Copied: gnuradio/branches/features/deb/debian/libusrp0-dev.dirs (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/libusrp0-dev.dirs)
===================================================================
--- gnuradio/branches/features/deb/debian/libusrp0-dev.dirs                     
        (rev 0)
+++ gnuradio/branches/features/deb/debian/libusrp0-dev.dirs     2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1,2 @@
+usr/lib
+usr/include

Deleted: gnuradio/branches/features/deb/debian/libusrp0-dev.install

Copied: gnuradio/branches/features/deb/debian/libusrp0-dev.install (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/libusrp0-dev.install)
===================================================================
--- gnuradio/branches/features/deb/debian/libusrp0-dev.install                  
        (rev 0)
+++ gnuradio/branches/features/deb/debian/libusrp0-dev.install  2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1,4 @@
+usr/include/usrp*
+usr/lib/libusrp*.la
+usr/lib/libusrp*.so
+usr/lib/pkgconfig/usrp.pc

Deleted: gnuradio/branches/features/deb/debian/libusrp0c2a.dirs

Copied: gnuradio/branches/features/deb/debian/libusrp0c2a.dirs (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/libusrp0c2a.dirs)
===================================================================
--- gnuradio/branches/features/deb/debian/libusrp0c2a.dirs                      
        (rev 0)
+++ gnuradio/branches/features/deb/debian/libusrp0c2a.dirs      2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+usr/lib

Deleted: gnuradio/branches/features/deb/debian/libusrp0c2a.install

Copied: gnuradio/branches/features/deb/debian/libusrp0c2a.install (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/libusrp0c2a.install)
===================================================================
--- gnuradio/branches/features/deb/debian/libusrp0c2a.install                   
        (rev 0)
+++ gnuradio/branches/features/deb/debian/libusrp0c2a.install   2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+usr/lib/libusrp*.so.*

Deleted: gnuradio/branches/features/deb/debian/pycompat

Copied: gnuradio/branches/features/deb/debian/pycompat (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/pycompat)
===================================================================
--- gnuradio/branches/features/deb/debian/pycompat                              
(rev 0)
+++ gnuradio/branches/features/deb/debian/pycompat      2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1 @@
+2

Deleted: gnuradio/branches/features/deb/debian/python-gnuradio.dirs

Copied: gnuradio/branches/features/deb/debian/python-gnuradio.dirs (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/python-gnuradio.dirs)
===================================================================
--- gnuradio/branches/features/deb/debian/python-gnuradio.dirs                  
        (rev 0)
+++ gnuradio/branches/features/deb/debian/python-gnuradio.dirs  2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+usr/lib/python2.4/site-packages/gnuradio

Deleted: gnuradio/branches/features/deb/debian/python-gnuradio.install

Copied: gnuradio/branches/features/deb/debian/python-gnuradio.install (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/python-gnuradio.install)
===================================================================
--- gnuradio/branches/features/deb/debian/python-gnuradio.install               
                (rev 0)
+++ gnuradio/branches/features/deb/debian/python-gnuradio.install       
2007-08-20 21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+usr/lib/python*/site-packages/gnuradio

Deleted: gnuradio/branches/features/deb/debian/python-usrp.dirs

Copied: gnuradio/branches/features/deb/debian/python-usrp.dirs (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/python-usrp.dirs)
===================================================================
--- gnuradio/branches/features/deb/debian/python-usrp.dirs                      
        (rev 0)
+++ gnuradio/branches/features/deb/debian/python-usrp.dirs      2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+usr/lib/python*/site-packages

Deleted: gnuradio/branches/features/deb/debian/python-usrp.install

Copied: gnuradio/branches/features/deb/debian/python-usrp.install (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/python-usrp.install)
===================================================================
--- gnuradio/branches/features/deb/debian/python-usrp.install                   
        (rev 0)
+++ gnuradio/branches/features/deb/debian/python-usrp.install   2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+usr/lib/python*/site-packages/*usrp*

Deleted: gnuradio/branches/features/deb/debian/pyversions

Copied: gnuradio/branches/features/deb/debian/pyversions (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/pyversions)
===================================================================
--- gnuradio/branches/features/deb/debian/pyversions                            
(rev 0)
+++ gnuradio/branches/features/deb/debian/pyversions    2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1 @@
+2.3-

Deleted: gnuradio/branches/features/deb/debian/rules

Copied: gnuradio/branches/features/deb/debian/rules (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/rules)
===================================================================
--- gnuradio/branches/features/deb/debian/rules                         (rev 0)
+++ gnuradio/branches/features/deb/debian/rules 2007-08-20 21:33:54 UTC (rev 
6157)
@@ -0,0 +1,154 @@
+#!/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
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       [ -f ./configure ] || ./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 \
+               --disable-gr-qtgui
+       touch configure-stamp
+
+build: build-stamp
+build-stamp: configure-stamp 
+
+       $(MAKE) 
+       $(MAKE) check
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp configure-stamp
+
+       if [ -f Makefile ]; \
+       then\
+               if [ -d .svn ]; \
+               then \
+                       $(MAKE) maintainer-clean; \
+               else \
+                       $(MAKE) distclean; \
+               fi; \
+       fi
+
+       -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
+
+install:
+       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 \
+           chmod 755 $$i; \
+           echo "made executable: $$i"; \
+         fi; \
+       done
+
+       dh_install --sourcedir=debian/tmp --list-missing
+
+       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 {} \;
+
+#      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
+# in another 'make' thread.
+binary-common:
+       dh_testdir
+       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
+       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

Deleted: gnuradio/branches/features/deb/debian/usrp-doc.install

Copied: gnuradio/branches/features/deb/debian/usrp-doc.install (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/usrp-doc.install)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp-doc.install                      
        (rev 0)
+++ gnuradio/branches/features/deb/debian/usrp-doc.install      2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1,2 @@
+usr/share/doc/gnuradio*/usrp/html usr/share/doc/usrp-doc
+usr/share/doc/gnuradio*/usrp/README /usr/share/doc/usrp-doc

Deleted: gnuradio/branches/features/deb/debian/usrp-firmware.dirs

Copied: gnuradio/branches/features/deb/debian/usrp-firmware.dirs (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/usrp-firmware.dirs)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp-firmware.dirs                    
        (rev 0)
+++ gnuradio/branches/features/deb/debian/usrp-firmware.dirs    2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1,2 @@
+/usr/share/usrp/rev2
+/usr/share/usrp/rev4

Deleted: gnuradio/branches/features/deb/debian/usrp-firmware.install

Copied: gnuradio/branches/features/deb/debian/usrp-firmware.install (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/usrp-firmware.install)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp-firmware.install                 
        (rev 0)
+++ gnuradio/branches/features/deb/debian/usrp-firmware.install 2007-08-20 
21:33:54 UTC (rev 6157)
@@ -0,0 +1 @@
+usr/share/usrp/rev*/*.rbf

Deleted: gnuradio/branches/features/deb/debian/usrp-firmware.postinst

Copied: gnuradio/branches/features/deb/debian/usrp-firmware.postinst (from rev 
6139, gnuradio/branches/developers/bdale/deb/debian/usrp-firmware.postinst)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp-firmware.postinst                
                (rev 0)
+++ gnuradio/branches/features/deb/debian/usrp-firmware.postinst        
2007-08-20 21:33:54 UTC (rev 6157)
@@ -0,0 +1,43 @@
+#! /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

Deleted: gnuradio/branches/features/deb/debian/usrp.dirs

Copied: gnuradio/branches/features/deb/debian/usrp.dirs (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/usrp.dirs)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp.dirs                             
(rev 0)
+++ gnuradio/branches/features/deb/debian/usrp.dirs     2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,2 @@
+etc/hotplug.d/usb
+usr/sbin

Deleted: gnuradio/branches/features/deb/debian/usrp.docs

Copied: gnuradio/branches/features/deb/debian/usrp.docs (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/usrp.docs)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp.docs                             
(rev 0)
+++ gnuradio/branches/features/deb/debian/usrp.docs     2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,3 @@
+usrp/AUTHORS
+usrp/ChangeLog
+usrp/README

Deleted: gnuradio/branches/features/deb/debian/usrp.hotplug

Copied: gnuradio/branches/features/deb/debian/usrp.hotplug (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/usrp.hotplug)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp.hotplug                          
(rev 0)
+++ gnuradio/branches/features/deb/debian/usrp.hotplug  2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,47 @@
+#! /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
+
+
+

Deleted: gnuradio/branches/features/deb/debian/usrp.install

Copied: gnuradio/branches/features/deb/debian/usrp.install (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/usrp.install)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp.install                          
(rev 0)
+++ gnuradio/branches/features/deb/debian/usrp.install  2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,5 @@
+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

Deleted: gnuradio/branches/features/deb/debian/usrp.postinst

Copied: gnuradio/branches/features/deb/debian/usrp.postinst (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/usrp.postinst)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp.postinst                         
(rev 0)
+++ gnuradio/branches/features/deb/debian/usrp.postinst 2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,56 @@
+#! /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

Deleted: gnuradio/branches/features/deb/debian/usrp.postrm

Copied: gnuradio/branches/features/deb/debian/usrp.postrm (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/usrp.postrm)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp.postrm                           
(rev 0)
+++ gnuradio/branches/features/deb/debian/usrp.postrm   2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" != "remove" ]; then
+       exit 0
+fi
+
+rm -f /etc/udev/rules.d/z60_usrp.rules
+
+#DEBHELPER#
+
+exit 0

Deleted: gnuradio/branches/features/deb/debian/usrp.udev

Copied: gnuradio/branches/features/deb/debian/usrp.udev (from rev 6139, 
gnuradio/branches/developers/bdale/deb/debian/usrp.udev)
===================================================================
--- gnuradio/branches/features/deb/debian/usrp.udev                             
(rev 0)
+++ gnuradio/branches/features/deb/debian/usrp.udev     2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -0,0 +1,8 @@
+# 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"
+

Modified: gnuradio/branches/features/deb/usrp/doc/Makefile.am
===================================================================
--- gnuradio/branches/features/deb/usrp/doc/Makefile.am 2007-08-20 21:28:30 UTC 
(rev 6156)
+++ gnuradio/branches/features/deb/usrp/doc/Makefile.am 2007-08-20 21:33:54 UTC 
(rev 6157)
@@ -25,7 +25,7 @@
 SUBDIRS = other
 
 man3dir = $(mandir)/man3
-docdir  = $(prefix)/share/doc/@address@hidden@VERSION@
+docdir  = $(prefix)/share/doc/@address@hidden@VERSION@/usrp
 
 EXTRA_DIST =                   \
        Doxyfile.in             \





reply via email to

[Prev in Thread] Current Thread [Next in Thread]