summaryrefslogtreecommitdiff
path: root/kde-frameworks/ktexteditor
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /kde-frameworks/ktexteditor
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'kde-frameworks/ktexteditor')
-rw-r--r--kde-frameworks/ktexteditor/Manifest7
-rw-r--r--kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch35
-rw-r--r--kde-frameworks/ktexteditor/ktexteditor-5.80.0-r1.ebuild (renamed from kde-frameworks/ktexteditor/ktexteditor-5.77.0.ebuild)8
-rw-r--r--kde-frameworks/ktexteditor/ktexteditor-5.81.0.ebuild (renamed from kde-frameworks/ktexteditor/ktexteditor-5.80.0.ebuild)0
4 files changed, 45 insertions, 5 deletions
diff --git a/kde-frameworks/ktexteditor/Manifest b/kde-frameworks/ktexteditor/Manifest
index a824742b0886..ce0a86a474ec 100644
--- a/kde-frameworks/ktexteditor/Manifest
+++ b/kde-frameworks/ktexteditor/Manifest
@@ -1,5 +1,6 @@
-DIST ktexteditor-5.77.0.tar.xz 2353716 BLAKE2B 90d98b046daf540c9ea873af819e2c02594b6d9190cb2b719d742a255ecf586392b47700de635f2a91df59e396166702490d562ec22e445adad75c4f35404107 SHA512 b07968b33bfb790516470a9ebc5f282fa6318589ce33db5d7e25c68c344fecc5ff98a45f28479b81518ab193db0f880f46372c6e00224fd9744551f8a0f19297
+AUX ktexteditor-5.80.0-fix-minimap-location-highlighting.patch 1484 BLAKE2B a13fbeefbeb20b0ffc285ab1fadd55157d51823db7ca4132af674a2dfafa49176af152ebae61a9573dabc07d935104e6bb4225fe860b06d9223f60c9ceece84e SHA512 f9495ab110ba5ff684b94ebd62eeb231254e3fee2a46ea152d4dba09ba37cf3f46cfd3b9a8be2754aef7b6ae58ea5a4fdf4b80e27b56fa057126039c53c5c99d
DIST ktexteditor-5.80.0.tar.xz 2375112 BLAKE2B d052677f8a3b81b39f95958f48b7fc899a1c6591c327a852dfbe40269062a2876cf199f7679712ce1d612b2bc13f8e79f0379ca0600c1d5e2ecf12ed3d03620b SHA512 c6065e3e4c0f2bb59dd043109b3fbc2282e82b3d023011fe726693728257e6d9061cbd07fc23e97de5a73bfac9832b5065c0bbdd8be3f5d187788f6957753820
-EBUILD ktexteditor-5.77.0.ebuild 1589 BLAKE2B 8784e2b0b8f110baeff34a17328c4f7300afa73d6521cd1783a508719c5ce59f21a2dbc2ae9127e72a8d7a34c6a9624f4bc8370af7dd29fdbf0fe0cbe93e3a8c SHA512 bf4dfcf9ca68f6a04f63754c19158920e79dd53a18abcb0d8e26faa52fd3b8d7c2133f8b25d81ae3e65f3fb3dc82997b8f29923cf3e1e6d226173da1b524c9fd
-EBUILD ktexteditor-5.80.0.ebuild 1592 BLAKE2B c2b4551edc0e46384671f89b9bfae953298a13144afeed767d7df9b2150ae7654b7c05164c73dd1b1cefc3376a4c599155ca818322d3a2b07520d45c9fa84c5d SHA512 f65679b98514c6939fd78749d362620a7ec24809ee08d46ab3839cac2b351e6a4d664e4768fa8b4533a995e313b255f57c432c4f662705c3b678fc2e0e8f62d0
+DIST ktexteditor-5.81.0.tar.xz 2381340 BLAKE2B 92b787807e2c85b4c5f8dc5e7bc262a11f6c8bd57cfd26e00cfe9606395603d4b9ddf6d6cec94eec760f377c2198752677ce0c2b90513f03ff4eae48144a38a2 SHA512 6e9fd7a8114d54fb16d50078d5f27e6769c18acbd5e7a63dd88d4fa20f02339129356d5b2bac102aec18fd64a0015dc23bdb1af2b715ee8083d5ede3bdf77c06
+EBUILD ktexteditor-5.80.0-r1.ebuild 1679 BLAKE2B 4efef95a4bf7c67a19f5035c5acf6a08d02b880230ce1c3ca4d4fd0e30f7ea05230429255c3e04c10ac345f89adfc52400db0cfde88637bbe853738c74ed22c6 SHA512 6356d0fac35d39499caf7a5e288e1c48a4574ba2273d5f8a49fe1ae397718712f4f08ce9637c2e89db567a7678cf079e258dc571b9378cf636485bd09d3e4038
+EBUILD ktexteditor-5.81.0.ebuild 1592 BLAKE2B c2b4551edc0e46384671f89b9bfae953298a13144afeed767d7df9b2150ae7654b7c05164c73dd1b1cefc3376a4c599155ca818322d3a2b07520d45c9fa84c5d SHA512 f65679b98514c6939fd78749d362620a7ec24809ee08d46ab3839cac2b351e6a4d664e4768fa8b4533a995e313b255f57c432c4f662705c3b678fc2e0e8f62d0
MISC metadata.xml 351 BLAKE2B 7e4b1aefcf41fd5e37bd68d4e2fdb057be4ba7f8efb18b3494fe551c1990eb5209e4692e9b9a5618c950875c03a05ba6a39e2ea8c7f63c9894dab23277b0a070 SHA512 e87786bace9486ef7f23fe747b3a880af51a6b0b2e7dd7c0e6c7e597bb9ac11e787c403e15cded386632d13682061f7dbcd47e2b411b12f998de964bbfe57301
diff --git a/kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch b/kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch
new file mode 100644
index 000000000000..ffc94e9c97ab
--- /dev/null
+++ b/kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch
@@ -0,0 +1,35 @@
+From bdd195792b7752e4c5a0ff74cb5b01a6accee517 Mon Sep 17 00:00:00 2001
+From: Jan Paul Batrina <jpmbatrina01@gmail.com>
+Date: Thu, 25 Mar 2021 19:31:39 +0800
+Subject: [PATCH] Use QPalette::highlight for the scrollbar minimap slider
+
+Previously, QPalette::link() was used which is the color for hyperlinks.
+Most themes set this to a shade of blue, so the slider will almost
+always be blue even when, for example, the main color
+of a theme is green.
+
+The selection highlight color was chosen because it is also the color
+used for indicating the active tab and is, generally, often attuned
+to a theme's main color.
+
+BUG: 434690
+---
+ src/view/kateviewhelpers.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/view/kateviewhelpers.cpp b/src/view/kateviewhelpers.cpp
+index 365e07e0..48e94609 100644
+--- a/src/view/kateviewhelpers.cpp
++++ b/src/view/kateviewhelpers.cpp
+@@ -750,7 +750,7 @@ void KateScrollBar::miniMapPaintEvent(QPaintEvent *e)
+ // calculate colors
+ const QColor backgroundColor = m_view->defaultStyleAttribute(KTextEditor::dsNormal)->background().color();
+ const QColor foregroundColor = m_view->defaultStyleAttribute(KTextEditor::dsNormal)->foreground().color();
+- const QColor highlightColor = palette().link().color();
++ const QColor highlightColor = palette().highlight().color();
+
+ const int backgroundLightness = backgroundColor.lightness();
+ const int foregroundLightness = foregroundColor.lightness();
+--
+GitLab
+
diff --git a/kde-frameworks/ktexteditor/ktexteditor-5.77.0.ebuild b/kde-frameworks/ktexteditor/ktexteditor-5.80.0-r1.ebuild
index 0bcc2e708ff9..cf3a497d3a5a 100644
--- a/kde-frameworks/ktexteditor/ktexteditor-5.77.0.ebuild
+++ b/kde-frameworks/ktexteditor/ktexteditor-5.80.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PVCUT=$(ver_cut 1-2)
-QTMIN=5.15.1
+QTMIN=5.15.2
VIRTUALX_REQUIRED="test"
inherit ecm kde.org
@@ -14,6 +14,8 @@ LICENSE="LGPL-2+"
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
IUSE="+editorconfig git"
+RESTRICT+=" test"
+
BDEPEND="
test? ( >=kde-frameworks/kservice-${PVCUT}:5 )
"
@@ -47,7 +49,9 @@ DEPEND="
"
RDEPEND="${DEPEND}"
-RESTRICT+=" test"
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-minimap-location-highlighting.patch # KDE-bug 434690
+)
src_configure() {
local mycmakeargs=(
diff --git a/kde-frameworks/ktexteditor/ktexteditor-5.80.0.ebuild b/kde-frameworks/ktexteditor/ktexteditor-5.81.0.ebuild
index 9212f04f8f4b..9212f04f8f4b 100644
--- a/kde-frameworks/ktexteditor/ktexteditor-5.80.0.ebuild
+++ b/kde-frameworks/ktexteditor/ktexteditor-5.81.0.ebuild