- Add patch to fix the font management KCM (kde#436306): * 0001-Fix-kcmfontinst-install-destination.patch OBS-URL: https://build.opensuse.org/request/show/896272 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=591
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From 5aae31b1eab0d9f5aefa39cbf79772e1baf71c3b Mon Sep 17 00:00:00 2001
|
|
From: Ahmad Samir <a.samirh78@gmail.com>
|
|
Date: Sun, 30 May 2021 18:00:26 +0200
|
|
Subject: [PATCH] Fix kcmfontinst install destination
|
|
|
|
This reverts part of a8ec95411a9f6, KCModuleLoader can't load kcm_fontinst
|
|
if the library is installed in KDE_INSTALL_PLUGINDIR/kcms/; looks like that
|
|
only works for KCMs using QML.
|
|
|
|
BUG: 436306
|
|
FIXED-IN: 5.22.0
|
|
---
|
|
kcms/kfontinst/kcmfontinst/CMakeLists.txt | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/kcms/kfontinst/kcmfontinst/CMakeLists.txt b/kcms/kfontinst/kcmfontinst/CMakeLists.txt
|
|
index fca680926..99dbbd311 100644
|
|
--- a/kcms/kfontinst/kcmfontinst/CMakeLists.txt
|
|
+++ b/kcms/kfontinst/kcmfontinst/CMakeLists.txt
|
|
@@ -18,8 +18,7 @@ target_link_libraries(kcm_fontinst
|
|
X11::X11
|
|
)
|
|
|
|
-set_target_properties(kcm_fontinst PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/kcms")
|
|
-install(TARGETS kcm_fontinst DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
|
|
+install(TARGETS kcm_fontinst DESTINATION ${KDE_INSTALL_PLUGINDIR})
|
|
install( FILES fontinst.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
|
|
install( FILES kfontinst.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
|
|
|
|
--
|
|
2.25.1
|
|
|