public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/massif-visualizer/files/, dev-util/massif-visualizer/
Date: Sun, 24 Mar 2019 12:20:14 +0000 (UTC)	[thread overview]
Message-ID: <1553429476.491780ef7015bec19c82344dce49d9e7d64f1dcb.asturm@gentoo> (raw)

commit:     491780ef7015bec19c82344dce49d9e7d64f1dcb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 23 23:17:57 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 12:11:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=491780ef

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 <AT> gentoo.org>

 .../massif-visualizer-0.7.0-fix-window-icon.patch  | 25 ++++++++++++
 .../massif-visualizer-0.7.0-r1.ebuild              | 46 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-fix-window-icon.patch b/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-fix-window-icon.patch
new file mode 100644
index 00000000000..57e27fc9b26
--- /dev/null
+++ b/dev-util/massif-visualizer/files/massif-visualizer-0.7.0-fix-window-icon.patch
@@ -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

diff --git a/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild b/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild
new file mode 100644
index 00000000000..bf0964314b2
--- /dev/null
+++ b/dev-util/massif-visualizer/massif-visualizer-0.7.0-r1.ebuild
@@ -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
+}


             reply	other threads:[~2019-03-24 12:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-24 12:20 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-02 12:44 [gentoo-commits] repo/gentoo:master commit in: dev-util/massif-visualizer/files/, dev-util/massif-visualizer/ Andreas Sturmlechner

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=1553429476.491780ef7015bec19c82344dce49d9e7d64f1dcb.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