meta-openembedded: subtree update:c986cbed93..e0daf6f8e0

Adrian Bunk (19):
      lldpd: Upgrade 1.0.3 -> 1.0.4
      usrsctp: Upgrade to a more recent git snapshot
      cim-schema: Remove duplicate file
      dovecot: Upgrade 2.2.36.3 -> 2.2.36.4
      flashrom: Upgrade 1.0 -> 1.1
      doxygen: Upgrade 1.8.15 -> 1.8.16
      nodejs: Upgrade 10.16.3 -> 10.17.0
      php: Upgrade 7.3.9 -> 7.3.11
      libdivecomputer: Upgrade to 0.6.0
      libnss-nisplus: Upgrade to the latest upstream git
      pegtl: Upgrade 2.1.4 -> 2.8.1
      openwsman: Upgrade 2.6.9 -> 2.6.11
      cgdb: Upgrade 0.6.8 -> 0.7.1
      packagegroup-meta-networking: Exclude nonbuilding recipes with musl
      xf86-input-tslib: Upgrade 0.0.6 -> 0.0.7
      libmicrohttpd: Upgrade 0.9.66 -> 0.9.67
      poco: Upgrade 1.9.0 -> 1.9.4
      libgphoto2: Remove obsolete HAL files
      mdns: Mark as incompatible with musl

Andreas Müller (5):
      unicode-ucd: initial add 12.1.0
      unicode-ucd: Set correct SUMMARY and HOMEPAGE
      colord: initial add 1.4.4
      colord-gtk: initial add 0.2.0
      ibus: initial add 1.5.21

André Draszik (3):
      nodejs: allow use of system c-ares (and make default)
      libuv: update to 1.33.1
      nodejs: allow use of system libuv (and make default)

Carlos Rafael Giani (1):
      opencv: Enable pkg-config .pc file generation

Khem Raj (5):
      miniupnpd: Update to 2.1.20191006
      miniupnpd: Build config.h before full build
      poco: Fix build on risc-v
      python-docutils: Upgrade to 0.15.2
      iwd: Use python3 variant of docutils during build

Luca Boccassi (1):
      dbus-broker: build with libaudit if selinux is enabled

Martin Siegumfeldt (1):
      libiio: add python3 packageconfig

Paul Eggleton (1):
      python3-pillow: update to 6.2.1

Slater, Joseph (2):
      syslog-ng: add volatile directory init for systemd
      syslog-ng: change conf files to version 3.19

Trevor Gamblin (4):
      python-priority: add recipe
      python-h2: add recipe
      python-hyperframe: add recipe
      python-hpack: add recipe

Yi Zhao (1):
      freeradius: set CLEANBROKEN

Zang Ruochen (22):
      poppler: upgrade 0.80.0 -> 0.82.0
      gmime: upgrade 3.2.3 -> 3.2.4
      autofs: upgrade 5.1.5 -> 5.1.6
      python-simplejson: enable native and nativesdk
      python-dnspython: upgrade 1.15.0 -> 1.16.0
      python-engineio: upgrade 3.9.3 -> 3.10.0
      python-evdev: upgrade 0.7.0 -> 1.2.0
      python-future: upgrade 0.16.0 -> 0.18.2
      python-intervals: upgrade 1.5.4 -> 1.10.0
      python-isort: upgrade 4.3.4 -> 4.3.21
      python-javaobj-py3: upgrade 0.2.4 -> 0.3.0
      python-lazy-object-proxy: upgrade 1.3.1 -> 1.4.3
      python-parse: upgrade 1.8.4 -> 1.12.1
      python-pathlib2: upgrade 2.3.4 -> 2.3.5
      python-periphery: upgrade 1.1.1 -> 2.0.0
      python-pint: upgrade 0.8.1 -> 0.9
      python-progress: upgrade 1.4 -> 1.5
      python-prompt-toolkit: upgrade 2.0.4 -> 2.0.10
      python-pybind11: upgrade 2.2.3 -> 2.4.3
      python-pycryptodome: upgrade 3.4.11 -> 3.9.0
      python-pyexpect: upgrade 1.0.17 -> 1.0.19
      python-pyfirmata: upgrade 1.0.3 -> 1.1.0

Zheng Ruoqin (23):
      pure-ftpd: upgrade 1.0.47 -> 1.0.49
      grpc: upgrade 1.24.1 -> 1.24.3
      corosync: upgrade 2.4.4 -> 2.4.5
      dhcpcd: upgrade 8.0.2 -> 8.1.1
      iscsi-initiator-utils: upgrade 2.0.877 -> 2.0.878
      znc: upgrade 1.7.4 -> 1.7.5
      babeld: upgrade 1.8.4 -> 1.9.1
      htpdate: upgrade 1.2.1 -> 1.2.2
      nbd: upgrade 3.19 -> 3.20
      unbound: upgrade 1.9.2 -> 1.9.4
      wireshark: upgrade 3.0.3 -> 3.0.6
      mtr: upgrade 0.92 -> 0.93
      libowfat: upgrade 0.31 -> 0.32
      iozone3: upgrade 484 -> 487
      libhugetlbfs: upgrade 2.21 -> 2.22
      phoronix-test-suite: upgrade 8.8.1 -> 9.0.1
      lmsensors: upgrade 3.5.0 -> 3.6.0
      paho-mqtt-c: upgrade 1.3.0 -> 1.3.1
      rtorrent: upgrade 0.9.7 -> 0.9.8
      zabbix: upgrade 4.2.6 -> 4.2.7
      iwd: upgrade 0.20 -> 0.23
      libtorrent: upgrade 0.13.7 -> 0.13.8
      ledmon: upgrade to 0.93

Change-Id: I66f0f395da9087e46899cf882e36d9cc50718c62
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openembedded/meta-oe/recipes-support/colord/colord-native.bb b/meta-openembedded/meta-oe/recipes-support/colord/colord-native.bb
new file mode 100644
index 0000000..845041c
--- /dev/null
+++ b/meta-openembedded/meta-oe/recipes-support/colord/colord-native.bb
@@ -0,0 +1,64 @@
+require ${BPN}.inc
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}-native:"
+
+inherit meson native
+
+DEPENDS += " \
+    meson-native \
+    glib-2.0-native \
+    lcms-native \
+"
+
+SRC_URI += " \
+    file://0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch \
+    file://Makefile;subdir=${BPN}-${PV} \
+"
+
+do_configure() {
+    # we expect meson to fail - but before it extracts project's version in log file
+    meson ${MESONOPTS} "${MESON_SOURCEPATH}" "${B}" ${MESON_CROSS_FILE} ${EXTRA_OEMESON} > /dev/null 2>&1 || true
+
+    # extract and split version
+    version=`grep 'Project version:' ${B}/meson-logs/meson-log.txt | sed 's|Project version: ||'`
+    major=`echo $version | cut -d. -f1`
+    minor=`echo $version | cut -d. -f2`
+    micro=`echo $version | cut -d. -f3`
+    echo "Project version: $major.$minor.$micro"
+
+    # extract project name
+    proj_name=`grep 'Project name:' ${B}/meson-logs/meson-log.txt | sed 's|Project name: ||'`
+
+    # create cd-version.h
+    mkdir -p ${B}/colord
+	sed ${S}/lib/colord/cd-version.h.in \
+		-e 's:@CD_MAJOR_VERSION_PRIVATE@:1:g' \
+		-e 's:@CD_MINOR_VERSION_PRIVATE@:4:g' \
+		-e 's:@CD_MICRO_VERSION_PRIVATE@:4:g' \
+		> ${B}/colord/cd-version.h
+
+    # create config.h based on target build and add what's necessary only
+    localedir=`echo ${datadir}/locale | sed 's:${prefix}/::g'`
+    echo "#define LOCALEDIR \"$localedir\"" >> ${B}/config.h
+    echo "#define GETTEXT_PACKAGE \"colord\"" >> ${B}/config.h
+    echo "#define PACKAGE_NAME \"$proj_name\"" >> ${B}/config.h
+    echo "#define PACKAGE_VERSION \"$version\"" >> ${B}/config.h
+}
+
+do_compile() {
+    oe_runmake -C${S} DESTDIR=${B}
+}
+
+do_install() {
+    version=`grep 'Project version:' ${B}/meson-logs/meson-log.txt | sed 's|Project version: ||'`
+    major=`echo $version | cut -d. -f1`
+
+    install -d ${D}${libdir}
+    install -m 755 ${B}/libcolord.so ${D}${libdir}/libcolord.so.$version
+    ln -s libcolord.so.$version "${D}/${libdir}/libcolord.so"
+    ln -s libcolord.so.$version "${D}/${libdir}/libcolord.so.$major"
+
+    install -d ${D}${bindir}
+    install -m 755 ${B}/cd_create_profile ${D}${bindir}/
+    install -m 755 ${B}/cd_idt8 ${D}${bindir}/
+}