Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888095 - net-wireless/gnuradio-3.10.5.0-r2 - pdu needs filter
Summary: net-wireless/gnuradio-3.10.5.0-r2 - pdu needs filter
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-23 19:42 UTC by Chris Mayo
Modified: 2022-12-24 09:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2022-12-23 19:42:50 UTC
gr_register_component("gr-pdu" ENABLE_GR_PDU ENABLE_GNURADIO_RUNTIME ENABLE_GR_BLOCKS
                      ENABLE_GR_FILTER)

https://github.com/gnuradio/gnuradio/blob/fc5d07b22b59261eb0b4a42e3e01e50fe1e04f9e/gr-pdu/CMakeLists.txt#L16-L17


Suggest:


@@ -21,7 +21,7 @@
 	KEYWORDS="~amd64 ~arm ~riscv ~x86"
 fi
 
-IUSE="+audio +alsa +analog +digital channels ctrlport doc dtv examples fec +filter grc iio jack modtool network oss performance-counters portaudio +qt5 sdl soapy test trellis uhd vocoder +utils wavelet zeromq"
+IUSE="+audio +alsa +analog +digital channels ctrlport doc dtv examples fec +filter grc iio jack modtool network oss pdu performance-counters portaudio +qt5 sdl soapy test trellis uhd vocoder +utils wavelet zeromq"
 
 #RESTRICT="!test? ( test )"
 #Tests are known broken right now
@@ -38,6 +38,7 @@
 	digital? ( filter analog )
 	dtv? ( filter analog fec )
 	modtool? ( utils )
+	pdu? ( filter )
 	qt5? ( filter )
 	trellis? ( analog digital )
 	uhd? ( filter analog )
@@ -167,7 +168,7 @@
 		-DENABLE_GR_MODTOOL="$(usex modtool)"
 		-DENABLE_GR_BLOCKTOOL="$(usex modtool)"
 		-DENABLE_GR_NETWORK="$(usex network)"
-		-DENABLE_GR_PDU=ON
+		-DENABLE_GR_PDU="$(usex pdu)"
 		-DENABLE_PERFORMANCE_COUNTERS="$(usex performance-counters)"
 		-DENABLE_TESTING="$(usex test)"
 		-DENABLE_GR_QTGUI="$(usex qt5)"
Comment 1 Chris Mayo 2022-12-24 09:29:16 UTC
Looking deeper:

The gr-pdu module has gnuradio-blocks and gnuradio-filter in its
target_link_libraries even though it doesn't use these modules.

e36f2fab5 ("pdu: Remove unused dependencies", 2022-06-01)


At worst with "-filter pdu" you would get some warning messages if PyQtGraph and Scipy were not installed, and partially functional filter installed.