From eac17392209c692bb0fe60b1897735b940dfc6b04fc17feea825e20c8e3ad9d7 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 21 Oct 2020 06:32:17 +0000 Subject: [PATCH] Plasma 5.20.1(.1), not build tested as OBS appears to have some issues. OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/breeze?expand=0&rev=310 --- ...er_sizes.py-Properly-compress-wallpa.patch | 34 ------------------- breeze-5.20.0.tar.xz | 3 -- breeze-5.20.0.tar.xz.sig | 11 ------ breeze-5.20.1.tar.xz | 3 ++ breeze-5.20.1.tar.xz.sig | 11 ++++++ breeze.changes | 14 ++++++++ breeze.spec | 8 +---- 7 files changed, 29 insertions(+), 55 deletions(-) delete mode 100644 0001-generate_wallpaper_sizes.py-Properly-compress-wallpa.patch delete mode 100644 breeze-5.20.0.tar.xz delete mode 100644 breeze-5.20.0.tar.xz.sig create mode 100644 breeze-5.20.1.tar.xz create mode 100644 breeze-5.20.1.tar.xz.sig diff --git a/0001-generate_wallpaper_sizes.py-Properly-compress-wallpa.patch b/0001-generate_wallpaper_sizes.py-Properly-compress-wallpa.patch deleted file mode 100644 index fabddad..0000000 --- a/0001-generate_wallpaper_sizes.py-Properly-compress-wallpa.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 3f1f58950971791b8deaa7fc63187926aa5dd7b9 Mon Sep 17 00:00:00 2001 -From: Fabian Vogt -Date: Wed, 14 Oct 2020 11:00:33 +0200 -Subject: [PATCH] generate_wallpaper_sizes.py: Properly compress wallpapers - -The current options are quite bad and result in files which are unnessarily -big, even bigger than the original file. The Pillow documentation says: -> Values above 95 should be avoided; 100 disables portions of the JPEG -> compression algorithm, and results in large files with hardly any gain -> in image quality. - -"100" is not a valid value for the subsamping parameter either. - -This change actually enables proper compression with subsampling and also -enables optimization of internal settings. - -Result: From 34MiB down to 12MiB with no noticable difference. ---- - wallpapers/generate_wallpaper_sizes.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/wallpapers/generate_wallpaper_sizes.py b/wallpapers/generate_wallpaper_sizes.py -index b5f997b2..79298c7b 100644 ---- a/wallpapers/generate_wallpaper_sizes.py -+++ b/wallpapers/generate_wallpaper_sizes.py -@@ -43,4 +43,4 @@ for orientation in ('horizontal', 'vertical'): - else: box = None - resized_image = image.resize((width, height), Image.LANCZOS, box) - resized_image.save(base_dir / f'{width}x{height}{extension}', -- quality=100, subsampling=100) -+ quality=90, optimize=True, subsampling=1) --- -2.25.1 - diff --git a/breeze-5.20.0.tar.xz b/breeze-5.20.0.tar.xz deleted file mode 100644 index 49921f4..0000000 --- a/breeze-5.20.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f360c5803c434b8ce771232b030779d8c92b3bcb5b7c940f3524d6e9afb05db1 -size 38490700 diff --git a/breeze-5.20.0.tar.xz.sig b/breeze-5.20.0.tar.xz.sig deleted file mode 100644 index 9665142..0000000 --- a/breeze-5.20.0.tar.xz.sig +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCgAdFiEELR1bBYg1d4fenuIl7JTRj38FmX4FAl9/OLcACgkQ7JTRj38F -mX4dZAf+P8fzQd5mFDeecoYkNyJRDd/+jiLGsyb206rbGaOOlJasMhUeVYz0WpO4 -x+Dwz6xweE8lAKrfBvIUkEKO/GQmN+LBDXzLD3GIWTIcc5aLhT+mxo2nDotPGC// -cNao/wD40308xTsEU2UuzQeCV5HEqQDuGAowaYibrgPTb5qWbfhC36MvsEN+iOF2 -p7nFULOPpIIczis3Cw7a0fLyIKje1cHEYPnR6E/J0u1PxpkleoD5KWLXthOmpTuE -BYLJgwWmxRHXg+SdZTTKQ+IP60xv2bV8ya5fLEIpVttiKWVWUGYsDqzN0JG2Uujy -sf0Iwn16U4+NGg4j7WxVZRzLtlp2pg== -=urT9 ------END PGP SIGNATURE----- diff --git a/breeze-5.20.1.tar.xz b/breeze-5.20.1.tar.xz new file mode 100644 index 0000000..719acc8 --- /dev/null +++ b/breeze-5.20.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14e6e973f9e5ced3a690bf4a570399acec70ed3db23a8d1ef79e1920ff129c6b +size 15687172 diff --git a/breeze-5.20.1.tar.xz.sig b/breeze-5.20.1.tar.xz.sig new file mode 100644 index 0000000..918a81a --- /dev/null +++ b/breeze-5.20.1.tar.xz.sig @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEELR1bBYg1d4fenuIl7JTRj38FmX4FAl+OzPwACgkQ7JTRj38F +mX5/SQf9H+7V4D3ZcHdpuCWq/gyRq61U62qD9Fo86QZteDa3Tw9WVXfKFLLjE30h +0zfV0+3tfImFahGCDEogmcuWLiXgPqPuyik4CtIbvlAGrrP8yOhiiRnq+nKv9SxI +Ss9Zs+O9L4GrKe9tJQnJhV3eUZ1nmD9XKuP9WwyOkarkztcljzo/CEXXXPPGFEWb +Y5ETas3XsfvQGKrRL0k8lJRdv8g2xAFb6fDgeolNikb87klOcv4dXpskDUlYHKYD +vArPf8wZrpE/q+885gm0RmXterALFf8Fj5aL60hnxuEO5UJPhbQpSFiIz5I313c8 +uKrjNNZKHyyi7HyoHngsbhdJLfJiJA== +=6IdO +-----END PGP SIGNATURE----- diff --git a/breeze.changes b/breeze.changes index e958461..de8475b 100644 --- a/breeze.changes +++ b/breeze.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Oct 20 14:30:31 UTC 2020 - Fabian Vogt + +- Update to 5.20.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/plasma-5.20.1 +- Changes since 5.20.0: + * Regenerate wallpaper sizes + * generate_wallpaper_sizes.py: Properly compress wallpapers + * Fix for occasional background glitches behind transparent Menus, especially when hovering over menu elements. +- Drop patches, now upstream: + * 0001-generate_wallpaper_sizes.py-Properly-compress-wallpa.patch + ------------------------------------------------------------------- Wed Oct 14 09:15:43 UTC 2020 - Fabian Vogt diff --git a/breeze.spec b/breeze.spec index 6a7db90..806d315 100644 --- a/breeze.spec +++ b/breeze.spec @@ -22,7 +22,7 @@ %{!?_plasma5_version: %define _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: breeze -Version: 5.20.0 +Version: 5.20.1 Release: 0 Summary: Plasma Desktop artwork, styles and assets License: GPL-2.0-or-later @@ -33,16 +33,12 @@ Source: breeze-%{version}.tar.xz Source1: breeze-%{version}.tar.xz.sig Source2: plasma.keyring %endif -# PATCH-FIX-UPSTREAM -Patch1: 0001-generate_wallpaper_sizes.py-Properly-compress-wallpa.patch BuildRequires: cmake >= 2.8.12 BuildRequires: extra-cmake-modules >= 0.0.13 BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: kf5-filesystem BuildRequires: pkgconfig -# To regenerate the images for Patch1 -BuildRequires: python3-Pillow # Needed for Plasma/LookAndFeel service type declaration (kde#367923) BuildRequires: plasma-framework BuildRequires: cmake(KDecoration2) >= %{_plasma5_version} @@ -119,8 +115,6 @@ Library containing support code for the Breeze Qt5 style. %autosetup -p1 %build - # Apply Patch1 - python3 wallpapers/generate_wallpaper_sizes.py %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %cmake_build