summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2014-02-05 02:47:31 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2014-02-05 02:47:31 +0000
commitdcde664e6354d681d125f886b40a3e02c0104a41 (patch)
tree830723c64d54b368c8b3fb1e96d8c1b559900f46 /net-analyzer
parentVersion bump to 1.1.3. (diff)
downloadhistorical-dcde664e6354d681d125f886b40a3e02c0104a41.tar.gz
historical-dcde664e6354d681d125f886b40a3e02c0104a41.tar.bz2
historical-dcde664e6354d681d125f886b40a3e02c0104a41.zip
Add patch for gnuradio-3.7 compatibility.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/gsm-receiver/ChangeLog9
-rw-r--r--net-analyzer/gsm-receiver/Manifest5
-rw-r--r--net-analyzer/gsm-receiver/files/0001-gsm-receiver-build-against-gnuradio-3.7.patch323
-rw-r--r--net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild18
4 files changed, 340 insertions, 15 deletions
diff --git a/net-analyzer/gsm-receiver/ChangeLog b/net-analyzer/gsm-receiver/ChangeLog
index 1a9d1f78dba1..09ee3f317751 100644
--- a/net-analyzer/gsm-receiver/ChangeLog
+++ b/net-analyzer/gsm-receiver/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/gsm-receiver
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gsm-receiver/ChangeLog,v 1.4 2013/07/10 11:27:17 chithanh Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gsm-receiver/ChangeLog,v 1.5 2014/02/05 02:47:25 chithanh Exp $
+
+ 05 Feb 2014; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +files/0001-gsm-receiver-build-against-gnuradio-3.7.patch,
+ gsm-receiver-9999.ebuild:
+ Add patch for gnuradio-3.7 compatibility.
10 Jul 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
gsm-receiver-9999.ebuild:
diff --git a/net-analyzer/gsm-receiver/Manifest b/net-analyzer/gsm-receiver/Manifest
index d5d0bf524015..76bff2f6a0aa 100644
--- a/net-analyzer/gsm-receiver/Manifest
+++ b/net-analyzer/gsm-receiver/Manifest
@@ -1,3 +1,4 @@
-EBUILD gsm-receiver-9999.ebuild 1023 SHA256 d667f2c592e716a17c70f2576360048f301d57e6dc5da1757bacda5e3eba25fa SHA512 52bf25bc3a6b3a467d8c278514c5bfbc10f2420c77b38956354334b8cd3d49cc236ab1256df2655cbd1403f955885ed60e60775e146db39b82e9ffc61667f86b WHIRLPOOL 64b36265624d2b645f4b138f49ab874c1602fa029b5d07736a398ba1ad7936555fa2a37dc046a363925cc0b6bc37680ac4fadc932ceb516e6b4585659709fed1
-MISC ChangeLog 877 SHA256 908a4c5f0e93d10b37b07436eb25cefc75c7c6fa72088bc53a94c51c84a8bef4 SHA512 0ebf567e82cf6fe23d2a6cf97b65f4aefcbcc07d994e820daba577961441ee3827f37ef822cf060f958f7246581b776260e8e3b11cbf84d9b3386e722b1959f2 WHIRLPOOL 0ff4a55828ce746f85a3345487a913a104e3f7d51309e8e1a266171cba4533d497cdd0bc107ac9432d7e9a0d1066727486eb943b47795608ee4a4adc3471143e
+AUX 0001-gsm-receiver-build-against-gnuradio-3.7.patch 13458 SHA256 334b4531676148e172aaf20f8a34b9465d103813a04b773d9233e2444dba7941 SHA512 29d7ec1845ec7b5d126cb2844b8704410c37031ffd267b170e3d5a80971dc95c9c1ad38038b66feec3a01ce67fb25dba292d12972cea3d94dccf3b119498ecd4 WHIRLPOOL 74e5a035a3ec912e4e987fcaaf21ba0b16a97245e444b44f300eb8c184c102b2c1c4443680656fa4a2d944cce073109fff09ca187240dc76449badc9251ebe1a
+EBUILD gsm-receiver-9999.ebuild 1039 SHA256 be4c115de6e23911c3dc74cfad62cc7f8b2994c6372e01bd654afe990b1d8b55 SHA512 71f346d7c82fceb8a080b28c738e5e85fdfe9151369a31a789a55e5eee7497e2a1c679a7708c27574a03088240209dd46ed8c924305e4f15c3ebaaa21cd24570 WHIRLPOOL 9b01580e4315b2a95c82f90057e0dcb9a8e4818688ef74eeb741a17bf5523af9e6cbaed496c6173919cd24b65a0f76131b3db8564c42474fb9d14556a8a80da1
+MISC ChangeLog 1080 SHA256 3ee659bd87a48e32459de19ef6aa54a6d6844f33959f8a97407ec0c81838bb1f SHA512 3371577691407fe1c6314e6e5d5e2af5ea49443e4cea5e622feced5c4cee154c482d7217c0a29576044520f1e1fc4032409c318cf8552f0ff471b529dcc04e7f WHIRLPOOL ec5eaaf08397192ea776eedd3c0d22d0115036428ee851a03c55c3fe82649ba085a84e675b253cafd620efc1b2c61bd5496a36679ee7367d5ed37145a4f823f4
MISC metadata.xml 160 SHA256 85c481a245f23f79fbef161bee8d9b8437f1b1e672a8fdb2dbd20f10c7c69f7b SHA512 6c07e111ed731e33aa9072a2b9297020ded8a259da43d2910a576363055c772d3f8a735e435c6f3136b7e57d489b2ca164e24b490393add3a7c5b3a11e7da507 WHIRLPOOL c3d4674d072eb96840d34218341e427cec657d31392d484fedfa61b6da802ab1e1b7ffb4d8dbc1eb75980e203ce8415609fb733789674250ae7ed91eda2b674f
diff --git a/net-analyzer/gsm-receiver/files/0001-gsm-receiver-build-against-gnuradio-3.7.patch b/net-analyzer/gsm-receiver/files/0001-gsm-receiver-build-against-gnuradio-3.7.patch
new file mode 100644
index 000000000000..b7683f38b683
--- /dev/null
+++ b/net-analyzer/gsm-receiver/files/0001-gsm-receiver-build-against-gnuradio-3.7.patch
@@ -0,0 +1,323 @@
+From c9809ac05224ccf3a7fce1dda8c7eddedbbf3a56 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ch=C3=AD-Thanh=20Christopher=20Nguy=E1=BB=85n?=
+ <chithanh@gentoo.org>
+Date: Wed, 5 Feb 2014 03:21:37 +0100
+Subject: [PATCH] gsm-receiver: build against gnuradio-3.7
+
+This is the result of blindly following
+http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7
+The result builds, but it may or may not work.
+---
+ gsm-receiver/Makefile.common | 7 ++--
+ gsm-receiver/config/Makefile.am | 2 +-
+ .../config/gr_libgnuradio_core_extra_ldflags.m4 | 40 ----------------------
+ .../config/gr_libgnuradio_runtime_extra_ldflags.m4 | 40 ++++++++++++++++++++++
+ gsm-receiver/config/gr_standalone.m4 | 5 ++-
+ gsm-receiver/gsm-receiver.pc.in | 2 +-
+ gsm-receiver/src/lib/gsm.i | 15 ++++++--
+ gsm-receiver/src/lib/gsm_receiver_cf.cc | 16 ++++-----
+ gsm-receiver/src/lib/gsm_receiver_cf.h | 18 +++++-----
+ 9 files changed, 76 insertions(+), 69 deletions(-)
+ delete mode 100644 gsm-receiver/config/gr_libgnuradio_core_extra_ldflags.m4
+ create mode 100644 gsm-receiver/config/gr_libgnuradio_runtime_extra_ldflags.m4
+
+diff --git a/gsm-receiver/Makefile.common b/gsm-receiver/Makefile.common
+index b5dcb2e..0592f70 100644
+--- a/gsm-receiver/Makefile.common
++++ b/gsm-receiver/Makefile.common
+@@ -28,7 +28,7 @@ AM_CPPFLAGS = \
+ $(STD_DEFINES_AND_INCLUDES) \
+ $(PYTHON_CPPFLAGS) \
+ $(CPPUNIT_INCLUDES) \
+- $(GNURADIO_CORE_CPPFLAGS)
++ $(GNURADIO_RUNTIME_CPPFLAGS)
+
+ #!! remove this
+ TCH_DECODER_INCLUDEDIR = $(top_srcdir)/src/lib/decoder/openbtsstuff
+@@ -36,9 +36,8 @@ TCH_DECODER_INCLUDEDIR = $(top_srcdir)/src/lib/decoder/openbtsstuff
+ STD_DEFINES_AND_INCLUDES = \
+ -I$(DECODER_INCLUDEDIR) \
+ -I$(MAIN_INCLUDEDIR) \
+- -I$(GNURADIO_CORE_INCLUDEDIR) \
+- -I$(GNURADIO_CORE_INCLUDEDIR)/swig \
+- -I$(GRUEL_INCLUDEDIR)/gruel/swig \
++ -I$(GNURADIO_RUNTIME_INCLUDEDIR) \
++ -I$(GNURADIO_RUNTIME_INCLUDEDIR)/gnuradio/swig \
+ $(LIBOSMOCORE_CFLAGS) \
+ -I$(TCH_DECODER_INCLUDEDIR)
+
+diff --git a/gsm-receiver/config/Makefile.am b/gsm-receiver/config/Makefile.am
+index 5858d22..1fdc0e5 100644
+--- a/gsm-receiver/config/Makefile.am
++++ b/gsm-receiver/config/Makefile.am
+@@ -51,7 +51,7 @@ m4macros = \
+ gr_fortran.m4 \
+ gr_gprof.m4 \
+ gr_lib64.m4 \
+- gr_libgnuradio_core_extra_ldflags.m4 \
++ gr_libgnuradio_runtime_extra_ldflags.m4 \
+ gr_no_undefined.m4 \
+ gr_omnithread.m4 \
+ gr_pwin32.m4 \
+diff --git a/gsm-receiver/config/gr_libgnuradio_core_extra_ldflags.m4 b/gsm-receiver/config/gr_libgnuradio_core_extra_ldflags.m4
+deleted file mode 100644
+index 43f872c..0000000
+--- a/gsm-receiver/config/gr_libgnuradio_core_extra_ldflags.m4
++++ /dev/null
+@@ -1,40 +0,0 @@
+-# Check for (MinGW)win32 extra ld options. -*- Autoconf -*-
+-
+-# Copyright 2003,2004,2005 Free Software Foundation, Inc.
+-#
+-# This file is part of GNU Radio
+-#
+-# GNU Radio is free software; you can redistribute it and/or modify
+-# it under the terms of the GNU General Public License as published by
+-# the Free Software Foundation; either version 3, or (at your option)
+-# any later version.
+-#
+-# GNU Radio is distributed in the hope that it will be useful,
+-# but WITHOUT ANY WARRANTY; without even the implied warranty of
+-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-# GNU General Public License for more details.
+-#
+-# You should have received a copy of the GNU General Public License
+-# along with GNU Radio; see the file COPYING. If not, write to
+-# the Free Software Foundation, Inc., 51 Franklin Street,
+-# Boston, MA 02110-1301, USA.
+-
+-dnl
+-AC_DEFUN([GR_LIBGNURADIO_CORE_EXTRA_LDFLAGS], [
+-AC_REQUIRE([AC_PROG_LD])
+-# on Mingw32 extra LDFLAGS are required to ease global variable linking
+-LIBGNURADIO_CORE_EXTRA_LDFLAGS=""
+-
+-AC_MSG_CHECKING([whether $LD accepts --enable-runtime-pseudo-reloc])
+-if ${LD} --enable-runtime-pseudo-reloc --version >/dev/null 2>&1
+-then
+- # libtool requires the quotes
+- LIBGNURADIO_CORE_EXTRA_LDFLAGS="\"-Wl,--enable-runtime-pseudo-reloc\""
+- AC_MSG_RESULT(yes)
+-else
+- AC_MSG_RESULT(no)
+-fi
+-
+-AC_SUBST(LIBGNURADIO_CORE_EXTRA_LDFLAGS)
+-
+-])
+diff --git a/gsm-receiver/config/gr_libgnuradio_runtime_extra_ldflags.m4 b/gsm-receiver/config/gr_libgnuradio_runtime_extra_ldflags.m4
+new file mode 100644
+index 0000000..92e8c97
+--- /dev/null
++++ b/gsm-receiver/config/gr_libgnuradio_runtime_extra_ldflags.m4
+@@ -0,0 +1,40 @@
++# Check for (MinGW)win32 extra ld options. -*- Autoconf -*-
++
++# Copyright 2003,2004,2005 Free Software Foundation, Inc.
++#
++# This file is part of GNU Radio
++#
++# GNU Radio is free software; you can redistribute it and/or modify
++# it under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 3, or (at your option)
++# any later version.
++#
++# GNU Radio is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++# GNU General Public License for more details.
++#
++# You should have received a copy of the GNU General Public License
++# along with GNU Radio; see the file COPYING. If not, write to
++# the Free Software Foundation, Inc., 51 Franklin Street,
++# Boston, MA 02110-1301, USA.
++
++dnl
++AC_DEFUN([GR_LIBGNURADIO_RUNTIME_EXTRA_LDFLAGS], [
++AC_REQUIRE([AC_PROG_LD])
++# on Mingw32 extra LDFLAGS are required to ease global variable linking
++LIBGNURADIO_RUNTIME_EXTRA_LDFLAGS=""
++
++AC_MSG_CHECKING([whether $LD accepts --enable-runtime-pseudo-reloc])
++if ${LD} --enable-runtime-pseudo-reloc --version >/dev/null 2>&1
++then
++ # libtool requires the quotes
++ LIBGNURADIO_RUNTIME_EXTRA_LDFLAGS="\"-Wl,--enable-runtime-pseudo-reloc\""
++ AC_MSG_RESULT(yes)
++else
++ AC_MSG_RESULT(no)
++fi
++
++AC_SUBST(LIBGNURADIO_RUNTIME_EXTRA_LDFLAGS)
++
++])
+diff --git a/gsm-receiver/config/gr_standalone.m4 b/gsm-receiver/config/gr_standalone.m4
+index 4e097d2..14f286c 100644
+--- a/gsm-receiver/config/gr_standalone.m4
++++ b/gsm-receiver/config/gr_standalone.m4
+@@ -114,7 +114,6 @@ m4_define([GR_STANDALONE],
+ AC_CHECK_PROG([XMLTO],[xmlto],[yes],[])
+ AM_CONDITIONAL([HAS_XMLTO], [test x$XMLTO = xyes])
+
+- PKG_CHECK_MODULES(GNURADIO_CORE, gnuradio-core >= 3)
+- LIBS="$LIBS $GNURADIO_CORE_LIBS"
+- PKG_CHECK_MODULES(GRUEL, gruel >= 3)
++ PKG_CHECK_MODULES(GNURADIO_RUNTIME, gnuradio-runtime >= 3)
++ LIBS="$LIBS $GNURADIO_RUNTIME_LIBS"
+ ])
+diff --git a/gsm-receiver/gsm-receiver.pc.in b/gsm-receiver/gsm-receiver.pc.in
+index 0a18d4b..9ceca56 100644
+--- a/gsm-receiver/gsm-receiver.pc.in
++++ b/gsm-receiver/gsm-receiver.pc.in
+@@ -5,7 +5,7 @@ includedir=@includedir@
+
+ Name: gsm-receiver
+ Description: The GSM receiver block which does FCCH burst search, sch decoding and normal burst demodulation
+-Requires: gnuradio-core
++Requires: gnuradio-runtime
+ Version: @VERSION@
+ Libs: -L${libdir} -lgsm-receiver
+ Cflags: -I${includedir}
+diff --git a/gsm-receiver/src/lib/gsm.i b/gsm-receiver/src/lib/gsm.i
+index b3c1d81..3f58e16 100644
+--- a/gsm-receiver/src/lib/gsm.i
++++ b/gsm-receiver/src/lib/gsm.i
+@@ -37,18 +37,27 @@
+ #include "gsm_receiver_cf.h"
+ #include <stdexcept>
+ /* #include "gsm_constants.h" */
++#include <gnuradio/block.h>
++#include <gnuradio/sync_block.h>
++#include <gnuradio/sync_decimator.h>
++#include <gnuradio/sync_interpolator.h>
++#include <gnuradio/tagged_stream_block.h>
++#include <gnuradio/block_gateway.h>
++#include <gnuradio/feval.h>
++#include <gnuradio/py_feval.h>
++#include <gnuradio/high_res_timer.h>
+ %}
+
+ // ----------------------------------------------------------------
+
+ GR_SWIG_BLOCK_MAGIC(gsm,receiver_cf);
+
+-gsm_receiver_cf_sptr gsm_make_receiver_cf ( gr_feval_dd *tuner, gr_feval_dd *synchronizer, int osr, std::string key, std::string configuration);
++gsm_receiver_cf_sptr gsm_make_receiver_cf ( gr::feval_dd *tuner, gr::feval_dd *synchronizer, int osr, std::string key, std::string configuration);
+
+-class gsm_receiver_cf : public gr_block
++class gsm_receiver_cf : public gr::block
+ {
+ private:
+- gsm_receiver_cf ( gr_feval_dd *tuner, gr_feval_dd *synchronizer, int osr);
++ gsm_receiver_cf ( gr::feval_dd *tuner, gr::feval_dd *synchronizer, int osr);
+ };
+
+ // ----------------------------------------------------------------
+diff --git a/gsm-receiver/src/lib/gsm_receiver_cf.cc b/gsm-receiver/src/lib/gsm_receiver_cf.cc
+index b4e7a69..6bfdf5d 100644
+--- a/gsm-receiver/src/lib/gsm_receiver_cf.cc
++++ b/gsm-receiver/src/lib/gsm_receiver_cf.cc
+@@ -24,8 +24,8 @@
+ #include "config.h"
+ #endif
+
+-#include <gr_io_signature.h>
+-#include <gr_math.h>
++#include <gnuradio/io_signature.h>
++#include <gnuradio/math.h>
+ #include <math.h>
+ #include <Assert.h>
+ #include <boost/circular_buffer.hpp>
+@@ -289,7 +289,7 @@ typedef std::vector<float> vector_float;
+ typedef boost::circular_buffer<float> circular_buffer_float;
+
+ gsm_receiver_cf_sptr
+-gsm_make_receiver_cf(gr_feval_dd *tuner, gr_feval_dd *synchronizer, int osr, std::string key, std::string configuration)
++gsm_make_receiver_cf(gr::feval_dd *tuner, gr::feval_dd *synchronizer, int osr, std::string key, std::string configuration)
+ {
+ return gsm_receiver_cf_sptr(new gsm_receiver_cf(tuner, synchronizer, osr, key, configuration));
+ }
+@@ -302,10 +302,10 @@ static const int MAX_OUT = 1; // maximum number of output streams
+ /*
+ * The private constructor
+ */
+-gsm_receiver_cf::gsm_receiver_cf(gr_feval_dd *tuner, gr_feval_dd *synchronizer, int osr, std::string key, std::string configuration)
+- : gr_block("gsm_receiver",
+- gr_make_io_signature(MIN_IN, MAX_IN, sizeof(gr_complex)),
+- gr_make_io_signature(MIN_OUT, MAX_OUT, 142 * sizeof(float))),
++gsm_receiver_cf::gsm_receiver_cf(gr::feval_dd *tuner, gr::feval_dd *synchronizer, int osr, std::string key, std::string configuration)
++ : gr::block("gsm_receiver",
++ gr::io_signature::make(MIN_IN, MAX_IN, sizeof(gr_complex)),
++ gr::io_signature::make(MIN_OUT, MAX_OUT, 142 * sizeof(float))),
+ d_OSR(osr),
+ d_chan_imp_length(CHAN_IMP_RESP_LENGTH),
+ d_tuner(tuner),
+@@ -751,7 +751,7 @@ void gsm_receiver_cf::set_frequency(double freq_offset)
+ inline float gsm_receiver_cf::compute_phase_diff(gr_complex val1, gr_complex val2)
+ {
+ gr_complex conjprod = val1 * conj(val2);
+- return gr_fast_atan2f(imag(conjprod), real(conjprod));
++ return gr::fast_atan2f(imag(conjprod), real(conjprod));
+ }
+
+ bool gsm_receiver_cf::reach_sch_burst(const int nitems)
+diff --git a/gsm-receiver/src/lib/gsm_receiver_cf.h b/gsm-receiver/src/lib/gsm_receiver_cf.h
+index 039a774..3478585 100644
+--- a/gsm-receiver/src/lib/gsm_receiver_cf.h
++++ b/gsm-receiver/src/lib/gsm_receiver_cf.h
+@@ -24,9 +24,9 @@
+
+ #include <vector>
+ #include <list>
+-#include <gr_block.h>
+-#include <gr_complex.h>
+-#include <gr_feval.h>
++#include <gnuradio/block.h>
++#include <gnuradio/gr_complex.h>
++#include <gnuradio/feval.h>
+ #include <gsm_constants.h>
+ #include <gsm_receiver_config.h>
+
+@@ -42,7 +42,7 @@ class gsm_receiver_cf;
+ typedef boost::shared_ptr<gsm_receiver_cf> gsm_receiver_cf_sptr;
+ typedef std::vector<gr_complex> vector_complex;
+
+-gsm_receiver_cf_sptr gsm_make_receiver_cf(gr_feval_dd *tuner, gr_feval_dd *synchronizer, int osr, std::string key, std::string configuration);
++gsm_receiver_cf_sptr gsm_make_receiver_cf(gr::feval_dd *tuner, gr::feval_dd *synchronizer, int osr, std::string key, std::string configuration);
+
+ /** GSM Receiver GNU Radio block
+ *
+@@ -52,7 +52,7 @@ gsm_receiver_cf_sptr gsm_make_receiver_cf(gr_feval_dd *tuner, gr_feval_dd *synch
+ * \ingroup block
+ */
+
+-class gsm_receiver_cf : public gr_block
++class gsm_receiver_cf : public gr::block
+ {
+ private:
+ std::map<char,int> d_hex_to_int;
+@@ -76,8 +76,8 @@ class gsm_receiver_cf : public gr_block
+ gr_complex d_sch_training_seq[N_SYNC_BITS]; ///<encoded training sequence of a SCH burst
+ gr_complex d_norm_training_seq[TRAIN_SEQ_NUM][N_TRAIN_BITS]; ///<encoded training sequences of a normal bursts and dummy bursts
+
+- gr_feval_dd *d_tuner; ///<callback to a python object which is used for frequency tunning
+- gr_feval_dd *d_synchronizer; ///<callback to a python object which is used to correct offset of USRP's internal clock
++ gr::feval_dd *d_tuner; ///<callback to a python object which is used for frequency tunning
++ gr::feval_dd *d_synchronizer; ///<callback to a python object which is used to correct offset of USRP's internal clock
+
+ /** Countes samples consumed by the receiver
+ *
+@@ -120,8 +120,8 @@ class gsm_receiver_cf : public gr_block
+ // GSM Stack
+ GS_CTX d_gs_ctx;//TODO: remove it! it'a not right place for a decoder
+
+- friend gsm_receiver_cf_sptr gsm_make_receiver_cf(gr_feval_dd *tuner, gr_feval_dd *synchronizer, int osr, std::string key, std::string configuration);
+- gsm_receiver_cf(gr_feval_dd *tuner, gr_feval_dd *synchronizer, int osr, std::string key, std::string configuration);
++ friend gsm_receiver_cf_sptr gsm_make_receiver_cf(gr::feval_dd *tuner, gr::feval_dd *synchronizer, int osr, std::string key, std::string configuration);
++ gsm_receiver_cf(gr::feval_dd *tuner, gr::feval_dd *synchronizer, int osr, std::string key, std::string configuration);
+
+ /** Function whis is used to search a FCCH burst and to compute frequency offset before
+ * "synchronized" state of the receiver
+--
+1.8.3.2
+
diff --git a/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild b/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
index 4d62896bf7af..0b9f244588d4 100644
--- a/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
+++ b/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild,v 1.4 2013/07/10 11:27:17 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/gsm-receiver/gsm-receiver-9999.ebuild,v 1.5 2014/02/05 02:47:25 chithanh Exp $
EAPI=5
-PYTHON_DEPEND="2"
+PYTHON_COMPAT=( python{2_6,2_7} )
-inherit autotools git-2 python
+inherit autotools git-2 python-single-r1
DESCRIPTION="GSM receiver block from the airprobe suite"
HOMEPAGE="https://svn.berlin.ccc.de/projects/airprobe/"
@@ -17,7 +17,7 @@ KEYWORDS=""
IUSE=""
RDEPEND="net-libs/libosmocore
- <net-wireless/gnuradio-3.7_rc:0="
+ >=net-wireless/gnuradio-3.7_rc:0="
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -25,13 +25,9 @@ EGIT_REPO_URI="git://git.gnumonks.org/airprobe.git"
EGIT_SOURCEDIR="${S}"
S+=/${PN}
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
src_prepare() {
- python_convert_shebangs -q -r 2 "${S}"
+ epatch "${FILESDIR}"/0001-${PN}-build-against-gnuradio-3.7.patch
+ python_fix_shebang "${S}"
eautoreconf
}