meta-openembedded: subtree update:e0daf6f8e0..3a9262866d

Adrian Bunk (1):
      xfce-polkit: Upgrade 0.2 -> 0.3

Alex Kiernan (2):
      ostree: Add support for ptest
      ostree: Upgrade 2019.4 -> 2019.5

Alistair Francis (1):
      openocd: Update to latest git version

Anders Roxell (1):
      s-suite: install missing create_config.sh

Andreas Müller (6):
      mm-common: upgrade 0.9.12 -> 1.0.0 / meson build / add SUMMARY
      mm-common: do really build with meson
      libpeas: upgrade 1.22.0 -> 1.24.1
      xfce4-screenshooter: upgrade 1.9.6 -> 1.9.7
      xfce4-time-out-plugin: upgrade 1.0.3 -> 1.1.0
      xfce4-whiskermenu-plugin: upgrade 2.3.3 -> 2.3.4

Andreas Oberritter (4):
      haveged: Fix missing initscript when both systemd and sysvinit are enabled
      samba: fix installation for minimal build
      autofs: set some paths for configure script
      autofs: install sysvinit script manually if systemd is enabled

André Draszik (8):
      jansson: allow to build a -native package
      cunit: allow to build a -native package
      libev: allow to build a -native package
      nghttp2: fix UPSTREAM_CHECK_URI
      nghttp2: update to 1.39.2
      nghttp2: build more of this & fix packaging
      nghttp2: allow to build a -native package
      nodejs: allow use of system nghttp2

Hongxu Jia (10):
      python-pluggy: add python-importlib-metadata to RDEPENDS
      python-more-itertools.inc: fix python2 package not incorrectly generated
      python-more-itertools: downgrade 7.2.0 -> 5.0.0
      python-importlib-metadata: add missing runtime depends
      python-pathlib2: add python-scandir and python-misc to runtime depends
      python-scandir: add version 1.10.0
      python-contextlib2/python3-contextlib2: add version 0.6.0
      python3-importlib-metadata: add python3-misc to runtime depends
      python-importlib-metadata: add python-compression to runtime depends
      python-configparser: add python-pkgutil to runtime depends

Kai Kang (4):
      xfce4-genmon-plugin: 4.0.1 -> 4.0.2
      xfce-panel-plugin.bbclass: correct SRC_URI with xfce_verdir
      xfce4-weather-plugin: 0.9.1 -> 0.10.0
      xfce4-screensaver: 0.1.5 -> 0.1.8

Khem Raj (8):
      iwd: Fix installed-vs-shipped QA errors on systemd units
      iwd: Fix build race during documentation build
      ifplugd: Include stdint.h for uintXX_t
      netkit-rwho: Include stdint.h for int32_t
      libowfat: Fix parallel build
      grpc: Add dep on libnsl
      gtkwave: Upgrade to 3.3.102
      syslog-ng: Do not install non-existing systemd file

Ming Liu (2):
      python-jsonschema: RDEPENDS on python-importlib-metadata
      ostree: fix some invalid condition checking

Oleksandr Kravchuk (1):
      iwd: update to 1.0

Stefan Agner (2):
      zstd: Upgrade 1.4.3 -> 1.4.4
      zstd: move recipe to oe-core

Yi Zhao (2):
      libldb: upgrade 1.5.5 -> 1.5.6
      samba: upgrade 4.10.8 -> 4.10.10

Zang Ruochen (20):
      python-pyjks: upgrade 17.1.1 -> 19.0.0
      python-pyjwt: upgrade 1.6.4 -> 1.7.1
      python-pymisp: upgrade 2.4.93 -> 2.4.117.2
      xorriso: upgrade 1.5.0 -> 1.5.3
      python-cython: upgrade 0.29.13 -> 0.29.14
      python-decorator: upgrade 4.4.0 -> 4.4.1
      python-dominate: upgrade 2.3.1 -> 2.4.0
      python-flask-babel: upgrade 0.11.2 -> 0.12.2
      python-flask-migrate: upgrade 2.2.1 -> 2.5.2
      python-flask-restful: upgrade 0.3.6 -> 0.3.7
      python-flask-socketio: upgrade 3.3.2 -> 4.2.1
      python-flask-sqlalchemy: upgrade 2.3.2 -> 2.4.1
      python-paho-mqtt: upgrade 1.4.0 -> 1.5.0
      python-pyroute2: upgrade 0.5.2 -> 0.5.7
      python-pyrsistent: upgrade 0.15.4 -> 0.15.5
      python-pysmi: upgrade 0.2.2 -> 0.3.4
      python-pytest: upgrade 5.2.1 -> 5.2.2
      python-serpent: upgrade 1.25 -> 1.28
      python-smbus: upgrade 4.0 -> 4.1
      python-snimpy: upgrade 0.8.12 -> 0.8.13

Zheng Ruoqin (19):
      mdns: upgrade 878.200.35 -> 878.260.1
      ledmon: Modify the Upstream-Status to Submitted.
      byacc: upgrade 20190617 -> 20191103
      ccid: upgrade 1.4.30 -> 1.4.31
      dialog: upgrade 1.3-20190728 -> 1.3-20190808
      cryptsetup: upgrade 2.2.1 -> 2.2.2
      lvm2/libdevmapper: 2.03.05 -> 2.03.06
      libssh2: upgrade 1.8.2 -> 1.9.0
      mariadb: upgrade 10.3.16 -> 10.3.18
      mcelog: upgrade 164 -> 165
      mce-test: Update to latest git version
      postgresql: upgrade 11.5 -> 12.0
      protobuf: upgrade 3.10.0 -> 3.10.1
      sshfs-fuse: upgrade 3.5.2 -> 3.6.0
      syslog-ng: upgrade 3.19.1 -> 3.24.1
      tslib: upgrade 1.16 -> 1.21
      xkbprint: upgrade 1.0.4 -> 1.0.5
      xterm: upgrade 349 -> 350
      zabbix: upgrade 4.2.7 -> 4.2.8

Zhixiong Chi (1):
      gtkwave: add the libtirpc dependence and config

Change-Id: I7dd3609b2d3166e5ba2f977e26026f2b675dc108
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf_3.10.1.bb b/meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf_3.10.1.bb
new file mode 100644
index 0000000..58526f1
--- /dev/null
+++ b/meta-openembedded/meta-oe/recipes-devtools/protobuf/protobuf_3.10.1.bb
@@ -0,0 +1,90 @@
+SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
+DESCRIPTION = "Protocol Buffers are a way of encoding structured data in an \
+efficient yet extensible format. Google uses Protocol Buffers for almost \
+all of its internal RPC protocols and file formats."
+HOMEPAGE = "https://github.com/google/protobuf"
+SECTION = "console/tools"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b"
+
+DEPENDS = "zlib"
+DEPENDS_append_class-target = " protobuf-native"
+
+SRCREV = "d09d649aea36f02c03f8396ba39a8d4db8a607e4"
+
+SRC_URI = "git://github.com/google/protobuf.git;branch=3.10.x \
+           file://run-ptest \
+           file://0001-protobuf-fix-configure-error.patch \
+           file://0001-Makefile.am-include-descriptor.cc-when-building-libp.patch \
+           file://0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch \
+"
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep pkgconfig ptest
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[python] = ",,"
+
+EXTRA_OECONF += "--with-protoc=echo"
+
+TEST_SRC_DIR = "examples"
+LANG_SUPPORT = "cpp ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}"
+
+do_compile_ptest() {
+	mkdir -p "${B}/${TEST_SRC_DIR}"
+
+	# Add the location of the cross-compiled header and library files
+	# which haven't been installed yet.
+	cp "${B}/protobuf.pc" "${B}/${TEST_SRC_DIR}/protobuf.pc"
+	sed -e 's|libdir=|libdir=${PKG_CONFIG_SYSROOT_DIR}|' -i "${B}/${TEST_SRC_DIR}/protobuf.pc"
+	sed -e 's|Cflags:|Cflags: -I${S}/src|' -i "${B}/${TEST_SRC_DIR}/protobuf.pc"
+	sed -e 's|Libs:|Libs: -L${B}/src/.libs|' -i "${B}/${TEST_SRC_DIR}/protobuf.pc"
+	export PKG_CONFIG_PATH="${B}/${TEST_SRC_DIR}"
+
+	# Save the pkgcfg sysroot variable, and update it to nothing so
+	# that it doesn't append the sysroot to the beginning of paths.
+	# The header and library files aren't installed to the target
+	# system yet.  So the absolute paths were specified above.
+	save_pkg_config_sysroot_dir=$PKG_CONFIG_SYSROOT_DIR
+	export PKG_CONFIG_SYSROOT_DIR=
+
+	# Compile the tests
+	for lang in ${LANG_SUPPORT}; do
+		oe_runmake -C "${S}/${TEST_SRC_DIR}" ${lang}
+	done
+
+	# Restore the pkgconfig sysroot variable
+	export PKG_CONFIG_SYSROOT_DIR=$save_pkg_config_sysroot_dir
+}
+
+do_install_ptest() {
+	local olddir=`pwd`
+
+	cd "${S}/${TEST_SRC_DIR}"
+	install -d "${D}/${PTEST_PATH}"
+	for i in add_person* list_people*; do
+		if [ -x "$i" ]; then
+			install "$i" "${D}/${PTEST_PATH}"
+		fi
+	done
+	cp "${S}/${TEST_SRC_DIR}/addressbook_pb2.py" "${D}/${PTEST_PATH}"
+	cd "$olddir"
+}
+
+PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"
+
+FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
+FILES_${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
+
+RDEPENDS_${PN}-compiler = "${PN}"
+RDEPENDS_${PN}-dev += "${PN}-compiler"
+RDEPENDS_${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python-protobuf', '', d)}"
+
+MIPS_INSTRUCTION_SET = "mips"
+
+BBCLASSEXTEND = "native nativesdk"
+
+LDFLAGS_append_arm = " -latomic"
+LDFLAGS_append_mips = " -latomic"
+LDFLAGS_append_powerpc = " -latomic"
+LDFLAGS_append_mipsel = " -latomic"