diff --git a/desktop/kde/applications/akonadi-calendar-tools/actions.py b/desktop/kde/applications/akonadi-calendar-tools/actions.py index 83172376f4..dc7d4ed6e8 100755 --- a/desktop/kde/applications/akonadi-calendar-tools/actions.py +++ b/desktop/kde/applications/akonadi-calendar-tools/actions.py @@ -3,18 +3,18 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt -from pisi.actionsapi import kde5 +from pisi.actionsapi import kde6 from pisi.actionsapi import pisitools def setup(): - kde5.configure() + kde6.configure() def build(): - kde5.make() + kde6.make() def install(): - kde5.install() + kde6.install() pisitools.dodoc("LICENSES/*") diff --git a/desktop/kde/applications/akonadi-calendar-tools/files/qt5.patch b/desktop/kde/applications/akonadi-calendar-tools/files/qt5.patch index ffe62b987d..1612503cf4 100755 --- a/desktop/kde/applications/akonadi-calendar-tools/files/qt5.patch +++ b/desktop/kde/applications/akonadi-calendar-tools/files/qt5.patch @@ -5,8 +5,8 @@ diff -Nuar a/CMakeLists.txt b/CMakeLists.txt set(KDEPIM_LIB_VERSION "${KDEPIM_VERSION_NUMBER}") set(KDEPIM_LIB_SOVERSION "5") --set(QT_REQUIRED_VERSION "5.8.0") -+set(QT_REQUIRED_VERSION "5.7.1") +-set(QT_REQUIRED_VERSION "6.6.3") ++set(QT_REQUIRED_VERSION "6.6.3") find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets) diff --git a/desktop/kde/applications/akonadi-calendar-tools/pspec.xml b/desktop/kde/applications/akonadi-calendar-tools/pspec.xml index 2388c5d151..ac54b6628e 100755 --- a/desktop/kde/applications/akonadi-calendar-tools/pspec.xml +++ b/desktop/kde/applications/akonadi-calendar-tools/pspec.xml @@ -1,3 +1,4 @@ + @@ -11,31 +12,27 @@ GPLv2 CLI tools to manage akonadi calendars CLI tools to manage akonadi calendars - https://download.kde.org/stable/release-service/23.08.5/src/akonadi-calendar-tools-23.08.5.tar.xz + https://download.kde.org/stable/release-service/24.12.1/src/akonadi-calendar-tools-24.12.1.tar.xz boost-devel - akonadi-devel - akonadi-calendar-devel + akonadi-devel + akonadi-calendar-devel extra-cmake-modules - kdesignerplugin kdoctools-devel - qt5-base-devel + qt6-base-devel kcompletion-devel kxmlgui-devel kitemmodels-devel kcontacts-devel kcalendarcore-devel - kdelibs4-support-devel - kemoticons-devel - kinit-devel kunitconversion-devel - akonadi-contacts-devel - kcalutils-devel - libkdepim-devel - calendarsupport-devel - kmime-devel - kidentitymanagement-devel - akonadi-notes-devel + akonadi-contacts-devel + kcalutils-devel + libkdepim-devel + calendarsupport-devel + kmime-devel + kidentitymanagement-devel + @@ -51,12 +48,11 @@ akonadi kconfig kcalendarcore - qt5-base + qt6-base kcalutils kcoreaddons calendarsupport akonadi-calendar - kdelibs4-support akonadi-notes @@ -65,351 +61,18 @@ /usr/share /usr/share/doc + + akonadi-calendar-tools-kf6 + - - 2024-02-17 - 23.08.5 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-12-07 - 23.08.4 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-10-27 - 23.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-09-14 - 23.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-06-08 - 23.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-05-11 - 23.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-04-20 - 23.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-03-03 - 22.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-01-05 - 22.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-12-08 - 22.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-11-06 - 22.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-24 - 22.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-07-15 - 22.04.3 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-06-21 - 22.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-17 - 22.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-07 - 22.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-02-26 - 21.12.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-01-10 - 21.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-10-15 - 21.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-09-13 - 21.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-06-16 - 21.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-05-09 - 21.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-03-10 - 20.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-09-14 - 20.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-06-11 - 20.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-05-06 - 20.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-03-30 - 19.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-02 - 19.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-09-15 - 19.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-07-23 - 19.04.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-04-18 - 19.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-03-11 - 18.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-02-08 - 18.12.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-01-12 - 18.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-26 - 18.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-11-08 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-10-18 - 18.08.2 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-08-11 - 18.04.1 - Rebuild - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2018-05-11 - 18.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-04-25 - 18.04.0 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-22 - 17.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-02 - 17.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-12-15 - 17.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-11-11 - 17.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-10-16 - 17.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-09-14 - 17.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-07-17 - 17.04.3 - Version bump. - Ali Algul - aligulle3801@gmail.com - - - 2017-07-04 - 17.04.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2016-12-31 - 16.12.0 - First Release - Stefan Gronewold - groni@pisilinux.org + + 2025-01-09 + 24.12.1 + First release + Pisi Linux Community + admin@pisilinux.org diff --git a/desktop/kde/applications/akonadiconsole/actions.py b/desktop/kde/applications/akonadiconsole/actions.py index 83172376f4..dc7d4ed6e8 100755 --- a/desktop/kde/applications/akonadiconsole/actions.py +++ b/desktop/kde/applications/akonadiconsole/actions.py @@ -3,18 +3,18 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt -from pisi.actionsapi import kde5 +from pisi.actionsapi import kde6 from pisi.actionsapi import pisitools def setup(): - kde5.configure() + kde6.configure() def build(): - kde5.make() + kde6.make() def install(): - kde5.install() + kde6.install() pisitools.dodoc("LICENSES/*") diff --git a/desktop/kde/applications/akonadiconsole/pspec.xml b/desktop/kde/applications/akonadiconsole/pspec.xml index 02d5b59098..f602491e7a 100755 --- a/desktop/kde/applications/akonadiconsole/pspec.xml +++ b/desktop/kde/applications/akonadiconsole/pspec.xml @@ -1,3 +1,4 @@ + akonadiconsole @@ -9,16 +10,16 @@ GPLv2 Akonadi management and debugging console Akonadi management and debugging console - https://download.kde.org/stable/release-service/23.08.5/src/akonadiconsole-23.08.5.tar.xz + https://download.kde.org/stable/release-service/24.12.1/src/akonadiconsole-24.12.1.tar.xz - akonadi-contacts-devel - akonadi-devel - akonadi-calendar-devel - pimcommon-devel - akonadi-mime-devel - calendarsupport-devel + akonadi-contacts-devel + akonadi-devel + akonadi-calendar-devel + pimcommon-devel + akonadi-mime-devel + calendarsupport-devel extra-cmake-modules - kimap-devel + kimap-devel kcalendarcore-devel kcompletion-devel kconfig-devel @@ -29,32 +30,32 @@ kdoctools-devel ki18n-devel kitemmodels-devel - kmime-devel - kpimtextedit-devel + kmime-devel + kpimtextedit-devel ktextwidgets-devel kwidgetsaddons-devel kxmlgui-devel kio-devel kitemviews-devel - akonadi-search-devel + akonadi-search-devel libkdepim-devel - libkleo-devel - messagelib-devel - qt5-base-devel - qt5-sql-mysql - qt5-sql-postgresql - qt5-sql-sqlite - qt5-sql-odbc - kemoticons-devel - kinit-devel + libkleo-devel + messagelib-devel + qt6-base-devel + qt6-sql-mysql + qt6-sql-postgresql + qt6-sql-sqlite + qt6-sql-odbc + + kunitconversion-devel - kidentitymanagement-devel + kidentitymanagement-devel cyrus-sasl-devel gpgme-devel - gpgme-qt5-devel + gpgme-qt6-devel ffmpeg-devel libXScrnSaver-devel - qt5-webengine-devel + qt6-webengine-devel @@ -67,7 +68,7 @@ akonadi-mime calendarsupport kcalendarcore - qt5-base + qt6-base ki18n kmime kcrash @@ -94,344 +95,18 @@ /usr/share/doc /usr/lib + + akonadiconsole-kf6 + - - 2024-02-17 - 23.08.5 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-12-07 - 23.08.4 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-10-27 - 23.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-09-14 - 23.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-06-08 - 23.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-05-11 - 23.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-04-20 - 23.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-03-03 - 22.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-01-05 - 22.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-12-08 - 22.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-11-06 - 22.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-24 - 22.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-07-15 - 22.04.3 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-06-21 - 22.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-17 - 22.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-07 - 22.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-02-26 - 21.12.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-01-10 - 21.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-10-15 - 21.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-09-13 - 21.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-06-16 - 21.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-05-09 - 21.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-03-10 - 20.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-09-13 - 20.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-06-11 - 20.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-05-06 - 20.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-03-30 - 19.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-02 - 19.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-09-15 - 19.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-07-23 - 19.04.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-04-18 - 19.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-03-11 - 18.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-02-08 - 18.12.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-01-12 - 18.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-26 - 18.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-11-08 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-10-18 - 18.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-08-11 - 18.04.1 - Rebuild - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2018-05-11 - 18.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-04-27 - 18.04.0 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-22 - 17.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-02-04 - 17.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-11-11 - 17.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-10-16 - 17.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-09-14 - 17.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-07-17 - 17.04.3 - Version bump - Ali Algul - aligulle3801@gmail.com - - - 2017-07-04 - 17.04.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2016-12-27 - 16.12.0 - First Release - Stefan Gronewold - groni@pisilinux.org + + 2025-01-09 + 24.12.1 + First release + Pisi Linux Community + admin@pisilinux.org diff --git a/desktop/kde/applications/akregator/actions.py b/desktop/kde/applications/akregator/actions.py index d96f7b6a6e..c1f8c6bea3 100755 --- a/desktop/kde/applications/akregator/actions.py +++ b/desktop/kde/applications/akregator/actions.py @@ -3,18 +3,18 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt -from pisi.actionsapi import kde5 +from pisi.actionsapi import kde6 from pisi.actionsapi import pisitools def setup(): - kde5.configure() + kde6.configure() def build(): - kde5.make() + kde6.make() def install(): - kde5.install() + kde6.install() pisitools.dodoc("LICENSES/*", "README*") diff --git a/desktop/kde/applications/akregator/pspec.xml b/desktop/kde/applications/akregator/pspec.xml index 06060d29ec..fef79e3a07 100755 --- a/desktop/kde/applications/akregator/pspec.xml +++ b/desktop/kde/applications/akregator/pspec.xml @@ -1,5 +1,6 @@ + - + akregator @@ -10,45 +11,43 @@ GPLv2 A KDE blogging client - Akregator helps you to keep informed about new stories on websites like KDE Dot News and Planet KDE blogs. The technology used is RSS and many sites support it. - https://download.kde.org/stable/release-service/23.08.5/src/akregator-23.08.5.tar.xz + akregator helps you to keep informed about new stories on websites like KDE Dot News and Planet KDE blogs. The technology used is RSS and many sites support it. + https://download.kde.org/stable/release-service/24.12.1/src/akregator-24.12.1.tar.xz boost-devel extra-cmake-modules - kblog-devel - kdesignerplugin kdoctools-devel kio-devel ktexteditor-devel python-devel - qt5-base-devel - qt5-webengine-devel - grantlee-qt5-devel + qt6-base-devel + qt6-webengine-devel kcmutils-devel knotifyconfig-devel - akonadi-mime-devel - akonadi-devel + akonadi-mime-devel + akonadi-devel kitemmodels-devel - grantleetheme-devel + grantleetheme-devel kcontacts-devel - kontactinterface-devel - libkdepim-devel - akonadi-contacts-devel - libkleo-devel + kontactinterface-devel + libkdepim-devel + akonadi-contacts-devel + libkleo-devel gpgme-devel - gpgme-qt5-devel - messagelib-devel - pimcommon-devel - kimap-devel - kmime-devel + gpgme-qt6-devel + messagelib-devel + pimcommon-devel + kimap-devel + kmime-devel cyrus-sasl-devel - kpimtextedit-devel + kpimtextedit-devel ksyndication-devel ffmpeg-devel knotifyconfig-devel knotifications-devel kuserfeedback-devel libXScrnSaver-devel + kstatusnotifieritem-devel @@ -66,7 +65,7 @@ kxmlgui kcmutils kservice - qt5-base + qt6-base libkdepim pimcommon messagelib @@ -79,365 +78,33 @@ ktextwidgets grantleetheme knotifyconfig - qt5-webengine + qt6-webengine kconfigwidgets knotifications kwidgetsaddons kontactinterface + kstatusnotifieritem /etc/xdg /usr/bin /usr/lib - /usr/lib/qt5 + /usr/lib/qt6 /usr/share /usr/share/doc + + akregator-kf6 + - - 2024-02-17 - 23.08.5 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-12-07 - 23.08.4 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-10-27 - 23.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-09-14 - 23.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-06-08 - 23.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-05-11 - 23.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-04-20 - 23.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-03-03 - 22.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-01-05 - 22.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-12-08 - 22.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-11-06 - 22.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-24 - 22.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-07-15 - 22.04.3 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-06-21 - 22.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-17 - 22.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-07 - 22.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-02-26 - 21.12.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-01-10 - 21.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-10-15 - 21.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-09-13 - 21.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-06-16 - 21.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-05-09 - 21.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-03-10 - 20.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-09-13 - 20.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-06-11 - 20.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-05-06 - 20.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-03-30 - 19.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-02 - 19.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-09-15 - 19.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-07-23 - 19.04.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-04-18 - 19.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-03-11 - 18.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-02-08 - 18.12.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-01-12 - 18.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-26 - 18.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-11-08 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-10-18 - 18.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-08-11 - 18.04.1 - Rebuild - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2018-05-11 - 18.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-04-27 - 18.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-22 - 17.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-02 - 17.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-11-11 - 17.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-10-16 - 17.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-09-14 - 17.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-07-17 - 17.04.3 - Version bump. - Ali Algul - aligulle3801@gmail.com - - - 2017-07-09 - 17.04.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2017-07-04 - 17.04.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2017-01-08 - 16.12.0 - First Release - Stefan Gronewold - groni@pisilinux.org + + 2025-01-09 + 24.12.1 + First release + Pisi Linux Community + admin@pisilinux.org diff --git a/desktop/kde/applications/calendarsupport/actions.py b/desktop/kde/applications/calendarsupport/actions.py index 7eda6b7764..82e40ee4b1 100755 --- a/desktop/kde/applications/calendarsupport/actions.py +++ b/desktop/kde/applications/calendarsupport/actions.py @@ -4,16 +4,16 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt -from pisi.actionsapi import kde5 +from pisi.actionsapi import kde6 from pisi.actionsapi import pisitools def setup(): - kde5.configure() + kde6.configure() def build(): - kde5.make() + kde6.make() def install(): - kde5.install() + kde6.install() pisitools.dodoc("LICENSES/*") diff --git a/desktop/kde/applications/calendarsupport/files/qt5.patch b/desktop/kde/applications/calendarsupport/files/qt5.patch index 645e3e469a..607f4ca52a 100755 --- a/desktop/kde/applications/calendarsupport/files/qt5.patch +++ b/desktop/kde/applications/calendarsupport/files/qt5.patch @@ -2,11 +2,11 @@ diff -Nuar a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt 2017-12-08 04:03:49.000000000 +0300 +++ b/CMakeLists.txt 2017-12-17 00:25:23.527037197 +0300 @@ -28,7 +28,7 @@ - set(CALENDARSUPPORT_LIB_VERSION ${PIM_VERSION}) + set(calendarsupport_LIB_VERSION ${PIM_VERSION}) set(AKONADI_MIMELIB_VERSION "5.7.0") set(KDEPIM_LIB_VERSION "5.7.0") --set(QT_REQUIRED_VERSION "5.8.0") -+set(QT_REQUIRED_VERSION "5.7.1") - set(KMIME_LIB_VERSION "5.7.0") +-set(QT_REQUIRED_VERSION "6.6.3") ++set(QT_REQUIRED_VERSION "6.6.3") + set(kmime_LIB_VERSION "5.7.0") set(CALENDARUTILS_LIB_VERSION "5.7.0") - set(KCALENDARCORE_LIB_VERSION "5.7.0") + set(kcalendarcore_LIB_VERSION "5.7.0") diff --git a/desktop/kde/applications/calendarsupport/pspec.xml b/desktop/kde/applications/calendarsupport/pspec.xml index 5eaeafe357..c74795cb3d 100755 --- a/desktop/kde/applications/calendarsupport/pspec.xml +++ b/desktop/kde/applications/calendarsupport/pspec.xml @@ -1,3 +1,4 @@ + calendarsupport @@ -10,12 +11,13 @@ app:console Calendar support library Calendar support library - mirrors://kde/stable/release-service/23.08.5/src/calendarsupport-23.08.5.tar.xz + mirrors://kde/stable/release-service/24.12.1/src/calendarsupport-24.12.1.tar.xz extra-cmake-modules - qt5-base-devel - akonadi-devel - kmime-devel + qt6-base-devel + akonadi-devel + kmime-devel + kio-devel ki18n-devel kcodecs-devel kcompletion-devel @@ -25,24 +27,20 @@ solid-devel kxmlgui-devel kitemmodels-devel - kdoctools-devel - kemoticons-devel - kinit-devel kunitconversion-devel boost-devel - kcalutils-devel + kcalutils-devel kcalendarcore-devel - kidentitymanagement-devel + kidentitymanagement-devel kholidays-devel - akonadi-calendar-devel + akonadi-calendar-devel kcontacts-devel - pimcommon-devel - kimap-devel + pimcommon-devel + kimap-devel cyrus-sasl-devel - akonadi-mime-devel - akonadi-contacts-devel - akonadi-notes-devel + akonadi-mime-devel + akonadi-contacts-devel kguiaddons-devel @@ -62,7 +60,7 @@ kcodecs kconfig kcalendarcore - qt5-base + qt6-base kcalutils kholidays pimcommon @@ -77,12 +75,15 @@ /etc - /usr/lib/qt5 + /usr/lib/qt6 /usr/lib /usr/share /usr/share/kservicetypes5 /usr/share/locale - + + + calendarsupport-kf6 + @@ -95,400 +96,18 @@ /usr/include /usr/lib/cmake + + calendarsupport-kf6-devel + - - 2024-02-17 - 23.08.5 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-12-07 - 23.08.4 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-10-27 - 23.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-09-14 - 23.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-06-08 - 23.04.2 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-05-11 - 23.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-04-20 - 23.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-03-03 - 22.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-01-05 - 22.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-12-08 - 22.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-11-06 - 22.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-24 - 22.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-07-15 - 22.04.3 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-06-21 - 22.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-17 - 22.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-07 - 22.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-02-26 - 21.12.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-01-10 - 21.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-10-15 - 21.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-09-13 - 21.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-06-16 - 21.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-05-09 - 21.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-03-10 - 20.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-09-13 - 20.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-06-11 - 20.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-05-06 - 20.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-03-30 - 19.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-02 - 19.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-09-15 - 19.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-07-23 - 19.04.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-04-18 - 19.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-03-11 - 18.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-02-08 - 18.12.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-01-12 - 18.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-26 - 18.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-12 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-11-08 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-10-18 - 18.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-08-11 - 18.04.1 - Rebuild - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2018-05-15 - 18.04.1 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-04-25 - 18.04.0 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-22 - 17.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-02-03 - 17.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-12-16 - 17.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-11-11 - 17.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-10-16 - 17.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-09-14 - 17.08.1 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-07-17 - 17.04.3 - Version bump - Ali Algul - aligulle3801@gmail.com - - - 2017-07-04 - 17.04.2 - Version bump - Kamil Atlı - suvari@pisilinux.org - - - 2017-03-09 - 16.12.0 - Rebuild for new Toolchain. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-12-25 - 16.12.0 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-11-27 - 16.08.3 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-10-22 - 16.08.2 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilnux.org - - - 2016-10-19 - 16.08.1 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilnux.org - - - 2016-07-31 - 16.04.3 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2016-05-22 - 16.04.0 + + 2025-01-09 + 24.12.1 First release - Alihan Öztürk - alihan@pisilinux.org + Pisi Linux Community + admin@pisilinux.org diff --git a/desktop/kde/applications/eventviews/actions.py b/desktop/kde/applications/eventviews/actions.py index 7eda6b7764..82e40ee4b1 100755 --- a/desktop/kde/applications/eventviews/actions.py +++ b/desktop/kde/applications/eventviews/actions.py @@ -4,16 +4,16 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt -from pisi.actionsapi import kde5 +from pisi.actionsapi import kde6 from pisi.actionsapi import pisitools def setup(): - kde5.configure() + kde6.configure() def build(): - kde5.make() + kde6.make() def install(): - kde5.install() + kde6.install() pisitools.dodoc("LICENSES/*") diff --git a/desktop/kde/applications/eventviews/files/qt5.patch b/desktop/kde/applications/eventviews/files/qt5.patch index c38f9dcce5..6644f0d9d1 100755 --- a/desktop/kde/applications/eventviews/files/qt5.patch +++ b/desktop/kde/applications/eventviews/files/qt5.patch @@ -5,8 +5,8 @@ diff -Nuar a/CMakeLists.txt b/CMakeLists.txt set(EVENTVIEW_LIB_VERSION ${PIM_VERSION}) set(CALENDARUTILS_LIB_VERSION "5.7.0") set(AKONADI_LIB_VERSION "5.7.0") --set(QT_REQUIRED_VERSION "5.8.0") -+set(QT_REQUIRED_VERSION "5.7.1") - set(KCALENDARCORE_LIB_VERSION "5.7.0") +-set(QT_REQUIRED_VERSION "6.6.3") ++set(QT_REQUIRED_VERSION "6.6.3") + set(kcalendarcore_LIB_VERSION "5.7.0") set(AKONADICALENDAR_LIB_VERSION "5.7.0") - set(KMIME_LIB_VERSION "5.7.0") + set(kmime_LIB_VERSION "5.7.0") diff --git a/desktop/kde/applications/eventviews/pspec.xml b/desktop/kde/applications/eventviews/pspec.xml index 722d354c58..f21e5c99b5 100755 --- a/desktop/kde/applications/eventviews/pspec.xml +++ b/desktop/kde/applications/eventviews/pspec.xml @@ -1,3 +1,4 @@ + eventviews @@ -10,11 +11,11 @@ app:console Library for creating events. Library for creating events. - mirrors://kde/stable/release-service/23.08.5/src/eventviews-23.08.5.tar.xz + mirrors://kde/stable/release-service/24.12.1/src/eventviews-24.12.1.tar.xz extra-cmake-modules - qt5-base-devel - akonadi-devel + qt6-base-devel + akonadi-devel kcompletion-devel kjobwidgets-devel @@ -23,22 +24,20 @@ solid-devel kxmlgui-devel kitemmodels-devel - + kdoctools-devel - kemoticons-devel - kinit-devel kunitconversion-devel boost-devel - libkdepim-devel + libkdepim-devel kcontacts-devel kcalendarcore-devel - kcalutils-devel - calendarsupport-devel - kmime-devel - kidentitymanagement-devel - akonadi-calendar-devel - akonadi-contacts-devel + kcalutils-devel + calendarsupport-devel + kmime-devel + kidentitymanagement-devel + akonadi-calendar-devel + akonadi-contacts-devel kdiagram-devel kholidays-devel kguiaddons-devel @@ -62,7 +61,7 @@ kdiagram kservice - qt5-base + qt6-base kcalutils kcontacts libkdepim @@ -75,17 +74,20 @@ kwidgetsaddons calendarsupport akonadi-calendar - + /etc /usr/lib - /usr/lib/qt5 + /usr/lib/qt6 /usr/share /usr/share/doc /usr/share/kservicetypes5 /usr/share/locale + + eventviews-kf6 + @@ -98,400 +100,18 @@ /usr/include /usr/lib/cmake + + eventviews-kf6-devel + - - 2024-02-17 - 23.08.5 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-12-07 - 23.08.4 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-10-27 - 23.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-09-14 - 23.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-06-08 - 23.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-05-11 - 23.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-04-20 - 23.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-03-03 - 22.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-01-05 - 22.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-12-08 - 22.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-11-06 - 22.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-24 - 22.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-07-15 - 22.04.3 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-06-21 - 22.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-17 - 22.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-07 - 22.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-02-26 - 21.12.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-01-10 - 21.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-10-15 - 21.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-09-13 - 21.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-06-16 - 21.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-05-09 - 21.04.0 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-03-10 - 20.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-09-13 - 20.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-06-11 - 20.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-05-06 - 20.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-03-30 - 19.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-02 - 19.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-09-15 - 19.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-07-23 - 19.04.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-04-18 - 19.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-03-11 - 18.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-02-08 - 18.12.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-01-12 - 18.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-26 - 18.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-12 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-11-08 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-10-18 - 18.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-08-11 - 18.04.1 - Rebuild - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2018-05-11 - 18.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-04-25 - 18.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-22 - 17.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-02-03 - 17.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-12-15 - 17.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-11-11 - 17.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-10-16 - 17.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-09-14 - 17.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-07-17 - 17.04.3 - Version bump. - Ali Algul - aligulle3801@gmail.com - - - 2017-07-04 - 17.04.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2017-03-09 - 16.12.0 - Rebuild for new Toolchain. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-12-25 - 16.12.0 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-11-27 - 16.08.3 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-10-22 - 16.08.2 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilnux.org - - - 2016-10-20 - 16.08.1 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilnux.org - - - 2016-07-31 - 16.04.3 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2016-05-22 - 16.04.0 - First release. - Alihan Öztürk - alihan@pisilinux.org + + 2025-01-09 + 24.12.1 + First release + Pisi Linux Community + admin@pisilinux.org diff --git a/desktop/kde/applications/grantlee-editor/actions.py b/desktop/kde/applications/grantlee-editor/actions.py index 83172376f4..dc7d4ed6e8 100755 --- a/desktop/kde/applications/grantlee-editor/actions.py +++ b/desktop/kde/applications/grantlee-editor/actions.py @@ -3,18 +3,18 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt -from pisi.actionsapi import kde5 +from pisi.actionsapi import kde6 from pisi.actionsapi import pisitools def setup(): - kde5.configure() + kde6.configure() def build(): - kde5.make() + kde6.make() def install(): - kde5.install() + kde6.install() pisitools.dodoc("LICENSES/*") diff --git a/desktop/kde/applications/grantlee-editor/pspec.xml b/desktop/kde/applications/grantlee-editor/pspec.xml index cb405cc802..774e99a65f 100755 --- a/desktop/kde/applications/grantlee-editor/pspec.xml +++ b/desktop/kde/applications/grantlee-editor/pspec.xml @@ -1,3 +1,4 @@ + @@ -11,38 +12,38 @@ GPLv2 Editor for Grantlee themes Editor for Grantlee themes - mirrors://kde/stable/release-service/23.08.5/src/grantlee-editor-23.08.5.tar.xz + mirrors://kde/stable/release-service/24.12.1/src/grantlee-editor-24.12.1.tar.xz - qt5-webengine-devel + qt6-webengine-devel kcrash-devel extra-cmake-modules kdbusaddons-devel kdoctools-devel kxmlgui-devel - qt5-base-devel + qt6-base-devel ktexteditor-devel kwallet-devel knewstuff-devel karchive-devel - pimcommon-devel - messagelib-devel - grantleetheme-devel - akonadi-mime-devel - kpimtextedit-devel - libkdepim-devel + pimcommon-devel + messagelib-devel + grantleetheme-devel + akonadi-mime-devel + kpimtextedit-devel + libkdepim-devel syntax-highlighting-devel - libkleo-devel + libkleo-devel kparts-devel gpgme-devel - gpgme-qt5-devel + gpgme-qt6-devel cyrus-sasl-devel - akonadi-devel + akonadi-devel kitemmodels-devel kcontacts-devel - akonadi-contacts-devel - kimap-devel - kmime-devel - grantlee-qt5-devel + akonadi-contacts-devel + kimap-devel + kmime-devel + ffmpeg-devel libXScrnSaver-devel @@ -60,7 +61,7 @@ kconfig kxmlgui karchive - qt5-base + qt6-base kcontacts knewstuff pimcommon @@ -69,7 +70,7 @@ kcoreaddons kdbusaddons kpimtextedit - qt5-webengine + qt6-webengine kconfigwidgets kwidgetsaddons akonadi-contacts @@ -82,344 +83,18 @@ /usr/share /usr/share/doc + + grantlee-editor-kf6 + - - 2024-02-17 - 23.08.5 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-12-07 - 23.08.4 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-10-27 - 23.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-09-14 - 23.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-06-08 - 23.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-05-11 - 23.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-04-20 - 23.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-03-03 - 22.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-01-05 - 22.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-12-08 - 22.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-11-06 - 22.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-24 - 22.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-07-15 - 22.04.3 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-06-21 - 22.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-17 - 22.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-07 - 22.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-02-26 - 21.12.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-01-10 - 21.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-10-15 - 21.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-09-13 - 21.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-06-16 - 21.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-05-09 - 21.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-03-10 - 20.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-09-13 - 20.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-06-11 - 20.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-05-06 - 20.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-03-30 - 19.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-02 - 19.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-09-15 - 19.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-07-23 - 19.04.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-04-18 - 19.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-03-11 - 18.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-02-08 - 18.12.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-01-12 - 18.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-26 - 18.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-11-08 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-10-18 - 18.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-08-11 - 18.04.1 - Rebuild - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2018-05-11 - 18.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-04-27 - 18.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-22 - 17.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-02 - 17.12.1 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-11-11 - 17.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-10-16 - 17.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-09-14 - 17.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-07-17 - 17.04.3 - Version bump. - Ali Algul - aligulle3801@gmail.com - - - 2017-07-04 - 17.04.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2017-01-04 - 16.12.0 - First Release - Stefan Gronewold - groni@pisilinux.org + + 2025-01-09 + 24.12.1 + First release + Pisi Linux Community + admin@pisilinux.org diff --git a/desktop/kde/applications/incidenceeditor/actions.py b/desktop/kde/applications/incidenceeditor/actions.py index 7eda6b7764..82e40ee4b1 100755 --- a/desktop/kde/applications/incidenceeditor/actions.py +++ b/desktop/kde/applications/incidenceeditor/actions.py @@ -4,16 +4,16 @@ # Licensed under the GNU General Public License, version 3. # See the file http://www.gnu.org/copyleft/gpl.txt -from pisi.actionsapi import kde5 +from pisi.actionsapi import kde6 from pisi.actionsapi import pisitools def setup(): - kde5.configure() + kde6.configure() def build(): - kde5.make() + kde6.make() def install(): - kde5.install() + kde6.install() pisitools.dodoc("LICENSES/*") diff --git a/desktop/kde/applications/incidenceeditor/files/qt5.patch b/desktop/kde/applications/incidenceeditor/files/qt5.patch index 2c44b96bc2..a774f715d7 100755 --- a/desktop/kde/applications/incidenceeditor/files/qt5.patch +++ b/desktop/kde/applications/incidenceeditor/files/qt5.patch @@ -2,11 +2,11 @@ diff -Nuar a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt 2017-12-08 04:03:56.000000000 +0300 +++ b/CMakeLists.txt 2017-12-17 23:22:46.040447149 +0300 @@ -30,7 +30,7 @@ - set(INCIDENCEEDITOR_LIB_VERSION ${PIM_VERSION}) + set(incidenceeditor_LIB_VERSION ${PIM_VERSION}) set(AKONADI_MIMELIB_VERSION "5.7.0") set(KDEPIM_LIB_VERSION "5.7.0") --set(QT_REQUIRED_VERSION "5.8.0") -+set(QT_REQUIRED_VERSION "5.7.1") - set(KMIME_LIB_VERSION "5.7.0") - set(KMAILTRANSPORT_LIB_VERSION "5.7.0") - set(KLDAP_LIB_VERSION "5.7.0") +-set(QT_REQUIRED_VERSION "6.6.3") ++set(QT_REQUIRED_VERSION "6.6.3") + set(kmime_LIB_VERSION "5.7.0") + set(kmailtransport_LIB_VERSION "5.7.0") + set(kldap_LIB_VERSION "5.7.0") diff --git a/desktop/kde/applications/incidenceeditor/pspec.xml b/desktop/kde/applications/incidenceeditor/pspec.xml index 2885a46146..9367de9b91 100755 --- a/desktop/kde/applications/incidenceeditor/pspec.xml +++ b/desktop/kde/applications/incidenceeditor/pspec.xml @@ -1,3 +1,4 @@ + @@ -12,11 +13,11 @@ app:console KDE PIM incidence editor. KDE PIM incidence editor. - http://download.kde.org/stable/release-service/23.08.5/src/incidenceeditor-23.08.5.tar.xz + http://download.kde.org/stable/release-service/24.12.1/src/incidenceeditor-24.12.1.tar.xz extra-cmake-modules - qt5-base-devel - akonadi-devel + qt6-base-devel + akonadi-devel kcompletion-devel kjobwidgets-devel kcoreaddons-devel @@ -25,27 +26,28 @@ kxmlgui-devel kitemmodels-devel kdoctools-devel - kemoticons-devel - kinit-devel + kio-devel + ki18n-devel + kguiaddons-devel kunitconversion-devel boost-devel - kmime-devel - kldap-devel + kmime-devel + kldap-devel cyrus-sasl-devel - calendarsupport-devel - kidentitymanagement-devel - akonadi-calendar-devel + calendarsupport-devel + kidentitymanagement-devel + akonadi-calendar-devel kcalendarcore-devel kcontacts-devel - eventviews-devel - kcalutils-devel + eventviews-devel + kcalutils-devel kdiagram-devel - kmailtransport-devel - libkdepim-devel - akonadi-mime-devel - akonadi-contacts-devel - pimcommon-devel - kimap-devel + kmailtransport-devel + libkdepim-devel + akonadi-mime-devel + akonadi-contacts-devel + pimcommon-devel + kimap-devel kiconthemes-devel @@ -75,6 +77,7 @@ pimcommon eventviews kcompletion + kguiaddons kcoreaddons kiconthemes kitemmodels @@ -90,16 +93,19 @@ akonadi-contacts akonadi-calendar kidentitymanagement - qt5-base + qt6-base /etc/xdg /usr/lib - /usr/lib/qt5 + /usr/lib/qt6 /usr/share /usr/share/doc /usr/share/locale + + incidenceeditor-kf6 + @@ -113,400 +119,18 @@ /usr/lib/pkgconfig /usr/lib/cmake + + incidenceeditor-kf6-devel + - - 2024-02-17 - 23.08.5 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-12-07 - 23.08.4 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-10-27 - 23.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-09-14 - 23.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-06-08 - 23.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-05-11 - 23.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-04-20 - 23.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-03-03 - 22.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-01-05 - 22.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-12-08 - 22.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-11-06 - 22.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-24 - 22.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-07-15 - 22.04.3 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-06-21 - 22.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-17 - 22.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-07 - 22.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-02-26 - 21.12.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-01-10 - 21.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-10-15 - 21.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-09-13 - 21.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-06-16 - 21.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-05-09 - 21.04.0 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-03-10 - 20.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-09-14 - 20.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-06-11 - 20.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-05-06 - 20.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-03-30 - 19.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-02 - 19.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-09-15 - 19.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-07-23 - 19.04.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-04-18 - 19.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-03-11 - 18.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-02-08 - 18.12.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-01-12 - 18.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-26 - 18.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-12 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-11-08 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-10-18 - 18.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-08-11 - 18.04.1 - Rebuild - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2018-05-11 - 18.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-04-25 - 18.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-22 - 17.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-02-03 - 17.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-12-15 - 17.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-11-12 - 17.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-10-16 - 17.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-09-14 - 17.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-07-17 - 17.04.3 - Version bump - Ali Algul - aligulle3801@gmail.com - - - 2017-07-07 - 17.04.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2017-03-10 - 16.12.0 - Rebuild for new Toolchain. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-12-25 - 16.12.0 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-11-27 - 16.08.3 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-10-22 - 16.08.2 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilnux.org - - - 2016-10-20 - 16.08.1 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilnux.org - - - 2016-07-31 - 16.04.3 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2016-05-22 - 16.04.0 - First release. - Alihan Öztürk - alihan@pisilinux.org + + 2025-01-09 + 24.12.1 + First release + Pisi Linux Community + admin@pisilinux.org diff --git a/desktop/kde/applications/kdepim-runtime-/actions.py b/desktop/kde/applications/kdepim-runtime-/actions.py new file mode 100755 index 0000000000..23b2227864 --- /dev/null +++ b/desktop/kde/applications/kdepim-runtime-/actions.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import kde6 +from pisi.actionsapi import pisitools + +def setup(): + kde6.configure() + +def build(): + kde6.make() + +def install(): + kde6.install() + + pisitools.dodoc("LICENSES/*") diff --git a/desktop/kde/applications/kdepim-runtime-/files/2fd3604a.patch b/desktop/kde/applications/kdepim-runtime-/files/2fd3604a.patch new file mode 100644 index 0000000000..afb20a8ddb --- /dev/null +++ b/desktop/kde/applications/kdepim-runtime-/files/2fd3604a.patch @@ -0,0 +1,60 @@ +From 2fd3604ad6a9594b9dd8b0f1529f4f4589fe831f Mon Sep 17 00:00:00 2001 +From: Carl Schwan +Date: Tue, 19 Sep 2023 17:04:36 +0200 +Subject: [PATCH] Revert "Revert "Fix race condition when building"" + +This reverts commit d3f20b3dab530065f9cff9d73e4ca1076af55a29. + +(cherry picked from commit f9f262b9289f7b1c34e55205fa0c5cde915bc652) +--- + resources/google-groupware/CMakeLists.txt | 7 ++++--- + resources/google-groupware/googleresource.cpp | 1 - + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/resources/google-groupware/CMakeLists.txt b/resources/google-groupware/CMakeLists.txt +index 2f2b46aded..0ac6f2db8e 100644 +--- a/resources/google-groupware/CMakeLists.txt ++++ b/resources/google-groupware/CMakeLists.txt +@@ -67,9 +67,6 @@ set(googleresource_SRCS + ${googleresource_common_SRCS} + ) + +-ki18n_wrap_ui(googleresource_SRCS googlesettingswidget.ui) +- +- + add_executable(akonadi_google_resource ${googleresource_SRCS}) + if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) + set_target_properties(akonadi_google_resource PROPERTIES UNITY_BUILD ON) +@@ -126,6 +123,7 @@ install( + kcoreaddons_add_plugin(googleconfig + INSTALL_NAMESPACE "pim${QT_MAJOR_VERSION}/akonadi/config" + ) ++ + target_sources(googleconfig + PRIVATE + googleconfig.cpp +@@ -133,6 +131,9 @@ PRIVATE + googlesettingswidget.h + ${googleresource_common_SRCS} + ) ++ ++ki18n_wrap_ui(googleconfig googlesettingswidget.ui) ++ + target_link_libraries(googleconfig + KPim${KF_MAJOR_VERSION}::AkonadiCore + KPim${KF_MAJOR_VERSION}::AkonadiCalendar +diff --git a/resources/google-groupware/googleresource.cpp b/resources/google-groupware/googleresource.cpp +index 47a7e0c8d5..d51c1e4a7c 100644 +--- a/resources/google-groupware/googleresource.cpp ++++ b/resources/google-groupware/googleresource.cpp +@@ -11,7 +11,6 @@ + #include "googleresourcestate.h" + #include "googlescopes.h" + #include "googlesettings.h" +-#include "googlesettingswidget.h" + #include "settingsadaptor.h" + + #include "personhandler.h" +-- +GitLab + diff --git a/desktop/kde/applications/kdepim-runtime-/files/c99afc75.patch b/desktop/kde/applications/kdepim-runtime-/files/c99afc75.patch new file mode 100644 index 0000000000..0132672072 --- /dev/null +++ b/desktop/kde/applications/kdepim-runtime-/files/c99afc75.patch @@ -0,0 +1,120 @@ +From c99afc75a503fff6ca83df2f47a5d5d951579524 Mon Sep 17 00:00:00 2001 +From: Carl Schwan +Date: Tue, 19 Sep 2023 18:58:54 +0200 +Subject: [PATCH] Actually start job to read secret key + +BUG: 470820 +(cherry picked from commit 8393e92d56ecb31b2dd65d15d046f8e02565f5e3) +--- + resources/google-groupware/googleconfig.cpp | 8 +++++++- + resources/google-groupware/googlesettings.cpp | 15 +++++++++------ + .../google-groupware/googlesettingswidget.cpp | 3 +-- + 3 files changed, 17 insertions(+), 9 deletions(-) + +diff --git a/resources/google-groupware/googleconfig.cpp b/resources/google-groupware/googleconfig.cpp +index 2eb6ab2efa..1af177c81f 100644 +--- a/resources/google-groupware/googleconfig.cpp ++++ b/resources/google-groupware/googleconfig.cpp +@@ -6,6 +6,7 @@ + + #include + ++#include "googleresource_debug.h" + #include "googlesettings.h" + #include "googlesettingswidget.h" + +@@ -25,7 +26,12 @@ public: + void load() override + { + Akonadi::AgentConfigurationBase::load(); +- mWidget.loadSettings(); ++ mSettings.init(); ++ connect(&mSettings, &GoogleSettings::accountReady, this, [this](bool ready) { ++ if (ready) { ++ mWidget.loadSettings(); ++ } ++ }); + } + + Q_REQUIRED_RESULT bool save() const override +diff --git a/resources/google-groupware/googlesettings.cpp b/resources/google-groupware/googlesettings.cpp +index aa94cad1ab..23a9979895 100644 +--- a/resources/google-groupware/googlesettings.cpp ++++ b/resources/google-groupware/googlesettings.cpp +@@ -32,7 +32,6 @@ static const QString googleWalletFolder = QStringLiteral("Akonadi Google"); + GoogleSettings::GoogleSettings(const KSharedConfigPtr &config, Options options) + : SettingsBase(config) + { +- qDebug() << config; + if (options & Option::ExportToDBus) { + new SettingsAdaptor(this); + QDBusConnection::sessionBus().registerObject(QStringLiteral("/Settings"), +@@ -44,9 +43,11 @@ GoogleSettings::GoogleSettings(const KSharedConfigPtr &config, Options options) + void GoogleSettings::init() + { + // First read from QtKeyChain +- auto job = new QKeychain::ReadPasswordJob(googleWalletFolder); ++ auto job = new QKeychain::ReadPasswordJob(googleWalletFolder, this); ++ job->setKey(account()); + connect(job, &QKeychain::Job::finished, this, [this, job]() { + if (job->error() != QKeychain::Error::NoError) { ++ qCWarning(GOOGLE_LOG) << "Unable to read password" << job->error(); + Q_EMIT accountReady(false); + return; + } +@@ -54,18 +55,19 @@ void GoogleSettings::init() + // Found something with QtKeyChain + if (!account().isEmpty()) { + m_account = fetchAccountFromKeychain(account(), job); ++ m_isReady = true; ++ Q_EMIT accountReady(true); + } +- m_isReady = true; +- Q_EMIT accountReady(true); + }); ++ job->start(); + } + + KGAPI2::AccountPtr GoogleSettings::fetchAccountFromKeychain(const QString &accountName, QKeychain::ReadPasswordJob *job) + { + QMap map; + auto value = job->binaryData(); +- if (!value.isEmpty()) { +- qCDebug(GOOGLE_LOG) << "Account" << accountName << "not found in kwallet"; ++ if (value.isEmpty()) { ++ qCWarning(GOOGLE_LOG) << "Account" << accountName << "not found in kwallet"; + return {}; + } + +@@ -116,6 +118,7 @@ WritePasswordJob *GoogleSettings::storeAccount(AccountPtr account) + + connect(writeJob, &WritePasswordJob::finished, this, [this, writeJob]() { + if (writeJob->error()) { ++ qCWarning(GOOGLE_LOG) << "Unable to write password" << writeJob->error(); + return; + } + SettingsBase::setAccount(m_account->accountName()); +diff --git a/resources/google-groupware/googlesettingswidget.cpp b/resources/google-groupware/googlesettingswidget.cpp +index 2543c4c6b8..8e84cfbabd 100644 +--- a/resources/google-groupware/googlesettingswidget.cpp ++++ b/resources/google-groupware/googlesettingswidget.cpp +@@ -36,7 +36,6 @@ GoogleSettingsWidget::GoogleSettingsWidget(GoogleSettings &settings, const QStri + , m_settings(settings) + , m_identifier(identifier) + { +- qDebug() << m_settings.account(); + auto mainLayout = new QVBoxLayout(this); + + auto mainWidget = new QWidget(this); +@@ -83,7 +82,7 @@ bool GoogleSettingsWidget::handleError(KGAPI2::Job *job) + } + + if (job->error() == KGAPI2::Unauthorized) { +- qCDebug(GOOGLE_LOG) << job << job->errorString(); ++ qWarning() << job << job->errorString(); + const QList resourceScopes = googleScopes(); + for (const QUrl &scope : resourceScopes) { + if (!m_account->scopes().contains(scope)) { +-- +GitLab + diff --git a/desktop/kde/applications/kdepim-runtime-/files/fb0d78fb.patch b/desktop/kde/applications/kdepim-runtime-/files/fb0d78fb.patch new file mode 100644 index 0000000000..3cda988ecc --- /dev/null +++ b/desktop/kde/applications/kdepim-runtime-/files/fb0d78fb.patch @@ -0,0 +1,1302 @@ +From fb0d78fb3bcfce5bd4ff7f51e4cd1405693e0275 Mon Sep 17 00:00:00 2001 +From: Carl Schwan +Date: Tue, 19 Sep 2023 17:04:13 +0200 +Subject: [PATCH] Revert "Revert "Use config plugin instead of out of process + config dialog"" + +This reverts commit f33496a346f49e95caaf7f664ef2f91e4b7f3ddb. + +(cherry picked from commit a17ef55dbe31e2020e96f66cd7021578ed8b5444) +--- + resources/google-groupware/CMakeLists.txt | 93 ++++-- + resources/google-groupware/googleconfig.cpp | 43 +++ + resources/google-groupware/googleconfig.json | 5 + + resources/google-groupware/googleresource.cpp | 95 ++---- + resources/google-groupware/googleresource.h | 4 +- + resources/google-groupware/googlescopes.cpp | 19 ++ + resources/google-groupware/googlescopes.h | 10 + + resources/google-groupware/googlesettings.cpp | 22 +- + resources/google-groupware/googlesettings.h | 11 +- + .../google-groupware/googlesettingsdialog.cpp | 305 ------------------ + .../google-groupware/googlesettingswidget.cpp | 288 +++++++++++++++++ + ...ettingsdialog.h => googlesettingswidget.h} | 29 +- + ...tingsdialog.ui => googlesettingswidget.ui} | 2 +- + resources/google-groupware/settingsbase.kcfg | 2 +- + 14 files changed, 505 insertions(+), 423 deletions(-) + create mode 100644 resources/google-groupware/googleconfig.cpp + create mode 100644 resources/google-groupware/googleconfig.json + create mode 100644 resources/google-groupware/googlescopes.cpp + create mode 100644 resources/google-groupware/googlescopes.h + delete mode 100644 resources/google-groupware/googlesettingsdialog.cpp + create mode 100644 resources/google-groupware/googlesettingswidget.cpp + rename resources/google-groupware/{googlesettingsdialog.h => googlesettingswidget.h} (53%) + rename resources/google-groupware/{googlesettingsdialog.ui => googlesettingswidget.ui} (99%) + +diff --git a/resources/google-groupware/CMakeLists.txt b/resources/google-groupware/CMakeLists.txt +index babf58a953..2f2b46aded 100644 +--- a/resources/google-groupware/CMakeLists.txt ++++ b/resources/google-groupware/CMakeLists.txt +@@ -1,67 +1,75 @@ + add_definitions(-DTRANSLATION_DOMAIN=\"akonadi_google_resource\") + +-set(googleresource_SRCS +- googleresource.cpp ++set(googleresource_common_SRCS + googlesettings.cpp +- googlesettingsdialog.cpp +- defaultreminderattribute.cpp +- googleresourcestate.cpp +- generichandler.cpp +- calendarhandler.cpp +- taskhandler.cpp +- peopleconversionjob.cpp +- personhandler.cpp +- googleresource.h + googlesettings.h +- googlesettingsdialog.h +- defaultreminderattribute.h +- googleresourcestate.h +- generichandler.h +- calendarhandler.h +- taskhandler.h +- peopleconversionjob.h +- personhandler.h +- ) ++ googlescopes.h ++ googlescopes.cpp ++) + +-ecm_qt_declare_logging_category(googleresource_SRCS ++ecm_qt_declare_logging_category(googleresource_common_SRCS + HEADER googleresource_debug.h + IDENTIFIER GOOGLE_LOG + CATEGORY_NAME org.kde.pim.google + DESCRIPTION "resource google (kdepim-runtime)" + EXPORT KDEPIMRUNTIME) +-ecm_qt_declare_logging_category(googleresource_SRCS ++ecm_qt_declare_logging_category(googleresource_common_SRCS + HEADER googlecalendar_debug.h + IDENTIFIER GOOGLE_CALENDAR_LOG + CATEGORY_NAME org.kde.pim.google.calendar + DESCRIPTION "resource google calendar (kdepim-runtime)" + EXPORT KDEPIMRUNTIME) +-ecm_qt_declare_logging_category(googleresource_SRCS ++ecm_qt_declare_logging_category(googleresource_common_SRCS + HEADER googletasks_debug.h + IDENTIFIER GOOGLE_TASKS_LOG + CATEGORY_NAME org.kde.pim.google.tasks + DESCRIPTION "resource google tasks (kdepim-runtime)" + EXPORT KDEPIMRUNTIME) +-ecm_qt_declare_logging_category(googleresource_SRCS ++ecm_qt_declare_logging_category(googleresource_common_SRCS + HEADER googlepeople_debug.h + IDENTIFIER GOOGLE_PEOPLE_LOG + CATEGORY_NAME org.kde.pim.google.people + DESCRIPTION "resource google people (kdepim-runtime)" + EXPORT KDEPIMRUNTIME) + +-ki18n_wrap_ui(googleresource_SRCS googlesettingsdialog.ui) + +-kconfig_add_kcfg_files(googleresource_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/settingsbase.kcfgc) ++kconfig_add_kcfg_files(googleresource_common_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/settingsbase.kcfgc) + + kcfg_generate_dbus_interface( + ${CMAKE_CURRENT_SOURCE_DIR}/settingsbase.kcfg + org.kde.Akonadi.Google.Settings + ) + +-qt_add_dbus_adaptor(googleresource_SRCS ++qt_add_dbus_adaptor(googleresource_common_SRCS + ${CMAKE_CURRENT_BINARY_DIR}/org.kde.Akonadi.Google.Settings.xml + ${CMAKE_CURRENT_SOURCE_DIR}/googlesettings.h GoogleSettings + ) + ++############################# Resource ################################# ++set(googleresource_SRCS ++ googleresource.cpp ++ defaultreminderattribute.cpp ++ googleresourcestate.cpp ++ generichandler.cpp ++ calendarhandler.cpp ++ taskhandler.cpp ++ peopleconversionjob.cpp ++ personhandler.cpp ++ googleresource.h ++ googlesettings.h ++ defaultreminderattribute.h ++ googleresourcestate.h ++ generichandler.h ++ calendarhandler.h ++ taskhandler.h ++ peopleconversionjob.h ++ personhandler.h ++ ${googleresource_common_SRCS} ++) ++ ++ki18n_wrap_ui(googleresource_SRCS googlesettingswidget.ui) ++ ++ + add_executable(akonadi_google_resource ${googleresource_SRCS}) + if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) + set_target_properties(akonadi_google_resource PROPERTIES UNITY_BUILD ON) +@@ -112,3 +120,34 @@ install( + FILES akonadi_google_resource.notifyrc + DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR} + ) ++ ++################################ Config plugin ############################### ++ ++kcoreaddons_add_plugin(googleconfig ++ INSTALL_NAMESPACE "pim${QT_MAJOR_VERSION}/akonadi/config" ++) ++target_sources(googleconfig ++PRIVATE ++ googleconfig.cpp ++ googlesettingswidget.cpp ++ googlesettingswidget.h ++ ${googleresource_common_SRCS} ++) ++target_link_libraries(googleconfig ++ KPim${KF_MAJOR_VERSION}::AkonadiCore ++ KPim${KF_MAJOR_VERSION}::AkonadiCalendar ++ KPim${KF_MAJOR_VERSION}::AkonadiCore ++ KPim${KF_MAJOR_VERSION}::AkonadiAgentBase ++ KF${KF_MAJOR_VERSION}::CalendarCore ++ KF${KF_MAJOR_VERSION}::Contacts ++ KF${KF_MAJOR_VERSION}::Wallet ++ KF${KF_MAJOR_VERSION}::I18n ++ KF${KF_MAJOR_VERSION}::WindowSystem ++ KF${KF_MAJOR_VERSION}::TextWidgets ++ KF${KF_MAJOR_VERSION}::Notifications ++ KPim${KF_MAJOR_VERSION}::GAPICalendar ++ KPim${KF_MAJOR_VERSION}::GAPIPeople ++ KPim${KF_MAJOR_VERSION}::GAPICore ++ KPim${KF_MAJOR_VERSION}::GAPITasks ++ qt${KF_MAJOR_VERSION}keychain ++) +diff --git a/resources/google-groupware/googleconfig.cpp b/resources/google-groupware/googleconfig.cpp +new file mode 100644 +index 0000000000..2eb6ab2efa +--- /dev/null ++++ b/resources/google-groupware/googleconfig.cpp +@@ -0,0 +1,43 @@ ++/* ++ SPDX-FileCopyrightText: 2018 Daniel Vrátil ++ ++ SPDX-License-Identifier: LGPL-2.0-or-later ++*/ ++ ++#include ++ ++#include "googlesettings.h" ++#include "googlesettingswidget.h" ++ ++class GoogleConfig : public Akonadi::AgentConfigurationBase ++{ ++ Q_OBJECT ++ ++public: ++ explicit GoogleConfig(const KSharedConfigPtr &config, QWidget *parent, const QVariantList &list) ++ : Akonadi::AgentConfigurationBase(config, parent, list) ++ , mSettings(config, GoogleSettings::Option::NoOption) ++ , mWidget(mSettings, identifier(), parent) ++ { ++ connect(&mWidget, &GoogleSettingsWidget::okEnabled, this, &Akonadi::AgentConfigurationBase::enableOkButton); ++ } ++ ++ void load() override ++ { ++ Akonadi::AgentConfigurationBase::load(); ++ mWidget.loadSettings(); ++ } ++ ++ Q_REQUIRED_RESULT bool save() const override ++ { ++ const_cast(this)->mWidget.saveSettings(); ++ return Akonadi::AgentConfigurationBase::save(); ++ } ++ ++ GoogleSettings mSettings; ++ GoogleSettingsWidget mWidget; ++}; ++ ++AKONADI_AGENTCONFIG_FACTORY(GoogleConfigFactory, "googleconfig.json", GoogleConfig) ++ ++#include "googleconfig.moc" +diff --git a/resources/google-groupware/googleconfig.json b/resources/google-groupware/googleconfig.json +new file mode 100644 +index 0000000000..69c76f583f +--- /dev/null ++++ b/resources/google-groupware/googleconfig.json +@@ -0,0 +1,5 @@ ++{ ++ "X-Akonadi-PluginType": "AgentConfig", ++ "X-Akonadi-Library": "googleconfig", ++ "X-Akonadi-AgentConfig-Type": "akonadi_google_resource" ++} +\ No newline at end of file +diff --git a/resources/google-groupware/googleresource.cpp b/resources/google-groupware/googleresource.cpp +index b40f093dde..47a7e0c8d5 100644 +--- a/resources/google-groupware/googleresource.cpp ++++ b/resources/google-groupware/googleresource.cpp +@@ -9,8 +9,9 @@ + #include "googleresource.h" + #include "googleresource_debug.h" + #include "googleresourcestate.h" ++#include "googlescopes.h" + #include "googlesettings.h" +-#include "googlesettingsdialog.h" ++#include "googlesettingswidget.h" + #include "settingsadaptor.h" + + #include "personhandler.h" +@@ -67,8 +68,11 @@ bool accountIsValid(const KGAPI2::AccountPtr &account) + GoogleResource::GoogleResource(const QString &id) + : ResourceBase(id) + , AgentBase::ObserverV3() ++ , m_settings(KSharedConfig::openConfig()) + , m_iface(new GoogleResourceState(this)) + { ++ m_settings.setResourceId(identifier()); ++ + AttributeFactory::registerAttribute(); + + connect(this, &GoogleResource::reloadConfiguration, this, &GoogleResource::reloadConfig); +@@ -83,9 +87,7 @@ GoogleResource::GoogleResource(const QString &id) + + Q_EMIT status(NotConfigured, i18n("Fetching password...")); + +- m_settings = new GoogleSettings(); +- m_settings->setWindowId(winIdForDialogs()); +- connect(m_settings, &GoogleSettings::accountReady, this, [this](bool ready) { ++ connect(&m_settings, &GoogleSettings::accountReady, this, [this](bool ready) { + if (accountId() > 0) { + return; + } +@@ -94,7 +96,7 @@ GoogleResource::GoogleResource(const QString &id) + return; + } + +- const auto account = m_settings->accountPtr(); ++ const auto account = m_settings.accountPtr(); + if (account.isNull()) { + Q_EMIT status(NotConfigured); + return; +@@ -107,18 +109,15 @@ GoogleResource::GoogleResource(const QString &id) + synchronize(); + } + }); +- m_settings->init(); ++ m_settings.init(); + + updateResourceName(); + +- m_freeBusyHandler = std::make_unique(m_iface, m_settings); ++ m_freeBusyHandler = std::make_unique(m_iface, &m_settings); + m_handlers.clear(); +- m_handlers.push_back(GenericHandler::Ptr(new CalendarHandler(m_iface, m_settings))); +- m_handlers.push_back(GenericHandler::Ptr(new PersonHandler(m_iface, m_settings))); +- m_handlers.push_back(GenericHandler::Ptr(new TaskHandler(m_iface, m_settings))); +- +- new SettingsAdaptor(m_settings); +- QDBusConnection::sessionBus().registerObject(QStringLiteral("/Settings"), m_settings, QDBusConnection::ExportAdaptors); ++ m_handlers.push_back(GenericHandler::Ptr(new CalendarHandler(m_iface, &m_settings))); ++ m_handlers.push_back(GenericHandler::Ptr(new PersonHandler(m_iface, &m_settings))); ++ m_handlers.push_back(GenericHandler::Ptr(new TaskHandler(m_iface, &m_settings))); + } + + GoogleResource::~GoogleResource() +@@ -128,7 +127,7 @@ GoogleResource::~GoogleResource() + + void GoogleResource::cleanup() + { +- m_settings->cleanup(); ++ m_settings.cleanup(); + ResourceBase::cleanup(); + } + +@@ -137,65 +136,30 @@ void GoogleResource::emitReadyStatus() + Q_EMIT status(Idle, i18nc("@info:status", "Ready")); + } + +-void GoogleResource::configure(WId windowId) +-{ +- if (!m_settings->isReady() || m_isConfiguring) { +- Q_EMIT configurationDialogAccepted(); +- return; +- } +- +- m_isConfiguring = true; +- +- QScopedPointer settingsDialog(new GoogleSettingsDialog(this, m_settings, windowId)); +- settingsDialog->setWindowIcon(QIcon::fromTheme(QStringLiteral("im-google"))); +- if (settingsDialog->exec() == QDialog::Accepted) { +- updateResourceName(); +- +- Q_EMIT configurationDialogAccepted(); +- +- if (m_settings->accountPtr().isNull()) { +- Q_EMIT status(NotConfigured, i18n("Configured account does not exist")); +- m_isConfiguring = false; +- return; +- } +- +- emitReadyStatus(); +- synchronize(); +- } else { +- updateResourceName(); +- +- Q_EMIT configurationDialogRejected(); +- } +- +- m_isConfiguring = false; +-} +- + QList GoogleResource::scopes() const + { + // TODO: determine it based on what user wants? +- const QList scopes = { +- Account::accountInfoScopeUrl(), +- Account::calendarScopeUrl(), +- Account::peopleScopeUrl(), +- Account::tasksScopeUrl(), +- }; +- return scopes; ++ return googleScopes(); + } + + void GoogleResource::updateResourceName() + { +- const QString accountName = m_settings->account(); ++ const QString accountName = m_settings.account(); + setName(i18nc("%1 is account name (user@gmail.com)", "Google Groupware (%1)", accountName.isEmpty() ? i18n("not configured") : accountName)); + } + + void GoogleResource::reloadConfig() + { +- const AccountPtr account = m_settings->accountPtr(); ++ updateResourceName(); ++ ++ const AccountPtr account = m_settings.accountPtr(); + if (account.isNull() || account->accountName().isEmpty()) { + Q_EMIT status(NotConfigured, i18n("Configured account does not exist")); +- } else { +- emitReadyStatus(); ++ return; + } ++ ++ emitReadyStatus(); ++ synchronize(); + } + + bool GoogleResource::handleError(KGAPI2::Job *job, bool _cancelTask) +@@ -231,7 +195,7 @@ bool GoogleResource::handleError(KGAPI2::Job *job, bool _cancelTask) + + void GoogleResource::runAuthJob(const KGAPI2::AccountPtr &account, const QVariant &args) + { +- auto authJob = new AuthJob(account, m_settings->clientId(), m_settings->clientSecret(), this); ++ auto authJob = new AuthJob(account, m_settings.clientId(), m_settings.clientSecret(), this); + authJob->setProperty(JOB_PROPERTY, args); + connect(authJob, &AuthJob::finished, this, &GoogleResource::slotAuthJobFinished); + } +@@ -264,7 +228,7 @@ void GoogleResource::requestAuthenticationFromUser(const KGAPI2::AccountPtr &acc + + bool GoogleResource::canPerformTask() + { +- if (!m_settings->accountPtr() && accountId() == 0) { ++ if (!m_settings.accountPtr() && accountId() == 0) { + cancelTask(i18nc("@info:status", "Resource is not configured")); + Q_EMIT status(NotConfigured, i18nc("@info:status", "Resource is not configured")); + return false; +@@ -289,10 +253,11 @@ void GoogleResource::slotAuthJobFinished(KGAPI2::Job *job) + + auto authJob = qobject_cast(job); + AccountPtr account = authJob->account(); +- auto writeJob = m_settings->storeAccount(account); ++ auto writeJob = m_settings.storeAccount(account); + connect(writeJob, &WritePasswordJob::finished, this, [job, account, writeJob]() { + if (writeJob->error()) { + qCWarning(GOOGLE_LOG) << "Failed to store account's password in secret storage" << writeJob->errorString(); ++ return; + } + + auto otherJob = job->property(JOB_PROPERTY).value(); +@@ -375,22 +340,22 @@ void GoogleResource::retrieveCollections() + + setCollectionStreamingEnabled(true); + CachePolicy cachePolicy; +- if (m_settings->enableIntervalCheck()) { ++ if (m_settings.enableIntervalCheck()) { + cachePolicy.setInheritFromParent(false); +- cachePolicy.setIntervalCheckTime(m_settings->intervalCheckTime()); ++ cachePolicy.setIntervalCheckTime(m_settings.intervalCheckTime()); + } + + // Setting up root collection + m_rootCollection = Collection(); + m_rootCollection.setContentMimeTypes({Collection::mimeType(), Collection::virtualMimeType()}); + m_rootCollection.setRemoteId(ROOT_COLLECTION_REMOTEID); +- m_rootCollection.setName(m_settings->accountPtr()->accountName()); ++ m_rootCollection.setName(m_settings.accountPtr()->accountName()); + m_rootCollection.setParentCollection(Collection::root()); + m_rootCollection.setRights(Collection::CanCreateCollection); + m_rootCollection.setCachePolicy(cachePolicy); + + auto attr = m_rootCollection.attribute(Collection::AddIfMissing); +- attr->setDisplayName(m_settings->accountPtr()->accountName()); ++ attr->setDisplayName(m_settings.accountPtr()->accountName()); + attr->setIconName(QStringLiteral("im-google")); + + collectionsRetrieved({m_rootCollection}); +diff --git a/resources/google-groupware/googleresource.h b/resources/google-groupware/googleresource.h +index 4609572756..75708afca4 100644 +--- a/resources/google-groupware/googleresource.h ++++ b/resources/google-groupware/googleresource.h +@@ -14,6 +14,7 @@ + + #include "calendarhandler.h" + #include "generichandler.h" ++#include "googlesettings.h" + + #define JOB_PROPERTY "_KGAPI2Job" + +@@ -37,7 +38,6 @@ public: + + void cleanup() override; + public Q_SLOTS: +- void configure(WId windowId) override; + void reloadConfig(); + + protected: +@@ -83,7 +83,7 @@ protected Q_SLOTS: + + private: + bool m_isConfiguring = false; +- GoogleSettings *m_settings = nullptr; ++ GoogleSettings m_settings; + Akonadi::Collection m_rootCollection; + + GoogleResourceState *const m_iface; +diff --git a/resources/google-groupware/googlescopes.cpp b/resources/google-groupware/googlescopes.cpp +new file mode 100644 +index 0000000000..9e565f7e33 +--- /dev/null ++++ b/resources/google-groupware/googlescopes.cpp +@@ -0,0 +1,19 @@ ++// SPDX-FileCopyrightText: 2011 Daniel Vrátil ++// SPDX-FileCopyrightText: 2023 Carl Schwan ++// SPDX-License-Identifier: GPL-3.0-or-later ++ ++#include "googlescopes.h" ++#include ++ ++using namespace KGAPI2; ++ ++QList googleScopes() ++{ ++ // TODO: determine it based on what user wants? ++ return { ++ Account::accountInfoScopeUrl(), ++ Account::calendarScopeUrl(), ++ Account::peopleScopeUrl(), ++ Account::tasksScopeUrl(), ++ }; ++} +diff --git a/resources/google-groupware/googlescopes.h b/resources/google-groupware/googlescopes.h +new file mode 100644 +index 0000000000..33bf579a89 +--- /dev/null ++++ b/resources/google-groupware/googlescopes.h +@@ -0,0 +1,10 @@ ++/* ++ SPDX-FileCopyrightText: 2011 Daniel Vrátil ++ SPDX-FileCopyrightText: 2023 Carl Schwan ++ SPDX-License-Identifier: GPL-3.0-or-later ++*/ ++ ++#include ++#include ++ ++QList googleScopes(); +diff --git a/resources/google-groupware/googlesettings.cpp b/resources/google-groupware/googlesettings.cpp +index 6a1785fcf9..aa94cad1ab 100644 +--- a/resources/google-groupware/googlesettings.cpp ++++ b/resources/google-groupware/googlesettings.cpp +@@ -8,6 +8,8 @@ + + #include "googlesettings.h" + #include "googleresource_debug.h" ++#include "googlescopes.h" ++#include "settingsadaptor.h" + + #include + #include +@@ -27,8 +29,16 @@ using namespace KGAPI2; + + static const QString googleWalletFolder = QStringLiteral("Akonadi Google"); + +-GoogleSettings::GoogleSettings() ++GoogleSettings::GoogleSettings(const KSharedConfigPtr &config, Options options) ++ : SettingsBase(config) + { ++ qDebug() << config; ++ if (options & Option::ExportToDBus) { ++ new SettingsAdaptor(this); ++ QDBusConnection::sessionBus().registerObject(QStringLiteral("/Settings"), ++ this, ++ QDBusConnection::ExportAdaptors | QDBusConnection::ExportScriptableContents); ++ } + } + + void GoogleSettings::init() +@@ -82,15 +92,17 @@ WritePasswordJob *GoogleSettings::storeAccount(AccountPtr account) + m_account = account; + + QStringList scopes; +- const QList urlScopes = m_account->scopes(); ++ const QList urlScopes = googleScopes(); + scopes.reserve(urlScopes.count()); + for (const QUrl &url : urlScopes) { + scopes << url.toString(); + } + +- const QMap map = {{QStringLiteral("accessToken"), m_account->accessToken()}, +- {QStringLiteral("refreshToken"), m_account->refreshToken()}, +- {QStringLiteral("scopes"), scopes.join(QLatin1Char(','))}}; ++ const QMap map = { ++ {QStringLiteral("accessToken"), m_account->accessToken()}, ++ {QStringLiteral("refreshToken"), m_account->refreshToken()}, ++ {QStringLiteral("scopes"), scopes.join(QLatin1Char(','))}, ++ }; + + // Legacy: store the map exactly like kwallet is doing it + QByteArray mapData; +diff --git a/resources/google-groupware/googlesettings.h b/resources/google-groupware/googlesettings.h +index f689dc7748..0ec4c3c34e 100644 +--- a/resources/google-groupware/googlesettings.h ++++ b/resources/google-groupware/googlesettings.h +@@ -33,7 +33,14 @@ class GoogleSettings : public SettingsBase + Q_CLASSINFO("D-Bus Interface", "org.kde.Akonadi.Google.ExtendedSettings") + + public: +- GoogleSettings(); ++ enum class Option { ++ NoOption = 0, ++ ExportToDBus = 1, ++ }; ++ Q_DECLARE_FLAGS(Options, Option) ++ ++ explicit GoogleSettings(const KSharedConfigPtr &config, Options options = Option::ExportToDBus); ++ + void init(); + void setWindowId(WId id); + void setResourceId(const QString &resourceIdentifier); +@@ -50,9 +57,11 @@ public: + bool isReady() const; + QKeychain::WritePasswordJob *storeAccount(KGAPI2::AccountPtr account); + void cleanup(); ++ + Q_SIGNALS: + void accountReady(bool ready); + void accountChanged(); ++ void okEnabled(bool enabled); + + private: + void slotWalletOpened(bool success); +diff --git a/resources/google-groupware/googlesettingsdialog.cpp b/resources/google-groupware/googlesettingsdialog.cpp +deleted file mode 100644 +index d418652d6f..0000000000 +--- a/resources/google-groupware/googlesettingsdialog.cpp ++++ /dev/null +@@ -1,305 +0,0 @@ +-/* +- SPDX-FileCopyrightText: 2013 Daniel Vrátil +- SPDX-FileCopyrightText: 2020 Igor Poboiko +- +- SPDX-License-Identifier: GPL-3.0-or-later +-*/ +- +-#include "googlesettingsdialog.h" +-#include "googleresource.h" +-#include "googleresource_debug.h" +-#include "googlesettings.h" +-#include "ui_googlesettingsdialog.h" +- +-#include +- +-#include +-#include +-#include +-#include +-#include +-#include +-#include +-#include +- +-#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) +-#include +-#else +-#include +-#endif +- +-using namespace QKeychain; +-using namespace KGAPI2; +- +-GoogleSettingsDialog::GoogleSettingsDialog(GoogleResource *resource, GoogleSettings *settings, WId wId) +- : QDialog() +- , m_resource(resource) +- , m_settings(settings) +- , m_ui(new Ui::GoogleSettingsDialog) +-{ +- if (wId) { +- setAttribute(Qt::WA_NativeWindow, true); +- kwindowsystem::setMainWindow(windowHandle(), wId); +- } +- auto mainLayout = new QVBoxLayout(this); +- +- auto mainWidget = new QWidget(this); +- mainLayout->addWidget(mainWidget); +- +- auto buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this); +- QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok); +- okButton->setDefault(true); +- okButton->setShortcut(Qt::CTRL | Qt::Key_Return); +- mainLayout->addWidget(buttonBox); +- +- m_ui->setupUi(mainWidget); +- +- m_ui->refreshSpinBox->setSuffix(ki18np(" minute", " minutes")); +- m_ui->enableRefresh->setChecked(m_settings->enableIntervalCheck()); +- m_ui->refreshSpinBox->setEnabled(m_settings->enableIntervalCheck()); +- m_ui->refreshSpinBox->setValue(m_settings->intervalCheckTime()); +- +- m_ui->eventsLimitCombo->setMaximumDate(QDate::currentDate()); +- m_ui->eventsLimitCombo->setMinimumDate(QDate::fromString(QStringLiteral("2000-01-01"), Qt::ISODate)); +- m_ui->eventsLimitCombo->setOptions(KDateComboBox::EditDate | KDateComboBox::SelectDate | KDateComboBox::DatePicker | KDateComboBox::WarnOnInvalid); +- if (m_settings->eventsSince().isEmpty()) { +- const QString ds = QStringLiteral("%1-01-01").arg(QString::number(QDate::currentDate().year() - 3)); +- m_ui->eventsLimitCombo->setDate(QDate::fromString(ds, Qt::ISODate)); +- } else { +- m_ui->eventsLimitCombo->setDate(QDate::fromString(m_settings->eventsSince(), Qt::ISODate)); +- } +- +- connect(buttonBox, &QDialogButtonBox::accepted, this, &GoogleSettingsDialog::slotSaveSettings); +- connect(buttonBox, &QDialogButtonBox::rejected, this, &GoogleSettingsDialog::reject); +- connect(m_ui->reloadCalendarsBtn, &QPushButton::clicked, this, &GoogleSettingsDialog::slotReloadCalendars); +- connect(m_ui->reloadTaskListsBtn, &QPushButton::clicked, this, &GoogleSettingsDialog::slotReloadTaskLists); +- connect(m_ui->configureBtn, &QPushButton::clicked, this, &GoogleSettingsDialog::slotConfigure); +- if (m_settings->isReady()) { +- m_account = m_settings->accountPtr(); +- } +- connect(m_settings, &GoogleSettings::accountReady, this, [this](bool ready) { +- if (ready) { +- m_account = m_settings->accountPtr(); +- accountChanged(); +- } +- }); +- QMetaObject::invokeMethod(this, &GoogleSettingsDialog::accountChanged, Qt::QueuedConnection); +-} +- +-GoogleSettingsDialog::~GoogleSettingsDialog() +-{ +- delete m_ui; +-} +- +-bool GoogleSettingsDialog::handleError(KGAPI2::Job *job) +-{ +- if ((job->error() == KGAPI2::NoError) || (job->error() == KGAPI2::OK)) { +- return true; +- } +- +- if (job->error() == KGAPI2::Unauthorized) { +- qCDebug(GOOGLE_LOG) << job << job->errorString(); +- const QList resourceScopes = m_resource->scopes(); +- for (const QUrl &scope : resourceScopes) { +- if (!m_account->scopes().contains(scope)) { +- m_account->addScope(scope); +- } +- } +- +- auto authJob = new AuthJob(m_account, m_settings->clientId(), m_settings->clientSecret(), this); +- authJob->setProperty(JOB_PROPERTY, QVariant::fromValue(job)); +- connect(authJob, &AuthJob::finished, this, &GoogleSettingsDialog::slotAuthJobFinished); +- +- return false; +- } +- +- KMessageBox::error(this, job->errorString()); +- return false; +-} +- +-void GoogleSettingsDialog::accountChanged() +-{ +- if (!m_account) { +- m_ui->accountLabel->setText(i18n("not configured")); +- m_ui->calendarsList->setDisabled(true); +- m_ui->reloadCalendarsBtn->setDisabled(true); +- m_ui->calendarsList->clear(); +- m_ui->taskListsList->setDisabled(true); +- m_ui->reloadTaskListsBtn->setDisabled(true); +- m_ui->taskListsList->clear(); +- return; +- } +- m_ui->accountLabel->setText(QStringLiteral("%1").arg(m_account->accountName())); +- slotReloadCalendars(); +- slotReloadTaskLists(); +-} +- +-void GoogleSettingsDialog::slotConfigure() +-{ +- const QString username = m_account && !m_account->accountName().isEmpty() ? m_account->accountName() : QString(); +- m_account = AccountPtr(new Account()); +- const QList resourceScopes = m_resource->scopes(); +- for (const QUrl &scope : resourceScopes) { +- if (!m_account->scopes().contains(scope)) { +- m_account->addScope(scope); +- } +- } +- auto authJob = new AuthJob(m_account, m_settings->clientId(), m_settings->clientSecret()); +- authJob->setUsername(username); +- connect(authJob, &AuthJob::finished, this, &GoogleSettingsDialog::slotAuthJobFinished); +-} +- +-void GoogleSettingsDialog::slotAuthJobFinished(KGAPI2::Job *job) +-{ +- auto authJob = qobject_cast(job); +- m_account = authJob->account(); +- if (authJob->error() != KGAPI2::NoError) { +- KMessageBox::error(this, authJob->errorString()); +- return; +- } +- accountChanged(); +- +- auto otherJob = job->property(JOB_PROPERTY).value(); +- if (otherJob) { +- otherJob->setAccount(m_account); +- otherJob->restart(); +- } +-} +- +-void GoogleSettingsDialog::slotSaveSettings() +-{ +- auto reset = [this] { +- m_settings->setAccount({}); +- m_settings->setEnableIntervalCheck(m_ui->enableRefresh->isChecked()); +- m_settings->setIntervalCheckTime(m_ui->refreshSpinBox->value()); +- m_settings->setCalendars({}); +- m_settings->setTaskLists({}); +- m_settings->setEventsSince({}); +- m_settings->save(); +- }; +- +- if (!m_account) { +- reset(); +- return; +- } +- +- auto writeJob = m_settings->storeAccount(m_account); +- connect(writeJob, &WritePasswordJob::finished, this, [this, reset, writeJob]() { +- if (writeJob->error()) { +- qCWarning(GOOGLE_LOG) << "Failed to store account's password in secret storage" << writeJob->errorString(); +- reset(); +- return; +- } +- +- m_settings->setAccount(m_account->accountName()); +- m_settings->setEnableIntervalCheck(m_ui->enableRefresh->isChecked()); +- m_settings->setIntervalCheckTime(m_ui->refreshSpinBox->value()); +- +- QStringList calendars; +- for (int i = 0; i < m_ui->calendarsList->count(); i++) { +- QListWidgetItem *item = m_ui->calendarsList->item(i); +- +- if (item->checkState() == Qt::Checked) { +- calendars.append(item->data(Qt::UserRole).toString()); +- } +- } +- m_settings->setCalendars(calendars); +- +- if (m_ui->eventsLimitCombo->isValid()) { +- m_settings->setEventsSince(m_ui->eventsLimitCombo->date().toString(Qt::ISODate)); +- } +- +- QStringList taskLists; +- for (int i = 0; i < m_ui->taskListsList->count(); i++) { +- QListWidgetItem *item = m_ui->taskListsList->item(i); +- +- if (item->checkState() == Qt::Checked) { +- taskLists.append(item->data(Qt::UserRole).toString()); +- } +- } +- m_settings->setTaskLists(taskLists); +- m_settings->save(); +- +- accept(); +- }); +-} +- +-void GoogleSettingsDialog::slotReloadCalendars() +-{ +- m_ui->calendarsList->setDisabled(true); +- m_ui->reloadCalendarsBtn->setDisabled(true); +- m_ui->calendarsList->clear(); +- +- if (!m_account) { +- return; +- } +- +- auto fetchJob = new CalendarFetchJob(m_account, this); +- connect(fetchJob, &CalendarFetchJob::finished, this, [this](KGAPI2::Job *job) { +- if (!handleError(job) || !m_account) { +- m_ui->calendarsList->setEnabled(false); +- m_ui->reloadCalendarsBtn->setEnabled(false); +- return; +- } +- +- const ObjectsList objects = qobject_cast(job)->items(); +- +- QStringList activeCalendars; +- if (m_account->accountName() == m_settings->account()) { +- activeCalendars = m_settings->calendars(); +- } +- m_ui->calendarsList->clear(); +- for (const ObjectPtr &object : objects) { +- const CalendarPtr calendar = object.dynamicCast(); +- +- auto item = new QListWidgetItem(calendar->title()); +- item->setData(Qt::UserRole, calendar->uid()); +- item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable); +- item->setCheckState((activeCalendars.isEmpty() || activeCalendars.contains(calendar->uid())) ? Qt::Checked : Qt::Unchecked); +- m_ui->calendarsList->addItem(item); +- } +- +- m_ui->calendarsList->setEnabled(true); +- m_ui->reloadCalendarsBtn->setEnabled(true); +- }); +-} +- +-void GoogleSettingsDialog::slotReloadTaskLists() +-{ +- if (!m_account) { +- return; +- } +- +- m_ui->taskListsList->setDisabled(true); +- m_ui->reloadTaskListsBtn->setDisabled(true); +- m_ui->taskListsList->clear(); +- +- auto job = new TaskListFetchJob(m_account, this); +- connect(job, &TaskListFetchJob::finished, this, [this](KGAPI2::Job *job) { +- if (!handleError(job) || !m_account) { +- m_ui->taskListsList->setDisabled(true); +- m_ui->reloadTaskListsBtn->setDisabled(true); +- return; +- } +- +- const ObjectsList objects = qobject_cast(job)->items(); +- +- QStringList activeTaskLists; +- if (m_account->accountName() == m_settings->account()) { +- activeTaskLists = m_settings->taskLists(); +- } +- m_ui->taskListsList->clear(); +- for (const ObjectPtr &object : objects) { +- const TaskListPtr taskList = object.dynamicCast(); +- +- auto item = new QListWidgetItem(taskList->title()); +- item->setData(Qt::UserRole, taskList->uid()); +- item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable); +- item->setCheckState((activeTaskLists.isEmpty() || activeTaskLists.contains(taskList->uid())) ? Qt::Checked : Qt::Unchecked); +- m_ui->taskListsList->addItem(item); +- } +- +- m_ui->taskListsList->setEnabled(true); +- m_ui->reloadTaskListsBtn->setEnabled(true); +- }); +-} +diff --git a/resources/google-groupware/googlesettingswidget.cpp b/resources/google-groupware/googlesettingswidget.cpp +new file mode 100644 +index 0000000000..2543c4c6b8 +--- /dev/null ++++ b/resources/google-groupware/googlesettingswidget.cpp +@@ -0,0 +1,288 @@ ++/* ++ SPDX-FileCopyrightText: 2013 Daniel Vrátil ++ SPDX-FileCopyrightText: 2020 Igor Poboiko ++ ++ SPDX-License-Identifier: GPL-3.0-or-later ++*/ ++ ++#include "googlesettingswidget.h" ++#include "googleresource.h" ++#include "googleresource_debug.h" ++#include "googlescopes.h" ++#include "googlesettings.h" ++ ++#include ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) ++#include ++#else ++#include ++#endif ++ ++using namespace QKeychain; ++using namespace KGAPI2; ++ ++GoogleSettingsWidget::GoogleSettingsWidget(GoogleSettings &settings, const QString &identifier, QWidget *parent) ++ : QWidget(parent) ++ , m_settings(settings) ++ , m_identifier(identifier) ++{ ++ qDebug() << m_settings.account(); ++ auto mainLayout = new QVBoxLayout(this); ++ ++ auto mainWidget = new QWidget(this); ++ mainLayout->addWidget(mainWidget); ++ setupUi(mainWidget); ++ ++ refreshSpinBox->setSuffix(ki18np(" minute", " minutes")); ++ enableRefresh->setChecked(m_settings.enableIntervalCheck()); ++ refreshSpinBox->setEnabled(m_settings.enableIntervalCheck()); ++ refreshSpinBox->setValue(m_settings.intervalCheckTime()); ++ ++ eventsLimitCombo->setMaximumDate(QDate::currentDate()); ++ eventsLimitCombo->setMinimumDate(QDate::fromString(QStringLiteral("2000-01-01"), Qt::ISODate)); ++ eventsLimitCombo->setOptions(KDateComboBox::EditDate | KDateComboBox::SelectDate | KDateComboBox::DatePicker | KDateComboBox::WarnOnInvalid); ++ if (m_settings.eventsSince().isEmpty()) { ++ const QString ds = QStringLiteral("%1-01-01").arg(QString::number(QDate::currentDate().year() - 3)); ++ eventsLimitCombo->setDate(QDate::fromString(ds, Qt::ISODate)); ++ } else { ++ eventsLimitCombo->setDate(QDate::fromString(m_settings.eventsSince(), Qt::ISODate)); ++ } ++ connect(reloadCalendarsBtn, &QPushButton::clicked, this, &GoogleSettingsWidget::slotReloadCalendars); ++ connect(reloadTaskListsBtn, &QPushButton::clicked, this, &GoogleSettingsWidget::slotReloadTaskLists); ++ connect(configureBtn, &QPushButton::clicked, this, &GoogleSettingsWidget::loadSettings); ++ if (m_settings.isReady()) { ++ m_account = m_settings.accountPtr(); ++ } ++ connect(&m_settings, &GoogleSettings::accountReady, this, [this](bool ready) { ++ if (ready) { ++ m_account = m_settings.accountPtr(); ++ accountChanged(); ++ } ++ }); ++ QMetaObject::invokeMethod(this, &GoogleSettingsWidget::accountChanged, Qt::QueuedConnection); ++} ++ ++GoogleSettingsWidget::~GoogleSettingsWidget() ++{ ++} ++ ++bool GoogleSettingsWidget::handleError(KGAPI2::Job *job) ++{ ++ if ((job->error() == KGAPI2::NoError) || (job->error() == KGAPI2::OK)) { ++ return true; ++ } ++ ++ if (job->error() == KGAPI2::Unauthorized) { ++ qCDebug(GOOGLE_LOG) << job << job->errorString(); ++ const QList resourceScopes = googleScopes(); ++ for (const QUrl &scope : resourceScopes) { ++ if (!m_account->scopes().contains(scope)) { ++ m_account->addScope(scope); ++ } ++ } ++ ++ auto authJob = new AuthJob(m_account, m_settings.clientId(), m_settings.clientSecret(), this); ++ authJob->setProperty(JOB_PROPERTY, QVariant::fromValue(job)); ++ connect(authJob, &AuthJob::finished, this, &GoogleSettingsWidget::slotAuthJobFinished); ++ ++ return false; ++ } ++ ++ KMessageBox::error(this, job->errorString()); ++ return false; ++} ++ ++void GoogleSettingsWidget::accountChanged() ++{ ++ if (!m_account) { ++ accountLabel->setText(i18n("not configured")); ++ calendarsList->setDisabled(true); ++ reloadCalendarsBtn->setDisabled(true); ++ calendarsList->clear(); ++ taskListsList->setDisabled(true); ++ reloadTaskListsBtn->setDisabled(true); ++ taskListsList->clear(); ++ return; ++ } ++ accountLabel->setText(QStringLiteral("%1").arg(m_account->accountName())); ++ slotReloadCalendars(); ++ slotReloadTaskLists(); ++} ++ ++void GoogleSettingsWidget::loadSettings() ++{ ++ const QString username = m_account && !m_account->accountName().isEmpty() ? m_account->accountName() : QString(); ++ m_account = AccountPtr(new Account()); ++ const QList resourceScopes = googleScopes(); ++ for (const QUrl &scope : resourceScopes) { ++ if (!m_account->scopes().contains(scope)) { ++ m_account->addScope(scope); ++ } ++ } ++ auto authJob = new AuthJob(m_account, m_settings.clientId(), m_settings.clientSecret()); ++ authJob->setUsername(username); ++ connect(authJob, &AuthJob::finished, this, &GoogleSettingsWidget::slotAuthJobFinished); ++} ++ ++void GoogleSettingsWidget::slotAuthJobFinished(KGAPI2::Job *job) ++{ ++ auto authJob = qobject_cast(job); ++ m_account = authJob->account(); ++ if (authJob->error() != KGAPI2::NoError) { ++ KMessageBox::error(this, authJob->errorString()); ++ return; ++ } ++ accountChanged(); ++ ++ auto otherJob = job->property(JOB_PROPERTY).value(); ++ if (otherJob) { ++ otherJob->setAccount(m_account); ++ otherJob->restart(); ++ } ++} ++ ++void GoogleSettingsWidget::saveSettings() ++{ ++ auto reset = [this] { ++ m_settings.setAccount({}); ++ m_settings.setEnableIntervalCheck(enableRefresh->isChecked()); ++ m_settings.setIntervalCheckTime(refreshSpinBox->value()); ++ m_settings.setCalendars({}); ++ m_settings.setTaskLists({}); ++ m_settings.setEventsSince({}); ++ m_settings.save(); ++ }; ++ ++ if (!m_account) { ++ reset(); ++ return; ++ } ++ ++ auto writeJob = m_settings.storeAccount(m_account); ++ connect(writeJob, &WritePasswordJob::finished, this, [this, reset, writeJob]() { ++ if (writeJob->error()) { ++ qCWarning(GOOGLE_LOG) << "Failed to store account's password in secret storage" << writeJob->errorString(); ++ reset(); ++ return; ++ } ++ ++ m_settings.setAccount(m_account->accountName()); ++ m_settings.setEnableIntervalCheck(enableRefresh->isChecked()); ++ m_settings.setIntervalCheckTime(refreshSpinBox->value()); ++ ++ QStringList calendars; ++ for (int i = 0; i < calendarsList->count(); i++) { ++ QListWidgetItem *item = calendarsList->item(i); ++ ++ if (item->checkState() == Qt::Checked) { ++ calendars.append(item->data(Qt::UserRole).toString()); ++ } ++ } ++ m_settings.setCalendars(calendars); ++ ++ if (eventsLimitCombo->isValid()) { ++ m_settings.setEventsSince(eventsLimitCombo->date().toString(Qt::ISODate)); ++ } ++ ++ QStringList taskLists; ++ for (int i = 0; i < taskListsList->count(); i++) { ++ QListWidgetItem *item = taskListsList->item(i); ++ ++ if (item->checkState() == Qt::Checked) { ++ taskLists.append(item->data(Qt::UserRole).toString()); ++ } ++ } ++ m_settings.setTaskLists(taskLists); ++ m_settings.save(); ++ }); ++} ++ ++void GoogleSettingsWidget::slotReloadCalendars() ++{ ++ calendarsList->setDisabled(true); ++ reloadCalendarsBtn->setDisabled(true); ++ calendarsList->clear(); ++ ++ if (!m_account) { ++ return; ++ } ++ ++ auto fetchJob = new CalendarFetchJob(m_account, this); ++ connect(fetchJob, &CalendarFetchJob::finished, this, [this](KGAPI2::Job *job) { ++ if (!handleError(job) || !m_account) { ++ calendarsList->setEnabled(false); ++ reloadCalendarsBtn->setEnabled(false); ++ return; ++ } ++ ++ const ObjectsList objects = qobject_cast(job)->items(); ++ ++ QStringList activeCalendars; ++ if (m_account->accountName() == m_settings.account()) { ++ activeCalendars = m_settings.calendars(); ++ } ++ calendarsList->clear(); ++ for (const ObjectPtr &object : objects) { ++ const CalendarPtr calendar = object.dynamicCast(); ++ ++ auto item = new QListWidgetItem(calendar->title()); ++ item->setData(Qt::UserRole, calendar->uid()); ++ item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable); ++ item->setCheckState((activeCalendars.isEmpty() || activeCalendars.contains(calendar->uid())) ? Qt::Checked : Qt::Unchecked); ++ calendarsList->addItem(item); ++ } ++ ++ calendarsList->setEnabled(true); ++ reloadCalendarsBtn->setEnabled(true); ++ }); ++} ++ ++void GoogleSettingsWidget::slotReloadTaskLists() ++{ ++ if (!m_account) { ++ return; ++ } ++ ++ taskListsList->setDisabled(true); ++ reloadTaskListsBtn->setDisabled(true); ++ taskListsList->clear(); ++ ++ auto job = new TaskListFetchJob(m_account, this); ++ connect(job, &TaskListFetchJob::finished, this, [this](KGAPI2::Job *job) { ++ if (!handleError(job) || !m_account) { ++ taskListsList->setDisabled(true); ++ reloadTaskListsBtn->setDisabled(true); ++ return; ++ } ++ ++ const ObjectsList objects = qobject_cast(job)->items(); ++ ++ QStringList activeTaskLists; ++ if (m_account->accountName() == m_settings.account()) { ++ activeTaskLists = m_settings.taskLists(); ++ } ++ taskListsList->clear(); ++ for (const ObjectPtr &object : objects) { ++ const TaskListPtr taskList = object.dynamicCast(); ++ ++ auto item = new QListWidgetItem(taskList->title()); ++ item->setData(Qt::UserRole, taskList->uid()); ++ item->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsUserCheckable); ++ item->setCheckState((activeTaskLists.isEmpty() || activeTaskLists.contains(taskList->uid())) ? Qt::Checked : Qt::Unchecked); ++ taskListsList->addItem(item); ++ } ++ ++ taskListsList->setEnabled(true); ++ reloadTaskListsBtn->setEnabled(true); ++ }); ++} +diff --git a/resources/google-groupware/googlesettingsdialog.h b/resources/google-groupware/googlesettingswidget.h +similarity index 53% +rename from resources/google-groupware/googlesettingsdialog.h +rename to resources/google-groupware/googlesettingswidget.h +index a7d6ca0c92..4226a39d2d 100644 +--- a/resources/google-groupware/googlesettingsdialog.h ++++ b/resources/google-groupware/googlesettingswidget.h +@@ -7,40 +7,37 @@ + + #pragma once + ++#include "googlesettings.h" ++#include "ui_googlesettingswidget.h" + #include +-#include + +-namespace Ui +-{ +-class GoogleSettingsDialog; +-} + namespace KGAPI2 + { + class Job; + } +-class GoogleResource; +-class GoogleSettings; +- +-class GoogleSettingsDialog : public QDialog ++class GoogleSettingsWidget : public QWidget, private Ui::GoogleSettingsWidget + { + Q_OBJECT + public: +- explicit GoogleSettingsDialog(GoogleResource *resource, GoogleSettings *settings, WId wId); +- ~GoogleSettingsDialog() override; ++ explicit GoogleSettingsWidget(GoogleSettings &settings, const QString &identifier, QWidget *parent); ++ ~GoogleSettingsWidget() override; ++ ++ void loadSettings(); ++ void saveSettings(); ++ ++Q_SIGNALS: ++ void okEnabled(bool enabled); + + protected: + bool handleError(KGAPI2::Job *job); + void accountChanged(); + + private: +- void slotConfigure(); + void slotAuthJobFinished(KGAPI2::Job *job); +- void slotSaveSettings(); + void slotReloadCalendars(); + void slotReloadTaskLists(); + +- GoogleResource *const m_resource; +- GoogleSettings *const m_settings; +- Ui::GoogleSettingsDialog *const m_ui; ++ GoogleSettings &m_settings; + KGAPI2::AccountPtr m_account; ++ const QString m_identifier; + }; +diff --git a/resources/google-groupware/googlesettingsdialog.ui b/resources/google-groupware/googlesettingswidget.ui +similarity index 99% +rename from resources/google-groupware/googlesettingsdialog.ui +rename to resources/google-groupware/googlesettingswidget.ui +index 9ff9bc93b4..75fdfd24f1 100644 +--- a/resources/google-groupware/googlesettingsdialog.ui ++++ b/resources/google-groupware/googlesettingswidget.ui +@@ -1,6 +1,6 @@ + + +- GoogleSettingsDialog ++ GoogleSettingsWidget + + + +diff --git a/resources/google-groupware/settingsbase.kcfg b/resources/google-groupware/settingsbase.kcfg +index ac58395d71..7dfe8dfe92 100644 +--- a/resources/google-groupware/settingsbase.kcfg ++++ b/resources/google-groupware/settingsbase.kcfg +@@ -4,7 +4,7 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 + http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > +- ++ + + + +-- +GitLab + diff --git a/desktop/kde/applications/kdepim-runtime-/pspec.xml b/desktop/kde/applications/kdepim-runtime-/pspec.xml new file mode 100755 index 0000000000..a8450c054d --- /dev/null +++ b/desktop/kde/applications/kdepim-runtime-/pspec.xml @@ -0,0 +1,155 @@ + + + + + + kdepim-runtime + https://community.kde.org/KDE_PIM + + PisiLinux Community + admins@pisilinux.org + + LGPLv2 + kontact + library + app:gui + kde6 PIM Runtime Environment + kdepim-runtime contains kde6 PIM (Personal Information Management) runtime environment like akonadi agents. + mirrors://kde/stable/release-service/24.12.1/src/kdepim-runtime-24.12.1.tar.xz + + kdoctools-devel + boost-devel + shared-mime-info + akonadi-devel + akonadi-calendar-devel + akonadi-search-devel + kcmutils-devel + kio-devel + ki18n-devel + kitemmodels-devel + kunitconversion-devel + knotifyconfig-devel + knotifications-devel + kmailtransport-devel + kidentitymanagement-devel + kalarm + kcalutils-devel + kmbox-devel + kimap-devel + libkgapi-devel + kholidays-devel + ksyndication-devel + pimcommon-devel + cyrus-sasl-devel + qt6-declarative-devel + qt6-multimedia-devel + + + + qt6-webengine-devel + extra-cmake-modules + + qt6-networkauth-devel + akonadi-mime-devel + + akonadi-contacts-devel + qt6-speech-devel + kdav-devel + ffmpeg-devel + kldap-devel + libkdepim-devel + libXScrnSaver-devel + qca2-qt6-devel + qt6-keychain-devel + + + + + + kdepim-runtime + + akonadi + libkgapi + kio + ki18n + kimap + kmbox + kmime + libgcc + kcodecs + kconfig + kwallet + kxmlgui + kcalendarcore + kcmutils + kservice + qt6-base + kalarm + kcalutils + kitemviews + kcompletion + kcoreaddons + kdbusaddons + kitemmodels + pimcommon + kcontacts + kjobwidgets + knotifyconfig + kwindowsystem + kconfigwidgets + kmailtransport + ktextwidgets + knotifications + kwidgetsaddons + qt6-speech + akonadi-calendar + cyrus-sasl + akonadi-mime + + qt6-webengine + qt6-networkauth + qt6-multimedia + akonadi-contacts + kidentitymanagement + kdav + kldap + libkdepim + qt6-keychain + + + /etc/xdg + /usr/lib + /usr/bin + /usr/share + /usr/share/mime + /usr/share/kservicetypes5 + /usr/share/kservices6 + /usr/share/knotifications6 + /usr/share/icons + /usr/share/dbus-1 + /usr/share/akonadi + /usr/share/ontology + /usr/share/autostart + /usr/share/applications + /usr/share/doc + /usr/share/locale + + + kdepim-runtime-kf6 + + + + + + 2025-01-09 + 24.12.1 + First release + Pisi Linux Community + admin@pisilinux.org + + + diff --git a/desktop/kde/applications/kdepim-runtime-/translations.xml b/desktop/kde/applications/kdepim-runtime-/translations.xml new file mode 100755 index 0000000000..c20fdf1cce --- /dev/null +++ b/desktop/kde/applications/kdepim-runtime-/translations.xml @@ -0,0 +1,8 @@ + + + + kdepim-runtime + kde6 PIM (Kişisel Bilgi Yönetimi) çalışma zamanı ortamı + kdepim-runtime, kdelibs kullanarak yazılmış olan Akonadi ajanları da dahil olmak üzere kde6 PIM (Personal Information Management - Kişisel Bilgi Yönetimi) çalışma zamanı ortamını içerir. + + diff --git a/desktop/kde/applications/mailcommon/actions.py b/desktop/kde/applications/mailcommon/actions.py index b9a54dff81..6ef5f51338 100755 --- a/desktop/kde/applications/mailcommon/actions.py +++ b/desktop/kde/applications/mailcommon/actions.py @@ -5,16 +5,16 @@ # See the file http://www.gnu.org/licenses/gpl.txt from pisi.actionsapi import pisitools -from pisi.actionsapi import kde5 +from pisi.actionsapi import kde6 def setup(): - kde5.configure() + kde6.configure() def build(): - kde5.make() + kde6.make() def install(): - kde5.install() + kde6.install() pisitools.dodoc("LICENSES/*") diff --git a/desktop/kde/applications/mailcommon/pspec.xml b/desktop/kde/applications/mailcommon/pspec.xml index 45039b61a1..28efb22537 100755 --- a/desktop/kde/applications/mailcommon/pspec.xml +++ b/desktop/kde/applications/mailcommon/pspec.xml @@ -1,3 +1,4 @@ + @@ -13,61 +14,60 @@ app:library KDE PIM library providing support for mail applications KDE PIM library providing support for mail applications - mirrors://kde/stable/release-service/23.08.5/src/mailcommon-23.08.5.tar.xz + mirrors://kde/stable/release-service/24.12.1/src/mailcommon-24.12.1.tar.xz - qt5-base-devel - qt5-phonon-devel + qt6-base-devel + qt6-phonon-devel extra-cmake-modules boost-devel glibc-devel libical-devel gettext-devel - qt5-designer-devel + qt6-designer-devel kdoctools-devel - mailimporter-devel - messagelib-devel - libgravatar-devel - kidentitymanagement-devel - kmailtransport-devel - kmbox-devel - akonadi-devel + kio-devel + ki18n-devel + mailimporter-devel + messagelib-devel + libgravatar-devel + kidentitymanagement-devel + kmailtransport-devel + kmbox-devel + akonadi-devel kjobwidgets-devel solid-devel kitemmodels-devel - qt5-webkit-devel - kemoticons-devel - kinit-devel + kcompletion-devel + kiconthemes-devel kunitconversion-devel - kmime-devel + kmime-devel kcontacts-devel kcalendarcore-devel - kdewebkit-devel - kpimtextedit-devel - kimap-devel - kldap-devel - grantleetheme-devel - pimcommon-devel - libkleo-devel - libkdepim-devel + kpimtextedit-devel + kimap-devel + kldap-devel + grantleetheme-devel + pimcommon-devel + libkleo-devel + libkdepim-devel gpgme-devel - gpgme-qt5-devel - akonadi-mime-devel - akonadi-contacts-devel - grantlee-qt5-devel + gpgme-qt6-devel + akonadi-mime-devel + akonadi-contacts-devel openldap-client cyrus-sasl-devel syntax-highlighting-devel karchive-devel kguiaddons-devel - qt5-webengine-devel + qt6-webengine-devel mailcommon - qt5-base - qt5-webengine + qt6-base + qt6-webengine akonadi-contacts libgcc libkdepim @@ -85,7 +85,7 @@ pimcommon kitemviews messagelib - qt5-phonon + qt6-phonon kguiaddons kcompletion kcoreaddons @@ -102,17 +102,20 @@ /etc /usr/share - /usr/lib/qt5 + /usr/lib/qt6 /usr/lib /usr/share/doc + + mailcommon-kf6 + mailcommon-devel Development files for mailcommon - qt5-webengine-devel + qt6-webengine-devel mailcommon @@ -120,386 +123,18 @@ /usr/lib/cmake /usr/lib/pkgconfig + + mailcommon-kf6-devel + - - 2024-02-17 - 23.08.5 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-12-07 - 23.08.4 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-10-27 - 23.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-09-14 - 23.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-06-08 - 23.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-05-11 - 23.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-04-20 - 23.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-03-03 - 22.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2023-01-05 - 22.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-12-08 - 22.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-11-06 - 22.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-09-24 - 22.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-07-15 - 22.04.3 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-06-21 - 22.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-17 - 22.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-05-07 - 22.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2022-02-26 - 21.12.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2022-01-10 - 21.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-10-15 - 21.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-09-13 - 21.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-06-16 - 21.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-05-09 - 21.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2021-03-10 - 20.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-09-13 - 20.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-06-11 - 20.04.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-05-06 - 20.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-03-30 - 19.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-02 - 19.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-09-15 - 19.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-07-23 - 19.04.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-04-18 - 19.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-03-11 - 18.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-02-08 - 18.12.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2019-01-12 - 18.12.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-26 - 18.12.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-12-12 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-11-08 - 18.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-10-18 - 18.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-08-11 - 18.04.1 - Rebuild - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2018-05-11 - 18.04.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-04-25 - 18.04.0 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-03-22 - 17.12.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2018-02-04 - 17.12.1 - Version bump - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-11-12 - 17.08.3 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-10-16 - 17.08.2 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-09-14 - 17.08.1 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2017-07-17 - 17.04.3 - Version bump - Ali Algul - aligulle3801@gmail.com - - - 2017-07-04 - 17.04.2 - Version bump. - Kamil Atlı - suvari@pisilinux.org - - - 2016-12-30 - 16.12.0 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-11-29 - 16.08.3 - Version bump. - Stefan Gronewold(groni) - groni@pisilinux.org - - - 2016-10-22 - 16.08.2 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilnux.org - - - 2016-10-12 - 16.08.1 - Version bump. - Stefan Gronewold - groni@pisilinux.org - - - 2016-07-31 - 16.04.3 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2016-05-20 - 16.04.0 + + 2025-01-09 + 24.12.1 First release - Yusuf Aydemir - yusuf.aydemir@pisilinux.org + Pisi Linux Community + admin@pisilinux.org