Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.3:Update
amarok.17538
0001-Add-DBus-service-file-to-actually-make-it-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Add-DBus-service-file-to-actually-make-it-activatabl.patch of Package amarok.17538
From ed990fd2b451d58dee287733c724e31aa2f8db16 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <fabian@ritter-vogt.de> Date: Thu, 24 Feb 2022 11:20:06 +0100 Subject: [PATCH] Add DBus service file to actually make it activatable org.kde.amarok.desktop specifies DBusActivatable=true, but that only worked if amarok was already running. Install a service file to make it actually activatable. --- src/CMakeLists.txt | 3 +++ src/dbus/org.kde.amarok.service.in | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 src/dbus/org.kde.amarok.service.in diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index eac57e0..1482ece 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -954,6 +954,9 @@ install(FILES dbus/org.kde.amarok.App.xml dbus/org.kde.amarok.Collection.xml dbus/mpris2/org.kde.amarok.Mpris2Extensions.Player.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR}) +configure_file(dbus/org.kde.amarok.service.in ${CMAKE_CURRENT_BINARY_DIR}/dbus/org.kde.amarok.service @ONLY) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dbus/org.kde.amarok.service + DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR}) install(FILES services/InfoParserLoading.html browsers/hover_info_template.html diff --git a/src/dbus/org.kde.amarok.service.in b/src/dbus/org.kde.amarok.service.in new file mode 100644 index 0000000..25953ce --- /dev/null +++ b/src/dbus/org.kde.amarok.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.kde.amarok +Exec=@KDE_INSTALL_FULL_BINDIR@/amarok -- 2.36.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor