summaryrefslogtreecommitdiff
path: root/media-gfx/kgraphviewer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-05 21:17:31 +0100
commitdc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch)
treec85d72f6f31f21f178069c9d41d41a7c1ff4b362 /media-gfx/kgraphviewer
parent0706fc6986773f4e4d391deff4ad5143c464ea4e (diff)
gentoo resync : 05.04.2019
Diffstat (limited to 'media-gfx/kgraphviewer')
-rw-r--r--media-gfx/kgraphviewer/Manifest3
-rw-r--r--media-gfx/kgraphviewer/files/kgraphviewer-2.4.3-set-startupwmclass.patch27
-rw-r--r--media-gfx/kgraphviewer/kgraphviewer-2.4.3-r1.ebuild (renamed from media-gfx/kgraphviewer/kgraphviewer-2.4.3.ebuild)8
3 files changed, 34 insertions, 4 deletions
diff --git a/media-gfx/kgraphviewer/Manifest b/media-gfx/kgraphviewer/Manifest
index 3617f7ff907f..652722b3eb5f 100644
--- a/media-gfx/kgraphviewer/Manifest
+++ b/media-gfx/kgraphviewer/Manifest
@@ -1,3 +1,4 @@
+AUX kgraphviewer-2.4.3-set-startupwmclass.patch 1045 BLAKE2B 8e48bc5a67cf8857a5eb5a57873fbe19a5a3cc52ef70d5c01ca3674d889acfa28dc46456caccd3a6078572b876e9f73b15e483f46fe35f82bd6fcdbed5d2312c SHA512 b4005bf61e448be43f7bcc3886ec092c9f2930e475067f4c1a382db4039dfdb580ce7e2a4765480438f80dc2e905013c43c8b65711f87fb14e62de73c60bedcd
DIST kgraphviewer-2.4.3.tar.xz 1491328 BLAKE2B b51cf825ad4763538139f917a7d16d15a7244c19b3cab9c79bbd938ee3dd80e4e35e37012199e1256bcc9a9404d756cdb0f5ffb975484d527577c208ecf1d3fa SHA512 d18146ba380efe73e1ec716dd1cc310fe1eac23eccb10e2a699b107451637b9332cc25d62a4de762df4706cea182c9474ba1e885801c9832e1bb9bff1648e72d
-EBUILD kgraphviewer-2.4.3.ebuild 971 BLAKE2B cd38fbfe2c701f736ec608f1c3f658dc315254f398bc1b82a88b72588408dedfbfff09d392b43aaf86eaf39f1833cae9373f029d65d37fc2235ed438cc8bf53b SHA512 33d7d4e16eb680de6dd39b2e93bed30ddf28bcb35ff20ccf804bf81daf04e4fbbb609e7e8aa6be9c2b562d1a4fd7901cf2858124f32938687521b7907dacbfb5
+EBUILD kgraphviewer-2.4.3-r1.ebuild 1024 BLAKE2B 940daf0846ae9311673255a8922bd87c975338bef4fd78254af9ef3b2f3deff78db481aa2a16d7895be05cc0f074f6ab23ca1bccddbcefa7a40e4098abfb265c SHA512 e9f566e219c313f20bbf1c49320c919fd0ad52cb89865eae1f33b29f8f803dc9f80a91606c3cc3079381b8d04707b57f7b562de569f121605132590fa1947b35
MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3
diff --git a/media-gfx/kgraphviewer/files/kgraphviewer-2.4.3-set-startupwmclass.patch b/media-gfx/kgraphviewer/files/kgraphviewer-2.4.3-set-startupwmclass.patch
new file mode 100644
index 000000000000..970bf57f2cfb
--- /dev/null
+++ b/media-gfx/kgraphviewer/files/kgraphviewer-2.4.3-set-startupwmclass.patch
@@ -0,0 +1,27 @@
+From 50fea8d6413e06fcfaf0d0ca03cc6c266a1cda14 Mon Sep 17 00:00:00 2001
+From: "Friedrich W. H. Kossebau" <kossebau@kde.org>
+Date: Tue, 5 Feb 2019 04:49:16 +0100
+Subject: Set StartupWMClass in desktop file
+
+Used by non-Plasma unixoid X-based shells to map windows to desktop files
+e.g. in launcher UIs, which do not know about _KDE_NET_WM_DESKTOP_FILE and
+instead expect (one of) the WM_CLASS entries to match the basename of the
+desktop file by default. StartupWMClass overwrites that default.
+---
+ src/org.kde.kgraphviewer.desktop | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/org.kde.kgraphviewer.desktop b/src/org.kde.kgraphviewer.desktop
+index bfff1bf..6b3affb 100644
+--- a/src/org.kde.kgraphviewer.desktop
++++ b/src/org.kde.kgraphviewer.desktop
+@@ -41,6 +41,7 @@ MimeType=text/vnd.graphviz
+ Exec=kgraphviewer -qwindowtitle %c %u
+ Icon=kgraphviewer
+ Type=Application
++StartupWMClass=kgraphviewer
+ Categories=Qt;KDE;Graphics;Viewer;2DGraphics;DataVisualization;
+ X-DocPath=kgraphviewer/index.html
+ InitialPreference=10
+--
+cgit v1.1
diff --git a/media-gfx/kgraphviewer/kgraphviewer-2.4.3.ebuild b/media-gfx/kgraphviewer/kgraphviewer-2.4.3-r1.ebuild
index 3bc5085a5a82..80476c054574 100644
--- a/media-gfx/kgraphviewer/kgraphviewer-2.4.3.ebuild
+++ b/media-gfx/kgraphviewer/kgraphviewer-2.4.3-r1.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
KDE_HANDBOOK="forceoptional"
inherit kde5
DESCRIPTION="Graphviz dot graph file viewer"
-HOMEPAGE="https://www.kde.org/applications/graphics/kgraphviewer/"
+HOMEPAGE="https://kde.org/applications/graphics/kgraphviewer/"
[[ ${PV} != *9999* ]] && SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
LICENSE="GPL-2 GPL-2+ LGPL-2+ LGPL-2.1+ handbook? ( FDL-1.2 )"
@@ -36,3 +36,5 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}
!media-gfx/kgraphviewer:4
"
+
+PATCHES=( "${FILESDIR}/${P}-set-startupwmclass.patch" )