Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kf6-kservice for openSUSE:Factory 
checked in at 2024-08-10 19:06:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kf6-kservice (Old)
 and      /work/SRC/openSUSE:Factory/.kf6-kservice.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kf6-kservice"

Sat Aug 10 19:06:47 2024 rev:6 rq:1192897 version:6.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kf6-kservice/kf6-kservice.changes        
2024-07-14 08:53:28.714980592 +0200
+++ /work/SRC/openSUSE:Factory/.kf6-kservice.new.7232/kf6-kservice.changes      
2024-08-10 19:10:51.917418408 +0200
@@ -1,0 +2,14 @@
+Mon Aug  5 10:47:52 UTC 2024 - Christophe Marin <[email protected]>
+
+- 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
+  * store canonicalFilePath instead of looking it up twice
+  * use canonicalFilePath instead of absoluteFilePath
+  * Use absolute path to mimeapps.list
+  * Update version to 6.5.0
+
+-------------------------------------------------------------------

Old:
----
  kservice-6.4.0.tar.xz
  kservice-6.4.0.tar.xz.sig

New:
----
  kservice-6.5.0.tar.xz
  kservice-6.5.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kf6-kservice.spec ++++++
--- /var/tmp/diff_new_pack.gm1s6M/_old  2024-08-10 19:10:52.653448974 +0200
+++ /var/tmp/diff_new_pack.gm1s6M/_new  2024-08-10 19:10:52.653448974 +0200
@@ -19,13 +19,13 @@
 %define qt6_version 6.6.0
 
 %define rname kservice
-# Full KF6 version (e.g. 6.4.0)
+# Full KF6 version (e.g. 6.5.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-kservice
-Version:        6.4.0
+Version:        6.5.0
 Release:        0
 Summary:        Plugin framework for desktop services
 License:        LGPL-2.1-or-later


++++++ kservice-6.4.0.tar.xz -> kservice-6.5.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-6.4.0/CMakeLists.txt 
new/kservice-6.5.0/CMakeLists.txt
--- old/kservice-6.4.0/CMakeLists.txt   2024-07-05 22:08:52.000000000 +0200
+++ new/kservice-6.5.0/CMakeLists.txt   2024-08-02 13:15:26.000000000 +0200
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "6.4.0") # handled by release scripts
-set(KF_DEP_VERSION "6.4.0") # handled by release scripts
+set(KF_VERSION "6.5.0") # handled by release scripts
+set(KF_DEP_VERSION "6.5.0") # handled by release scripts
 project(KService VERSION ${KF_VERSION})
 
 # Disallow in-source build
@@ -11,7 +11,7 @@
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 6.4.0  NO_MODULE)
+find_package(ECM 6.5.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-6.4.0/src/sycoca/kmimeassociations.cpp 
new/kservice-6.5.0/src/sycoca/kmimeassociations.cpp
--- old/kservice-6.4.0/src/sycoca/kmimeassociations.cpp 2024-07-05 
22:08:52.000000000 +0200
+++ new/kservice-6.5.0/src/sycoca/kmimeassociations.cpp 2024-08-02 
13:15:26.000000000 +0200
@@ -11,6 +11,7 @@
 #include <KConfigGroup>
 #include <QDebug>
 #include <QFile>
+#include <QFileInfo>
 #include <QMimeDatabase>
 #include <QStandardPaths>
 #include <kservice.h>
@@ -54,8 +55,9 @@
     // collect existing files
     for (const QString &dir : mimeappsDirs) {
         for (const QString &file : std::as_const(mimeappsFileNames)) {
-            const QString filePath = dir + QLatin1Char('/') + file;
-            if (QFile::exists(filePath) && !mimeappsFiles.contains(filePath)) {
+            const QFileInfo fileInfo(dir + QLatin1Char('/') + file);
+            const QString filePath = fileInfo.canonicalFilePath();
+            if (!filePath.isEmpty() && !mimeappsFiles.contains(filePath)) {
                 mimeappsFiles.append(filePath);
             }
         }

Reply via email to