dragon: backport fix for compatibilty with KF 6.1.0

This commit is contained in:
Andreas Cord-Landwehr
2024-05-05 18:24:31 +02:00
parent 92e29b33c9
commit 7561d0d99f
3 changed files with 25 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ DEPENDS += " \
inherit cmake_kdeapp
inherit kf6-kcoreaddons
inherit kf6-kdoctools
inherit kf6-kconfig
inherit mime-xdg

View File

@@ -0,0 +1,23 @@
From 00082cc0fd090ae61424d89bd339e0d78cf4ea22 Mon Sep 17 00:00:00 2001
From: "Friedrich W. H. Kossebau" <kossebau@kde.org>
Date: Sun, 24 Mar 2024 18:31:53 +0100
Subject: [PATCH] Fix broken man page installation due to defunc variable
Deprecated MAN_INSTALL_DIR is no longer set with KF6-builds.
kdoctools_create_manpage though will just silently skip installing
if INSTALL_DESTINATION is an empty arg, and no-one noticed.
---
doc/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 6665610..67b1c6c 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,2 +1,2 @@
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en/ SUBDIR dragonplayer)
-kdoctools_create_manpage(man-dragon.1.docbook 1 INSTALL_DESTINATION ${MAN_INSTALL_DIR})
+kdoctools_create_manpage(man-dragon.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
--
2.40.1

View File

@@ -3,4 +3,5 @@
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/release-service/24.02.0/src/dragon-24.02.0.tar.xz"
SRC_URI += "file://0001-Fix-broken-man-page-installation-due-to-defunc-varia.patch"
SRC_URI[sha256sum] = "7631dd661229828d5dce22fe9c782c777183d0659deaf22cd67ed4b2ba0246db"