From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E5ED8138350 for ; Thu, 9 Apr 2020 21:37:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFF07E0900; Thu, 9 Apr 2020 21:37:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 910D4E0900 for ; Thu, 9 Apr 2020 21:37:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DECB334F0B7 for ; Thu, 9 Apr 2020 21:37:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 001C01D8 for ; Thu, 9 Apr 2020 21:37:16 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1586468186.4fc761eb4fcf347920d8f85a46a2e59a82f28874.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kmix/files/, kde-apps/kmix/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-apps/kmix/files/kmix-19.12.3-no-more-kcm_phonon.patch kde-apps/kmix/kmix-19.12.3-r1.ebuild X-VCS-Directories: kde-apps/kmix/ kde-apps/kmix/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4fc761eb4fcf347920d8f85a46a2e59a82f28874 X-VCS-Branch: master Date: Thu, 9 Apr 2020 21:37:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c9aee300-b2cd-4958-ab17-c91cb963537d X-Archives-Hash: a8dfafafd721d383f5c2fad37274ce41 commit: 4fc761eb4fcf347920d8f85a46a2e59a82f28874 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Apr 9 20:52:12 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Apr 9 21:36:26 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc761eb kde-apps/kmix: Drop no longer available kcm_phonon 'Audio Setup' Closes: https://bugs.gentoo.org/716092 Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> .../files/kmix-19.12.3-no-more-kcm_phonon.patch | 71 ++++++++++++++++++++++ kde-apps/kmix/kmix-19.12.3-r1.ebuild | 60 ++++++++++++++++++ 2 files changed, 131 insertions(+) diff --git a/kde-apps/kmix/files/kmix-19.12.3-no-more-kcm_phonon.patch b/kde-apps/kmix/files/kmix-19.12.3-no-more-kcm_phonon.patch new file mode 100644 index 00000000000..a67b89f324e --- /dev/null +++ b/kde-apps/kmix/files/kmix-19.12.3-no-more-kcm_phonon.patch @@ -0,0 +1,71 @@ +From b012e900cce1e432537b192bb146f0b07dbe055c Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Thu, 9 Apr 2020 22:37:28 +0200 +Subject: [PATCH] Drop no longer available kcm_phonon 'Audio Setup' from + Settings menu/systray + +--- + apps/kmix.cpp | 10 +++------- + apps/kmix.h | 1 - + desktop/kmixui.rc | 1 - + 3 files changed, 3 insertions(+), 9 deletions(-) + +diff --git a/apps/kmix.cpp b/apps/kmix.cpp +index 5b83d007..dd39a3d7 100644 +--- a/apps/kmix.cpp ++++ b/apps/kmix.cpp +@@ -177,11 +177,7 @@ void KMixWindow::initActions() + //actionCollection()->addAction(QStringLiteral( a->objectName()), a ); + KStandardAction::preferences(this, SLOT(showSettings()), actionCollection()); + KStandardAction::keyBindings(guiFactory(), SLOT(configureShortcuts()), actionCollection()); +- QAction* action = actionCollection()->addAction(QStringLiteral("launch_kdesoundsetup")); +- action->setText(i18n("Audio Setup...")); +- connect(action, SIGNAL(triggered(bool)), SLOT(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); +@@ -1209,12 +1205,12 @@ void KMixWindow::toggleMenuBar() + { + menuBar()->setVisible(_actionShowMenubar->isChecked()); + } +- ++/* + void KMixWindow::slotKdeAudioSetupExec() + { + forkExec(QStringList() << "kcmshell5" << "kcm_phonon"); + } +- ++*/ + void KMixWindow::forkExec(const QStringList& args) + { + int pid = KProcess::startDetached(args); +diff --git a/apps/kmix.h b/apps/kmix.h +index b18ec38b..575f654a 100644 +--- a/apps/kmix.h ++++ b/apps/kmix.h +@@ -138,7 +138,6 @@ private: + void updateTabsClosable(); + + private slots: +- void slotKdeAudioSetupExec(); + void slotConfigureCurrentView(); + + void plugged(const char *driverName, const QString &udi, int dev); +diff --git a/desktop/kmixui.rc b/desktop/kmixui.rc +index ffb220f6..27ca3351 100644 +--- a/desktop/kmixui.rc ++++ b/desktop/kmixui.rc +@@ -16,7 +16,6 @@ + + + +- + + &Help + +-- +2.26.0 + diff --git a/kde-apps/kmix/kmix-19.12.3-r1.ebuild b/kde-apps/kmix/kmix-19.12.3-r1.ebuild new file mode 100644 index 00000000000..20da88330cc --- /dev/null +++ b/kde-apps/kmix/kmix-19.12.3-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="false" +KFMIN=5.63.0 +PLASMA_MINIMAL=5.16.5 +QTMIN=5.12.3 +inherit ecm kde.org + +DESCRIPTION="Volume control gui based on KDE Frameworks" +HOMEPAGE="https://kde.org/applications/multimedia/org.kde.kmix" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="alsa plasma pulseaudio" + +DEPEND=" + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/kglobalaccel-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/solid-${KFMIN}:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + alsa? ( >=media-libs/alsa-lib-1.0.14a ) + plasma? ( >=kde-frameworks/plasma-${KFMIN}:5 ) + pulseaudio? ( + dev-libs/glib:2 + media-libs/libcanberra + >=media-sound/pulseaudio-0.9.12 + ) +" +RDEPEND="${DEPEND} + >=kde-plasma/kde-cli-tools-${PLASMA_MINIMAL}:5 +" + +PATCHES=( "${FILESDIR}/${P}-no-more-kcm_phonon.patch" ) # bug 716092 + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package alsa ALSA) + $(cmake_use_find_package plasma KF5Plasma) + $(cmake_use_find_package pulseaudio Canberra) + $(cmake_use_find_package pulseaudio PulseAudio) + ) + + ecm_src_configure +}