debian/0000755000000000000000000000000012260053013007156 5ustar debian/copyright0000644000000000000000000001416612260051660011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gr-iqbal Upstream-Contact: Sylvain Munaut Source: git://git.osmocom.org/gr-iqbal git://git.osmocom.org/libosmo-dsp The upstream package source tarballs were generated from the tags: git archive --format=tar --prefix=gr-iqbal-0.37.1.5.d4fd4d/ d4fd4d | gzip > ../gr-iqbal_0.37.1.5.d4fd4d.orig.tar.gz git archive --format=tar --prefix=libosmo-dsp-59e29c/ 59e29c | gzip > ../gr-iqbal_0.37.1.5.d4fd4d.orig-libosmo-dsp.tar.gz Comment: Debian packages by A. Maitland Bottoms . Upstream Author: Sylvain Munaut Copyright: 2011-2013 Sylvain Munaut License: GPL-3+ Files: COPYING Copyright: 2007 Free Software Foundation, Inc. License: Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/LGPL-3". Files: libosmo-dsp/COPYING Copyright: 1989, 1991 Free Software Foundation, Inc., License: Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2". Files: cmake/Modules/CMakeParseArgumentsCopy.cmake Copyright: 2010 Alexander Neundorf Comment: copy of CMakeParseArguments.cmake from cmake 2.8.x License: 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. Files: libosmo-dsp/git-version-gen Copyright: 2007-2010 Free Software Foundation, Inc. License: GPL-3+ Files: libosmo-dsp/* not listed above Copyright: 2011,2013 Sylvain Munaut License: GPL-2+ Files: python/CMakeLists.txt python/__init__.py apps/CMakeLists.txt docs/doxygen/doxyxml/base.py docs/doxygen/doxyxml/text.py docs/doxygen/doxyxml/doxyindex.py docs/doxygen/doxyxml/__init__.py docs/doxygen/swig_doc.py docs/doxygen/CMakeLists.txt docs/CMakeLists.txt include/gnuradio/iqbalance/api.h include/gnuradio/iqbalance/CMakeLists.txt swig/CMakeLists.txt cmake/Modules/GrTest.cmake cmake/Modules/GrPlatform.cmake cmake/Modules/GrPython.cmake cmake/Modules/GrSwig.cmake cmake/Modules/GrMiscUtils.cmake CMakeLists.txt grc/CMakeLists.txt Copyright: 2008-2012 Free Software Foundation, Inc. Comment: From GNU Radio templates License: GPL-3+ Files: debian/* Copyright: 2013 A. Maitland Bottoms License: GPL-3+ Files: * not listed above Copyright: 2011-2013 Sylvain Munaut License: GPL-3+ This 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. . This software 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 software; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Boston, MA 02110-1301, USA. License: GPL-2+ This package 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. . This package 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, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/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/LGPL-3'. debian/patches/0000755000000000000000000000000012226426165010623 5ustar debian/patches/debian-soname0000644000000000000000000000103012226426165013242 0ustar --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -29,6 +29,8 @@ ) add_library(gnuradio-iqbalance SHARED ${iqbalance_sources} ${LIBOSMODSP_SOURCES}) +set_target_properties(gnuradio-iqbalance PROPERTIES OUTPUT_NAME gnuradio-iqbalance) +set_target_properties(gnuradio-iqbalance PROPERTIES SOVERSION 0 VERSION 0.0.0) target_link_libraries(gnuradio-iqbalance ${Boost_LIBRARIES} ${GNURADIO_RUNTIME_LIBRARIES} ${LIBOSMODSP_LIBRARIES}) set_target_properties(gnuradio-iqbalance PROPERTIES DEFINE_SYMBOL "gnuradio_iqbalance_EXPORTS") debian/patches/cmake2.80000644000000000000000000000371012226424663012060 0ustar --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,8 @@ ######################################################################## # Project setup ######################################################################## -cmake_minimum_required(VERSION 2.6) +cmake_minimum_required(VERSION 2.8) +include(GNUInstallDirs) project(gr-iqbalance CXX C) enable_testing() --- a/cmake/Modules/GrPython.cmake +++ b/cmake/Modules/GrPython.cmake @@ -122,7 +122,7 @@ # Install python sources (also builds and installs byte-compiled python) ######################################################################## function(GR_PYTHON_INSTALL) - include(CMakeParseArgumentsCopy) + include(CMakeParseArguments) CMAKE_PARSE_ARGUMENTS(GR_PYTHON_INSTALL "" "DESTINATION;COMPONENT" "FILES;PROGRAMS" ${ARGN}) #################################################################### --- a/cmake/Modules/GrSwig.cmake +++ b/cmake/Modules/GrSwig.cmake @@ -185,7 +185,7 @@ ######################################################################## macro(GR_SWIG_INSTALL) - include(CMakeParseArgumentsCopy) + include(CMakeParseArguments) CMAKE_PARSE_ARGUMENTS(GR_SWIG_INSTALL "" "DESTINATION;COMPONENT" "TARGETS" ${ARGN}) foreach(name ${GR_SWIG_INSTALL_TARGETS}) --- a/cmake/Modules/GrMiscUtils.cmake +++ b/cmake/Modules/GrMiscUtils.cmake @@ -110,7 +110,7 @@ endif() if(GENERATE_LIBTOOL) - include(CMakeParseArgumentsCopy) + include(CMakeParseArguments) CMAKE_PARSE_ARGUMENTS(GR_LIBTOOL "" "TARGET;DESTINATION" "" ${ARGN}) find_program(LIBTOOL libtool) @@ -130,7 +130,7 @@ ######################################################################## function(GR_LIBRARY_FOO target) #parse the arguments for component names - include(CMakeParseArgumentsCopy) + include(CMakeParseArguments) CMAKE_PARSE_ARGUMENTS(GR_LIBRARY "" "RUNTIME_COMPONENT;DEVEL_COMPONENT" "" ${ARGN}) #set additional target properties debian/patches/series0000644000000000000000000000002712226426042012031 0ustar cmake2.8 debian-soname debian/control0000644000000000000000000000331712226430225010573 0ustar Source: gr-iqbal Section: libs Priority: extra Maintainer: A. Maitland Bottoms Build-Depends: debhelper (>= 9), cmake, pkg-config, gnuradio-dev, libboost-all-dev, libfftw3-dev, liblog4cpp5-dev, swig, python-numpy Standards-Version: 3.9.4 Homepage: http://cgit.osmocom.org/cgit/gr-iqbal/ Vcs-Git: git://git.osmocom.org/gr-iqbal.git Package: gr-iqbal Section: libdevel Architecture: any Pre-Depends: multiarch-support, ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, libgnuradio-iqbalance0 (=${binary:Version}) Description: GNU Radio Blind IQ imbalance estimator and correction The general idea is to suppress symmetrical images caused by IQ imbalance in the RX path of quadrature receivers. It's composed of two subblocks: . "IQ Bal Fix": This applies the actual correction. to a complex stream. The correction parameters are only magnitude/phase and the actual correction algo is the same as applied in hardware in the USRP. You can either specify the correction parameters manually on the block, or send them via 'messages'. . "IQ Bal Optimize": This blocks tries to blindly detect the imbalance by minimizing the correlation between the left and right part of the spectrum. See the code for the "how it does it". The general idea is inspired from papers found on the internet and the way some SDR software achieve the same things (sdr# for eg, although there are significant differences in the actual implementation). Package: libgnuradio-iqbalance0 Architecture: any Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: gr-iqbal Description: GNU Radio Blind IQ imbalance estimator and correction This package provides a shared library for gr-iqbal. debian/changelog0000644000000000000000000000067512260052773011054 0ustar gr-iqbal (0.37.1.5.d4fd4d-1) unstable; urgency=low * latest upstream commit, use with gnuradio 3.7.2.1 uses libosmo-dsp commit 59e29c -- A. Maitland Bottoms Sun, 29 Dec 2013 10:56:16 -0500 gr-iqbal (0.37.1.4.a1bca1f9-1) unstable; urgency=low * New upstream snapshot (Closes: #725843). * Match GNU Radio live distribution version -- A. Maitland Bottoms Sat, 28 Sep 2013 22:55:08 -0400 debian/gr-iqbal.install0000644000000000000000000000012312226427075012257 0ustar usr/include usr/share/gnuradio /usr/lib/*/libgnuradio-iqbalance.so usr/lib/python* debian/libgnuradio-iqbalance0.install0000644000000000000000000000012112226427126015050 0ustar /usr/lib/*/pkgconfig/gnuradio-iqbalance.pc /usr/lib/*/libgnuradio-iqbalance.so.* debian/source/0000755000000000000000000000000011743362366010501 5ustar debian/source/format0000644000000000000000000000001411661232106011672 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212025463424010366 0ustar 9 debian/rules0000755000000000000000000000206512260051731010246 0ustar #!/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]+\.(),\1,p') %: dh $@ override_dh_auto_configure: dh_auto_configure -- -DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH) -DCMAKE_BUILD_TYPE="Release" override_dh_install: rm -f debian/tmp/usr/lib/python2.7/dist-packages/gnuradio/iqbalance/*.pyc rm -f debian/tmp/usr/lib/python2.7/dist-packages/gnuradio/iqbalance/*.pyo dh_install get-orig-source: git clone git://git.osmocom.org/gr-iqbal cd gr-iqbal && git archive --format=tar --prefix=gr-iqbal-$(VER)/ $(GITREV) | gzip > ../gr-iqbal_$(VER).orig.tar.gz rm -rf gr-iqbal git clone git://git.osmocom.org/libosmo-dsp cd libosmo-dsp && git archive --format=tar --prefix=libosmo-dsp-59e29c/ 59e29c | gzip > ../gr-iqbal_$(VER).orig-libosmo-dsp.tar.gz rm -rf libosmo-dsp/.git