Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-kinit
0001-klauncher-generate-and-install-dbus-servic...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-klauncher-generate-and-install-dbus-service-file.patch of Package mingw64-kinit
From 032ef69d2bf7e59f578424d56ecf01f0478d51cc Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Tue, 9 Aug 2022 11:30:50 +0200 Subject: [PATCH] klauncher: generate and install dbus service file --- src/klauncher/CMakeLists.txt | 9 +++++++++ src/klauncher/klauncher.service.in | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 src/klauncher/klauncher.service.in diff --git a/src/klauncher/CMakeLists.txt b/src/klauncher/CMakeLists.txt index 5741e8d..326a767 100644 --- a/src/klauncher/CMakeLists.txt +++ b/src/klauncher/CMakeLists.txt @@ -23,6 +23,15 @@ qt5_add_dbus_adaptor(klauncher_SRCS ${KSlaveLauncher_DBUS_INTERFACE} klauncher.h # The adaptor is manually edited, generate the xml from it. qt5_generate_dbus_interface(klauncher_adaptor.h org.kde.KLauncher.xml) +if(WIN32) + set(NAME org.kde.klauncher5) + set(EXEC klauncher5) + configure_file(klauncher.service.in + ${CMAKE_CURRENT_BINARY_DIR}/org.kde.klauncher5.service) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.klauncher5.service + DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR}) +endif() + kf5_add_kdeinit_executable(klauncher NOGUI ${klauncher_SRCS}) set_target_properties(kdeinit_klauncher PROPERTIES DEFINE_SYMBOL MAKE_KLAUNCHER) target_link_libraries(kdeinit_klauncher diff --git a/src/klauncher/klauncher.service.in b/src/klauncher/klauncher.service.in new file mode 100644 index 0000000..b31ed7b --- /dev/null +++ b/src/klauncher/klauncher.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=@NAME@ +Exec=@EXEC@ -- 2.26.2
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