Hello community, here is the log from the commit of package kinit for openSUSE:Factory checked in at 2018-03-20 21:45:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kinit (Old) and /work/SRC/openSUSE:Factory/.kinit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kinit" Tue Mar 20 21:45:59 2018 rev:51 rq:586836 version:5.44.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kinit/kinit.changes 2018-02-16 21:31:33.779473930 +0100 +++ /work/SRC/openSUSE:Factory/.kinit.new/kinit.changes 2018-03-20 21:46:00.736679251 +0100 @@ -1,0 +2,16 @@ +Wed Mar 14 13:21:57 UTC 2018 - [email protected] + +- Add patch to not move XAUTHORITY around if not required (boo#1084798): + * 0001-Only-move-XAUTHORITY-if-it-s-temporary.patch + +------------------------------------------------------------------- +Mon Mar 12 23:29:41 CET 2018 - [email protected] + +- Update to 5.44.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.44.0.php +- Changes since 5.43.0: + * None + +------------------------------------------------------------------- Old: ---- kinit-5.43.0.tar.xz New: ---- 0001-Only-move-XAUTHORITY-if-it-s-temporary.patch kinit-5.44.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kinit.spec ++++++ --- /var/tmp/diff_new_pack.XrWJ82/_old 2018-03-20 21:46:01.700644557 +0100 +++ /var/tmp/diff_new_pack.XrWJ82/_new 2018-03-20 21:46:01.704644413 +0100 @@ -17,13 +17,13 @@ %bcond_without lang -%define _tar_path 5.43 +%define _tar_path 5.44 # 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: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} Name: kinit -Version: 5.43.0 +Version: 5.44.0 Release: 0 BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} @@ -47,13 +47,15 @@ Recommends: %{name}-lang = %{version} %endif Summary: Helper library to speed up start of applications on KDE workspaces -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf # PATCH-FIX-OPENSUSE fpie.patch -- add -(f)pie link flags to start_kdeinit target Patch0: fpie.patch +# PATCH-FIX-OPENSUSE +Patch1: 0001-Only-move-XAUTHORITY-if-it-s-temporary.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -72,7 +74,7 @@ %lang_package %prep %setup -q -%patch0 -p1 +%autopatch -p1 %build %cmake_kf5 -d build ++++++ 0001-Only-move-XAUTHORITY-if-it-s-temporary.patch ++++++ >From 8040d22c25eb950e8206af7ff20dcd958267de10 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <[email protected]> Date: Tue, 13 Mar 2018 18:54:26 +0100 Subject: [PATCH] Only move XAUTHORITY if it's temporary References: boo#1084798 If kdeinit is started within a session spawned by kdesu or similiar, it has a temporary file as $XAUTHORITY. As kdeinit is persistent, the used .Xauthority file must persist as well otherwise launched child process would have no access to X. kdeinit works around the file's volatileness by copying it to a known location. Unfortunately the chosen location (/tmp) gets cleared regularly which means it's even more volatile than the source... Even more unfortunately, this workaround is applied WAY to broad. Even when $XAUTHORITY points to a static file, like in a normal user session, it moves .Xauthority around. Work around this issue by only applying it if $XAUTHORITY is in /tmp, where kdesu places it. --- src/kdeinit/kinit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kdeinit/kinit.cpp b/src/kdeinit/kinit.cpp index 0c2c35a..54a390f 100644 --- a/src/kdeinit/kinit.cpp +++ b/src/kdeinit/kinit.cpp @@ -1483,7 +1483,7 @@ static void setupX() as well, point XAUTHORITY there and never remove the file (except for possible tmp cleanup). */ - if (!qEnvironmentVariableIsEmpty("XAUTHORITY")) { + if (!qEnvironmentVariableIsEmpty("XAUTHORITY") && qgetenv("XAUTHORITY").startsWith("/tmp/")) { QByteArray display = qgetenv(displayEnvVarName_c()); int i; if ((i = display.lastIndexOf('.')) > display.lastIndexOf(':') && i >= 0) { -- 2.16.2 ++++++ kinit-5.43.0.tar.xz -> kinit-5.44.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kinit-5.43.0/CMakeLists.txt new/kinit-5.44.0/CMakeLists.txt --- old/kinit-5.43.0/CMakeLists.txt 2018-02-05 13:00:38.000000000 +0100 +++ new/kinit-5.44.0/CMakeLists.txt 2018-03-03 11:04:17.000000000 +0100 @@ -3,7 +3,7 @@ project(KInit) include(FeatureSummary) -find_package(ECM 5.43.0 NO_MODULE) +find_package(ECM 5.44.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.43.0") # handled by release scripts -set(KF5_DEP_VERSION "5.43.0") # handled by release scripts +set(KF5_VERSION "5.44.0") # handled by release scripts +set(KF5_DEP_VERSION "5.44.0") # handled by release scripts ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KINIT VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kinit_version.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kinit-5.43.0/po/id/kinit5.po new/kinit-5.44.0/po/id/kinit5.po --- old/kinit-5.43.0/po/id/kinit5.po 2018-02-05 13:00:38.000000000 +0100 +++ new/kinit-5.44.0/po/id/kinit5.po 2018-03-03 11:04:17.000000000 +0100 @@ -9,7 +9,7 @@ "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2017-11-04 03:08+0100\n" -"PO-Revision-Date: 2018-01-26 20:45+0700\n" +"PO-Revision-Date: 2018-03-03 08:12+0700\n" "Last-Translator: Wantoyo <[email protected]>\n" "Language-Team: Indonesian <[email protected]>\n" "Language: id\n" @@ -27,8 +27,8 @@ "maximum number of open files that you are allowed to use has been reached." msgstr "" "Tak dapat memulai proses baru.\n" -"Sistem mungkin telah mencapai jumlah maksimum berkas yang mungkin dibuka " -"atau jumlah maksimum berkas dibuka yang dapat anda gunakan telah tercapai." +"Sistem mungkin telah mencapai jumlah maksimum fail yang mungkin dibuka atau " +"jumlah maksimum fail dibuka yang dapat anda gunakan telah tercapai." #: kdeinit/kinit.cpp:531 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kinit-5.43.0/po/nb/kinit5.po new/kinit-5.44.0/po/nb/kinit5.po --- old/kinit-5.43.0/po/nb/kinit5.po 2018-02-05 13:00:38.000000000 +0100 +++ new/kinit-5.44.0/po/nb/kinit5.po 2018-03-03 11:04:17.000000000 +0100 @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: kdelibs4\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" -"POT-Creation-Date: 2017-08-28 03:01+0200\n" +"POT-Creation-Date: 2017-11-04 03:08+0100\n" "PO-Revision-Date: 2014-04-25 15:53+0200\n" "Last-Translator: Bjørn Steensrud <[email protected]>\n" "Language-Team: Norwegian Bokmål <[email protected]>\n" @@ -70,42 +70,42 @@ "Fant ikke «kdemain» i «%1».\n" "%2" -#: klauncher/klauncher.cpp:472 +#: klauncher/klauncher.cpp:427 #, kde-format msgid "KDEInit could not launch '%1'" msgstr "KDEInit kunne ikke starte «%1»" -#: klauncher/klauncher.cpp:658 klauncher/klauncher.cpp:672 +#: klauncher/klauncher.cpp:608 klauncher/klauncher.cpp:622 #, kde-format msgid "Could not find service '%1'." msgstr "Fant ikke tjenesten «%1»." -#: klauncher/klauncher.cpp:690 +#: klauncher/klauncher.cpp:640 #, kde-format msgid "Service '%1' must be executable to run." msgstr "Tjenesten «%1» må være kjørbar for å kunne starte." -#: klauncher/klauncher.cpp:692 klauncher/klauncher.cpp:754 +#: klauncher/klauncher.cpp:642 klauncher/klauncher.cpp:703 #, kde-format msgid "Service '%1' is malformatted." msgstr "Tjenesten «%1» har feil format." -#: klauncher/klauncher.cpp:841 +#: klauncher/klauncher.cpp:790 #, kde-format msgid "Launching %1" msgstr "Starter %1" -#: klauncher/klauncher.cpp:1026 +#: klauncher/klauncher.cpp:974 #, kde-format msgid "Unknown protocol '%1'.\n" msgstr "Ukjent protokoll «%1».\n" -#: klauncher/klauncher.cpp:1032 +#: klauncher/klauncher.cpp:980 #, kde-format msgid "Could not find the '%1' plugin.\n" msgstr "Klarte ikke finne programtillegget «%1».\n" -#: klauncher/klauncher.cpp:1098 +#: klauncher/klauncher.cpp:1053 #, kde-format msgid "Error loading '%1'." msgstr "" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kinit-5.43.0/po/zh_CN/kinit5.po new/kinit-5.44.0/po/zh_CN/kinit5.po --- old/kinit-5.43.0/po/zh_CN/kinit5.po 2018-02-05 13:00:38.000000000 +0100 +++ new/kinit-5.44.0/po/zh_CN/kinit5.po 2018-03-03 11:04:17.000000000 +0100 @@ -16,7 +16,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2017-11-04 03:08+0100\n" -"PO-Revision-Date: 2018-02-01 07:11-0500\n" +"PO-Revision-Date: 2018-02-28 02:23-0500\n" "Last-Translator: guoyunhebrave <[email protected]>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n"
