summary refs log tree commit diff
path: root/gnu/packages/radio.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-05-15 09:12:24 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-05-15 09:12:24 +0200
commit75530bb5033bb124f3e3f31427b6ed7fc9343c4d (patch)
treed7998b070b7549a026e9b6b720205eb74babd083 /gnu/packages/radio.scm
parent1e77c79dc504f8acf1d9ca802a5ea88481160a39 (diff)
downloadguix-75530bb5033bb124f3e3f31427b6ed7fc9343c4d.tar.gz
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.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r--gnu/packages/radio.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index f25c097bbc..199a640187 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -476,12 +476,12 @@ environment.")
     (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 @@ environment.")
 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 @@ primitives for SDR (Software Defined Radio).")
     (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 @@ to the fix block above.
 @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 @@ to the fix block above.
        ("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)