Opened 4 years ago

Closed 4 years ago

#60262 closed enhancement (fixed)

Make SDRAngel Load DSDcc

Reported by: 0lmsted Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: michaelld (Michael Dickens)
Port: sdrangel

Description (last modified by 0lmsted)

I used the following macports command found at https://groups.io/g/sdrangel/topic/60213341 to install the SDRAngel port.

I was disappointed that it did not load the DSDcc plugin when started. I asked on the email list and a user recommended me to install mbelib before installing SDRAngel and also to change the portfile to include "-DENABLE_MBELIB=ON \" in the "configure.args-append \" section.

With these changes, SDRAngel loads the DSDcc plugin at startup and works great! Just wanted to see if someone could add this little step so other Hams could skip this step. Thanks, and sorry if this is a silly ticket request.

Change History (12)

comment:1 Changed 4 years ago by 0lmsted

Description: modified (diff)

comment:2 Changed 4 years ago by 0lmsted

Keywords: dsdcc mbelib radio added
Port: dsdcc mbelib radio removed

comment:3 Changed 4 years ago by jmroot (Joshua Root)

Cc: michaelld added
Owner: set to ra1nb0w
Status: newassigned

comment:4 Changed 4 years ago by ra1nb0w

you need to enable mbelib support on DSDcc; it was disabled because mbelib "may be covered by one or more patents." so before sdrangel you need to run

sudo port install dsdcc +mbelib

I now changed the dsdcc port enabling mbelib as default so should work without without that line. Can you try a fresh installation after

sudo port uninstall --follow-dependencies sdrangell

comment:5 Changed 4 years ago by 0lmsted

Alright, I have run: sudo port uninstall --follow-dependencies sdrangel (looks like you had an extra L in there?)

Then

sudo port install sdrangel

and it loads the DSD Demodulator plugin! Is this what you were asking for?

comment:6 Changed 4 years ago by ra1nb0w

I lost a point: update portfile before doing that procedure. Have you checked that uninstall has removed also dsdcc and mbelib?

comment:7 Changed 4 years ago by 0lmsted

I apologize if this is a very basic(and somewhat unrelated) question, but does macports only looks for these libraries if they have been installed by macports, and will only use the versions installed by macports for (in this case) SDRAngel?

Running sudo uninstall sdrangel did remove DSDcc and from port installed list. It did not uninstall mbelib Removed -DENABLE_MBELIB=ON \ from sdrangel port file. Reinstalled with mbelib still installed, and it loaded the DSDcc plugin fine.

Next, Uninstalled everything: SDRangel, all dependencies including DSDcc, and then mbelib after all SDRangel dependencies.

Finally, reinstalled SDRAngel and all macports listed dependencies (which did not list mbelib, no separately installed mbelib) and the DSD plugin did not load. It seems the basic/standard installation does not declare mbelib as a dependency, so DSDcc is not included when compiling? It downloads and installs DSDcc, but the DSD plugin is not present when SDRAngel runs.

Seems like the DSD functionality is still dependent on mbelib being previously installed?

comment:8 Changed 4 years ago by ra1nb0w

Don't worry :)

Have you updated the portfiles with {{{sudo port sync}}?

  • remove SDRangel sudo port uninstall sdrangel dsdcc mbelib;
  • check that your changes to the SDRangel Porfile are gone away;
  • install SDRangel with sudo port install sdrangel and you must see mbelib as dependency (through dsdcc package).

If you build the port from source it checks if the dependency is available otherwise it disables it. Therefore, if you build SDRangel and mbelib is not installed SDRangel doesn't enable it.

comment:9 Changed 4 years ago by mf2k (Frank Schima)

Keywords: sdrangel dsdcc mbelib radio removed
Version: 2.6.2

comment:10 Changed 4 years ago by 0lmsted

Reinstalled as described in comment 8. Cornfirmed: If mbelib is installed, DSD plugin works. If no mbelib, no DSD plugin. Would it be possible to add a little note about this in the port info so people know they need to install mbelib first?

comment:11 Changed 4 years ago by ra1nb0w

There is not need to add a note. mbelib is a default dependency of dsdcc now and therefore if you install sdrangel that require dsdcc you get also mbelib in the right order.

comment:12 Changed 4 years ago by ra1nb0w

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.