Skip to content

Commit f7929d0

Browse files
committed
cleaning up files and references to gnuradio-core.
1 parent cf08d9f commit f7929d0

File tree

17 files changed

+84
-75
lines changed

17 files changed

+84
-75
lines changed

README-win32-mingw-short.txt

+19-16
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,23 @@ automake-1.8 --add-missing
7373
If you run this script it will convert a clean cvs checkout to a version which you can configure, build and install
7474

7575
So now you can configure gnuradio.
76-
On win32 /mingw you need to give it a few parameters
77-
You need to tell it where cppunit is installed
78-
where boost include files are to be found
79-
where the pkg-config of libfftw is to be found
80-
to use a generic cpu (no 3Dnow,SSE,MMX) (This option will not be needed anymore soon)
81-
If you have boost installed in C:\boost_1_32_0 and cppunit and fftw in /usr/local then you would need the following configur commandline
82-
$ ./configure --with-md-cpu=generic --with-cppunit-prefix=/usr/local --with-boost-include-dir=/c/boost_1_32_0/include/boost-1_32 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
83-
84-
If everything went well you cannow do
85-
make
86-
make install
87-
88-
Now you have a working gnuradio-core
89-
Now you can go on building and installing gr-audio-windows and windows and wxgui
90-
remember that all gnuradio and python dlls need to be on your path to use gnuradio
91-
The gnuradio dlls are installed at
76+
On win32 / mingw you need to give it a few parameters:
77+
- You need to tell it where cppunit is installed
78+
- where boost include files are to be found
79+
- where the pkg-config of libfftw is to be found
80+
- to use a generic cpu (no 3Dnow, SSE, MMX) (This option will not be needed anymore soon)
81+
- If you have boost installed in C:\boost_1_32_0 and cppunit and fftw in /usr/local then you would need the following configure commandline:
82+
$ ./configure --with-md-cpu=generic --with-cppunit-prefix=/usr/local --with-boost-include-dir=/c/boost_1_32_0/include/boost-1_32 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
83+
84+
If everything went well you can now do:
85+
$ make
86+
$ make install
87+
88+
Now you have a working gnuradio-runtime.
89+
90+
Now you can go on building and installing gr-audio-windows and windows and wxgui.
91+
92+
Remember that all gnuradio and python dlls need to be on your path to use gnuradio.
93+
94+
The gnuradio dlls are installed at:
9295
/c/Python24/Lib/site-packages:/c/Python24/Lib/site-packages/gnuradio:/c/Python24/Lib/site-packages/gnuradio/gr

README.hacking

+1-9
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,9 @@ off the bit rot we've been plagued with.
153153
For C++ we're using the cppunit framework. cppunit has its bad
154154
smells, but it's mostly workable. http://cppunit.sf.net
155155

156-
Currently each directory <dirname> contains files qa_<dirname>.{h,cc}
156+
Currently each directory <dirname>/lib contains files qa_<dirname>.{h,cc}
157157
that bring together all the qa_<foo> test suites in the directory.
158-
We ought to be able to automate this without too much trouble.
159158

160-
The directory gnuradio-core/src/tests contains programs that run
161-
the tests. test_all runs all of the registered C++ unit tests.
162-
163-
As far as I can tell, the cppunit TestFactoryRegistry maybe able to be
164-
tricked into doing what we want. As is, I don't think it's enough by
165-
itself, since there's nothing dragging the qa* files out of the
166-
library and into the program. I haven't tested out this idea.
167159

168160
** Python unit tests
169161

cmake/Modules/GrMiscUtils.cmake

+5-5
Original file line numberDiff line numberDiff line change
@@ -268,15 +268,15 @@ function(GRCC)
268268
set(filenames ${ARGV})
269269
file(MAKE_DIRECTORY ${directory})
270270

271-
SET(GRCC_COMMAND ${CMAKE_SOURCE_DIR}/gr-utils/src/python/grcc)
271+
SET(GRCC_COMMAND ${CMAKE_SOURCE_DIR}/gr-utils/python/grcc)
272272

273-
# GRCC uses some stuff in grc and gnuradio-core, so we force
273+
# GRCC uses some stuff in grc and gnuradio-runtime, so we force
274274
# the known paths here
275275
list(APPEND PYTHONPATHS
276276
${CMAKE_SOURCE_DIR}
277-
${CMAKE_SOURCE_DIR}/gnuradio-core/src/python
278-
${CMAKE_SOURCE_DIR}/gnuradio-core/src/lib/swig
279-
${CMAKE_BINARY_DIR}/gnuradio-core/src/lib/swig
277+
${CMAKE_SOURCE_DIR}/gnuradio-runtime/python
278+
${CMAKE_SOURCE_DIR}/gnuradio-runtime/lib/swig
279+
${CMAKE_BINARY_DIR}/gnuradio-runtime/lib/swig
280280
)
281281

282282
if(WIN32)

docs/doxygen/Doxyfile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ INPUT_FILTER =
735735
# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER
736736
# is applied to all files.
737737

738-
FILTER_PATTERNS = *.py=@top_srcdir@/gnuradio-core/doc/other/doxypy.py
738+
FILTER_PATTERNS = *.py=@top_srcdir@/docs/doxygen/other/doxypy.py
739739

740740
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
741741
# INPUT_FILTER) will be used to filter the input files when producing source

docs/doxygen/README.doxyxml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Doxygen.
1111

1212
$ python swig_doc.py \
1313
$(top_builddir)/docstrings/docs/doxygen/xml \
14-
$(top_srcdir)/gnuradio-core/src/lib/swig/swig_doc.i
14+
$(top_srcdir)/gnuradio-runtime/swig/swig_doc.i
1515

1616
This uses the XML output of Doxygen to to rebuild a SWIG file that
1717
contains all of the current Doxygen markups.

docs/doxygen/other/logger.dox

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ to disable a logger.
3030

3131
\subsection configfile Logging Configuration
3232

33-
The logging configuration can be found in the gnuradio-core.conf file
33+
The logging configuration can be found in the gnuradio-runtime.conf file
3434
under the [LOG] section. This allows us fairly complete control over
3535
the logging facilities. The main configuration functions are to set up
3636
the level of the loggers and set the default output behavior of the

docs/doxygen/other/main_page.dox

+3-3
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,9 @@ config file itself.
413413
New as of 3.6.5.
414414

415415
Using gr_modtool, each package comes with the ability to easily locate
416-
the gnuradio-core library using the 'find_package(GnuradioCore)' cmake
417-
command. This only locates that the library and include directories
418-
exist, which is enough for most simple projects.
416+
the gnuradio-runtime library using the 'find_package(GnuradioRuntime)'
417+
cmake command. This only locates that the library and include
418+
directories exist, which is enough for most simple projects.
419419

420420
As projects become more complicated and start needing to rely on other
421421
GNU Radio components like gnuradio-blocks or gnuradio-filter, for

docs/doxygen/other/msg_passing.dox

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,6 @@ All of these mechanisms are explored and tested in the QA code of the
264264
file qa_pdu.py.
265265

266266
There are some examples of using the message passing infrastructure
267-
through GRC in gnuradio-core/src/examples/msg_passing.
267+
through GRC in gr-blocks/examples/msg_passing.
268268

269269
*/

gnuradio-runtime/include/gnuradio/realtime_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ namespace gr {
8787
*/
8888

8989
// NOTE: If you change this, you need to change the code in
90-
// gnuradio-core/src/lib/runtime/gr_realtime.i, see note there.
90+
// gnuradio-runtime/swig/realtime.i, see note there.
9191
rt_status_t
9292
GR_RUNTIME_API enable_realtime_scheduling(rt_sched_param = rt_sched_param());
9393

gnuradio-runtime/lib/posix_memalign.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ int posix_memalign
9898
* (enough for the input arguments); no idea what to do.
9999
*/
100100

101-
#error gnuradio-core/src/libmissing/posix_memalign.cc: Cannot find a way to alloc aligned memory.
101+
#error gnuradio-runtime/lib/posix_memalign.cc: Cannot find a way to alloc aligned memory.
102102

103103
#endif
104104

gnuradio-runtime/python/gnuradio/gr/prefs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Boston, MA 02110-1301, USA.
2020
#
2121

22-
import gnuradio_core as gsp
22+
import gnuradio_runtime as gsp
2323
_prefs_base = gsp.prefs
2424

2525

gnuradio-runtime/swig/msg_queue.i

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ namespace gr {
7474
/*
7575
* The following kludge-o-rama releases the Python global interpreter
7676
* lock around these potentially blocking calls. We don't want
77-
* libgnuradio-core to be dependent on Python, thus we create these
77+
* libgnuradio-runtime to be dependent on Python, thus we create these
7878
* functions that serve as replacements for the normal C++ delete_head
7979
* and insert_tail methods. The %pythoncode smashes these new C++
8080
* functions into the gr.msg_queue wrapper class, so that everything

gr-audio/README

-11
This file was deleted.

gr-audio/doc/README.audio

+23-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
1-
This is the gr-audio package. This package includes all of the
2-
supported audio interfaces, including:
3-
- alsa
4-
- oss
5-
- jack
6-
- portaudio
7-
- osx
8-
- windows
9-
10-
Typically, the audio package will auto-detect the proper driver to use
11-
based on the system it is run on. Import this package with:
1+
The gnuradio audio component provides gr::audio::source and
2+
gr::audio::sink blocks. The audio blocks stream floating point samples
3+
to and from audio hardware.
4+
5+
The gr-audio component will be built automatically when
6+
gnuradio-runtime is enabled. Support for underlying audio
7+
architectures depends on OS and installed libraries. At the time of
8+
writing, gr-audio supports OSS, ALSA, Jack, Portaudio, Audiounit, and
9+
Winmm.
10+
11+
At runtime, gr-audio will automatically select from the available
12+
architectures. The user can override the selection via configuration
13+
file by setting "audio_module" to one of the following strings:
14+
- oss
15+
- alsa
16+
- jack
17+
- portaudio
18+
- osx
19+
- windows
20+
21+
See gr-audio.conf for an example.
22+
23+
Import this package with:
1224

1325
from gnuradio import audio
1426

gr-audio/doc/audio.dox

+21-8
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,41 @@
22

33
\section Introduction
44

5-
This is the gr-audio package. This package includes all of the
6-
supported audio interfaces, including:
5+
The gnuradio audio component provides gr::audio::source and
6+
gr::audio::sink blocks. The audio blocks stream floating point samples
7+
to and from audio hardware.
8+
9+
The gr-audio component will be built automatically when
10+
gnuradio-runtime is enabled. Support for underlying audio
11+
architectures depends on OS and installed libraries. At the time of
12+
writing, gr-audio supports OSS, ALSA, Jack, Portaudio, Audiounit, and
13+
Winmm.
14+
15+
At runtime, gr-audio will automatically select from the available
16+
architectures. The user can override the selection via configuration
17+
file by setting "audio_module" to one of the following strings:
718

8-
\li alsa
919
\li oss
20+
\li alsa
1021
\li jack
1122
\li portaudio
1223
\li osx
1324
\li windows
1425

26+
See gr-audio.conf for an example.
27+
28+
Import this package with:
29+
1530
\code
1631
from gnuradio import audio
1732
\endcode
1833

1934
See the Doxygen documentation for details about the blocks available
20-
in this package. The relevant blocks are listed in the \ref audio_blk group.
21-
22-
A quick listing of the details can be found in Python after importing
23-
by using:
35+
in this package. A quick listing of the details can be found in Python
36+
after importing by using:
2437

2538
\code
26-
help(digital)
39+
help(audio)
2740
\endcode
2841

2942

gr-filter/include/gnuradio/filter/mmse_fir_interpolator_cc.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ namespace gr {
4444
* quantized in the interpolate method to 32nd's of a sample.
4545
*
4646
* For more information, in the GNU Radio source code, see:
47-
* \li gnuradio-core/src/gen_interpolator_taps/README
48-
* \li gnuradio-core/src/gen_interpolator_taps/praxis.txt
47+
* \li gr-filter/lib/gen_interpolator_taps/README
48+
* \li gr-filter/lib/gen_interpolator_taps/praxis.txt
4949
*/
5050
class FILTER_API mmse_fir_interpolator_cc
5151
{

gr-filter/include/gnuradio/filter/mmse_fir_interpolator_ff.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ namespace gr {
4444
* quantized in the interpolate method to 32nd's of a sample.
4545
*
4646
* For more information, in the GNU Radio source code, see:
47-
* \li gnuradio-core/src/gen_interpolator_taps/README
48-
* \li gnuradio-core/src/gen_interpolator_taps/praxis.txt
47+
* \li gr-filter/lib/gen_interpolator_taps/README
48+
* \li gr-filter/lib/gen_interpolator_taps/praxis.txt
4949
*/
5050
class FILTER_API mmse_fir_interpolator_ff
5151
{

0 commit comments

Comments
 (0)