Hello community, here is the log from the commit of package ktexteditor for openSUSE:Factory checked in at 2017-09-19 16:26:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ktexteditor (Old) and /work/SRC/openSUSE:Factory/.ktexteditor.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ktexteditor" Tue Sep 19 16:26:42 2017 rev:45 rq:526672 version:5.38.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ktexteditor/ktexteditor.changes 2017-08-24 17:58:28.729043806 +0200 +++ /work/SRC/openSUSE:Factory/.ktexteditor.new/ktexteditor.changes 2017-09-19 16:26:45.810685117 +0200 @@ -1,0 +2,26 @@ +Wed Sep 13 07:05:50 UTC 2017 - lbeltr...@kde.org + +- Add 0001-Disable-KAuth-integration.patch + * Streamlined way to disable KAuth support from ktexteditor +- Remove patches, folded into the above: + * 0001-Revert-KAuth-integration-in-document-saving-vol.-2.patch + * 0002-Revert-KAuth-integration-in-document-saving.patch + +------------------------------------------------------------------- +Tue Sep 12 07:11:18 CEST 2017 - lbeltr...@kde.org + +- Update to 5.38.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.38.0.php +- Changes since 5.37.0: + * Port Document/View scripting API to QJSValue-based solution + * Show icons in icon border context menu + * Use config.h more + * Fix compilation on windows with editorconfig-c-core available + * Replace KStandardAction::PasteText with KStandardAction::Paste + * Support fractional scaling in generating the sidebar preview + * Fix build with QT_NO_ACCESSIBILITY + * Switch from QtScript to QtQml + +------------------------------------------------------------------- Old: ---- 0001-Revert-KAuth-integration-in-document-saving-vol.-2.patch 0002-Revert-KAuth-integration-in-document-saving.patch ktexteditor-5.37.0.tar.xz New: ---- 0001-Disable-KAuth-integration.patch ktexteditor-5.38.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ktexteditor.spec ++++++ --- /var/tmp/diff_new_pack.Ak2crb/_old 2017-09-19 16:26:46.466592171 +0200 +++ /var/tmp/diff_new_pack.Ak2crb/_new 2017-09-19 16:26:46.470591605 +0200 @@ -17,36 +17,41 @@ %bcond_without lang -%define _tar_path 5.37 +# 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}')} +%define _tar_path 5.38 Name: ktexteditor -Version: 5.37.0 +Version: 5.38.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 3.0 -BuildRequires: extra-cmake-modules >= %{_tar_path} +BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes -BuildRequires: karchive-devel >= %{_tar_path} -BuildRequires: kconfig-devel >= %{_tar_path} +BuildRequires: karchive-devel >= %{_kf5_bugfix_version} +BuildRequires: kconfig-devel >= %{_kf5_bugfix_version} BuildRequires: kf5-filesystem -BuildRequires: kguiaddons-devel >= %{_tar_path} -BuildRequires: ki18n-devel >= %{_tar_path} -BuildRequires: kiconthemes-devel >= %{_tar_path} -BuildRequires: kio-devel >= %{_tar_path} -BuildRequires: kparts-devel >= %{_tar_path} +BuildRequires: kguiaddons-devel >= %{_kf5_bugfix_version} +BuildRequires: ki18n-devel >= %{_kf5_bugfix_version} +BuildRequires: kiconthemes-devel >= %{_kf5_bugfix_version} +BuildRequires: kio-devel >= %{_kf5_bugfix_version} +BuildRequires: kparts-devel >= %{_kf5_bugfix_version} %if 0%{?suse_version} >= 1330 || 0%{?leap_version} >= 420200 BuildRequires: libeditorconfig-devel %endif BuildRequires: libgit2-devel -BuildRequires: sonnet-devel >= %{_tar_path} -BuildRequires: syntax-highlighting-devel >= %{_tar_path} +BuildRequires: sonnet-devel >= %{_kf5_bugfix_version} +BuildRequires: syntax-highlighting-devel >= %{_kf5_bugfix_version} BuildRequires: cmake(Qt5Core) >= 5.6.0 BuildRequires: cmake(Qt5PrintSupport) >= 5.6.0 +BuildRequires: cmake(Qt5Qml) >= 5.6.0 BuildRequires: cmake(Qt5Script) >= 5.6.0 BuildRequires: cmake(Qt5Test) >= 5.6.0 BuildRequires: cmake(Qt5Widgets) >= 5.6.0 BuildRequires: cmake(Qt5Xml) >= 5.6.0 BuildRequires: cmake(Qt5XmlPatterns) >= 5.6.0 -Requires: syntax-highlighting >= %{_tar_path} +Requires: syntax-highlighting >= %{_kf5_bugfix_version} %if %{with lang} Recommends: %{name}-lang = %{version} %endif @@ -59,9 +64,7 @@ Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf # PATCH-MISFEATURE-OPENSUSE - Disliked by the security team (boo#1033055) -Patch1: 0001-Revert-KAuth-integration-in-document-saving-vol.-2.patch -# PATCH-MISFEATURE-OPENSUSE - Disliked by the security team (boo#1033055) -Patch2: 0002-Revert-KAuth-integration-in-document-saving.patch +Patch1: 0001-Disable-KAuth-integration.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -73,7 +76,7 @@ Group: Development/Libraries/KDE Requires: %{name} = %{version} Requires: extra-cmake-modules -Requires: kparts-devel >= %{_tar_path} +Requires: kparts-devel >= %{_kf5_bugfix_version} %description devel KTextEditor provides a powerful text editor component that you can embed in your @@ -84,7 +87,6 @@ %prep %setup -q %patch1 -p1 -%patch2 -p1 %build %cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir} ++++++ 0001-Disable-KAuth-integration.patch ++++++ >From 94f43c59104f54cdc4e50b35ee420035977ea587 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fab...@ritter-vogt.de> Date: Thu, 24 Aug 2017 09:32:10 +0200 Subject: [PATCH] Disable KAuth integration The security team does not want this in openSUSE, as it is an "insane functionality" and an "abuse of the privileged DBUS functionality." (boo#1033055). I disagree, but that does not help much. --- src/CMakeLists.txt | 8 -------- src/buffer/katetextbuffer.cpp | 3 +-- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a5e60e1a..e2b7cff9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -361,13 +361,5 @@ ecm_generate_pri_file(BASE_NAME KTextEditor LIB_NAME KF5TextEditor DEPS "KParts" install(FILES ${PRI_FILENAME} DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) -add_executable(kauth_ktexteditor_helper buffer/katesecuretextbuffer.cpp) -target_link_libraries(kauth_ktexteditor_helper - KF5::Auth -) -install(TARGETS kauth_ktexteditor_helper DESTINATION ${KAUTH_HELPER_INSTALL_DIR} ) -kauth_install_helper_files(kauth_ktexteditor_helper org.kde.ktexteditor.katetextbuffer root) -kauth_install_actions(org.kde.ktexteditor.katetextbuffer buffer/org.kde.ktexteditor.katetextbuffer.actions) - # add part add_subdirectory(part) diff --git a/src/buffer/katetextbuffer.cpp b/src/buffer/katetextbuffer.cpp index aa5a4555..c0b72d27 100644 --- a/src/buffer/katetextbuffer.cpp +++ b/src/buffer/katetextbuffer.cpp @@ -788,7 +787,7 @@ bool TextBuffer::save(const QString &filename) bool usingTemporaryBuffer = false; // open QSaveFile for write - if (m_alwaysUseKAuthForSave || !saveFile->open(QIODevice::WriteOnly)) { + if (0 && m_alwaysUseKAuthForSave || !saveFile->open(QIODevice::WriteOnly)) { // if that fails we need more privileges to save this file // -> we write to a temporary file and then send its path to KAuth action for privileged save -- 2.13.2 ++++++ ktexteditor-5.37.0.tar.xz -> ktexteditor-5.38.0.tar.xz ++++++ ++++ 33006 lines of diff (skipped)