aboutsummaryrefslogtreecommitdiff
path: root/deskutils/zanshin
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-12-10 06:26:32 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-12-10 06:26:32 +0000
commit2c348825da717d6771688449161324e3864d0207 (patch)
tree733f521def88414d2ac8c17bdd1d247a61eb253b /deskutils/zanshin
parent937188af9d1a4dd7622b8aef33814345a6a9b73a (diff)
downloadports-2c348825da717d6771688449161324e3864d0207.tar.gz
ports-2c348825da717d6771688449161324e3864d0207.zip
KDE: Update KDE Gear to 21.12
KDE Gear 21.12 has landed and comes with a massive number of updates and new versions of applications and libraries. Literally, dozens of classic KDE everyday tools and the specialised sophisticated apps you use to work, be creative and play, are getting refreshers with design improvements, new features and performance and stability enhancements. What's new: https://kde.org/announcements/gear/21.12.0/#whatsnew Changelog: https://kde.org/announcements/changelogs/gear/21.12.0/
Diffstat (limited to 'deskutils/zanshin')
-rw-r--r--deskutils/zanshin/Makefile5
-rw-r--r--deskutils/zanshin/distinfo6
-rw-r--r--deskutils/zanshin/files/patch-git_4850c061
-rw-r--r--deskutils/zanshin/pkg-plist9
4 files changed, 12 insertions, 69 deletions
diff --git a/deskutils/zanshin/Makefile b/deskutils/zanshin/Makefile
index 26f3adb92ad5..51ba9e091982 100644
--- a/deskutils/zanshin/Makefile
+++ b/deskutils/zanshin/Makefile
@@ -1,7 +1,6 @@
PORTNAME= zanshin
-DISTVERSION= 0.5.71
-CATEGORIES= deskutils kde
-MASTER_SITES= KDE/stable/${PORTNAME}/
+DISTVERSION= ${KDE_APPLICATIONS_VERSION}
+CATEGORIES= deskutils kde kde-applications
MAINTAINER= kde@FreeBSD.org
COMMENT= Daily organizer for KDE
diff --git a/deskutils/zanshin/distinfo b/deskutils/zanshin/distinfo
index 33c4661d92cc..0e5e02bc9fe3 100644
--- a/deskutils/zanshin/distinfo
+++ b/deskutils/zanshin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1579292379
-SHA256 (zanshin-0.5.71.tar.xz) = b0933d2d9a63bba372966da0ba9e313b85ab2d6aa513a43657da90c65a33612c
-SIZE (zanshin-0.5.71.tar.xz) = 307872
+TIMESTAMP = 1638570927
+SHA256 (KDE/release-service/21.12.0/zanshin-21.12.0.tar.xz) = 97c5b8eed4bbabbe3b7e44801f71c97703ecaa331f0b2c73977c4911e0177a1d
+SIZE (KDE/release-service/21.12.0/zanshin-21.12.0.tar.xz) = 350888
diff --git a/deskutils/zanshin/files/patch-git_4850c0 b/deskutils/zanshin/files/patch-git_4850c0
deleted file mode 100644
index 30b747f6e58c..000000000000
--- a/deskutils/zanshin/files/patch-git_4850c0
+++ /dev/null
@@ -1,61 +0,0 @@
-https://invent.kde.org/pim/zanshin/-/commit/4850c08998b33b37af99c3312d193b063b3e8174.patch
-
-From 4850c08998b33b37af99c3312d193b063b3e8174 Mon Sep 17 00:00:00 2001
-From: David Faure <faure@kde.org>
-Date: Sat, 11 Apr 2020 17:36:25 +0200
-Subject: [PATCH] Port to kontactinterface >= 5.14.42, with ifdefs
-
----
- src/zanshin/kontact/kontact_plugin.cpp | 7 +++++++
- src/zanshin/kontact/kontact_plugin.h | 5 +++++
- 2 files changed, 12 insertions(+)
-
-diff --git a/src/zanshin/kontact/kontact_plugin.cpp b/src/zanshin/kontact/kontact_plugin.cpp
-index b03d9674..4b0d2f92 100644
---- src/zanshin/kontact/kontact_plugin.cpp
-+++ src/zanshin/kontact/kontact_plugin.cpp
-@@ -33,9 +33,16 @@ Plugin::Plugin(KontactInterface::Core *core, const QVariantList&)
- setComponentName(QStringLiteral("zanshin"), QStringLiteral("zanshin"));
- }
-
-+#if KONTACTINTERFACE_VERSION >= QT_VERSION_CHECK(5, 14, 42)
-+KParts::Part *Plugin::createPart()
-+{
-+ return loadPart();
-+}
-+#else
- KParts::ReadOnlyPart *Plugin::createPart()
- {
- return loadPart();
- }
-+#endif
-
- #include "kontact_plugin.moc"
-diff --git a/src/zanshin/kontact/kontact_plugin.h b/src/zanshin/kontact/kontact_plugin.h
-index 0d45564e..a270ba16 100644
---- src/zanshin/kontact/kontact_plugin.h
-+++ src/zanshin/kontact/kontact_plugin.h
-@@ -25,6 +25,7 @@
- #define ZANSHIN_KONTACT_PLUGIN_H
-
- #include <KontactInterface/Plugin>
-+#include <kontactinterface_version.h>
-
- class Plugin : public KontactInterface::Plugin
- {
-@@ -36,7 +37,11 @@ public:
- int weight() const override { return 449; }
-
- protected:
-+#if KONTACTINTERFACE_VERSION >= QT_VERSION_CHECK(5, 14, 42)
-+ KParts::Part *createPart() override;
-+#else
- KParts::ReadOnlyPart *createPart() override;
-+#endif
- };
-
- #endif
---
-GitLab
-
-
diff --git a/deskutils/zanshin/pkg-plist b/deskutils/zanshin/pkg-plist
index b5ac75edcf63..79b0e7cf7eaa 100644
--- a/deskutils/zanshin/pkg-plist
+++ b/deskutils/zanshin/pkg-plist
@@ -1,8 +1,8 @@
bin/zanshin
bin/zanshin-migrator
-%%QT_PLUGINDIR%%/kontact_zanshinplugin.so
%%QT_PLUGINDIR%%/krunner_zanshin.so
%%QT_PLUGINDIR%%/zanshin_part.so
+%%QT_PLUGINDIR%%/kontact5/kontact_zanshinplugin.so
share/applications/org.kde.zanshin.desktop
share/icons/hicolor/128x128/apps/zanshin.png
share/icons/hicolor/256x256/apps/zanshin.png
@@ -22,18 +22,22 @@ share/locale/de/LC_MESSAGES/zanshin.mo
share/locale/en_GB/LC_MESSAGES/zanshin.mo
share/locale/es/LC_MESSAGES/zanshin.mo
share/locale/et/LC_MESSAGES/zanshin.mo
+share/locale/eu/LC_MESSAGES/zanshin.mo
share/locale/fi/LC_MESSAGES/zanshin.mo
share/locale/fr/LC_MESSAGES/zanshin.mo
share/locale/ga/LC_MESSAGES/zanshin.mo
share/locale/gl/LC_MESSAGES/zanshin.mo
share/locale/hu/LC_MESSAGES/zanshin.mo
+share/locale/ia/LC_MESSAGES/zanshin.mo
share/locale/it/LC_MESSAGES/zanshin.mo
+share/locale/ja/LC_MESSAGES/zanshin.mo
share/locale/ko/LC_MESSAGES/zanshin.mo
share/locale/lt/LC_MESSAGES/zanshin.mo
share/locale/mr/LC_MESSAGES/zanshin.mo
share/locale/nb/LC_MESSAGES/zanshin.mo
share/locale/nds/LC_MESSAGES/zanshin.mo
share/locale/nl/LC_MESSAGES/zanshin.mo
+share/locale/nn/LC_MESSAGES/zanshin.mo
share/locale/pl/LC_MESSAGES/zanshin.mo
share/locale/pt/LC_MESSAGES/zanshin.mo
share/locale/pt_BR/LC_MESSAGES/zanshin.mo
@@ -45,4 +49,5 @@ share/locale/tr/LC_MESSAGES/zanshin.mo
share/locale/ug/LC_MESSAGES/zanshin.mo
share/locale/uk/LC_MESSAGES/zanshin.mo
share/locale/zh_CN/LC_MESSAGES/zanshin.mo
-share/metainfo/org.kde.zanshin.appdata.xml
+share/locale/zh_TW/LC_MESSAGES/zanshin.mo
+share/metainfo/org.kde.zanshin.metainfo.xml