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