commit: 9823b924b20553f9ba5f77cf49ac3e11c61b18a0 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Mar 16 10:34:45 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Mar 16 10:39:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9823b924
app-office/calligraplan: treeclean Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-office/calligraplan/Manifest | 1 - .../calligraplan/calligraplan-3.3.0-r1.ebuild | 91 -------------- .../files/calligraplan-3.3.0-no-kinit.patch | 134 --------------------- app-office/calligraplan/metadata.xml | 20 --- profiles/package.mask | 4 +- 5 files changed, 1 insertion(+), 249 deletions(-) diff --git a/app-office/calligraplan/Manifest b/app-office/calligraplan/Manifest deleted file mode 100644 index 3ce12fd9cd1c..000000000000 --- a/app-office/calligraplan/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST calligraplan-3.3.0.tar.xz 4500032 BLAKE2B 48983bcaad5f8bc60a9e689ab9347731eda6c82eae248df50fa3cdf4a2d9c1882a5f44cda503dcb7ba65452da874256ce4ec3ff2348cf0acd65a9b8a83b63aed SHA512 165bb1d846e8ac96789b5123bd8e352ad77a4ae607d7e06008916f7729a457351c35779b43774f73a6a35bf9401626852cb4dd2ccf16cbcfb38d2abce56bd936 diff --git a/app-office/calligraplan/calligraplan-3.3.0-r1.ebuild b/app-office/calligraplan/calligraplan-3.3.0-r1.ebuild deleted file mode 100644 index 79b9a52b5fff..000000000000 --- a/app-office/calligraplan/calligraplan-3.3.0-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -ECM_TEST="forceoptional" -KFMIN=5.106.0 -QTMIN=5.15.9 -inherit ecm kde.org - -DESCRIPTION="Project management application" -HOMEPAGE="https://calligra.org/plan/" - -if [[ ${KDE_BUILD_TYPE} == release ]]; then - SRC_URI="mirror://kde/stable/calligra/${PV}/${PN}-${PV}.tar.xz" - KEYWORDS="amd64 ~arm64 ~riscv x86" -fi - -LICENSE="GPL-2" -SLOT="5" -IUSE="activities +holidays kwallet X" - -RESTRICT="test" - -# FIXME: Disabled by upstream for good reason -# Crashes (https://bugs.kde.org/show_bug.cgi?id=311940) -# $(add_kdeapps_dep akonadi) -# $(add_kdeapps_dep akonadi-contacts) -# Currently upstream-disabled: -# =dev-libs/kproperty-3.0*:5 -# =dev-libs/kreport-3.0*:5 -DEPEND=" - dev-lang/perl - >=dev-libs/kdiagram-2.8.0:5 - >=dev-qt/designer-${QTMIN}:5 - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtprintsupport-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - >=dev-qt/qtxml-${QTMIN}:5 - >=kde-frameworks/karchive-${KFMIN}:5 - >=kde-frameworks/kcalendarcore-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kdbusaddons-${KFMIN}:5 - >=kde-frameworks/kglobalaccel-${KFMIN}:5 - >=kde-frameworks/kguiaddons-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/kitemmodels-${KFMIN}:5 - >=kde-frameworks/kitemviews-${KFMIN}:5 - >=kde-frameworks/kjobwidgets-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/kparts-${KFMIN}:5 - >=kde-frameworks/kservice-${KFMIN}:5 - >=kde-frameworks/ktextwidgets-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kwindowsystem-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - activities? ( >=kde-plasma/plasma-activities-${KFMIN}:5 ) - holidays? ( >=kde-frameworks/kholidays-${KFMIN}:5 ) - kwallet? ( - >=app-crypt/qca-2.3.0:2[qt5(+)] - >=kde-frameworks/kwallet-${KFMIN}:5 - ) - X? ( - >=dev-qt/qtx11extras-${QTMIN}:5 - x11-libs/libX11 - ) -" -RDEPEND="${DEPEND} - !app-office/calligra[calligra_features_plan(-)] - >=dev-qt/qtsvg-${QTMIN}:5 -" - -PATCHES=( "${FILESDIR}/${P}-no-kinit.patch" ) # bug 922506 - -src_configure() { - local mycmakeargs=( - $(cmake_use_find_package activities KF5Activities) - $(cmake_use_find_package holidays KF5Holidays) - $(cmake_use_find_package kwallet Qca-qt5) - $(cmake_use_find_package kwallet KF5Wallet) - ) - # Qt5DBus can't be disabled because of KF5DBusAddons dependency - - ecm_src_configure -} diff --git a/app-office/calligraplan/files/calligraplan-3.3.0-no-kinit.patch b/app-office/calligraplan/files/calligraplan-3.3.0-no-kinit.patch deleted file mode 100644 index 16ee6b1e09a4..000000000000 --- a/app-office/calligraplan/files/calligraplan-3.3.0-no-kinit.patch +++ /dev/null @@ -1,134 +0,0 @@ -From 1883014daa5ae1dedf4d9356dbdaafd4d9d3014f Mon Sep 17 00:00:00 2001 -From: Nicolas Fella <nicolas.fe...@gmx.de> -Date: Sat, 17 Sep 2022 17:11:05 +0200 -Subject: [PATCH] Port away from deprecated kinit - -(cherry picked from commit d0c9c05bfb1d1eae6b1d92ac7d5a22ed5238329f) ---- - CMakeLists.txt | 1 - - src/CMakeLists.txt | 11 ++++------- - src/main.cpp | 2 +- - src/workpackage/CMakeLists.txt | 10 +++------- - src/workpackage/main.cpp | 2 +- - 5 files changed, 9 insertions(+), 17 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 70025827..a354e4a0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -112,7 +112,6 @@ set(REQUIRED_KF5_VERSION "5.45.0") - - find_package(KF5 ${REQUIRED_KF5_VERSION} REQUIRED - COMPONENTS -- Init - Archive - # Codecs - # Completion -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 3c77e9f4..755863a2 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -207,7 +207,7 @@ install(TARGETS calligraplanpart DESTINATION ${PLUGIN_INSTALL_DIR}/calligraplan/ - - ########### KPlato executable ############### - --set(calligraplan_KDEINIT_SRCS main.cpp ) -+set(calligraplan_SRCS main.cpp ) - - file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/*-apps-calligraplan.png") - ecm_add_app_icon(kdeinit_app_ICONS_SRCS ICONS ${ICONS_SRCS}) -@@ -215,20 +215,17 @@ if(WIN32) - set(_resourcefile "${CMAKE_CURRENT_BINARY_DIR}/kdeinit_app_ICONS_SRCS.rc") - endif() - --kf5_add_kdeinit_executable( calligraplan ${calligraplan_KDEINIT_SRCS}) -+add_executable( calligraplan ${calligraplan_SRCS}) - - if (APPLE) - set_target_properties(calligraplan PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template) - set_target_properties(calligraplan PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.calligra.plan") - set_target_properties(calligraplan PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Plan") -- install( FILES ${CMAKE_CURRENT_BINARY_DIR}/calligraplan_KDEINIT_SRCS.icns DESTINATION ${BUNDLE_INSTALL_DIR}/calligraplan.app/Contents/Resources) -+ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/calligraplan_SRCS.icns DESTINATION ${BUNDLE_INSTALL_DIR}/calligraplan.app/Contents/Resources) - endif () - --target_link_libraries(kdeinit_calligraplan planmain) -+target_link_libraries(calligraplan planmain) - --install(TARGETS kdeinit_calligraplan ${INSTALL_TARGETS_DEFAULT_ARGS}) -- --target_link_libraries(calligraplan kdeinit_calligraplan planmain) - install(TARGETS calligraplan ${INSTALL_TARGETS_DEFAULT_ARGS}) - - ########### install files ############### -diff --git a/src/main.cpp b/src/main.cpp -index 3b807381..64ae2e8f 100644 ---- a/src/main.cpp -+++ b/src/main.cpp -@@ -27,7 +27,7 @@ - #include <QApplication> - #include <QLoggingCategory> - --extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) -+int main(int argc, char **argv) - { - /** - * Disable debug output by default, only log warnings. -diff --git a/src/workpackage/CMakeLists.txt b/src/workpackage/CMakeLists.txt -index 9072ebad..808646d9 100644 ---- a/src/workpackage/CMakeLists.txt -+++ b/src/workpackage/CMakeLists.txt -@@ -77,7 +77,7 @@ install(TARGETS calligraplanworkpart DESTINATION ${PLUGIN_INSTALL_DIR}) - - ########### Calligra PlanWork executable ############### - --set(calligraplanwork_KDEINIT_SRCS main.cpp commandlineparser.cpp) -+set(calligraplanwork_SRCS main.cpp commandlineparser.cpp) - - file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/*-apps-calligraplanwork.png") - ecm_add_app_icon(kdeinit_app_ICONS_SRCS ICONS ${ICONS_SRCS}) -@@ -85,7 +85,7 @@ if(WIN32) - set(_resourcefile "${CMAKE_CURRENT_BINARY_DIR}/kdeinit_app_ICONS_SRCS.rc") - endif() - --kf5_add_kdeinit_executable(calligraplanwork ${calligraplanwork_KDEINIT_SRCS}) -+add_executable(calligraplanwork ${calligraplanwork_SRCS}) - - if (APPLE) - set_target_properties(calligraplanwork PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.template) -@@ -94,7 +94,7 @@ if (APPLE) - endif () - - target_link_libraries( -- kdeinit_calligraplanwork -+ calligraplanwork - - planworkfactory - plankernel -@@ -105,10 +105,6 @@ target_link_libraries( - KF5::DBusAddons - ) - --install(TARGETS kdeinit_calligraplanwork ${INSTALL_TARGETS_DEFAULT_ARGS}) -- --target_link_libraries( calligraplanwork kdeinit_calligraplanwork ) -- - install(TARGETS calligraplanwork ${INSTALL_TARGETS_DEFAULT_ARGS}) - - ########### install files ############### -diff --git a/src/workpackage/main.cpp b/src/workpackage/main.cpp -index 12af06e1..56c0be4f 100644 ---- a/src/workpackage/main.cpp -+++ b/src/workpackage/main.cpp -@@ -29,7 +29,7 @@ - - #include <Calligra2Migration.h> - --extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) -+int main(int argc, char **argv) - { - QApplication app(argc, argv); - #ifdef Q_OS_MACOS --- -2.43.0 - diff --git a/app-office/calligraplan/metadata.xml b/app-office/calligraplan/metadata.xml deleted file mode 100644 index 450be54503c9..000000000000 --- a/app-office/calligraplan/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>k...@gentoo.org</email> - <name>Gentoo KDE Project</name> - </maintainer> - <maintainer type="project"> - <email>off...@gentoo.org</email> - <name>Gentoo Office project</name> - </maintainer> - <upstream> - <bugs-to>https://bugs.kde.org/</bugs-to> - </upstream> - <use> - <flag name="activities">Enable kactivities support</flag> - <flag name="holidays">Enable <pkg>kde-frameworks/kholidays</pkg> integration</flag> - <flag name="kwallet">Enable access to encrypted OpenDocument files with <pkg>kde-frameworks/kwallet</pkg> storage</flag> - </use> -</pkgmetadata> diff --git a/profiles/package.mask b/profiles/package.mask index c93fd8e9ad80..e4a3e27a403a 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -213,10 +213,8 @@ dev-python/pyside6-tools sci-electronics/eagle # Andreas Sturmlechner <ast...@gentoo.org> (2025-02-16) -# KF5/Qt5 based and no signs of porting or even life upstream. -# kde-frameworks/kcalendarcore:5 has no more revdeps after this. +# kde-frameworks/kcalendarcore:5 has no more revdeps. # Removal on 2025-03-16. -app-office/calligraplan kde-frameworks/kcalendarcore:5 # Andreas K. Hüttel <dilfri...@gentoo.org> (2025-02-16)