From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kmix/, kde-apps/kmix/files/
Date: Wed, 26 Feb 2025 20:44:44 +0000 (UTC) [thread overview]
Message-ID: <1740507800.f1bcb9a063b092de94dcc3d595cd6438450a85be.asturm@gentoo> (raw)
commit: f1bcb9a063b092de94dcc3d595cd6438450a85be
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 3 17:31:13 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 18:23:20 2025 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f1bcb9a0
kde-apps/kmix: Patch out implicit kde-plasma/plasma-pa RDEPEND
Makes it possible to drop the (futile, anyway) dependency on
kde-plasma/kde-cli-tools:* for runtime usage of kcmshell.
Re-adding a respun patch removed in PR 40498.
Closes: https://github.com/gentoo/gentoo/pull/40498
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
...> kmix-24.12.2-revert-kcm_pulseaudio-dep.patch} | 48 +++++++++++-----------
kde-apps/kmix/kmix-9999.ebuild | 7 +++-
2 files changed, 31 insertions(+), 24 deletions(-)
diff --git a/kde-apps/kmix/files/kmix-24.05.2-revert-kcm_pulseaudio-dep.patch b/kde-apps/kmix/files/kmix-24.12.2-revert-kcm_pulseaudio-dep.patch
similarity index 63%
rename from kde-apps/kmix/files/kmix-24.05.2-revert-kcm_pulseaudio-dep.patch
rename to kde-apps/kmix/files/kmix-24.12.2-revert-kcm_pulseaudio-dep.patch
index 23987a8261..15d9b8b147 100644
--- a/kde-apps/kmix/files/kmix-24.05.2-revert-kcm_pulseaudio-dep.patch
+++ b/kde-apps/kmix/files/kmix-24.12.2-revert-kcm_pulseaudio-dep.patch
@@ -1,49 +1,51 @@
-From 8d6837131706bd0f5dbd573726e7c01775f8256c Mon Sep 17 00:00:00 2001
+From dfa2433dc58ddb24f7d9070c963d0267edf9e4b0 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Wed, 4 Sep 2024 08:03:09 +0200
Subject: [PATCH] Revert "When we click on "Audio Setup", calls kcm_pulseaudio"
This reverts commit a54f760987557036b90888a3efa7ad17346a00ed.
---
- apps/kmixwindow.cpp | 22 +---------------------
+ apps/kmixwindow.cpp | 24 ------------------------
apps/kmixwindow.h | 2 --
desktop/kmixui.rc | 1 -
- 3 files changed, 1 insertion(+), 24 deletions(-)
+ 3 files changed, 27 deletions(-)
diff --git a/apps/kmixwindow.cpp b/apps/kmixwindow.cpp
-index fa727f39..fb182f49 100644
+index f548edd3..ae86d653 100644
--- a/apps/kmixwindow.cpp
+++ b/apps/kmixwindow.cpp
-@@ -37,7 +37,6 @@
+@@ -38,8 +38,6 @@
#include <klocalizedstring.h>
#include <kstandardaction.h>
#include <kxmlguifactory.h>
--#include <KProcess>
+-#include <kprocess.h>
+-#include <kcoreaddons_version.h>
// KMix
#include "kmix_debug.h"
-@@ -164,11 +163,7 @@ void KMixWindow::initActions()
-
+@@ -172,11 +170,6 @@ void KMixWindow::initActions()
+ KStandardAction::preferences(this, &KMixWindow::showSettings, actionCollection());
KStandardAction::keyBindings(guiFactory(), &KXMLGUIFactory::showConfigureShortcutsDialog, actionCollection());
-- QAction* action = actionCollection()->addAction(QStringLiteral("launch_kdesoundsetup"));
+- action = actionCollection()->addAction(QStringLiteral("launch_kdesoundsetup"));
- action->setText(i18n("Audio Setup..."));
-- connect(action, SIGNAL(triggered(bool)), SLOT(slotKdeAudioSetupExec()));
+- action->setIcon(QIcon::fromTheme("speaker"));
+- connect(action, &QAction::triggered, this, &KMixWindow::slotKdeAudioSetupExec);
-
-- action = actionCollection()->addAction(QStringLiteral("hide_kmixwindow"));
-+ QAction* action = actionCollection()->addAction(QStringLiteral("hide_kmixwindow"));
- action->setText(i18n("Hide Mixer Window"));
- connect(action, SIGNAL(triggered(bool)), SLOT(hideOrClose()));
- actionCollection()->setDefaultShortcut(action, Qt::Key_Escape);
-@@ -1174,21 +1169,6 @@ void KMixWindow::toggleMenuBar()
+ action = actionCollection()->addAction(QStringLiteral("toggle_channels_currentview"));
+ action->setText(i18n("Configure &Channels..."));
+ action->setIcon(QIcon::fromTheme("settings-channels"));
+@@ -1171,23 +1164,6 @@ void KMixWindow::toggleMenuBar()
menuBar()->setVisible(_actionShowMenubar->isChecked());
}
+-
-void KMixWindow::slotKdeAudioSetupExec()
-{
-- forkExec(QStringList() << "kcmshell5" << "kcm_pulseaudio");
+- forkExec(QStringList() << QString("kcmshell%1").arg(KCOREADDONS_VERSION_MAJOR) << "kcm_pulseaudio");
-}
-
+-
-void KMixWindow::forkExec(const QStringList& args)
-{
- int pid = KProcess::startDetached(args);
@@ -56,20 +58,20 @@ index fa727f39..fb182f49 100644
-
void KMixWindow::slotConfigureCurrentView()
{
- KMixerWidget *mw = qobject_cast<KMixerWidget *>(m_wsMixers->currentWidget());
+ const KMixerWidget *mw = qobject_cast<const KMixerWidget *>(m_wsMixers->currentWidget());
diff --git a/apps/kmixwindow.h b/apps/kmixwindow.h
-index 67560723..0bcb04ed 100644
+index 8e0a04cc..5711d452 100644
--- a/apps/kmixwindow.h
+++ b/apps/kmixwindow.h
-@@ -86,7 +86,6 @@ protected Q_SLOTS:
+@@ -88,7 +88,6 @@ protected Q_SLOTS:
private:
KMixerWidget* findKMWforTab( const QString& tabId );
- void forkExec(const QStringList& args);
KToggleAction* _actionShowMenubar;
- bool m_startVisible;
-@@ -117,7 +116,6 @@ private:
+ bool m_startVisible;
+@@ -120,7 +119,6 @@ private:
static QString getKmixctrlRcFilename(const QString &postfix);
private Q_SLOTS:
@@ -90,5 +92,5 @@ index 5c53281a..27ca3351 100644
<Menu name="help" append="about_merge"><text>&Help</text>
<Action name="hwinfo"/>
--
-2.46.0
+GitLab
diff --git a/kde-apps/kmix/kmix-9999.ebuild b/kde-apps/kmix/kmix-9999.ebuild
index 6e4187ddad..4e953a7220 100644
--- a/kde-apps/kmix/kmix-9999.ebuild
+++ b/kde-apps/kmix/kmix-9999.ebuild
@@ -41,7 +41,12 @@ DEPEND="
"
RDEPEND="${DEPEND}"
-PATCHES=( "${FILESDIR}/${PN}-23.04.2-autostart_disable.patch" ) # TODO: upstream
+PATCHES=(
+ # TODO: upstream
+ "${FILESDIR}/${PN}-23.04.2-autostart_disable.patch"
+ # Pending: https://invent.kde.org/multimedia/kmix/-/merge_requests/29
+ "${FILESDIR}/${PN}-24.12.2-revert-kcm_pulseaudio-dep.patch"
+)
src_configure() {
local mycmakeargs=(
next reply other threads:[~2025-02-26 20:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 20:44 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-17 10:11 [gentoo-commits] proj/kde:master commit in: kde-apps/kmix/, kde-apps/kmix/files/ Andreas Sturmlechner
2020-04-09 21:38 Andreas Sturmlechner
2015-08-25 16:24 Michael Palimaka
2015-05-23 15:57 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1740507800.f1bcb9a063b092de94dcc3d595cd6438450a85be.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox