summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-04-04 19:01:55 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-04-06 10:18:12 +0200
commitcfdb78127e181165b0693a640794d83dbba26bf2 (patch)
tree6143b215b2c41b3b3a53463e856157c0c3ca5d5e /kde-apps/akonadi
parentdev-libs/plasma-wayland-protocols: Drop 1.2.0-r1 (diff)
downloadgentoo-cfdb78127e181165b0693a640794d83dbba26bf2.tar.gz
gentoo-cfdb78127e181165b0693a640794d83dbba26bf2.tar.bz2
gentoo-cfdb78127e181165b0693a640794d83dbba26bf2.zip
kde-apps/akonadi: drop 20.12.2*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/akonadi')
-rw-r--r--kde-apps/akonadi/Manifest1
-rw-r--r--kde-apps/akonadi/akonadi-20.12.2-r1.ebuild132
-rw-r--r--kde-apps/akonadi/files/akonadi-20.12.2-mysql8-conf.patch75
3 files changed, 0 insertions, 208 deletions
diff --git a/kde-apps/akonadi/Manifest b/kde-apps/akonadi/Manifest
index 8ac6aef1c42c..7ac5389ab92f 100644
--- a/kde-apps/akonadi/Manifest
+++ b/kde-apps/akonadi/Manifest
@@ -1,2 +1 @@
-DIST akonadi-20.12.2.tar.xz 1593452 BLAKE2B e3d058a43685a8b8bf92ffbb169f1c17b8e831712567a4ef8eba6ef1eee6321ae45f82a72a4c44a71835b65c18075497d26c8802b7a2f0a10c9baa21efefa65e SHA512 2c21db5d6ab6b8d9cedabad2f726fd518ba8219db3cb6f8f72820edc71ed72efa31efcb2c4cd8ff36e52e4c0a38a97dd890789bf6816ab524f0568892254523c
DIST akonadi-20.12.3.tar.xz 1593588 BLAKE2B 783b75a21cf1b1771a5ed25fb25d395af374e249e43ae15f725e92921ef7afdf312cf39c60457a61ba549ba90fc3aebc8ef0b53b666ad1a89ce0cf58c43748b6 SHA512 516f240349b4a680ee8ab1986b8f3d018e9e54a8802aed404b3deb08491edd67413cc4bbb43aedc583f7110812b6bf41277f83908f54221cf21efb3b7f6e32df
diff --git a/kde-apps/akonadi/akonadi-20.12.2-r1.ebuild b/kde-apps/akonadi/akonadi-20.12.2-r1.ebuild
deleted file mode 100644
index c0e9eb4ea8cc..000000000000
--- a/kde-apps/akonadi/akonadi-20.12.2-r1.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_DESIGNERPLUGIN="true"
-ECM_TEST="forceoptional"
-KFMIN=5.75.0
-QTMIN=5.15.2
-VIRTUALDBUS_TEST="true"
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="Storage service for PIM data and libraries for PIM apps"
-HOMEPAGE="https://community.kde.org/KDE_PIM/akonadi"
-
-LICENSE="LGPL-2.1+"
-SLOT="5"
-KEYWORDS="amd64 arm64 ~ppc64 x86"
-IUSE="+kaccounts +mysql postgres sqlite tools xml"
-
-REQUIRED_USE="|| ( mysql postgres sqlite ) test? ( tools )"
-
-# some akonadi tests time out, that probably needs more work as it's ~700 tests
-RESTRICT+=" test"
-
-COMMON_DEPEND="
- app-arch/xz-utils
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtsql-${QTMIN}:5[mysql?,postgres?]
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kcrash-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kitemmodels-${KFMIN}:5
- >=kde-frameworks/kitemviews-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- kaccounts? (
- >=kde-apps/kaccounts-integration-20.08.3:5
- net-libs/accounts-qt
- )
- sqlite? (
- dev-db/sqlite:3
- >=dev-qt/qtsql-${QTMIN}:5=[sqlite]
- )
- xml? ( dev-libs/libxml2 )
-"
-DEPEND="${COMMON_DEPEND}
- dev-libs/boost
- dev-libs/libxslt
- test? ( sys-apps/dbus )
-"
-RDEPEND="${COMMON_DEPEND}
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-18.12.2-mysql56-crash.patch"
- "${FILESDIR}/${P}-mysql8-conf.patch" # bug 709812
-)
-
-pkg_setup() {
- # Set default storage backend in order: MySQL, PostgreSQL, SQLite
- # reverse driver check to keep the order
- use sqlite && DRIVER="QSQLITE3"
- use postgres && DRIVER="QPSQL"
- use mysql && DRIVER="QMYSQL"
-
- if use mysql && has_version ">=dev-db/mariadb-10.4"; then
- ewarn "If an existing Akonadi QMYSQL database is being upgraded using"
- ewarn ">=dev-db/mariadb-10.4 and KMail stops fetching and sending mail,"
- ewarn "check ~/.local/share/akonadi/akonadiserver.error for errors like:"
- ewarn " \"Cannot add or update a child row: a foreign key constraint fails\""
- ewarn
- ewarn "Manual steps are required to fix it, see also:"
- ewarn " https://bugs.gentoo.org/688746 (see Whiteboard)"
- ewarn " https://bugs.kde.org/show_bug.cgi?id=409224"
- ewarn
- fi
-
- if use sqlite || has_version "<${CATEGORY}/${P}[sqlite]"; then
- ewarn "We strongly recommend you change your Akonadi database backend to"
- ewarn "either MariaDB/MySQL or PostgreSQL in your user configuration."
- ewarn "In particular, kde-apps/kmail does not work properly with the sqlite backend."
- fi
-
- ecm_pkg_setup
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package kaccounts AccountsQt5)
- $(cmake_use_find_package kaccounts KAccounts)
- -DAKONADI_BUILD_QSQLITE=$(usex sqlite)
- -DBUILD_TOOLS=$(usex tools)
- $(cmake_use_find_package xml LibXml2)
- )
-
- ecm_src_configure
-}
-
-src_install() {
- # Who knows, maybe it accidentally fixes our permission issues
- cat <<-EOF > "${T}"/akonadiserverrc
-[%General]
-Driver=${DRIVER}
-EOF
- insinto /usr/share/config/akonadi
- doins "${T}"/akonadiserverrc
-
- ecm_src_install
-}
-
-pkg_postinst() {
- ecm_pkg_postinst
- elog "You can select the storage backend in ~/.config/akonadi/akonadiserverrc."
- elog "Available drivers are:"
- use mysql && elog " QMYSQL"
- use postgres && elog " QPSQL"
- use sqlite && elog " QSQLITE3"
- elog "${DRIVER} has been set as your default akonadi storage backend."
-}
diff --git a/kde-apps/akonadi/files/akonadi-20.12.2-mysql8-conf.patch b/kde-apps/akonadi/files/akonadi-20.12.2-mysql8-conf.patch
deleted file mode 100644
index 8edf9d605dde..000000000000
--- a/kde-apps/akonadi/files/akonadi-20.12.2-mysql8-conf.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 9c666d0d6039a87f6286014c7d9c7281a5bd9dd1 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Tue, 16 Feb 2021 21:38:14 +0100
-Subject: [PATCH] MySQL server settings: Make use of 'loose_' option prefix
-
-Idea by one of the Gentoo MySQL maintainers. This makes MySQL skip over
-unsupported options rather than fail, which is important with >=MySQL-8.
-
-See also:
-https://dev.mysql.com/doc/refman/8.0/en/option-files.html#option-file-syntax
-https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#option-prefixes
-
-BUG: 421922
-
-Thanks-to: Thomas Deutschmann <whissi@gentoo.org>
----
- src/server/storage/mysql-global-mobile.conf | 6 +++---
- src/server/storage/mysql-global.conf | 6 +++---
- 2 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/server/storage/mysql-global-mobile.conf b/src/server/storage/mysql-global-mobile.conf
-index 19649d347..48e150af7 100644
---- a/src/server/storage/mysql-global-mobile.conf
-+++ b/src/server/storage/mysql-global-mobile.conf
-@@ -65,7 +65,7 @@ innodb_large_prefix=1
- log_error=mysql.err
-
- # print warnings and connection errors (default:1)
--log_warnings=2
-+loose_log_warnings=2
-
- # Convert table named to lowercase
- lower_case_table_names=1
-@@ -80,10 +80,10 @@ max_connections=256
- # (make sense when having the same query multiple times)
-
- # Memory allocated for caching query results (default:0 (disabled))
--query_cache_size=0
-+loose_query_cache_size=0
-
- # Do not cache results (default:1)
--query_cache_type=0
-+loose_query_cache_type=0
-
- # Do not use the privileges mechanisms
- skip_grant_tables
-diff --git a/src/server/storage/mysql-global.conf b/src/server/storage/mysql-global.conf
-index ab4a4a1e3..b67a4ec1e 100644
---- a/src/server/storage/mysql-global.conf
-+++ b/src/server/storage/mysql-global.conf
-@@ -62,7 +62,7 @@ innodb_log_file_size=64M
- log_error=mysql.err
-
- # print warnings and connection errors (default:1)
--log_warnings=2
-+loose_log_warnings=2
-
- # Convert table named to lowercase
- lower_case_table_names=1
-@@ -77,10 +77,10 @@ max_connections=256
- # (make sense when having the same query multiple times)
-
- # Memory allocated for caching query results (default:0 (disabled))
--query_cache_size=0
-+loose_query_cache_size=0
-
- # Do not cache results (default:1)
--query_cache_type=0
-+loose_query_cache_type=0
-
- # Do not use the privileges mechanisms
- skip_grant_tables
---
-2.30.1
-