mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
dev-util/massif-visualizer: Fix window icon for non-desktopfile WM
EAPI-7 bump as well. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From 51788c6f295651fecd3bb498236bbcf3c263ee84 Mon Sep 17 00:00:00 2001
|
||||
From: "Friedrich W. H. Kossebau" <kossebau@kde.org>
|
||||
Date: Sun, 20 Jan 2019 09:37:43 +0100
|
||||
Subject: Fix window icon for non-desktopfile WM to own icon
|
||||
"massif-visualizer"
|
||||
|
||||
---
|
||||
app/main.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/app/main.cpp b/app/main.cpp
|
||||
index c4526ba..21865e0 100644
|
||||
--- a/app/main.cpp
|
||||
+++ b/app/main.cpp
|
||||
@@ -50,7 +50,7 @@ int main( int argc, char *argv[] )
|
||||
aboutData.setOrganizationDomain("kde.org");
|
||||
|
||||
KAboutData::setApplicationData(aboutData);
|
||||
- app.setWindowIcon(QIcon::fromTheme(QStringLiteral("office-chart-area")));
|
||||
+ app.setWindowIcon(QIcon::fromTheme(QStringLiteral("massif-visualizer")));
|
||||
|
||||
QCommandLineParser parser;
|
||||
parser.addVersionOption();
|
||||
--
|
||||
cgit v1.1
|
||||
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
KDE_TEST="forceoptional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Tool visualising massif data"
|
||||
HOMEPAGE="https://www.linux-apps.com/content/show.php/Massif+Visualizer?content=122409"
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+callgraph"
|
||||
|
||||
RDEPEND="
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kcompletion)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtprintsupport)
|
||||
$(add_qt_dep qtsvg)
|
||||
$(add_qt_dep qtwidgets)
|
||||
dev-libs/kdiagram:5
|
||||
callgraph? ( media-gfx/kgraphviewer:5 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
$(add_qt_dep qtxmlpatterns)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-fix-window-icon.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package callgraph KGraphViewerPart)
|
||||
)
|
||||
kde5_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user