Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kservice for openSUSE:Factory 
checked in at 2021-12-13 20:41:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kservice (Old)
 and      /work/SRC/openSUSE:Factory/.kservice.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kservice"

Mon Dec 13 20:41:12 2021 rev:102 rq:939241 version:5.89.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kservice/kservice.changes        2021-11-15 
15:26:59.797833517 +0100
+++ /work/SRC/openSUSE:Factory/.kservice.new.2520/kservice.changes      
2021-12-13 20:44:44.464487612 +0100
@@ -1,0 +2,12 @@
+Sat Dec  4 22:56:56 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.89.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.89.0
+- Changes since 5.88.0:
+  * KPluginInfo: Fix mimetypes that are wildcards not appearing in MimeTypes 
json value
+  * Deprecate KToolInvokation::kdeinitExecWait
+  * Deprecate E-Mail and terminal related methods in KToolInvocation
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ kservice.spec ++++++
--- /var/tmp/diff_new_pack.wHbtqt/_old  2021-12-13 20:44:45.140487695 +0100
+++ /var/tmp/diff_new_pack.wHbtqt/_new  2021-12-13 20:44:45.152487696 +0100
@@ -16,14 +16,14 @@
 #
 
 
-%define _tar_path 5.88
+%define _tar_path 5.89
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without lang
 Name:           kservice
-Version:        5.88.0
+Version:        5.89.0
 Release:        0
 Summary:        Plugin framework for desktop services
 License:        LGPL-2.1-or-later


++++++ kservice-5.88.0.tar.xz -> kservice-5.89.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.88.0/CMakeLists.txt 
new/kservice-5.89.0/CMakeLists.txt
--- old/kservice-5.88.0/CMakeLists.txt  2021-11-06 14:24:31.000000000 +0100
+++ new/kservice-5.89.0/CMakeLists.txt  2021-12-04 19:42:21.000000000 +0100
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.88.0") # handled by release scripts
-set(KF_DEP_VERSION "5.87.0") # handled by release scripts
+set(KF_VERSION "5.89.0") # handled by release scripts
+set(KF_DEP_VERSION "5.89.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 5.87.0  NO_MODULE)
+find_package(ECM 5.89.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-5.88.0/LICENSES/CC0-1.0.txt 
new/kservice-5.89.0/LICENSES/CC0-1.0.txt
--- old/kservice-5.88.0/LICENSES/CC0-1.0.txt    1970-01-01 01:00:00.000000000 
+0100
+++ new/kservice-5.89.0/LICENSES/CC0-1.0.txt    2021-12-04 19:42:21.000000000 
+0100
@@ -0,0 +1,121 @@
+Creative Commons Legal Code
+
+CC0 1.0 Universal
+
+    CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
+    LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
+    ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
+    INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
+    REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
+    PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
+    THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
+    HEREUNDER.
+
+Statement of Purpose
+
+The laws of most jurisdictions throughout the world automatically confer
+exclusive Copyright and Related Rights (defined below) upon the creator
+and subsequent owner(s) (each and all, an "owner") of an original work of
+authorship and/or a database (each, a "Work").
+
+Certain owners wish to permanently relinquish those rights to a Work for
+the purpose of contributing to a commons of creative, cultural and
+scientific works ("Commons") that the public can reliably and without fear
+of later claims of infringement build upon, modify, incorporate in other
+works, reuse and redistribute as freely as possible in any form whatsoever
+and for any purposes, including without limitation commercial purposes.
+These owners may contribute to the Commons to promote the ideal of a free
+culture and the further production of creative, cultural and scientific
+works, or to gain reputation or greater distribution for their Work in
+part through the use and efforts of others.
+
+For these and/or other purposes and motivations, and without any
+expectation of additional consideration or compensation, the person
+associating CC0 with a Work (the "Affirmer"), to the extent that he or she
+is an owner of Copyright and Related Rights in the Work, voluntarily
+elects to apply CC0 to the Work and publicly distribute the Work under its
+terms, with knowledge of his or her Copyright and Related Rights in the
+Work and the meaning and intended legal effect of CC0 on those rights.
+
+1. Copyright and Related Rights. A Work made available under CC0 may be
+protected by copyright and related or neighboring rights ("Copyright and
+Related Rights"). Copyright and Related Rights include, but are not
+limited to, the following:
+
+  i. the right to reproduce, adapt, distribute, perform, display,
+     communicate, and translate a Work;
+ ii. moral rights retained by the original author(s) and/or performer(s);
+iii. publicity and privacy rights pertaining to a person's image or
+     likeness depicted in a Work;
+ iv. rights protecting against unfair competition in regards to a Work,
+     subject to the limitations in paragraph 4(a), below;
+  v. rights protecting the extraction, dissemination, use and reuse of data
+     in a Work;
+ vi. database rights (such as those arising under Directive 96/9/EC of the
+     European Parliament and of the Council of 11 March 1996 on the legal
+     protection of databases, and under any national implementation
+     thereof, including any amended or successor version of such
+     directive); and
+vii. other similar, equivalent or corresponding rights throughout the
+     world based on applicable law or treaty, and any national
+     implementations thereof.
+
+2. Waiver. To the greatest extent permitted by, but not in contravention
+of, applicable law, Affirmer hereby overtly, fully, permanently,
+irrevocably and unconditionally waives, abandons, and surrenders all of
+Affirmer's Copyright and Related Rights and associated claims and causes
+of action, whether now known or unknown (including existing as well as
+future claims and causes of action), in the Work (i) in all territories
+worldwide, (ii) for the maximum duration provided by applicable law or
+treaty (including future time extensions), (iii) in any current or future
+medium and for any number of copies, and (iv) for any purpose whatsoever,
+including without limitation commercial, advertising or promotional
+purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
+member of the public at large and to the detriment of Affirmer's heirs and
+successors, fully intending that such Waiver shall not be subject to
+revocation, rescission, cancellation, termination, or any other legal or
+equitable action to disrupt the quiet enjoyment of the Work by the public
+as contemplated by Affirmer's express Statement of Purpose.
+
+3. Public License Fallback. Should any part of the Waiver for any reason
+be judged legally invalid or ineffective under applicable law, then the
+Waiver shall be preserved to the maximum extent permitted taking into
+account Affirmer's express Statement of Purpose. In addition, to the
+extent the Waiver is so judged Affirmer hereby grants to each affected
+person a royalty-free, non transferable, non sublicensable, non exclusive,
+irrevocable and unconditional license to exercise Affirmer's Copyright and
+Related Rights in the Work (i) in all territories worldwide, (ii) for the
+maximum duration provided by applicable law or treaty (including future
+time extensions), (iii) in any current or future medium and for any number
+of copies, and (iv) for any purpose whatsoever, including without
+limitation commercial, advertising or promotional purposes (the
+"License"). The License shall be deemed effective as of the date CC0 was
+applied by Affirmer to the Work. Should any part of the License for any
+reason be judged legally invalid or ineffective under applicable law, such
+partial invalidity or ineffectiveness shall not invalidate the remainder
+of the License, and in such case Affirmer hereby affirms that he or she
+will not (i) exercise any of his or her remaining Copyright and Related
+Rights in the Work or (ii) assert any associated claims and causes of
+action with respect to the Work, in either case contrary to Affirmer's
+express Statement of Purpose.
+
+4. Limitations and Disclaimers.
+
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
+    surrendered, licensed or otherwise affected by this document.
+ b. Affirmer offers the Work as-is and makes no representations or
+    warranties of any kind concerning the Work, express, implied,
+    statutory or otherwise, including without limitation warranties of
+    title, merchantability, fitness for a particular purpose, non
+    infringement, or the absence of latent or other defects, accuracy, or
+    the present or absence of errors, whether or not discoverable, all to
+    the greatest extent permissible under applicable law.
+ c. Affirmer disclaims responsibility for clearing rights of other persons
+    that may apply to the Work or any use thereof, including without
+    limitation any person's Copyright and Related Rights in the Work.
+    Further, Affirmer disclaims responsibility for obtaining any necessary
+    consents, permissions or other rights required for any use of the
+    Work.
+ d. Affirmer understands and acknowledges that Creative Commons is not a
+    party to this document and has no duty or obligation with respect to
+    this CC0 or use of the Work.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.88.0/autotests/CMakeLists.txt 
new/kservice-5.89.0/autotests/CMakeLists.txt
--- old/kservice-5.88.0/autotests/CMakeLists.txt        2021-11-06 
14:24:31.000000000 +0100
+++ new/kservice-5.89.0/autotests/CMakeLists.txt        2021-12-04 
19:42:21.000000000 +0100
@@ -22,7 +22,9 @@
  kapplicationtradertest
 )
 
-if (UNIX)
+if(UNIX AND
+  NOT EXCLUDE_DEPRECATED_BEFORE_AND_AT STREQUAL "CURRENT" AND
+   EXCLUDE_DEPRECATED_BEFORE_AND_AT VERSION_LESS 5.89.0)
   kservice_unit_tests(ktoolinvocation_x11test)
 endif()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kservice-5.88.0/po/ca/docs/desktoptojson/man-desktoptojson.8.docbook 
new/kservice-5.89.0/po/ca/docs/desktoptojson/man-desktoptojson.8.docbook
--- old/kservice-5.88.0/po/ca/docs/desktoptojson/man-desktoptojson.8.docbook    
2021-11-06 14:24:31.000000000 +0100
+++ new/kservice-5.89.0/po/ca/docs/desktoptojson/man-desktoptojson.8.docbook    
2021-12-04 19:42:21.000000000 +0100
@@ -72,7 +72,7 @@
 
 <refsynopsisdiv>
 <title
->Sinopsis</title>
+>Sinopsi</title>
 
 <cmdsynopsis
 ><command
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kservice-5.88.0/po/ca/docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook 
new/kservice-5.89.0/po/ca/docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook
--- old/kservice-5.88.0/po/ca/docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook    
2021-11-06 14:24:31.000000000 +0100
+++ new/kservice-5.89.0/po/ca/docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook    
2021-12-04 19:42:21.000000000 +0100
@@ -67,7 +67,7 @@
 
 <refsynopsisdiv>
 <title
->Sinopsis</title>
+>Sinopsi</title>
 
 <cmdsynopsis
 ><command
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.88.0/po/hsb/kservice5.po 
new/kservice-5.89.0/po/hsb/kservice5.po
--- old/kservice-5.88.0/po/hsb/kservice5.po     2021-11-06 14:24:31.000000000 
+0100
+++ new/kservice-5.89.0/po/hsb/kservice5.po     2021-12-04 19:42:21.000000000 
+0100
@@ -20,7 +20,6 @@
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
 "%100==4 ? 2 : 3;\n"
-"X-Generator: KAider 0.1\n"
 
 #, kde-format
 msgctxt "NAME OF TRANSLATORS"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.88.0/po/zh_CN/kservice5.po 
new/kservice-5.89.0/po/zh_CN/kservice5.po
--- old/kservice-5.88.0/po/zh_CN/kservice5.po   2021-11-06 14:24:31.000000000 
+0100
+++ new/kservice-5.89.0/po/zh_CN/kservice5.po   2021-12-04 19:42:21.000000000 
+0100
@@ -16,7 +16,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2021-09-19 00:15+0000\n"
-"PO-Revision-Date: 2021-10-29 13:25\n"
+"PO-Revision-Date: 2021-11-30 15:21\n"
 "Last-Translator: \n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.88.0/src/CMakeLists.txt 
new/kservice-5.89.0/src/CMakeLists.txt
--- old/kservice-5.88.0/src/CMakeLists.txt      2021-11-06 14:24:31.000000000 
+0100
+++ new/kservice-5.89.0/src/CMakeLists.txt      2021-12-04 19:42:21.000000000 
+0100
@@ -14,7 +14,6 @@
 )
 
 target_sources(KF5Service PRIVATE
-   kdeinit/ktoolinvocation.cpp
    services/kautostart.cpp
    services/kapplicationtrader.cpp
    services/kmimetypefactory.cpp
@@ -51,6 +50,17 @@
    kservice.qrc
 )
 
+if(NOT EXCLUDE_DEPRECATED_BEFORE_AND_AT STREQUAL "CURRENT" AND
+   EXCLUDE_DEPRECATED_BEFORE_AND_AT VERSION_LESS 5.89.0)
+   target_sources(KF5Service PRIVATE kdeinit/ktoolinvocation.cpp)
+   if (WIN32)
+        target_sources(KF5Service PRIVATE kdeinit/ktoolinvocation_win.cpp)
+    endif()
+    if (UNIX)
+        target_sources(KF5Service PRIVATE kdeinit/ktoolinvocation_x11.cpp)
+    endif()
+endif()
+
 if (TARGET Qt5::DBus)
     target_sources(KF5Service PRIVATE
         plugin/kdbusservicestarter.cpp
@@ -74,17 +84,6 @@
     DESCRIPTION "sycoca (kservice)"
 )
 
-if (WIN32)
-    target_sources(KF5Service PRIVATE
-        kdeinit/ktoolinvocation_win.cpp
-    )
-endif()
-if (UNIX)
-    target_sources(KF5Service PRIVATE
-        kdeinit/ktoolinvocation_x11.cpp
-    )
-endif()
-
 bison_target(TraderParser
              services/yacc.y
              ${CMAKE_CURRENT_BINARY_DIR}/yacc.c
@@ -121,7 +120,7 @@
     GROUP_BASE_NAME KF
     VERSION ${KF_VERSION}
     DEPRECATED_BASE_VERSION 0
-    DEPRECATION_VERSIONS 5.0 5.15 5.61 5.63 5.66 5.67 5.70 5.71 5.79 5.80 5.81 
5.82 5.83 5.86 5.87 5.88
+    DEPRECATION_VERSIONS 5.0 5.15 5.61 5.63 5.66 5.67 5.70 5.71 5.79 5.80 5.81 
5.82 5.83 5.86 5.87 5.88 5.89
     EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT}
 )
 set(kservice_includes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.88.0/src/kdeinit/ktoolinvocation.h 
new/kservice-5.89.0/src/kdeinit/ktoolinvocation.h
--- old/kservice-5.88.0/src/kdeinit/ktoolinvocation.h   2021-11-06 
14:24:31.000000000 +0100
+++ new/kservice-5.89.0/src/kdeinit/ktoolinvocation.h   2021-12-04 
19:42:21.000000000 +0100
@@ -15,6 +15,7 @@
 
 #include <kservice_export.h>
 
+#if KSERVICE_ENABLE_DEPRECATED_SINCE(5, 89)
 #include <QByteArray>
 #include <QExplicitlySharedDataPointer>
 #include <QObject>
@@ -118,7 +119,9 @@
      * @param attachURLs  List of URLs to be attached to the mail.
      * @param startup_id for app startup notification, "0" for none,
      *           "" ( empty string ) is the default
+     * @deprecated Since 5.89, use KEMailClientLauncherJob instead
      */
+    KSERVICE_DEPRECATED_VERSION(5, 89, "use KEMailClientLauncherJob instead")
     static void invokeMailer(const QString &to,
                              const QString &cc,
                              const QString &bcc,
@@ -157,7 +160,9 @@
      * @param startup_id for app startup notification, "0" for none,
      *           "" ( empty string ) is the default
      * @since 5.73
+     * @deprecated Since 5.89, use KTerminalLauncherJob instead
      */
+    KSERVICE_DEPRECATED_VERSION(5, 89, "use KTerminalLauncherJob instead")
     static void invokeTerminal(const QString &command, const QStringList 
&envs, const QString &workdir = QString(), const QByteArray &startup_id = "");
 
 #if KSERVICE_ENABLE_DEPRECATED_SINCE(5, 79)
@@ -187,7 +192,9 @@
      * @param workingDir Working directory for the terminal app.
      * @return KServicePtr of terminal application.
      * @since 5.78
+     * @deprecated Since 5.89, use KTerminalLauncherJob instead to launch the 
executable
      */
+    KSERVICE_DEPRECATED_VERSION(5, 89, "use KTerminalLauncherJob instead to 
launch the executable")
     static KServicePtr terminalApplication(const QString &command = QString(), 
const QString &workingDir = QString());
 
 public:
@@ -438,7 +445,9 @@
      * @param startup_id for app startup notification, "0" for none,
      *           "" ( empty string ) is the default
      * @return an error code indicating success (== 0) or failure (> 0).
+     * @deprecated since 5.88, kdeinit is deprecated, launch the executable 
manually
      */
+    KSERVICE_DEPRECATED_VERSION(5, 89, "kdeinit is deprecated, launch the 
executable manually")
     static int kdeinitExecWait(const QString &name,
                                const QStringList &args = QStringList(),
                                QString *error = nullptr,
@@ -447,7 +456,9 @@
 
     /**
      * Ensures that kdeinit5 and klauncher are running.
+     * @deprecated Since 5.88, kdeinit is deprecated
      */
+    KSERVICE_DEPRECATED_VERSION(5, 89, "kdeinit is deprecated")
     static void ensureKdeinitRunning();
 
 Q_SIGNALS:
@@ -475,3 +486,4 @@
 };
 
 #endif
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.88.0/src/services/kplugininfo.cpp 
new/kservice-5.89.0/src/services/kplugininfo.cpp
--- old/kservice-5.88.0/src/services/kplugininfo.cpp    2021-11-06 
14:24:31.000000000 +0100
+++ new/kservice-5.89.0/src/services/kplugininfo.cpp    2021-12-04 
19:42:21.000000000 +0100
@@ -338,7 +338,6 @@
     // reintroduce the separation between MimeType= and X-KDE-ServiceTypes=
     // we could do this by modifying KService and KSyCoCa, but as this is only 
compatibility
     // code we just query QMimeDatabase whether a ServiceType is a valid MIME 
type.
-    // TODO: should we also make sure invalid MimeType= entries end up in 
KPluginMetaData::mimeTypes()?
     const QStringList services = service->serviceTypes();
     if (!services.isEmpty()) {
         QMimeDatabase db;
@@ -347,7 +346,10 @@
         QStringList newServiceTypes;
         newServiceTypes.reserve(services.size());
         for (const QString &s : services) {
-            if (db.mimeTypeForName(s).isValid()) {
+            // If we have a valid mime type of a wildcard, we know it is a 
mime type and not a service type
+            // this is for example required in the thumbnailers.
+            // Also the conversion code in kcoreaddons does not check the 
validity.
+            if (db.mimeTypeForName(s).isValid() || 
s.contains(QLatin1Char('*'))) {
                 mimeTypes << s;
             } else {
                 newServiceTypes << s;

Reply via email to