* [gentoo-commits] repo/gentoo:master commit in: kde-plasma/breeze-gtk/files/, kde-plasma/breeze-gtk/
@ 2015-12-27 14:04 Michael Palimaka
0 siblings, 0 replies; 3+ messages in thread
From: Michael Palimaka @ 2015-12-27 14:04 UTC (permalink / raw
To: gentoo-commits
commit: 326560db4eb9c6578da2d20f25090ad79a87a4ce
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Fri Dec 25 20:13:48 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 14:04:19 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326560db
kde-plasma/breeze-gtk: Relax cmake version requirement
Package-Manager: portage-2.2.24
kde-plasma/breeze-gtk/breeze-gtk-5.5.0.1.ebuild | 2 ++
kde-plasma/breeze-gtk/breeze-gtk-5.5.1.ebuild | 2 ++
.../files/breeze-gtk-5.5.2-cmake-version.patch | 18 ++++++++++++++++++
3 files changed, 22 insertions(+)
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.5.0.1.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.5.0.1.ebuild
index 7c61f27..4b608a7 100644
--- a/kde-plasma/breeze-gtk/breeze-gtk-5.5.0.1.ebuild
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.5.0.1.ebuild
@@ -12,4 +12,6 @@ SRC_URI="mirror://kde/stable/plasma/5.5.0/${P}.tar.xz"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
+PATCHES=( "${FILESDIR}/${PN}-5.5.2-cmake-version.patch" )
+
S=${WORKDIR}/${PN}-5.5.0
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.5.1.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.5.1.ebuild
index 06e094e..35d462c 100644
--- a/kde-plasma/breeze-gtk/breeze-gtk-5.5.1.ebuild
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.5.1.ebuild
@@ -11,3 +11,5 @@ HOMEPAGE="https://projects.kde.org/projects/kde/workspace/breeze-gtk"
LICENSE="LGPL-2.1+"
KEYWORDS=" ~amd64 ~x86"
IUSE=""
+
+PATCHES=( "${FILESDIR}/${PN}-5.5.2-cmake-version.patch" )
diff --git a/kde-plasma/breeze-gtk/files/breeze-gtk-5.5.2-cmake-version.patch b/kde-plasma/breeze-gtk/files/breeze-gtk-5.5.2-cmake-version.patch
new file mode 100644
index 0000000..4164033
--- /dev/null
+++ b/kde-plasma/breeze-gtk/files/breeze-gtk-5.5.2-cmake-version.patch
@@ -0,0 +1,18 @@
+commit ec9bdbd443d2ee15e6a9da335b74039c01153d7a
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Tue Dec 22 21:47:08 2015 +0100
+
+ Relax cmake version requirement to rest of plasma
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 240f497..9af6b67 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -3,6 +3,6 @@ project(breeze-gtk)
+ set(PROJECT_VERSION_MAJOR 5)
+
+-cmake_minimum_required(VERSION 3.2)
++cmake_minimum_required(VERSION 2.8.12)
+
+ find_package(ECM 0.0.9 REQUIRED NO_MODULE)
+ include(FeatureSummary)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-plasma/breeze-gtk/files/, kde-plasma/breeze-gtk/
@ 2021-11-23 14:59 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2021-11-23 14:59 UTC (permalink / raw
To: gentoo-commits
commit: 4bc14b426eba4f391cb1f1ba56f5b189983b7acf
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 22 17:46:03 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <asturm <AT> 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 <zawertun@gmail.com>
+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
+
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: kde-plasma/breeze-gtk/files/, kde-plasma/breeze-gtk/
@ 2023-04-09 10:08 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2023-04-09 10:08 UTC (permalink / raw
To: gentoo-commits
commit: 7685a0a0e743cd862c5dc591975ea2bb8da57345
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 9 10:05:18 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 9 10:07:58 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7685a0a0
kde-plasma/breeze-gtk: gtk3: restore old icon size for titlebutton
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=468203
gtk3: remove invalid icon size property
('-gtk-icon-size' is not a valid property name)
See also:
https://mail.kde.org/pipermail/distributions/2023-April/001353.html
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
kde-plasma/breeze-gtk/breeze-gtk-5.27.4-r1.ebuild | 33 +++++++++++
...gtk-5.27.4-blurry-big-gtk3-window-buttons.patch | 67 ++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.27.4-r1.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.27.4-r1.ebuild
new file mode 100644
index 000000000000..163b981dd563
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.27.4-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PVCUT=$(ver_cut 1-3)
+PYTHON_COMPAT=( python3_{9..11} )
+inherit ecm plasma.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 ~loong ~ppc64 ~riscv ~x86"
+IUSE=""
+
+BDEPEND="${PYTHON_DEPS}
+ dev-lang/sassc
+ $(python_gen_any_dep 'dev-python/pycairo[${PYTHON_USEDEP}]')
+ >=kde-plasma/breeze-${PVCUT}:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-blurry-big-gtk3-window-buttons.patch" ) # KDE-bug 468203
+
+python_check_deps() {
+ python_has_version "dev-python/pycairo[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ ecm_pkg_setup
+}
diff --git a/kde-plasma/breeze-gtk/files/breeze-gtk-5.27.4-blurry-big-gtk3-window-buttons.patch b/kde-plasma/breeze-gtk/files/breeze-gtk-5.27.4-blurry-big-gtk3-window-buttons.patch
new file mode 100644
index 000000000000..505d4ee016a3
--- /dev/null
+++ b/kde-plasma/breeze-gtk/files/breeze-gtk-5.27.4-blurry-big-gtk3-window-buttons.patch
@@ -0,0 +1,67 @@
+From 49a595aaed62ce08cf6e173fa85165b1e847802d Mon Sep 17 00:00:00 2001
+From: Fushan Wen <qydwhotmail@gmail.com>
+Date: Fri, 7 Apr 2023 21:41:39 +0800
+Subject: [PATCH 1/2] gtk3: remove invalid icon size property
+
+'-gtk-icon-size' is not a valid property name
+---
+ src/gtk3/widgets/_dialogs.scss | 10 ----------
+ 1 file changed, 10 deletions(-)
+
+diff --git a/src/gtk3/widgets/_dialogs.scss b/src/gtk3/widgets/_dialogs.scss
+index 3056fc8..4eb1082 100644
+--- a/src/gtk3/widgets/_dialogs.scss
++++ b/src/gtk3/widgets/_dialogs.scss
+@@ -57,13 +57,3 @@ filechooser {
+ border-bottom: 1px solid gtk("@borders");
+ }
+ }
+-
+-// Icon sizes
+-
+-.normal-icons {
+- -gtk-icon-size: 16px;
+-}
+-
+-.large-icons {
+- -gtk-icon-size: 32px;
+-}
+--
+2.40.0
+
+
+From bfe2ce620d395c943bb13a646295948b5bffbcc3 Mon Sep 17 00:00:00 2001
+From: Fushan Wen <qydwhotmail@gmail.com>
+Date: Fri, 7 Apr 2023 22:02:11 +0800
+Subject: [PATCH 2/2] gtk3: restore old icon size for titlebutton
+
+`background-size` results in different sizes on X11 and Wayland.
+
+BUG: 468203
+FIXED-IN: 5.27.5
+---
+ src/gtk3/widgets/_window_decorations.scss | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/gtk3/widgets/_window_decorations.scss b/src/gtk3/widgets/_window_decorations.scss
+index aef28ca..6568e6b 100644
+--- a/src/gtk3/widgets/_window_decorations.scss
++++ b/src/gtk3/widgets/_window_decorations.scss
+@@ -74,11 +74,11 @@ window {
+ .titlebar {
+ &.default-decoration button.titlebutton {
+ padding: 1px;
+- min-height: 24px;
+- min-width: 24px;
++ min-height: 18px;
++ min-width: 18px;
+ margin: 0;
+ }
+- $titlebutton-size: 24px 24px;
++ $titlebutton-size: 18px 18px;
+ button.titlebutton {
+ &:hover,
+ &:active,
+--
+2.40.0
+
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-09 10:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-23 14:59 [gentoo-commits] repo/gentoo:master commit in: kde-plasma/breeze-gtk/files/, kde-plasma/breeze-gtk/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2023-04-09 10:08 Andreas Sturmlechner
2015-12-27 14:04 Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox