File kf6-ksvg.spec of Package kf6-ksvg
#
# spec file for package kf6-ksvg
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define qt6_version 6.8.0
%define rname ksvg
# Full KF6 version (e.g. 6.23.0)
%{!?_kf6_version: %global _kf6_version %{version}}
%bcond_without released
Name: kf6-ksvg
Version: 6.23.0
Release: kf.55.1
Summary: Components for handling SVGs
License: GPL-2.0-or-later
URL: https://www.kde.org
Source: %{rname}-%{version}.tar.xz
%if %{with released}
Source1: %{rname}-%{version}.tar.xz.sig
Source2: frameworks.keyring
%endif
# PATCH-FIX-OPENSUSE
Patch0: 0001-Revert-Support-for-fractional-scaling.patch
BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version}
BuildRequires: cmake(KF6Archive) >= %{_kf6_version}
BuildRequires: cmake(KF6ColorScheme) >= %{_kf6_version}
BuildRequires: cmake(KF6Config) >= %{_kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{_kf6_version}
BuildRequires: cmake(KF6GuiAddons) >= %{_kf6_version}
BuildRequires: cmake(KF6KirigamiPlatform) >= %{_kf6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
BuildRequires: cmake(Qt6QuickControls2) >= %{qt6_version}
BuildRequires: cmake(Qt6Svg) >= %{qt6_version}
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
Requires: kf6-kirigami-imports >= %{_kf6_version}
%description
Components for handling SVGs
%package imports
Summary: QML Components for ksvg
%description imports
This package contains QML imports for SVG handling.
%package -n libKF6Svg6
Summary: ksvg library
Requires: kf6-ksvg >= %{version}
Recommends: kf6-ksvg-imports = %{version}
%description -n libKF6Svg6
The ksvg library.
%package devel
Summary: Development Files for the ksvg framework
Requires: libKF6Svg6 = %{version}
%description devel
Development Files for the ksvg framework.
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%ldconfig_scriptlets -n libKF6Svg6
%files
%{_kf6_debugdir}/ksvg.categories
%files imports
%{_kf6_qmldir}/org/kde/ksvg/
%files -n libKF6Svg6
%license LICENSES/*
%doc README.md
%{_kf6_libdir}/libKF6Svg.so.*
%files devel
%{_kf6_cmakedir}/KF6Svg/
%{_kf6_includedir}/KSvg/
%{_kf6_libdir}/libKF6Svg.so
%changelog
* Fri Feb 6 2026 Christophe Marin <christophe@krop.fr>
- Update to 6.23.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.23.0
- Changes since 6.22.0:
* Update dependency version to 6.23.0
* Fix memory leak when ImageSet cannot be found
* Enable LSAN in CI
* ksvg: Optimize stylesheet parsing
* Update version to 6.23.0
* Sun Jan 4 2026 Christophe Marin <christophe@krop.fr>
- Update to 6.22.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.22.0
- Changes since 6.21.0:
* Update dependency version to 6.22.0
* Remove noisy debug on ImageSetPrivate::findInCache
* Remove duplicate headers in same file
* Update version to 6.22.0
* Fri Dec 12 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.21.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.21.0
- Changes since 6.20.0:
* Update dependency version to 6.21.0
* Remove unused signal
* Simplify ImageSet config file handling
* Remove FallbackImageSet config handling
* Wrap useGlobal handling in deprecation macro
* Wrap ImageSet metadata handling in deprecation macro
* Drop unused variable
* Add test for ImageSet::filePath
* Add test for currentImageSetHasImage
* Rename imageSetChanged parameter
* Test ImageSet file selectors
* Drop iconImageSetMetadataPath
* Reduce scope of themeMetadataPath variable
* Remove KDirWatch leftovers
* Run clang-format
* [imageset] Preserve basePath when calling setImageName
* Add Alpine CI build
* Update version to 6.21.0
* Correct some typos in FrameSvg docs
* Clarify what FrameSvg insets are
* Clarify what FrameSvg margins are
* Add FrameSvg::insets()
* Add QMargins getters for margins in FrameSvg
* Fix deprecation syntax
* [imageset] Deprecate metadata
* [imageset] Deprecate setCacheLimit
* [imageset] Deprecate setUseGlobalSettings
* [imageset] Remove unused isDefault
* [imageset] Remove Plasma theme version handling
* Don't use QDir::separator
* Thu Nov 13 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.20.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.20.0
- Changes since 6.19.0:
* Update dependency version to 6.20.0
* KSvg: Add ColorScheme-Frame
* Update version to 6.20.0
* Tue Oct 7 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.19.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.19.0
- Changes since 6.18.0:
* Update dependency version to 6.19.0
* Use alphaMask for the overlay only when the svg actually has a mask (kde#510157)
* Restrict shared rendering to the main thread
* Update version to 6.19.0
* Mon Sep 8 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.18.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.18.0
- Changes since 6.17.0:
* Update dependency version to 6.18.0
* Drop unneeded expl. addition of build dir to libs' build includes interface
* Workaround plasmashell crashing due to new Svg::colorOverridesChanged() signal
* Fix FrameSvg not refreshing when color scheme changes (kde#503671)
* Update version to 6.18.0
* Mon Aug 4 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.17.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.17.0
- Changes since 6.16.0:
* Update dependency version to 6.17.0
* Bump kf ecm_set_disabled_deprecation_versions
* It compiles fine without qt 6.10 deprecated methods
* Update version to 6.17.0
* Mon Jul 7 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.16.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.16.0
- Changes since 6.15.0:
* Update dependency version to 6.16.0
* Update version to 6.16.0
* Mon Jun 9 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.15.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.15.0
- Changes since 6.14.0:
* Update dependency version to 6.15.0
* Add tags file to documentation
* Add missing qhp projects
* Documentation fixes
* Add landing page for QDoc
* It compiles fine without kf_6_13 deprecated methods
* Port API documentation to QDoc syntax
* Update version to 6.15.0
- Replace _kf6_bugfix_version usage
* Sun May 4 2025 Christophe Marin <christophe@krop.fr>
- Update to 6.14.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.14.0
- Changes since 6.13.0:
* Update dependency version to 6.14.0
* Update version to 6.14.0
* Sat Apr 5 2025 Christophe Marin <christophe@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:
* It compiles fine without qt6.9 deprecated methods
* It compiles fine without kf6.12 deprecated methods
* Update dependency version to 6.13.0
* Tue Mar 11 2025 Christophe Marin <christophe@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
* Update version to 6.12.0
* Sat Feb 8 2025 Christophe Marin <christophe@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
* Improve thread safety for render cache
* Add xml/yaml linting
* CI: Add linux-qt6-next build
* Update version to 6.11.0
* Thu Jan 9 2025 Christophe Marin <christophe@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
* Disconnect signals on destruction (kde#493921)
* Update version to 6.10.0
* Sun Dec 8 2024 Christophe Marin <christophe@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
* It compiles fine without deprecated methods
* Update version to 6.9.0
* Mon Nov 4 2024 Christophe Marin <christophe@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
* Update version to 6.8.0
* Mon Oct 7 2024 Christophe Marin <christophe@krop.fr>
- Update to 6.7.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.7.0
- Changes since 6.6.0:
* Update dependency version to 6.7.0
* Fix typo in docs
* Update version to 6.7.0
* Sat Sep 7 2024 Christophe Marin <christophe@krop.fr>
- Update to 6.6.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.6.0
- Changes since 6.5.0:
* Update version to 6.6.0
* Mon Aug 5 2024 Christophe Marin <christophe@krop.fr>
- Update to 6.5.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.5.0
- Changes since 6.4.0:
* Update dependency version to 6.5.0
* findInCache: Compare last modified to boot time if timestamp is 0 (kde#453876)
* Update version to 6.5.0
* Drop dead code
* Tue Jul 9 2024 Christophe Marin <christophe@krop.fr>
- Update to 6.4.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.4.0
- Changes since 6.3.0:
* Fix masks of completely black mask frames
* Restore proper devicepixelratio when extracting from cache (kde#488295)
* Fix description in metainfo
* Remove explicit maintainer from metainfo
- Drop patch, merged upstream:
* 0001-Restore-proper-devicepixelratio-when-extracting-from.patch
* Wed Jun 19 2024 Christophe Marin <christophe@krop.fr>
- Add upstream fix (kde#488295):
* 0001-Restore-proper-devicepixelratio-when-extracting-from.patch
- Rebase 0001-Revert-Support-for-fractional-scaling.patch
* Sun Jun 9 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to work around themes having incorrect fractional sizes
(kde#487625):
* 0001-Revert-Support-for-fractional-scaling.patch
* Wed Jun 5 2024 Christophe Marin <christophe@krop.fr>
- Update to 6.3.0
* New feature release
* For more details please see:
* https://kde.org/announcements/frameworks/6/6.3.0/
- Changes since 6.2.0:
* Support for fractional scaling
* Color also absolute path images (kde#485801)
* Reapply "Port to declarative type registration"
* Mon May 6 2024 Christophe Marin <christophe@krop.fr>
- Update to 6.2.0
* New feature release
* For more details please see:
* https://kde.org/announcements/gear/6.2.0/
- Changes since 6.1.0:
* Don't call update on missing marginObject
* Make property type fully qualified
* Fri Apr 5 2024 Christophe Marin <christophe@krop.fr>
- Update to 6.1.0
* New feature release
- Changes since 6.0.0:
* update version for new release
* Add test for loading svgs from qrc files
* Support loading svg from QRC files
* Wed Feb 21 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.0
* New bugfix release
* Release announcement not available yet
- Changes since 5.249.0:
* update version for new release
* Wed Jan 31 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.249.0 (6.0 RC 2):
* New bugfix release
* For more details see https://kde.org/announcements/megarelease/6/rc2/
* Mon Jan 15 2024 Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.248.0 (6.0 RC 1)
* For more details please see:
https://kde.org/announcements/megarelease/6/rc1/
* Tue Jun 27 2023 Christophe Marin <christophe@krop.fr>
- Init kf6-ksvg