From 7037f53240e9befceba285372bb9864cba7ee6d3 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Oct 21 2016 15:20:12 +0000 Subject: pull in upstream DBus/startup fix --- diff --git a/0001-kcachegrind.desktop-X-DBUS-ServiceName-org.kde.kcach.patch b/0001-kcachegrind.desktop-X-DBUS-ServiceName-org.kde.kcach.patch new file mode 100644 index 0000000..1aff5df --- /dev/null +++ b/0001-kcachegrind.desktop-X-DBUS-ServiceName-org.kde.kcach.patch @@ -0,0 +1,25 @@ +From e5932b6d000894e7684a059759550e3ba4b40550 Mon Sep 17 00:00:00 2001 +From: Rex Dieter +Date: Fri, 21 Oct 2016 10:10:05 -0500 +Subject: [PATCH] kcachegrind.desktop: X-DBUS-ServiceName=org.kde.kcachegrind + +to match +kcachegrind/toplevel.h: Q_CLASSINFO("D-Bus Interface", "org.kde.kcachegrind") +--- + kcachegrind/kcachegrind.desktop | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kcachegrind/kcachegrind.desktop b/kcachegrind/kcachegrind.desktop +index 8df1ee1..569afac 100755 +--- a/kcachegrind/kcachegrind.desktop ++++ b/kcachegrind/kcachegrind.desktop +@@ -174,5 +174,5 @@ Comment[x-test]=xxVisualization of Performance Profiling Dataxx + Comment[zh_CN]=性能测试数据的可视化表现 + Comment[zh_TW]=效能分析資料視覺化 + X-DBUS-StartupType=Multi +-X-DBUS-ServiceName=io.github.kcachegrind ++X-DBUS-ServiceName=org.kde.kcachegrind + Categories=Qt;KDE;Development; +-- +2.7.4 + diff --git a/kcachegrind.spec b/kcachegrind.spec index 047377e..c88515a 100644 --- a/kcachegrind.spec +++ b/kcachegrind.spec @@ -1,7 +1,7 @@ Name: kcachegrind Summary: GUI to profilers such as Valgrind Version: 16.08.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 and GFDL URL: https://quickgit.kde.org/?p=%{name}.git @@ -14,7 +14,10 @@ URL: https://quickgit.kde.org/?p=%{name}.git %endif Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz -BuildRequires: desktop-file-utils +## upstream patches +Patch1: 0001-kcachegrind.desktop-X-DBUS-ServiceName-org.kde.kcach.patch + +BuildRequires: desktop-file-utils BuildRequires: kdelibs4-devel >= 4.14 BuildRequires: perl-generators @@ -25,8 +28,9 @@ Obsoletes: kdesdk-kcachegrind < 4.10.80 %description Browser for data produced by profiling tools (e.g. cachegrind) + %prep -%autosetup +%autosetup -p1 %build @@ -77,6 +81,9 @@ fi %changelog +* Fri Oct 21 2016 Rex Dieter - 16.08.2-2 +- pull in upstream DBus/startup fix + * Thu Oct 13 2016 Rex Dieter - 16.08.2-1 - 16.08.2