1 |
johu 12/04/06 23:20:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: akonadi-server-1.7.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha99/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.83 app-office/akonadi-server/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/ChangeLog?rev=1.83&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/ChangeLog?rev=1.83&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/ChangeLog?r1=1.82&r2=1.83 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v |
20 |
retrieving revision 1.82 |
21 |
retrieving revision 1.83 |
22 |
diff -u -r1.82 -r1.83 |
23 |
--- ChangeLog 28 Mar 2012 06:34:12 -0000 1.82 |
24 |
+++ ChangeLog 6 Apr 2012 23:20:35 -0000 1.83 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-office/akonadi-server |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v 1.82 2012/03/28 06:34:12 johu Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/ChangeLog,v 1.83 2012/04/06 23:20:35 johu Exp $ |
30 |
+ |
31 |
+*akonadi-server-1.7.2 (06 Apr 2012) |
32 |
+ |
33 |
+ 06 Apr 2012; Johannes Huber <johu@g.o> +akonadi-server-1.7.2.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
28 Mar 2012; Johannes Huber <johu@g.o> -akonadi-server-1.6.2-r1.ebuild, |
37 |
-akonadi-server-1.7.0.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-office/akonadi-server/akonadi-server-1.7.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.7.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/akonadi-server/akonadi-server-1.7.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: akonadi-server-1.7.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.7.2.ebuild,v 1.1 2012/04/06 23:20:35 johu Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
|
54 |
inherit cmake-utils |
55 |
|
56 |
DESCRIPTION="The server part of Akonadi" |
57 |
HOMEPAGE="http://pim.kde.org/akonadi" |
58 |
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2" |
59 |
|
60 |
LICENSE="LGPL-2.1" |
61 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
62 |
SLOT="0" |
63 |
IUSE="mysql postgres +sqlite test" |
64 |
|
65 |
CDEPEND=" |
66 |
dev-libs/boost |
67 |
>=dev-libs/soprano-2.6.51 |
68 |
>=x11-libs/qt-gui-4.5.0:4[dbus] |
69 |
>=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?] |
70 |
>=x11-libs/qt-test-4.5.0:4 |
71 |
x11-misc/shared-mime-info |
72 |
" |
73 |
DEPEND="${CDEPEND} |
74 |
dev-libs/libxslt |
75 |
>=dev-util/automoc-0.9.88 |
76 |
" |
77 |
RDEPEND="${CDEPEND} |
78 |
postgres? ( dev-db/postgresql-server ) |
79 |
" |
80 |
|
81 |
REQUIRED_USE="|| ( sqlite mysql postgres )" |
82 |
|
83 |
S=${WORKDIR}/${P/-server/} |
84 |
|
85 |
RESTRICT=test |
86 |
# bug 401139 |
87 |
|
88 |
pkg_setup() { |
89 |
# Set default storage backend in order: SQLite, MySQL, PostgreSQL |
90 |
# reverse driver check to keep the order |
91 |
if use postgres; then |
92 |
DRIVER="QPSQL" |
93 |
AVAILABLE+=" ${DRIVER}" |
94 |
fi |
95 |
|
96 |
if use mysql; then |
97 |
DRIVER="QMYSQL" |
98 |
AVAILABLE+=" ${DRIVER}" |
99 |
fi |
100 |
|
101 |
if use sqlite; then |
102 |
DRIVER="QSQLITE3" |
103 |
AVAILABLE+=" ${DRIVER}" |
104 |
fi |
105 |
|
106 |
# Notify about driver name change |
107 |
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then |
108 |
ewarn |
109 |
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3." |
110 |
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc." |
111 |
fi |
112 |
|
113 |
# Notify about MySQL not being default anymore |
114 |
if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then |
115 |
ewarn |
116 |
ewarn "MySQL driver is not enabled by default in Gentoo anymore." |
117 |
ewarn "If you intend to use it, please enable mysql USE flag and reinstall" |
118 |
ewarn "${CATEGORY}/${PN}." |
119 |
ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc." |
120 |
ewarn "Available drivers are:${AVAILABLE}" |
121 |
fi |
122 |
} |
123 |
|
124 |
src_configure() { |
125 |
local mycmakeargs=( |
126 |
-DAKONADI_USE_STRIGI_SEARCH=OFF |
127 |
$(cmake-utils_use test AKONADI_BUILD_TESTS) |
128 |
$(cmake-utils_use sqlite AKONADI_BUILD_QSQLITE) |
129 |
) |
130 |
|
131 |
cmake-utils_src_configure |
132 |
} |
133 |
|
134 |
src_install() { |
135 |
# Who knows, maybe it accidentally fixes our permission issues |
136 |
cat <<-EOF > "${T}"/akonadiserverrc |
137 |
[%General] |
138 |
Driver=${DRIVER} |
139 |
EOF |
140 |
insinto /usr/share/config/akonadi |
141 |
doins "${T}"/akonadiserverrc |
142 |
|
143 |
cmake-utils_src_install |
144 |
} |
145 |
|
146 |
pkg_postinst() { |
147 |
echo |
148 |
elog "${DRIVER} has been set as your default akonadi storage backend." |
149 |
elog "You can override it in your ~/.config/akonadi/akonadiserverrc." |
150 |
elog "Available drivers are: ${AVAILABLE}" |
151 |
} |