Hello community,

here is the log from the commit of package kinit for openSUSE:Factory checked 
in at 2014-07-10 08:18:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kinit (Old)
 and      /work/SRC/openSUSE:Factory/.kinit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kinit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kinit/kinit.changes      2014-06-10 
14:36:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kinit.new/kinit.changes 2014-07-10 
09:31:30.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Jul  1 21:35:59 UTC 2014 - [email protected]
+
+- Update to 5.0.0
+  * Final release of KDE Frameworks 5
+  * API improvements and cleanups
+  * Buildsystem fixes
+  * For more details please see:
+    http://www.kde.org/announcements/kde-frameworks-5.0.php
+
+-------------------------------------------------------------------

Old:
----
  kinit-4.100.0.tar.xz

New:
----
  kinit-5.0.0.tar.xz

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

Other differences:
------------------
++++++ kinit.spec ++++++
--- /var/tmp/diff_new_pack.ndSoMN/_old  2014-07-10 09:31:32.000000000 +0200
+++ /var/tmp/diff_new_pack.ndSoMN/_new  2014-07-10 09:31:32.000000000 +0200
@@ -17,10 +17,10 @@
 
 
 Name:           kinit
-Version:        4.100.0
+Version:        5.0.0
 Release:        0
 BuildRequires:  cmake >= 2.8.12
-BuildRequires:  extra-cmake-modules >= 0.0.14
+BuildRequires:  extra-cmake-modules >= 1.0.0
 BuildRequires:  fdupes
 BuildRequires:  kcrash-devel >= %{_kf5_version}
 BuildRequires:  kdoctools-devel >= %{_kf5_version}
@@ -41,7 +41,7 @@
 License:        LGPL-2.1+
 Group:          System/GUI/KDE
 Url:            http://www.kde.org
-Source:         
http://download.kde.org/unstable/frameworks/%{version}/%{name}-%{version}.tar.xz
+Source:         
http://download.kde.org/stable/frameworks/%{version}/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 

++++++ kinit-4.100.0.tar.xz -> kinit-5.0.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/CMakeLists.txt 
new/kinit-5.0.0/CMakeLists.txt
--- old/kinit-4.100.0/CMakeLists.txt    2014-06-01 14:21:12.000000000 +0200
+++ new/kinit-5.0.0/CMakeLists.txt      2014-07-01 20:31:22.000000000 +0200
@@ -2,7 +2,7 @@
 
 project(KInit)
 
-find_package(ECM 0.0.14 REQUIRED NO_MODULE)
+find_package(ECM 1.0.0 REQUIRED NO_MODULE)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} 
${CMAKE_CURRENT_SOURCE_DIR}/cmake)
 
 set(REQUIRED_QT_VERSION "5.2")
@@ -15,8 +15,8 @@
 include(ECMPackageConfigHelpers)
 include(ECMSetupVersion)
 
-set(KF5_VERSION "4.100.0") # handled by release scripts
-set(KF5_DEP_VERSION "4.100.0") # handled by release scripts
+set(KF5_VERSION "5.0.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.0.0") # handled by release scripts
 
 ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KINIT
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kinit_version.h"
@@ -70,6 +70,7 @@
 endif()
 add_subdirectory(src)
 add_subdirectory(docs)
+add_subdirectory(tests)
 
 install( FILES
        "${CMAKE_CURRENT_BINARY_DIR}/KF5InitConfig.cmake"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/po/ca/kinit5.po 
new/kinit-5.0.0/po/ca/kinit5.po
--- old/kinit-4.100.0/po/ca/kinit5.po   2014-06-01 14:21:12.000000000 +0200
+++ new/kinit-5.0.0/po/ca/kinit5.po     2014-07-01 20:31:22.000000000 +0200
@@ -1,12 +1,11 @@
 # Translation of kinit5.po to Catalan
-# Copyright (C) 1998-2014 This_file_is_part_of_KDE
+# Copyright (C) 2014 This_file_is_part_of_KDE
 # This file is distributed under the license LGPL version 2.1 or
 # version 3 or later versions approved by the membership of KDE e.V.
 #
-# Sebastià Pla i Sanz <[email protected]>, 1998, 1999, 2000, 2001, 2002, 2003, 
2004, 2005, 2006.
-# Antoni Bella Pérez <[email protected]>, 2003, 2006, 2011, 2012, 2013.
+# Sebastià Pla i Sanz <[email protected]>, 1998, 1999, 2000, 2001, 2002, 2003, 
2004, 2005, 2006, 2007.
+# Antoni Bella Pérez <[email protected]>, 2003, 2006, 2011, 2012, 2013, 
2014.
 # Albert Astals Cid <[email protected]>, 2004, 2005, 2007.
-# Sebastia Pla Sanz <[email protected]>, 2006, 2007.
 # Josep Ma. Ferrer <[email protected]>, 2007, 2008, 2009, 2010, 2011, 2012, 
2013, 2014.
 # Robert Millan <[email protected]>, 2009.
 # Orestes Mas <[email protected]>, 2010.
@@ -15,14 +14,14 @@
 "Project-Id-Version: kinit5\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-04-27 20:57+0000\n"
-"PO-Revision-Date: 2014-04-12 12:45+0200\n"
-"Last-Translator: Josep Ma. Ferrer <[email protected]>\n"
+"PO-Revision-Date: 2014-06-25 18:06+0200\n"
+"Last-Translator: Antoni Bella Pérez <[email protected]>\n"
 "Language-Team: Catalan <[email protected]>\n"
 "Language: ca\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.4\n"
+"X-Generator: Lokalize 1.5\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Accelerator-Marker: &\n"
 
@@ -32,7 +31,7 @@
 "The system may have reached the maximum number of open files possible or the "
 "maximum number of open files that you are allowed to use has been reached."
 msgstr ""
-"No s'ha pogut engegar cap procés nou.\n"
+"No s'ha pogut iniciar cap procés nou.\n"
 "Potser el sistema ha arribat al màxim nombre de fitxers oberts possible o al "
 "nombre màxim de fitxers oberts que esteu autoritzat a usar."
 
@@ -72,7 +71,7 @@
 #: klauncher/klauncher.cpp:484
 #, kde-format
 msgid "KDEInit could not launch '%1'"
-msgstr "El KDEInit no ha pogut engegar «%1»"
+msgstr "El KDEInit no ha pogut llançar «%1»"
 
 #: klauncher/klauncher.cpp:677 klauncher/klauncher.cpp:691
 #, kde-format
@@ -92,7 +91,7 @@
 #: klauncher/klauncher.cpp:846
 #, kde-format
 msgid "Launching %1"
-msgstr "S'està engegant %1"
+msgstr "S'està llançant %1"
 
 #: klauncher/klauncher.cpp:1039
 #, kde-format
@@ -114,5 +113,5 @@
 "klauncher: This program is not supposed to be started manually.\n"
 "klauncher: It is started automatically by kdeinit5.\n"
 msgstr ""
-"klauncher: Aquest programa no està pensat per ser engegat manualment.\n"
-"klauncher: S'engega automàticament des del kdeinit5.\n"
+"klauncher: Aquest programa no està pensat per a ser iniciat manualment.\n"
+"klauncher: Serà iniciat automàticament pel kdeinit5.\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/po/en_GB/kinit5.po 
new/kinit-5.0.0/po/en_GB/kinit5.po
--- old/kinit-4.100.0/po/en_GB/kinit5.po        2014-06-01 14:21:12.000000000 
+0200
+++ new/kinit-5.0.0/po/en_GB/kinit5.po  2014-07-01 20:31:22.000000000 +0200
@@ -2,19 +2,20 @@
 # Malcolm Hunter <[email protected]>, 2002,2003,2004, 2005, 2006, 2007, 
2008, 2009.
 # Jonathan Riddell <[email protected]>, 2003.
 # Andrew Coles <[email protected]>, 2004, 2005, 2009, 2010.
+# Steve Allewell <[email protected]>, 2014.
 msgid ""
 msgstr ""
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-04-27 20:57+0000\n"
-"PO-Revision-Date: 2010-12-14 12:18+0000\n"
-"Last-Translator: Andrew Coles <[email protected]>\n"
-"Language-Team: British English <[email protected]>\n"
-"Language: \n"
+"PO-Revision-Date: 2014-06-28 12:01+0100\n"
+"Last-Translator: Steve Allewell <[email protected]>\n"
+"Language-Team: British English <[email protected]>\n"
+"Language: en_GB\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.1\n"
+"X-Generator: Lokalize 1.5\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 
 #: kdeinit/kinit.cpp:526
@@ -61,10 +62,9 @@
 "%2"
 
 #: klauncher/klauncher.cpp:484
-#, fuzzy, kde-format
-#| msgid "KDEInit could not launch '%1'."
+#, kde-format
 msgid "KDEInit could not launch '%1'"
-msgstr "KDEInit could not launch '%1'."
+msgstr "KDEInit could not launch '%1'"
 
 #: klauncher/klauncher.cpp:677 klauncher/klauncher.cpp:691
 #, kde-format
@@ -92,10 +92,9 @@
 msgstr "Unknown protocol '%1'.\n"
 
 #: klauncher/klauncher.cpp:1045
-#, fuzzy, kde-format
-#| msgid "Could not find service '%1'."
+#, kde-format
 msgid "Could not find the '%1' plugin.\n"
-msgstr "Could not find service '%1'."
+msgstr "Could not find the '%1' plugin.\n"
 
 #: klauncher/klauncher.cpp:1112
 #, kde-format
@@ -103,16 +102,12 @@
 msgstr "Error loading '%1'.\n"
 
 #: klauncher/klauncher_main.cpp:142
-#, fuzzy
-#| msgid ""
-#| "klauncher: This program is not supposed to be started manually.\n"
-#| "klauncher: It is started automatically by kdeinit4.\n"
 msgid ""
 "klauncher: This program is not supposed to be started manually.\n"
 "klauncher: It is started automatically by kdeinit5.\n"
 msgstr ""
 "klauncher: This program is not supposed to be started manually.\n"
-"klauncher: It is started automatically by kdeinit4.\n"
+"klauncher: It is started automatically by kdeinit5.\n"
 
 #~ msgctxt "NAME OF TRANSLATORS"
 #~ msgid "Your names"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/po/fr/kinit5.po 
new/kinit-5.0.0/po/fr/kinit5.po
--- old/kinit-4.100.0/po/fr/kinit5.po   2014-06-01 14:21:12.000000000 +0200
+++ new/kinit-5.0.0/po/fr/kinit5.po     2014-07-01 20:31:22.000000000 +0200
@@ -21,7 +21,7 @@
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-04-27 20:57+0000\n"
-"PO-Revision-Date: 2013-11-01 15:56+0100\n"
+"PO-Revision-Date: 2014-05-21 16:00+0200\n"
 "Last-Translator: Sebastien Renard <[email protected]>\n"
 "Language-Team: French <[email protected]>\n"
 "Language: fr\n"
@@ -110,10 +110,9 @@
 msgstr "Protocole « %1 » inconnu.\n"
 
 #: klauncher/klauncher.cpp:1045
-#, fuzzy, kde-format
-#| msgid "Could not find service '%1'."
+#, kde-format
 msgid "Could not find the '%1' plugin.\n"
-msgstr "Il est impossible de trouver le service « %1 »."
+msgstr "Impossible de trouver le module externe %1.\n"
 
 #: klauncher/klauncher.cpp:1112
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/po/id/kinit5.po 
new/kinit-5.0.0/po/id/kinit5.po
--- old/kinit-4.100.0/po/id/kinit5.po   2014-06-01 14:21:12.000000000 +0200
+++ new/kinit-5.0.0/po/id/kinit5.po     2014-07-01 20:31:22.000000000 +0200
@@ -8,7 +8,7 @@
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-04-27 20:57+0000\n"
-"PO-Revision-Date: 2014-02-04 20:08+0700\n"
+"PO-Revision-Date: 2014-06-23 21:23+0700\n"
 "Last-Translator: Andhika Padmawan <[email protected]>\n"
 "Language-Team: Indonesian <[email protected]>\n"
 "Language: id\n"
@@ -91,10 +91,9 @@
 msgstr "Protokol '%1' tak diketahui.\n"
 
 #: klauncher/klauncher.cpp:1045
-#, fuzzy, kde-format
-#| msgid "Could not find service '%1'."
+#, kde-format
 msgid "Could not find the '%1' plugin.\n"
-msgstr "Tak dapat menemukan layanan '%1'."
+msgstr "Tak dapat menemukan plugin '%1'.\n"
 
 #: klauncher/klauncher.cpp:1112
 #, kde-format
@@ -102,16 +101,12 @@
 msgstr "Galat memuat '%1'.\n"
 
 #: klauncher/klauncher_main.cpp:142
-#, fuzzy
-#| msgid ""
-#| "klauncher: This program is not supposed to be started manually.\n"
-#| "klauncher: It is started automatically by kdeinit4.\n"
 msgid ""
 "klauncher: This program is not supposed to be started manually.\n"
 "klauncher: It is started automatically by kdeinit5.\n"
 msgstr ""
 "klauncher: Program ini tidak seharusnya dijalankan secara manual.\n"
-"klauncher: Program dijalankan secara otomatis oleh kdeinit4.\n"
+"klauncher: Program dijalankan secara otomatis oleh kdeinit5.\n"
 
 #~ msgctxt "NAME OF TRANSLATORS"
 #~ msgid "Your names"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/po/nds/kinit5.po 
new/kinit-5.0.0/po/nds/kinit5.po
--- old/kinit-4.100.0/po/nds/kinit5.po  2014-06-01 14:21:12.000000000 +0200
+++ new/kinit-5.0.0/po/nds/kinit5.po    2014-07-01 20:31:22.000000000 +0200
@@ -16,7 +16,7 @@
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.4\n"
+"X-Generator: Lokalize 1.5\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 
 #: kdeinit/kinit.cpp:526
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/po/ru/kinit5.po 
new/kinit-5.0.0/po/ru/kinit5.po
--- old/kinit-4.100.0/po/ru/kinit5.po   2014-06-01 14:21:12.000000000 +0200
+++ new/kinit-5.0.0/po/ru/kinit5.po     2014-07-01 20:31:22.000000000 +0200
@@ -19,7 +19,7 @@
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-04-27 20:57+0000\n"
-"PO-Revision-Date: 2014-02-05 03:50+0400\n"
+"PO-Revision-Date: 2014-06-30 00:10+0400\n"
 "Last-Translator: Alexander Potashev <[email protected]>\n"
 "Language-Team: Russian <[email protected]>\n"
 "Language: ru\n"
@@ -107,10 +107,9 @@
 msgstr "Неизвестный протокол «%1».\n"
 
 #: klauncher/klauncher.cpp:1045
-#, fuzzy, kde-format
-#| msgid "Could not find service '%1'."
+#, kde-format
 msgid "Could not find the '%1' plugin.\n"
-msgstr "Не удалось найти службу «%1»."
+msgstr "Не удалось найти модуль «%1».\n"
 
 #: klauncher/klauncher.cpp:1112
 #, kde-format
@@ -118,16 +117,12 @@
 msgstr "Ошибка загрузки «%1»:\n"
 
 #: klauncher/klauncher_main.cpp:142
-#, fuzzy
-#| msgid ""
-#| "klauncher: This program is not supposed to be started manually.\n"
-#| "klauncher: It is started automatically by kdeinit4.\n"
 msgid ""
 "klauncher: This program is not supposed to be started manually.\n"
 "klauncher: It is started automatically by kdeinit5.\n"
 msgstr ""
 "klauncher: программа не должна запускаться вручную.\n"
-"klauncher: запускается автоматически из kdeinit4.\n"
+"klauncher: запускается автоматически из kdeinit5.\n"
 
 #~ msgctxt "NAME OF TRANSLATORS"
 #~ msgid "Your names"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/po/sl/kinit5.po 
new/kinit-5.0.0/po/sl/kinit5.po
--- old/kinit-4.100.0/po/sl/kinit5.po   2014-06-01 14:21:12.000000000 +0200
+++ new/kinit-5.0.0/po/sl/kinit5.po     2014-07-01 20:31:22.000000000 +0200
@@ -11,13 +11,13 @@
 # Andrej Vernekar <[email protected]>, 2005, 2007, 2008, 2009, 2010.
 # Jure Repinc <[email protected]>, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 
2012, 2013.
 # Andrej Vernekar <[email protected]>, 2008, 2011, 2012.
-# Andrej Mernik <[email protected]>, 2012, 2013.
+# Andrej Mernik <[email protected]>, 2012, 2013, 2014.
 msgid ""
 msgstr ""
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-04-27 20:57+0000\n"
-"PO-Revision-Date: 2013-11-26 18:31+0100\n"
+"PO-Revision-Date: 2014-06-12 14:50+0200\n"
 "Last-Translator: Andrej Mernik <[email protected]>\n"
 "Language-Team: Slovenian <[email protected]>\n"
 "Language: sl\n"
@@ -103,10 +103,9 @@
 msgstr "Neznan protokol »%1«.\n"
 
 #: klauncher/klauncher.cpp:1045
-#, fuzzy, kde-format
-#| msgid "Could not find service '%1'."
+#, kde-format
 msgid "Could not find the '%1' plugin.\n"
-msgstr "Ni bilo mogoče najti storitve »%1«."
+msgstr "Ni bilo mogoče najti vstavka »%1«.\n"
 
 #: klauncher/klauncher.cpp:1112
 #, kde-format
@@ -114,16 +113,12 @@
 msgstr "Napaka med nalaganjem »%1«.\n"
 
 #: klauncher/klauncher_main.cpp:142
-#, fuzzy
-#| msgid ""
-#| "klauncher: This program is not supposed to be started manually.\n"
-#| "klauncher: It is started automatically by kdeinit4.\n"
 msgid ""
 "klauncher: This program is not supposed to be started manually.\n"
 "klauncher: It is started automatically by kdeinit5.\n"
 msgstr ""
 "klauncher: ta program ni namenjen ročnemu zagonu.\n"
-"klauncher: samodejno ga zažene kdeinit4.\n"
+"klauncher: samodejno ga zažene kdeinit5.\n"
 
 #~ msgctxt "NAME OF TRANSLATORS"
 #~ msgid "Your names"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/po/uk/kinit5.po 
new/kinit-5.0.0/po/uk/kinit5.po
--- old/kinit-4.100.0/po/uk/kinit5.po   2014-06-01 14:21:12.000000000 +0200
+++ new/kinit-5.0.0/po/uk/kinit5.po     2014-07-01 20:31:22.000000000 +0200
@@ -1,5 +1,7 @@
-# translation of kdelibs4.po to Ukrainian
-# Translation of kdelibs4.po to Ukrainian
+# Translation of kinit5.po to Ukrainian
+# Copyright (C) 2014 This_file_is_part_of_KDE
+# This file is distributed under the license LGPL version 2.1 or
+# version 3 or later versions approved by the membership of KDE e.V.
 #
 # Eugene Onischenko <[email protected]>, 2002, 2003, 2004, 2005, 2006.
 # Andriy Rysin <[email protected]>, 2002, 2003, 2006, 2007.
@@ -7,7 +9,7 @@
 # Yuri Chornoivan <[email protected]>, 2008, 2009, 2010, 2011, 2012, 2013, 2014.
 msgid ""
 msgstr ""
-"Project-Id-Version: kdelibs4\n"
+"Project-Id-Version: kinit5\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-04-27 20:57+0000\n"
 "PO-Revision-Date: 2014-03-28 19:44+0200\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/src/klauncher/klauncher_main.cpp 
new/kinit-5.0.0/src/klauncher/klauncher_main.cpp
--- old/kinit-4.100.0/src/klauncher/klauncher_main.cpp  2014-06-01 
14:21:12.000000000 +0200
+++ new/kinit-5.0.0/src/klauncher/klauncher_main.cpp    2014-07-01 
20:31:22.000000000 +0200
@@ -29,7 +29,7 @@
 #include <klocalizedstring.h>
 
 #include "klauncher_cmds.h"
-#include <QtCore/QCoreApplication>
+#include <QGuiApplication>
 #include <QtCore/QFile>
 #include <QDebug>
 #include <QDBusConnectionInterface>
@@ -152,8 +152,8 @@
     // WABA: Make sure not to enable session management.
     putenv(strdup("SESSION_MANAGER="));
 
-    // We need a QCoreApplication to get a DBus event loop
-    QCoreApplication app(argc, argv);
+    // We need a QGuiApplication as we use X11
+    QGuiApplication app(argc, argv);
     app.setApplicationName(QStringLiteral("klauncher"));
 
     int maxTry = 3;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/src/start_kdeinit/start_kdeinit.c 
new/kinit-5.0.0/src/start_kdeinit/start_kdeinit.c
--- old/kinit-4.100.0/src/start_kdeinit/start_kdeinit.c 2014-06-01 
14:21:12.000000000 +0200
+++ new/kinit-5.0.0/src/start_kdeinit/start_kdeinit.c   2014-07-01 
20:31:22.000000000 +0200
@@ -27,6 +27,7 @@
 #include <string.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <grp.h>
 #if HAVE_CAPABILITIES
 #include <sys/capability.h>
 #endif
@@ -125,6 +126,7 @@
         }
         cap_free(caps);
 #endif
+       setgroups(0, 0); /* Remove any extraneous groups*/
         if (setgid(getgid())) {
             perror("setgid()");
             return 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/tests/CMakeLists.txt 
new/kinit-5.0.0/tests/CMakeLists.txt
--- old/kinit-4.100.0/tests/CMakeLists.txt      1970-01-01 01:00:00.000000000 
+0100
+++ new/kinit-5.0.0/tests/CMakeLists.txt        2014-07-01 20:31:22.000000000 
+0200
@@ -0,0 +1,9 @@
+add_executable(autostart_test
+    autostarttest.cpp
+    ../src/klauncher/autostart.cpp
+)
+
+target_link_libraries(autostart_test
+    Qt5::Core
+    KF5::Service
+)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kinit-4.100.0/tests/autostarttest.cpp 
new/kinit-5.0.0/tests/autostarttest.cpp
--- old/kinit-4.100.0/tests/autostarttest.cpp   1970-01-01 01:00:00.000000000 
+0100
+++ new/kinit-5.0.0/tests/autostarttest.cpp     2014-07-01 20:31:22.000000000 
+0200
@@ -0,0 +1,57 @@
+/*
+ *  This file is part of the KDE libraries
+ *  Copyright (c) 2014 Vishesh Handa <[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 <QCoreApplication>
+#include <QCommandLineParser>
+#include <QDebug>
+#include <QTextStream>
+
+#include "../src/klauncher/autostart.h"
+
+int main(int argc, char **argv)
+{
+    QCoreApplication app(argc, argv);
+
+    QCommandLineParser parser;
+    parser.addPositionalArgument(QStringLiteral("phase"), 
QStringLiteral("autostart phase number"));
+    parser.process(app);
+
+    QStringList args = parser.positionalArguments();
+    if (args.size() != 1) {
+        parser.showHelp(1);
+    }
+
+    int phase = args.first().toInt();
+    AutoStart autostart;
+    autostart.setPhase(phase);
+    autostart.loadAutoStartList();
+
+    QTextStream out(stdout);
+
+    while (!autostart.phaseDone()) {
+        QString service = autostart.startService();
+        if (service.isEmpty()) {
+            break;
+        }
+
+        out << service << "\n";
+    }
+
+    return 0;
+}

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to