Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-breeze-icons for openSUSE:Leap:16.0 checked in at 2025-04-23 10:08:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:16.0/kf6-breeze-icons (Old) and /work/SRC/openSUSE:Leap:16.0/.kf6-breeze-icons.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-breeze-icons" Wed Apr 23 10:08:22 2025 rev:4 rq:1271431 version:6.13.0 Changes: -------- --- /work/SRC/openSUSE:Leap:16.0/kf6-breeze-icons/kf6-breeze-icons.changes 2025-03-19 11:47:46.904406847 +0100 +++ /work/SRC/openSUSE:Leap:16.0/.kf6-breeze-icons.new.30101/kf6-breeze-icons.changes 2025-04-23 10:08:37.400153642 +0200 @@ -1,0 +2,126 @@ +Sat Apr 5 12:32:24 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 6.13.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.13.0 +- Changes since 6.12.0: + * Add symbolic links for telegram-desktop new icon names + * Update dependency version to 6.13.0 + +------------------------------------------------------------------- +Tue Mar 11 23:28:45 UTC 2025 - RN <r_ni...@proton.me> + +- Added kf6-breeze-icons-generate-dark.patch for dark theme icon + genertion boo#1226207 +- Added kf6-breeze-icons-skip-unused.patch for ignore some of unused + ones while dark theme genration boo#1226207 + +------------------------------------------------------------------- +Tue Mar 11 09:29:06 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 6.12.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.12.0 +- Changes since 6.11.0: + * Update dependency version to 6.12.0 + * Remove themed SmartGit icon + * Let the GNOME icon loader re-color our window-close icons (kde#500950) + * Add -symbolic symlinks for value-decrease/increase (kde#494086) + * Add MIME-type icons for kdenlive project files. + * Fix fill-rule-even-odd.svg and fill-rule-nonzero.svg + * Borrow debug function from Qt documentation + * Simplify qrcAlias to not use as much memory + * Force folder creation + * Remove inkscape icons + * safe half of memory for duplicate checking + * Add battery-profile-balanced symlink + * Update version to 6.12.0 + +------------------------------------------------------------------- +Sat Feb 8 12:16:39 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 6.11.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.11.0 +- Changes since 6.10.0: + * Update dependency version to 6.11.0 + * Add xml/yaml linting + * Symlink preferences-system-windows-effect-screenshot to applets-screenshooter + * Provide 12x12 version of open-link icon + * CI: Add linux-qt6-next build + * Make the close icons be black X symbols (kde#453167) + * Update version to 6.11.0 + +------------------------------------------------------------------- +Tue Jan 7 18:17:18 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Update to 6.10.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.10.0 +- Changes since 6.9.0: + * Update dependency version to 6.10.0 + * create-app-symlinks.py: add cuttlefish (org.kde.iconexplorer) + * Add new pcmanfm-qt icon + * Add open-link-symbolic icon + * Add snap package icon + * Add symbolic version of preferences-security + * Add symbolic version of preferences-desktop-emoticons + * tests: ignore missing index.theme in ScalableTest::test_scalableDuplicates() + * Update version to 6.10.0 + +------------------------------------------------------------------- +Sun Dec 8 10:09:04 UTC 2024 - Christophe Marin <christo...@krop.fr> + +- Update to 6.9.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.9.0 +- Changes since 6.8.0: + * Update dependency version to 6.9.0 + * Bring back directory symlinks for breeze-dark (kde#482648) + * Add symbolic version of system-software-update for small sizes (kde#399139) + * Also link to 22px versions for Duplicate icons + * Add symbolic version of preferences-desktop-keyboard-shortcut + * Add transport-mode-flight icon + * Add symbolic version of preferences-system-users + * Add symbolic version of preferences-desktop-notification-symbolic + * Add symbolic version of preferences-desktop-theme-global + * Generate index.theme unconditionally to fix qrc/rcc + * Make qrc generation fail if no *.theme file was found + * Add missing CSS properties for `blur` and `pixelate` icons (kde#495755) + * Fix class attribute for places/32/folder-{log,podcast}.svg + * Add boost and boost-boosted icons + * Update WINE app icons to match new symbolic versions + * Add wine-symbolic icon (kde#494450) + * Add favorite-favorited, change favorite to non-filled + * Make base donate and help-donate icons be hearts + * Add love + * Improve README with more guidelines and contributing information + * Add icon for keyboard shortcut preferences + * Add dialog-password icon + * optimize-svg: Clarify that you need to install svgo globally + * Add laser printer icon + * Update version to 6.9.0 + +------------------------------------------------------------------- +Mon Nov 4 11:17:55 UTC 2024 - Christophe Marin <christo...@krop.fr> + +- Update to 6.8.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.8.0 +- Changes since 6.7.0: + * Update dependency version to 6.8.0 + * Add mimetype icons for text/x-typst + * Monochromize not-explicitly-colorized symbolic folder icons (kde#494721) + * Add CI for static builds on Linux + * Unify common parts of index.theme for breeze and breeze-dark + * Sync index.theme changes from breeze to breeze-dark (kde#494399) + * Rename spinbox-* icons to value-* + * Update version to 6.8.0 + +------------------------------------------------------------------- Old: ---- breeze-icons-6.7.0.tar.xz breeze-icons-6.7.0.tar.xz.sig New: ---- breeze-icons-6.13.0.tar.xz breeze-icons-6.13.0.tar.xz.sig kf6-breeze-icons-generate-dark.patch kf6-breeze-icons-skip-unused.patch BETA DEBUG BEGIN: New: - Added kf6-breeze-icons-generate-dark.patch for dark theme icon genertion boo#1226207 New: genertion boo#1226207 - Added kf6-breeze-icons-skip-unused.patch for ignore some of unused ones while dark theme genration boo#1226207 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-breeze-icons.spec ++++++ --- /var/tmp/diff_new_pack.9RrJuZ/_old 2025-04-23 10:08:38.244188928 +0200 +++ /var/tmp/diff_new_pack.9RrJuZ/_new 2025-04-23 10:08:38.248189095 +0200 @@ -1,7 +1,7 @@ # # spec file for package kf6-breeze-icons # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,13 @@ %define qt6_version 6.7.0 %define rname breeze-icons -# Full KF6 version (e.g. 6.7.0) +# Full KF6 version (e.g. 6.13.0) %{!?_kf6_version: %global _kf6_version %{version}} # Last major and minor KF6 version (e.g. 6.0) %{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | awk -F. '{print $1"."$2}')} %bcond_without released Name: kf6-breeze-icons -Version: 6.7.0 +Version: 6.13.0 Release: 0 Summary: Breeze icon theme License: LGPL-3.0-only @@ -35,6 +35,10 @@ Source1: %{rname}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif +# PATCH-FIX-OPENSUSE boo#1226207 +Patch1: kf6-breeze-icons-generate-dark.patch +# PATCH-FIX-OPENSUSE boo#1226207 +Patch2: kf6-breeze-icons-skip-unused.patch BuildRequires: fdupes BuildRequires: kf6-extra-cmake-modules >= %{_kf6_bugfix_version} BuildRequires: libxml2-tools ++++++ breeze-icons-6.7.0.tar.xz -> breeze-icons-6.13.0.tar.xz ++++++ ++++ 4873 lines of diff (skipped) ++++++ kf6-breeze-icons-generate-dark.patch ++++++ From: Mykola Krachkovsky <w01dn...@gmail.com> Date: 2024-06-14 20:11 UTC Subject: Generate icons for dark theme References: boo#1226207 diff '--color=auto' -uNr breeze-icons-6.3.0-org/icons-dark/CMakeLists.txt breeze-icons-6.3.0-mod/icons-dark/CMakeLists.txt --- breeze-icons-6.3.0-org/icons-dark/CMakeLists.txt 2024-05-31 16:23:41.000000000 +0300 +++ breeze-icons-6.3.0-mod/icons-dark/CMakeLists.txt 2024-06-12 14:07:27.132154157 +0300 @@ -11,12 +11,13 @@ set(BREEZE_INSTALL_DIR ${KDE_INSTALL_FULL_ICONDIR}/breeze-dark) set(ICON_GEN_DIR ${CMAKE_BINARY_DIR}/breeze-icons-dark) -if(WITH_ICON_GENERATION) +# if(WITH_ICON_GENERATION) # No trainling slashes on dirs. It will break scripts. add_custom_target(breeze-generate-symbolic-dark ALL COMMENT "Generating symbolic dark icons" COMMAND $<TARGET_FILE:generate-symbolic-dark> ${CMAKE_SOURCE_DIR}/icons ${ICON_GEN_DIR} ) +if(WITH_ICON_GENERATION) # Auto-generate 24px monochrome icons from 22px versions add_custom_target(breeze-generate-24px-versions-dark ALL DEPENDS breeze-generate-symbolic-dark @@ -47,9 +48,9 @@ if(NOT WIN32) install(DIRECTORY ${CMAKE_BINARY_DIR}/icons/aliases/ DESTINATION ${BREEZE_INSTALL_DIR}) endif() - if(WITH_ICON_GENERATION) + # if(WITH_ICON_GENERATION) install(DIRECTORY ${ICON_GEN_DIR}/ DESTINATION ${BREEZE_INSTALL_DIR}) - endif() + # endif() endif() gtk_update_icon_cache(${BREEZE_INSTALL_DIR}) ++++++ kf6-breeze-icons-skip-unused.patch ++++++ From: Mykola Krachkovsky <w01dn...@gmail.com> Date: 2024-06-14 20:11 UTC Subject: skip unneeded icons while generation dark theme icons for decrease size of package References: boo#1226207 diff '--color=auto' -uNr breeze-icons-6.3.0-drk/src/tools/generate-symbolic-dark.cpp breeze-icons-6.3.0-sym/src/tools/generate-symbolic-dark.cpp --- breeze-icons-6.3.0-drk/src/tools/generate-symbolic-dark.cpp 2024-05-31 16:23:42.000000000 +0300 +++ breeze-icons-6.3.0-sym/src/tools/generate-symbolic-dark.cpp 2024-06-14 23:10:46.557361703 +0300 @@ -109,6 +109,7 @@ QStringList unwrittenFiles; QStringList xmlReadErrorFiles; QStringList xmlWriteErrorFiles; + QRE recolorUsage(u"class=\"(?:[^\"]+\\s)?ColorScheme-(?:Text|Background)[\\s\"]"_s); for (auto &inputDir : std::as_const(inputDirs)) { QDirIterator dirIt(inputDir, QDirIterator::Subdirectories); while (dirIt.hasNext()) { @@ -120,6 +121,10 @@ || QFileInfo::exists(QString{inputFilePath}.replace("/icons/"_L1, "/icons-dark/"_L1))) { continue; } + // Skip applets (used by Plasma and recolored at run-time) + if (inputFilePath.contains("/applets/256/"_L1)) { + continue; + } QFile inputFile(inputFilePath); if (!inputFile.open(QIODevice::ReadOnly)) { @@ -134,6 +139,11 @@ continue; } + // Skip any icons that don't have class `ColorScheme-Text|Background` usage + if (!recolorUsage.match(QString::fromUtf8(inputData)).hasMatch()) { + continue; + } + QDir outputDir = outputDirInfo.absoluteFilePath(); const auto outputFilePath = outputDir.absoluteFilePath(QString{inputFilePath}.remove(QRE(u".*/icons/"_s))); QFileInfo outputFileInfo(outputFilePath); @@ -142,10 +152,12 @@ QDir::root().mkpath(outputDir.absolutePath()); } QFile outputFile(outputFilePath); + /* if (!outputFile.open(QIODevice::WriteOnly)) { unwrittenFiles.append("\""_L1 + outputFile.fileName() + "\": "_L1 + outputFile.errorString()); continue; } + */ QXmlStreamReader reader(inputData); reader.setNamespaceProcessing(false); @@ -153,9 +165,32 @@ QXmlStreamWriter writer(&outputData); writer.setAutoFormatting(true); + bool currentColorUsed = false; while (!reader.atEnd() && !reader.hasError() && !writer.hasError()) { reader.readNext(); writer.writeCurrentToken(reader); + if (!currentColorUsed && reader.isStartElement()) { + const auto classAttr = reader.attributes().value("class"_L1); + if (classAttr == "ColorScheme-Text"_L1 || classAttr == "ColorScheme-Background"_L1) { + const auto styleAttr = reader.attributes().value("style"_L1); + if (!styleAttr.isEmpty()) { + bool fillCurrentColor = false; + bool directColor = false; + for (const auto style : styleAttr.split(';'_L1)) { + const auto prop = style.split(':'_L1); + const auto propName = prop[0].trimmed(); + const auto propValue = prop[1].trimmed(); + if ((propName == "fill"_L1 || propName == "stroke"_L1) && propValue == "currentColor"_L1) { + fillCurrentColor = true; + } + if (propName == "color"_L1 && propValue != "currentColor"_L1) { + directColor = true; + } + } + currentColorUsed = fillCurrentColor && !directColor; + } + } + } if (!reader.isStartElement() || reader.qualifiedName() != "style"_L1 || reader.attributes().value("id"_L1) != "current-color-scheme"_L1) { continue; } @@ -167,6 +202,10 @@ writer.writeCharacters(convertStylesheet(reader.text().toString())); } + if (!currentColorUsed) { + continue; + } + if (reader.hasError()) { xmlReadErrorFiles.append("\""_L1 + inputFile.fileName() + "\": "_L1 + reader.errorString()); } @@ -174,6 +213,11 @@ xmlWriteErrorFiles.append("\""_L1 + outputFile.fileName() + "\""_L1); } + if (!outputFile.open(QIODevice::WriteOnly)) { + unwrittenFiles.append("\""_L1 + outputFile.fileName() + "\": "_L1 + outputFile.errorString()); + continue; + } + auto bytesWritten = outputFile.write(outputData); outputFile.close(); wasAnyFileWritten |= bytesWritten > 0;