summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/calendarjanitor/calendarjanitor-9999.ebuild2
-rw-r--r--kde-apps/calendarjanitor/files/calendarjanitor-25.07.70-loggingcategory.patch41
2 files changed, 42 insertions, 1 deletions
diff --git a/kde-apps/calendarjanitor/calendarjanitor-9999.ebuild b/kde-apps/calendarjanitor/calendarjanitor-9999.ebuild
index 36cf1a11d5f..25dad556c88 100644
--- a/kde-apps/calendarjanitor/calendarjanitor-9999.ebuild
+++ b/kde-apps/calendarjanitor/calendarjanitor-9999.ebuild
@@ -31,7 +31,7 @@ RDEPEND="${DEPEND}
>=kde-apps/akonadi-calendar-tools-common-${PV}
"
-PATCHES=( "${FILESDIR}/${PN}-24.05.2-loggingcategory.patch" )
+PATCHES=( "${FILESDIR}/${PN}-25.07.70-loggingcategory.patch" )
src_prepare() {
ecm_src_prepare
diff --git a/kde-apps/calendarjanitor/files/calendarjanitor-25.07.70-loggingcategory.patch b/kde-apps/calendarjanitor/files/calendarjanitor-25.07.70-loggingcategory.patch
new file mode 100644
index 00000000000..5783c43525f
--- /dev/null
+++ b/kde-apps/calendarjanitor/files/calendarjanitor-25.07.70-loggingcategory.patch
@@ -0,0 +1,41 @@
+From 764311465d84f07602ca357a4133b850d0b0ac16 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Mon, 12 Aug 2024 16:02:27 +0200
+Subject: [PATCH] Move ecm_qt_install_logging_categories to konsolekalendar
+ subdir
+
+None is declared in calendarjanitor.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -82,12 +82,6 @@ endif()
+ add_subdirectory(calendarjanitor)
+ add_subdirectory(konsolekalendar)
+
+-ecm_qt_install_logging_categories(
+- EXPORT AKONADICALENDARTOOLS
+- FILE console.categories
+- DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
+- )
+-
+ kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
+
+ ki18n_install(po)
+--- a/konsolekalendar/CMakeLists.txt
++++ b/konsolekalendar/CMakeLists.txt
+@@ -44,6 +44,11 @@ target_link_libraries(konsolekalendar
+
+ install(TARGETS konsolekalendar ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
+
++ecm_qt_install_logging_categories(
++ EXPORT AKONADICALENDARTOOLS
++ FILE console.categories
++ DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR}
++ )
+
+ ########### install files ###############
+
+--
+2.49.0
+