modemmanager: Update to 1.18.8
Version 1.14.8 was not buildable with kirkstone. The patches have been ported to a new branch on our fork of ModemManager. Part of yocto upgrade from dunfell to kirkstone
This commit is contained in:
parent
e64b7a32ba
commit
baa32f7fca
|
|
@ -0,0 +1 @@
|
||||||
|
../../../../meta-openembedded/meta-oe/recipes-connectivity/modemmanager/files/0001-core-switch-bash-shell-scripts-to-use-bin-sh-for-use.patch
|
||||||
|
|
@ -1,57 +0,0 @@
|
||||||
# NB: backport from meta-oe/master
|
|
||||||
|
|
||||||
SUMMARY = "ModemManager is a daemon controlling broadband devices/connections"
|
|
||||||
DESCRIPTION = "ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G) devices and connections"
|
|
||||||
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/ModemManager/"
|
|
||||||
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
|
||||||
LIC_FILES_CHKSUM = " \
|
|
||||||
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
|
||||||
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
|
||||||
"
|
|
||||||
|
|
||||||
inherit gnomebase gettext systemd vala gobject-introspection bash-completion
|
|
||||||
|
|
||||||
DEPENDS = "glib-2.0 libgudev intltool-native libxslt-native"
|
|
||||||
|
|
||||||
SRC_URI = "http://www.freedesktop.org/software/ModemManager/ModemManager-${PV}.tar.xz"
|
|
||||||
SRC_URI[sha256sum] = "fe1a26ba51b4bda7abd09ad4dadedd87d8b8154809fc9d88e94f75fdfff19295"
|
|
||||||
S = "${WORKDIR}/ModemManager-${PV}"
|
|
||||||
|
|
||||||
PACKAGECONFIG = "systemd"
|
|
||||||
PACKAGECONFIG ??= "mbim qmi \
|
|
||||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)} \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGECONFIG[at] = "--with-at-command-via-dbus"
|
|
||||||
PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,"
|
|
||||||
PACKAGECONFIG[polkit] = "--with-polkit=yes,--with-polkit=no,polkit"
|
|
||||||
# Support WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol.
|
|
||||||
PACKAGECONFIG[mbim] = "--with-mbim,--without-mbim,libmbim"
|
|
||||||
# Support WWAN modems and devices which speak the Qualcomm MSM Interface (QMI) protocol.
|
|
||||||
PACKAGECONFIG[qmi] = "--with-qmi,--without-qmi,libqmi"
|
|
||||||
|
|
||||||
EXTRA_OECONF = " \
|
|
||||||
--with-udev-base-dir=${nonarch_base_libdir}/udev \
|
|
||||||
"
|
|
||||||
|
|
||||||
FILES:${PN} += " \
|
|
||||||
${datadir}/icons \
|
|
||||||
${datadir}/polkit-1 \
|
|
||||||
${datadir}/dbus-1 \
|
|
||||||
${datadir}/ModemManager \
|
|
||||||
${libdir}/ModemManager \
|
|
||||||
${systemd_unitdir}/system \
|
|
||||||
"
|
|
||||||
|
|
||||||
FILES:${PN}-dev += " \
|
|
||||||
${libdir}/ModemManager/*.la \
|
|
||||||
"
|
|
||||||
|
|
||||||
FILES:${PN}-staticdev += " \
|
|
||||||
${libdir}/ModemManager/*.a \
|
|
||||||
"
|
|
||||||
|
|
||||||
FILES:${PN}-dbg += "${libdir}/ModemManager/.debug"
|
|
||||||
|
|
||||||
SYSTEMD_SERVICE:${PN} = "ModemManager.service"
|
|
||||||
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
require recipes-connectivity/modemmanager/modemmanager_1.14.8.bb
|
require recipes-connectivity/modemmanager/modemmanager_1.18.8.bb
|
||||||
|
|
||||||
# Use custom git repo as SRC
|
# Use custom git repo as SRC
|
||||||
SRC_URI = "git://gitlab.com/netmodule/third-party/ModemManager;protocol=ssh;user=git;branch=mm-1-14-netmodule;"
|
SRC_URI = " \
|
||||||
SRCREV ?= "35ef2f387bf53f0601901a5f08ab0f6bf57105c4"
|
git://gitlab.com/netmodule/third-party/ModemManager;protocol=ssh;user=git;branch=mm-1-18-netmodule \
|
||||||
|
file://0001-core-switch-bash-shell-scripts-to-use-bin-sh-for-use.patch \
|
||||||
|
"
|
||||||
|
|
||||||
|
SRCREV = "a092259df33cc70a04826f0e7117475ac9b26f99"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
# Keep only ublox plugin
|
# Keep only ublox plugin
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue