diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..029e9c8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,188 @@ +gr-osmosdr (0.1.5git) unstable; urgency=medium + + * Add initial support for Airspy HF+ + * Support for FreeSRP via libfreesrp + + -- Harald Welte Sun, 03 Jun 2018 10:38:52 +0200 + +gr-osmosdr (0.1.4-14) unstable; urgency=medium + + * Add initial support for Airspy HF+ + * Support for FreeSRP via libfreesrp + + -- A. Maitland Bottoms Thu, 23 Nov 2017 10:38:52 -0500 + +gr-osmosdr (0.1.4-13) unstable; urgency=medium + + * update to v0.1.4-98-gc653754 + * rtl-sdr bias-T support + * build with gnuradio-3.7.11 + + -- A. Maitland Bottoms Thu, 07 Sep 2017 19:50:05 -0400 + +gr-osmosdr (0.1.4-12) unstable; urgency=medium + + * rebuild with airspy-host 1.0.9 + + -- A. Maitland Bottoms Fri, 14 Oct 2016 20:58:28 -0400 + +gr-osmosdr (0.1.4-11) unstable; urgency=medium + + * Add SoapySDR support + + -- A. Maitland Bottoms Sun, 28 Aug 2016 14:52:53 -0400 + +gr-osmosdr (0.1.4-10) unstable; urgency=medium + + * build with gnuradio-3.7.10 + + -- A. Maitland Bottoms Sun, 10 Jul 2016 12:41:34 -0400 + +gr-osmosdr (0.1.4-9) unstable; urgency=medium + + * update to v0.1.4-72-g164a09f + * rebuild on kfreebsd (Closes: #822132) + + -- A. Maitland Bottoms Fri, 29 Apr 2016 05:10:35 -0400 + +gr-osmosdr (0.1.4-8) unstable; urgency=medium + + * update to v0.1.4-67-gac15e78, build with gnuradio 3.7.9 + + -- A. Maitland Bottoms Wed, 13 Jan 2016 00:16:06 -0500 + +gr-osmosdr (0.1.4-7) unstable; urgency=medium + + * Lintian cleanups pre-depends and dep5-copyright + + -- A. Maitland Bottoms Sat, 28 Nov 2015 22:57:30 -0500 + +gr-osmosdr (0.1.4-6) unstable; urgency=medium + + * Don't depend upon hackrf on non-linux + + -- A. Maitland Bottoms Mon, 05 Oct 2015 00:25:01 -0400 + +gr-osmosdr (0.1.4-5) unstable; urgency=medium + + * Rebuild with uhd 3.9.1-3 + + -- A. Maitland Bottoms Wed, 30 Sep 2015 21:06:49 -0400 + +gr-osmosdr (0.1.4-4) unstable; urgency=medium + + * Tighten libuhd003 versioned dependency via dh_makeshlibs + + -- A. Maitland Bottoms Wed, 30 Sep 2015 01:04:40 -0400 + +gr-osmosdr (0.1.4-3) unstable; urgency=low + + * rebuild with uhd-3.9.1 + * post gcc-5 libstdc++6 transition build (Closes: #791062) + + -- A. Maitland Bottoms Mon, 14 Sep 2015 20:51:16 -0400 + +gr-osmosdr (0.1.4-2) unstable; urgency=medium + + * add watch file, rebuild with uhd-3.9.0 + + -- A. Maitland Bottoms Thu, 10 Sep 2015 10:55:58 -0400 + +gr-osmosdr (0.1.4-1) unstable; urgency=medium + + * New upstream, update to v0.1.4-48-g86ad584 + build with gnuradio 3.7.8 + + -- A. Maitland Bottoms Sun, 16 Aug 2015 21:55:38 -0400 + +gr-osmosdr (0.1.3-2) unstable; urgency=low + + * Add versioned depends for bladerf (Closes: #759927) + + -- A. Maitland Bottoms Wed, 10 Sep 2014 23:57:56 -0400 + +gr-osmosdr (0.1.3-1) unstable; urgency=low + + * New upstream release + * build with gnuradio 3.7.5 + + -- A. Maitland Bottoms Wed, 03 Sep 2014 22:21:12 -0400 + +gr-osmosdr (0.1.2-1) unstable; urgency=low + + * New upstream release, update to v0.1.2-2-g8604d76 + * Include airspy support + * pkg-gr-osmosdr git for Debian packaging (Closes: #759268) + + -- A. Maitland Bottoms Thu, 28 Aug 2014 14:37:08 -0400 + +gr-osmosdr (0.1.1.4.ac95af2-1) unstable; urgency=low + + * Update to v0.1.1-4-gac95af2 + reverting 66109099 rtl: implement methods allowing runtime to control + sampling process + * Build with gnuradio 3.7.3 (Closes: #743392) + * Osmocom MiriSDR support + + -- A. Maitland Bottoms Sat, 19 Apr 2014 19:22:49 -0400 + +gr-osmosdr (0.1.0.55.80c4af-2~bpo70~1) wheezy-backports; urgency=low + + * Rebuild for wheezy-backports. + + -- A. Maitland Bottoms Tue, 11 Feb 2014 16:57:11 -0500 + +gr-osmosdr (0.1.0.55.80c4af-2) unstable; urgency=low + + * ship grc blocks + + -- A. Maitland Bottoms Fri, 03 Jan 2014 00:32:28 -0500 + +gr-osmosdr (0.1.0.55.80c4af-1) unstable; urgency=low + + * New upstream commit, build with gnuradio 3.7.2.1 + + -- A. Maitland Bottoms Tue, 31 Dec 2013 00:09:54 -0500 + +gr-osmosdr (0.1.0.11.04b4c8-3) unstable; urgency=low + + * Fix up dependencies for current unstable build + + -- A. Maitland Bottoms Thu, 12 Dec 2013 12:05:35 -0500 + +gr-osmosdr (0.1.0.11.04b4c8-2) unstable; urgency=low + + * drop bladerf dependency + + -- A. Maitland Bottoms Sat, 23 Nov 2013 11:25:21 -0500 + +gr-osmosdr (0.1.0.11.04b4c8-1) unstable; urgency=low + + * New upstream snapshot (Closes: #726469) + * Match GNU Radio live distribution version + + -- A. Maitland Bottoms Tue, 08 Oct 2013 17:30:31 -0400 + +gr-osmosdr (0.1git59ceddb-1) unstable; urgency=low + + * New upstream release, build with gnuradio 3.6.4.1-0wheezy1 + + -- A. Maitland Bottoms Wed, 01 May 2013 17:19:35 -0400 + +gr-osmosdr (0.1gitd11b7a-1) unstable; urgency=low + + * New upstream git, build with gnuradio 3.6.3 + + -- A. Maitland Bottoms Wed, 13 Feb 2013 15:56:33 -0500 + +gr-osmosdr (0.1git0f25dae-1) unstable; urgency=low + + * New upstream git, build with gnuradio 3.6.2 + + -- A. Maitland Bottoms Sun, 16 Sep 2012 20:47:39 -0400 + +gr-osmosdr (0.0git7f796fe-1) unstable; urgency=low + + * New upstream git, build with gnuradio 3.6.0 + + -- A. Maitland Bottoms Mon, 14 May 2012 20:28:18 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e779451 --- /dev/null +++ b/debian/control @@ -0,0 +1,79 @@ +Source: gr-osmosdr +Section: libdevel +Priority: optional +Maintainer: Harald Welte +Build-Depends: cmake, + debhelper (>= 9.0.0~), + dh-python, + doxygen, + gnuradio-dev (>=3.7.11), + gr-fcdproplus (>=3.7.25.4b6464b-3) [!hurd-i386], + gr-iqbal (>=0.37.2-8), + libairspy-dev (>= 1.0.9~) [!hurd-i386], + libairspyhf-dev [!hurd-i386], + libbladerf-dev (>=0.2016.01~rc1) [!hurd-i386], + libboost-dev, + libboost-system-dev, + libboost-thread-dev, + libfreesrp-dev [!hurd-i386], + libhackrf-dev [linux-any], + liblog4cpp5-dev, + libmirisdr-dev [!hurd-i386], + libosmosdr-dev [!hurd-i386], + librtlsdr-dev [!hurd-i386], + libsoapysdr-dev, + libuhd-dev (>=3.10), + pkg-config, + python-dev, + python-soapysdr, + swig +X-Python-Version: >= 2.7, << 2.8 +Standards-Version: 4.1.0 +Homepage: https://osmocom.org/projects/gr-osmosdr/wiki +Vcs-Git: git://git.osmocom.org/gr-osmosdr +Vcs-Browser: https://git.osmocom.org/gr-osmosdr + +Package: gr-osmosdr +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} +Recommends: gnuradio, gr-fosphor +Description: Gnuradio blocks from the OsmoSDR project + The Osmocom project is a family of projects regarding Open source + mobile communications. + . + While primarily being developed for the OsmoSDR hardware, this block + as well supports: + - FUNcube Dongle through libgnuradio-fcd + - FUNcube Dongle Pro+ through gr-fcdproplus + - sysmocom OsmoSDR Devices through libosmosdr + - RTL2832U based DVB-T dongles through librtlsdr + - RTL-TCP spectrum server (see librtlsdr project) + - MSi2500 based DVB-T dongles through libmirisdr + - gnuradio .cfile input through libgnuradio-blocks + - RFSPACE SDR-IQ, SDR-IP, NetSDR (incl. X2 option) + - Great Scott Gadgets HackRF through libhackrf + - Nuand LLC bladeRF through libbladeRF library + - Ettus USRP Devices through Ettus UHD library + - Fairwaves UmTRX through Fairwaves' fork of UHD + - AIRSPY Receiver + - AIRSPY HF+ Receiver + - SoapySDR support + - Red Pitaya SDR transceiver (http://bazaar.redpitaya.com) + - FreeSRP through libfreesrp + . + By using the OsmoSDR block you can take advantage of a common + software API in your application(s) independent of the underlying + radio hardware. + +Package: libgnuradio-osmosdr0.1.4 +Section: libs +Architecture: any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Multi-Arch: same +Description: Gnuradio blocks from the OsmoSDR project - library + The Osmocom project is a family of projects regarding Open source + mobile communications. + . + This package contains the shared library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..03e853f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,195 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: gr-osmosdr +Upstream-Contact: http://sdr.osmocom.org/trac/wiki/rtl-sdr +Source: + git clone git://git.osmocom.org/gr-osmosdr + The upstream package source tarball was generated from the tag: + git archive --format=tar --prefix=gr-osmosdr-0.1.4/ v0.1.4 | xz > ../gr-osmosdr_0.1.4.orig.tar.xz +Comment: + Debian packages by A. Maitland Bottoms , + . + Upstream Author: + Dimitri Stolnikov +Copyright: 2012,2013 Dimitri Stolnikov +License: GPL-3+ + +Files: COPYING +Copyright: 2007 Free Software Foundation, Inc. +License: FSF-COPYING + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +Files: CMakeLists.txt apps/* docs/* python/* include/osmosdr/api.h + cmake/Modules/* include/osmosdr/CMakeLists.txt + lib/CMakeLists.txt lib/gnuradio-osmosdr.rc.in + lib/bladerf/CMakeLists.txt swig/* grc/CMakeLists.txt +Copyright: 2005,2007-2013 Free Software Foundation, Inc. +Comment: GNU Radio gr_modtool derived +License: GPL-3+ + +Files: debian/* +Copyright: 2013 A. Maitland Bottoms +License: GPL-3+ + +Files: grc/gen_osmosdr_blocks.py +Copyright: 2012 Free Software Foundation, Inc. +License: GPL-2+ + +Files: include/osmosdr/pimpl.h include/osmosdr/ranges.h lib/ranges.cc + include/osmosdr/time_spec.h lib/time_spec.cc +Copyright: 2010-2013 Ettus Research LLC +License: GPL-3+ + +FIles: lib/bladerf/bladerf_common.cc lib/bladerf/bladerf_common.h + lib/bladerf/bladerf_sink_c.cc lib/bladerf/bladerf_sink_c.h + lib/bladerf/bladerf_source_c.cc lib/bladerf/bladerf_source_c.h +Copyright: 2013 Nuand LLC + 2013 Dimitri Stolnikov +License: GPL-3+ + +Files: lib/soapy/* +Copyright: 2015 Josh Blum + 2013 Dimitri Stolnikov +License: GPL-3+ + +Files: lib/freesrp/* +Copyright: 2017 by Lukas Lao Beyer +License: GPL-3+ + +Files: AUTHORS MANIFEST.md README gnuradio-osmosdr.pc.in + cmake/cmake_uninstall.cmake.in include/osmosdr/device.h + include/osmosdr/sink.h include/osmosdr/source.h + lib/arg_helpers.h lib/config.h.in lib/device.cc + lib/sink_iface.h lib/sink_impl.cc lib/sink_impl.h + lib/source_iface.h lib/source_impl.cc lib/source_impl.h + lib/airspy/* lib/fcd/* lib/file/* lib/hackrf/* + lib/miri/* lib/osmosdr/* lib/rfspace/* lib/rtl* + lib/sdrplay/* lib/uhd/* +Copyright: 2012-2013 Dimitri Stolnikov +License: GPL-3+ + +Files: lib/rtl_tcp/rtl_tcp_source_f.h +Copyright: 2012 Hoernchen +License: GPL-3+ + +Files: lib/miri/miri_source_c.cc +Copyright: 2012 Steve Markgraf + 2012 Dimitri Stolnikov +License: GPL-3+ + +Files: lib/redpitaya/* +Copyright: 2015 Pavel Demin + 2012,2015 Dimitri Stolnikov +License: GPL-3+ + +Files: lib/freesrp/readerwriterqueue/* +Copyright: 2013-2015, Cameron Desrochers +Comment: libfreesrp includes ReaderWriterQueue +License: Simplified-BSD + 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. + . + 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 HOLDER 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. + +Files: lib/freesrp/readerwriterqueue/atomicops.h +Copyright: 2015 Jeff Preshing +License: atomicops + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgement in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + +Files: cmake/Modules/CMakeParseArgumentsCopy.cmake +Copyright: 2010 Alexander Neundorf +Comment: copy of CMakeParseArguments.cmake from cmake 2.8.x +License: Kitware-BSD + 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 names of Kitware, Inc., the Insight Software Consortium, + nor the names of their 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 + HOLDER 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. + +License: GPL-2+ + GNU Radio Companion is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + . + GNU Radio Companion is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + . + On Debian systems, the complete text of the GNU General Public + License (GPL) version 3 can be found in the file + '/usr/share/common-licenses/GPL-2'. + +License: GPL-3+ + 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. + . + On Debian systems, the complete text of the GNU General Public + License (GPL) version 3 can be found in the file + '/usr/share/common-licenses/GPL-3'. diff --git a/debian/gr-osmosdr.install b/debian/gr-osmosdr.install new file mode 100644 index 0000000..3434eae --- /dev/null +++ b/debian/gr-osmosdr.install @@ -0,0 +1,6 @@ +usr/bin/* +usr/include/* +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/* +usr/lib/python* +usr/share/* diff --git a/debian/gr-osmosdr.manpages b/debian/gr-osmosdr.manpages new file mode 100644 index 0000000..ee5ccbe --- /dev/null +++ b/debian/gr-osmosdr.manpages @@ -0,0 +1,4 @@ +debian/osmocom_fft.1 +debian/osmocom_siggen.1 +debian/osmocom_siggen_nogui.1 +debian/osmocom_spectrum_sense.1 diff --git a/debian/libgnuradio-osmosdr0.1.4.install b/debian/libgnuradio-osmosdr0.1.4.install new file mode 100644 index 0000000..3ddde58 --- /dev/null +++ b/debian/libgnuradio-osmosdr0.1.4.install @@ -0,0 +1 @@ +usr/lib/*/lib*.so.* diff --git a/debian/osmocom_fft.1 b/debian/osmocom_fft.1 new file mode 100644 index 0000000..0b24d71 --- /dev/null +++ b/debian/osmocom_fft.1 @@ -0,0 +1,224 @@ +.TH osmocom_fft "1" "October 2013" "OSMOCOM" "User Commands" +.SH NAME +osmocom_fft \- Spectrum Browser +.SH SYNOPSIS +.B osmocom_fft +[\fIoptions\fR] +.SH DESCRIPTION +Spectrum Browser +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message and exit +.TP +\fB\-a\fR ARGS, \fB\-\-args\fR=\fIARGS\fR +Device args, [default=] +.TP +\fB\-A\fR ANTENNA, \fB\-\-antenna\fR=\fIANTENNA\fR +Select RX antenna where appropriate +.TP +\fB\-s\fR SAMP_RATE, \fB\-\-samp\-rate\fR=\fISAMP_RATE\fR +Set sample rate (bandwidth), minimum by default +.TP +\fB\-f\fR FREQ, \fB\-\-center\-freq\fR=\fIFREQ\fR +Set frequency to FREQ +.TP +\fB\-c\fR FREQ_CORR, \fB\-\-freq\-corr\fR=\fIFREQ_CORR\fR +Set frequency correction (ppm) +.TP +\fB\-g\fR GAIN, \fB\-\-gain\fR=\fIGAIN\fR +Set gain in dB (default is midpoint) +.TP +\fB\-W\fR, \fB\-\-waterfall\fR +Enable waterfall display +.TP +\fB\-S\fR, \fB\-\-oscilloscope\fR +Enable oscilloscope display +.TP +\fB\-\-avg\-alpha\fR=\fIAVG_ALPHA\fR +Set fftsink averaging factor, default=[0.1] +.TP +\fB\-\-averaging\fR +Enable fftsink averaging, default=[False] +.TP +\fB\-\-ref\-scale\fR=\fIREF_SCALE\fR +Set dBFS=0dB input value, default=[1.0] +.TP +\fB\-\-fft\-size\fR=\fIFFT_SIZE\fR +Set number of FFT bins [default=1024] +.TP +\fB\-\-fft\-rate\fR=\fIFFT_RATE\fR +Set FFT update rate, [default=30] +.TP +\fB\-v\fR, \fB\-\-verbose\fR +Use verbose console output [default=False] +.SH "SEE ALSO" +The full documentation for +.B linux; +is maintained as a Texinfo manual. If the +.B info +and +.B linux; +programs are properly installed at your site, the command +.IP +.B info linux; +.PP +should give you access to the complete manual. +.SH Device specification +You can specify the source or sink device using a comma separated string of argument=value pairs. The always-up-to-date block documentation with examples is available ​right here. +.SH FCD Source +.TP +Argument +Notes +.TP +fcd= +0-based device identifier, optional +.TP +device=hw:2 +overrides the audio device +.TP +type=2 +selects the dongle type, 1 for Classic, 2 for Pro+ +.LP +The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. +.LP +The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. +.SH OsmoSDR Source +.TP +Argument +Notes +.TP +osmosdr= +0-based device identifier +.TP +buffers= +Default is 32 +.TP +buflen= +Default is 256kB, must be multiple of 512 +.SH RTL-SDR Source +.TP +Argument +Notes +.TP +rtl= +0-based device identifier OR serial number +.TP +rtl_xtal= +Frequency (Hz) used for the RTL chip, accepts eng notation +.TP +tuner_xtal= +Frequency (Hz) used for the tuner chip, accepts eng notation +.TP +buffers= +Default is 32 +.TP +buflen= +Default is 256kB, must be multiple of 512 +.TP +direct_samp=0|1|2 +Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channel +.TP +offset_tune=0|1 +Enable offset tune mode for E4000 tuners +.LP +NOTE: use rtl_eeprom -s to program your own serial number to the device +.LP +NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz +.SH RTL-SDR TCP Source +.TP +Argument +Notes +.TP +rtl_tcp=: +hostname defaults to "localhost", port to "1234" +.TP +psize= +Default is 16384 bytes +.TP +direct_samp=0|1|2 +Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabled +.TP +offset_tune=0|1 +Enable offset tune mode for E4000 tuners +.SH Miri Source +.TP +Argument +Notes +.TP +miri= +0-based device identifier +.TP +buffers= +Default is 32 +.SH UHD Source / Sink +Argument +Notes +.TP +uhd +Use this argument without a value +.TP +nchan= +For multichannel USRP configurations use the subdev parameter to specify stream mapping +.TP +subdev= +Examples: "A:0", "B:0", "A:0 B:0" when nchan=2. Refer original ettus documentation on this +.TP +lo_offset= +Offset frequency in Hz, must be within daughterboard bandwidth. Accepts eng notation +.LP +Additional argument/value pairs will be passed to the underlying driver, for more information see ​specifying the subdevice and ​common device identifiers in the Ettus documentation. +.SH bladeRF Source / Sink +.TP +Argument +Notes +.TP +bladerf[=0] +0-based device identifier (optional) +.TP +fw='/path/to/the/firmware.img' +program MCU firmware from given file. usually not needed. power cycle required. +.TP +fpga='/path/to/the/bitstream.rbf' +load FPGA bitstream from given file. required only at first run at the moment. +.SH HackRF Source / Sink +.TP +Argument +Notes +.TP +hackrf +Use this argument without a value +.TP +buffers= +Default is 32 +.LP +Only the first device found may be used at the moment because of libhackrf limitation. +.LP +Transmit support has been verified by using the crc-mmbTools DAB sdr transmitter. +.SH IQ File Source +.TP +Argument +Notes +.TP +file= +.TP +freq= +Center frequency in Hz, accepts eng notation +.TP +rate= +Mandatory, in samples/s, accepts eng notation +.TP +repeat=true|false +Default is true +.TP +throttle=true|false +Throttle flow of samples, default is true +.SH EXAMPLES +.LP +osmocom_fft -a rtl=0 -v -f 100e6 -s 2.4e6 -g 15 +.LP +osmocom_fft -a hackrf -v +.LP +osmocom_fft -a uhd -v +.SH "SEE ALSO" +osmocom_siggen(1) osmocom_siggen_nogui(1) osmocom_spectrum_sense(1) diff --git a/debian/osmocom_siggen.1 b/debian/osmocom_siggen.1 new file mode 100644 index 0000000..d9d9d47 --- /dev/null +++ b/debian/osmocom_siggen.1 @@ -0,0 +1,222 @@ +.TH osmocom_siggen "1" "October 2013" "OSMOCOM" "User Commands" +.SH NAME +osmocom_siggen \- Signal Generator Application with GUI controls +.SH SYNOPSIS +.B osmocom_siggen: +[\fIoptions\fR] +.SH DESCRIPTION +Signal Generator Application with GUI controls +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message and exit +.TP +\fB\-a\fR ARGS, \fB\-\-args\fR=\fIARGS\fR +Device args, [default=] +.TP +\fB\-A\fR ANTENNA, \fB\-\-antenna\fR=\fIANTENNA\fR +Select Rx Antenna where appropriate +.TP +\fB\-s\fR SAMP_RATE, \fB\-\-samp\-rate\fR=\fISAMP_RATE\fR +Set sample rate (bandwidth), minimum by default +.TP +\fB\-g\fR GAIN, \fB\-\-gain\fR=\fIGAIN\fR +Set gain in dB (default is midpoint) +.TP +\fB\-f\fR FREQ, \fB\-\-tx\-freq\fR=\fIFREQ\fR +Set carrier frequency to FREQ [default=mid\-point] +.TP +\fB\-c\fR FREQ_CORR, \fB\-\-freq\-corr\fR=\fIFREQ_CORR\fR +Set carrier frequency correction [default=0] +.TP +\fB\-x\fR WAVEFORM_FREQ, \fB\-\-waveform\-freq\fR=\fIWAVEFORM_FREQ\fR +Set baseband waveform frequency to FREQ [default=0] +.TP +\fB\-y\fR WAVEFORM2_FREQ, \fB\-\-waveform2\-freq\fR=\fIWAVEFORM2_FREQ\fR +Set 2nd waveform frequency to FREQ [default=none] +.TP +\fB\-\-sine\fR +Generate a carrier modulated by a complex sine wave +.TP +\fB\-\-const\fR +Generate a constant carrier +.TP +\fB\-\-offset\fR=\fIOFFSET\fR +Set waveform phase offset to OFFSET [default=0] +.TP +\fB\-\-gaussian\fR +Generate Gaussian random output +.TP +\fB\-\-uniform\fR +Generate Uniform random output +.TP +\fB\-\-2tone\fR +Generate Two Tone signal for IMD testing +.TP +\fB\-\-sweep\fR +Generate a swept sine wave +.TP +\fB\-\-gsm\fR +Generate GMSK modulated GSM Burst Sequence +.TP +\fB\-\-amplitude\fR=\fIAMPL\fR +Set output amplitude to AMPL (0.1\-1.0) [default=0.3] +.TP +\fB\-v\fR, \fB\-\-verbose\fR +Use verbose console output [default=False] +.SH Device specification +You can specify the source or sink device using a comma separated string of argument=value pairs. The always-up-to-date block documentation with examples is available ​right here. +.SH FCD Source +.TP +Argument +Notes +.TP +fcd= +0-based device identifier, optional +.TP +device=hw:2 +overrides the audio device +.TP +type=2 +selects the dongle type, 1 for Classic, 2 for Pro+ +.LP +The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. +.LP +The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. +.SH OsmoSDR Source +.TP +Argument +Notes +.TP +osmosdr= +0-based device identifier +.TP +buffers= +Default is 32 +.TP +buflen= +Default is 256kB, must be multiple of 512 +.SH RTL-SDR Source +.TP +Argument +Notes +.TP +rtl= +0-based device identifier OR serial number +.TP +rtl_xtal= +Frequency (Hz) used for the RTL chip, accepts eng notation +.TP +tuner_xtal= +Frequency (Hz) used for the tuner chip, accepts eng notation +.TP +buffers= +Default is 32 +.TP +buflen= +Default is 256kB, must be multiple of 512 +.TP +direct_samp=0|1|2 +Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channel +.TP +offset_tune=0|1 +Enable offset tune mode for E4000 tuners +.LP +NOTE: use rtl_eeprom -s to program your own serial number to the device +.LP +NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz +.SH RTL-SDR TCP Source +.TP +Argument +Notes +.TP +rtl_tcp=: +hostname defaults to "localhost", port to "1234" +.TP +psize= +Default is 16384 bytes +.TP +direct_samp=0|1|2 +Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabled +.TP +offset_tune=0|1 +Enable offset tune mode for E4000 tuners +.SH Miri Source +.TP +Argument +Notes +.TP +miri= +0-based device identifier +.TP +buffers= +Default is 32 +.SH UHD Source / Sink +Argument +Notes +.TP +uhd +Use this argument without a value +.TP +nchan= +For multichannel USRP configurations use the subdev parameter to specify stream mapping +.TP +subdev= +Examples: "A:0", "B:0", "A:0 B:0" when nchan=2. Refer original ettus documentation on this +.TP +lo_offset= +Offset frequency in Hz, must be within daughterboard bandwidth. Accepts eng notation +.LP +Additional argument/value pairs will be passed to the underlying driver, for more information see ​specifying the subdevice and ​common device identifiers in the Ettus documentation. +.SH bladeRF Source / Sink +.TP +Argument +Notes +.TP +bladerf[=0] +0-based device identifier (optional) +.TP +fw='/path/to/the/firmware.img' +program MCU firmware from given file. usually not needed. power cycle required. +.TP +fpga='/path/to/the/bitstream.rbf' +load FPGA bitstream from given file. required only at first run at the moment. +.SH HackRF Source / Sink +.TP +Argument +Notes +.TP +hackrf +Use this argument without a value +.TP +buffers= +Default is 32 +.LP +Only the first device found may be used at the moment because of libhackrf limitation. +.LP +Transmit support has been verified by using the crc-mmbTools DAB sdr transmitter. +.SH IQ File Source +.TP +Argument +Notes +.TP +file= +.TP +freq= +Center frequency in Hz, accepts eng notation +.TP +rate= +Mandatory, in samples/s, accepts eng notation +.TP +repeat=true|false +Default is true +.TP +throttle=true|false +Throttle flow of samples, default is true +.SH EXAMPLES +.LP +osmocom_siggen -a hackrf -f 100e6 --sine +.LP +osmocom_siggen -a hackrf -f 100e6 --sweep -x 2M -y 1 -c34 +.SH "SEE ALSO" +osmocom_fft(1) osmocom_siggen(1) osmocom_spectrum_sense(1) diff --git a/debian/osmocom_siggen_nogui.1 b/debian/osmocom_siggen_nogui.1 new file mode 100644 index 0000000..0228ad5 --- /dev/null +++ b/debian/osmocom_siggen_nogui.1 @@ -0,0 +1,224 @@ +.TH osmocom_siggen_nogui "1" "October 2013" "OSMOCOM" "User Commands" +.SH NAME +osmocom_siggen_nogui \- Signal generator application +.SH SYNOPSIS +.B osmocom_siggen_nogui: +[\fIoptions\fR] +.SH DESCRIPTION +Signal generator application +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message and exit +.TP +\fB\-a\fR ARGS, \fB\-\-args\fR=\fIARGS\fR +Device args, [default=] +.TP +\fB\-A\fR ANTENNA, \fB\-\-antenna\fR=\fIANTENNA\fR +Select Rx Antenna where appropriate +.TP +\fB\-s\fR SAMP_RATE, \fB\-\-samp\-rate\fR=\fISAMP_RATE\fR +Set sample rate (bandwidth), minimum by default +.TP +\fB\-g\fR GAIN, \fB\-\-gain\fR=\fIGAIN\fR +Set gain in dB (default is midpoint) +.TP +\fB\-f\fR FREQ, \fB\-\-tx\-freq\fR=\fIFREQ\fR +Set carrier frequency to FREQ [default=mid\-point] +.TP +\fB\-c\fR FREQ_CORR, \fB\-\-freq\-corr\fR=\fIFREQ_CORR\fR +Set carrier frequency correction [default=0] +.TP +\fB\-x\fR WAVEFORM_FREQ, \fB\-\-waveform\-freq\fR=\fIWAVEFORM_FREQ\fR +Set baseband waveform frequency to FREQ [default=0] +.TP +\fB\-y\fR WAVEFORM2_FREQ, \fB\-\-waveform2\-freq\fR=\fIWAVEFORM2_FREQ\fR +Set 2nd waveform frequency to FREQ [default=none] +.TP +\fB\-\-sine\fR +Generate a carrier modulated by a complex sine wave +.TP +\fB\-\-const\fR +Generate a constant carrier +.TP +\fB\-\-offset\fR=\fIOFFSET\fR +Set waveform phase offset to OFFSET [default=0] +.TP +\fB\-\-gaussian\fR +Generate Gaussian random output +.TP +\fB\-\-uniform\fR +Generate Uniform random output +.TP +\fB\-\-2tone\fR +Generate Two Tone signal for IMD testing +.TP +\fB\-\-sweep\fR +Generate a swept sine wave +.TP +\fB\-\-gsm\fR +Generate GMSK modulated GSM Burst Sequence +.TP +\fB\-\-amplitude\fR=\fIAMPL\fR +Set output amplitude to AMPL (0.1\-1.0) [default=0.3] +.TP +\fB\-v\fR, \fB\-\-verbose\fR +Use verbose console output [default=False] +.PP +Note: failed to enable realtime scheduling, continuing +.SH Device specification +You can specify the source or sink device using a comma separated string of argument=value pairs. The always-up-to-date block documentation with examples is available ​right here. +.SH FCD Source +.TP +Argument +Notes +.TP +fcd= +0-based device identifier, optional +.TP +device=hw:2 +overrides the audio device +.TP +type=2 +selects the dongle type, 1 for Classic, 2 for Pro+ +.LP +The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. +.LP +The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. +.SH OsmoSDR Source +.TP +Argument +Notes +.TP +osmosdr= +0-based device identifier +.TP +buffers= +Default is 32 +.TP +buflen= +Default is 256kB, must be multiple of 512 +.SH RTL-SDR Source +.TP +Argument +Notes +.TP +rtl= +0-based device identifier OR serial number +.TP +rtl_xtal= +Frequency (Hz) used for the RTL chip, accepts eng notation +.TP +tuner_xtal= +Frequency (Hz) used for the tuner chip, accepts eng notation +.TP +buffers= +Default is 32 +.TP +buflen= +Default is 256kB, must be multiple of 512 +.TP +direct_samp=0|1|2 +Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channel +.TP +offset_tune=0|1 +Enable offset tune mode for E4000 tuners +.LP +NOTE: use rtl_eeprom -s to program your own serial number to the device +.LP +NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz +.SH RTL-SDR TCP Source +.TP +Argument +Notes +.TP +rtl_tcp=: +hostname defaults to "localhost", port to "1234" +.TP +psize= +Default is 16384 bytes +.TP +direct_samp=0|1|2 +Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabled +.TP +offset_tune=0|1 +Enable offset tune mode for E4000 tuners +.SH Miri Source +.TP +Argument +Notes +.TP +miri= +0-based device identifier +.TP +buffers= +Default is 32 +.SH UHD Source / Sink +Argument +Notes +.TP +uhd +Use this argument without a value +.TP +nchan= +For multichannel USRP configurations use the subdev parameter to specify stream mapping +.TP +subdev= +Examples: "A:0", "B:0", "A:0 B:0" when nchan=2. Refer original ettus documentation on this +.TP +lo_offset= +Offset frequency in Hz, must be within daughterboard bandwidth. Accepts eng notation +.LP +Additional argument/value pairs will be passed to the underlying driver, for more information see ​specifying the subdevice and ​common device identifiers in the Ettus documentation. +.SH bladeRF Source / Sink +.TP +Argument +Notes +.TP +bladerf[=0] +0-based device identifier (optional) +.TP +fw='/path/to/the/firmware.img' +program MCU firmware from given file. usually not needed. power cycle required. +.TP +fpga='/path/to/the/bitstream.rbf' +load FPGA bitstream from given file. required only at first run at the moment. +.SH HackRF Source / Sink +.TP +Argument +Notes +.TP +hackrf +Use this argument without a value +.TP +buffers= +Default is 32 +.LP +Only the first device found may be used at the moment because of libhackrf limitation. +.LP +Transmit support has been verified by using the crc-mmbTools DAB sdr transmitter. +.SH IQ File Source +.TP +Argument +Notes +.TP +file= +.TP +freq= +Center frequency in Hz, accepts eng notation +.TP +rate= +Mandatory, in samples/s, accepts eng notation +.TP +repeat=true|false +Default is true +.TP +throttle=true|false +Throttle flow of samples, default is true +.SH EXAMPLES +.LP +osmocom_siggen_nogui -a hackrf -f 100e6 --sweep -x 2e6 -y 10 -v +.LP +osmocom_siggen_nogui -a uhd,subdev=A:0 -f 100e6 --sweep -x 2e6 -y 10 -s 4e6 -v +.SH "SEE ALSO" +osmocom_fft(1) osmocom_siggen(1) osmocom_spectrum_sense(1) diff --git a/debian/osmocom_spectrum_sense.1 b/debian/osmocom_spectrum_sense.1 new file mode 100644 index 0000000..d10b1d4 --- /dev/null +++ b/debian/osmocom_spectrum_sense.1 @@ -0,0 +1,196 @@ +.TH osmocom_spectrum_sense "1" "October 2013" "OSMOCOMM" "User Commands" +.SH NAME +osmocom_spectrum_sense \- GNU Radio application from OsmoSDR +.SH SYNOPSIS +.B osmocom_spectrum_sense +[\fIoptions\fR] \fImin_freq max_freq\fR +.SH DESCRIPTION +GNU Radio application from OsmoSDR +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message and exit +.TP +\fB\-a\fR ARGS, \fB\-\-args\fR=\fIARGS\fR +Device args [default=] +.TP +\fB\-A\fR ANTENNA, \fB\-\-antenna\fR=\fIANTENNA\fR +Select antenna where appropriate +.TP +\fB\-s\fR SAMP_RATE, \fB\-\-samp\-rate\fR=\fISAMP_RATE\fR +Set sample rate (bandwidth), minimum by default +.TP +\fB\-g\fR GAIN, \fB\-\-gain\fR=\fIGAIN\fR +Set gain in dB (default is midpoint) +.TP +\fB\-\-tune\-delay\fR=\fISECS\fR +Time to delay (in seconds) after changing frequency +[default=0.25] +.TP +\fB\-\-dwell\-delay\fR=\fISECS\fR +Time to dwell (in seconds) at a given frequency +[default=0.25] +.TP +\fB\-b\fR Hz, \fB\-\-channel\-bandwidth\fR=\fIHz\fR +Channel bandwidth of fft bins in Hz [default=6250.0] +.TP +\fB\-q\fR dB, \fB\-\-squelch\-threshold\fR=\fIdB\fR +Squelch threshold in dB [default=none] +.TP +\fB\-F\fR FFT_SIZE, \fB\-\-fft\-size\fR=\fIFFT_SIZE\fR +Specify number of FFT bins +[default=samp_rate/channel_bw] +.TP +\fB\-\-real\-time\fR +Attempt to enable real\-time scheduling +.SH Device specification +You can specify the source or sink device using a comma separated string of argument=value pairs. The always-up-to-date block documentation with examples is available ​right here. +.SH FCD Source +.TP +Argument +Notes +.TP +fcd= +0-based device identifier, optional +.TP +device=hw:2 +overrides the audio device +.TP +type=2 +selects the dongle type, 1 for Classic, 2 for Pro+ +.LP +The "device" argument overrides the audio device used by the underlying driver to access the dongle's IQ sample stream. +.LP +The "type" argument selects the dongle type, 1 for Classic, 2 for Pro+. +.SH OsmoSDR Source +.TP +Argument +Notes +.TP +osmosdr= +0-based device identifier +.TP +buffers= +Default is 32 +.TP +buflen= +Default is 256kB, must be multiple of 512 +.SH RTL-SDR Source +.TP +Argument +Notes +.TP +rtl= +0-based device identifier OR serial number +.TP +rtl_xtal= +Frequency (Hz) used for the RTL chip, accepts eng notation +.TP +tuner_xtal= +Frequency (Hz) used for the tuner chip, accepts eng notation +.TP +buffers= +Default is 32 +.TP +buflen= +Default is 256kB, must be multiple of 512 +.TP +direct_samp=0|1|2 +Enable direct sampling mode on the RTL chip. 0: Disable, 1: use I channel, 2: use Q channel +.TP +offset_tune=0|1 +Enable offset tune mode for E4000 tuners +.LP +NOTE: use rtl_eeprom -s to program your own serial number to the device +.LP +NOTE: if you don't specify rtl_xtal/tuner_xtal, the underlying driver will use 28.0MHz +.SH RTL-SDR TCP Source +.TP +Argument +Notes +.TP +rtl_tcp=: +hostname defaults to "localhost", port to "1234" +.TP +psize= +Default is 16384 bytes +.TP +direct_samp=0|1|2 +Enable direct sampling mode on the RTL chip 0=Off, 1=I-ADC input enabled, 2=Q-ADC input enabled +.TP +offset_tune=0|1 +Enable offset tune mode for E4000 tuners +.SH Miri Source +.TP +Argument +Notes +.TP +miri= +0-based device identifier +.TP +buffers= +Default is 32 +.SH UHD Source / Sink +Argument +Notes +.TP +uhd +Use this argument without a value +.TP +nchan= +For multichannel USRP configurations use the subdev parameter to specify stream mapping +.TP +subdev= +Examples: "A:0", "B:0", "A:0 B:0" when nchan=2. Refer original ettus documentation on this +.TP +lo_offset= +Offset frequency in Hz, must be within daughterboard bandwidth. Accepts eng notation +.LP +Additional argument/value pairs will be passed to the underlying driver, for more information see ​specifying the subdevice and ​common device identifiers in the Ettus documentation. +.SH bladeRF Source / Sink +.TP +Argument +Notes +.TP +bladerf[=0] +0-based device identifier (optional) +.TP +fw='/path/to/the/firmware.img' +program MCU firmware from given file. usually not needed. power cycle required. +.TP +fpga='/path/to/the/bitstream.rbf' +load FPGA bitstream from given file. required only at first run at the moment. +.SH HackRF Source / Sink +.TP +Argument +Notes +.TP +hackrf +Use this argument without a value +.TP +buffers= +Default is 32 +.LP +Only the first device found may be used at the moment because of libhackrf limitation. +.LP +Transmit support has been verified by using the crc-mmbTools DAB sdr transmitter. +.SH IQ File Source +.TP +Argument +Notes +.TP +file= +.TP +freq= +Center frequency in Hz, accepts eng notation +.TP +rate= +Mandatory, in samples/s, accepts eng notation +.TP +repeat=true|false +Default is true +.TP +throttle=true|false +Throttle flow of samples, default is true +.SH "SEE ALSO" +osmocom_fft(1) osmocom_siggen(1) osmocom_siggen_nogui(1) diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..a939fc2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +export DEB_HOST_MULTIARCH +DEB_DEBIAN_DIR=$(dir $(firstword $(MAKEFILE_LIST))) +VER=$(shell dpkg-parsechangelog -l$(DEB_DEBIAN_DIR)/changelog \ + | sed -rne 's,^Version: ([^-]+).*,\1,p') +GITREV=$(shell echo $(VER) | sed -rne 's,[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\.([0-f]+),\1,p') + +%: + dh $@ --with python2 + +override_dh_auto_configure: + dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DPythonLibs_FIND_VERSION:STRING="2.7" -DPYTHON_EXECUTABLE:STRING="/usr/bin/python" + +override_dh_auto_install: + dh_auto_install + rm -f debian/gr-osmosdr/usr/lib/python2.7/dist-packages/osmosdr/*pyc + rm -f debian/gr-osmosdr/usr/lib/python2.7/dist-packages/osmosdr/*pyo + +override_dh_makeshlibs: + dh_makeshlibs -V 'libgnuradio-osmosdr0.1.4 (>= 0.1.4-13)' + +version-to-get: + echo $(VER) is $(GITREV) + +get-orig-source: version-to-get + git clone git://git.osmocom.org/gr-osmosdr + cd gr-osmosdr && git archive --format=tar --prefix=gr-osmosdr-$(VER)/ $(GITREV) | xz > ../gr-osmosdr_$(VER).orig.tar.xz + rm -rf gr-osmosdr diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..879e5c7 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="downloadurlmangle=s/refs\/tags/snapshot/,uversionmangle=s|(.*)git|1|" \ + http://cgit.osmocom.org/gr-osmosdr/refs/tags /gr-osmosdr/snapshot/gr-osmosdr-(\d.*)\.tar\.xz