epel9
Rex Dieter 4 years ago
parent 0fae094a02
commit 24225691fe

1
.gitignore vendored

@ -63,3 +63,4 @@
/khotkeys-5.21.3.tar.xz /khotkeys-5.21.3.tar.xz
/khotkeys-5.21.4.tar.xz /khotkeys-5.21.4.tar.xz
/khotkeys-5.21.5.tar.xz /khotkeys-5.21.5.tar.xz
/khotkeys-5.21.90.tar.xz

@ -1,11 +0,0 @@
--- khotkeys-5.18.90/kcm_hotkeys/actions/dbus_action_widget.cpp.orig 2020-05-18 15:10:17.524706213 +0200
+++ khotkeys-5.18.90/kcm_hotkeys/actions/dbus_action_widget.cpp 2020-05-18 15:10:33.047714522 +0200
@@ -117,7 +117,7 @@
void DbusActionWidget::launchDbusBrowser() const
{
- auto *job = new KIO::CommandLauncherJob("qdbusviewer");
+ auto *job = new KIO::CommandLauncherJob("qdbusviewer-qt5");
job->setUiDelegate(new KDialogJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, window()));
job->start();
}

@ -1,21 +1,19 @@
diff --git a/libkhotkeysprivate/actions/dbus_action.cpp b/libkhotkeysprivate/actions/dbus_action.cpp diff -up khotkeys-5.21.90/libkhotkeysprivate/actions/dbus_action.cpp.101 khotkeys-5.21.90/libkhotkeysprivate/actions/dbus_action.cpp
index 0a7a1a1..b1b8a74 100644 --- khotkeys-5.21.90/libkhotkeysprivate/actions/dbus_action.cpp.101 2021-05-15 08:36:12.713568004 -0500
--- a/libkhotkeysprivate/actions/dbus_action.cpp +++ khotkeys-5.21.90/libkhotkeysprivate/actions/dbus_action.cpp 2021-05-15 08:37:00.916992469 -0500
+++ b/libkhotkeysprivate/actions/dbus_action.cpp @@ -106,7 +106,7 @@ void DBusAction::execute()
@@ -133,7 +133,7 @@ void DBusAction::execute() }
}
qDebug() << "D-Bus call:" << _application << ":" << _object << ":" << _function << ":" << args_list; qDebug() << "D-Bus call:" << _application << ":" << _object << ":" << _function << ":" << args_list;
KProcess proc; KProcess proc;
- proc << "qdbus" << _application << _object << _function << args_list; - proc << "qdbus" << _application << _object << _function << args_list;
+ proc << "qdbus-qt5" << _application << _object << _function << args_list; + proc << "qdbus-qt5" << _application << _object << _function << args_list;
proc.startDetached(); proc.startDetached();
} }
diff --git a/test/main.cpp b/test/main.cpp diff -up khotkeys-5.21.90/test/main.cpp.101 khotkeys-5.21.90/test/main.cpp
index 20409db..e6b7453 100644 --- khotkeys-5.21.90/test/main.cpp.101 2021-05-13 08:07:53.000000000 -0500
--- a/test/main.cpp +++ khotkeys-5.21.90/test/main.cpp 2021-05-15 08:36:12.714568013 -0500
+++ b/test/main.cpp @@ -16,7 +16,7 @@ int main(int argc, char **argv)
@@ -16,7 +16,7 @@ int main(int argc, char** argv)
if (reply.value().contains("khotkeys")) { if (reply.value().contains("khotkeys")) {
qDebug() << "The khotkeys module is already running."; qDebug() << "The khotkeys module is already running.";
qDebug() << "To unload it run:"; qDebug() << "To unload it run:";

@ -0,0 +1,12 @@
diff -up khotkeys-5.21.90/kcm_hotkeys/actions/dbus_action_widget.cpp.100 khotkeys-5.21.90/kcm_hotkeys/actions/dbus_action_widget.cpp
--- khotkeys-5.21.90/kcm_hotkeys/actions/dbus_action_widget.cpp.100 2021-05-15 08:34:27.568642146 -0500
+++ khotkeys-5.21.90/kcm_hotkeys/actions/dbus_action_widget.cpp 2021-05-15 08:35:11.083025319 -0500
@@ -79,7 +79,7 @@ bool DbusActionWidget::isChanged() const
void DbusActionWidget::launchDbusBrowser() const
{
- auto *job = new KIO::CommandLauncherJob("qdbusviewer");
+ auto *job = new KIO::CommandLauncherJob("qdbusviewer-qt5");
job->setUiDelegate(new KDialogJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, window()));
job->start();
}

@ -1,12 +1,10 @@
%undefine __cmake_in_source_build
Name: khotkeys Name: khotkeys
Version: 5.21.5 Version: 5.21.90
Release: 1%{?dist} Release: 1%{?dist}
Summary: Application to configure hotkeys in KDE Summary: Application to configure hotkeys in KDE
License: GPLv2+ License: GPLv2+
URL: https://cgit.kde.org/%{name}.git URL: https://invent.kde.org/plasma/%{name}
%global revision %(echo %{version} | cut -d. -f3) %global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50 %if %{revision} >= 50
@ -18,10 +16,10 @@ Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{ve
## downstream patches ## downstream patches
# kcm_hotkeys, use qdbusviewer-qt5, see also http://bugs.kde.org/329094 # kcm_hotkeys, use qdbusviewer-qt5, see also http://bugs.kde.org/329094
Patch100: khotkeys-5.18.90-qdbusviewer-qt5.patch Patch100: khotkeys-5.21.90-qdbusviewer-qt5.patch
# use qdbus-qt5 instead of hard-coding (unpathed) qdbus # use qdbus-qt5 instead of hard-coding (unpathed) qdbus
# FIXME: make upstreamable # FIXME: make upstreamable
Patch101: khotkeys-5.14.4-qdbus-qt5.patch Patch101: khotkeys-5.21.90-qdbus-qt5.patch
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: kf5-kcmutils-devel BuildRequires: kf5-kcmutils-devel
@ -72,13 +70,9 @@ developing applications that use %{name}.
%build %build
%{cmake_kf5} %cmake_kf5
%cmake_build
# hack around FTBFS: %cmake_build
# make[2]: *** No rule to make target 'app/org.kde.khotkeys.xml', needed by 'kcm_hotkeys/khotkeys_interface.cpp'. Stop.
#make_build -C %{_target_platform}/app
#make_build -C %{_target_platform}
%install %install
@ -103,6 +97,9 @@ developing applications that use %{name}.
%changelog %changelog
* Sat May 15 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.21.90-1
- 5.21.90
* Tue May 04 2021 Jan Grulich <jgrulich@redhat.com> - 5.21.5-1 * Tue May 04 2021 Jan Grulich <jgrulich@redhat.com> - 5.21.5-1
- 5.21.5 - 5.21.5

@ -1 +1 @@
SHA512 (khotkeys-5.21.5.tar.xz) = 16409a928af050278dda012150e969b60617a66aa000cbb722781788defb02268ac56ef521916e55f257e4b166df8ddffcf14c9c35b49410a79491f197b4aef5 SHA512 (khotkeys-5.21.90.tar.xz) = 3c0dd27abbb86f9ed12abfd674e212b5e2901a0be097dddb7addfb826cfb51c1b6125d606f6228c2f2159a73239c6a4136627b5d7f6c4943cda682ad9b5c5854

Loading…
Cancel
Save