kde-frameworks/breeze-icons: drop 6.13.0

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-08-10 21:35:48 +02:00
parent a9f971740a
commit fd70c2a0bf
3 changed files with 0 additions and 109 deletions

View File

@@ -1,3 +1,2 @@
DIST breeze-icons-6.13.0.tar.xz 2255616 BLAKE2B e81489fdc704b0a5d15f4af693214c4b07846d43b0e99c0a029828c8e729c3c05475d96b9556b13d825e00797d8a1a03c843f6d85c4b69ac5a03b9da4c51ef1f SHA512 03734a0838b2545d4320d9a0b75625558cb83247cd1c455c909cca917a8c7e4b46df3ff4ea9d0935237a57d6bf1387e290b1005e3eb01c46d506339d5ca68687
DIST breeze-icons-6.16.0.tar.xz 2256520 BLAKE2B 356e1e93c094503aa472606be5e3d5dbf34e95b43440e0315972ae710b18c7ea0cf9f8951115aa8ea1eef3c2c424615053e7aeab4a52b8dbe8c9570cadde7fc4 SHA512 589e7bf8885dbc19e309613b00620714f1e6b9b85093b864c64fde5be0f14f3e11671c76e4ec5d25b6729a75fc815b1e78d21f5091fcbdcb7d5f5442576963af
DIST breeze-icons-6.17.0.tar.xz 2256400 BLAKE2B cf8379919aabe954d3aa71e5a322a94a0e174739185392b21766b746970aad28e481ad772431e1c6400f173dcc8dadb0639bec69215f33834084c1b2a0abc354 SHA512 200e4ac4c9caed9d748267dcc3e3881c82a39b087551464cae827e23788badb6af0483498c5fa988cee551524a9c4a9d4817f9ea8170a4caf0a7bbe8e325c88e

View File

@@ -1,48 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
inherit cmake frameworks.kde.org python-any-r1 xdg
DESCRIPTION="Breeze SVG icon theme"
LICENSE="LGPL-3"
KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
!kde-frameworks/${PN}:5
!kde-frameworks/${PN}-rcc:5
!kde-frameworks/${PN}-rcc:6
"
BDEPEND="${PYTHON_DEPS}
$(python_gen_any_dep 'dev-python/lxml[${PYTHON_USEDEP}]')
dev-qt/qtbase:6[gui]
>=kde-frameworks/extra-cmake-modules-${KDE_CATV}:*
test? ( app-misc/fdupes )
"
python_check_deps() {
python_has_version "dev-python/lxml[${PYTHON_USEDEP}]"
}
src_configure() {
local mycmakeargs=(
-DPython_EXECUTABLE="${PYTHON}"
-DBINARY_ICONS_RESOURCE=ON # TODO: remove when kexi was ported away
-DSKIP_INSTALL_ICONS=OFF
-DBUILD_TESTING="$(usex test)"
)
cmake_src_configure
}
src_install() {
cmake_src_install
# bug 770988
find "${ED}"/usr/share/icons/ -type d -empty -delete || die
find "${ED}"/usr/share/icons/ -xtype l -delete || die
}

View File

@@ -1,60 +0,0 @@
From 75fd5c16d1cf0bb6756d4dedd073fed2ef6ee325 Mon Sep 17 00:00:00 2001
From: Christoph Cullmann <christoph@cullmann.dev>
Date: Tue, 17 Jun 2025 18:42:57 +0200
Subject: [PATCH] use big resource variant, else we OOM on 32 bit machines
this has issues with LTO, we have a unit test that tells if stuff got lost in the DLL
fix the resource loading for static library building, uncovered by the new unit test
BUG: 487452
BUG: 499674
---
src/lib/CMakeLists.txt | 5 +--
src/lib/breezeicons.cpp | 9 +++++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/lib/CMakeLists.txt b/src/lib/CMakeLists.txt
index e8c9e0ac9..600c8a8f4 100644
--- a/src/lib/CMakeLists.txt
+++ b/src/lib/CMakeLists.txt
@@ -24,8 +24,9 @@ if(BINARY_ICONS_RESOURCE)
install(FILES ${RESOURCE_FILE_BINARY} DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/breeze)
endif()
-# use normal resource adding, big resource variant has issue with LTO
-qt_add_resources(kbreezeicons_resource_SRCS
+# use big resource variant, else we OOM on 32 bit machines
+# this has issues with LTO, we have a unit test that tells if stuff got lost in the DLL
+qt_add_big_resources(kbreezeicons_resource_SRCS
${RESOURCE_FILE}
OPTIONS --root /icons/breeze
)
diff --git a/src/lib/breezeicons.cpp b/src/lib/breezeicons.cpp
index 36d1ca873..7657e789d 100644
--- a/src/lib/breezeicons.cpp
+++ b/src/lib/breezeicons.cpp
@@ -10,11 +10,20 @@
#include <QIcon>
+static void resourceInit()
+{
+ // needs to be called outside of namespace
+ Q_INIT_RESOURCE(breeze_icons);
+}
+
namespace BreezeIcons
{
void initIcons()
{
+ // ensure the resource is there and loaded for static libs
+ resourceInit();
+
// ensure we fallback to breeze, if no user fallback is set
const QString fallbackTheme = QIcon::fallbackThemeName();
if (fallbackTheme.isEmpty() || fallbackTheme == QLatin1String("hicolor")) {
--
GitLab