Skip to contentSkip to conversation

gr-osmosdr: new package

PATCH New Gwenhael Goavec-Merou 2 participants 2 messages Feb 2, 2016 – Feb 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gr-osmosdr: new package

From: Gwenhael Goavec-Merou <[email protected]>

Add support for gr-osmosdr - a GNU Radio block for interfacing with various radio hardware.

---
Changes v1 -> v2:
- use github instead of tarball (issue with hash changed for same archive content);
- use 'select' gnuradio instead of 'depends on' gnuradio;
- due to previous point add gnuradio list of dependencies;
- gr-osmosdr need gnuradio-block -> add select.

---
 package/Config.in                  |  1 +
 package/gr-osmosdr/Config.in       | 56 ++++++++++++++++++++++++++++++++++++++
 package/gr-osmosdr/gr-osmosdr.hash |  2 ++
 package/gr-osmosdr/gr-osmosdr.mk   | 55 +++++++++++++++++++++++++++++++++++++
 4 files changed, 114 insertions(+)
 create mode 100644 package/gr-osmosdr/Config.in
 create mode 100644 package/gr-osmosdr/gr-osmosdr.hash
 create mode 100644 package/gr-osmosdr/gr-osmosdr.mk
package/Config.in +1 -0
index a491d85..9ff97c0 100644
@@ -1271,6 +1271,7 @@ menu "Miscellaneous"
 	source "package/empty/Config.in"
 	source "package/gnuradio/Config.in"
 	source "package/googlefontdirectory/Config.in"
+	source "package/gr-osmosdr/Config.in"
 	source "package/haveged/Config.in"
 	source "package/mcrypt/Config.in"
 	source "package/mobile-broadband-provider-info/Config.in"
package/gr-osmosdr/Config.in new file +56 -0

56 lines not on this page · raw message

package/gr-osmosdr/gr-osmosdr.hash new file +2 -0
new file mode 100644
index 0000000..ce6e84a
@@ -0,0 +1,2 @@
+# Locally calculated:
+sha256 d40462dddc0ebd769b2df3c6ad6fe82c9e9a4a73f7b3c5ce53efbce724906290 gr-osmosdr-a45968f3381f33b86ca344bb76bd62c131d98d93.tar.gz
package/gr-osmosdr/gr-osmosdr.mk new file +55 -0

55 lines not on this page · raw message

Signature · 1 line
2.4.10
#1 lore raw

PATCH v2 1/1 gr-osmosdr: new package

Dear Gwenhael Goavec-Merou,

Quoted 13 lines · Gwenhael Goavec-Merou

From: Gwenhael Goavec-Merou <[email protected]>

Add support for gr-osmosdr - a GNU Radio block for interfacing with various radio hardware.

---
Changes v1 -> v2:
- use github instead of tarball (issue with hash changed for same archive content);
- use 'select' gnuradio instead of 'depends on' gnuradio;
- due to previous point add gnuradio list of dependencies;
- gr-osmosdr need gnuradio-block -> add select.

Quoted 9 lines
---
 package/Config.in                  |  1 +
 package/gr-osmosdr/Config.in       | 56 ++++++++++++++++++++++++++++++++++++++
 package/gr-osmosdr/gr-osmosdr.hash |  2 ++
 package/gr-osmosdr/gr-osmosdr.mk   | 55 +++++++++++++++++++++++++++++++++++++
 4 files changed, 114 insertions(+)
 create mode 100644 package/gr-osmosdr/Config.in
 create mode 100644 package/gr-osmosdr/gr-osmosdr.hash
 create mode 100644 package/gr-osmosdr/gr-osmosdr.mk

I've applied to next, after doing a number of changes:

[Thomas:
- instead of selecting BR2_PACKAGE_GNURADIO, use "depends on". Indeed, it is fairly obvious for a user that some GNURadio extensions require GNURadio to be built. And it avoids the need to replicate all the complex dependencies of GNURadio.
- remove comment that the Python support needs Python. It's fairly obvious, no?
- remove comment about the thread dependency of BR2_PACKAGE_GR_OSMOSDR_RTLSDR, since anyway GNURadio already need threads. Yes, we sometimes still add such dependencies, but in the case of GNURadio, it's highly unlikely that GNURadio will ever loose the thread dependency.
- use "NO" instead of "no" as the value for GR_OSMOSDR_SUPPORTS_IN_SOURCE_BUILD since we always use upper-case letters for the value of such booleans.]

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com