Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libqt5xdg for openSUSE:Factory 
checked in at 2023-04-20 15:14:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5xdg (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5xdg.new.2023 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5xdg"

Thu Apr 20 15:14:12 2023 rev:19 rq:1080370 version:3.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5xdg/libqt5xdg.changes      2022-11-06 
12:43:21.561796356 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5xdg.new.2023/libqt5xdg.changes    
2023-04-20 15:15:12.038157683 +0200
@@ -1,0 +2,7 @@
+Sat Apr 15 17:25:39 UTC 2023 - Shawn Dunn <[email protected]>
+
+- Update to 3.11.0:
+  * File association is fixed with desktop entries that are
+    symlinks
+
+-------------------------------------------------------------------

Old:
----
  libqtxdg-3.10.0.tar.xz
  libqtxdg-3.10.0.tar.xz.asc

New:
----
  libqtxdg-3.11.0.tar.xz
  libqtxdg-3.11.0.tar.xz.asc

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

Other differences:
------------------
++++++ libqt5xdg.spec ++++++
--- /var/tmp/diff_new_pack.AZtCzi/_old  2023-04-20 15:15:12.546161130 +0200
+++ /var/tmp/diff_new_pack.AZtCzi/_new  2023-04-20 15:15:12.550161158 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5xdg
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define _name libqtxdg
 Name:           libqt5xdg
-Version:        3.10.0
+Version:        3.11.0
 Release:        0
 Summary:        Qt implementation of xdg specs for lxqt
 License:        GPL-3.0-only
@@ -31,7 +31,7 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libQt5Gui-private-headers-devel
-BuildRequires:  lxqt-build-tools-devel >= 0.11.0
+BuildRequires:  lxqt-build-tools-devel >= 0.13.0
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(Qt5Core) >= 5.15
 BuildRequires:  pkgconfig(Qt5DBus)


++++++ libqtxdg-3.10.0.tar.xz -> libqtxdg-3.11.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libqtxdg-3.10.0/CHANGELOG 
new/libqtxdg-3.11.0/CHANGELOG
--- old/libqtxdg-3.10.0/CHANGELOG       2022-11-05 08:56:11.000000000 +0100
+++ new/libqtxdg-3.11.0/CHANGELOG       2023-04-15 16:55:03.000000000 +0200
@@ -1,3 +1,8 @@
+libqtxdg-3.11.0 / 2023-04-15
+============================
+ * Fixed file association with symlink desktop entries.
+ * Fixed typos.
+
 libqtxdg-3.10.0 / 2022-11-05
 ============================
  * Invalidate GTK icon cache as soon as icons are installed.
@@ -414,7 +419,7 @@
   * Fixes an XdgMimeInfo memory leak
   * Use case insensitive comparisons with desktop environment names
   * Updates some XdgDesktopFile methods documentation
-  * Make desktop enviroment names comparisons case insensitive
+  * Make desktop environment names comparisons case insensitive
   * solve failed comp LXQT with LXQt (OnlyShowIn=LXQt;) in desktop files
   * Re-adds Support XDG_CURRENT_DESKTOP in autostart handling
   * Deprecates non desktop environment neutral XdgDesktopFile methods
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libqtxdg-3.10.0/CMakeLists.txt 
new/libqtxdg-3.11.0/CMakeLists.txt
--- old/libqtxdg-3.10.0/CMakeLists.txt  2022-11-05 08:56:11.000000000 +0100
+++ new/libqtxdg-3.11.0/CMakeLists.txt  2023-04-15 16:55:03.000000000 +0200
@@ -14,11 +14,11 @@
 set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" 
"${CMAKE_CURRENT_SOURCE_DIR}/cmake")
 
 set(QTXDG_MAJOR_VERSION 3)
-set(QTXDG_MINOR_VERSION 10)
+set(QTXDG_MINOR_VERSION 11)
 set(QTXDG_PATCH_VERSION 0)
 set(QTXDG_VERSION_STRING 
${QTXDG_MAJOR_VERSION}.${QTXDG_MINOR_VERSION}.${QTXDG_PATCH_VERSION})
 
-set(LXQTBT_MINIMUM_VERSION "0.12.0")
+set(LXQTBT_MINIMUM_VERSION "0.13.0")
 set(QT_MINIMUM_VERSION "5.15.0")
 set(GLIB_MINIMUM_VERSION "2.41.0") # Mime Apps new implementation
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libqtxdg-3.10.0/src/qtxdg/xdgdesktopfile.cpp 
new/libqtxdg-3.11.0/src/qtxdg/xdgdesktopfile.cpp
--- old/libqtxdg-3.10.0/src/qtxdg/xdgdesktopfile.cpp    2022-11-05 
08:56:11.000000000 +0100
+++ new/libqtxdg-3.11.0/src/qtxdg/xdgdesktopfile.cpp    2023-04-15 
16:55:03.000000000 +0200
@@ -750,9 +750,8 @@
 {
     d->clear();
     if (fileName.startsWith(QDir::separator())) { // absolute path
-        QFileInfo f(fileName);
-        if (f.exists())
-            d->mFileName = f.canonicalFilePath();
+        if (QFileInfo::exists(fileName))
+            d->mFileName = fileName;
         else
             return false;
     } else { // relative path
@@ -1482,13 +1481,13 @@
     QFileInfo fi(dir, desktopName);
 
     if (fi.exists())
-        return fi.canonicalFilePath();
+        return fi.absoluteFilePath();
 
     // Working recursively ............
     const QFileInfoList dirs = dir.entryInfoList(QStringList(), QDir::Dirs | 
QDir::NoDotAndDotDot);
     for (const QFileInfo &d : dirs)
     {
-        QString cn = d.canonicalFilePath();
+        QString cn = d.absoluteFilePath();
         if (dirName != cn)
         {
             QString f = findDesktopFile(cn, desktopName);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libqtxdg-3.10.0/src/qtxdg/xdgdirs.h 
new/libqtxdg-3.11.0/src/qtxdg/xdgdirs.h
--- old/libqtxdg-3.10.0/src/qtxdg/xdgdirs.h     2022-11-05 08:56:11.000000000 
+0100
+++ new/libqtxdg-3.11.0/src/qtxdg/xdgdirs.h     2023-04-15 16:55:03.000000000 
+0200
@@ -70,7 +70,7 @@
      */
     static QString userDirDefault(UserDirectory dir);
 
-    /*! @brief Returns true if writting into configuration file 
$XDG_CONFIG_HOME/user-dirs.dirs
+    /*! @brief Returns true if writing into configuration file 
$XDG_CONFIG_HOME/user-dirs.dirs
      * the path in value for the directory in dir is succesfull. Returns false 
otherwise. If
      * createDir is true, dir will be created if it doesn't exist.
      */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libqtxdg-3.10.0/src/qtxdg/xdgmenu.h 
new/libqtxdg-3.11.0/src/qtxdg/xdgmenu.h
--- old/libqtxdg-3.10.0/src/qtxdg/xdgmenu.h     2022-11-05 08:56:11.000000000 
+0100
+++ new/libqtxdg-3.11.0/src/qtxdg/xdgmenu.h     2023-04-15 16:55:03.000000000 
+0200
@@ -79,14 +79,14 @@
     QDomElement findMenu(QDomElement& baseElement, const QString& path, bool 
createNonExisting);
 
     /*! Returns a  list of strings identifying the environments that should
-     *  display a desktop entry. Internally all comparisions involving the
-     *  desktop enviroment names are made case insensitive.
+     *  display a desktop entry. Internally all comparisons involving the
+     *  desktop environment names are made case insensitive.
      */
     QStringList environments();
 
     /*!
      *  Set currently running environments. Example: RAZOR, KDE, or GNOME...
-     *  Internally all comparisions involving the desktop enviroment names
+     *  Internally all comparisons involving the desktop environment names
      *  are made case insensitive.
      */
     void setEnvironments(const QStringList &envs);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libqtxdg-3.10.0/src/qtxdg/xdgmenuapplinkprocessor.cpp 
new/libqtxdg-3.11.0/src/qtxdg/xdgmenuapplinkprocessor.cpp
--- old/libqtxdg-3.10.0/src/qtxdg/xdgmenuapplinkprocessor.cpp   2022-11-05 
08:56:11.000000000 +0100
+++ new/libqtxdg-3.11.0/src/qtxdg/xdgmenuapplinkprocessor.cpp   2023-04-15 
16:55:03.000000000 +0200
@@ -190,7 +190,7 @@
     for (const QFileInfo &file : files)
     {
         auto f = std::make_unique<XdgDesktopFile>();
-        if (f->load(file.canonicalFilePath()) && f->isValid())
+        if (f->load(file.absoluteFilePath()) && f->isValid())
             mAppFileInfoHash.insert(prefix + file.fileName(), new 
XdgMenuAppFileInfo(std::move(f), prefix + file.fileName(), this));
     }
 
@@ -199,7 +199,7 @@
     const QFileInfoList dirs = dir.entryInfoList(QStringList(), QDir::Dirs | 
QDir::NoDotAndDotDot);
     for (const QFileInfo &d : dirs)
     {
-        QString dn = d.canonicalFilePath();
+        QString dn = d.absoluteFilePath();
         if (dn != dirName)
         {
             findDesktopFiles(dn, QString::fromLatin1("%1%2-").arg(prefix, 
d.fileName()));

Reply via email to