summaryrefslogtreecommitdiff
path: root/kde-plasma/breeze
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/breeze')
-rw-r--r--kde-plasma/breeze/Manifest4
-rw-r--r--kde-plasma/breeze/breeze-5.24.6-r1.ebuild54
-rw-r--r--kde-plasma/breeze/files/breeze-5.24.6-fix-qqc2-progressbar-style-in-rtl.patch58
-rw-r--r--kde-plasma/breeze/files/breeze-5.24.6-fix-qqc2-sliders-in-rtl.patch76
4 files changed, 0 insertions, 192 deletions
diff --git a/kde-plasma/breeze/Manifest b/kde-plasma/breeze/Manifest
index 6092f0da3b68..24b17898da65 100644
--- a/kde-plasma/breeze/Manifest
+++ b/kde-plasma/breeze/Manifest
@@ -1,7 +1,3 @@
-AUX breeze-5.24.6-fix-qqc2-progressbar-style-in-rtl.patch 2441 BLAKE2B 4b3c954753510f1be049cd83d7d26c7b685bc0d6c33fb5c6a719e30598fc2e0590b205531c0532dc8af5ea28fbb83ed93f73005fcd0928bc0f71cc3cc820c274 SHA512 f0693d76adb0dd64970cb77ccf8b2c938c133a1c303f4ed603a6b56921d20a9015600826d2e4158fd7d4511508fa79c3d240996c62fb509206452be3907f47e3
-AUX breeze-5.24.6-fix-qqc2-sliders-in-rtl.patch 3583 BLAKE2B 7c70af921e37a8c82774345bfa1ed132a602713936ecc4eb763d6dbe2f33586723ea2d69ddbff09612151bc2de643aa78adc921989aa35cf72f7858fa40edea8 SHA512 ea6280190669b75fff169515cb5870b4eff91bb42ef4b5e37d399a788410609352e401cf540db0237ad3e89ebf4bacd40ddf02279f41ab5371f747f46b2285b5
-DIST breeze-5.24.6.tar.xz 43037288 BLAKE2B 69245aa03eb5d8e8f26a45a7bbba246a19b07d96e0c193cdac7a4bf4e538810269a4fa575f68ee9f0c6a362a50dead58de484f06f4258f1fa773e654fb6b870c SHA512 976744eeeaddd2d165315f17491ee67cc63d03f935a29eda99afefed51e642daf60aa4d6a71621f15e1a87138d8d91a0e36f081ae30e80ef31796067e858ca93
DIST breeze-5.25.5.tar.xz 31155736 BLAKE2B c43b442ebb0ea17b38c766ea8c925a5a95c4f6bb175ef40005d7245eafd7355ca9969a02c0043b7d0e9aef329c916920adfda21b431a3818c2292db29fa4c0bd SHA512 7c9bc70089e51492b0ae77e6e9005392ebccccb1b95581422b22779cc473ee3c388b0f109b7bc55ea62e3f59fbe14d8a560a286649489fd2be16862a1dc40ea1
-EBUILD breeze-5.24.6-r1.ebuild 1406 BLAKE2B 8c552d5db1d4744f0b09d9b6e88da6d4d93e3bfe2de996821527061a2aa112cd95502e132bdff27f0f3ebc3fe2a51ac0a4d094eb6ff81260e878eccf276a7459 SHA512 a6c08c5ce78fb4e4e73134273cfac33c21337c40d00bbe72bb6472bdfc86e05775e0bd8bbcc35e4080d22bcee9e1e4a0fdff5bcd1938a84dacd96981ccb959f6
EBUILD breeze-5.25.5.ebuild 1247 BLAKE2B 0336f17918e1c933c1b4fd7afbba59de1c35d7b60de03b488b7dc460ebb47869dd62fe690ecd8c8a8a0b440fc3f46fdc62e1146b81cbb7722183f88e74d6c615 SHA512 586187e5514dbd4a9a9c87f6df177a59283f3ece12b01f8acfd6c755a4ba3958239e14f6382bee53bbd5e3f1fc18931a6149235f5c957e83c05531154168534f
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
diff --git a/kde-plasma/breeze/breeze-5.24.6-r1.ebuild b/kde-plasma/breeze/breeze-5.24.6-r1.ebuild
deleted file mode 100644
index 45ebac3dbbad..000000000000
--- a/kde-plasma/breeze/breeze-5.24.6-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-KFMIN=5.92.0
-PVCUT=$(ver_cut 1-3)
-QTMIN=5.15.4
-inherit ecm plasma.kde.org
-
-DESCRIPTION="Breeze visual style for the Plasma desktop"
-HOMEPAGE="https://invent.kde.org/plasma/breeze"
-
-LICENSE="GPL-2" # TODO: CHECK
-SLOT="5"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
-IUSE="X"
-
-RDEPEND="
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtdeclarative-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtx11extras-${QTMIN}:5
- >=kde-frameworks/frameworkintegration-${KFMIN}:5
- >=kde-frameworks/kcmutils-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5
- >=kde-plasma/kdecoration-${PVCUT}:5
- X? ( x11-libs/libxcb )
-"
-DEPEND="${RDEPEND}"
-PDEPEND="
- >=kde-frameworks/breeze-icons-${KFMIN}:5
- >=kde-plasma/kde-cli-tools-${PVCUT}:5
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-fix-qqc2-sliders-in-rtl.patch" # KDE-bug #430101
- "${FILESDIR}/${P}-fix-qqc2-progressbar-style-in-rtl.patch" # KDE-bug #430101
-)
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package X XCB)
- )
- ecm_src_configure
-}
diff --git a/kde-plasma/breeze/files/breeze-5.24.6-fix-qqc2-progressbar-style-in-rtl.patch b/kde-plasma/breeze/files/breeze-5.24.6-fix-qqc2-progressbar-style-in-rtl.patch
deleted file mode 100644
index 36e4f952d980..000000000000
--- a/kde-plasma/breeze/files/breeze-5.24.6-fix-qqc2-progressbar-style-in-rtl.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From d7c0ab28df83eb4a4c39495a25e609047c735d59 Mon Sep 17 00:00:00 2001
-From: ivan tkachenko <me@ratijas.tk>
-Date: Sat, 4 Jun 2022 05:00:53 +0300
-Subject: [PATCH] KStyle: Fix QQC2 ProgressBar desktop style in RTL layout
- direction
-
-BUG: 430101
-
-(cherry picked from commit 2bf9fc4c7be280e2b77f7c150855e0fca0b80d9a)
-
-* asturm 2022-07-26: Merged with clang-format changes in commit
- 32149dc002ae574ed41f111bf52712b1765b906b
-
----
- kstyle/breezestyle.cpp | 16 ++++++++++------
- 1 file changed, 10 insertions(+), 6 deletions(-)
-
-diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp
-index c9fba292..0d7a8432 100644
---- a/kstyle/breezestyle.cpp
-+++ b/kstyle/breezestyle.cpp
-@@ -1749,23 +1749,27 @@ namespace Breeze
- const bool horizontal( BreezePrivate::isProgressBarHorizontal( progressBarOption ) );
-
- // check inverted appearance
-- const bool inverted( progressBarOption->invertedAppearance );
-+ bool inverted(progressBarOption->invertedAppearance);
-+ if (horizontal) {
-+ // un-invert in RTL layout
-+ inverted ^= option->direction == Qt::RightToLeft;
-+ }
-
- // get progress and steps
-- const qreal progress( progressBarOption->progress - progressBarOption->minimum );
-+ const int progress(progressBarOption->progress - progressBarOption->minimum);
- const int steps( qMax( progressBarOption->maximum - progressBarOption->minimum, 1 ) );
-
- //Calculate width fraction
-- const qreal widthFrac = qMin( qreal(1), progress/steps );
-+ const qreal position = qreal(progress) / qreal(steps);
-+ const qreal visualPosition = inverted ? 1 - position : position;
-
- // convert the pixel width
-- const int indicatorSize( widthFrac*( horizontal ? rect.width():rect.height() ) );
-+ const int indicatorSize(visualPosition * (horizontal ? rect.width() : rect.height()));
-
- QRect indicatorRect;
- if( horizontal )
- {
--
-- indicatorRect = QRect( inverted ? ( rect.right() - indicatorSize + 1):rect.left(), rect.y(), indicatorSize, rect.height() );
-+ indicatorRect = QRect(rect.left(), rect.y(), indicatorSize, rect.height());
- indicatorRect = visualRect( option->direction, rect, indicatorRect );
-
- } else indicatorRect = QRect( rect.x(), inverted ? rect.top() : (rect.bottom() - indicatorSize + 1), rect.width(), indicatorSize );
---
-2.35.1
-
diff --git a/kde-plasma/breeze/files/breeze-5.24.6-fix-qqc2-sliders-in-rtl.patch b/kde-plasma/breeze/files/breeze-5.24.6-fix-qqc2-sliders-in-rtl.patch
deleted file mode 100644
index b8b3504a0a0e..000000000000
--- a/kde-plasma/breeze/files/breeze-5.24.6-fix-qqc2-sliders-in-rtl.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From 53f24305536850b244b730f9a04024daf02e753b Mon Sep 17 00:00:00 2001
-From: Jan Blackquill <uhhadd@gmail.com>
-Date: Fri, 3 Jun 2022 17:34:02 -0400
-Subject: [PATCH] kstyle: fix qqc2 desktop style sliders in RtL
-
-We don't do any mirroring of the slider groove rects or tickmarks based on layout direction,
-and this causes qqc2-desktop-style sliders to render in the wrong direction.
-Swapping the leftRect and the rightRect when option->direction == Qt::RightToLeft
-fixes this.
-
-This wasn't broken with QWidgets because QSlider relies on (ab)using the upsideDown option
-in order to achieve mirroring of the groove instead of option->direction, and consequently,
-this change doesn't affect Qt widgets apps at all.
-
-BUG: 430101
-(cherry picked from commit e8b1d4aa47daf99041332f43c29fabdf70f25004)
-
-* asturm 2022-07-26: Merged with clang-format changes in commit
- 32149dc002ae574ed41f111bf52712b1765b906b
-
----
- kstyle/breezestyle.cpp | 14 ++++++++++----
- 1 file changed, 10 insertions(+), 4 deletions(-)
-
-diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp
-index 2ef2ea98..c9fba292 100644
---- a/kstyle/breezestyle.cpp
-+++ b/kstyle/breezestyle.cpp
-@@ -51,6 +51,7 @@
- #include <QDialogButtonBox>
- #include <QGraphicsItem>
- #include <QGraphicsProxyWidget>
-+#include <qnamespace.h>
-
- #if BREEZE_HAVE_QTQUICK
- #include <QQuickWindow>
-@@ -6679,6 +6680,7 @@ namespace Breeze
- }
-
- // colors
-+ const auto reverseTicks = option->direction == Qt::LeftToRight ? upsideDown : !upsideDown;
- const auto base( _helper->separatorColor( palette ) );
- const auto &highlight = hasHighlightNeutral( widget, option, mouseOver, hasFocus ) ? _helper->neutralText( palette ) : palette.color( QPalette::Highlight );
-
-@@ -6693,8 +6695,8 @@ namespace Breeze
- int position( sliderPositionFromValue( sliderOption->minimum, sliderOption->maximum, current, available ) + fudge );
- foreach( const QLine& tickLine, tickLines )
- {
-- if( horizontal ) painter->drawLine( tickLine.translated( upsideDown ? (rect.width() - position) : position, 0 ) );
-- else painter->drawLine( tickLine.translated( 0, upsideDown ? (rect.height() - position):position ) );
-+ if( horizontal ) painter->drawLine(tickLine.translated(reverseTicks ? (rect.width() - position) : position, 0));
-+ else painter->drawLine(tickLine.translated(0, reverseTicks ? (rect.height() - position) : position));
- }
-
- // go to next position
-@@ -6729,11 +6731,15 @@ namespace Breeze
-
- auto leftRect( grooveRect );
- leftRect.setRight( handleRect.right() - Metrics::Slider_ControlThickness/2 );
-- _helper->renderSliderGroove( painter, leftRect, upsideDown ? grooveColor:highlight );
-
- auto rightRect( grooveRect );
- rightRect.setLeft( handleRect.left() + Metrics::Slider_ControlThickness/2 );
-- _helper->renderSliderGroove( painter, rightRect, upsideDown ? highlight:grooveColor );
-+
-+ if (option->direction == Qt::RightToLeft)
-+ std::swap(leftRect, rightRect);
-+
-+ _helper->renderSliderGroove(painter, leftRect, upsideDown ? grooveColor : highlight);
-+ _helper->renderSliderGroove(painter, rightRect, upsideDown ? highlight : grooveColor);
-
- } else {
-
---
-2.35.1
-