Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-ksvg for openSUSE:Factory checked in at 2025-06-18 15:55:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-ksvg (Old) and /work/SRC/openSUSE:Factory/.kf6-ksvg.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-ksvg" Wed Jun 18 15:55:40 2025 rev:18 rq:1285603 version:6.15.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-ksvg/kf6-ksvg.changes 2025-05-12 16:47:34.937406557 +0200 +++ /work/SRC/openSUSE:Factory/.kf6-ksvg.new.19631/kf6-ksvg.changes 2025-06-18 15:59:46.673226384 +0200 @@ -1,0 +2,18 @@ +Mon Jun 9 20:29:44 UTC 2025 - Christophe Marin <christo...@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 + +------------------------------------------------------------------- Old: ---- ksvg-6.14.0.tar.xz ksvg-6.14.0.tar.xz.sig New: ---- ksvg-6.15.0.tar.xz ksvg-6.15.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-ksvg.spec ++++++ --- /var/tmp/diff_new_pack.TQCKzs/_old 2025-06-18 15:59:47.293252022 +0200 +++ /var/tmp/diff_new_pack.TQCKzs/_new 2025-06-18 15:59:47.293252022 +0200 @@ -16,16 +16,14 @@ # -%define qt6_version 6.7.0 +%define qt6_version 6.8.0 %define rname ksvg -# Full KF6 version (e.g. 6.14.0) +# Full KF6 version (e.g. 6.15.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-ksvg -Version: 6.14.0 +Version: 6.15.0 Release: 0 Summary: Components for handling SVGs License: GPL-2.0-or-later @@ -37,21 +35,20 @@ %endif # PATCH-FIX-OPENSUSE Patch0: 0001-Revert-Support-for-fractional-scaling.patch -BuildRequires: doxygen -BuildRequires: kf6-extra-cmake-modules >= %{_kf6_bugfix_version} -BuildRequires: cmake(KF6Archive) >= %{_kf6_bugfix_version} -BuildRequires: cmake(KF6ColorScheme) >= %{_kf6_bugfix_version} -BuildRequires: cmake(KF6Config) >= %{_kf6_bugfix_version} -BuildRequires: cmake(KF6CoreAddons) >= %{_kf6_bugfix_version} -BuildRequires: cmake(KF6GuiAddons) >= %{_kf6_bugfix_version} -BuildRequires: cmake(KF6KirigamiPlatform) >= %{_kf6_bugfix_version} +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_bugfix_version} +Requires: kf6-kirigami-imports >= %{_kf6_version} %description Components for handling SVGs @@ -81,7 +78,7 @@ %autosetup -p1 -n %{rname}-%{version} %build -%cmake_kf6 -DBUILD_QCH:BOOL=TRUE +%cmake_kf6 %kf6_build @@ -102,7 +99,6 @@ %{_kf6_libdir}/libKF6Svg.so.* %files devel -%doc %{_kf6_qchdir}/KF6Svg.* %{_kf6_cmakedir}/KF6Svg/ %{_kf6_includedir}/KSvg/ %{_kf6_libdir}/libKF6Svg.so ++++++ 0001-Revert-Support-for-fractional-scaling.patch ++++++ --- /var/tmp/diff_new_pack.TQCKzs/_old 2025-06-18 15:59:47.313252849 +0200 +++ /var/tmp/diff_new_pack.TQCKzs/_new 2025-06-18 15:59:47.317253014 +0200 @@ -1,4 +1,4 @@ -From ca06055c3eaeb716109f8126cd3e3e1976ed3e1c Mon Sep 17 00:00:00 2001 +From f6c0806c455a7e46ad993507e3389c5f25642fab Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fab...@ritter-vogt.de> Date: Sun, 9 Jun 2024 21:42:10 +0200 Subject: [PATCH] Revert "Support for fractional scaling" @@ -15,7 +15,7 @@ 7 files changed, 115 insertions(+), 120 deletions(-) diff --git a/src/declarativeimports/framesvgitem.cpp b/src/declarativeimports/framesvgitem.cpp -index 56c2b3a..678bdcb 100644 +index 56c2b3a8..678bdcbe 100644 --- a/src/declarativeimports/framesvgitem.cpp +++ b/src/declarativeimports/framesvgitem.cpp @@ -122,7 +122,7 @@ public: @@ -49,7 +49,7 @@ m_frameSvg->setDevicePixelRatio(newDevicePixelRatio); m_textureChanged = true; diff --git a/src/declarativeimports/svgitem.cpp b/src/declarativeimports/svgitem.cpp -index bec4533..aa1f2a2 100644 +index c1e6e9e5..9dec8535 100644 --- a/src/declarativeimports/svgitem.cpp +++ b/src/declarativeimports/svgitem.cpp @@ -16,6 +16,8 @@ @@ -61,7 +61,7 @@ #include <Kirigami/Platform/PlatformTheme> #include <debug_p.h> -@@ -265,7 +267,10 @@ void SvgItem::geometryChange(const QRectF &newGeometry, const QRectF &oldGeometr +@@ -269,7 +271,10 @@ void SvgItem::geometryChange(const QRectF &newGeometry, const QRectF &oldGeometr void SvgItem::updateDevicePixelRatio() { @@ -74,7 +74,7 @@ m_svg->setDevicePixelRatio(newDevicePixelRatio); m_textureChanged = true; diff --git a/src/ksvg/framesvg.cpp b/src/ksvg/framesvg.cpp -index 3b094ab..f2c8663 100644 +index b80e4ae9..3feb6585 100644 --- a/src/ksvg/framesvg.cpp +++ b/src/ksvg/framesvg.cpp @@ -15,7 +15,7 @@ @@ -95,7 +95,7 @@ } else { return d->frameSize(d->frame.data()); } -@@ -478,6 +478,9 @@ QPixmap FrameSvgPrivate::alphaMask() +@@ -484,6 +484,9 @@ QPixmap FrameSvgPrivate::alphaMask() if (maskFrame->cachedBackground.isNull()) { generateBackground(maskFrame); @@ -105,7 +105,7 @@ } return maskFrame->cachedBackground; -@@ -542,8 +545,8 @@ void FrameSvgPrivate::generateBackground(const QSharedPointer<FrameData> &frame) +@@ -548,8 +551,8 @@ void FrameSvgPrivate::generateBackground(const QSharedPointer<FrameData> &frame) } // Overlays @@ -116,7 +116,7 @@ if (overlayAvailable && !overlayCached) { overlaySize = q->elementSize(frame->prefix % QLatin1String("overlay")).toSize(); -@@ -569,13 +572,13 @@ void FrameSvgPrivate::generateBackground(const QSharedPointer<FrameData> &frame) +@@ -575,13 +578,13 @@ void FrameSvgPrivate::generateBackground(const QSharedPointer<FrameData> &frame) // Tiling? if (q->hasElement(frame->prefix % QLatin1String("hint-overlay-tile-horizontal")) || q->hasElement(frame->prefix % QLatin1String("hint-overlay-tile-vertical"))) { @@ -133,7 +133,7 @@ } overlayPainter.end(); -@@ -588,14 +591,14 @@ void FrameSvgPrivate::generateBackground(const QSharedPointer<FrameData> &frame) +@@ -594,14 +597,14 @@ void FrameSvgPrivate::generateBackground(const QSharedPointer<FrameData> &frame) if (!overlay.isNull()) { QPainter p(&frame->cachedBackground); p.setCompositionMode(QPainter::CompositionMode_SourceOver); @@ -150,7 +150,7 @@ if (!size.isValid()) { #ifndef NDEBUG -@@ -608,14 +611,13 @@ void FrameSvgPrivate::generateFrameBackground(const QSharedPointer<FrameData> &f +@@ -614,14 +617,13 @@ void FrameSvgPrivate::generateFrameBackground(const QSharedPointer<FrameData> &f return; } @@ -167,7 +167,7 @@ paintCenter(p, frame, contentRect, size); paintCorner(p, frame, FrameSvg::LeftBorder | FrameSvg::TopBorder, contentRect); -@@ -624,26 +626,25 @@ void FrameSvgPrivate::generateFrameBackground(const QSharedPointer<FrameData> &f +@@ -630,26 +632,25 @@ void FrameSvgPrivate::generateFrameBackground(const QSharedPointer<FrameData> &f paintCorner(p, frame, FrameSvg::RightBorder | FrameSvg::BottomBorder, contentRect); // Sides @@ -207,7 +207,7 @@ if (frame->enabledBorders & FrameSvg::LeftBorder && q->hasElement(frame->prefix % QLatin1String("left"))) { contentRect.translate(frame->leftWidth * q->devicePixelRatio(), 0); } -@@ -665,7 +666,7 @@ void FrameSvgPrivate::updateFrameData(uint lastModified, UpdateType updateType) +@@ -671,7 +672,7 @@ void FrameSvgPrivate::updateFrameData(uint lastModified, UpdateType updateType) const QString oldPath = fd->imagePath; const FrameSvg::EnabledBorders oldBorders = fd->enabledBorders; @@ -216,7 +216,7 @@ fd->enabledBorders = enabledBorders; fd->frameSize = pendingFrameSize; -@@ -722,28 +723,27 @@ void FrameSvgPrivate::updateFrameData(uint lastModified, UpdateType updateType) +@@ -728,28 +729,27 @@ void FrameSvgPrivate::updateFrameData(uint lastModified, UpdateType updateType) } } @@ -251,7 +251,7 @@ } else { q->paint(&p, FrameSvgHelpers::sectionRect(FrameSvg::NoBorder, contentRect, fullSize * q->devicePixelRatio()), centerElementId); } -@@ -752,7 +752,7 @@ void FrameSvgPrivate::paintCenter(QPainter &p, const QSharedPointer<FrameData> & +@@ -758,7 +758,7 @@ void FrameSvgPrivate::paintCenter(QPainter &p, const QSharedPointer<FrameData> & if (frame->composeOverBorder) { p.setCompositionMode(QPainter::CompositionMode_DestinationIn); @@ -260,7 +260,7 @@ p.setCompositionMode(QPainter::CompositionMode_SourceOver); } } -@@ -760,51 +760,35 @@ void FrameSvgPrivate::paintCenter(QPainter &p, const QSharedPointer<FrameData> & +@@ -766,51 +766,35 @@ void FrameSvgPrivate::paintCenter(QPainter &p, const QSharedPointer<FrameData> & void FrameSvgPrivate::paintBorder(QPainter &p, const QSharedPointer<FrameData> &frame, const FrameSvg::EnabledBorders borders, @@ -319,7 +319,7 @@ } } -@@ -852,7 +836,7 @@ void FrameSvgPrivate::updateSizes(FrameData *frame) const +@@ -858,7 +842,7 @@ void FrameSvgPrivate::updateSizes(FrameData *frame) const // qCDebug(LOG_KSVG) << "!!!!!!!!!!!!!!!!!!!!!! updating sizes" << prefix; Q_ASSERT(frame); @@ -329,12 +329,12 @@ if (!frame->cachedBackground.isNull()) { frame->cachedBackground = QPixmap(); diff --git a/src/ksvg/private/framesvg_helpers.h b/src/ksvg/private/framesvg_helpers.h -index 95cd6ba..691aa3c 100644 +index f8e536ef..670f4ecb 100644 --- a/src/ksvg/private/framesvg_helpers.h +++ b/src/ksvg/private/framesvg_helpers.h @@ -45,7 +45,7 @@ QString borderToElementId(FrameSvg::EnabledBorders borders) - /** - * @returns the suggested geometry for the @p borders given a @p fullSize frame size and a @p contentRect + /* + * Returns the suggested geometry for the borders given a fullSize frame size and a contentRect */ -QRectF sectionRect(KSvg::FrameSvg::EnabledBorders borders, const QRectF &contentRect, const QSizeF &fullSize) +QRect sectionRect(KSvg::FrameSvg::EnabledBorders borders, const QRect &contentRect, const QSize &fullSize) @@ -379,7 +379,7 @@ } diff --git a/src/ksvg/private/framesvg_p.h b/src/ksvg/private/framesvg_p.h -index 463b2ee..2b9e881 100644 +index 463b2ee4..2b9e881d 100644 --- a/src/ksvg/private/framesvg_p.h +++ b/src/ksvg/private/framesvg_p.h @@ -78,39 +78,38 @@ public: @@ -486,10 +486,10 @@ static QHash<ImageSetPrivate *, QHash<uint, QWeakPointer<FrameData>>> s_sharedFrames; diff --git a/src/ksvg/private/svg_p.h b/src/ksvg/private/svg_p.h -index 818a477..bb80c75 100644 +index 3b81fd52..d287802c 100644 --- a/src/ksvg/private/svg_p.h +++ b/src/ksvg/private/svg_p.h -@@ -138,8 +138,8 @@ public: +@@ -141,8 +141,8 @@ public: void setNaturalSize(const QString &path, const QSizeF &size); QSizeF naturalSize(const QString &path); @@ -500,7 +500,7 @@ QString iconThemePath(); void setIconThemePath(const QString &path); -@@ -166,7 +166,7 @@ private: +@@ -169,7 +169,7 @@ private: */ QHash<size_t, QRectF> m_localRectCache; QHash<QString, QSet<unsigned int>> m_invalidElements; @@ -510,10 +510,10 @@ }; } diff --git a/src/ksvg/svg.cpp b/src/ksvg/svg.cpp -index 1bdafd6..01ce058 100644 +index 6781f6a9..b9c0802e 100644 --- a/src/ksvg/svg.cpp +++ b/src/ksvg/svg.cpp -@@ -272,7 +272,7 @@ void SvgRectsCache::dropImageFromCache(const QString &path) +@@ -273,7 +273,7 @@ void SvgRectsCache::dropImageFromCache(const QString &path) QMetaObject::invokeMethod(m_configSyncTimer, qOverload<>(&QTimer::start)); } @@ -522,7 +522,7 @@ { const QString pathId = path % id; -@@ -280,7 +280,7 @@ QList<QSizeF> SvgRectsCache::sizeHintsForId(const QString &path, const QString & +@@ -281,7 +281,7 @@ QList<QSizeF> SvgRectsCache::sizeHintsForId(const QString &path, const QString & if (it == m_sizeHintsForId.constEnd()) { KConfigGroup imageGroup(m_svgElementsCache, path); const QStringList &encoded = imageGroup.readEntry(id, QStringList()); @@ -531,7 +531,7 @@ for (const auto &token : encoded) { const auto &parts = token.split(QLatin1Char('x')); if (parts.size() != 2) { -@@ -298,10 +298,10 @@ QList<QSizeF> SvgRectsCache::sizeHintsForId(const QString &path, const QString & +@@ -299,10 +299,10 @@ QList<QSizeF> SvgRectsCache::sizeHintsForId(const QString &path, const QString & return *it; } @@ -544,7 +544,7 @@ QString ret; for (const auto &s : list) { ret += QString::number(s.width()) % QLatin1Char('x') % QString::number(s.height()) % QLatin1Char(','); -@@ -561,7 +561,7 @@ QPixmap SvgPrivate::findInCache(const QString &elementId, qreal ratio, const QSi +@@ -563,7 +563,7 @@ QPixmap SvgPrivate::findInCache(const QString &elementId, qreal ratio, const QSi // Look at the size hinted elements and try to find the smallest one with an // identical aspect ratio. if (s.isValid() && !elementId.isEmpty()) { @@ -553,7 +553,7 @@ if (!elementSizeHints.isEmpty()) { QSizeF bestFit(-1, -1); -@@ -873,11 +873,18 @@ Svg::~Svg() +@@ -886,11 +886,18 @@ Svg::~Svg() void Svg::setDevicePixelRatio(qreal ratio) { @@ -573,7 +573,7 @@ Q_EMIT repaintNeeded(); } -@@ -905,7 +912,7 @@ QImage Svg::image(const QSize &size, const QString &elementID) +@@ -918,7 +925,7 @@ QImage Svg::image(const QSize &size, const QString &elementID) void Svg::paint(QPainter *painter, const QPointF &point, const QString &elementID) { Q_ASSERT(painter->device()); @@ -582,7 +582,7 @@ QPixmap pix((elementID.isNull() || d->multipleImages) ? d->findInCache(elementID, ratio, size()) : d->findInCache(elementID, ratio)); if (pix.isNull()) { -@@ -923,16 +930,16 @@ void Svg::paint(QPainter *painter, int x, int y, const QString &elementID) +@@ -936,16 +943,16 @@ void Svg::paint(QPainter *painter, int x, int y, const QString &elementID) void Svg::paint(QPainter *painter, const QRectF &rect, const QString &elementID) { Q_ASSERT(painter->device()); @@ -603,6 +603,6 @@ painter->drawPixmap(x, y, pix, 0, 0, pix.size().width(), pix.size().height()); } -- -2.45.2 +2.49.0 ++++++ ksvg-6.14.0.tar.xz -> ksvg-6.15.0.tar.xz ++++++ ++++ 2453 lines of diff (skipped)