diff options
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/Manifest.gz | bin | 36357 -> 36364 bytes | |||
-rw-r--r-- | kde-apps/akonadi/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/akonadi/files/README.gentoo | 39 | ||||
-rw-r--r-- | kde-apps/akonadi/files/akonadi-21.03.80-mysql56-crash.patch | 51 | ||||
-rw-r--r-- | kde-apps/kajongg/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kajongg/files/kajongg-24.08.1-fix-w-o-pyqt6.patch | 156 |
6 files changed, 0 insertions, 249 deletions
diff --git a/kde-apps/Manifest.gz b/kde-apps/Manifest.gz Binary files differindex 11f1188fbbac..8745c48bbcfc 100644 --- a/kde-apps/Manifest.gz +++ b/kde-apps/Manifest.gz diff --git a/kde-apps/akonadi/Manifest b/kde-apps/akonadi/Manifest index bbb8734babe4..acfc18a4a8b9 100644 --- a/kde-apps/akonadi/Manifest +++ b/kde-apps/akonadi/Manifest @@ -1,5 +1,3 @@ -AUX README.gentoo 1599 BLAKE2B aba3a897768323c2fa40a487fefd45529ce024a4ba11b1fd0dd9ff5fa6305d477820a6618609dd124a848593166bfeb52cc5e807dfa3c2125ac5116dd538de25 SHA512 d0dc40edf06f833bbebfbc96c4a1e27b0bc0a1108f059ffefc1e565b4497fabf3d997fdc7a769d918508fc92e1170d57470f676ead8fd874bf7c3911ea0d03af -AUX akonadi-21.03.80-mysql56-crash.patch 2534 BLAKE2B bc36e6a80f6f93695e35fc19edf9d8a1139508b9fe3cd1f81a1e6a1ca7723def4ed81fb9bdc75822b00835ad65333bb1dc44a552d33f09bfd331a4ddb8e23d13 SHA512 acb0432f98a96d5af609d43dc5aa25d3d5d0668c9493c62b2339add0f3ef78d54449137884eafc0201b9f0f4de4543a584ef6cd746cd3634d1a84169cd0e4219 DIST akonadi-24.08.3.tar.xz 1705408 BLAKE2B c209d3edda626f0768e05d5f63060068b06113cd2d31c53b9e335b4fb815d97280614d161ba4619795ab2c8604270dd613f036f9bdff1bcc3c86740194e48047 SHA512 efed4b344ab25ba986269b79b9157e3c5d1542fe93c4cd037a030b6740d564baf651de1e2db206cb996a46a6d007c787cdae8eef32df9ed70d1eee5d537b2167 DIST akonadi-24.12.0.tar.xz 1710188 BLAKE2B d4ed95eb1d0e70db3eec9566c885d935f45265e6348a102fc4c8f6121ee37f330fd4c5700b9b82f058cae86bce6444be3814ad937e53e3276b41f80d54bc2bff SHA512 c440a8def80f66332f383b84987ed972456ff8a5b8f86bbca13c2d213d610f831020d90041a994a7a39b40fd39ebcb4c414796d92a33e62072f9b1abaccdf384 EBUILD akonadi-24.08.3.ebuild 2417 BLAKE2B 310f6d68b615232e8b010dec320c39646ce049334e899f0d17b7a1360a63a9c1f9cc5e35ccdb25845ccf96d4feff984dac873ebd9ecc2295115f445f7e978639 SHA512 c8f37d677218bc36f870a23f1e00ebc6fca21d1a79cf2bb158bdc0efe5288dafeb7463b1a27318d20113973ea7f77726fc3c20ed0ae4f268fe838be4cfba47ea diff --git a/kde-apps/akonadi/files/README.gentoo b/kde-apps/akonadi/files/README.gentoo deleted file mode 100644 index 69bb68c1f000..000000000000 --- a/kde-apps/akonadi/files/README.gentoo +++ /dev/null @@ -1,39 +0,0 @@ -Akonadi QMYSQL backends that were created using <dev-db/mariadb-10.5.9-r3 may -be in need of a manual fix. Failure to do so could result in akonadi service -to stop fetching and sending mail for KMail or any other kind of issues in PIM -applications depending on akonadi like KOrganizer, KAddressBook etc. - -Note: - - All commands that follow are to be run by a regular user. - - They will have to be repeated for any other user of KDE PIM. - - Use your favorite terminal. - - 1) Check if "mysql" system db is present: - $ mysql -S /run/user/$(id -u)/akonadi/mysql.socket -e 'select schema_name \ - from information_schema.schemata where schema_name = "mysql"' - - The output obtained should look like this: - +-------------+ - | schema_name | - +-------------+ - | mysql | - +-------------+ - - If so, then automatic DB upgrades will succeed, no further action necessary. - - 2) If, however, the above query returned empty, add the missing database: - $ mysql -S /run/user/$(id -u)/akonadi/mysql.socket -e 'create database mysql' - - Future MariaDB releases should upgrade without manual intervention now. - - 3) Optional: You may have come here with an already defunct akonadi service. - To manually fix the akonadi MariaDB backend: - $ mysql_upgrade --defaults-file=~/.local/share/akonadi/mysql.conf \ - -S /run/user/$(id -u)/akonadi/mysql.socket - - Don't forget to restart the akonadi service afterwards: - $ akonadictl restart - -References: - [1] https://bugs.gentoo.org/688746 - [2] https://bugs.kde.org/show_bug.cgi?id=409224 diff --git a/kde-apps/akonadi/files/akonadi-21.03.80-mysql56-crash.patch b/kde-apps/akonadi/files/akonadi-21.03.80-mysql56-crash.patch deleted file mode 100644 index 7cee0b0e815f..000000000000 --- a/kde-apps/akonadi/files/akonadi-21.03.80-mysql56-crash.patch +++ /dev/null @@ -1,51 +0,0 @@ -From ca023c075e5e239dd6d254722c8866b17a524a3c Mon Sep 17 00:00:00 2001 -From: Manuel Nickschas <sputnick@quassel-irc.org> -Date: Wed, 10 Feb 2021 09:40:44 +0100 -Subject: [PATCH] Find mysql_install_db and add required option - -Rebase patch onto 21.03.80 -Gentoo-bug: 530012 ---- - src/server/storage/dbconfigmysql.cpp | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/src/server/storage/dbconfigmysql.cpp b/src/server/storage/dbconfigmysql.cpp -index fd057670e..c19cff0e0 100644 ---- a/src/server/storage/dbconfigmysql.cpp -+++ b/src/server/storage/dbconfigmysql.cpp -@@ -53,6 +53,7 @@ static QString findExecutable(const QString &bin) - QStringLiteral("/usr/local/sbin"), - QStringLiteral("/usr/local/libexec"), - QStringLiteral("/usr/libexec"), -+ QStringLiteral("/usr/share/mysql/scripts"), - QStringLiteral("/opt/mysql/libexec"), - QStringLiteral("/opt/local/lib/mysql5/bin"), - QStringLiteral("/opt/mysql/sbin"), -@@ -597,7 +598,7 @@ bool DbConfigMysql::initializeMariaDBDatabase(const QString &confFile, const QSt - == execute(mMysqlInstallDbPath, - {QStringLiteral("--defaults-file=%1").arg(confFile), - QStringLiteral("--force"), -- QStringLiteral("--basedir=%1").arg(baseDir), -+ QStringLiteral("--basedir=/usr"), - QStringLiteral("--datadir=%1/").arg(dataDir)}); - } - -@@ -609,7 +610,7 @@ bool DbConfigMysql::initializeMySQL5_7_6Database(const QString &confFile, const - { - return 0 - == execute(mMysqldPath, -- {QStringLiteral("--defaults-file=%1").arg(confFile), QStringLiteral("--initialize"), QStringLiteral("--datadir=%1/").arg(dataDir)}); -+ {QStringLiteral("--defaults-file=%1").arg(confFile), QStringLiteral("--initialize"), QStringLiteral("--basedir=/usr"), QStringLiteral("--datadir=%1/").arg(dataDir)}); - } - - bool DbConfigMysql::initializeMySQLDatabase(const QString &confFile, const QString &dataDir) const -@@ -629,5 +630,5 @@ bool DbConfigMysql::initializeMySQLDatabase(const QString &confFile, const QStri - return 0 - == execute( - mMysqlInstallDbPath, -- {QStringLiteral("--defaults-file=%1").arg(confFile), QStringLiteral("--basedir=%1").arg(baseDir), QStringLiteral("--datadir=%1/").arg(dataDir)}); -+ {QStringLiteral("--defaults-file=%1").arg(confFile), QStringLiteral("--basedir=/usr"), QStringLiteral("--datadir=%1/").arg(dataDir)}); - } --- -2.30.0 - diff --git a/kde-apps/kajongg/Manifest b/kde-apps/kajongg/Manifest index 365751215727..ae264f95c43d 100644 --- a/kde-apps/kajongg/Manifest +++ b/kde-apps/kajongg/Manifest @@ -1,4 +1,3 @@ -AUX kajongg-24.08.1-fix-w-o-pyqt6.patch 5064 BLAKE2B 98175c518d56e6ab9757d941646afbe7e0621d96b91d84a796ea8c99defc541408de7355bae1c29eb282a5f08181fde1e2aba8f7ae2a1dacde72248cbd34aa7a SHA512 41a14617142c50bafcb10a0596cb473710a0447af6b75146c01cc7150f139116b70529d37e202618f577f99783b3498778520ce78ece65f92ef57228c90cf996 DIST kajongg-24.05.2.tar.xz 4601924 BLAKE2B 3c14def1edcc98d672adba7b87706894dfceda2f7b766e30d24b9130c785d0f4eeebc60611895ea97d3254867d3df0670dbc13feb2cdacf8db98a0fd0e597755 SHA512 6c5d1ac85204dd3a7f2e775660a0fbaf6b590d0d4fd64658d200b65b30edb09258a5ce4f7a5484467acef52324b28ed61022697b23100e32f1276c344b134075 DIST kajongg-24.08.3.tar.xz 4618488 BLAKE2B 1e4d7439db1858b7053f748f9184272b86facfcfc2e2775516e31982d48628a58ff2b9b5eecdb0356932720eddbf5598ca03197234b777a871568921cc812a85 SHA512 166e9fd09c469f2c8c040d442c27ca4fb78a62dc29b2d96649f265175038918f6fd324709f800799a8c5cb49af02a3c5641334b0fd1ead034b4a9786954ca525 DIST kajongg-24.12.0.tar.xz 4618292 BLAKE2B a7bbc3ff31754f82c067ae10ddf851afc19409adea9885b4115850f90acaad4fd959bcbf5275d56e719fe8cde30d5e9ecc23ccebd3e06f10bba07f3a0dd18916 SHA512 082236f61873dfe16d1499f654420319c5b7c368565b1c8b5106a725c15e28cca7a048b8ba2f8babaa77ecca94e94cc48863509cbb7ad6bde3826eac878721cd diff --git a/kde-apps/kajongg/files/kajongg-24.08.1-fix-w-o-pyqt6.patch b/kde-apps/kajongg/files/kajongg-24.08.1-fix-w-o-pyqt6.patch deleted file mode 100644 index 5ac159bd13c3..000000000000 --- a/kde-apps/kajongg/files/kajongg-24.08.1-fix-w-o-pyqt6.patch +++ /dev/null @@ -1,156 +0,0 @@ -From 2628e367759fab2ff9365b4ebaf1b76cc3e8c301 Mon Sep 17 00:00:00 2001 -From: Wolfgang Rohdewald <wolfgang@rohdewald.de> -Date: Tue, 10 Sep 2024 22:07:43 +0200 -Subject: [PATCH 1/4] did not work with QT=API=PYSIDE2 anymore - -(cherry picked from commit 8354d9b0fda654c0520c6c97d96f8b9a2f1eec34) ---- - src/kajongg.py | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/src/kajongg.py b/src/kajongg.py -index 5f369889..139a061c 100755 ---- a/src/kajongg.py -+++ b/src/kajongg.py -@@ -15,7 +15,7 @@ import os - import logging - from typing import Tuple, List, Optional, Type, Any - --from qtpy import QT5 -+from qtpy import QT5, PYSIDE2 - from qt import QObject, QCommandLineParser, QCommandLineOption, Qt, QGuiApplication - from kde import KApplication - from mi18n import i18n, MLocale -@@ -190,4 +190,7 @@ from mainwindow import MainWindow - if QT5: - QGuiApplication.setAttribute(Qt.ApplicationAttribute.AA_UseHighDpiPixmaps, True) # type:ignore[attr-defined] - MainWindow() --Internal.app.exec() -+if PYSIDE2: -+ Internal.app.exec_() -+else: -+ Internal.app.exec() --- -2.46.0 - - -From f47761e86c1c97fcce543437a580051f5bfdf6e1 Mon Sep 17 00:00:00 2001 -From: Wolfgang Rohdewald <wolfgang@rohdewald.de> -Date: Tue, 10 Sep 2024 22:09:13 +0200 -Subject: [PATCH 2/4] Help/About did not work with QT5 anymore - -(cherry picked from commit 7b69cc0a7fd8a999a41b1f874460f9634d1b1bd9) ---- - src/kdestub.py | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/src/kdestub.py b/src/kdestub.py -index 651137a8..0985b75f 100644 ---- a/src/kdestub.py -+++ b/src/kdestub.py -@@ -42,7 +42,7 @@ from configparser import ConfigParser, NoSectionError, NoOptionError - - # pylint: disable=wildcard-import,unused-wildcard-import - from qt import * --from qtpy import QT6, PYSIDE2, PYSIDE6, QT_VERSION, API_NAME, PYQT_VERSION -+from qtpy import QT5, QT6, PYSIDE2, PYSIDE6, QT_VERSION, API_NAME, PYQT_VERSION - if QT6: - # pylint:disable=no-name-in-module - from qtpy.QtCore import QKeyCombination # type: ignore -@@ -1130,7 +1130,11 @@ class AboutKajonggDialog(KDialog): - @staticmethod - def licenseFile() ->Optional[str]: - """which may currently only be 1: GPL_V2""" -- prefix = QLibraryInfo.location(QLibraryInfo.LibraryPath.PrefixPath) # type:ignore[attr-defined] -+ if QT5: -+ # pyqt 2.3.0 does not seem to handle this -+ prefix = QLibraryInfo.location(QLibraryInfo.LibraryLocation.PrefixPath) # type:ignore[attr-defined] -+ else: -+ prefix = QLibraryInfo.path(QLibraryInfo.LibraryPath.PrefixPath) # type:ignore[attr-defined] - for path in ('COPYING', '../COPYING', - f'{prefix}/share/kf5/licenses/GPL_V2'): - path = os.path.abspath(path) --- -2.46.0 - - -From 534d598b4d19149e984cce22fc5431091dd2d47c Mon Sep 17 00:00:00 2001 -From: Wolfgang Rohdewald <wolfgang@rohdewald.de> -Date: Tue, 10 Sep 2024 22:10:23 +0200 -Subject: [PATCH 3/4] this should work with PYSIDE6 without PyQt6 being - installed - -(cherry picked from commit 3f12d305cc56814b72c561b36271494a21cf236d) ---- - src/qt.py | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/src/qt.py b/src/qt.py -index 38679abc..b9cf96ca 100644 ---- a/src/qt.py -+++ b/src/qt.py -@@ -150,6 +150,9 @@ elif QT6: - return sip.cast(obj, _type) - else: - HAVE_SIP = False -+ def sip_cast(obj, _type): -+ """hide not so nice things in qt.py""" -+ raise NotImplementedError - - def modeltest_is_supported() ->bool: - """Is the QT binding supported.""" -@@ -158,7 +161,7 @@ def modeltest_is_supported() ->bool: - try: - _ = sip_cast(QSize(), QSize) - return True -- except TypeError: -+ except (TypeError, NotImplementedError): - return False - - SIP_VERSION_STR = 'no sip' --- -2.46.0 - - -From b025fef86626f7b3af17924de8ca7ae1cdde6b87 Mon Sep 17 00:00:00 2001 -From: Wolfgang Rohdewald <wolfgang@rohdewald.de> -Date: Thu, 12 Sep 2024 21:09:54 +0200 -Subject: [PATCH 4/4] workaround: qtpy sometimes uses PYQT6 bindings even if it - cannot find module PyQt6. See KDE bug 486171 - -(cherry picked from commit 88a0beb61b97682307d5cd70aa61dd832759f293) ---- - src/qt.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/qt.py b/src/qt.py -index b9cf96ca..0799f6c2 100644 ---- a/src/qt.py -+++ b/src/qt.py -@@ -9,7 +9,7 @@ SPDX-License-Identifier: GPL-2.0 - - # pylint: disable=unused-import - --from qtpy import uic, QT5, QT6 -+from qtpy import uic, QT5, QT6, PYQT5, PYQT6 - from qtpy.QtCore import QAbstractAnimation - from qtpy.QtCore import QAbstractItemModel - from qtpy.QtCore import QAbstractTableModel -@@ -138,12 +138,12 @@ from qtpy.QtSvg import QSvgRenderer - # pylint:disable=c-extension-no-member - - HAVE_SIP = True --if QT5: -+if PYQT5: - from PyQt5 import sip - def sip_cast(obj, _type): - """hide not so nice things in qt.py""" - return sip.cast(obj, _type) --elif QT6: -+elif PYQT6: - from PyQt6 import sip # type:ignore[no-redef] - def sip_cast(obj, _type): - """hide not so nice things in qt.py""" --- -2.46.0 - |