Hello community, here is the log from the commit of package breeze-gtk for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/breeze-gtk (Old) and /work/SRC/openSUSE:Leap:15.2/.breeze-gtk.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "breeze-gtk" Thu Jan 30 14:50:27 2020 rev:74 rq:763189 version:5.17.5 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/breeze-gtk/breeze-gtk.changes 2020-01-15 14:48:57.309361618 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.breeze-gtk.new.26092/breeze-gtk.changes 2020-01-30 14:51:38.874942273 +0100 @@ -1,0 +2,25 @@ +Tue Jan 7 16:24:34 UTC 2020 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 5.17.5 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.17.5.php +- No code changes since 5.17.4 + +------------------------------------------------------------------- +Wed Dec 4 08:36:58 UTC 2019 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 5.17.4 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/plasma-5.17.4.php +- Changes since 5.17.3: + * [GTK3] Fix invalid colour name in treeview (kde#414391) + +------------------------------------------------------------------- +Sat Nov 16 17:25:57 UTC 2019 - Fabian Vogt <fab...@ritter-vogt.de> + +- Add patch to enable checkbox recoloring again, fixed in librsvg: + * 0001-Revert-GTK3-Revert-checkbox-recolouring.patch + +------------------------------------------------------------------- Old: ---- breeze-gtk-5.17.3.tar.xz breeze-gtk-5.17.3.tar.xz.sig New: ---- 0001-Revert-GTK3-Revert-checkbox-recolouring.patch breeze-gtk-5.17.5.tar.xz breeze-gtk-5.17.5.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ breeze-gtk.spec ++++++ --- /var/tmp/diff_new_pack.joQ0h8/_old 2020-01-30 14:51:39.186942439 +0100 +++ /var/tmp/diff_new_pack.joQ0h8/_new 2020-01-30 14:51:39.186942439 +0100 @@ -19,7 +19,7 @@ %define _name breeze Name: breeze-gtk -Version: 5.17.3 +Version: 5.17.5 Release: 0 Summary: GTK+ theme matching KDE's Breeze License: LGPL-2.1-only @@ -30,6 +30,8 @@ Source1: https://download.kde.org/stable/plasma/%{version}/breeze-gtk-%{version}.tar.xz.sig Source2: plasma.keyring %endif +# PATCH-FIX-UPSTREAM (in master) +Patch1: 0001-Revert-GTK3-Revert-checkbox-recolouring.patch BuildRequires: breeze5-style BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules ++++++ 0001-Revert-GTK3-Revert-checkbox-recolouring.patch ++++++ >From 6c70cac5e4d6566eded5893e34ac356e29deaff6 Mon Sep 17 00:00:00 2001 From: Carson Black <uhh...@gmail.com> Date: Sat, 16 Nov 2019 10:36:29 -0500 Subject: [PATCH] Revert "[GTK3] Revert checkbox recolouring" Summary: This reverts commit b1649126c8c6d1af746a8472939fcda40a260095, as an upstream librsvg bug was fixed, allowing checkboxes and radiobuttons to recolour properly. https://gitlab.gnome.org/GNOME/librsvg/issues/525 Test Plan: See that checkbox recolouring works as expected. Reviewers: #breeze, #vdg, ngraham Reviewed By: #breeze, #vdg, ngraham Subscribers: ngraham, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D25336 --- src/gtk3/widgets/_checkboxes.scss | 92 ++++++++++++------------------- src/gtk3/widgets/_menus.scss | 29 +++++++--- 2 files changed, 55 insertions(+), 66 deletions(-) diff --git a/src/gtk3/widgets/_checkboxes.scss b/src/gtk3/widgets/_checkboxes.scss index 3f398ae..b9fa4bd 100644 --- a/src/gtk3/widgets/_checkboxes.scss +++ b/src/gtk3/widgets/_checkboxes.scss @@ -3,20 +3,6 @@ /************************* * Check and Radio items * *************************/ -@each $s,$as in ('','-unchecked'), - (':hover', '-unchecked-hover'), - (':active', '-unchecked-active'), - (':backdrop', '-unchecked-backdrop'), - (':checked', '-checked-active'), - (':checked:hover', '-checked-hover'), - (':checked:active', '-checked-active'), - (':backdrop:checked', '-checked-backdrop') { - .view.content-view.check#{$s}:not(list) { - -gtk-icon-shadow: none; - -gtk-icon-source: -gtk-scaled(url("../assets/check-selectionmode#{$as}.png"), url("../assets/check-selectionmode#{$as}@2.png")); - background-color: transparent; - } -} checkbutton.text-button, radiobutton.text-button { // this is for a nice focus on check and radios text @@ -32,53 +18,43 @@ checkbutton.text-button, radiobutton.text-button { } } -@each $a in ('check','radio') { +check, radio { + margin: 0 4px; - #{$a} { - margin: 0 4px; + &:only-child { margin: 0; } - &:only-child { margin: 0; } + min-height: 18px; + min-width: 18px; + //border: none; + animation: none; + background-color: transparent; + -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@borders"), warning gtk("@theme_button_background_normal"); + -gtk-icon-shadow: 1px 1px rgba(35,38,41,0.2); - min-height: 18px; - min-width: 18px; - //border: none; - animation: none; - background-color: transparent; - -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-unchecked.png"), url("../assets/#{$a}-unchec...@2.png")); + &:hover { + -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@theme_button_decoration_focus"), warning gtk("@theme_button_background_normal"); + } + &:disabled { + -gtk-icon-palette: error gtk("@theme_button_decoration_focus_insensitive"), success gtk("@insensitive_borders"), warning gtk("@theme_button_background_insensitive"); + } - @each $s,$as in ('hover','-hover'), - ('active','-active'), - ('disabled','-insensitive'), - ('backdrop','-backdrop'), - ('backdrop:disabled','-backdrop-insensitive') { - &:#{$s} { -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-unchecked#{$as}.png"), url("../assets/#{$a}-unchecked#{$as}@2.png")); } - &:checked { - -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-checked-active.png"), url("../assets/#{$a}-checked-act...@2.png")); - &:#{$s} { -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-checked#{$as}.png"), url("../assets/#{$a}-checked#{$as}@2.png")); } - } - &:indeterminate { - -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-mixed-active.png"), url("../assets/#{$a}-mixed-act...@2.png")); - &:#{$s} { -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-mixed#{$as}.png"), url("../assets/#{$a}-mixed#{$as}@2.png")); } - } + menu menuitem & { + margin: 0; // this is a workaround for a menu check/radio size allocation issue + min-height: 18px; + min-width: 18px; + background-color: transparent; + box-shadow: none; + -gtk-icon-shadow: none; + animation: none; } - - menu menuitem & { - margin: 0; // this is a workaround for a menu check/radio size allocation issue - min-height: 18px; - min-width: 18px; - background-color: transparent; - box-shadow: none; - -gtk-icon-shadow: none; - animation: none; - &:hover { - -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-unchecked.png"), url("../assets/#{$a}-unchec...@2.png")); - } - &:checked:hover { - -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-checked-active.png"), url("../assets/#{$a}-checked-act...@2.png")); - } - &:indeterminate:hover { - -gtk-icon-source: -gtk-scaled(url("../assets/#{$a}-mixed-active.png"), url("../assets/#{$a}-mixed-act...@2.png")); - } - } +} +@each $type in ('check', 'radio') { + #{$type} { + -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-unchecked-symbolic.svg")); + @each $state in ('checked', 'indeterminate') { + &:#{$state} { + -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-#{$state}-symbolic.svg")); + } + } } -} \ No newline at end of file +} diff --git a/src/gtk3/widgets/_menus.scss b/src/gtk3/widgets/_menus.scss index c241eab..7f6c40e 100644 --- a/src/gtk3/widgets/_menus.scss +++ b/src/gtk3/widgets/_menus.scss @@ -205,14 +205,27 @@ modelbutton.flat, @extend %undecorated_button; color: gtk("@theme_unfocused_fg_color"); } - check:hover {-gtk-icon-source: -gtk-scaled(url("../assets/check-unchecked.png"), url("../assets/check-unchec...@2.png"));} - radio:hover {-gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked.png"), url("../assets/radio-unchec...@2.png"));} - - check:checked:hover {-gtk-icon-source: -gtk-scaled(url("../assets/check-checked-active.png"), url("../assets/check-checked-act...@2.png"));} - radio:checked:hover {-gtk-icon-source: -gtk-scaled(url("../assets/radio-checked-active.png"), url("../assets/radio-checked-act...@2.png"));} - - check:indeterminate:hover {-gtk-icon-source: -gtk-scaled(url("../assets/check-mixed.png"), url("../assets/check-mi...@2.png"));} - radio:indeterminate:hover {-gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed.png"), url("../assets/radio-mi...@2.png"));} + check, radio { + -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@borders"), warning gtk("@theme_button_background_normal"); + -gtk-icon-shadow: 1px 1px rgba(35,38,41,0.2); + + &:hover { + -gtk-icon-palette: error gtk("@theme_button_decoration_focus"), success gtk("@theme_button_decoration_focus"), warning gtk("@theme_button_background_normal"); + } + &:disabled { + -gtk-icon-palette: error gtk("@theme_button_decoration_focus_insensitive"), success gtk("@insensitive_borders"), warning gtk("@theme_button_background_insensitive"); + } + } + @each $type in ('check', 'radio') { + #{$type} { + -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-unchecked-symbolic.svg")); + @each $state in ('checked', 'indeterminate') { + &:#{$state} { + -gtk-icon-source: -gtk-recolor(url("../assets/breeze-#{$type}-#{$state}-symbolic.svg")); + } + } + } + } // FIXME: remove the following when the checks/radios rewrite lands check:last-child, -- 2.23.0 ++++++ breeze-gtk-5.17.3.tar.xz -> breeze-gtk-5.17.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.17.3/CMakeLists.txt new/breeze-gtk-5.17.5/CMakeLists.txt --- old/breeze-gtk-5.17.3/CMakeLists.txt 2019-11-12 11:10:16.000000000 +0100 +++ new/breeze-gtk-5.17.5/CMakeLists.txt 2020-01-07 16:18:22.000000000 +0100 @@ -1,5 +1,5 @@ project(breeze-gtk) -set(PROJECT_VERSION "5.17.3") +set(PROJECT_VERSION "5.17.5") set(PROJECT_VERSION_MAJOR 5) cmake_minimum_required(VERSION 2.8.12) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.17.3/src/gtk3/widgets/_treeview.scss new/breeze-gtk-5.17.5/src/gtk3/widgets/_treeview.scss --- old/breeze-gtk-5.17.3/src/gtk3/widgets/_treeview.scss 2019-11-12 11:10:16.000000000 +0100 +++ new/breeze-gtk-5.17.5/src/gtk3/widgets/_treeview.scss 2020-01-07 16:18:22.000000000 +0100 @@ -90,7 +90,7 @@ min-width: 16px; min-height: 16px; -gtk-icon-source: -gtk-icontheme('pan-end-symbolic'); - color: gtk("@theme_base_fg_color"); + color: gtk("@theme_fg_color"); &:dir(rtl) { -gtk-icon-source: -gtk-icontheme('pan-start-symbolic'); }; &:hover { color: gtk("@theme_button_decoration_hover"); } &:selected { color: gtk("@theme_selected_fg_color"); }