diff options
Diffstat (limited to 'media-libs/pulseaudio-qt')
3 files changed, 0 insertions, 81 deletions
diff --git a/media-libs/pulseaudio-qt/Manifest b/media-libs/pulseaudio-qt/Manifest index 787e865e8e0d..fa524c27ae74 100644 --- a/media-libs/pulseaudio-qt/Manifest +++ b/media-libs/pulseaudio-qt/Manifest @@ -1,3 +1,2 @@ -DIST pulseaudio-qt-1.3.tar.xz 34148 BLAKE2B f283c369fcbeaf57537fe28d6f8aa02c34d7567ab8260ec8ba05edf8320b65e29e6ac88489ff0b49ae57b0bc8b8a49da83886f50ed9641850c84939a979e930c SHA512 2326277fd37327db29a5984056949fcf935c36e7b39184d1307a5d0a891efed4f0e4f32e783f3f7da2c7e6b7409eb908b2521064c6d24a28561ed38db9f8d4e8 DIST pulseaudio-qt-1.5.0.tar.xz 36004 BLAKE2B ef61c70b1fdfc850c2cd0bde7621da9ff088347f1134b970eb2c5383b3f1dc2aa0d07a37d27b617c5647def3cda92fc745a847e9234826acc825d64d7e542426 SHA512 c0ce24c10b607b2866eb08bae14bac340de028bbf6ebfdd57ae8f9bd3bbb182cc681a124f20a4f309fd56c97598a33db07c6289d2c9801cc8f395cd424e588b8 DIST pulseaudio-qt-1.6.0.tar.xz 37232 BLAKE2B 6302ea3a2cedae8abe8b936b16766753c8995d3bc39c4217d1aeff3682d756191c2a82d3f04b4b40602de22e6cf8cecca2e28e4a9a528c1ccc472a6f5a9834b1 SHA512 4bf612efc5caf51cd177d26ebaba0bd11f9513ac65d0bece86c8171745ec824dc924cbb067d440b711be6eaf5ebcf84e9996286944de352df5fc7cf91142ac77 diff --git a/media-libs/pulseaudio-qt/files/pulseaudio-qt-1.3-no-crash-if-no-server-response.patch b/media-libs/pulseaudio-qt/files/pulseaudio-qt-1.3-no-crash-if-no-server-response.patch deleted file mode 100644 index 459319aa49b8..000000000000 --- a/media-libs/pulseaudio-qt/files/pulseaudio-qt-1.3-no-crash-if-no-server-response.patch +++ /dev/null @@ -1,44 +0,0 @@ -From f6b02f21a9131bafc4965ebb64acf01a4505ce04 Mon Sep 17 00:00:00 2001 -From: Harald Sitter <sitter@kde.org> -Date: Mon, 10 Oct 2022 16:06:20 +0200 -Subject: [PATCH] don't crash when the server doesn't respond - -inside libpulse a non-reply (e.g. caused by a timeout) results in info -being a nullptr. when that happens simply skip over the callback. when -this happens chances are the server crashed or is otherwise defunct so -we won't be able to do much about this anyway - -easy to test by attaching to both plasmashell and pulseaudio and -interrupting the latter when the former calls -pa_context_get_server_info. this results in the reply timeout getting -hit -> nullptr callback. - -it is unclear if we can somehow recover from this but in lieu of a -reliable real world test case for this we at least shouldn't crash on -nullptr access. - -BUG: 454647 ---- - src/context.cpp | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/context.cpp b/src/context.cpp -index 604364f..c5a0f10 100644 ---- a/src/context.cpp -+++ b/src/context.cpp -@@ -161,6 +161,12 @@ static void server_cb(pa_context *context, const pa_server_info *info, void *dat - { - Q_ASSERT(context); - Q_ASSERT(data); -+ if (!info) { -+ // info may be nullptr when e.g. the server doesn't reply in time (e.g. it is stuck) -+ // https://bugs.kde.org/show_bug.cgi?id=454647 -+ qCWarning(PULSEAUDIOQT) << "server_cb() called without info!"; -+ return; -+ } - static_cast<ContextPrivate *>(data)->serverCallback(info); - } - --- -GitLab - diff --git a/media-libs/pulseaudio-qt/pulseaudio-qt-1.3-r4.ebuild b/media-libs/pulseaudio-qt/pulseaudio-qt-1.3-r4.ebuild deleted file mode 100644 index b92ac07cdad9..000000000000 --- a/media-libs/pulseaudio-qt/pulseaudio-qt-1.3-r4.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -ECM_QTHELP="true" -ECM_TEST="optional" -QTMIN=5.15.2 -inherit ecm kde.org - -DESCRIPTION="Qt bindings for libpulse" -HOMEPAGE="https://invent.kde.org/libraries/pulseaudio-qt" - -if [[ ${KDE_BUILD_TYPE} = release ]]; then - SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz" - KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0/3" - -RDEPEND=" - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - media-libs/libpulse[glib] -" -DEPEND="${RDEPEND} - test? ( - >=dev-qt/qtdeclarative-${QTMIN}:5 - >=dev-qt/qtquickcontrols2-${QTMIN}:5 - ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}/${P}-no-crash-if-no-server-response.patch" ) # KDE-bug 454647 |