networkmanager: update recipe for sumo

add intltool-native and dbus-glib-native to dependency

xlocale.h isn't longer in glibc 2.26.1, so remove it (patch)

disable introspection which cause errors
This commit is contained in:
Ramon Moesching 2018-05-17 14:29:44 +02:00
parent 2d5893a54e
commit 13b64fee28
2 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,13 @@
diff --git a/parse-util.c b/parse-util.c
index 2738663185..66f1c50748 100644
--- a/src/systemd/src/basic/parse-util.c
+++ b/src/systemd/src/basic/parse-util.c
@@ -25,7 +25,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <xlocale.h>
+
#include "alloc-util.h"
#include "extract-word.h"

View File

@ -6,7 +6,7 @@ SECTION = "net/misc"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=cbbffd568227ada506640fe950a4823b"
DEPENDS = "libnl dbus dbus-glib libgudev wireless-tools nss util-linux libndp libnewt"
DEPENDS = "libnl dbus dbus-glib libgudev wireless-tools nss util-linux libndp libnewt intltool-native dbus-glib-native"
inherit gnome gettext systemd
@ -17,7 +17,8 @@ SRC_URI = " \
file://system-connections.tar.gz \
file://NetworkManager.conf \
file://support-dsa.patch \
"
file://xlocale-isnt-longer-in-glibc-2.26.1.patch \
"
SRC_URI[md5sum] = "63f1e0d6d7e9099499d062c84c927a75"
SRC_URI[sha256sum] = "829378f318cc008d138a23ca6a9191928ce75344e7e47a2f2c35f4ac82133309"
@ -37,7 +38,7 @@ EXTRA_OECONF = " \
--with-dnsmasq=${bindir}/dnsmasq \
"
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)} modemmanager bluez5"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)} modemmanager bluez5"
PACKAGECONFIG[systemd] = " \
--with-systemdsystemunitdir=${systemd_unitdir}/system --with-session-tracking=systemd --enable-polkit, \
--without-systemdsystemunitdir, \
@ -99,3 +100,6 @@ do_install_append() {
install -m 0600 ${WORKDIR}/NetworkManager.conf ${D}${sysconfdir}/NetworkManager/
}
EXTRA_OECONF_prepend = "--disable-introspection "