From a9d62a349bea57ae00fb97f3f244bc06e456f7d38f0b39bfcc699ed1d8088471 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Sat, 17 Sep 2022 10:40:19 +0000 Subject: [PATCH] Plasma 5.25.90, lightly tested. OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/drkonqi5?expand=0&rev=195 --- drkonqi-5.25.5.tar.xz | 3 --- drkonqi-5.25.5.tar.xz.sig | 16 ----------- drkonqi-5.25.90.tar.xz | 3 +++ drkonqi-5.25.90.tar.xz.sig | 16 +++++++++++ drkonqi5.changes | 38 ++++++++++++++++++++++++++ drkonqi5.spec | 55 +++++++++++++++++++++++++++++++++----- 6 files changed, 106 insertions(+), 25 deletions(-) delete mode 100644 drkonqi-5.25.5.tar.xz delete mode 100644 drkonqi-5.25.5.tar.xz.sig create mode 100644 drkonqi-5.25.90.tar.xz create mode 100644 drkonqi-5.25.90.tar.xz.sig diff --git a/drkonqi-5.25.5.tar.xz b/drkonqi-5.25.5.tar.xz deleted file mode 100644 index 07ffbd8..0000000 --- a/drkonqi-5.25.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:675a6b1386215cfdfd76604d76906b3e601a34ea0880f148e5b149d1a85b846f -size 495252 diff --git a/drkonqi-5.25.5.tar.xz.sig b/drkonqi-5.25.5.tar.xz.sig deleted file mode 100644 index d67bc33..0000000 --- a/drkonqi-5.25.5.tar.xz.sig +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmMXNqoACgkQ11dEg7tX -sY39Cw//Zi882XisC1g0zFInp7M64TywC0xPdIs6Pad9xcEmTr8uswAw7jxPTVaY -HZBlnKlbD7ZL0DN6s99/aFe0H3Tr9Hnd7TD+5vO6p8dsBmdOiOwpU23joQfynCKj -6nQaFIALHUhsy5SUU+doyvpzq1iGkVbf5DLu7VYvCkfy2JtTMLnvvIMb12aHr1ST -eBSjHXc+jqjcgdaIYZbKkpPOnq94UgrlcTYVFHGntnpdp5Wz8nKdb50lNO7YiHm2 -uoa0/Fmb5t3L+ixa0Jm7DSthyUp0BZp4aAIeB0UoEa/8mFT5FDqmY8YXNwSYrMth -Tq4MpfklqycFwLMuOsV7cdPGerMTN6xcLPeZ1K6JlSm9iVdXl+tUgX4tUsT/Qn6U -KiwHppjvwER4cZ/LA7k5pDEUmETa1P27G1IfbduT1oq5S9WjRP3/nuXp9z3BFYl+ -HlnKEC9i2Q6nPGX9DvrHiZrFLthyUlliTScfMasf0vT4hShRSgL/H5S8Wt6gt6jj -o0FHQsQbYQkx4saJX1GKoA+rZDH2RxtGiNQ64V8Sifbn0tTo81a3uHX0d29ZKFGe -JeJdh3lFJ0A6Vv4iZkL7PiWaRWX9KcEelD0TqQam9lYo3+YIA0UrziGXXlfIpD43 -1ThQaMt322CMfnoTMgL8H+QAubj0yJPUHAAZ2O87bR6m4Xt51k4= -=W3uR ------END PGP SIGNATURE----- diff --git a/drkonqi-5.25.90.tar.xz b/drkonqi-5.25.90.tar.xz new file mode 100644 index 0000000..f01ff8f --- /dev/null +++ b/drkonqi-5.25.90.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a39217a4a40621913b0ce4b98c66eafb5383b2f38f9c197e2b1b3b2db3ead878 +size 505392 diff --git a/drkonqi-5.25.90.tar.xz.sig b/drkonqi-5.25.90.tar.xz.sig new file mode 100644 index 0000000..e888d2f --- /dev/null +++ b/drkonqi-5.25.90.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmMjBrQACgkQ11dEg7tX +sY3RShAAkQ3qOQNwqDIN6qaPY1pHB0lhWr4zixgmKUJJ93grp1fmrv9SJvf6EGNV +veRVoZ5EDt9wp2Zr7saU2oXfIW/7WURkBAFUEQooo27rUFH6QBTd9qrpDgCCIBTc +yPVPl+dCFeWEq75+iPCQ+kFbNFyQgOGvM6zrPPLSIXyBGJQ0Ubo9tBg7bLIZ7Owf ++Bp44Ne2+mnYTdzyM+gDx7NZ69tnloPThhHD4GUFltS/RQlSypt2NLCL6hYvx3Nu +ZV/+NK2ycZGzX67LuwXCtGMe3fYBARv5ZC61ro5qsSnrjKv1/6oJXX0K+fM1eypO +ANoCDVGDBbWmQOmAYkQKQjp8axknaqJoaNJR6rkP4EFCiGa1AvZpp3WQCtfQtM6i +ZaJryT+iYdwLImJOJKT7ZB1Sb6UvrQNvAvXWPMLv5Wy0uOWFZq9le6+kLEJf2Bfs +5xDUv6UUZSBodSWX0zcHOAPCTvz7NXvtHmjfqYp3/+WIYLMotQ65qriCVCyX2Rr8 +PT+nY3n0Ne3t1ZWxh8/eGtQ3FHRaDtsUeVd2F/pKyDati2u+Y1rXyz5eg6AHKsKe +Xfqj0Bv5DoGh8iI++N1ZLHGG3ejHcKtfRG8lsXsLNTDi6yNJvNXcEWRBHiR+A/jn +CRA85DubdybgmK11g7yVn1CHO/p4Rm62EcRymHH0h7jofxpUqRA= +=E7jD +-----END PGP SIGNATURE----- diff --git a/drkonqi5.changes b/drkonqi5.changes index 2a07c50..ab18b7d 100644 --- a/drkonqi5.changes +++ b/drkonqi5.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Thu Sep 15 20:46:16 UTC 2022 - Fabian Vogt + +- Update to 5.25.90 + * New feature release + * For more details please see: + * https://kde.org/announcements/plasma/5/5.25.90 +- Changes since 5.25.5: + * kdbgwin: add missing override specifier + * Fix desktopFileName for coredump GUI + * handle debugpackageinstaller signals (kde#458435) + * Add mapping for akonadi_indexing_agent + * Add FreeBSD Qt6 CI support + * Add mapping for Akonadi Google Resource + * Remove duplicate headers between cpp/h + * Add missing license files + * typo-- (kde#457036) + * KMessageBox::sorry is deprecated in kf5.97 + * do not send auto-submissions if files were deleted + * sub is part of re not a member of string + * fixate the home dir + * fix bad property access + * allow saving the report in case of error (kde#456768) + * disable automatic sentry'ing when run in testing mode + * set default focuses (kde#456753) + * ensure we catch kwin_wayland dumps + * ignore KeyboardInterrupts + * Request passing unit tests on Linux and BSD + * add sentry support + * Fix variant comparison with Qt6 + * It's enabled by default in qt6 + * Drop bogus KConfigWidgets dep, add explicit KConfig dep + * remove wrong visibility toggle (kde#454927) + * coredump-gui: Show the app's icon name by the delegate + * allow navigating back to the mainpage (kde#453989) + * DeveloperPage: do not automatically hide Save and Copy actions + * DeveloperPage: Remove extra padding on the backtrace + ------------------------------------------------------------------- Tue Sep 6 16:55:29 UTC 2022 - Fabian Vogt diff --git a/drkonqi5.spec b/drkonqi5.spec index 68bdfec..01d21ba 100644 --- a/drkonqi5.spec +++ b/drkonqi5.spec @@ -16,27 +16,27 @@ # -%define kf5_version 5.58.0 +%define kf5_version 5.98.0 %bcond_without released Name: drkonqi5 # Full Plasma 5 version (e.g. 5.9.1) %{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}} # Latest ABI-stable Plasma (e.g. 5.8 in KF5, but 5.9.1 in KUF) %{!?_plasma5_version: %define _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')} -Version: 5.25.5 +Version: 5.25.90 Release: 0 Summary: Helper for debugging and reporting crashes License: GPL-2.0-or-later Group: Development/Tools/Debuggers URL: http://www.kde.org/ -Source: https://download.kde.org/stable/plasma/%{version}/drkonqi-%{version}.tar.xz +Source: https://download.kde.org/unstable/plasma/%{version}/drkonqi-%{version}.tar.xz %if %{with released} -Source1: https://download.kde.org/stable/plasma/%{version}/drkonqi-%{version}.tar.xz.sig +Source1: https://download.kde.org/unstable/plasma/%{version}/drkonqi-%{version}.tar.xz.sig Source2: plasma.keyring %endif # PATCHES 100-199 are from upstream 5.16 branch # PATCHES 200-299 and above are from upstream master/5.17+ branch -BuildRequires: extra-cmake-modules >= 1.8.0 +BuildRequires: extra-cmake-modules >= %{kf5_version} BuildRequires: cmake(KF5Completion) >= %{kf5_version} BuildRequires: cmake(KF5Config) >= %{kf5_version} BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version} @@ -53,13 +53,20 @@ BuildRequires: cmake(KF5Wallet) >= %{kf5_version} BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version} BuildRequires: cmake(KF5WindowSystem) >= %{kf5_version} BuildRequires: cmake(KF5XmlRpcClient) >= %{kf5_version} +# Only there to make it build, remove once upstream makes it optional +BuildRequires: cmake(KUserFeedback) BuildRequires: cmake(Qt5Concurrent) -BuildRequires: cmake(Qt5Core) >= 5.12.0 +BuildRequires: cmake(Qt5Core) >= 5.15.0 BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5Test) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5X11Extras) +BuildRequires: pkgconfig(libsystemd) +%if 0%{?suse_version} < 1550 +BuildRequires: gcc10-PIE +BuildRequires: gcc10-c++ +%endif # QML runtime dependencies (not detected automatically because the QML code is embedded as Qt Resource) # if kirigami2 is not installed, it falls back to the old QWidgets-based UI though and doesn't need them... Requires: (kdeclarative-components if kirigami2) @@ -70,6 +77,11 @@ Recommends: gdb # we want symbol install support Recommends: ptools Recommends: %{name}-lang +# In theory the coredump integration could be split into a subpackage +# and supplement systemd-coredump, but it's small enough to not be worth it. +# This however means there can't be any dependency on systemd-coredump, to +# not pull it in unconditionally. +%{?systemd_ordering} %description The KDE Crash Handler gives the user feedback if a program has crashed. @@ -80,6 +92,9 @@ The KDE Crash Handler gives the user feedback if a program has crashed. %setup -q -n drkonqi-%{version} %build +%if 0%{?suse_version} < 1550 + export CXX=g++-10 +%endif %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %cmake_build @@ -93,6 +108,21 @@ The KDE Crash Handler gives the user feedback if a program has crashed. install -p -D -m755 src/doc/examples/installdbgsymbols_suse.sh \ %{buildroot}%{_kf5_bindir}/installdbgsymbols.sh +%pre +%service_add_pre drkonqi-coredump-processor@.service + +%post +%{systemd_user_post drkonqi-coredump-cleanup.service drkonqi-coredump-cleanup.timer drkonqi-coredump-launcher.socket} +%service_add_post drkonqi-coredump-processor@.service + +%preun +%{systemd_user_preun drkonqi-coredump-cleanup.service drkonqi-coredump-cleanup.timer drkonqi-coredump-launcher.socket} +%service_del_preun drkonqi-coredump-processor@.service + +%postun +%{systemd_user_postun drkonqi-coredump-cleanup.service drkonqi-coredump-cleanup.timer drkonqi-coredump-launcher.socket} +%service_del_postun drkonqi-coredump-processor@.service + %files %license LICENSES/* %{_kf5_bindir}/installdbgsymbols.sh @@ -101,6 +131,19 @@ The KDE Crash Handler gives the user feedback if a program has crashed. %{_kf5_debugdir}/drkonqi.categories %{_libexecdir}/drkonqi +%{_kf5_bindir}/drkonqi-coredump-gui +%{_unitdir}/drkonqi-coredump-processor@.service +%{_userunitdir}/drkonqi-coredump-cleanup.service +%{_userunitdir}/drkonqi-coredump-cleanup.timer +%{_userunitdir}/drkonqi-coredump-launcher.socket +%{_userunitdir}/drkonqi-coredump-launcher@.service +%dir %{_kf5_plugindir}/drkonqi/ +%{_kf5_plugindir}/drkonqi/KDECoredumpNotifierTruck.so +%{_libexecdir}/drkonqi-coredump-cleanup +%{_libexecdir}/drkonqi-coredump-launcher +%{_libexecdir}/drkonqi-coredump-processor +%{_kf5_applicationsdir}/org.kde.drkonqi.coredump.gui.desktop + %if %{with released} %files lang -f %{name}.lang %endif