Package: usrp Version: 0.10-1 Severity: wishlist Tags: patch I have some code that uses libusrp directly, and as I needed to debug it today I found rebuilding the usrp source package with the attached patch quite helpful. It adds a new binary package, libusrp0c2a-dbg, containing only the debugging version of libusrp0c2a; and also sets up libusrp0c2a with the right debug link section.
Thanks, --Jamey
diff -ur usrp-0.10/debian/control usrp-0.11/debian/control --- usrp-0.10/debian/control 2006-04-12 14:56:24.000000000 -0700 +++ usrp-0.11/debian/control 2006-04-13 18:49:50.000000000 -0700 @@ -76,6 +76,21 @@ This package contains the client-side library, providing an easy interface for communicating with the USRP. +Package: libusrp0c2a-dbg +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: python2.3-usrp Section: contrib/libs Architecture: any diff -ur usrp-0.10/debian/rules usrp-0.11/debian/rules --- usrp-0.10/debian/rules 2006-04-12 14:56:24.000000000 -0700 +++ usrp-0.11/debian/rules 2006-04-13 18:47:56.000000000 -0700 @@ -73,7 +73,8 @@ dh_installdocs debian/README.arch dh_install -a --sourcedir=debian/tmp install -m 0755 debian/usrp.hotplug $(CURDIR)/debian/usrp/etc/hotplug.d/usb/ - dh_strip + dh_strip --no-package=libusrp0c2a + dh_strip --package=libusrp0c2a --dbg-package=libusrp0c2a-dbg dh_compress dh_fixperms -a dh_python
signature.asc
Description: Digital signature