Removing useless SWIW in GR3.9, restoring Copyrights + adding name to AUTHORS

pull/148/head
Sebastien Dudek 2021-12-03 19:42:25 +01:00
rodzic 3d89f5e4c2
commit 2752e2b57e
12 zmienionych plików z 10 dodań i 105 usunięć

Wyświetl plik

@ -4,3 +4,4 @@ Here is the list of contributors that made gr-lora possible. Thank you!
Eduard Marin <eduard.marin (<at>) esat.kuleuven.be>
William Thenaers <william.thenaers (<at>) student.pxl.be>
Clayton Smith <argilo (<at>) gmail.com>
Sébastien Dudek <sebastien.dudek(<at>) penthertz.com>

Wyświetl plik

@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
* Copyright 2021 gr-lora author.
* Copyright 2021 gr-lora rpp0.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/

Wyświetl plik

@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
* Copyright 2021 gr-lora author.
* Copyright 2021 gr-lora rpp0.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/

Wyświetl plik

@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2021 gr-lora author.
# Copyright 2021 gr-lora rpp0.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

Wyświetl plik

@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2021 gr-lora author.
# Copyright 2021 gr-lora rpp0.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

Wyświetl plik

@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2021 gr-lora author.
# Copyright 2021 gr-lora rpp0.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

Wyświetl plik

@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2021 gr-lora author.
# Copyright 2021 gr-lora rpp0.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

Wyświetl plik

@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2021 gr-lora author.
# Copyright 2021 gr-lora rpp0.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

Wyświetl plik

@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2021 gr-lora author.
# Copyright 2021 gr-lora rpp0.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

Wyświetl plik

@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2021 gr-lora author.
# Copyright 2021 gr-lora rpp0.
#
# SPDX-License-Identifier: GPL-3.0-or-later
#

Wyświetl plik

@ -1,65 +0,0 @@
# Copyright 2011 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.
########################################################################
# Check if there is C++ code at all
########################################################################
if(NOT lora_sources)
MESSAGE(STATUS "No C++ sources... skipping swig/")
return()
endif(NOT lora_sources)
########################################################################
# Include swig generation macros
########################################################################
find_package(SWIG)
find_package(PythonLibs)
if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND)
return()
endif()
include(GrSwig)
include(GrPython)
########################################################################
# Setup swig generation
########################################################################
set(GR_SWIG_INCLUDE_DIRS
$<TARGET_PROPERTY:gnuradio::runtime_swig,INTERFACE_INCLUDE_DIRECTORIES>)
set(GR_SWIG_TARGET_DEPS gnuradio::runtime_swig)
set(GR_SWIG_LIBRARIES gnuradio-lora)
set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/lora_swig_doc.i)
set(GR_SWIG_DOC_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../include)
GR_SWIG_MAKE(lora_swig lora_swig.i)
########################################################################
# Install the build swig module
########################################################################
GR_SWIG_INSTALL(TARGETS lora_swig DESTINATION ${GR_PYTHON_DIR}/lora)
########################################################################
# Install swig .i files for development
########################################################################
install(
FILES
lora_swig.i
${CMAKE_CURRENT_BINARY_DIR}/lora_swig_doc.i
DESTINATION ${GR_INCLUDE_DIR}/lora/swig
)

Wyświetl plik

@ -1,31 +0,0 @@
/* -*- c++ -*- */
#define LORA_API
%include "gnuradio.i" // the common stuff
//load generated python docstrings
%include "lora_swig_doc.i"
%{
#include "lora/decoder.h"
#include "lora/message_file_sink.h"
#include "lora/message_socket_sink.h"
#include "lora/channelizer.h"
#include "lora/controller.h"
#include "lora/message_socket_source.h"
%}
%include "lora/decoder.h"
GR_SWIG_BLOCK_MAGIC2(lora, decoder);
%include "lora/message_file_sink.h"
GR_SWIG_BLOCK_MAGIC2(lora, message_file_sink);
%include "lora/message_socket_sink.h"
GR_SWIG_BLOCK_MAGIC2(lora, message_socket_sink);
%include "lora/channelizer.h"
GR_SWIG_BLOCK_MAGIC2(lora, channelizer);
%include "lora/controller.h"
GR_SWIG_BLOCK_MAGIC2(lora, controller);
%include "lora/message_socket_source.h"
GR_SWIG_BLOCK_MAGIC2(lora, message_socket_source);