Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libqt6xdg for openSUSE:Factory checked in at 2025-04-22 17:26:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt6xdg (Old) and /work/SRC/openSUSE:Factory/.libqt6xdg.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt6xdg" Tue Apr 22 17:26:13 2025 rev:5 rq:1270835 version:4.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libqt6xdg/libqt6xdg.changes 2025-04-08 17:52:48.510463040 +0200 +++ /work/SRC/openSUSE:Factory/.libqt6xdg.new.30101/libqt6xdg.changes 2025-04-22 17:26:31.706663049 +0200 @@ -1,0 +2,7 @@ +Thu Apr 17 14:10:04 UTC 2025 - Shawn Dunn <sfal...@opensuse.org> + +- Update to version 4.2.0: + * Adapted to changes in private headers of Qt 6.9 +- Dropped 35ce74f1510a9f41b2aff82fd1eda63014c3fe2b.patch + +------------------------------------------------------------------- Old: ---- 35ce74f1510a9f41b2aff82fd1eda63014c3fe2b.patch libqtxdg-4.1.0.tar.xz libqtxdg-4.1.0.tar.xz.asc New: ---- libqtxdg-4.2.0.tar.xz libqtxdg-4.2.0.tar.xz.asc BETA DEBUG BEGIN: Old: * Adapted to changes in private headers of Qt 6.9 - Dropped 35ce74f1510a9f41b2aff82fd1eda63014c3fe2b.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt6xdg.spec ++++++ --- /var/tmp/diff_new_pack.ys2z7A/_old 2025-04-22 17:26:32.346689908 +0200 +++ /var/tmp/diff_new_pack.ys2z7A/_new 2025-04-22 17:26:32.346689908 +0200 @@ -17,10 +17,10 @@ %define _name libqtxdg -%define _sover 4.1.0 +%define _sover 4.2.0 %define sover 4 Name: libqt6xdg -Version: 4.1.0 +Version: 4.2.0 Release: 0 Summary: Qt implementation of freedesktop.org xdg specs License: LGPL-2.1-only AND SUSE-LGPL-2.1-with-digia-exception-1.1 @@ -29,9 +29,6 @@ Source1: %{url}/releases/download/%{version}/%{_name}-%{version}.tar.xz.asc Source2: %{name}.keyring -# PATCH-FIX-UPSTREAM <sfal...@opensuse.org> (gh#lxqt/libqtxdg#311) -Patch0: %{url}/commit/35ce74f1510a9f41b2aff82fd1eda63014c3fe2b.patch - BuildRequires: cmake >= 3.18.0 BuildRequires: fdupes BuildRequires: gcc-c++ ++++++ libqtxdg-4.1.0.tar.xz -> libqtxdg-4.2.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqtxdg-4.1.0/CHANGELOG new/libqtxdg-4.2.0/CHANGELOG --- old/libqtxdg-4.1.0/CHANGELOG 2024-11-05 06:12:05.000000000 +0100 +++ new/libqtxdg-4.2.0/CHANGELOG 2025-04-17 10:29:30.000000000 +0200 @@ -1,3 +1,7 @@ +libqtxdg-4.2.0 / 2025-04-17 +============================ + * Adapted to changes in private headers of Qt 6.9. + libqtxdg-4.1.0 / 2024-11-05 ============================ * Bumped the version to 4.1.0. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqtxdg-4.1.0/CMakeLists.txt new/libqtxdg-4.2.0/CMakeLists.txt --- old/libqtxdg-4.1.0/CMakeLists.txt 2024-11-05 06:12:05.000000000 +0100 +++ new/libqtxdg-4.2.0/CMakeLists.txt 2025-04-17 10:29:30.000000000 +0200 @@ -14,11 +14,11 @@ set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(QTXDG_MAJOR_VERSION 4) -set(QTXDG_MINOR_VERSION 1) +set(QTXDG_MINOR_VERSION 2) set(QTXDG_PATCH_VERSION 0) set(QTXDG_VERSION_STRING ${QTXDG_MAJOR_VERSION}.${QTXDG_MINOR_VERSION}.${QTXDG_PATCH_VERSION}) -set(LXQTBT_MINIMUM_VERSION "2.1.0") +set(LXQTBT_MINIMUM_VERSION "2.2.0") set(QT_MINIMUM_VERSION "6.6.0") set(GLIB_MINIMUM_VERSION "2.41.0") # Mime Apps new implementation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqtxdg-4.1.0/src/xdgiconloader/xdgiconloader.cpp new/libqtxdg-4.2.0/src/xdgiconloader/xdgiconloader.cpp --- old/libqtxdg-4.1.0/src/xdgiconloader/xdgiconloader.cpp 2024-11-05 06:12:05.000000000 +0100 +++ new/libqtxdg-4.2.0/src/xdgiconloader/xdgiconloader.cpp 2025-04-17 10:29:30.000000000 +0200 @@ -439,7 +439,11 @@ } else if (gSupportsSvg) { const QString svgPath = subDir + svgIconName; if (QFile::exists(svgPath)) { - std::unique_ptr<ScalableEntry> iconEntry = (followColorScheme() && theme.followsColorScheme()) ? std::make_unique<ScalableFollowsColorEntry>() : std::make_unique<ScalableEntry>(); + std::unique_ptr<QIconLoaderEngineEntry> iconEntry; + if (followColorScheme() && theme.followsColorScheme()) + iconEntry.reset(new ScalableFollowsColorEntry); + else + iconEntry.reset(new ScalableEntry); iconEntry->dir = dirInfo; iconEntry->filename = svgPath; info.entries.push_back(std::move(iconEntry)); @@ -737,8 +741,11 @@ QIconLoaderEngineEntry *entry = entryForSize(m_info, size); if (entry) { const QIconDirInfo &dir = entry->dir; - if (dir.type == QIconDirInfo::Scalable || dynamic_cast<ScalableEntry *>(entry)) + if (dir.type == QIconDirInfo::Scalable + || dynamic_cast<ScalableEntry *>(entry) + || dynamic_cast<ScalableFollowsColorEntry *>(entry)) { return size; + } else { int dir_size = dir.size; //Note: fallback for directories that don't have its content size defined diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libqtxdg-4.1.0/src/xdgiconloader/xdgiconloader_p.h new/libqtxdg-4.2.0/src/xdgiconloader/xdgiconloader_p.h --- old/libqtxdg-4.1.0/src/xdgiconloader/xdgiconloader_p.h 2024-11-05 06:12:05.000000000 +0100 +++ new/libqtxdg-4.2.0/src/xdgiconloader/xdgiconloader_p.h 2025-04-17 10:29:30.000000000 +0200 @@ -61,13 +61,14 @@ class XdgIconLoader; -struct ScalableFollowsColorEntry : public ScalableEntry +struct ScalableFollowsColorEntry : public QIconLoaderEngineEntry { #if (QT_VERSION >= QT_VERSION_CHECK(6,8,0)) QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state, qreal scale) override; #else QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) override; #endif + QIcon svgIcon; }; //class QIconLoaderEngine : public QIconEngine