Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/quassel: ChangeLog quassel-0.4.1.ebuild quassel-9999.ebuild
Date: Tue, 31 Mar 2009 16:10:33
Message-Id: E1LogXl-0005eF-6d@stork.gentoo.org
1 patrick 09/03/31 16:10:29
2
3 Modified: ChangeLog quassel-9999.ebuild
4 Added: quassel-0.4.1.ebuild
5 Log:
6 Bump to 0.4.1, small improvements to -9999 ebuild. Thanks to Daniel Pielmeier.
7 (Portage version: 2.2_rc28/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.48 net-irc/quassel/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.48&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?rev=1.48&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/ChangeLog?r1=1.47&r2=1.48
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v
19 retrieving revision 1.47
20 retrieving revision 1.48
21 diff -u -r1.47 -r1.48
22 --- ChangeLog 3 Mar 2009 11:41:45 -0000 1.47
23 +++ ChangeLog 31 Mar 2009 16:10:29 -0000 1.48
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-irc/quassel
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.47 2009/03/03 11:41:45 tampakrap Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.48 2009/03/31 16:10:29 patrick Exp $
29 +
30 +*quassel-0.4.1 (31 Mar 2009)
31 +
32 + 31 Mar 2009; Patrick Lauer <patrick@g.o> +files/quassel.logrotate,
33 + +quassel-0.4.1.ebuild, quassel-9999.ebuild:
34 + Bump to 0.4.1, small improvements to -9999 ebuild. Thanks to Daniel
35 + Pielmeier.
36
37 03 Mar 2009; Theo Chatzimichos <tampakrap@g.o>
38 +files/quassel-0.4.0-no-webkit.patch, quassel-0.4.0-r1.ebuild,
39
40
41
42 1.21 net-irc/quassel/quassel-9999.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?rev=1.21&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?rev=1.21&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-9999.ebuild?r1=1.20&r2=1.21
47
48 Index: quassel-9999.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v
51 retrieving revision 1.20
52 retrieving revision 1.21
53 diff -u -r1.20 -r1.21
54 --- quassel-9999.ebuild 28 Feb 2009 23:20:33 -0000 1.20
55 +++ quassel-9999.ebuild 31 Mar 2009 16:10:29 -0000 1.21
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2009 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.20 2009/02/28 23:20:33 patrick Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.21 2009/03/31 16:10:29 patrick Exp $
61
62 EAPI="2"
63
64 @@ -15,7 +15,7 @@
65 LICENSE="GPL-3"
66 KEYWORDS=""
67 SLOT="0"
68 -IUSE="dbus debug kde monolithic +oxygen phonon +server +ssl webkit +X"
69 +IUSE="dbus debug kde monolithic +oxygen phonon postgres +server +ssl webkit +X"
70
71 LANGS="cs da de fr hu nb_NO ru sl tr"
72 for l in ${LANGS}; do
73 @@ -23,11 +23,10 @@
74 done
75
76 RDEPEND="
77 - x11-libs/qt-core:4
78 dbus? ( x11-libs/qt-dbus:4 )
79 monolithic? (
80 - dev-db/sqlite[threadsafe]
81 - x11-libs/qt-sql:4[sqlite]
82 + !postgres? ( x11-libs/qt-sql:4[sqlite] dev-db/sqlite[threadsafe] )
83 + postgres? ( x11-libs/qt-sql:4[postgres] >=virtual/postgresql-base-8.3 )
84 x11-libs/qt-script:4
85 x11-libs/qt-gui:4
86 kde? ( >=kde-base/kdelibs-4.1 )
87 @@ -36,8 +35,8 @@
88 )
89 !monolithic? (
90 server? (
91 - dev-db/sqlite[threadsafe]
92 - x11-libs/qt-sql:4[sqlite]
93 + !postgres? ( x11-libs/qt-sql:4[sqlite] dev-db/sqlite[threadsafe] )
94 + postgres? ( x11-libs/qt-sql:4[postgres] )
95 x11-libs/qt-script:4
96 )
97 X? (
98 @@ -47,13 +46,9 @@
99 webkit? ( x11-libs/qt-webkit:4 )
100 )
101 )
102 - ssl? (
103 - dev-libs/openssl
104 - x11-libs/qt-core:4[ssl]
105 - )
106 + ssl? ( x11-libs/qt-core:4[ssl] )
107 "
108 -DEPEND="${RDEPEND}
109 - >=dev-util/cmake-2.6"
110 +DEPEND="${RDEPEND}"
111
112 DOCS="AUTHORS ChangeLog README"
113
114 @@ -95,8 +90,8 @@
115 newinitd "${FILESDIR}"/quasselcore-2.init quasselcore || die "newinitd failed"
116 newconfd "${FILESDIR}"/quasselcore-2.conf quasselcore || die "newconfd failed"
117
118 - insinto /usr/share/doc/${PF}
119 - doins "${S}"/scripts/manageusers.py || die "installing manageusers.py failed"
120 + insinto /etc/logrotate.d
121 + newins "${FILESDIR}/quassel.logrotate" quassel
122 fi
123 }
124
125 @@ -104,18 +99,9 @@
126 if use server ; then
127 ewarn
128 ewarn "In order to use the quassel init script you must set the"
129 - ewarn "QUASSEL_USER variable in /etc/conf.d/quasselcore to your username."
130 + ewarn "QUASSEL_USER variable in ${ROOT%/}/etc/conf.d/quasselcore to your username."
131 ewarn "Note: This is the user who runs the quasselcore and is independent"
132 ewarn "from the users you set up in the quasselclient."
133 - elog
134 - elog "Adding more than one user or changing username/password is not"
135 - elog "possible via the quasselclient yet. If you need to do these things"
136 - elog "you have to use the manageusers.py script, which has been installed in"
137 - elog "/usr/share/doc/${PF}".
138 - elog "http://bugs.quassel-irc.org/wiki/quassel-irc/Manage_core_users provides"
139 - elog "some information on using the script."
140 - elog "To be sure nothing bad will happen you need to stop the quasselcore"
141 - elog "before adding more users."
142 fi
143
144 if ( use server || use monolithic ) && use ssl ; then
145
146
147
148 1.1 net-irc/quassel/quassel-0.4.1.ebuild
149
150 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.4.1.ebuild?rev=1.1&view=markup
151 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/quassel/quassel-0.4.1.ebuild?rev=1.1&content-type=text/plain
152
153 Index: quassel-0.4.1.ebuild
154 ===================================================================
155 # Copyright 1999-2009 Gentoo Foundation
156 # Distributed under the terms of the GNU General Public License v2
157 # $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.4.1.ebuild,v 1.1 2009/03/31 16:10:29 patrick Exp $
158
159 EAPI="2"
160
161 inherit cmake-utils eutils
162
163 DESCRIPTION="Qt4/KDE4 IRC client suppporting a remote daemon for 24/7 connectivity."
164 HOMEPAGE="http://quassel-irc.org/"
165 SRC_URI="http://quassel-irc.org/pub/${P}.tar.bz2"
166
167 LICENSE="GPL-3"
168 KEYWORDS="~amd64 ~x86"
169 SLOT="0"
170 IUSE="dbus debug kde monolithic +oxygen phonon +server +ssl webkit +X"
171
172 LANGS="cs da de fr hu nb_NO ru sl tr"
173 for l in ${LANGS}; do
174 IUSE="${IUSE} linguas_${l}"
175 done
176
177 RDEPEND="
178 dbus? ( x11-libs/qt-dbus:4 )
179 monolithic? (
180 dev-db/sqlite[threadsafe]
181 x11-libs/qt-sql:4[sqlite]
182 x11-libs/qt-script:4
183 x11-libs/qt-gui:4
184 kde? ( >=kde-base/kdelibs-4.1 )
185 phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
186 webkit? ( x11-libs/qt-webkit:4 )
187 )
188 !monolithic? (
189 server? (
190 dev-db/sqlite[threadsafe]
191 x11-libs/qt-sql:4[sqlite]
192 x11-libs/qt-script:4
193 )
194 X? (
195 x11-libs/qt-gui:4
196 kde? ( >=kde-base/kdelibs-4.1 )
197 phonon? ( || ( media-sound/phonon x11-libs/qt-phonon ) )
198 webkit? ( x11-libs/qt-webkit:4 )
199 )
200 )
201 ssl? ( x11-libs/qt-core:4[ssl] )
202 "
203 DEPEND="${RDEPEND}"
204
205 DOCS="AUTHORS ChangeLog README"
206
207 pkg_setup() {
208 if ! use monolithic && ! use server && ! use X ; then
209 eerror "You have to build at least one of the monolithic client (USE=monolithic),"
210 eerror "the quasselclient (USE=X) or the quasselcore (USE=server)."
211 die "monolithic, server and X flag unset."
212 fi
213 }
214
215 src_configure() {
216 local MY_LANGUAGES=""
217 for i in ${LINGUAS}; do
218 MY_LANGUAGES="${i},${MY_LANGUAGES}"
219 done
220
221 local mycmakeargs="
222 $(cmake-utils_use_want X QTCLIENT)
223 $(cmake-utils_use_want server CORE)
224 $(cmake-utils_use_want monolithic MONO)
225 $(cmake-utils_use_with webkit WEBKIT)
226 $(cmake-utils_use_with phonon PHONON)
227 $(cmake-utils_use_with kde KDE)
228 $(cmake-utils_use_with dbus DBUS)
229 $(cmake-utils_use_with ssl OPENSSL)
230 $(cmake-utils_use_with oxygen OXYGEN)
231 -DEMBED_DATA=OFF
232 -DLINGUAS=${MY_LANGUAGES}
233 "
234
235 cmake-utils_src_configure
236 }
237
238 src_install() {
239 cmake-utils_src_install
240
241 if use server ; then
242 newinitd "${FILESDIR}"/quasselcore-2.init quasselcore || die "newinitd failed"
243 newconfd "${FILESDIR}"/quasselcore-2.conf quasselcore || die "newconfd failed"
244
245 insinto /etc/logrotate.d
246 newins "${FILESDIR}/quassel.logrotate" quassel
247
248 insinto /usr/share/doc/${PF}
249 doins "${S}"/scripts/manageusers.py || die "installing manageusers.py failed"
250 fi
251 }
252
253 pkg_postinst() {
254 if use server ; then
255 ewarn
256 ewarn "In order to use the quassel init script you must set the"
257 ewarn "QUASSEL_USER variable in ${ROOT%/}/etc/conf.d/quasselcore to your username."
258 ewarn "Note: This is the user who runs the quasselcore and is independent"
259 ewarn "from the users you set up in the quasselclient."
260 elog
261 elog "Adding more than one user or changing username/password is not"
262 elog "possible via the quasselclient yet. If you need to do these things"
263 elog "you have to use the manageusers.py script, which has been installed in"
264 elog "${ROOT%/}/usr/share/doc/${PF}".
265 elog "http://bugs.quassel-irc.org/wiki/quassel-irc/Manage_core_users provides"
266 elog "some information on using the script."
267 elog "To be sure nothing bad will happen you need to stop the quasselcore"
268 elog "before adding more users."
269 fi
270
271 if ( use server || use monolithic ) && use ssl ; then
272 elog
273 elog "Information on how to enable SSL support for client/core connections"
274 elog "is available at http://bugs.quassel-irc.org/wiki/quassel-irc."
275 fi
276 }