mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-07 03:29:59 +00:00
dbus-cxx: Upgrade to 2.3.1
License-Update: Swith to new license [1] Drop upstreamed patches [1] https://github.com/dbus-cxx/dbus-cxx/commit/efe8d3587104bcd748d990da8b86de9e3ef9a0ed Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+4
-8
@@ -2,16 +2,12 @@ SUMMARY = "D-Bus wrapper in C++ for dbus"
|
|||||||
HOMEPAGE = "https://dbus-cxx.github.io/"
|
HOMEPAGE = "https://dbus-cxx.github.io/"
|
||||||
BUGTRACKER = "https://github.com/libsigcplusplus/libsigcplusplus/issues"
|
BUGTRACKER = "https://github.com/libsigcplusplus/libsigcplusplus/issues"
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
LICENSE = "GPL-3.0-only"
|
LICENSE = "LGPL-3.0-or-later | BSD-3-Clause"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4cf0188f02184e1e84b9586ac53c3f83"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https \
|
SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https \
|
||||||
file://0001-Include-typeinfo-for-typeid.patch \
|
file://0001-Include-missing-cstdint.patch"
|
||||||
file://0001-include-utility-header.patch \
|
SRCREV = "898f6ea8f7ffe454e81a9337002df555728d4199"
|
||||||
file://0001-Include-missing-cstdint.patch \
|
|
||||||
"
|
|
||||||
SRC_URI:append:libc-musl = " file://fix_build_musl.patch"
|
|
||||||
SRCREV = "73532d6a5faae9c721c2cc9535b8ef32d4d18264"
|
|
||||||
|
|
||||||
DEPENDS = "\
|
DEPENDS = "\
|
||||||
dbus \
|
dbus \
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
From e262b6e7cc6271d71405f10c4817b9b3b2b95f05 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
|
|
||||||
Date: Mon, 13 Dec 2021 02:00:48 +0100
|
|
||||||
Subject: [PATCH] Include typeinfo for typeid()
|
|
||||||
|
|
||||||
Otherwise fails with:
|
|
||||||
error: must '#include <typeinfo>' before using 'typeid'
|
|
||||||
|
|
||||||
Upstream-Status: Submitted
|
|
||||||
[https://github.com/dbus-cxx/dbus-cxx/pull/83]
|
|
||||||
---
|
|
||||||
dbus-cxx/demangle.h | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/dbus-cxx/demangle.h b/dbus-cxx/demangle.h
|
|
||||||
index b71bcb9..9a4e99b 100644
|
|
||||||
--- a/dbus-cxx/demangle.h
|
|
||||||
+++ b/dbus-cxx/demangle.h
|
|
||||||
@@ -21,6 +21,7 @@
|
|
||||||
#define DBUSCXX_DEMANGLE_H
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
+#include <typeinfo>
|
|
||||||
#include <dbus-cxx/dbus-cxx-config.h>
|
|
||||||
|
|
||||||
#if DBUS_CXX_HAS_CXXABI_H
|
|
||||||
--
|
|
||||||
2.25.1
|
|
||||||
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
From 63170cfcfbf483716ce2599e165db80713fc2706 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
|
||||||
Date: Tue, 12 Apr 2022 06:47:19 -0700
|
|
||||||
Subject: [PATCH] include utility header
|
|
||||||
|
|
||||||
Needed for exchange from std namespace
|
|
||||||
|
|
||||||
Fixes
|
|
||||||
dbus-cxx/variant.cpp:135:25: error: 'exchange' is not a member of 'std'
|
|
||||||
|
|
||||||
Upstream-Status: Submitted [https://github.com/dbus-cxx/dbus-cxx/pull/98]
|
|
||||||
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
||||||
---
|
|
||||||
dbus-cxx/variant.cpp | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/dbus-cxx/variant.cpp b/dbus-cxx/variant.cpp
|
|
||||||
index bcf2684..97b622c 100644
|
|
||||||
--- a/dbus-cxx/variant.cpp
|
|
||||||
+++ b/dbus-cxx/variant.cpp
|
|
||||||
@@ -11,6 +11,7 @@
|
|
||||||
#include <dbus-cxx/dbus-cxx-private.h>
|
|
||||||
#include <dbus-cxx/signatureiterator.h>
|
|
||||||
#include <stdint.h>
|
|
||||||
+#include <utility>
|
|
||||||
#include "enums.h"
|
|
||||||
#include "path.h"
|
|
||||||
#include "signature.h"
|
|
||||||
--
|
|
||||||
2.35.1
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
diff --git a/dbus-cxx/sasl.cpp b/dbus-cxx/sasl.cpp
|
|
||||||
index e8a6060..7a76af6 100644
|
|
||||||
--- a/dbus-cxx/sasl.cpp
|
|
||||||
+++ b/dbus-cxx/sasl.cpp
|
|
||||||
@@ -70,7 +70,7 @@ std::tuple<bool, bool, std::vector<uint8_t>> SASL::authenticate() {
|
|
||||||
bool success = false;
|
|
||||||
bool negotiatedFD = false;
|
|
||||||
std::vector<uint8_t> serverGUID;
|
|
||||||
- __uid_t uid = getuid();
|
|
||||||
+ uid_t uid = getuid();
|
|
||||||
std::string line;
|
|
||||||
std::smatch regex_match;
|
|
||||||
Reference in New Issue
Block a user