From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 18A70158003 for ; Tue, 23 Nov 2021 14:59:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 510F3E0876; Tue, 23 Nov 2021 14:59:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C63DE0876 for ; Tue, 23 Nov 2021 14:59:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3DD09342E7B for ; Tue, 23 Nov 2021 14:59:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD6631E0 for ; Tue, 23 Nov 2021 14:59:34 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1637679551.4bc14b426eba4f391cb1f1ba56f5b189983b7acf.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/breeze-gtk/files/, kde-plasma/breeze-gtk/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/breeze-gtk/breeze-gtk-5.23.3-r1.ebuild kde-plasma/breeze-gtk/files/breeze-gtk-5.23.3-fix-unneeded-outline.patch X-VCS-Directories: kde-plasma/breeze-gtk/files/ kde-plasma/breeze-gtk/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4bc14b426eba4f391cb1f1ba56f5b189983b7acf X-VCS-Branch: master Date: Tue, 23 Nov 2021 14:59:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5ba2eeca-368c-403e-b7ce-1b8c1e1d6716 X-Archives-Hash: 813be93721cbe743c08648793c22421f commit: 4bc14b426eba4f391cb1f1ba56f5b189983b7acf Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Nov 22 17:46:03 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Nov 23 14:59:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc14b42 kde-plasma/breeze-gtk: Fix unneeded outline KDE-bug: https://bugs.kde.org/show_bug.cgi?id=443626 Upstream commit 6834ee83d09b7c56fbe3d137b660db25484573f3 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/breeze-gtk/breeze-gtk-5.23.3-r1.ebuild | 41 +++++++++++++++++ .../breeze-gtk-5.23.3-fix-unneeded-outline.patch | 52 ++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.23.3-r1.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.23.3-r1.ebuild new file mode 100644 index 000000000000..93b076e2fed7 --- /dev/null +++ b/kde-plasma/breeze-gtk/breeze-gtk-5.23.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PVCUT=$(ver_cut 1-3) +PYTHON_COMPAT=( python3_{8..10} ) +inherit ecm kde.org python-any-r1 + +DESCRIPTION="Official GTK+ port of Plasma's Breeze widget style" +HOMEPAGE="https://invent.kde.org/plasma/breeze-gtk" + +LICENSE="LGPL-2.1+" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +BDEPEND="${PYTHON_DEPS} + dev-lang/sassc + $(python_gen_any_dep 'dev-python/pycairo[${PYTHON_USEDEP}]') + >=dev-util/cmake-3.16 + >=kde-plasma/breeze-${PVCUT}:5 +" + +PATCHES=( "${FILESDIR}/${P}-fix-unneeded-outline.patch" ) # KDE-bug 443626 + +python_check_deps() { + has_version "dev-python/pycairo[${PYTHON_USEDEP}]" +} + +pkg_setup() { + python-any-r1_pkg_setup + ecm_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DPython3_EXECUTABLE="${PYTHON}" + ) + ecm_src_configure +} diff --git a/kde-plasma/breeze-gtk/files/breeze-gtk-5.23.3-fix-unneeded-outline.patch b/kde-plasma/breeze-gtk/files/breeze-gtk-5.23.3-fix-unneeded-outline.patch new file mode 100644 index 000000000000..b835094140a5 --- /dev/null +++ b/kde-plasma/breeze-gtk/files/breeze-gtk-5.23.3-fix-unneeded-outline.patch @@ -0,0 +1,52 @@ +From 6834ee83d09b7c56fbe3d137b660db25484573f3 Mon Sep 17 00:00:00 2001 +From: Yaroslav Sidlovsky +Date: Thu, 18 Nov 2021 14:15:36 +0300 +Subject: [PATCH] Fixed toolbar buttons style, removing unneeded outline + +BUG: 443626 + + +(cherry picked from commit 23ba2a8dc728cd7105e5994ed1d4dc143f7d69a1) +--- + src/gtk3/widgets/_button.scss | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/gtk3/widgets/_button.scss b/src/gtk3/widgets/_button.scss +index 4bd0ce7..e7250ee 100644 +--- a/src/gtk3/widgets/_button.scss ++++ b/src/gtk3/widgets/_button.scss +@@ -176,6 +176,7 @@ $_dot_color: gtk("@theme_button_decoration_focus"); + + @include button(normal); + &.flat { ++ @include button(undecorated); + // to avoid adiacent buttons borders clashing when transitioning, the transition on the normal state is set + // to none, while it's added back in the hover state, so the button decoration will fade in on hover, but + // it won't fade out when the pointer leave the button allocation area. To make the transition more evident +@@ -228,12 +229,15 @@ $_dot_color: gtk("@theme_button_decoration_focus"); + } + &.flat:backdrop { + -gtk-icon-effect: none; ++ @include button(undecorated); + color: gtk("@theme_button_foreground_backdrop"); + } + &.flat:disabled { ++ @include button(undecorated); + color: gtk("@theme_button_foreground_insensitive"); + } + &.flat:backdrop:disabled { ++ @include button(undecorated); + color: gtk("@theme_button_foreground_backdrop_insensitive"); + } + &:disabled { +@@ -357,6 +361,7 @@ button { + &.flat:backdrop, + &.flat:disabled, + &.flat:backdrop:disabled { ++ @include button(undecorated); + color: gtkalpha($button_color, 0.8); + } + &:disabled { +-- +GitLab +