summaryrefslogtreecommitdiff
path: root/dev-cpp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-18 20:11:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-18 20:11:57 +0000
commitb30bf80580f09f15ee6686ff818cd36d923e1291 (patch)
tree273782d0605a08ce382dcf09078d11ed800cca58 /dev-cpp
parent51e7ea94956939599972c733f5b65fe71c7eb857 (diff)
gentoo auto-resync : 18:02:2023 - 20:11:56
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/Manifest.gzbin12912 -> 12910 bytes
-rw-r--r--dev-cpp/sdbus-c++/Manifest11
-rw-r--r--dev-cpp/sdbus-c++/files/0001-fix-integration-tests-for-libsystemd-v251.patch39
-rw-r--r--dev-cpp/sdbus-c++/metadata.xml3
-rw-r--r--dev-cpp/sdbus-c++/sdbus-c++-0.9.0-r5.ebuild (renamed from dev-cpp/sdbus-c++/sdbus-c++-0.9.0-r4.ebuild)16
-rw-r--r--dev-cpp/sdbus-c++/sdbus-c++-1.2.0-r1.ebuild (renamed from dev-cpp/sdbus-c++/sdbus-c++-1.2.0.ebuild)17
6 files changed, 65 insertions, 21 deletions
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz
index 3d256987b0fa..fb2df1b6e313 100644
--- a/dev-cpp/Manifest.gz
+++ b/dev-cpp/Manifest.gz
Binary files differ
diff --git a/dev-cpp/sdbus-c++/Manifest b/dev-cpp/sdbus-c++/Manifest
index faddd325d9a3..aff91ca3679a 100644
--- a/dev-cpp/sdbus-c++/Manifest
+++ b/dev-cpp/sdbus-c++/Manifest
@@ -1,9 +1,10 @@
+AUX 0001-fix-integration-tests-for-libsystemd-v251.patch 2164 BLAKE2B a922c1aaf7453ae1d399dcfc5cc8df35837048fa44ccd087587be8bf8c119c11ed9a19ba56b8ed28ab9d41c2778548ad0279d3aad9aa35be43740beb191f95af SHA512 f8426b7eb27e25a75289e5586816bf552d123bbb53ab94ce2f70af074b93c3e2b834f010f1618040fb642ac19b922af87ca5b632825950b909a335b810a3f56a
AUX sdbus-c++-pc-reqs.patch 1106 BLAKE2B 8f2cbb5d8f91b736cc3d15997e236dc452dd80ed9cc8c28c2b42a624b98f1f55fd986424291a37e9c8eba74c7bbeb9a6071231f875246706b5bcc617b10d227a SHA512 d27efa14fe841be0d6e0c7ca179a44aea560894eb5fb951deb31c63b8d65e223aa387d854dbc68209075bacb25cf5f40dea38715d62ced510fbef8284f67efe2
AUX sdbus-c++-static-libsystemd.patch 417 BLAKE2B ec6120631ad48d70820c1070a47a224c837c838e0ff24c031b02fb4b9ef900da7b3a2c0b0e696066665a9004b9fcb68851c6971a220b2446da03dbbf42138ac5 SHA512 e42a080f580597aa7c3cddb71f6e6368addfe4a36b08b2944baf111dd70029c3d0d79868dabeaf78b91836c2a84939163ce10c3ffe4b36e53424be06c1fe1a0e
DIST sdbus-c++-0.9.0.tar.gz 198979 BLAKE2B 31cda7ce97aad05f93a015ca0f8bd93aa095f6abb6bc513343767c7221d2aeacc96ee2b6a1b0ecf50850f17506fc97aa3a9fead0332687d57bdbddf806502826 SHA512 8695d3efac5654cb28998cdd69c16f251654b2c95e0dc2a2f5a4b01b24dae7b04e1a1f2e9bc9fb96b99f099dd4a130ca980cb672f74829565fd0d48162a581c5
DIST sdbus-c++-1.2.0.tar.gz 205798 BLAKE2B da040acb49f5294665b09df97c171eac38f7c6ce5e86093b45b896c4b216afc9b45870395404ffb8e7c32ac8b98f6c795fb528691b344587545e5ae27d4423d6 SHA512 dab2c4d9a5ea6d626672a5a6ee6f3490c60c6fdd160769801a4d6b4cf3df4983fad57ff0230132a5d637ec78a55993200ce217fa89461016e101865cc2777d7d
-DIST systemd-musl-patches-251.2.tar.gz 28512 BLAKE2B 4ac6a5220dab8409962a3954af2fb2484af718d0f282129957236ce241fbe8538a90d507a96c7c3d86f4f408ab784a6888b37486405d3276e7734a1bd5aa9680 SHA512 6e56b62234ac54929faea5a7cad699d0b932f869b48e3ba4e1f349a88653b7c787efec24a09b00290c3dc566614e3c1dc2f3c04f04e943f513108a91eca1be82
-DIST systemd-stable-251.4.tar.gz 11440203 BLAKE2B 58a0ee4adcc9d35b15b9cc98b3da81d1103b61a6c0bee722468a5113cd7d6de1d40c46ef964ba9ecc4746e81b516ae4b2f1d046874d62db066735c652592612e SHA512 7bbfadd80b88a4c3510a5e4e3572e4eab71dafbf6289da038e552988e09ee8da16da3c9bb8a4fbbde6c6236e0e3c352b0a33f9ee0b84f10241f3499383387738
-EBUILD sdbus-c++-0.9.0-r4.ebuild 3603 BLAKE2B f303d41eb14a5c17cbc87b748f3e12472240793ff09cb476786bf7d4c81f5280e220da840a1789b4ef6cf9b750bdc68620e86725fbf6cf937dc2b1586df7878c SHA512 6cf460b23e2b7519b52e9817d280f7afb22bc02bbd29b7c47118d24e0795042c7ac24428a00d98f839000d882899907120aabad777ab54e1e7ead61d26e58c3f
-EBUILD sdbus-c++-1.2.0.ebuild 3603 BLAKE2B 33197be0bf80527967a569b58fed92a634c9d56a0fc8f2aea9e42b9d75a926fa0ce4b5a5ea6941ff698745a1d82baaa86e9e5af4c977e3f3a691121d985f14ad SHA512 53781777c4148e2b535448ba3ede0759689a07f0590eac56493ae3c80c5710f68867f0f9abb47e45bdd0bc0e586a08c5d703aa16e0b56af3daa25101c3a96224
-MISC metadata.xml 418 BLAKE2B d05d643aa8ee2b37ffb36fd99116e85e714e0e64ef830cbee4f24e2e09315a24c439e0fcc8f0b4c5516860e4dd13730682c3d50a1f65dd1c2954628793791ee9 SHA512 b75a5467a9b29405732dbac6c9e18567f7b37319a4fbffc2b65098ea2d1c3fdcc903834080e6751ef41737290352fd7ab2d0d68296675fb19f5520b81625fcbf
+DIST systemd-musl-patches-252.4.tar.gz 25053 BLAKE2B 1d75f85ea0c48c788e9199e2d919bac90edce16a9788a349332cf308c32fb9510ac2883f8e09f21e7f37fbac2e557dc39cdf44dcd7a986587c40dedd2d1b5df5 SHA512 1dc8e220eae1869eb4bb50f9c701392542b053099cf9b6bde13f12a2d26fa29984819a8b4ce1b6c57e38a71f86324469a87cf9e22abe0f6d67ac3e84c6b9a3ba
+DIST systemd-stable-252.6.tar.gz 11823064 BLAKE2B 0c260685c929b5271efba13d6ba84bc99211ead7d080b5e9b0d68428fe46a8a8a556b140787dd21f7b19e1454a78f15bf407038b3dc02a4d3db2336f3d881255 SHA512 948cb3f7c6a4bbc2bcc3ebe4f36afac304c9d694dadac7e363bbdb79f111eb5d69fd501433ba6719d79d833206a019cb40a37b16a92c8d22acbdd9736cdbdd37
+EBUILD sdbus-c++-0.9.0-r5.ebuild 3572 BLAKE2B 02dea1d647383aa47dd2f24f5a52b0266b50115364fa2c5f5084fffe014f49e61260a522985d320eea2a53bd9ba4b5d4903187a7b8f8622626b9268230c9c599 SHA512 83f576d66fcc8012234af3c4e020d5187e334df05374cb3344d420bc7296834b34b9d4082fe8181a01517576028fe70264edec7e739eca059738f0a3dced0848
+EBUILD sdbus-c++-1.2.0-r1.ebuild 3640 BLAKE2B f0e49fb063aa842bd159f3133738696f5ca8a05480b9089b199d2a62b356bde1f3ba8e3e94c7548bbcf3a19becb0037a28b3c36e6cc68f8f22436e11096d43eb SHA512 940d4bdad69fe59f62b1c5dc96e4ede20b188cdde3afd5a9caaed38792d75e7f596d3280ad6fb8aaf6f7be443db2f2647e0687cbed60d569220185e67d0466f0
+MISC metadata.xml 506 BLAKE2B 9782068264c44c006c345fa1ffc32eb47e4f526dc0cc371f2ae2cf0d480bccf065aa1cea17ceec02b40269fb029d6473b5dc531546571e558d2a78184f029bed SHA512 347b6ae706fc9878a356e8fa35026ff693989ccb4ea702ff4727e9d256863d2225718be0d40591895970018d5161163b42fb3423594a083794025fb9f73f5167
diff --git a/dev-cpp/sdbus-c++/files/0001-fix-integration-tests-for-libsystemd-v251.patch b/dev-cpp/sdbus-c++/files/0001-fix-integration-tests-for-libsystemd-v251.patch
new file mode 100644
index 000000000000..93767dc94be7
--- /dev/null
+++ b/dev-cpp/sdbus-c++/files/0001-fix-integration-tests-for-libsystemd-v251.patch
@@ -0,0 +1,39 @@
+From c812d03bc726aafc90f996073bfc327bb0ae230d Mon Sep 17 00:00:00 2001
+From: Stanislav Angelovic <stanislav.angelovic@siemens.com>
+Date: Mon, 2 Jan 2023 15:05:57 +0100
+Subject: [PATCH] fix: integration tests for libsystemd v251
+
+diff --git a/tests/integrationtests/DBusStandardInterfacesTests.cpp b/tests/integrationtests/DBusStandardInterfacesTests.cpp
+index a291be3..6381587 100644
+--- a/tests/integrationtests/DBusStandardInterfacesTests.cpp
++++ b/tests/integrationtests/DBusStandardInterfacesTests.cpp
+@@ -201,7 +201,13 @@ TEST_F(SdbusTestObject, EmitsInterfacesAddedSignalForAllObjectInterfaces)
+ , const std::map<std::string, std::map<std::string, sdbus::Variant>>& interfacesAndProperties )
+ {
+ EXPECT_THAT(objectPath, Eq(OBJECT_PATH));
++#if LIBSYSTEMD_VERSION<=250
+ EXPECT_THAT(interfacesAndProperties, SizeIs(5)); // INTERFACE_NAME + 4 standard interfaces
++#else
++ // Since systemd v251, ObjectManager standard interface is not listed among the interfaces
++ // if the object does not have object manager functionality explicitly enabled.
++ EXPECT_THAT(interfacesAndProperties, SizeIs(4)); // INTERFACE_NAME + 3 standard interfaces
++#endif
+ #if LIBSYSTEMD_VERSION<=244
+ // Up to sd-bus v244, all properties are added to the list, i.e. `state', `action', and `blocking' in this case.
+ EXPECT_THAT(interfacesAndProperties.at(INTERFACE_NAME), SizeIs(3));
+@@ -248,7 +254,13 @@ TEST_F(SdbusTestObject, EmitsInterfacesRemovedSignalForAllObjectInterfaces)
+ , const std::vector<std::string>& interfaces )
+ {
+ EXPECT_THAT(objectPath, Eq(OBJECT_PATH));
++#if LIBSYSTEMD_VERSION<=250
+ ASSERT_THAT(interfaces, SizeIs(5)); // INTERFACE_NAME + 4 standard interfaces
++#else
++ // Since systemd v251, ObjectManager standard interface is not listed among the interfaces
++ // if the object does not have object manager functionality explicitly enabled.
++ ASSERT_THAT(interfaces, SizeIs(4)); // INTERFACE_NAME + 3 standard interfaces
++#endif
+ signalReceived = true;
+ };
+
+--
+2.39.1
diff --git a/dev-cpp/sdbus-c++/metadata.xml b/dev-cpp/sdbus-c++/metadata.xml
index 3bd4943a1267..dfc9fb610081 100644
--- a/dev-cpp/sdbus-c++/metadata.xml
+++ b/dev-cpp/sdbus-c++/metadata.xml
@@ -9,4 +9,7 @@
<flag name="systemd">Use external libsystemd instead of statically-linked build</flag>
<flag name="tools">Install interface stub code generator</flag>
</use>
+ <upstream>
+ <remote-id type="github">Kistler-Group/sdbus-cpp</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-cpp/sdbus-c++/sdbus-c++-0.9.0-r4.ebuild b/dev-cpp/sdbus-c++/sdbus-c++-0.9.0-r5.ebuild
index 425108f6b4d5..a51620da4851 100644
--- a/dev-cpp/sdbus-c++/sdbus-c++-0.9.0-r4.ebuild
+++ b/dev-cpp/sdbus-c++/sdbus-c++-0.9.0-r5.ebuild
@@ -3,11 +3,11 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit python-any-r1 meson cmake
-SDP="systemd-stable-251.4"
-MUSL_PATCHSET="251.2"
+SDP="systemd-stable-252.6"
+MUSL_PATCHSET="systemd-musl-patches-252.4"
DESCRIPTION="High-level C++ D-Bus library"
HOMEPAGE="https://github.com/Kistler-Group/sdbus-cpp"
@@ -15,9 +15,9 @@ SRC_URI="https://github.com/Kistler-Group/sdbus-cpp/archive/refs/tags/v${PV}.tar
!systemd? (
https://github.com/systemd/${SDP%-*}/archive/v${SDP##*-}/${SDP}.tar.gz
elibc_musl? (
- https://dev.gentoo.org/~floppym/distfiles/systemd-musl-patches-${MUSL_PATCHSET}.tar.gz
- https://dev.gentoo.org/~gyakovlev/distfiles/systemd-musl-patches-${MUSL_PATCHSET}.tar.gz
- https://dev.gentoo.org/~soap/distfiles/systemd-musl-patches-${MUSL_PATCHSET}.tar.gz
+ https://dev.gentoo.org/~floppym/distfiles/${MUSL_PATCHSET}.tar.gz
+ https://dev.gentoo.org/~gyakovlev/distfiles/${MUSL_PATCHSET}.tar.gz
+ https://dev.gentoo.org/~soap/distfiles/${MUSL_PATCHSET}.tar.gz
)
)"
LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1" # Nothing to do with Qt but exception text is exactly the same.
@@ -51,7 +51,7 @@ BDEPEND="
"
python_check_deps() {
- has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+ python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
}
S="${WORKDIR}/sdbus-cpp-${PV}"
@@ -69,7 +69,7 @@ pkg_setup() {
src_prepare() {
if ! use systemd; then
pushd "${SDS}" || die
- use elibc_musl && eapply "${WORKDIR}"/musl-patches
+ use elibc_musl && eapply "${WORKDIR}/${MUSL_PATCHSET}"
eapply "${FILESDIR}"/${PN}-static-libsystemd.patch
popd || die
fi
diff --git a/dev-cpp/sdbus-c++/sdbus-c++-1.2.0.ebuild b/dev-cpp/sdbus-c++/sdbus-c++-1.2.0-r1.ebuild
index 5b11673a480c..14aec38d9337 100644
--- a/dev-cpp/sdbus-c++/sdbus-c++-1.2.0.ebuild
+++ b/dev-cpp/sdbus-c++/sdbus-c++-1.2.0-r1.ebuild
@@ -3,11 +3,11 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit python-any-r1 meson cmake
-SDP="systemd-stable-251.4"
-MUSL_PATCHSET="251.2"
+SDP="systemd-stable-252.6"
+MUSL_PATCHSET="systemd-musl-patches-252.4"
DESCRIPTION="High-level C++ D-Bus library"
HOMEPAGE="https://github.com/Kistler-Group/sdbus-cpp"
@@ -15,9 +15,9 @@ SRC_URI="https://github.com/Kistler-Group/sdbus-cpp/archive/refs/tags/v${PV}.tar
!systemd? (
https://github.com/systemd/${SDP%-*}/archive/v${SDP##*-}/${SDP}.tar.gz
elibc_musl? (
- https://dev.gentoo.org/~floppym/distfiles/systemd-musl-patches-${MUSL_PATCHSET}.tar.gz
- https://dev.gentoo.org/~gyakovlev/distfiles/systemd-musl-patches-${MUSL_PATCHSET}.tar.gz
- https://dev.gentoo.org/~soap/distfiles/systemd-musl-patches-${MUSL_PATCHSET}.tar.gz
+ https://dev.gentoo.org/~floppym/distfiles/${MUSL_PATCHSET}.tar.gz
+ https://dev.gentoo.org/~gyakovlev/distfiles/${MUSL_PATCHSET}.tar.gz
+ https://dev.gentoo.org/~soap/distfiles/${MUSL_PATCHSET}.tar.gz
)
)"
LICENSE="LGPL-2.1+ Nokia-Qt-LGPL-Exception-1.1" # Nothing to do with Qt but exception text is exactly the same.
@@ -51,7 +51,7 @@ BDEPEND="
"
python_check_deps() {
- has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
+ python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
}
S="${WORKDIR}/sdbus-cpp-${PV}"
@@ -59,6 +59,7 @@ SDS="${WORKDIR}/${SDP}"
SDB="${WORKDIR}/systemd-build"
PATCHES=(
+ "${FILESDIR}"/0001-fix-integration-tests-for-libsystemd-v251.patch
"${FILESDIR}"/${PN}-pc-reqs.patch
)
@@ -69,7 +70,7 @@ pkg_setup() {
src_prepare() {
if ! use systemd; then
pushd "${SDS}" || die
- use elibc_musl && eapply "${WORKDIR}"/musl-patches
+ use elibc_musl && eapply "${WORKDIR}/${MUSL_PATCHSET}"
eapply "${FILESDIR}"/${PN}-static-libsystemd.patch
popd || die
fi