Bug 92550

Summary: mmcli (only) with minimal dependencies
Product: ModemManager Reporter: Dipinder <dipinder.chhabra>
Component: mmcliAssignee: ModemManager bug user <modemmanager>
Status: RESOLVED NOTABUG QA Contact:
Severity: minor    
Priority: medium CC: dipinder.chhabra
Version: unspecified   
Hardware: PowerPC   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Dipinder 2015-10-20 03:21:57 UTC
Hello

I was evaluating mmcli for for a small linux router we are developing which supports 3G/4G USB dongles. There would be no graphical interface, just the command line.

I was looking into the ModemManager dependencies at:
https://www.archlinux.org/packages/extra/x86_64/modemmanager/

Looking into the list seems like even if we just want the mmcli, we would still need lots of other packages and possibly some graphical ones too.

Is there a way to cross compile and get the mmcli such that there are a minimal extra packages/libraries we would need?

Thanks
Dipinder
Comment 1 Aleksander Morgado 2015-10-20 08:00:14 UTC
'mmcli' is just a frontend for ModemManager. If you want mmcli, you also require ModemManager itself. That said, ModemManager is a system daemon and does not depend on any 'graphical' library or toolkit. ModemManager is nicely used in a lot of systems without any graphical interface.

The only real dependencies of ModemManager and mmcli are:

 * dbus
 * glib/gobject/gio
 * gudev
 * libqmi
 * libmbim

Anyway, this is not a bug :) I'll close the bugreport. For these kind of questions, I'd suggest you use the ModemManager mailing list, see:
http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.