From: "Andreas Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-office/akonadi-server/
Date: Wed, 6 Feb 2013 20:17:46 +0000 (UTC) [thread overview]
Message-ID: <1360181853.7490f737563f44fbb1d5593640fd6be2ae186d44.dilfridge@gentoo> (raw)
commit: 7490f737563f44fbb1d5593640fd6be2ae186d44
Author: Andreas K. Huettel (dilfridge) <mail <AT> akhuettel <DOT> de>
AuthorDate: Wed Feb 6 20:17:33 2013 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Feb 6 20:17:33 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=7490f737
[app-office/akonadi-server] Update from tree
Package-Manager: portage-2.2.0_alpha161
---
.../akonadi-server/akonadi-server-1.9.0.ebuild | 113 --------------------
.../akonadi-server/akonadi-server-9999.ebuild | 20 ++--
2 files changed, 10 insertions(+), 123 deletions(-)
diff --git a/app-office/akonadi-server/akonadi-server-1.9.0.ebuild b/app-office/akonadi-server/akonadi-server-1.9.0.ebuild
deleted file mode 100644
index 91ea8c9..0000000
--- a/app-office/akonadi-server/akonadi-server-1.9.0.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-if [[ $PV = *9999* ]]; then
- scm_eclass=git-2
- EGIT_REPO_URI="git://anongit.kde.org/akonadi"
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
- KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${P/-server/}"
-fi
-
-inherit cmake-utils ${scm_eclass}
-
-DESCRIPTION="The server part of Akonadi"
-HOMEPAGE="http://pim.kde.org/akonadi"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="+mysql postgres sqlite test"
-
-CDEPEND="
- dev-libs/boost
- >=dev-libs/soprano-2.6.51
- >=x11-libs/qt-gui-4.5.0:4[dbus]
- >=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?]
- >=x11-libs/qt-test-4.5.0:4
- x11-misc/shared-mime-info
-"
-DEPEND="${CDEPEND}
- dev-libs/libxslt
- >=dev-util/automoc-0.9.88
-"
-RDEPEND="${CDEPEND}
- postgres? ( dev-db/postgresql-server )
-"
-
-REQUIRED_USE="|| ( sqlite mysql postgres )"
-
-RESTRICT=test
-
-PATCHES=( "${FILESDIR}/${P}-qt5.patch" )
-
-pkg_setup() {
- # Set default storage backend in order: MySQL, SQLite PostgreSQL
- # reverse driver check to keep the order
- if use postgres; then
- DRIVER="QPSQL"
- AVAILABLE+=" ${DRIVER}"
- fi
-
- if use sqlite; then
- DRIVER="QSQLITE3"
- AVAILABLE+=" ${DRIVER}"
- fi
-
- if use mysql; then
- DRIVER="QMYSQL"
- AVAILABLE+=" ${DRIVER}"
- fi
-
- # Notify about driver name change
- if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
- ewarn
- ewarn "SQLite driver name changed from QSQLITE to QSQLITE3."
- ewarn "Please edit your ~/.config/akonadi/akonadiserverrc."
- fi
-
- # Notify about MySQL not being default anymore
- if ! use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
- ewarn
- ewarn "The default storage drive has changed from SQLite to MySQL."
- ewarn "If you want to stay with SQLite, enable the sqlite USE flag and reinstall"
- ewarn "${CATEGORY}/${PN}."
- ewarn "Otherwise, select a different driver in your ~/.config/akonadi/akonadiserverrc."
- ewarn "Available drivers are:${AVAILABLE}"
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DAKONADI_USE_STRIGI_SEARCH=OFF
- -DWITH_QT5=OFF
- $(cmake-utils_use test AKONADI_BUILD_TESTS)
- $(cmake-utils_use sqlite AKONADI_BUILD_QSQLITE)
- )
-
- cmake-utils_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
-
- cmake-utils_src_install
-}
-
-pkg_postinst() {
- echo
- elog "${DRIVER} has been set as your default akonadi storage backend."
- elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
- elog "Available drivers are: ${AVAILABLE}"
-}
diff --git a/app-office/akonadi-server/akonadi-server-9999.ebuild b/app-office/akonadi-server/akonadi-server-9999.ebuild
index 1cfcc99..6686b89 100644
--- a/app-office/akonadi-server/akonadi-server-9999.ebuild
+++ b/app-office/akonadi-server/akonadi-server-9999.ebuild
@@ -22,7 +22,7 @@ HOMEPAGE="http://pim.kde.org/akonadi"
LICENSE="LGPL-2.1"
SLOT="0"
-IUSE="mysql postgres +sqlite test"
+IUSE="+mysql postgres sqlite test"
CDEPEND="
dev-libs/boost
@@ -45,20 +45,20 @@ REQUIRED_USE="|| ( sqlite mysql postgres )"
RESTRICT=test
pkg_setup() {
- # Set default storage backend in order: SQLite, MySQL, PostgreSQL
+ # Set default storage backend in order: MySQL, SQLite PostgreSQL
# reverse driver check to keep the order
if use postgres; then
DRIVER="QPSQL"
AVAILABLE+=" ${DRIVER}"
fi
- if use mysql; then
- DRIVER="QMYSQL"
+ if use sqlite; then
+ DRIVER="QSQLITE3"
AVAILABLE+=" ${DRIVER}"
fi
- if use sqlite; then
- DRIVER="QSQLITE3"
+ if use mysql; then
+ DRIVER="QMYSQL"
AVAILABLE+=" ${DRIVER}"
fi
@@ -70,12 +70,12 @@ pkg_setup() {
fi
# Notify about MySQL not being default anymore
- if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then
+ if ! use sqlite && has_version "<=${CATEGORY}/${PN}-1.9.0[sqlite]"; then
ewarn
- ewarn "MySQL driver is not enabled by default in Gentoo anymore."
- ewarn "If you intend to use it, please enable mysql USE flag and reinstall"
+ ewarn "The default storage drive has changed from SQLite to MySQL."
+ ewarn "If you want to stay with SQLite, enable the sqlite USE flag and reinstall"
ewarn "${CATEGORY}/${PN}."
- ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc."
+ ewarn "Otherwise, select a different driver in your ~/.config/akonadi/akonadiserverrc."
ewarn "Available drivers are:${AVAILABLE}"
fi
}
next reply other threads:[~2013-02-06 20:17 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 20:17 Andreas Hüttel [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-22 12:36 [gentoo-commits] proj/kde:master commit in: app-office/akonadi-server/ Michael Palimaka
2014-12-30 16:39 Elias Probst
2014-09-12 19:03 Johannes Huber
2014-09-11 21:52 Johannes Huber
2014-08-10 11:43 Johannes Huber
2014-07-20 14:22 Andreas Hüttel
2014-07-18 15:01 Johannes Huber
2014-07-18 13:58 Manuel Rüger
2014-04-21 13:23 Johannes Huber
2014-04-21 12:32 Johannes Huber
2014-03-29 19:50 Johannes Huber
2014-03-19 21:53 Johannes Huber
2014-03-08 15:09 Johannes Huber
2013-12-18 18:02 Johannes Huber
2013-12-09 4:10 Chris Reffett
2013-11-24 0:22 Johannes Huber
2013-10-14 22:00 Andreas Hüttel
2013-10-13 17:03 Johannes Huber
2013-09-08 13:50 Michael Palimaka
2013-07-10 19:59 Johannes Huber
2013-06-12 21:18 Johannes Huber
2013-06-03 15:32 Michael Palimaka
2013-06-01 15:58 Michael Palimaka
2013-05-08 18:39 Johannes Huber
2013-03-20 13:25 Michael Palimaka
2013-03-11 16:21 Michael Palimaka
2013-03-03 16:14 Michael Palimaka
2013-02-06 16:03 Chris Reffett
2013-02-06 15:59 Chris Reffett
2013-01-04 7:50 Alexey Shvetsov
2013-01-04 7:45 Alexey Shvetsov
2012-11-25 16:35 Andreas Hüttel
2012-11-16 19:05 Alexey Shvetsov
2012-07-25 21:15 Johannes Huber
2012-06-28 13:14 Andreas Hüttel
2012-01-25 19:15 Johannes Huber
2012-01-24 22:57 Andreas Hüttel
2012-01-18 12:25 Johannes Huber
2011-12-21 0:00 Johannes Huber
2011-10-23 2:07 Jonathan Callen
2011-07-18 11:49 Jorge Manuel B. S. Vicetto
2011-07-11 21:38 Alexey Shvetsov
2011-06-29 9:06 Alexey Shvetsov
2011-05-24 5:57 Jorge Manuel B. S. Vicetto
2011-04-05 23:43 Tomas Chvatal
2011-04-05 23:27 Tomas Chvatal
2011-02-17 16:55 Tomas Chvatal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1360181853.7490f737563f44fbb1d5593640fd6be2ae186d44.dilfridge@gentoo \
--to=dilfridge@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox