License of the introspection XMLs
Aleksander Morgado
aleksandermj at chromium.org
Mon Sep 9 08:47:00 UTC 2024
Hey,
> I would really appreciate it if someone could clarify the license of the introspection XMLs, since there is no license declaration in those files.
>
> I am trying to build a cli tool querying information from ModemManager over dbus and am wondering what my license choices are in order to be compliant.
>
> Are they licensed under:
> GPLv2+? (ModemManager and mmcli)
> LGPLv2+? (libmm-glib)
> No license, free to use?
>
> Will it make a difference if:
> The XMLs are obtained from the repo?
> The XMLs are obtained from calling introspect method over dbus?
>
> Will it make a difference if:
> The XMLs are stored in my tool’s repo and are used in a build step to generate bindings?
> The XMLs are used to generate bindings offline, and the generated files are stored in the repo?
>
You should consider the introspection XMLs as part of the MM daemon,
and therefore GPLv2+. You can obtain them from the repo, or store them
in your own repo.
If you generate your own bindings from the introspection XMLs, the
license for the source code of your bindings can be whatever you
choose. There is no restriction in that regard. E.g. the libmm-glib
library that is partly autogenerated from the XMLs is LGPLv2+. You can
choose whatever fits you best.
--
Aleksander
More information about the ModemManager-devel
mailing list