gnu: Use gr- prefix for GNU Radio blocks.

Almost all GNU Radio blocks use "gr-" as prefix, so let's use that.

* gnu/packages/radio.scm (gnuradio-osmosdr): Rename to ...
  (gr-osmosdr): ... this.
  (gnuradio-osmosdr): Redefine as a deprecated alias.
  (gnuradio-iqbalance): Rename to ...
  (gr-iqbal): ... this.
  (gnuradio-iqbalance): Redefine as a deprecated alias.
  (gqrx)[inputs]: Replace gnuradio-iqbalance by gr-iqbal. Replace
  gnuradio-osmosdr by gr-osmosdr.
This commit is contained in:
Guillaume Le Vaillant 2021-05-15 09:12:24 +02:00
parent 1e77c79dc5
commit 75530bb503
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -476,12 +476,12 @@ (define-public gnuradio
(home-page "https://www.gnuradio.org")
(license license:gpl3+)))
(define-public gnuradio-osmosdr
(define-public gr-osmosdr
;; No tag for version supporting Gnuradio 3.9; use commit.
(let ((commit "a100eb024c0210b95e4738b6efd836d48225bd03")
(revision "0"))
(package
(name "gnuradio-osmosdr")
(name "gr-osmosdr")
(version (git-version "0.2.3" revision commit))
(source
(origin
@ -528,6 +528,7 @@ (define-public gnuradio-osmosdr
to access different radio hardware.")
(home-page "https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR")
(license license:gpl3+))))
(deprecated-package "gnuradio-osmosdr" gr-osmosdr)
(define-public libosmo-dsp
(package
@ -573,12 +574,12 @@ (define-public libosmo-dsp
(home-page "https://osmocom.org/projects/libosmo-dsp")
(license license:gpl2+)))
(define-public gnuradio-iqbalance
(define-public gr-iqbal
;; No tag for version supporting Gnuradio 3.9; use commit.
(let ((commit "fbee239a6fb36dd2fb564f6e6a0d393c4bc844db")
(revision "0"))
(package
(name "gnuradio-iqbalance")
(name "gr-iqbal")
(version (git-version "0.38.2" revision commit))
(source
(origin
@ -616,6 +617,7 @@ (define-public gnuradio-iqbalance
@end itemize")
(home-page "https://git.osmocom.org/gr-iqbal/")
(license license:gpl3+))))
(deprecated-package "gnuradio-iqbalance" gr-iqbal)
(define-public gqrx
(package
@ -639,8 +641,8 @@ (define-public gqrx
("fftwf" ,fftwf)
("gmp" ,gmp)
("gnuradio" ,gnuradio)
("gnuradio-iqbalance" ,gnuradio-iqbalance)
("gnuradio-osmosdr" ,gnuradio-osmosdr)
("gr-iqbal" ,gr-iqbal)
("gr-osmosdr" ,gr-osmosdr)
("jack" ,jack-1)
("libsndfile" ,libsndfile)
("log4cpp" ,log4cpp)