Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/akonadi-server: akonadi-server-1.12.0.ebuild akonadi-server-1.11.0.ebuild akonadi-server-1.10.3.ebuild ChangeLog
Date: Sat, 29 Mar 2014 19:48:55
Message-Id: 20140329194849.C8F5B20054@flycatcher.gentoo.org
1 johu 14/03/29 19:48:49
2
3 Modified: akonadi-server-1.11.0.ebuild
4 akonadi-server-1.10.3.ebuild ChangeLog
5 Added: akonadi-server-1.12.0.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
10
11 Revision Changes Path
12 1.2 app-office/akonadi-server/akonadi-server-1.11.0.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.11.0.ebuild?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.11.0.ebuild?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.11.0.ebuild?r1=1.1&r2=1.2
17
18 Index: akonadi-server-1.11.0.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.11.0.ebuild,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- akonadi-server-1.11.0.ebuild 18 Dec 2013 18:02:26 -0000 1.1
25 +++ akonadi-server-1.11.0.ebuild 29 Mar 2014 19:48:49 -0000 1.2
26 @@ -1,6 +1,6 @@
27 -# Copyright 1999-2013 Gentoo Foundation
28 +# Copyright 1999-2014 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.11.0.ebuild,v 1.1 2013/12/18 18:02:26 johu Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.11.0.ebuild,v 1.2 2014/03/29 19:48:49 johu Exp $
32
33 EAPI=5
34
35
36
37
38 1.7 app-office/akonadi-server/akonadi-server-1.10.3.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.10.3.ebuild?rev=1.7&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.10.3.ebuild?rev=1.7&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.10.3.ebuild?r1=1.6&r2=1.7
43
44 Index: akonadi-server-1.10.3.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.10.3.ebuild,v
47 retrieving revision 1.6
48 retrieving revision 1.7
49 diff -u -r1.6 -r1.7
50 --- akonadi-server-1.10.3.ebuild 11 Dec 2013 20:31:10 -0000 1.6
51 +++ akonadi-server-1.10.3.ebuild 29 Mar 2014 19:48:49 -0000 1.7
52 @@ -1,6 +1,6 @@
53 -# Copyright 1999-2013 Gentoo Foundation
54 +# Copyright 1999-2014 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.10.3.ebuild,v 1.6 2013/12/11 20:31:10 ago Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.10.3.ebuild,v 1.7 2014/03/29 19:48:49 johu Exp $
58
59 EAPI=5
60
61
62
63
64 1.133 app-office/akonadi-server/ChangeLog
65
66 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/ChangeLog?rev=1.133&view=markup
67 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/ChangeLog?rev=1.133&content-type=text/plain
68 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/ChangeLog?r1=1.132&r2=1.133
69
70 Index: ChangeLog
71 ===================================================================
72 RCS file: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v
73 retrieving revision 1.132
74 retrieving revision 1.133
75 diff -u -r1.132 -r1.133
76 --- ChangeLog 22 Dec 2013 12:11:02 -0000 1.132
77 +++ ChangeLog 29 Mar 2014 19:48:49 -0000 1.133
78 @@ -1,6 +1,12 @@
79 # ChangeLog for app-office/akonadi-server
80 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
81 -# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v 1.132 2013/12/22 12:11:02 johu Exp $
82 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
83 +# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v 1.133 2014/03/29 19:48:49 johu Exp $
84 +
85 +*akonadi-server-1.12.0 (29 Mar 2014)
86 +
87 + 29 Mar 2014; Johannes Huber <johu@g.o> +akonadi-server-1.12.0.ebuild,
88 + akonadi-server-1.10.3.ebuild, akonadi-server-1.11.0.ebuild:
89 + Version bump.
90
91 22 Dec 2013; Johannes Huber <johu@g.o> -akonadi-server-1.9.2.ebuild:
92 Remove old.
93
94
95
96 1.1 app-office/akonadi-server/akonadi-server-1.12.0.ebuild
97
98 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.12.0.ebuild?rev=1.1&view=markup
99 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.12.0.ebuild?rev=1.1&content-type=text/plain
100
101 Index: akonadi-server-1.12.0.ebuild
102 ===================================================================
103 # Copyright 1999-2014 Gentoo Foundation
104 # Distributed under the terms of the GNU General Public License v2
105 # $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.12.0.ebuild,v 1.1 2014/03/29 19:48:49 johu Exp $
106
107 EAPI=5
108
109 if [[ $PV = *9999* ]]; then
110 scm_eclass=git-r3
111 EGIT_REPO_URI=( "git://anongit.kde.org/akonadi" )
112 SRC_URI=""
113 KEYWORDS=""
114 else
115 SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
116 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
117 S="${WORKDIR}/${P/-server/}"
118 fi
119
120 inherit cmake-utils ${scm_eclass}
121
122 DESCRIPTION="The server part of Akonadi"
123 HOMEPAGE="http://pim.kde.org/akonadi"
124
125 LICENSE="LGPL-2.1"
126 SLOT="0"
127 IUSE="+mysql postgres +qt4 qt5 sqlite test"
128
129 REQUIRED_USE="^^ ( qt4 qt5 ) || ( sqlite mysql postgres )"
130
131 CDEPEND="
132 dev-libs/boost:=
133 >=dev-libs/soprano-2.6.51
134 x11-misc/shared-mime-info
135 qt4? (
136 >=dev-qt/qtcore-4.8.5:4
137 >=dev-qt/qtdbus-4.8.5:4
138 >=dev-qt/qtgui-4.8.5:4
139 >=dev-qt/qtsql-4.8.5:4[mysql?,postgres?]
140 >=dev-qt/qttest-4.8.5:4
141 )
142 qt5? (
143 >=dev-libs/soprano-2.6.51[-qt4,qt5]
144 dev-qt/qtcore:5
145 dev-qt/qtdbus:5
146 dev-qt/qtgui:5
147 dev-qt/qtnetwork:5
148 dev-qt/qtsql:5[mysql?,postgres?]
149 dev-qt/qttest:5
150 dev-qt/qtwidgets:5
151 dev-qt/qtxml:5
152 )
153 sqlite? ( dev-db/sqlite:3 )
154 "
155 DEPEND="${CDEPEND}
156 dev-libs/libxslt
157 >=dev-util/automoc-0.9.88
158 test? ( sys-apps/dbus )
159 "
160 RDEPEND="${CDEPEND}
161 postgres? ( dev-db/postgresql-server )
162 "
163
164 pkg_setup() {
165 # Set default storage backend in order: MySQL, SQLite PostgreSQL
166 # reverse driver check to keep the order
167 if use postgres; then
168 DRIVER="QPSQL"
169 AVAILABLE+=" ${DRIVER}"
170 fi
171
172 if use sqlite; then
173 DRIVER="QSQLITE3"
174 AVAILABLE+=" ${DRIVER}"
175 fi
176
177 if use mysql; then
178 DRIVER="QMYSQL"
179 AVAILABLE+=" ${DRIVER}"
180 fi
181
182 # Notify about MySQL is recommend by upstream
183 if use sqlite || has_version "<${CATEGORY}/${P}[sqlite]"; then
184 ewarn
185 ewarn "We strongly recommend you change your Akonadi database backend to MySQL in your"
186 ewarn "user configuration. This is the backend recommended by KDE upstream."
187 ewarn "In particular, kde-base/kmail-4.10 does not work properly with the sqlite"
188 ewarn "backend anymore."
189 ewarn "You can select the backend in your ~/.config/akonadi/akonadiserverrc."
190 ewarn "Available drivers are:${AVAILABLE}"
191 ewarn
192 fi
193 }
194
195 src_configure() {
196 local mycmakeargs=(
197 -DINSTALL_QSQLITE_IN_QT_PREFIX=ON
198 $(cmake-utils_use test AKONADI_BUILD_TESTS)
199 $(cmake-utils_use sqlite AKONADI_BUILD_QSQLITE)
200 $(cmake-utils_use qt5 QT5_BUILD)
201 )
202
203 cmake-utils_src_configure
204 }
205
206 src_test() {
207 export $(dbus-launch)
208 cmake-utils_src_test
209 }
210
211 src_install() {
212 # Who knows, maybe it accidentally fixes our permission issues
213 cat <<-EOF > "${T}"/akonadiserverrc
214 [%General]
215 Driver=${DRIVER}
216 EOF
217 insinto /usr/share/config/akonadi
218 doins "${T}"/akonadiserverrc
219
220 cmake-utils_src_install
221 }
222
223 pkg_postinst() {
224 elog "${DRIVER} has been set as your default akonadi storage backend."
225 elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
226 elog "Available drivers are: ${AVAILABLE}"
227 }