Hello community, here is the log from the commit of package kdevelop5 for openSUSE:Factory checked in at 2018-11-26 10:23:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdevelop5 (Old) and /work/SRC/openSUSE:Factory/.kdevelop5.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdevelop5" Mon Nov 26 10:23:35 2018 rev:14 rq:649974 version:5.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kdevelop5/kdevelop5.changes 2018-10-23 20:42:04.460423599 +0200 +++ /work/SRC/openSUSE:Factory/.kdevelop5.new.19453/kdevelop5.changes 2018-11-26 10:25:45.285348475 +0100 @@ -1,0 +2,32 @@ +Fri Nov 16 14:49:42 UTC 2018 - [email protected] + +- Add Auto-find-Clazy-documentation-also-with-clazy-1.4.patch to + make the clazy plugin find the necessary documentation also with + clazy 1.4+, which installs it to a different place than previous + versions (kde#401075) + +------------------------------------------------------------------- +Wed Nov 14 10:27:26 UTC 2018 - [email protected] + +- New upstream release 5.3.0 + * New clazy analyzer plugin + * Clang: include tooltips: fix range check + * Allow overriding the path to the builtin clang compiler headers + (kde#393779) + * Always use the clang builtin headers for the libclang version + we use (kde#387005) + * Group completion requests and only handle the last one + * Fix Template (Class/Function) Signatures in Clang Code + Completion (kde#368544, kde#377397) + * Workaround: find declarations for constructor argument hints + * Clang: Improve argument hint code completion +- Drop kdevplatform-reduce-dependencies.diff, merged upstream +- Recommend clazy which is needed by the new clazy plugin +- Remove explicitly versioned kdevplatform requirement, + libkdevplatformXY is implicitly required anyway, that should be + sufficient +- Use QtWebKit on platforms where QtWebEngine is not available +- Use gcc7 for building on Leap 42.3, compilation fails with the + default 4.8 + +------------------------------------------------------------------- Old: ---- kdevelop-5.2.4.tar.xz kdevplatform-reduce-dependencies.diff New: ---- Auto-find-Clazy-documentation-also-with-clazy-1.4.patch kdevelop-5.3.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdevelop5.spec ++++++ --- /var/tmp/diff_new_pack.5ohl08/_old 2018-11-26 10:25:47.261346154 +0100 +++ /var/tmp/diff_new_pack.5ohl08/_new 2018-11-26 10:25:47.265346149 +0100 @@ -19,11 +19,10 @@ # for compatibility with Leap 42.3 which doesn't have this macro yet %{!?_kf5_debugdir: %global _kf5_debugdir %{_kf5_configdir}} %define rname kdevelop -%define rversion 5.2 -%define libkdev_major 52 -%define kdev_plugin_version 30 +%define rversion 5.3 +%define libkdev_major 53 Name: kdevelop5 -Version: 5.2.4 +Version: 5.3.0 Release: 0 Summary: Plugin-extensible IDE for C/C++ and other programming languages License: GPL-2.0-or-later @@ -31,7 +30,7 @@ URL: http://www.kdevelop.org Source0: http://download.kde.org/stable/%{rname}/%{version}/src/%{rname}-%{version}.tar.xz # PATCH-FIX-UPSTREAM -Patch0: kdevplatform-reduce-dependencies.diff +Patch0: Auto-find-Clazy-documentation-also-with-clazy-1.4.patch BuildRequires: grantlee5-devel BuildRequires: karchive-devel BuildRequires: kcmutils-devel @@ -75,10 +74,14 @@ BuildRequires: pkgconfig(Qt5QuickWidgets) BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5Test) +%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64 BuildRequires: pkgconfig(Qt5WebEngineWidgets) +%else +BuildRequires: pkgconfig(Qt5WebKitWidgets) +%endif BuildRequires: pkgconfig(Qt5Widgets) -Requires: kdevplatform = %{version} Recommends: %{name}-lang +Recommends: clazy Recommends: cppcheck Recommends: heaptrack-gui Conflicts: kdevelop4 @@ -97,6 +100,8 @@ BuildRequires: libboost_headers-devel %else BuildRequires: boost-devel +# It does not build with the default compiler (GCC 4.8) on Leap 42.x +BuildRequires: gcc7-c++ %endif %description @@ -168,9 +173,14 @@ %prep %setup -q -n %{rname}-%{version} -%patch0 -p1 +%autopatch -p1 %build +%if 0%{?suse_version} <= 1325 + # It does not build with the default compiler (GCC 4.8) on Leap 42.x + export CC=gcc-7 + export CXX=g++-7 +%endif %cmake_kf5 -d build %make_jobs @@ -178,7 +188,7 @@ %kf5_makeinstall -C build names="kdevandroid kdevappwizard kdevastyle kdevbazaar kdevclang kdevclassbrowser \ - kdevcmake kdevcmakebuilder kdevcodeutils kdevcontextbrowser kdevcppcheck \ + kdevclazy kdevcmake kdevcmakebuilder kdevcodeutils kdevcontextbrowser kdevcppcheck \ kdevcustombuildsystem kdevcustomdefinesandincludes kdevcustommake \ kdevcustomscript kdevcvs kdevdebuggercommon kdevdocker kdevdocumentswitcher \ kdevdocumentview kdevelop kdevexecute kdevexecuteplasmoid kdevexecutescript \ @@ -205,7 +215,7 @@ %postun -n libkdevplatform%{libkdev_major} -p /sbin/ldconfig %files -n libkdevplatform%{libkdev_major} -%license COPYING* +%license kdevplatform/COPYING* %{_kf5_libdir}/libKDevPlatform*.so.* %files @@ -243,10 +253,10 @@ %{_kf5_sharedir}/kdevgdb/ %{_kf5_sharedir}/kdevlldb/ %{_kf5_sharedir}/kdevmanpage/ -%{_kf5_sharedir}/kdevqmakebuilder/ %{_kf5_sharedir}/kdevqmljssupport/ %{_kf5_sharedir}/mime/packages/kdevelop.xml %{_kf5_sharedir}/mime/packages/kdevclang.xml +%{_kf5_sharedir}/mime/packages/kdevgit.xml %files lang -f %{name}.lang @@ -265,7 +275,7 @@ %{_kf5_sharedir}/kdevplatform/ %files -n kdevplatform-devel -%license COPYING* +%license kdevplatform/COPYING* %{_kf5_libdir}/libKDevPlatform*.so %{_kf5_libdir}/cmake/KDevPlatform/ %{_kf5_prefix}/include/kdevplatform/ ++++++ Auto-find-Clazy-documentation-also-with-clazy-1.4.patch ++++++ >From fee3dd685a6c8d2eaa3ba1fa7e1554d9ce15a4bd Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" <[email protected]> Date: Thu, 15 Nov 2018 20:56:54 +0100 Subject: Auto-find Clazy documentation also with clazy >= 1.4 Summary: BUG: 401075 FIXED-IN: 5.3.1 Test Plan: Remove entries from kdeveloprc, paths are auto.detected both with clazy 1.4 and clazy 1.3 (well, its simulated doc path). Reviewers: #kdevelop, kfunk Reviewed By: #kdevelop, kfunk Subscribers: kfunk, kdevelop-devel Tags: #kdevelop Differential Revision: https://phabricator.kde.org/D16910 --- plugins/clazy/jobparameters.cpp | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/plugins/clazy/jobparameters.cpp b/plugins/clazy/jobparameters.cpp index d7eb2c9..41b6485 100644 --- a/plugins/clazy/jobparameters.cpp +++ b/plugins/clazy/jobparameters.cpp @@ -109,16 +109,21 @@ QUrl JobGlobalParameters::defaultExecutablePath() QUrl JobGlobalParameters::defaultDocsPath() { - const auto docsPath = QStandardPaths::locate( - QStandardPaths::GenericDataLocation, + const QString subPathsCandidates[2]{ + // since clazy 1.4 + QStringLiteral("doc/clazy"), + // before QStringLiteral("clazy/doc"), - QStandardPaths::LocateDirectory); + }; + for (auto subPath : subPathsCandidates) { + const auto docsPath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, subPath, QStandardPaths::LocateDirectory); - if (docsPath.isEmpty()) { - return {}; + if (!docsPath.isEmpty()) { + return QUrl::fromLocalFile(QDir(docsPath).canonicalPath()); + } } - return QUrl::fromLocalFile(QDir(docsPath).canonicalPath()); + return {}; } bool JobGlobalParameters::isValid() const -- cgit v0.11.2 ++++++ kdevelop-5.2.4.tar.xz -> kdevelop-5.3.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/kdevelop5/kdevelop-5.2.4.tar.xz /work/SRC/openSUSE:Factory/.kdevelop5.new.19453/kdevelop-5.3.0.tar.xz differ: char 26, line 1
