Hello community,

here is the log from the commit of package kinit for openSUSE:Factory checked 
in at 2019-12-18 14:41:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kinit (Old)
 and      /work/SRC/openSUSE:Factory/.kinit.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kinit"

Wed Dec 18 14:41:06 2019 rev:73 rq:757041 version:5.65.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kinit/kinit.changes      2019-11-12 
11:47:57.082882144 +0100
+++ /work/SRC/openSUSE:Factory/.kinit.new.4691/kinit.changes    2019-12-18 
14:42:53.405789643 +0100
@@ -1,0 +2,11 @@
+Sun Dec  8 11:18:38 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.65.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.65.0.php
+- Changes since 5.64.0:
+  * Finish cleaning up autostart-related code
+  * use more modern for construct
+
+-------------------------------------------------------------------

Old:
----
  kinit-5.64.0.tar.xz
  kinit-5.64.0.tar.xz.sig

New:
----
  kinit-5.65.0.tar.xz
  kinit-5.65.0.tar.xz.sig

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

Other differences:
------------------
++++++ kinit.spec ++++++
--- /var/tmp/diff_new_pack.4mgKdJ/_old  2019-12-18 14:42:53.913789876 +0100
+++ /var/tmp/diff_new_pack.4mgKdJ/_new  2019-12-18 14:42:53.913789876 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kinit
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,14 @@
 #
 
 
-%define _tar_path 5.64
+%define _tar_path 5.65
 # 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:           kinit
-Version:        5.64.0
+Version:        5.65.0
 Release:        0
 Summary:        Helper library to speed up start of applications on KDE 
workspaces
 License:        LGPL-2.1-or-later


++++++ kinit-5.64.0.tar.xz -> kinit-5.65.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-5.64.0/CMakeLists.txt 
new/kinit-5.65.0/CMakeLists.txt
--- old/kinit-5.64.0/CMakeLists.txt     2019-11-02 13:57:05.000000000 +0100
+++ new/kinit-5.65.0/CMakeLists.txt     2019-12-07 22:44:22.000000000 +0100
@@ -3,7 +3,7 @@
 project(KInit)
 
 include(FeatureSummary)
-find_package(ECM 5.64.0  NO_MODULE)
+find_package(ECM 5.65.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -19,8 +19,8 @@
 include(CMakePackageConfigHelpers)
 include(ECMSetupVersion)
 
-set(KF5_VERSION "5.64.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.64.0") # handled by release scripts
+set(KF5_VERSION "5.65.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.65.0") # handled by release scripts
 
 ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KINIT
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kinit_version.h"
@@ -72,7 +72,6 @@
   INSTALL_DESTINATION  ${CMAKECONFIG_INSTALL_DIR}
 )
 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
-add_definitions(-DQT_DEPRECATED_WARNINGS_SINCE=0x060000)
 add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x053f00)
 add_definitions(-DTRANSLATION_DOMAIN=\"kinit5\")
 if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-5.64.0/docs/session-autostart.txt 
new/kinit-5.65.0/docs/session-autostart.txt
--- old/kinit-5.64.0/docs/session-autostart.txt 2019-11-02 13:57:05.000000000 
+0100
+++ new/kinit-5.65.0/docs/session-autostart.txt 1970-01-01 01:00:00.000000000 
+0100
@@ -1,62 +0,0 @@
-KDE SESSION AUTOSTART
-=====================
-
-KDE session startup occurs in the following sequence:
-
-   Window manager startup
-   Autostart phase 1
-   Session restoration
-   Autostart phase 2
-
-Applications may be scheduled to be automatically run at KDE session startup
-in either autostart phase 1 or phase 2. Autostart phase 1 is the original
-autostart phase; phase 2 was introduced in KDE 3. To run in either phase, an
-application's .desktop file must be located in a KDE autostart directory such
-as $KDEDIR/share/autostart or $KDEHOME/share/autostart. The .desktop file can
-contain the following optional entries to control its autostart:
-
-   X-KDE-autostart-condition = rcfile:group:entry:default
-
-         rcfile   = name of a config file (including path if necessary)
-         group    = name of a group within the config file
-         entry    = name of a boolean entry within the group
-         default  = true or false
-
-      Starts the application only if the specified boolean entry in the
-      specified config file has the value 'true'. If the specified entry is
-      missing from the config file, the application will only be started if
-      'default' is 'true'.
-      If the entry is not within a group, the group entry can be left empty.
-
-   X-KDE-autostart-after = desktop_name
-
-         desktop_name  = the name of another .desktop file excluding path and
-                         the .desktop suffix. E.g. panel.desktop would appear
-                         as 'X-KDE-autostart-after=panel'
-                      
-      Waits until the .desktop file specified by 'desktop_name' has been
-      autostarted. The entry is ignored if the specified application is not
-      scheduled in the same autostart phase as this .desktop file.
-
-   X-KDE-autostart-phase = phase
-
-         phase  = 1 or 2
-
-      Starts the application in the autostart phase specified by 'phase'.
-      If this entry is missing or 'phase' < 1, 'phase' defaults to 1. If
-      'phase' > 2 the application will not be autostarted since the specified
-      autostart phase will never be reached.
-      
-
-   Hidden = true
-
-      Disables autostarting the application.
-
-
-KUniqueApplication and session restoration
-------------------------------------------
-
-If KUniqueApplication applications are autostarted before they are restored
-from the previous session, they will never see the session restoration command.
-So if you need to autostart a KUniqueApplication which may also be restored
-in session restoration, you should schedule it for autostart in phase 2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-5.64.0/po/id/kinit5.po 
new/kinit-5.65.0/po/id/kinit5.po
--- old/kinit-5.64.0/po/id/kinit5.po    2019-11-02 13:57:05.000000000 +0100
+++ new/kinit-5.65.0/po/id/kinit5.po    2019-12-07 22:44:22.000000000 +0100
@@ -9,7 +9,7 @@
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2019-07-21 02:50+0200\n"
-"PO-Revision-Date: 2019-08-28 14:55+0700\n"
+"PO-Revision-Date: 2019-11-05 20:06+0700\n"
 "Last-Translator: Wantoyo <[email protected]>\n"
 "Language-Team: Indonesian <[email protected]>\n"
 "Language: id\n"
@@ -17,6 +17,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Lokalize 19.08.1\n"
 
 #: kdeinit/kinit.cpp:508
 #, kde-format
@@ -43,7 +44,7 @@
 #: kdeinit/kinit.cpp:613
 #, kde-format
 msgid "Could not find '%1' executable."
-msgstr "Tak dapat menemukan '%1' dapat-dilaksanakan."
+msgstr "Tak dapat menemukan '%1' dapat dieksekusi."
 
 #: kdeinit/kinit.cpp:646
 #, kde-format
@@ -76,7 +77,7 @@
 #: klauncher/klauncher.cpp:648
 #, kde-format
 msgid "Service '%1' must be executable to run."
-msgstr "Layanan '%1' harus dapat-dilaksanakan agar berjalan."
+msgstr "Layanan '%1' harus dapat dieksekusi agar berjalan."
 
 #: klauncher/klauncher.cpp:650 klauncher/klauncher.cpp:711
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-5.64.0/po/zh_CN/kinit5.po 
new/kinit-5.65.0/po/zh_CN/kinit5.po
--- old/kinit-5.64.0/po/zh_CN/kinit5.po 2019-11-02 13:57:05.000000000 +0100
+++ new/kinit-5.65.0/po/zh_CN/kinit5.po 2019-12-07 22:44:22.000000000 +0100
@@ -16,7 +16,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2019-07-21 02:50+0200\n"
-"PO-Revision-Date: 2019-10-09 09:45\n"
+"PO-Revision-Date: 2019-11-19 23:01\n"
 "Last-Translator: Guo Yunhe (guoyunhe)\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-5.64.0/src/kdeinit/kinit.cpp 
new/kinit-5.65.0/src/kdeinit/kinit.cpp
--- old/kinit-5.64.0/src/kdeinit/kinit.cpp      2019-11-02 13:57:05.000000000 
+0100
+++ new/kinit-5.65.0/src/kdeinit/kinit.cpp      2019-12-07 22:44:22.000000000 
+0100
@@ -1682,9 +1682,8 @@
     }
 #if defined(Q_OS_UNIX) && !defined(Q_OS_OSX)
     if (!d.suicide && qEnvironmentVariableIsEmpty("KDE_IS_PRELINKED")) {
-        const int extrasCount = sizeof(extra_libs) / sizeof(extra_libs[0]);
-        for (int i = 0; i < extrasCount; i++) {
-            const QString extra = 
findSharedLib(QString::fromLatin1(extra_libs[i]));
+        for (const char *extra_lib : extra_libs) {
+            const QString extra = 
findSharedLib(QString::fromLatin1(extra_lib));
             if (!extra.isEmpty()) {
                 QLibrary l(extra);
                 l.setLoadHints(QLibrary::ExportExternalSymbolsHint);
@@ -1692,7 +1691,7 @@
             }
 #ifndef NDEBUG
             else {
-                fprintf(stderr, "%s was not found.\n", extra_libs[i]);
+                fprintf(stderr, "%s was not found.\n", extra_lib);
             }
 #endif
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-5.64.0/src/klauncher/CMakeLists.txt 
new/kinit-5.65.0/src/klauncher/CMakeLists.txt
--- old/kinit-5.64.0/src/klauncher/CMakeLists.txt       2019-11-02 
13:57:05.000000000 +0100
+++ new/kinit-5.65.0/src/klauncher/CMakeLists.txt       2019-12-07 
22:44:22.000000000 +0100
@@ -2,7 +2,6 @@
    klauncher.cpp
    klauncher_main.cpp
    klauncher_adaptor.cpp
-   autostart.cpp
    ../klauncher_cmds.cpp
    ${CMAKE_CURRENT_BINARY_DIR}/org.kde.KLauncher.xml # just so that it gets 
generated
    )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-5.64.0/src/klauncher/autostart.cpp 
new/kinit-5.65.0/src/klauncher/autostart.cpp
--- old/kinit-5.64.0/src/klauncher/autostart.cpp        2019-11-02 
13:57:05.000000000 +0100
+++ new/kinit-5.65.0/src/klauncher/autostart.cpp        1970-01-01 
01:00:00.000000000 +0100
@@ -1,166 +0,0 @@
-/*
- *  This file is part of the KDE libraries
- *  Copyright (c) 2001 Waldo Bastian <[email protected]>
- *
- *  This library is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU Library General Public
- *  License version 2 as published by the Free Software Foundation.
- *
- *  This library is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- *  Library General Public License for more details.
- *
- *  You should have received a copy of the GNU Library General Public License
- *  along with this library; see the file COPYING.LIB.  If not, write to
- *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- *  Boston, MA 02110-1301, USA.
- **/
-
-#include "autostart.h"
-
-#include <kautostart.h>
-#include <QStandardPaths>
-#include <QDir>
-
-class AutoStartItem
-{
-public:
-    QString name;
-    QString service;
-    QString startAfter;
-    int     phase;
-};
-
-AutoStart::AutoStart()
-    : m_phase(-1), m_phasedone(false)
-{
-    m_startList = new AutoStartList;
-}
-
-AutoStart::~AutoStart()
-{
-    qDeleteAll(*m_startList);
-    m_startList->clear();
-    delete m_startList;
-}
-
-void
-AutoStart::setPhase(int phase)
-{
-    if (phase > m_phase) {
-        m_phase = phase;
-        m_phasedone = false;
-    }
-}
-
-void AutoStart::setPhaseDone()
-{
-    m_phasedone = true;
-}
-
-static QString extractName(QString path) // krazy:exclude=passbyvalue
-{
-    int i = path.lastIndexOf(QLatin1Char('/'));
-    if (i >= 0) {
-        path = path.mid(i + 1);
-    }
-    i = path.lastIndexOf(QLatin1Char('.'));
-    if (i >= 0) {
-        path = path.left(i);
-    }
-    return path;
-}
-
-void
-AutoStart::loadAutoStartList()
-{
-    // XDG autostart dirs
-
-    // Make unique list of relative paths
-    QStringList files;
-    const QStringList dirs = 
QStandardPaths::locateAll(QStandardPaths::GenericConfigLocation, 
QStringLiteral("autostart"), QStandardPaths::LocateDirectory);
-    for (const QString &dir : dirs) {
-        const QStringList fileNames = QDir(dir).entryList(QStringList() << 
QStringLiteral("*.desktop"));
-        for (const QString &file : fileNames) {
-            if (!files.contains(file)) {
-                files.append(file);
-            }
-        }
-    }
-
-    for (QStringList::ConstIterator it = files.constBegin(); it != 
files.constEnd(); ++it) {
-        KAutostart config(*it);
-        if (!config.autostarts(QStringLiteral("KDE"), KAutostart::CheckAll)) {
-            continue;
-        }
-
-        const QString file = 
QStandardPaths::locate(QStandardPaths::GenericConfigLocation, 
QStringLiteral("autostart/") + *it);
-        AutoStartItem *item = new AutoStartItem;
-        item->name = extractName(*it);
-        item->service = file;
-        item->startAfter = config.startAfter();
-        item->phase = config.startPhase();
-        if (item->phase < 0) {
-            item->phase = 0;
-        }
-        m_startList->append(item);
-    }
-}
-
-QString
-AutoStart::startService()
-{
-    if (m_startList->isEmpty()) {
-        return QString();
-    }
-
-    while (!m_started.isEmpty()) {
-
-        // Check for items that depend on previously started items
-        QString lastItem = m_started[0];
-        QMutableListIterator<AutoStartItem *> it(*m_startList);
-        while (it.hasNext()) {
-            AutoStartItem *item = it.next();
-            if (item->phase == m_phase
-                    &&  item->startAfter == lastItem) {
-                m_started.prepend(item->name);
-                QString service = item->service;
-                it.remove();
-                delete item;
-                return service;
-            }
-        }
-        m_started.removeFirst();
-    }
-
-    // Check for items that don't depend on anything
-    AutoStartItem *item;
-    QMutableListIterator<AutoStartItem *> it(*m_startList);
-    while (it.hasNext()) {
-        item = it.next();
-        if (item->phase == m_phase
-                &&  item->startAfter.isEmpty()) {
-            m_started.prepend(item->name);
-            QString service = item->service;
-            it.remove();
-            delete item;
-            return service;
-        }
-    }
-
-    // Just start something in this phase
-    it = *m_startList;
-    while (it.hasNext()) {
-        item = it.next();
-        if (item->phase == m_phase) {
-            m_started.prepend(item->name);
-            QString service = item->service;
-            it.remove();
-            delete item;
-            return service;
-        }
-    }
-
-    return QString();
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-5.64.0/src/klauncher/autostart.h 
new/kinit-5.65.0/src/klauncher/autostart.h
--- old/kinit-5.64.0/src/klauncher/autostart.h  2019-11-02 13:57:05.000000000 
+0100
+++ new/kinit-5.65.0/src/klauncher/autostart.h  1970-01-01 01:00:00.000000000 
+0100
@@ -1,57 +0,0 @@
-/*
-   This file is part of the KDE libraries
-   Copyright (c) 2001 Waldo Bastian <[email protected]>
-
-   This library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Library General Public
-   License version 2 as published by the Free Software Foundation.
-
-   This library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Library General Public License for more details.
-
-   You should have received a copy of the GNU Library General Public License
-   along with this library; see the file COPYING.LIB.  If not, write to
-   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-   Boston, MA 02110-1301, USA.
-*/
-
-#ifndef _AUTOSTART_H_
-#define _AUTOSTART_H_
-
-#include <QStringList>
-
-class AutoStartItem;
-typedef QList<AutoStartItem *> AutoStartList;
-
-class AutoStart
-{
-public:
-    AutoStart();
-    ~AutoStart();
-
-    AutoStart(const AutoStart &) = delete;
-    AutoStart &operator=(const AutoStart &) = delete;
-
-    void loadAutoStartList();
-    QString startService();
-    void    setPhase(int phase);
-    void    setPhaseDone();
-    int     phase() const
-    {
-        return m_phase;
-    }
-    bool    phaseDone() const
-    {
-        return m_phasedone;
-    }
-
-private:
-    AutoStartList *m_startList;
-    QStringList m_started;
-    int m_phase;
-    bool m_phasedone;
-};
-
-#endif


Reply via email to