diff --git a/community/plasma-workspace/0001-fix-kcmfontinst-install-destination.patch b/community/plasma-workspace/0001-fix-kcmfontinst-install-destination.patch new file mode 100644 index 0000000000000000000000000000000000000000..661376a189db964b2844d135d33232bb2e2c1e49 --- /dev/null +++ b/community/plasma-workspace/0001-fix-kcmfontinst-install-destination.patch @@ -0,0 +1,33 @@ +From f90d4d5548dfe2d75e83b8da91af9be0e261286b 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.1 +(cherry picked from commit 81ae7f8e28389edcd08e247498c5ee9ad4977f83) +--- + 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} ) + +-- +GitLab + diff --git a/community/plasma-workspace/APKBUILD b/community/plasma-workspace/APKBUILD index dc4659872cb633af32c86a2659c8c5bc60d37fce..1ecf62db68b7fe5ded9d48ee71bc459c7d317f47 100644 --- a/community/plasma-workspace/APKBUILD +++ b/community/plasma-workspace/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=plasma-workspace pkgver=5.22.0 -pkgrel=0 +pkgrel=1 pkgdesc="KDE Plasma Workspace" # armhf blocked by kirigami2 # s390x blocked by kactivitymanagerd @@ -76,7 +76,9 @@ case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac -source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-workspace-$pkgver.tar.xz" +source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-workspace-$pkgver.tar.xz + 0001-fix-kcmfontinst-install-destination.patch + " subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang" replaces="plasma-desktop<5.22" @@ -105,4 +107,5 @@ package() { } sha512sums=" fb57dde0ae5f774cb782ab305a526ce22404972197d531a2c5e6972eb6400d57b99a7ce397fd417c0c42c8de58f4c06d9e9771b64eb94f501987da910054f4af plasma-workspace-5.22.0.tar.xz +23ae68ad8b70e5709f8e185d021d552990a6be5b252e8358cdd7aa3834bf79afb2b2a9970bf33a0bd5a7801591e635f8490c8458ae8d24d636fc64d607bb3159 0001-fix-kcmfontinst-install-destination.patch "